config.m4 607 B

12345678910111213141516171819202122
  1. dnl
  2. dnl $Id$
  3. dnl
  4. PHP_ARG_ENABLE(ftp,whether to enable FTP support,
  5. [ --enable-ftp Enable FTP support])
  6. PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP,
  7. [ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no)
  8. if test "$PHP_FTP" = "yes"; then
  9. AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support])
  10. PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared)
  11. dnl Empty variable means 'no'
  12. test -z "$PHP_OPENSSL" && PHP_OPENSSL=no
  13. if test "$PHP_OPENSSL" != "no" || test "$PHP_OPENSSL_DIR" != "no"; then
  14. PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD)
  15. PHP_SUBST(FTP_SHARED_LIBADD)
  16. fi
  17. fi