Added a configure error message in the event that libgsl is not installed
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 24 Mar 2004 08:39:35 +0000 (08:39 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 24 Mar 2004 08:39:35 +0000 (08:39 +0000)
configure.ac

index 29bf0f7d1bd5b536d77f0b93bbd4bb1e646c6d53..98db30c3cb82684e2c253b56d6644a206d5cd464 100644 (file)
@@ -24,8 +24,9 @@ AC_CHECK_LIB(gmp, mpf_get_str,,
           AC_MSG_ERROR([You must install libgmp])
         )
 )
-AC_CHECK_LIB(gslcblas,main)
-AC_CHECK_LIB(gsl,main)
+
+AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR([You must install libgslcblas]))
+AC_CHECK_LIB(gsl,gsl_set_error_handler,,AC_MSG_ERROR([You must install libgsl]))
 
 AC_CHECK_FUNC(getopt_long,,
        AC_MSG_ERROR(`This application depends upon getopt_long'))