Return to config.m4 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / ftp |
1.1 ! misho 1: dnl ! 2: dnl $Id: config.m4 199642 2005-11-01 00:32:21Z bfrance $ ! 3: dnl ! 4: ! 5: PHP_ARG_ENABLE(ftp,whether to enable FTP support, ! 6: [ --enable-ftp Enable FTP support]) ! 7: ! 8: PHP_ARG_WITH(openssl-dir,OpenSSL dir for FTP, ! 9: [ --with-openssl-dir[=DIR] FTP: openssl install prefix], no, no) ! 10: ! 11: if test "$PHP_FTP" = "yes"; then ! 12: AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support]) ! 13: PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared) ! 14: ! 15: dnl Empty variable means 'no' ! 16: test -z "$PHP_OPENSSL" && PHP_OPENSSL=no ! 17: ! 18: if test "$PHP_OPENSSL" != "no" || test "$PHP_OPENSSL_DIR" != "no"; then ! 19: PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD) ! 20: PHP_SUBST(FTP_SHARED_LIBADD) ! 21: fi ! 22: fi