diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 75727f554..fb50cb285 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -742,7 +742,6 @@ AC_MSG_CHECKING([Using the GMP library to guess good compiler/linker flags]) ${aux}/configure --srcdir=${aux} --prefix=${builddir} >/dev/null 2>&1) GMP_CFLAGS=`grep '^s,@CFLAGS@' tmp/config.status| sed 's&s,@CFLAGS@,\(.*\),;t t&\1&'` GMP_LDFLAGS=`grep '^s,@GMP_LDFLAGS@' tmp/config.status| sed 's&s,@GMP_LDFLAGS@,\(.*\),;t t&\1&'`; -rm -rf tmp # Notice that GMP_LDFLAGS is designed to be passed to libtool, and therefore # some options could be prefixed by -Wc, which means "flag for the compiler". LDFLAGS=`grep '^s,@LDFLAGS@' config.status| sed 's&s,@LDFLAGS@,\(.*\),;t t&\1&'`; diff --git a/src/configure b/src/configure index ed642b33a..b0570ec65 100755 --- a/src/configure +++ b/src/configure @@ -4223,7 +4223,6 @@ $as_echo_n "checking Using the GMP library to guess good compiler/linker flags.. ${aux}/configure --srcdir=${aux} --prefix=${builddir} >/dev/null 2>&1) GMP_CFLAGS=`grep '^s,@CFLAGS@' tmp/config.status| sed 's&s,@CFLAGS@,\(.*\),;t t&\1&'` GMP_LDFLAGS=`grep '^s,@GMP_LDFLAGS@' tmp/config.status| sed 's&s,@GMP_LDFLAGS@,\(.*\),;t t&\1&'`; -rm -rf tmp # Notice that GMP_LDFLAGS is designed to be passed to libtool, and therefore # some options could be prefixed by -Wc, which means "flag for the compiler". LDFLAGS=`grep '^s,@LDFLAGS@' config.status| sed 's&s,@LDFLAGS@,\(.*\),;t t&\1&'`;