Em Dom, 2008-07-27 às 17:17 +0300, Jani Taskinen escreveu: > Felipe Pena kirjoitti: > > Em Dom, 2008-07-27 às 17:05 +0300, Jani Taskinen escreveu: > >> David Soria Parra kirjoitti: > >>>> -dnl Only allow AC_PROG_CXX if it's explicitly called (by > >>>> PHP_REQUIRE_CXX) > >>>> -dnl otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler > >>>> -AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [AC_PROG_CXX], > >>>> [undefine([AC_PROG_CXX]) > >>>> -AC_DEFUN([AC_PROG_CXX], [])]) > >>>> +dnl Only allow AC_PROG_CXX and AC_PROG_CXXCPP if they are explicitly > >>>> called (by PHP_REQUIRE_CXX). > >>>> +dnl Otherwise AC_PROG_LIBTOOL fails if there is no working C++ compiler. > >>>> +AC_PROVIDE_IFELSE([PHP_REQUIRE_CXX], [], [ > >>>> + undefine([AC_PROG_CXX]) > >>>> + AC_DEFUN([AC_PROG_CXX], []) > >>>> + undefine([AC_PROG_CXXCPP]) > >>>> + AC_DEFUN([AC_PROG_CXXCPP], []) > >>>> +]) > >>>> AC_PROG_LIBTOOL > >>> This causes a syntax error in configure after doing a buildconf. > >> Works fine for me and Tony. Make sure you really have latest CVS without > >> any > >> local changes. :) > >> > >> Without any more information about your system I have to say: Bogus. > > > > I can reproduce with latest CVS. > > > > Configuring libtool > > checking build system type... i686-pc-linux-gnu > > checking for ld used by /home/felipe/php5_2/meta_ccld... /usr/bin/ld > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > checking for /usr/bin/ld option to reload object files... -r > > checking for BSD-compatible nm... /usr/bin/nm -B > > checking how to recognise dependent libraries... pass_all > > checking for object suffix... o > > checking for executable suffix... no > > /configure: 108149: Syntax error: "fi" unexpected > > It helps a lot when you people tell what branch you tried with.. > I'm guessing this is about PHP_5_2 now? > Yeah, exactly.
> --Jani -- Regards, Felipe Pena. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php