From: Brendan W. McAdams Date: Wed, 9 Aug 2000 14:31:12 +0000 (+0000) Subject: Trying to resolve the build issue. This module is currently broken. PHP compiles... X-Git-Tag: php-4.0.2RC1~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14e86fcf0aba884a8352776bfcf9a5bbec357aff;p=php Trying to resolve the build issue. This module is currently broken. PHP compiles it fine but I'm having linking issues when it gets to the apache level. Any help would be greatly appreciated. --- diff --git a/ext/ccvs/config.m4 b/ext/ccvs/config.m4 index 032f27d8f1..a62ef96725 100644 --- a/ext/ccvs/config.m4 +++ b/ext/ccvs/config.m4 @@ -8,17 +8,19 @@ AC_ARG_WITH(ccvs, ], [ if test "$withval" != "no"; then - if test -n "$CCVS_DIR"; then - AC_MSG_RESULT(yes) - PHP_EXTENSION(ccvs) - LIBS="$LIBS -LCCVS_DIR/lib" - LIBS="$old_LIBS" - AC_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_DIR) - AC_ADD_INCLUDE($withval/include) - else - AC_MSG_RESULT(no) - fi -fi + CCVS_DIR="$withval" + CCVS_LIB_DIR="$CCVS_DIR/lib" + CCVS_INCLUDE_DIR="$CCVS_DIR/include" + if test -n "$CCVS_DIR"; then + AC_MSG_RESULT(yes) + PHP_EXTENSION(ccvs) + LIBS="$LIBS -LCCVS_DIR/lib" + AC_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_LIB_DIR) + AC_ADD_INCLUDE($CCVS_INCLUDE_DIR) + else + AC_MSG_RESULT(no) + fi + fi ],[ AC_MSG_RESULT(no) ])