2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
1999-09-16 15:57:51 +00:00
|
|
|
dnl $Id$
|
2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
1999-09-16 15:57:51 +00:00
|
|
|
|
2000-03-27 23:33:38 +00:00
|
|
|
PHP_ARG_ENABLE(ftp,whether to enable FTP support,
|
|
|
|
[ --enable-ftp Enable FTP support])
|
|
|
|
|
2005-10-09 20:44:02 +00:00
|
|
|
PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP,
|
|
|
|
[ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no)
|
2005-10-09 20:39:42 +00:00
|
|
|
|
2000-03-27 23:33:38 +00:00
|
|
|
if test "$PHP_FTP" = "yes"; then
|
|
|
|
AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support])
|
2002-03-12 16:44:00 +00:00
|
|
|
PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared)
|
2005-10-09 20:39:42 +00:00
|
|
|
|
2005-11-01 00:32:21 +00:00
|
|
|
dnl Empty variable means 'no'
|
|
|
|
test -z "$PHP_OPENSSL" && PHP_OPENSSL=no
|
|
|
|
|
2005-10-09 20:39:42 +00:00
|
|
|
if test "$PHP_OPENSSL" != "no" || test "$PHP_OPENSSL_DIR" != "no"; then
|
|
|
|
PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD)
|
|
|
|
PHP_SUBST(FTP_SHARED_LIBADD)
|
|
|
|
fi
|
2000-03-27 23:33:38 +00:00
|
|
|
fi
|