mirror of
https://github.com/nasa/trick.git
synced 2025-03-27 22:28:35 +00:00
configure script fails in RHEL/CentOS 8 #887
If gsl is installed the configure script fails because it needs libgslcblas as well when testing for the library.
This commit is contained in:
parent
193da84744
commit
057c31ff95
@ -109,7 +109,7 @@ AC_DEFUN([AX_GSL_HOME],[
|
|||||||
[AC_CHECK_HEADER(gsl/gsl_rng.h, [GSL_HOME="/usr"], [GSL_HOME=""])]
|
[AC_CHECK_HEADER(gsl/gsl_rng.h, [GSL_HOME="/usr"], [GSL_HOME=""])]
|
||||||
)
|
)
|
||||||
AS_IF([test "$GSL_HOME" != ""],
|
AS_IF([test "$GSL_HOME" != ""],
|
||||||
[AC_CHECK_LIB(gsl, main, [],AC_MSG_ERROR([could not find libgsl]))]
|
[AC_CHECK_LIB(gsl, main, [],AC_MSG_ERROR([could not find libgsl]),[-lgslcblas])],
|
||||||
[]
|
[]
|
||||||
)
|
)
|
||||||
AC_SUBST([GSL_HOME])
|
AC_SUBST([GSL_HOME])
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -7859,7 +7859,7 @@ if ${ac_cv_lib_gsl_main+:} false; then :
|
|||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
ac_check_lib_save_LIBS=$LIBS
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
LIBS="-lgsl $LIBS"
|
LIBS="-lgsl -lgslcblas $LIBS"
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
||||||
@ -7894,8 +7894,6 @@ else
|
|||||||
as_fn_error $? "could not find libgsl" "$LINENO" 5
|
as_fn_error $? "could not find libgsl" "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user