You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Bojan Smojver <bo...@rexursive.com> on 2004/06/20 08:44:16 UTC
apreq2-config suggestion
Here is a suggestion to make apreq2-config build and install properly.
In configure.ac, you can remove the chmod bit, i.e. the line can be:
AC_CONFIG_FILES([apreq2-config])
Nobody should run apreq2-config from that directory anyway. Then, in
Makefile.am, you can have:
bin_SCRIPTS = apreq2-config
CLEANFILES = $(bin_SCRIPTS)
apreq2-config: apreq2-config.in
It should make sure apreq2-config is built when the .in file is changed
and that it gets installed/cleaned properly. Just my $0.02 (Aussie).
--
Bojan
Re: apreq2-config suggestion
Posted by Bojan Smojver <bo...@rexursive.com>.
On Mon, 2004-06-21 at 02:30, Joe Schaefer wrote:
> > Nobody should run apreq2-config from that directory anyway.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I'm not convinced of this since apr-config is also
> executable within its srcdir. I think it's intended to
> be useful for building other projects from apr source
> (instead of requiring libapr be installed first). We should
> certainly try to emulate that in apreq2-config (if possible).
When you put it that way, it makes sense. I completely forgot the
possibility of something like that.
--
Bojan
Re: apreq2-config suggestion
Posted by Joe Schaefer <jo...@sunstarsys.com>.
Bojan Smojver <bo...@rexursive.com> writes:
> Here is a suggestion to make apreq2-config build and install properly.
> In configure.ac, you can remove the chmod bit, i.e. the line can be:
>
> AC_CONFIG_FILES([apreq2-config])
>
> Nobody should run apreq2-config from that directory anyway.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm not convinced of this since apr-config is also
executable within its srcdir. I think it's intended to
be useful for building other projects from apr source
(instead of requiring libapr be installed first). We should
certainly try to emulate that in apreq2-config (if possible).
> Then, in Makefile.am, you can have:
>
> bin_SCRIPTS = apreq2-config
> CLEANFILES = $(bin_SCRIPTS)
> apreq2-config: apreq2-config.in
>
> It should make sure apreq2-config is built when the .in file is
> changed and that it gets installed/cleaned properly. Just my $0.02
> (Aussie).
Looks good to me.
--
Joe Schaefer