cvs: php4 /ext/ming config.m4

From: Date: Mon, 29 Apr 2002 18:08:16 +0000
Subject: cvs: php4 /ext/ming config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11539@lists.php.net to get a copy of this message
sniper Mon Apr 29 14:08:16 2002 EDT Modified files: /php4/ext/ming config.m4 Log: Never add libraries without checking that they exist and can be linked. Index: php4/ext/ming/config.m4 diff -u php4/ext/ming/config.m4:1.15 php4/ext/ming/config.m4:1.16 --- php4/ext/ming/config.m4:1.15 Sun Apr 28 22:55:54 2002 +++ php4/ext/ming/config.m4 Mon Apr 29 14:08:15 2002 @@ -1,12 +1,13 @@ dnl -dnl $Id: config.m4,v 1.15 2002/04/29 02:55:54 hirokawa Exp $ +dnl $Id: config.m4,v 1.16 2002/04/29 18:08:15 sniper 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 + AC_CHECK_LIB(m, sin) + 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 @@ -22,7 +23,7 @@ ],[ AC_MSG_ERROR([Ming library 0.2a or greater required.]) ],[ - -L$MING_DIR/lib -lm + -L$MING_DIR/lib ]) PHP_ADD_INCLUDE($MING_DIR/include)

« previous php.cvs (#11539) next »