Code to detect version of Berkeley DB for Fink is moved into the
authortomo <tomo>
Sun, 14 May 2006 11:58:45 +0000 (11:58 +0000)
committertomo <tomo>
Sun, 14 May 2006 11:58:45 +0000 (11:58 +0000)
if-clause about Fink is used.

configure.in

index 471c646..072a165 100644 (file)
@@ -29,12 +29,12 @@ if test -d /sw/include; then
        xemacs_site_includes="/sw/include"
        xemacs_site_libraries="/sw/lib"
        xemacs_opts="--with-dialogs=athena --with-widgets=athena --with-athena=3d"
-fi
 
-if test -f /sw/include/db3/db.h; then
-       xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
-elif test -f /sw/include/db4/db.h; then
-       xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
+       if test -f /sw/include/db3/db.h; then
+               xemacs_site_includes="$xemacs_site_includes:/sw/include/db3"
+       elif test -f /sw/include/db4/db.h; then
+               xemacs_site_includes="$xemacs_site_includes:/sw/include/db4"
+       fi
 fi
 
 if test "$xemacs_site_includes" != ""; then