]> granicus.if.org Git - php/commitdiff
Tracked the stray -libccvs call to a bad config directive in the config.m4 file.
authorBrendan W. McAdams <bmcadams@php.net>
Wed, 9 Aug 2000 16:45:49 +0000 (16:45 +0000)
committerBrendan W. McAdams <bmcadams@php.net>
Wed, 9 Aug 2000 16:45:49 +0000 (16:45 +0000)
ext/ccvs/config.m4

index a62ef967258a0c275a7c1dc9f9be59c6b134a498..44cc23f4265ac458ed73b82c6218567c0c130ad3 100644 (file)
@@ -9,12 +9,13 @@ AC_ARG_WITH(ccvs,
 [
   if test "$withval" != "no"; then
      CCVS_DIR="$withval"
-     CCVS_LIB_DIR="$CCVS_DIR/lib"
-     CCVS_INCLUDE_DIR="$CCVS_DIR/include"
+       test -f $withval/include/cv_api.h && CCVS_INCLUDE_DIR="$withval/include"
+    test -f $withval/lib/libccvs.a && CCVS_LIB_DIR="$withval/lib"
+
        if test -n "$CCVS_DIR"; then
                AC_MSG_RESULT(yes)
                PHP_EXTENSION(ccvs)
-               LIBS="$LIBS -LCCVS_DIR/lib"
+               LIBS="$LIBS -L$CCVS_LIB_DIR"
                AC_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_LIB_DIR)
                AC_ADD_INCLUDE($CCVS_INCLUDE_DIR)
          else