projects
/
chise
/
libchise.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6959799
)
Setup LIBS; check /sw/include/db4/db.h and setup for db4 when the
author
tomo
<tomo>
Wed, 15 Oct 2003 11:31:03 +0000
(11:31 +0000)
committer
tomo
<tomo>
Wed, 15 Oct 2003 11:31:03 +0000
(11:31 +0000)
library is found.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
a8a5d9f
..
ad7175f
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-17,6
+17,12
@@
AC_PROG_LIBTOOL
# Checks for libraries.
if test -f /sw/include/db3/db.h; then
CFLAGS="-I/sw/include/db3 $CFLAGS"
+ LIBS="-L/sw/lib -ldb-3 $LIBS"
+elif test -f /sw/include/db4/db.h; then
+ CFLAGS="-I/sw/include/db4 $CFLAGS"
+ LIBS="-L/sw/lib -ldb-4 $LIBS"
+else
+ LIBS="-ldb $LIBS"
fi
# Checks for header files.