Check for whether we have gmp.h, as well as whether we have the gmp library
[packages/integer-gmp.git] / configure.ac
index a4f7c48..b6a8003 100644 (file)
@@ -58,6 +58,8 @@ case $target_os in
     ;;
 esac
 
     ;;
 esac
 
+AC_CHECK_HEADER([gmp.h], , [HaveFrameworkGMP=NO; HaveLibGmp=NO; GMP_LIBS=])
+
 dnl--------------------------------------------------------------------
 dnl * Make sure we got some form of gmp
 dnl--------------------------------------------------------------------
 dnl--------------------------------------------------------------------
 dnl * Make sure we got some form of gmp
 dnl--------------------------------------------------------------------