cvs: php4 /ext/yaz config.m4

From: Date: Sat, 17 Jun 2000 10:51:20 +0000
Subject: cvs: php4 /ext/yaz config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-326@lists.php.net to get a copy of this message
sas Sat Jun 17 03:51:20 2000 EDT Modified files: /php4/ext/yaz config.m4 Log: Make use of the new macros PHP_EVAL_LIBLINE and PHP_EVAL_INCLINE Index: php4/ext/yaz/config.m4 diff -u php4/ext/yaz/config.m4:1.2 php4/ext/yaz/config.m4:1.3 --- php4/ext/yaz/config.m4:1.2 Fri Jun 9 20:35:56 2000 +++ php4/ext/yaz/config.m4 Sat Jun 17 03:51:20 2000 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.2 2000/06/10 03:35:56 sas Exp $ +dnl $Id: config.m4,v 1.3 2000/06/17 10:51:20 sas Exp $ PHP_ARG_WITH(yaz,for YAZ support, [ --with-yaz[=DIR] Include YAZ support (ANSI/NISO Z39.50). DIR is @@ -20,26 +20,8 @@ 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

« previous php.cvs (#326) next »