AC_ARG_WITH([mpfi],
[AS_HELP_STRING([--with-mpfi=<location>],
[Location at which the MPFI 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
MPFI=no elif test "$withval" = yes; then
MPFI=yes else
MPFI=yes
MPFI_CPPFLAGS="-I$withval/include"
MPFI_LDFLAGS="-L$withval/lib" fi],
[AS_IF([command -v brew >/dev/null 2>&1],[
withval=$(brew --prefix)
MPFI_CPPFLAGS="-I$withval/include"
MPFI_LDFLAGS="-L$withval/lib"
])]
)
AC_ARG_WITH([mpfi-include],
[AS_HELP_STRING([--with-mpfi-include=<location>],
[Location at which the mpfi include files were installed.])],
[MPFI=yes
MPFI_CPPFLAGS="-I$withval"]
)
AC_ARG_WITH([mpfi-lib],
[AS_HELP_STRING([--with-mpfi-lib=<location>],
[Location at which the mpfi library files were installed.])],
[MPFI=yes
MPFI_LDFLAGS="-L$withval"]
)
if test "$MPFI" != no; then
if test "$MPFI" != unknown && test "$MPFR" = no; then
AC_MSG_ERROR([Cannot have MPFI without having MPFR too.]) fi
if test "$temp_status" = false; then if test "$MPFI" = yes; then
AC_MSG_ERROR([library mpfi not found. Using --with-mpfi, specify its location, or "no" to disable it.]) else
MPFI=no fi else
MPFI=yes fi
if test "$MPFI" != no; then
AC_DEFINE([USE_MPFI],1,[use MPFI library]) fi
AC_SUBST(MPFI_CPPFLAGS)
AC_SUBST(MPFI_LDFLAGS)
AC_SUBST(MPFI_LIBS)
AM_CONDITIONAL([WITH_MPFI_IS_YES],[test x"$MPFI" != xno])
])
¤ Dauer der Verarbeitung: 0.11 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.