mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
Fix ISL check with static libisl
toplevel: * configure: Regenerate. config: * isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS. From-SVN: r189207
This commit is contained in:
parent
b83053bf42
commit
90d4f2330e
@ -1,3 +1,7 @@
|
||||
2012-07-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2012-07-02 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
* MAINTAINERS (Various Maintainers): Add myself as testsuite
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
]
|
||||
)
|
||||
|
5
configure
vendored
5
configure
vendored
@ -5689,9 +5689,11 @@ if test "x$with_isl" != "xno"; then
|
||||
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
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
|
||||
@ -5734,6 +5736,7 @@ $as_echo "$gcc_cv_isl" >&6; }
|
||||
|
||||
CFLAGS=$_isl_saved_CFLAGS
|
||||
LDFLAGS=$_isl_saved_LDFLAGS
|
||||
LIBS=$_isl_saved_LIBS
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user