httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r730881 - in /httpd/httpd/trunk: configure.in support/Makefile.in
Date Sat, 03 Jan 2009 00:58:12 GMT
Author: rjung
Date: Fri Jan  2 16:58:11 2009
New Revision: 730881

URL: http://svn.apache.org/viewvc?rev=730881&view=rev
Log:
We need to link only ab against libm (because of
sqrt()).

Modified:
    httpd/httpd/trunk/configure.in
    httpd/httpd/trunk/support/Makefile.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=730881&r1=730880&r2=730881&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Fri Jan  2 16:58:11 2009
@@ -390,7 +390,13 @@
 AC_C_CONST
 
 dnl ## Check for library functions
+dnl ## sqrt() only needed in support/ab.c
+saved_LIBS="$LIBS"
+LIBS=""
 AC_SEARCH_LIBS(sqrt, m)
+MATH_LIBS="$LIBS"
+APACHE_SUBST(MATH_LIBS)
+LIBS="$saved_LIBS"
 
 dnl See Comment #Spoon
 

Modified: httpd/httpd/trunk/support/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/Makefile.in?rev=730881&r1=730880&r2=730881&view=diff
==============================================================================
--- httpd/httpd/trunk/support/Makefile.in (original)
+++ httpd/httpd/trunk/support/Makefile.in Fri Jan  2 16:58:11 2009
@@ -50,7 +50,7 @@
 	$(LINK) $(htdbm_LTFLAGS) $(htdbm_OBJECTS) $(PROGRAM_LDADD)
 
 ab_OBJECTS = ab.lo
-ab_LDADD = $(PROGRAM_LDADD) $(SSL_LIBS)
+ab_LDADD = $(PROGRAM_LDADD) $(SSL_LIBS) $(MATH_LIBS)
 ab: $(ab_OBJECTS)
 	$(LINK) $(ab_LTFLAGS) $(ab_OBJECTS) $(ab_LDADD)
 



Mime
View raw message