From: Rui Hirokawa Date: Mon, 29 Apr 2002 02:55:55 +0000 (+0000) Subject: shlib suffix was not defind and rint() was not found without -lm. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f52cbbb7c1369162bd69475b074f4f1d100555c;p=php shlib suffix was not defind and rint() was not found without -lm. --- diff --git a/ext/ming/config.m4 b/ext/ming/config.m4 index 243c071ac3..6842e555e3 100644 --- a/ext/ming/config.m4 +++ b/ext/ming/config.m4 @@ -6,6 +6,7 @@ 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 @@ if test "$PHP_MING" != "no"; then ],[ 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)