bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf warning in gl_EARLY


From: Denis Laroche
Subject: Re: autoconf warning in gl_EARLY
Date: Tue, 3 Jun 2014 17:28:13 -0400

Thanks, that worked. I put gl_EARLY at this location on the suggestion
of gnulib-tool.


2014-06-02 8:58 GMT-04:00 Eric Blake <address@hidden>:
> On 06/01/2014 12:16 PM, Denis Laroche wrote:
>> I'm not sure if the post should be sent to the autoconf mailing list
>> instead. I see the following warnings from gl_EARLY when running
>> autoconf (version 2.69):
>
> The bug is on your end, not in gnulib.
>
>
>> The version of gnulib is 0.1.147-b1b4ba. Looking at the definition of
>> gl_EARLY, it's expanding macro gl_USE_SYSTEM_EXTENSIONS. The
>> documenation of this macro says that its purpose is to avoid those
>> warnings. The rest of the message shows the beginning of configure.ac.
>
> And for gl_EARLY to do its job, it MUST be called early.
>
>>
>> Thanks in advance!
>>
>> AC_PREREQ([2.69])
>>
>> AC_INIT([lvibs], [0.1.0], address@hidden)
>> AC_CONFIG_AUX_DIR([build-aux])
>> AC_CONFIG_MACRO_DIR([m4])
>> AC_CONFIG_SRCDIR([src/lvibs.c])
>>
>> AM_INIT_AUTOMAKE([1.11 color-tests subdir-objects -Wall])
>> LT_PREREQ([2.2])
>
> call it here...
>
>> AM_PROG_AR
>> LT_INIT
>>
>> AM_MAINTAINER_MODE([enable])
>>
>> # Checks for programs.
>> AC_PROG_CC
>> AC_PROG_INSTALL
>> AM_PROG_CC_C_O
>>
>> # Checks for optional programs.
>> PROG_TRY_DOXYGEN
>>
>> AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
>> AS_IF([test -n "$DOXYGEN"], [AC_CONFIG_FILES([apidoc/doxyfile])])
>>
>> AC_LANG([C])
>>
>> AC_PROG_CC_C99
>> if test "$x{ac_cv_prog_cc_c99}" = xno
>> then
>> AC_MSG_FAILURE([
>> --------------------------------------------
>> A C99 compiler is required to build the
>> program.
>> --------------------------------------------
>> ])
>> fi
>>
>> gl_EARLY
>
> ...not here.
>
>> gl_INIT
>>
>>
>>
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]