Re: Add section caches to coff_data_type
[binutils-gdb.git] / configure.ac
index 3a1eb0357e5c92a8f851d2aea4f38d8156a12a52..e95a9ed116e83f43e741e9a691b15fc194d23d4a 100644 (file)
@@ -1585,7 +1585,9 @@ if test -d ${srcdir}/gcc ; then
   require_mpc=yes
 fi
 if test -d ${srcdir}/gdb ; then
-  require_gmp=yes
+  if test "x$enable_gdb" != xno; then
+   require_gmp=yes
+  fi
 fi
 
 gmplibs="-lmpfr -lgmp"