Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
bfd03f0e
Commit
bfd03f0e
authored
Jan 26, 2006
by
wolfgang.thaller@gmx.net
Browse files
Check for GMP.framework on all Darwin platforms, not just PPC
parent
ac10f840
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
bfd03f0e
...
@@ -1081,17 +1081,19 @@ AC_SUBST(LibGmp)
...
@@ -1081,17 +1081,19 @@ AC_SUBST(LibGmp)
dnl ** (Mac OS X only: check for GMP.framework)
dnl ** (Mac OS X only: check for GMP.framework)
HaveFrameworkGMP=NO
HaveFrameworkGMP=NO
if test $HostPlatform = "powerpc-apple-darwin"; then
case $HostPlatform in
AC_MSG_CHECKING([for GMP.framework])
*-apple-darwin)
save_libs="$LIBS"
AC_MSG_CHECKING([for GMP.framework])
LIBS="-framework GMP"
save_libs="$LIBS"
AC_TRY_LINK_FUNC(__gmpz_fdiv_qr, HaveFrameworkGMP=YES,)
LIBS="-framework GMP"
if test $HaveFrameworkGMP = YES; then
AC_TRY_LINK_FUNC(__gmpz_fdiv_qr, HaveFrameworkGMP=YES,)
AC_DEFINE([HAVE_FRAMEWORK_GMP], [1], [Define to 1 if GMP.framework is installed (Mac OS X only).])
if test $HaveFrameworkGMP = YES; then
fi;
AC_DEFINE([HAVE_FRAMEWORK_GMP], [1], [Define to 1 if GMP.framework is installed (Mac OS X only).])
LIBS="$save_libs"
fi;
AC_MSG_RESULT([$HaveFrameworkGMP])
LIBS="$save_libs"
fi;
AC_MSG_RESULT([$HaveFrameworkGMP])
;;
esac
AC_SUBST(HaveFrameworkGMP)
AC_SUBST(HaveFrameworkGMP)
dnl ** check for mingwex library
dnl ** check for mingwex library
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment