diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-07-03 09:26:58 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-07-03 09:26:58 +0000 |
commit | 90d4f2330e4aa883d164d4ca4401b70443006950 (patch) | |
tree | 55e6f6c8aae9d906ef6a5a002e107dfec492f2be /config | |
parent | b83053bf4288fa0fe49eb55027174f9bc4600c43 (diff) | |
download | gcc-90d4f2330e4aa883d164d4ca4401b70443006950.zip gcc-90d4f2330e4aa883d164d4ca4401b70443006950.tar.gz gcc-90d4f2330e4aa883d164d4ca4401b70443006950.tar.bz2 |
Fix ISL check with static libisl
toplevel:
* configure: Regenerate.
config:
* isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.
From-SVN: r189207
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/isl.m4 | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index c2c93fc..aa4e0a3 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2012-07-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS. + 2012-07-02 Richard Guenther <rguenther@suse.de> * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. diff --git a/config/isl.m4 b/config/isl.m4 index c541158..152d422 100644 --- a/config/isl.m4 +++ b/config/isl.m4 @@ -120,9 +120,11 @@ AC_DEFUN([ISL_CHECK_VERSION], if test "${ENABLE_ISL_CHECK}" = yes ; then _isl_saved_CFLAGS=$CFLAGS _isl_saved_LDFLAGS=$LDFLAGS + _isl_saved_LIBS=$LIBS CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}" - LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} -lisl" + LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}" + LIBS="${_isl_saved_LIBS} -lisl" echo $CFLAGS AC_CACHE_CHECK([for version $1.$2 of ISL], @@ -133,6 +135,7 @@ AC_DEFUN([ISL_CHECK_VERSION], CFLAGS=$_isl_saved_CFLAGS LDFLAGS=$_isl_saved_LDFLAGS + LIBS=$_isl_saved_LIBS fi ] ) |