Changed ucb rules, look for /usr/ucblib.
authorewt <devnull@localhost>
Wed, 30 Apr 1997 18:03:27 +0000 (18:03 +0000)
committerewt <devnull@localhost>
Wed, 30 Apr 1997 18:03:27 +0000 (18:03 +0000)
CVS patchset: 1564
CVS date: 1997/04/30 18:03:27

configure.in

index 4e2bf56..59f58c5 100644 (file)
@@ -114,8 +114,21 @@ else
        AC_MSG_RESULT(no)
 fi
 
+AC_MSG_CHECKING(checking for /usr/ucblib...)
+if test -d /usr/local/lib ; then
+       LIBS="$LIBS -L/usr/local/lib"
+       
+       AC_MSG_RESULT(yes)
+else
+       AC_MSG_RESULT(no)
+fi
+
 dnl Checks for libraries.
 
+AC_CHECK_FUNC(strcasecmp, [], [
+    AC_CHECK_LIB(ucb, strcasecmp, [LIBS="-lucb $LIBS"])
+])
+
 dnl
 dnl handle --disable-nls
 dnl
@@ -163,10 +176,6 @@ AC_CHECK_FUNC(dbopen, [],
 (from the db package)]))
            )
 
-AC_CHECK_FUNC(ucb, [], [
-    AC_CHECK_LIB(ucb, strcasecmp, [LIBS="-lucb $LIBS"])
-])
-
 AC_CHECK_FUNC(fork, [], [echo "using vfork() instead of fork()";
        MISCOBJS=fakefork.o])