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.
This commit is contained in:
Brendan W. McAdams 2000-08-09 14:31:12 +00:00
parent 048717c09c
commit 14e86fcf0a

View File

@ -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)
])