update.
[chise/libchise.git] / configure.in
index 180e762..5e0adc1 100644 (file)
@@ -8,8 +8,13 @@ AC_CONFIG_HEADER(config.h)
 
 # Checks for programs.
 AC_PROG_CC
+AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
+       /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
 
 # Checks for libraries.
+if test -f /sw/include/db3/db.h; then
+       CFLAGS="-I/sw/include/db3 $CFLAGS"
+fi
 
 # Checks for header files.