diff options
author | Sascha Schumann <sas@php.net> | 2000-06-17 10:51:26 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-06-17 10:51:26 +0000 |
commit | 9b509a3bad2fe6c92203bfabf2eac020688f5270 (patch) | |
tree | fba91d700f28b10a3001af7d5b2bd2b37cc79973 /ext/yaz | |
parent | 9a63d8af7f94faca22c7c67cb69da481406f4751 (diff) | |
download | php-git-9b509a3bad2fe6c92203bfabf2eac020688f5270.tar.gz |
Make use of the new macros PHP_EVAL_LIBLINE and PHP_EVAL_INCLINE
Diffstat (limited to 'ext/yaz')
-rw-r--r-- | ext/yaz/config.m4 | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/ext/yaz/config.m4 b/ext/yaz/config.m4 index 75c6ffa0dc..ba72b14914 100644 --- a/ext/yaz/config.m4 +++ b/ext/yaz/config.m4 @@ -20,26 +20,8 @@ if test "$PHP_YAZ" != "no"; then if test -f $yazconfig; then AC_DEFINE(HAVE_YAZ,1,[Whether you have YAZ]) . $yazconfig - for i in $YAZLIB; do - case $i in - -l*) - ii=`echo $i|cut -c 3-` - AC_ADD_LIBRARY($ii, YAZ_SHARED_LIBADD) - ;; - -L*) - ii=`echo $i|cut -c 3-` - AC_ADD_LIBPATH($ii,, YAZ_SHARED_LIBADD) - ;; - esac - done - for i in $YAZINC; do - case $i in - -I*) - ii=`echo $i|cut -c 3-` - AC_ADD_INCLUDE($ii) - ;; - esac - done + PHP_EVAL_LIBLINE($YAZLIB, YAZ_SHARED_LIBADD) + PHP_EVAL_INCLINE($YAZINC) PHP_SUBST(YAZ_SHARED_LIBADD) PHP_EXTENSION(yaz, $ext_shared) fi |