Re: [PHP4BETA] cvs: /php4/ext/xml Makefile.am
| From: | Sascha Schumann | Date: | Sat, 24 Jul 1999 01:34:01 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/ext/xml Makefile.am | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2663@lists.php.net to get a copy of this message | ||
On Sat, Jul 24, 1999 at 03:31:07AM +0200, Stig Bakken wrote:
> On Sat, 24 Jul 1999, Sascha Schumann wrote:
>
> > > The reason I didn't put it into INCLUDES was that I wanted to start
> > > isolating each extensions compiler options to the extension's own
> > > Makefile.
> >
> > That would effectively reverse the process of using the AC_ADD_*
> > macros. Isolating might be necessary, if you plan to distribute
> > packages seperately.
>
> What about giving AC_ADD_* an extra parameter that is the variable to use
> instead of INCLUDES. Something like this could be used:
>
> if test "x$2" = "x"; then
> INCLUDES="$INCLUDES -I$ai_p"
> else
> eval "$2='\$$2 -I$ai_p'"
> fi
Sure, looks like an useful extension.
--
Regards,
Sascha Schumann
Consultant