diff options
| author | Sascha Schumann <sas@php.net> | 1999-05-01 11:14:22 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-05-01 11:14:22 +0000 |
| commit | 8baa86ed515469788e28c16aea4f80029078d03b (patch) | |
| tree | d72c62d270c6d485828e90b4724f0f98e679d840 /ext/mcrypt/config.m4 | |
| parent | 064f75fd1b11f42431a2118289e211fa9afe267e (diff) | |
| download | php-git-8baa86ed515469788e28c16aea4f80029078d03b.tar.gz | |
mcrypt 2.1.18 support, better autoconf checking
Diffstat (limited to 'ext/mcrypt/config.m4')
| -rw-r--r-- | ext/mcrypt/config.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index 78dd7fb497..b1ff3d465a 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -9,10 +9,14 @@ AC_ARG_WITH(mcrypt, [ if test "$withval" != "no"; then for i in /usr/local /usr $withval; do - if test -f $i/include/lcrypt.h; then + if test -f $i/include/mcrypt.h; then MCRYPT_DIR=$i fi done + if test "$MCRYPT_DIR" = ""; then + AC_MSG_ERROR(Please install mcrypt.h and libmcrypt.a accordingly to the do +cumentation - I cannot find mcrypt.h) + fi INCLUDES="$INCLUDES -I$MCRYPT_DIR/include" EXTRA_LIBS="$EXTRA_LIBS -L$MCRYPT_DIR/lib -lmcrypt" |
