You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1999/09/12 13:57:12 UTC

Re: cvs commit: apache-2.0/src Makefile.tmpl

In article <19...@hyperreal.org> you wrote:

>   Build APR automatically.
>   
>   Revision  Changes    Path
>   1.7       +4 -1      apache-2.0/src/Makefile.tmpl
>   
>   Index: Makefile.tmpl
>   ===================================================================
>   RCS file: /export/home/cvs/apache-2.0/src/Makefile.tmpl,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- Makefile.tmpl	1999/09/10 16:06:53	1.6
>   +++ Makefile.tmpl	1999/09/11 20:42:19	1.7
>   @@ -28,7 +28,10 @@
>    	@echo "++ If not, you will at least have to touch '@@Configuration@@'."
>    	@false
>    
>   -$(TARGET): $(EXTRA_DEPS) $(SUBTARGET)
>   +apr:
>   +	cd lib/apr; make
>   +
>   +$(TARGET): apr $(EXTRA_DEPS) $(SUBTARGET)
>    
>    target_static: subdirs modules.o
>    	$(CC) -c $(INCLUDES) $(CFLAGS) buildmark.c

This is not needed AFAIK, because APR _IS_ built automatically because
src/lib/Makefile walks into src/lib/apr/. I've done it this way. Or is
something broken?
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Re: cvs commit: apache-2.0/src Makefile.tmpl

Posted by Ben Laurie <be...@algroup.co.uk>.
"Ralf S. Engelschall" wrote:
> 
> In article <19...@hyperreal.org> you wrote:
> 
> >   Build APR automatically.
> >
> >   Revision  Changes    Path
> >   1.7       +4 -1      apache-2.0/src/Makefile.tmpl
> >
> >   Index: Makefile.tmpl
> >   ===================================================================
> >   RCS file: /export/home/cvs/apache-2.0/src/Makefile.tmpl,v
> >   retrieving revision 1.6
> >   retrieving revision 1.7
> >   diff -u -r1.6 -r1.7
> >   --- Makefile.tmpl   1999/09/10 16:06:53     1.6
> >   +++ Makefile.tmpl   1999/09/11 20:42:19     1.7
> >   @@ -28,7 +28,10 @@
> >       @echo "++ If not, you will at least have to touch '@@Configuration@@'."
> >       @false
> >
> >   -$(TARGET): $(EXTRA_DEPS) $(SUBTARGET)
> >   +apr:
> >   +   cd lib/apr; make
> >   +
> >   +$(TARGET): apr $(EXTRA_DEPS) $(SUBTARGET)
> >
> >    target_static: subdirs modules.o
> >       $(CC) -c $(INCLUDES) $(CFLAGS) buildmark.c
> 
> This is not needed AFAIK, because APR _IS_ built automatically because
> src/lib/Makefile walks into src/lib/apr/. I've done it this way. Or is
> something broken?

Guess something was broken, because it wasn't being built. Possibly
because configure got deleted so Configure couldn't run it? Should
Configure run autoconf if available?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi