cvs: php4 /ext/ccvs config.m4

From: Date: Wed, 09 Aug 2000 16:45:49 +0000
Subject: cvs: php4 /ext/ccvs config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1115@lists.php.net to get a copy of this message
bmcadams Wed Aug 9 09:45:49 2000 EDT Modified files: /php4/ext/ccvs config.m4 Log: Tracked the stray -libccvs call to a bad config directive in the config.m4 file. Index: php4/ext/ccvs/config.m4 diff -u php4/ext/ccvs/config.m4:1.3 php4/ext/ccvs/config.m4:1.4 --- php4/ext/ccvs/config.m4:1.3 Wed Aug 9 07:31:12 2000 +++ php4/ext/ccvs/config.m4 Wed Aug 9 09:45:49 2000 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.3 2000/08/09 14:31:12 bmcadams Exp $ +dnl $Id: config.m4,v 1.4 2000/08/09 16:45:49 bmcadams Exp $ dnl config.m4 for PHP4 CCVS Extension AC_MSG_CHECKING(CCVS Support) @@ -9,12 +9,13 @@ [ 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

« previous php.cvs (#1115) next »