[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/8] build: avoid bootstrap error on clean tree
From: |
Bernhard Voelker |
Subject: |
[PATCH 1/8] build: avoid bootstrap error on clean tree |
Date: |
Mon, 4 Jan 2016 01:28:25 +0100 |
Avoid the following error when running ./bootstrap on a clean tree:
autoreconf: running: aclocal -I gl/m4 --force -I gl/m4 -I m4
configure.ac:129: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:1462: AC_ARG_ENABLE is expanded from...
configure.ac:129: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
./bootstrap: autoreconf failed
* configure.ac (compiler-warnings-are-errors): Remove AC_PROG_CC, as this
has already run before and is not allowed at this point anyway.
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c5b75d6..add312c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,6 @@ AC_ARG_ENABLE(compiler-warnings-are-errors,
AS_HELP_STRING(--enable-compiler-warnings-are-errors,Compiler warnings are
errors),
[
AC_MSG_CHECKING([whether it is safe to use -Werror])
- AC_PROG_CC
if test -n "$GCC"; then
CFLAGS="$CFLAGS -Werror"
AC_MSG_RESULT([yes])
--
2.1.4
- [PATCH 0/8] maintenance patches, Bernhard Voelker, 2016/01/03
- [PATCH 6/8] maint: fix file name in message of findutils-check-pofiles, Bernhard Voelker, 2016/01/03
- [PATCH 2/8] maint: remove po/Makevars as it is created during bootstrap, Bernhard Voelker, 2016/01/03
- [PATCH 7/8] doc: fix typo in find.1, Bernhard Voelker, 2016/01/03
- [PATCH 1/8] build: avoid bootstrap error on clean tree,
Bernhard Voelker <=
- [PATCH 3/8] maint: update .gitignore files, remove obsolete .cvsignore files, Bernhard Voelker, 2016/01/03
- [PATCH 5/8] maint: adjust some copyright headers manually, Bernhard Voelker, 2016/01/03
- [PATCH 8/8] maint: don't use obsolete gnulib modules, Bernhard Voelker, 2016/01/03
- [PATCH 4/8] maint: update all copyright year number ranges, Bernhard Voelker, 2016/01/03
- Re: [PATCH 0/8] maintenance patches, James Youngman, 2016/01/03