Browse Source

shlib suffix was not defind and rint() was not found without -lm.

experimental/new_ui_api
Rui Hirokawa 24 years ago
parent
commit
2f52cbbb7c
  1. 3
      ext/ming/config.m4

3
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)

Loading…
Cancel
Save