[Debian-med-packaging] Help needed for autoreconf hmmer
Andreas Tille
tille at debian.org
Mon Jun 27 13:16:41 UTC 2016
Hi Neutron,
I tried
$ git diff
diff --git a/debian/patches/use_debian_packaged_libdivsufsort.patch b/debian/patches/use_debian_packaged_libdivsufsort.patch
index 99ed610..fb3b340 100644
--- a/debian/patches/use_debian_packaged_libdivsufsort.patch
+++ b/debian/patches/use_debian_packaged_libdivsufsort.patch
@@ -20,6 +20,15 @@ Description: Use Debian packaged libdivsufsort
AC_SUBST(EASEL_DATE)
AC_SUBST(EASEL_COPYRIGHT)
+@@ -105,7 +103,7 @@ AC_DEFINE_UNQUOTED(HMMER_VERSION, "$HM
+ AC_DEFINE_UNQUOTED(HMMER_URL, "$HMMER_URL")
+
+ AC_DEFINE_UNQUOTED(EASEL_DATE, "$EASEL_DATE")
+-AC_DEFINE_UNQUOTED(EASEL_COPYRIGHT, "$EASEL_COPYRIGHT")
++AC_DEFINE_UNQUOTED(EASEL_COPYRIGHT, "$EASEL_COPYRIGHT", [Define EASEL_COPYRIGHT])
+ AC_DEFINE_UNQUOTED(EASEL_LICENSE, "$EASEL_LICENSE")
+ AC_DEFINE_UNQUOTED(EASEL_VERSION, "$EASEL_VERSION")
+
@@ -669,14 +667,12 @@ AC_CONFIG_FILES([profmark/Makefile])
AC_CONFIG_FILES([src/impl_${impl_choice}/Makefile])
AC_CONFIG_HEADERS([src/p7_config.h])
but this did not changed anything.
Thanks for your attempt to help
Andreas.
On Mon, Jun 27, 2016 at 07:43:37PM +0700, Neutron Soutmun wrote:
> s/AC_DEFINE/AC_DEFINE_UNQUOTED/g
>
> On Mon, Jun 27, 2016 at 7:33 PM, Neutron Soutmun <neo.neutron at gmail.com> wrote:
> > Sorry for non-sense example
> >
> > It should be,
> >
> > AC_DEFINE([EASEL_COPYRIGHT], "$EASEL_COPYRIGHT", [Define EASEL_COPYRIGHT])
> >
> > Cheers,
> > Neutron Soutmun
> >
> > On Mon, Jun 27, 2016 at 7:29 PM, Neutron Soutmun <neo.neutron at gmail.com> wrote:
> >> Hi,
> >>
> >> On Mon, Jun 27, 2016 at 5:41 PM, Andreas Tille <andreas at an3as.eu> wrote:
> >>
> >>> dh_autoreconf
> >>> autoheader: warning: missing template: EASEL_COPYRIGHT
> >>> autoheader: Use AC_DEFINE([EASEL_COPYRIGHT], [], [Description])
> >>
> >> This is the clue. I do the quick review and found that the lines
> >> AC_DEFINE() and AC_DEFINE_UNQUOTED() that warning with missing
> >> template are missing the second and the third arguments, it should be
> >> something like below
> >>
> >> AC_DEFINE([EASEL_COPYRIGHT], [1], [Define EASEL_COPYRIGHT])
> >>
> >> See: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Defining-Symbols.html
> >>
> >> Cheers,
> >> Neutron Soutmun
>
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list