projects
/
chise
/
concord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5469d2f
)
Support db5 in Fink.
author
MORIOKA Tomohiko
<tomo@polyhymnia.local>
Sat, 7 Jul 2012 12:50:22 +0000
(21:50 +0900)
committer
MORIOKA Tomohiko
<tomo@polyhymnia.local>
Sat, 7 Jul 2012 12:50:22 +0000
(21:50 +0900)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
f9b2ce7
..
608794e
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-24,10
+24,12
@@
do
done
CFLAGS=`echo "$SITE_INCLUDES_CFLAGS $CFLAGS"|sed 's/^ *//'`
,
done
CFLAGS=`echo "$SITE_INCLUDES_CFLAGS $CFLAGS"|sed 's/^ *//'`
,
-if test -f /sw/include/db3/db.h; then
- CFLAGS="-I/sw/include/db3 $CFLAGS"
+if test -f /sw/include/db5/db.h; then
+ CFLAGS="-I/sw/include/db5 $CFLAGS"
elif test -f /sw/include/db4/db.h; then
CFLAGS="-I/sw/include/db4 $CFLAGS"
elif test -f /sw/include/db4/db.h; then
CFLAGS="-I/sw/include/db4 $CFLAGS"
+elif test -f /sw/include/db3/db.h; then
+ CFLAGS="-I/sw/include/db3 $CFLAGS"
fi
)
fi
)
@@
-41,10
+43,12
@@
done
LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
LIBS="-ldb $LIBS"
,
LIBS=`echo "$SITE_LIBS $LIBS"|sed 's/^ *//'`
LIBS="-ldb $LIBS"
,
-if test -f /sw/include/db3/db.h; then
- LIBS="-L/sw/lib -ldb-3 $LIBS"
+if test -f /sw/include/db5/db.h; then
+ LIBS="-L/sw/lib -ldb-5 $LIBS"
elif test -f /sw/include/db4/db.h; then
LIBS="-L/sw/lib -ldb-4 $LIBS"
elif test -f /sw/include/db4/db.h; then
LIBS="-L/sw/lib -ldb-4 $LIBS"
+elif test -f /sw/include/db3/db.h; then
+ LIBS="-L/sw/lib -ldb-3 $LIBS"
else
LIBS="-ldb $LIBS"
fi
else
LIBS="-ldb $LIBS"
fi