AC_MSG_CHECKING(CCVS Support)
AC_ARG_WITH(ccvs,
-[ --with-ccvs[=DIR] Compile CCVS support into PHP4. Please specify your CCVS base install directory as DIR.],
+[ --with-ccvs[=DIR] Compile CCVS support into PHP4.
+ Please specify your CCVS base install directory as DIR.
+],
[
if test "$withval" != "no"; then
- test -f $withval/include/cv_api.h && CCVS_DIR="$withval/include"
- test -f $withval/lib/libccvs.a && CCVS_DIR="$withval/lib"
if test -n "$CCVS_DIR"; then
AC_MSG_RESULT(yes)
PHP_EXTENSION(ccvs)
- old_LIBS="$LIBS"
LIBS="$LIBS -LCCVS_DIR/lib"
- LIBS="$old_LIBS -lccvs"
- AC_ADD_LIBRARY_WITH_PATH(libccvs, $CCVS_DIR)
+ LIBS="$old_LIBS"
+ AC_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_DIR)
AC_ADD_INCLUDE($withval/include)
else
AC_MSG_RESULT(no)