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: Eric Blake
Subject: Re: autoconf warning in gl_EARLY
Date: Mon, 02 Jun 2014 06:58:31 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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