aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-01-27 09:11:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-01-27 09:11:04 +0200
commitc6a3eff6ca876919dbc4d5221e8c7640ed7b3e43 (patch)
tree6a2714c61176d29cdae28371806221df758584ca /configure
parentf87bfec818319e65540ed08837d8fe85bd29174a (diff)
downloadegawk-c6a3eff6ca876919dbc4d5221e8c7640ed7b3e43.tar.gz
egawk-c6a3eff6ca876919dbc4d5221e8c7640ed7b3e43.tar.bz2
egawk-c6a3eff6ca876919dbc4d5221e8c7640ed7b3e43.zip
Run MPFR tests is MPFR is available.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 246641d2..712cdf5c 100755
--- a/configure
+++ b/configure
@@ -630,6 +630,8 @@ am__EXEEXT_TRUE
LTLIBOBJS
subdirs
GAWKLIBEXT
+TEST_MPFR_FALSE
+TEST_MPFR_TRUE
LIBMPFR
LIBREADLINE
SOCKET_LIBS
@@ -10487,6 +10489,14 @@ $as_echo "#define HAVE_MPFR 1" >>confdefs.h
unset _found_mpfr
fi
+ if test -n "$LIBMPFR"; then
+ TEST_MPFR_TRUE=
+ TEST_MPFR_FALSE='#'
+else
+ TEST_MPFR_TRUE='#'
+ TEST_MPFR_FALSE=
+fi
+
ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
@@ -11023,6 +11033,10 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${TEST_MPFR_TRUE}" && test -z "${TEST_MPFR_FALSE}"; then
+ as_fn_error $? "conditional \"TEST_MPFR\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0