From 9b509a3bad2fe6c92203bfabf2eac020688f5270 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 17 Jun 2000 10:51:26 +0000 Subject: Make use of the new macros PHP_EVAL_LIBLINE and PHP_EVAL_INCLINE --- ext/yaz/config.m4 | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'ext/yaz') 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 -- cgit v1.2.1