From 91e292b280e6be19a12266e474ec2ee583cf978b Mon Sep 17 00:00:00 2001 From: enge Date: Mon, 23 Jan 2012 17:38:41 +0000 Subject: 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 --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.1