diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-22 14:28:16 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-22 14:28:16 +0200 |
commit | 31964a0f57a269734730a6bc597d4733e1518eb8 (patch) | |
tree | 8f4aa2156654c05f0fdb819e726bb18286c67c50 /extension/configure.ac | |
parent | b38e210c1b96e7e38bf2e479759f697ccaa006b5 (diff) | |
parent | 04235ff1134e404b133917020fa4eac1038947a0 (diff) | |
download | egawk-31964a0f57a269734730a6bc597d4733e1518eb8.tar.gz egawk-31964a0f57a269734730a6bc597d4733e1518eb8.tar.bz2 egawk-31964a0f57a269734730a6bc597d4733e1518eb8.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'extension/configure.ac')
-rw-r--r-- | extension/configure.ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/extension/configure.ac b/extension/configure.ac index bf43b689..e1438259 100644 --- a/extension/configure.ac +++ b/extension/configure.ac @@ -36,6 +36,15 @@ export INSTALL AM_INIT_AUTOMAKE([1.15 -Wall -Werror]) +SKIP_MPFR=no +AC_ARG_ENABLE([mpfr], + [AS_HELP_STRING([--disable-mpfr],[do not check for MPFR])], + if test "$enableval" = no + then + SKIP_MPFR=yes + fi +) + dnl checks for structure members AC_CHECK_MEMBERS([struct stat.st_blksize]) @@ -45,7 +54,9 @@ AC_DISABLE_STATIC LT_INIT dnl AC_PROG_INSTALL -AC_SUBST([pkgextensiondir], ['${libdir}/gawk']) +dnl use the same definition as the main configure script. +dnl EXTENSIONDIR is exported if it was set there. +AC_SUBST([pkgextensiondir], ['${pkglibdir}'${EXTENSIONDIR}]) if test "$GCC" = yes then @@ -74,7 +85,10 @@ case `uname -m` in *'Power Macintosh'*) : ;; *) - GNUPG_CHECK_MPFR + case $SKIP_MPFR in + no) GNUPG_CHECK_MPFR + ;; + esac ;; esac |