Skip to content
Snippets Groups Projects
Commit ebef8f82 authored by Daniel Koester's avatar Daniel Koester
Browse files

Changed order of lib checks for LINUX-platforms. Order should be right-to-left, i.e.

least-dependent to most-dependent.
parent ff14611e
Branches
Tags
No related merge requests found
......@@ -90,19 +90,20 @@ esac
case "$build_os" in
*linux*)
AC_CHECK_LIB(MesaGL, main,,
[AC_CHECK_LIB(GL, main)])
AC_CHECK_LIB(g2c, main)
AC_CHECK_LIB(blas, main,,
[AC_MSG_WARN([Problems with libblas, also tried lg2c for Linux...])
make_own_blas_lib=libblas.la],
-lg2c)
[-lg2c])
AC_CHECK_LIB(X11, main,,
[AC_MSG_ERROR([Exiting...])],
-L$x_libraries)
[-L$x_libraries])
AC_CHECK_LIB(Xext, main,,
[AC_MSG_ERROR([Exiting...])],
-L$x_libraries)
[-L$x_libraries])
AC_CHECK_LIB(MesaGL, main,,
[AC_CHECK_LIB(GL,main)],
[-L$x_libraries])
;;
*)
AC_CHECK_LIB(X11, main,,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment