2 messages in org.apache.httpd.devRe: cvs commit: apache-1.3/src/suppor...
FromSent OnAttachments
Marc SlemkoApr 2, 2001 8:04 pm 
Sander TemmeApr 2, 2001 8:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: cvs commit: apache-1.3/src/support README ab.8 ab.cActions...
From:Sander Temme (scte@covalent.net)
Date:Apr 2, 2001 8:23:08 pm
List:org.apache.httpd.dev

on 4/2/01 8:05 PM, Marc Slemko at mar@znep.com wrote:

And what is the best way to add it in for ab? Right now, it doesn't compile on FreeBSD, etc.

Use this on the src/support/Makefile.tmpl:

--- Makefile.tmpl-dist Thu Dec 9 09:19:48 1999 +++ Makefile.tmpl Sun Mar 11 12:39:23 2001 @@ -1,6 +1,12 @@

-CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) -LIBS=-lap -los $(EXTRA_LIBS) $(LIBS1) +# SSL lines +# +#CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) -DUSE_SSL +#LIBS=-L/usr/local/ssl -lap -los $(EXTRA_LIBS) $(LIBS1) -lssl -lcrypto + + CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS) + LIBS=-lap -los $(EXTRA_LIBS) $(LIBS1) + INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES) LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS) -L$(OSDIR) -L$(SRCDIR)/ap

@@ -26,7 +32,7 @@ $(CC) $(CFLAGS) -o logresolve $(LDFLAGS) logresolve.o $(LIBS)

ab: ab.o - $(CC) $(CFLAGS) -o ab $(LDFLAGS) ab.o $(LIBS) + $(CC) $(CFLAGS) -o ab $(LDFLAGS) ab.o $(LIBS) -lm

apxs: apxs.pl sed <apxs.pl >apxs \

This should probably also go into CVS. I haven't looked into how this works in 2.0: there probably be autoconf checks for the functions and -lm is incantated as necessary.

S.

-- Covalent Technologies scte@covalent.net Engineering group Voice: (415) 536 5214 706 Mission St. Fax: (415) 536 5210 San Francisco CA 94103

PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03 5531 AFB1 96AF B584 0AB1