[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings with filevercmp
From: |
Bruno Haible |
Subject: |
Re: Warnings with filevercmp |
Date: |
Fri, 30 Apr 2010 22:49:50 +0200 |
User-agent: |
KMail/1.9.9 |
Hello,
Patrik Olsson wrote:
> When the "filevercmp" module is imported I get the following warnings
> (several times) during autoreconf:
>
> configure.ac:33: warning: AC_COMPILE_IFELSE was called before
> AC_USE_SYSTEM_EXTENSIONS
> ../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded from...
> m4/gnulib-comp.m4:21: GNULIB_EARLY is expanded from...
> configure.ac:33: the top level
> configure.ac:33: warning: AC_RUN_IFELSE was called before
> AC_USE_SYSTEM_EXTENSIONS
>
> What is wrong?
It means that GNULIB_EARLY - which adjusts the value of CPPFLAGS - is being
called at a point where CPPFLAGS has already been used. This might lead to
inconsistent configure results and therefore to errors or even miscompiled
programs.
> Perhaps I don't have GNULIB_EARLY and/or GNULIB_INIT in
> the right place?
Yes, GNULIB_EARLY is likely not at the right place.
> My configure.ac and gnulib-cache.m4 are attached.
I would try to move the two lines
AC_PROG_CC
GNULIB_EARLY
up, line by line, until the warning disappears. Likely they need to be before
LTDL_INIT. Possibly even before LT_INIT, I don't know.
Bruno