AC_HELP_STRING([--with-BLASname=NAME], [use NAME as the name of the BLAS library (without leading "lib" prefix and trailing suffix). Default: "blas"]),
[case "$withval" in
yes) AC_MSG_ERROR("option \"--with-BLASname\" requires an argument")
;;
*)
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_MSG_ERROR(Exiting...)],
[${X_LIBS}])
AC_CHECK_LIB(Xext, main,,
[AC_MSG_ERROR(Exiting...)],
[${X_LIBS}])
AC_CHECK_LIB(gl, main)
AC_CHECK_LIB(GL, main)
no) AC_MSG_ERROR("option \"--with-BLASname\" requires an argument")
AC_HELP_STRING([--with-GLname=NAME], [use NAME as the name of the OpenGL (tm) library (without leading "lib" prefix and trailing suffix). Default: "GL"]),
[case "$withval" in
yes) AC_MSG_ERROR("option \"--with-GLname\" requires an argument")
;;
no) AC_MSG_ERROR("option \"--with-GLname\" requires an argument")