Check for whether we have gmp.h, as well as whether we have the gmp library
authorIan Lynagh <igloo@earth.li>
Thu, 25 Jun 2009 16:29:33 +0000 (16:29 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 25 Jun 2009 16:29:33 +0000 (16:29 +0000)
configure.ac

index a4f7c48..b6a8003 100644 (file)
@@ -58,6 +58,8 @@ case $target_os in
     ;;
 esac
 
+AC_CHECK_HEADER([gmp.h], , [HaveFrameworkGMP=NO; HaveLibGmp=NO; GMP_LIBS=])
+
 dnl--------------------------------------------------------------------
 dnl * Make sure we got some form of gmp
 dnl--------------------------------------------------------------------