Re: Bug #12607 Updated: new autoconf 2.52 does not work with latest CVS.

From: Date: Fri, 17 Aug 2001 06:53:43 +0000
Subject: Re: Bug #12607 Updated: new autoconf 2.52 does not work with latest CVS.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63497@lists.php.net to get a copy of this message
On 17 Aug 2001 mochaexpress@yahoo.com wrote: >then i applied this patch i sent in before, but it looks like it didn't make it to cvs yet: > > --- iconv/config.m4.orig Mon Jun 25 08:42:44 2001 > +++ iconv/config.m4 Mon Jun 25 09:30:37 2001 > @@ -29,7 +29,7 @@ > > if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then > PHP_ADD_LIBRARY_WITH_PATH(iconv, $ICONV_DIR/lib, ICONV_SHARED_LIBADD) > - AC_CHECK_LIB(iconv, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [ ])) > + AC_CHECK_LIB(iconv, libiconv_open, AC_DEFINE(HAVE_LIBICONV, 1, [ ])) > else > AC_CHECK_LIB(c, iconv_open, AC_DEFINE(HAVE_ICONV, 1, [ ])) > fi I changed this. > --- sablot/config.m4.orig Mon Jun 25 10:10:56 2001 > +++ sablot/config.m4 Mon Jun 25 10:10:22 2001 > @@ -49,7 +49,11 @@ > fi > > found_iconv=no > - AC_CHECK_LIB(c, iconv_open, found_iconv=yes) > + if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then > + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes) > + else > + AC_CHECK_LIB(c, iconv_open, found_iconv=yes) > + fi > if test "$found_iconv" = "no"; then > if test "$PHP_ICONV" = "no"; then > for i in /usr /usr/local; do > --- xslt/config.m4.orig Mon Jun 25 10:11:57 2001 > +++ xslt/config.m4 Mon Jun 25 10:13:13 2001 > @@ -65,7 +65,11 @@ > fi > > found_iconv=no > - AC_CHECK_LIB(c, iconv_open, found_iconv=yes) > + if test -e $ICONV_DIR/lib/libconv.a -o -e $ICONV_DIR/lib/libiconv.so ; then > + AC_CHECK_LIB(iconv, libiconv_open, found_iconv=yes) > + else > + AC_CHECK_LIB(c, iconv_open, found_iconv=yes) > + fi > if test "$found_iconv" = "no"; then > if test "$PHP_ICONV" = "no"; then > for i in /usr /usr/local; do > why would you need these two config.m4 to be changed ?? What errors do you get if you don't apply the patch? --Jani p.s. GD problem: Something is causing the configure to detect that you have freetype support in your gd-lib, but it doesn't have it.. >./.libs/libphp4.a(gd.o): In function `php_imagettftext_common': >/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748: undefined >refer >ence to `gdImageStringFT' >/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235/ext/gd/gd.c:2748: undefined >refer >ence to `gdImageStringFT' >collect2: ld returned 1 exit status >gmake[1]: *** [php] Error 1 >gmake[1]: Leaving directory >`/home/staffs/t/tom/work/php/php4-current/snap/php4-200108162235' >gmake: *** [all-recursive] Error 1 > >--- but i think that is a diff problem altoghether. you probably could >close this now. we can open a new one for gd :) >

« previous php.dev (#63497) next »