You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Oden Eriksson <od...@kvikkjokk.net> on 2002/09/27 11:26:36 UTC

apu-config

(this mail was also sent to the apr list)

I'm maintaining the apache2 packages for Mandrake Linux, and wonder if I could 
ask som questions here?

I noticed that the apr* stuff now uses the config.layout, nice!

But..., currently the generated apu-config file does not honor the LIBNAME.

apr-config --includes --ldflags --libs --link-ld
 -I/usr/include/apache   -lm -lcrypt -lnsl  -ldl -L/usr/lib -lapr-0

apu-config --includes --ldflags --libs --link-ld
 -I/usr/include/apache  -L/usr/lib -lgdbm -ldb -lexpat -L/usr/lib -laprutil


It seems this patch takes care of that:

[root@cooker httpd-2.0.42]# diff -u srclib/apr-util/apu-config.in 
srclib/apr-util/apu-config.in.oden
--- srclib/apr-util/apu-config.in       2002-09-10 12:10:50.000000000 +0200
+++ srclib/apr-util/apu-config.in.oden  2002-09-27 11:13:05.000000000 +0200
@@ -68,7 +68,7 @@
 INCLUDES="@APRUTIL_INCLUDES@"
 LDFLAGS="@APRUTIL_LDFLAGS@"

-APRUTIL_LIBNAME="lib@APRUTIL_LIBNAME@.la"
+APRUTIL_LIBNAME="@APRUTIL_LIBNAME@"

 APU_SOURCE_DIR="@top_srcdir@"
 APU_BUILD_DIR="@top_builddir@"

Chears.
-- 
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com