aboutsummaryrefslogtreecommitdiff
blob: 2830d5b586f33dc8dcb8a434256d69629ce06905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- configure.ac.orig	2007-09-27 09:27:28.731439558 +0100
+++ configure.ac	2007-09-27 09:37:45.755835491 +0100
@@ -9,7 +9,7 @@
 # *not* the same as the "public" version number.  CURRENT:REVISION:AGE
 SHARED_VERSION_INFO="2:4:0"
 AC_SUBST(SHARED_VERSION_INFO)
-AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
+AM_ENABLE_SHARED(yes) dnl shared libs cause too many headaches to be default
 
 ##############################################################################
 
@@ -123,9 +123,16 @@
 ###########################################################################
 
 # Checks for BLAS/LAPACK libraries:
-
-ACX_BLAS([], [AC_MSG_ERROR([BLAS library not found])])
-ACX_LAPACK([], [AC_MSG_ERROR([LAPACK library not found])])
+sinclude(acx_blas.m4)
+ACX_BLAS
+if test x"$BLAS_LIBS" = x ; then
+   AC_MSG_ERROR([BLAS library not found])
+fi
+sinclude(acx_lapack.m4)
+ACX_LAPACK
+if test x"$LAPACK_LIBS" = x ; then
+   AC_MSG_ERROR([LAPACK library not found])
+fi
 
 LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"