php-src/ext/ftp/config.m4
2005-10-09 20:44:26 +00:00

20 lines
531 B
Plaintext

dnl
dnl $Id$
dnl
PHP_ARG_ENABLE(ftp,whether to enable FTP support,
[ --enable-ftp Enable FTP support])
PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP,
[ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no)
if test "$PHP_FTP" = "yes"; then
AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support])
PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared)
if test "$PHP_OPENSSL" != "no" || test "$PHP_OPENSSL_DIR" != "no"; then
PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD)
PHP_SUBST(FTP_SHARED_LIBADD)
fi
fi