Re: cvs: php4 /ext/ming config.m4
| From: | Rui Hirokawa | Date: | Mon, 29 Apr 2002 22:20:12 +0000 |
| Subject: | Re: cvs: php4 /ext/ming config.m4 | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-11540@lists.php.net to get a copy of this message | ||
I did the steps as follow,
phpize
aclocal
./configure --with-ming
configure faild because shared library's extension and rint() are not
defined.
Rui
On Mon, 29 Apr 2002 18:37:26 +0300 (EEST)
Jani Taskinen <sniper@iki.fi> wrote:
>
> Eh? You mean, when you configure --with-ming=shared ?
> Or with phpize?
>
> --Jani
>
>
>
> On Tue, 30 Apr 2002, Rui Hirokawa wrote:
>
> >
> >It is necessary to make shared module extension.
> >
> >Rui
> >
> >On Mon, 29 Apr 2002 18:25:28 +0300 (EEST)
> >Jani Taskinen <sniper@iki.fi> wrote:
> >
> >>
> >> 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)
> >> >
> >> >
> >> >
> >> >
> >>
> >> --
> >
> >
> >
>
> --
--
-----------------------------------------------------
Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
<hirokawa@php.net>