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

Changed order of library checks for non-Linux compilation

parent 7dab8273
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,8 @@ AC_TYPE_SIGNAL ...@@ -69,6 +69,8 @@ AC_TYPE_SIGNAL
# These are our own tests # These are our own tests
# ****************************************************************************** # ******************************************************************************
AC_CHECK_LIB(dl, main)
plot_for_sun=true plot_for_sun=true
plot_for_ibm=false plot_for_ibm=false
plot_for_tit=false plot_for_tit=false
...@@ -106,20 +108,20 @@ case "$build_os" in ...@@ -106,20 +108,20 @@ case "$build_os" in
[-L$x_libraries]) [-L$x_libraries])
;; ;;
*) *)
AC_CHECK_LIB(blas, main,,
[AC_MSG_WARN([Problems with libblas, creating our own...])
make_own_blas_lib=libblas.la])
AC_CHECK_LIB(X11, main,, AC_CHECK_LIB(X11, main,,
[AC_MSG_ERROR(Exiting...)]) [AC_MSG_ERROR(Exiting...)],
[-L$x_libraries])
AC_CHECK_LIB(Xext, main,, AC_CHECK_LIB(Xext, main,,
[AC_MSG_ERROR(Exiting...)]) [AC_MSG_ERROR(Exiting...)],
[-L$x_libraries])
AC_CHECK_LIB(gl, main) AC_CHECK_LIB(gl, main)
AC_CHECK_LIB(GL, main) AC_CHECK_LIB(GL, main)
AC_CHECK_LIB(blas, main,,
[AC_MSG_WARN([Problems with libblas, creating our own...])
make_own_blas_lib=libblas.la])
;; ;;
esac esac
AC_CHECK_LIB(dl, main)
gltools_include= gltools_include=
LIBGLTOOLS_PRESENT= LIBGLTOOLS_PRESENT=
AC_MSG_CHECKING([for libgltools.a]) AC_MSG_CHECKING([for libgltools.a])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment