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 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.  OK to apply?

	* configure.in (_AC_PROG_CC_C89): New definition.

diff --git configure.in configure.in
index ee72c17..edc7f72 100644
--- configure.in
+++ configure.in
@@ -42,6 +42,10 @@ AC_MSG_RESULT([$CPP])
 AC_SUBST(CPP)dnl
 ])# AC_PROG_CPP
 
+# We require GCC.  Override _AC_PROG_CC_C89 here to work around the Autoconf
+# issue discussed in [idem].
+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]