buildconf problem; ext_skel patch
| From: | Sam Liddicott | Date: | Tue, 28 Nov 2000 16:10:59 +0000 |
| Subject: | buildconf problem; ext_skel patch | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39396@lists.php.net to get a copy of this message | ||
For some reason I can't post to this list from sam@ananova.com, nor
can I post to php-dev-help or php-dev-owner
I am writing my first php extension (!) to interface to the Muscat
libraries;
When I run ./buildconf I get:
rebuilding Makefile templates
rebuilding configure
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
***BUG in Autoconf--please report*** AC_PROVIDE_
nawk: input record ` EXTRA_LDFLAGS="-...' too long
input record number 41573, file /tmp/acout.28455
source line number 3
I managed to make this happen WITHOUT my new empty extension by
merely
touching the config.m4 file of the mysql extension.
I am running on solaris 2.7 with autoconf 2.13, and the latest non-
cvs php4 download
I note there are various acinclude.m4 files, and the top level
acinclude.m4
defines this macro.
But neither I (nor it seems at least the mysql maintainers) have
built into
their extensions what is required to include these files at the
start.
So.... beg beg, how do I do it?
I also enclose a patch to ext_skel which has missing quotes
around "$nohelp"
in two cases which stop it working on solaris /bin/sh
SAm