Re: cvs: php4 /ext/ming config.m4

From: Date: Mon, 29 Apr 2002 15:25:28 +0000
Subject: Re: cvs: php4 /ext/ming config.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11525@lists.php.net to get a copy of this message
PHP_SHLIB_SUFFIX_NAME is in configure.in and does not need to be run here. Also, the -lm check is done in configure.in. Can you explain why you needed to make these changes? --Jani On Mon, 29 Apr 2002, Rui Hirokawa wrote: >hirokawa Sun Apr 28 22:55:54 2002 EDT > > Modified files: > /php4/ext/ming config.m4 > Log: > shlib suffix was not defind and rint() was not found without -lm. > >Index: php4/ext/ming/config.m4 >diff -u php4/ext/ming/config.m4:1.14 php4/ext/ming/config.m4:1.15 >--- php4/ext/ming/config.m4:1.14 Wed Mar 27 10:30:51 2002 >+++ php4/ext/ming/config.m4 Sun Apr 28 22:55:54 2002 >@@ -1,11 +1,12 @@ > dnl >-dnl $Id: config.m4,v 1.14 2002/03/27 15:30:51 sniper Exp $ >+dnl $Id: config.m4,v 1.15 2002/04/29 02:55:54 hirokawa Exp $ > dnl > > PHP_ARG_WITH(ming, for MING support, > [ --with-ming[=DIR] Include MING support]) > > if test "$PHP_MING" != "no"; then >+ PHP_SHLIB_SUFFIX_NAME > for i in $PHP_MING /usr/local /usr; do > if test -f $i/lib/libming.$SHLIB_SUFFIX_NAME -o -f $i/lib/libming.a; then > MING_DIR=$i >@@ -21,7 +22,7 @@ > ],[ > AC_MSG_ERROR([Ming library 0.2a or greater required.]) > ],[ >- -L$MING_DIR/lib >+ -L$MING_DIR/lib -lm > ]) > > PHP_ADD_INCLUDE($MING_DIR/include) > > > > --

« previous php.cvs (#11525) next »