[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: error: possibly undefined macro: AC_CHECK_HEADERS_O
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE |
Date: |
Thu, 25 Aug 2005 17:06:55 +0200 |
User-agent: |
KMail/1.5 |
Stepan Kasal wrote:
> There was one remaining problem: AC_GNU_SOURCE has to be called early in
> configure.ac.
> ...
@@ -4,6 +4,7 @@
AC_PREREQ(2.57)
AC_INIT(regexp, 1.0, clisp-list)
+AC_GNU_SOURCE
AC_CONFIG_SRCDIR(regexp.lisp)
AC_CONFIG_AUX_DIR(../../src/build-aux)
AC_CONFIG_HEADERS(config.h)
That might be a little too early, because AC_GNU_SOURCE emits a definition
into the config header, but before AC_CONFIG_HEADERS it doesn't know the
file name... I would put it after the determination of CC and CPP, but
before all AC_CHECK_HEADER and AC_CHECK_FUNC tests:
AC_PREREQ(2.57)
AC_INIT(regexp, 1.0, clisp-list)
AC_CONFIG_SRCDIR(regexp.lisp)
AC_CONFIG_AUX_DIR(../../src/build-aux)
AC_CONFIG_HEADERS(config.h)
AC_MSG_NOTICE([* Regexp (Checks)])
AC_PROG_CC
AC_PROG_CPP
AC_AIX
+AC_GNU_SOURCE
AC_HEADER_STDC
AC_CHECK_HEADERS(string.h sys/types.h)
Bruno
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, (continued)
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Bruno Haible, 2005/08/10
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Paul Eggert, 2005/08/23
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Sam Steingold, 2005/08/23
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Stepan Kasal, 2005/08/24
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Sam Steingold, 2005/08/24
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Stepan Kasal, 2005/08/25
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Stepan Kasal, 2005/08/25
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Sam Steingold, 2005/08/25
- Re: [bug-gnulib] Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Bruno Haible, 2005/08/25
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Stepan Kasal, 2005/08/25
- Re: [bug-gnulib] Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE,
Bruno Haible <=
- Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Stepan Kasal, 2005/08/25
- Re: [bug-gnulib] Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE, Bruno Haible, 2005/08/25