Can we find some other way of accomplishing the following?  libm
doesn't exist on beos and so this breaks the build, and additionally it
doesn't feel right to simply impose a library like this.  maybe logic
could be added to add it to EXTRA_LIBS instead if it's needed?  That
would seem to be the correct way of doing it...

david

diff -u -r1.31 -r1.32
--- apache-1.3/src/support/Makefile.tmpl        1999/12/09 17:19:48
1.31
+++ apache-1.3/src/support/Makefile.tmpl        2001/04/04 19:15:21
1.32
@@ -1,6 +1,14 @@

+# To compile the (experimental) SSL support into 'ab' use
+# something like:
+#
+# SSLLOC=/usr/local
+# CFLAGS=-DUSE_SSL $(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
+# LIBS=-L$(SSLLOC)/lib -lssl -lcrypto -lm -lap -los $(EXTRA_LIBS)
$(LIBS1)
+# INCLUDES=-I$(SSLLOC)/include $(INCLUDES1) $(INCLUDES0)
$(EXTRA_INCLUDES)
+
 CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
-LIBS=-lap -los $(EXTRA_LIBS) $(LIBS1)
+LIBS=-lm -lap -los $(EXTRA_LIBS) $(LIBS1)
 INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
 LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS) -L$(OSDIR) -L$(SRCDIR)/ap


Reply via email to