cvs: php4 /ext/ccvs config.m4
| From: | Brendan W. McAdams | Date: | Wed, 09 Aug 2000 14:31:13 +0000 |
| Subject: | cvs: php4 /ext/ccvs config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1113@lists.php.net to get a copy of this message | ||
bmcadams Wed Aug 9 07:31:13 2000 EDT
Modified files:
/php4/ext/ccvs config.m4
Log:
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.
Index: php4/ext/ccvs/config.m4
diff -u php4/ext/ccvs/config.m4:1.2 php4/ext/ccvs/config.m4:1.3
--- php4/ext/ccvs/config.m4:1.2 Tue Aug 8 16:15:56 2000
+++ php4/ext/ccvs/config.m4 Wed Aug 9 07:31:12 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.2 2000/08/08 23:15:56 bmcadams Exp $
+dnl $Id: config.m4,v 1.3 2000/08/09 14:31:12 bmcadams Exp $
dnl config.m4 for PHP4 CCVS Extension
AC_MSG_CHECKING(CCVS Support)
@@ -8,17 +8,19 @@
],
[
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)
])