[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bootstrapping glibc vs. dependency on system headers
From: |
Thomas Schwinge |
Subject: |
Re: Bootstrapping glibc vs. dependency on system headers |
Date: |
Fri, 18 Jan 2013 11:37:16 +0100 |
User-agent: |
Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu) |
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
pgpdzTWYgAnv7.pgp
Description: PGP signature