Commit bfd03f0e authored by wolfgang.thaller@gmx.net's avatar wolfgang.thaller@gmx.net
Browse files

Check for GMP.framework on all Darwin platforms, not just PPC

parent ac10f840
......@@ -1081,17 +1081,19 @@ AC_SUBST(LibGmp)
dnl ** (Mac OS X only: check for GMP.framework)
HaveFrameworkGMP=NO
if test $HostPlatform = "powerpc-apple-darwin"; then
AC_MSG_CHECKING([for GMP.framework])
save_libs="$LIBS"
LIBS="-framework GMP"
AC_TRY_LINK_FUNC(__gmpz_fdiv_qr, HaveFrameworkGMP=YES,)
if test $HaveFrameworkGMP = YES; then
AC_DEFINE([HAVE_FRAMEWORK_GMP], [1], [Define to 1 if GMP.framework is installed (Mac OS X only).])
fi;
LIBS="$save_libs"
AC_MSG_RESULT([$HaveFrameworkGMP])
fi;
case $HostPlatform in
*-apple-darwin)
AC_MSG_CHECKING([for GMP.framework])
save_libs="$LIBS"
LIBS="-framework GMP"
AC_TRY_LINK_FUNC(__gmpz_fdiv_qr, HaveFrameworkGMP=YES,)
if test $HaveFrameworkGMP = YES; then
AC_DEFINE([HAVE_FRAMEWORK_GMP], [1], [Define to 1 if GMP.framework is installed (Mac OS X only).])
fi;
LIBS="$save_libs"
AC_MSG_RESULT([$HaveFrameworkGMP])
;;
esac
AC_SUBST(HaveFrameworkGMP)
dnl ** check for mingwex library
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment