diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Sep 5 12:48:00 2013 Kenta Murata <mrkn@cookpad.com> + + * configure.in (with_gmp): set with_gmp no if it is empty. + Thu Sep 5 10:41:00 2013 Charlie Somerville <charliesome@ruby-lang.org> * vm_insnhelper.c (vm_getivar): use class sequence to check class diff --git a/configure.in b/configure.in index f32e868e63..97568ac759 100644 --- a/configure.in +++ b/configure.in @@ -1058,7 +1058,8 @@ AS_IF([test "x$with_gmp" != xno], [AC_CHECK_HEADERS(gmp.h) AS_IF([test "x$ac_cv_header_gmp_h" != xno], AC_CHECK_LIB([gmp], [__gmpz_init])) - with_gmp="$ac_cv_lib_gmp___gmpz_init"]) + with_gmp="$ac_cv_lib_gmp___gmpz_init" + AS_IF([test -z "$with_gmp"], [with_gmp=no])]) dnl check for large file stuff mv confdefs.h confdefs1.h |