diff options
author | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2004-01-25 12:03:25 +0000 |
commit | 22476b36ce621bdd115493bab84cbe706e422a7c (patch) | |
tree | 1124d1c5af68860a78c2252bb0dac63c9f18156e /ext/mcrypt/config.m4 | |
parent | eb7aca4ea896b09cb9afc2466a46f4720acc4a4e (diff) | |
download | php-git-php_ibase_before_split.tar.gz |
This commit was manufactured by cvs2svn to create tagphp_ibase_before_split
'php_ibase_before_split'.
Diffstat (limited to 'ext/mcrypt/config.m4')
-rw-r--r-- | ext/mcrypt/config.m4 | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 deleted file mode 100644 index 4d9cc3eb06..0000000000 --- a/ext/mcrypt/config.m4 +++ /dev/null @@ -1,61 +0,0 @@ -dnl -dnl $Id$ -dnl - -AC_DEFUN(PHP_MCRYPT_CHECK_VERSION,[ - old_CPPFLAGS=$CPPFLAGS - CPPFLAGS=-I$MCRYPT_DIR/include - AC_MSG_CHECKING(for libmcrypt version) - AC_EGREP_CPP(yes,[ -#include <mcrypt.h> -#if MCRYPT_API_VERSION >= 20021217 - yes -#endif - ],[ - AC_MSG_RESULT(>= 2.5.6) - ],[ - AC_MSG_ERROR(libmcrypt version 2.5.6 or greater required.) - ]) - CPPFLAGS=$old_CPPFLAGS -]) - - -PHP_ARG_WITH(mcrypt, for mcrypt support, -[ --with-mcrypt[=DIR] Include mcrypt support.]) - -if test "$PHP_MCRYPT" != "no"; then - for i in $PHP_MCRYPT /usr/local /usr; do - test -f $i/include/mcrypt.h && MCRYPT_DIR=$i && break - done - - if test -z "$MCRYPT_DIR"; then - AC_MSG_ERROR(mcrypt.h not found. Please reinstall libmcrypt.) - fi - - PHP_MCRYPT_CHECK_VERSION - - PHP_CHECK_LIBRARY(mcrypt, mcrypt_module_open, - [ - PHP_ADD_LIBRARY(ltdl,, MCRYPT_SHARED_LIBADD) - AC_DEFINE(HAVE_LIBMCRYPT,1,[ ]) - ],[ - unset found - unset ac_cv_lib_mcrypt_mcrypt_module_open - PHP_CHECK_LIBRARY(mcrypt, mcrypt_module_open, - [ - AC_DEFINE(HAVE_LIBMCRYPT,1,[ ]) - ],[ - AC_MSG_ERROR([Sorry, I was not able to diagnose which libmcrypt version you have installed.]) - ],[ - -L$MCRYPT_DIR/lib - ]) - ],[ - -L$MCRYPT_DIR/lib -lltdl - ]) - - PHP_ADD_LIBRARY_WITH_PATH(mcrypt, $MCRYPT_DIR/lib, MCRYPT_SHARED_LIBADD) - PHP_ADD_INCLUDE($MCRYPT_DIR/include) - - PHP_SUBST(MCRYPT_SHARED_LIBADD) - PHP_NEW_EXTENSION(mcrypt, mcrypt.c, $ext_shared) -fi |