blob: b11dec5c15524df68eb1d59fd4dc272505ab7960 (
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
|
$NetBSD: patch-ac,v 1.4 2001/04/08 16:25:28 dmcmahill Exp $
check for the fortran libs. We need to check this way
to keep compatibility with both f2c and f77 rather than
hard coding something like "-lg2c".
--- configure.in.orig Mon Mar 26 07:08:33 2001
+++ configure.in Fri Mar 30 06:08:18 2001
@@ -112,4 +112,12 @@
fi
+##################################################
+## Fortran libraries required for creating fortran
+## shared libraries. In particular this is needed
+## for the lapack examples when using f2c. This
+## will set the FLIBS variable.
+##################################################
+AC_F77_LIBRARY_LDFLAGS
+
#############################################
## Compilers and options according to machine
@@ -1339,4 +1347,5 @@
AC_SUBST(LDFLAGS)
AC_SUBST(LIBS)
+AC_SUBST(FLIBS)
#AC_SUBST(CC)
AC_SUBST(CFLAGS)
|