mirror of
https://github.com/php/php-src.git
synced 2024-10-15 05:22:48 +00:00
8a26918ed1
# Heads up people! I tested this before committing but you never know..
27 lines
718 B
Plaintext
27 lines
718 B
Plaintext
dnl $Id$
|
|
dnl config.m4 for PHP4 CCVS Extension
|
|
|
|
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.],
|
|
[
|
|
if test "$withval" != "no"; then
|
|
CCVS_DIR="$withval"
|
|
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 -L$CCVS_LIB_DIR"
|
|
PHP_ADD_LIBRARY_WITH_PATH(ccvs, $CCVS_LIB_DIR)
|
|
PHP_ADD_INCLUDE($CCVS_INCLUDE_DIR)
|
|
else
|
|
AC_MSG_RESULT(no)
|
|
fi
|
|
fi
|
|
],[
|
|
AC_MSG_RESULT(no)
|
|
])
|