summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0312efe212d..77efc9f8c6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-01 DJ Delorie <dj@redhat.com>
+
+ * configure.in: Restore CFLAGS if GM P isn't present.
+ * configure: Regenerate.
+
2006-04-18 DJ Delorie <dj@redhat.com>
* configure.in (m32c): Build libstdc++-v3. Pass flags to
diff --git a/configure b/configure
index 733eacf7306..9a54f72441d 100755
--- a/configure
+++ b/configure
@@ -2360,8 +2360,8 @@ else
fi
rm -f conftest*
LIBS="$saved_LIBS"
- CFLAGS="$saved_CFLAGS"
fi
+CFLAGS="$saved_CFLAGS"
# Flags needed for both GMP and/or MPFR
diff --git a/configure.in b/configure.in
index cdfa7d8f7b6..e3e3500c998 100644
--- a/configure.in
+++ b/configure.in
@@ -1142,8 +1142,8 @@ if test x"$have_gmp" = xyes; then
#include <mpfr.h>], [mpfr_t n; mpfr_init(n);],
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); have_gmp=no])
LIBS="$saved_LIBS"
- CFLAGS="$saved_CFLAGS"
fi
+CFLAGS="$saved_CFLAGS"
# Flags needed for both GMP and/or MPFR
AC_SUBST(gmplibs)