Fix configure when we don't have a gmp library
authorIan Lynagh <igloo@earth.li>
Tue, 1 Jan 2013 18:41:51 +0000 (18:41 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 1 Jan 2013 18:41:51 +0000 (18:41 +0000)
configure.ac

index 7ea296c..d7c0b3e 100644 (file)
@@ -50,7 +50,7 @@ else
     LOOK_FOR_GMP_LIB
     LOOK_FOR_GMP_FRAMEWORK
 fi
-if test "$HaveFrameworkGMP" = "YES" || test "$HaveLibGmp" = "NO"
+if test "$HaveFrameworkGMP" = "YES" || test "$HaveLibGmp" = "YES"
 then
     AC_CHECK_HEADER([gmp.h], , [AC_MSG_ERROR([Cannot find gmp.h])])
 fi