isl.m4 (ISL_CHECK_VERSION): Add gmp libs.
authorNathan Sidwell <nathan@acm.org>
Thu, 17 Dec 2015 13:56:45 +0000 (13:56 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 17 Dec 2015 13:56:45 +0000 (13:56 +0000)
* config/isl.m4 (ISL_CHECK_VERSION): Add gmp libs.
* configure: Regenerate.

From-SVN: r231759

ChangeLog
config/isl.m4
configure

index 586973ffa1c6c5fe30f01e2ca530b89b517b3b92..4be125671c3f40fcac23823298a44d8c75f3ca72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-17  Nathan Sidwell  <nathan@acm.org>
+
+       * config/isl.m4 (ISL_CHECK_VERSION): Add gmp libs.
+       * configure: Regenerate.
+
 2015-12-16  Aditya Kumar  <aditya.k7@samsung.com>
            Sebastian Pop  <s.pop@samsung.com>
 
index 7387ff2c52d9ff221d1277c0470d619d8204897c..e4e4aab09faf3e0f564ae122871f3c0bf5d6c804 100644 (file)
@@ -103,8 +103,8 @@ AC_DEFUN([ISL_CHECK_VERSION],
     _isl_saved_LIBS=$LIBS
 
     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
-    LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
-    LIBS="${_isl_saved_LIBS} -lisl"
+    LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
+    LIBS="${_isl_saved_LIBS} -lisl -lgmp"
 
     AC_MSG_CHECKING([for isl 0.15 (or deprecated 0.14)])
     AC_TRY_LINK([#include <isl/ctx.h>],
index a6495c4fcceb009ab5d8b694b1e2a5fea652e40d..c3c5cb073df296583c6c4d1a040adc571f26fd27 100755 (executable)
--- a/configure
+++ b/configure
@@ -6017,8 +6017,8 @@ $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
     _isl_saved_LIBS=$LIBS
 
     CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
-    LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
-    LIBS="${_isl_saved_LIBS} -lisl"
+    LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
+    LIBS="${_isl_saved_LIBS} -lisl -lgmp"
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 (or deprecated 0.14)" >&5
 $as_echo_n "checking for isl 0.15 (or deprecated 0.14)... " >&6; }