Re: [PHP4BETA] CVS update: php4
| From: | Stig Sæther Bakken | Date: | Tue, 20 Apr 1999 00:00:43 +0000 |
| Subject: | Re: [PHP4BETA] CVS update: php4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-194@lists.php.net to get a copy of this message | ||
buildconf is for making it easier to build php4, and since php4 depends
on libzend I don't see any reason to split it up, at least not for the
time being. I can put a "libzend only" version of buildconf in libzend
though.
Using automake makes it a lot easier to maintain makefiles (if they fit
into automake's somewhat limited world at least). I converted libzend
to give it have the same maintainer targets and dependencies as php4 is
in the process of getting.
Note that php4 and libzend currently require GNU make by default.
Non-GNU make will display the error message Karl Pielorz reported, to
avoid this, run "automake --include-deps". This will be done when
building distributions, so GNU make will not be required for
non-maintainers.
- Stig
Zeev Suraski wrote:
>
> Could you please split libzend's rules to a different buildconf? One of
> the ideas of having it separate was so it can be reused in other packages
> (futuristic stuff for now, but still :)
>
> By the way, what does zend gain from using automake?
>
> Zeev
>
> At 20:11 19/04/99 -0000, ssb wrote:
> >Date: Monday April 19, 1999 @ 16:11
> >Author: ssb
> >
> >Update of /repository/php4
> >In directory php:/tmp/cvs-serv26780
> >
> >Modified Files:
> > buildconf
> >Log Message:
> >convert libzend to automake
> >Index: php4/buildconf
> >diff -u php4/buildconf:1.3 php4/buildconf:1.4
> >--- php4/buildconf:1.3 Mon Apr 19 09:58:54 1999
> >+++ php4/buildconf Mon Apr 19 16:11:50 1999
> >@@ -1,13 +1,6 @@
> > #!/bin/sh
> >
> >-mv configure.in configure.in.old 2>/dev/null
> > ./scripts/preconfig
> >-if cmp configure.in.old configure.in > /dev/null 2>&1; then
> >- echo keeping configure.in
> >- mv configure.in.old configure.in
> >-else
> >- echo created or modified configure.in
> >-fi
> >
> > if test -f mkinstalldirs; then
> > automake
> >@@ -34,6 +27,22 @@
> > fi
> >
> > cd libzend
> >+
> >+if test -f mkinstalldirs; then
> >+ automake
> >+else
> >+ automake --add-missing
> >+fi
> >+
> >+mv aclocal.m4 aclocal.m4.old 2>/dev/null
> >+aclocal
> >+if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then
> >+ echo keeping libzend/aclocal.m4
> >+ mv aclocal.m4.old aclocal.m4
> >+else
> >+ echo created or modified libzend/aclocal.m4
> >+fi
> >+
> > mv configure configure.old 2>/dev/null
> > autoconf
> > if cmp configure.old configure > /dev/null 2>&1; then
> >@@ -42,4 +51,3 @@
> > else
> > echo created or modified libzend/configure
> > fi
> >-
> >
> >--
> >PHP 4 Beta
> >
> >
> >
> --
> Zeev Suraski <zeev@zend.com> http://www.zend.com/
> For a PGP public key, finger bourbon@netvision.net.il
>
> --
> PHP 4 Beta
--
PHP 4 Beta