This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrapping glibc vs. dependency on system headers


Hi!

On Fri, 18 Jan 2013 11:37:16 +0100, I wrote:
> On Thu, 17 Jan 2013 18:09:33 +0100, I wrote:
> > Also known as: ÂI found another oneÂ.
> 
> (That's the last one I'm currently seeing.)  Again depending on
> <gnu/stubs.h> usability, we either get:
> 
>     checking for [GCC] option to accept ISO C89... none needed
> 
> Or:
> 
>     checking for [GCC] option to accept ISO C89... unsupported
> 
> As setting Âac_cv_prog_cc_c89=no (which we never check for) is all what
> this test does, and we're C89 always by our compiler requirements, it is
> safe to simply elide it.  Tested on x86_64 GNU/Linux for a ARM GNU/Linux
> host.

As obvious, pushed as commit b5a5da237648077c98c10d359fe3b62b9e18f811:

	* configure.in (_AC_PROG_CC_C89): New definition.
	* configure: Regenerate.

diff --git configure.in configure.in
index 2c50d09..c578979 100644
--- configure.in
+++ configure.in
@@ -34,6 +34,11 @@ fi
 AC_SUBST(CPP)dnl
 ])# AC_PROG_CPP
 
+# We require GCC.  Override _AC_PROG_CC_C89 here to work around the Autoconf
+# issue discussed in
+# <http://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
+AC_DEFUN([_AC_PROG_CC_C89], [[$1]])
+
 dnl This is here so we can set $subdirs directly based on configure fragments.
 AC_CONFIG_SUBDIRS()
 


GrÃÃe,
 Thomas

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]