AC_ARG_WITH([mpfr],
[AS_HELP_STRING([--with-mpfr=<location>],
[Location at which the MPFR library was installed. If the argument is omitted, the library is assumed to be reachable
under the standard search path (/usr, /usr/local,...). Otherwise
you must give the <path> to the directory which contains the
library.])],
[if test "$withval" = no; then
MPFR=no elif test "$withval" = yes; then
MPFR=yes else
MPFR=yes
MPFR_CPPFLAGS="-I$withval/include"
MPFR_LDFLAGS="-L$withval/lib" fi],
[AS_IF([command -v brew >/dev/null 2>&1],[
withval=$(brew --prefix)
MPFR_CPPFLAGS="-I$withval/include"
MPFR_LDFLAGS="-L$withval/lib"
])]
)
AC_ARG_WITH([mpfr-include],
[AS_HELP_STRING([--with-mpfr-include=<location>],
[Location at which the mpfr include files were installed.])],
[MPFR=yes
MPFR_CPPFLAGS="-I$withval"]
)
AC_ARG_WITH([mpfr-lib],
[AS_HELP_STRING([--with-mpfr-lib=<location>],
[Location at which the mpfr library files were installed.])],
[MPFR=yes
MPFR_LDFLAGS="-L$withval"]
)
if test "$temp_status" = false; then if test "$MPFR" = yes; then
AC_MSG_ERROR([library mpfr not found. Using --with-mpfr, specify its location, or "no" to disable it.]) else
MPFR=no fi else
MPFR=yes fi
if test "$MPFR" != no; then
AC_DEFINE([USE_MPFR],1,[use MPFR library]) fi
AC_SUBST(MPFR_CPPFLAGS)
AC_SUBST(MPFR_LDFLAGS)
AC_SUBST(MPFR_LIBS)
AM_CONDITIONAL([WITH_MPFR_IS_YES],[test x"$MPFR" != xno])
])
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.