Hi Bill,

Thanks for the thought provoking questions.

> Did ou get them also ? [...]

Yes, I did get them. I assumed they were harmless/just warnings because
dh-autoreconf finished with success and the package test-suite passed.
But then..

> [...] Do you know what they mean ?

Well, now I do.  Since you asked, I investigated them a bit.. and that
assumption looks correct.

This message is just a warning, harmless:

main::scan_file() called too early to check prototype at /usr/bin/aclocal-1.11 line 643.

It was fixed upstream on automake 1.12.1, but not on 1.11 (unnoticed on
Debian as automake1.11 has the test-suite disabled). Just in case, I
submitted #752784, but the difference in dh-autoreconf's result with/
without the fix is effectively null (see its message 10).

These messages from libtoolize are harmless too:

        libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
        libtoolize: copying file `./ltmain.sh'
        libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac 
and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
        libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

If you implement the suggested considerations from libtoolize, it will
just copy the libtool macros as individual files in the m4/ dir.

If you don't (as it is), it will just copy the contents of those files
in aclocal.m4 (next e-mail) -- with identical results.

Since both cases work fine, and dh_autoreconf_clean will clean-up that
output anyway, I would not bother with carrying a new patch only for
silencing a warning from  libtoolize (and creating empty m4/ dir, so to
avoid an aclocal error due to '-I m4/', populated by libtoolize later).
For your convenience, I attached that patch, nonetheless.

I hope this clarifies those questions.
Would the patch(es) be good to go, then?

Thanks!

--
Mauricio Faria de Oliveira
IBM Linux Technology Center
--- libjpeg8-8d/Makefile.am
+++ libjpeg8-8d.libtoolize/Makefile.am
@@ -5,6 +5,9 @@
 #  This file is written by Bob Friesenhahn, Guido Vollbeding
 #
 
+# For libtoolize/aclocal
+ACLOCAL_AMFLAGS = -I m4
+
 # Sources to build library
 LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
         jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
--- libjpeg8-8d/configure.ac
+++ libjpeg8-8d.libtoolize/configure.ac
@@ -10,6 +10,9 @@ AC_INIT([libjpeg], [8.4.0])
 # Directory where autotools helper scripts lives.
 AC_CONFIG_AUX_DIR([.])
 
+# Directory where libtool macros scripts lives.
+AC_CONFIG_MACRO_DIR([m4])
+
 # Generate configuration headers.
 AC_CONFIG_HEADERS([jconfig.h:jconfig.cfg])
 

Reply via email to