diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-01-23 17:38:41 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-01-23 17:38:41 +0000 |
commit | 91e292b280e6be19a12266e474ec2ee583cf978b (patch) | |
tree | 4ba2849619c72f22953383aeb1efbcbdee831261 | |
parent | 1999bbf7bc17a8b9eb61a65ed3287f96992f2a51 (diff) | |
download | mpc-91e292b280e6be19a12266e474ec2ee583cf978b.tar.gz |
configure.ac, mpc.m4: hopefully permanent fix for
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-January/001056.html
look for EGREP and SED in all cases, even if not needed
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1119 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | m4/mpc.m4 | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 1d89134..01b3177 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,11 @@ AC_ARG_ENABLE([valgrind-tests], ) # Check for CC and CFLAGS in gmp.h unless the user specified one of them -if test -z $CC -a -z $CFLAGS; then +# look for EGREP and SED here, see continued problem +# at http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-January/001056.html +AC_PROG_EGREP +AC_PROG_SED +if test -z $CC && test -z $CFLAGS; then MPC_GMP_CC_CFLAGS fi @@ -143,8 +143,6 @@ AC_DEFUN([MPC_C_CHECK_WARNINGCFLAGS], [ # essentially copied from mpfr # AC_DEFUN([MPC_GMP_CC_CFLAGS], [ - AC_PROG_EGREP - AC_PROG_SED AC_MSG_CHECKING(for CC and CFLAGS in gmp.h) # AC_PROG_CPP triggers the search for a C compiler; use hack instead for cpp in /lib/cpp gcc cc c99 |