]> granicus.if.org Git - apache/commitdiff
change Apache/apr/apr-util to use run-time linking on AIX
authorJeff Trawick <trawick@apache.org>
Wed, 12 Dec 2001 19:39:55 +0000 (19:39 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 12 Dec 2001 19:39:55 +0000 (19:39 +0000)
currently, a kludge (-uXML_Parse) is needed to get a reference to expat
in the Apache executable programs; I think this is related to the fact
that expat libtool is getting generated a little differently than apr
libtool and is choosing to build a different flavor of shared library

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92435 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4
configure.in
support/Makefile.in

index 2057f2b441d22104b3146c55ee2628f9fa578d11..a40255ce37ec66e5ac3ea0d6d3bda0cb329cc38a 100644 (file)
@@ -70,6 +70,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
   APACHE_SUBST(LT_LDFLAGS)
   APACHE_SUBST(SH_LDFLAGS)
   APACHE_SUBST(HTTPD_LDFLAGS)
+  APACHE_SUBST(UTIL_LDFLAGS)
   APACHE_SUBST(LIBS)
   APACHE_SUBST(DEFS)
   APACHE_SUBST(INCLUDES)
index a6b2b6ba3dabbb869535cf4a125ed4a2a458730c..1cb32b5bd9ae96bff232fd64da4bd787c1321731 100644 (file)
@@ -275,13 +275,13 @@ if test "$apache_need_shared" = "yes"; then
   shared_build="shared-build"
 fi
 
-dnl enable_so tells is if *any* modules can be built as DSOs
+dnl enable_so tells us if *any* modules can be built as DSOs
 
 if test "$enable_so" = "yes"; then
   case $host in
     *-ibm-aix*)
-      HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-bE:$abs_builddir/server/httpd.exp"
-      SH_LDFLAGS="$SH_LDFLAGS -Wl,-bI:$abs_builddir/server/httpd.exp -Wl,-bI:$abs_builddir/srclib/apr/apr.exp -Wl,-bI:$abs_builddir/srclib/apr-util/aprutil.exp"
+      HTTPD_LDFLAGS="$HTTPD_LDFLAGS -Wl,-uXML_Parse -Wl,-bE:$abs_builddir/server/httpd.exp"
+      UTIL_LDFLAGS="$UTIL_LDFLAGS -Wl,-uXML_Parse"
       ;;
     *beos)
       SH_LDFLAGS='$(top_builddir)/_APP_'
index c6ea832d8725bc091f4d43108ead4b0f4b00b296..c3475bf1fa92b800af780d1a4bcdb655d1e0b955 100644 (file)
@@ -4,7 +4,7 @@ DISTCLEAN_TARGETS = apxs apachectl dbmmanage log_server_status \
 PROGRAMS = htpasswd htdigest rotatelogs logresolve ab checkgid
 TARGETS  = $(PROGRAMS)
 
-PROGRAM_LDADD        = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
+PROGRAM_LDADD        = $(EXTRA_LDFLAGS) $(UTIL_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
 PROGRAM_DEPENDENCIES = \
        $(top_builddir)/srclib/apr-util/libaprutil.la \
        $(top_builddir)/srclib/apr/libapr.la