configure errors

[email protected] (Daniel Adams) Mon, 13 Aug 2001 13:01:49 -0400 (EDT)
Newsgroups php.gtk
Message-ID <[email protected]>
Okay.  When I run buildconf for phpgtk 0.1 I get this:

[root@studio2 php-gtk-0.1]# ./buildconf
aclocal: macro `AC_ADD_LIBPATH' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_LIBRARY_WITH_PATH' defined in acinclude.m4 but
never used
aclocal: macro `AC_ADD_LIBRARY' defined in acinclude.m4 but never used
aclocal: macro `AC_ADD_INCLUDE' defined in acinclude.m4 but never used
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_LANG_PUSH
***BUG in Autoconf--please report*** AC_LANG_POP
***BUG in Autoconf--please report*** AC_LANG_PUSH
***BUG in Autoconf--please report*** AC_MSG_NOTICE
***BUG in Autoconf--please report*** AC_LANG_POP
***BUG in Autoconf--please report*** AC_LANG_PUSH
***BUG in Autoconf--please report*** AC_LANG_POP
You should update your `aclocal.m4' by running aclocal.

and when i run ./configure --prefix=/usr/local i get this:

creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/Zend
-I/usr/local/include/php/TSRMchecking for PHP extension directory...
/usr/local/lib/php/extensions/no-debug-non-zts-20001222
checking for PHP-GTK support... yes, shared
checking for gawk... gawk
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.6... yes
checking for libglade support... yes
checking for libglade-config... /usr/bin/libglade-config
checking for libglade... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /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 whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
./configure: line 3195: syntax error near unexpected token
`AC_LANG_PUSH(C)'
./configure: line 3195: `  AC_LANG_PUSH(C)'


Anyone know why this is? The same error has kept me from being able to
build the php cvs source.  I'm running redhat 7.1 with autoconf 1.3. Thans
in advanced.
	- Dan

--