mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 12:56:26 +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=""])]
|
||||
)
|
||||
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])
|
||||
|
4
configure
vendored
4
configure
vendored
@ -7859,7 +7859,7 @@ if ${ac_cv_lib_gsl_main+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lgsl $LIBS"
|
||||
LIBS="-lgsl -lgslcblas $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@ -7894,8 +7894,6 @@ else
|
||||
as_fn_error $? "could not find libgsl" "$LINENO" 5
|
||||
fi
|
||||
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user