summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-01-23 17:38:41 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-01-23 17:38:41 +0000
commit91e292b280e6be19a12266e474ec2ee583cf978b (patch)
tree4ba2849619c72f22953383aeb1efbcbdee831261 /configure.ac
parent1999bbf7bc17a8b9eb61a65ed3287f96992f2a51 (diff)
downloadmpc-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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 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