--- httpd-2.2.14/srclib/apr-util/xml/expat/buildconf.sh
+++ httpd-2.2.14/srclib/apr-util/xml/expat/buildconf.sh
@@ -32,22 +32,27 @@
 #
 if [ -f libtool.m4 ]; then
   ltfile=libtool.m4
+  acfile=.
 else
   ltpath=`dirname $libtoolize`
   ltfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`/libtool.m4}
+  acfile=${LIBTOOL_M4-`cd $ltpath/../share/aclocal ; pwd`}
 fi
 echo "Incorporating $ltfile into aclocal.m4 ..."
 echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh" > aclocal.m4
 echo "dnl edits here will be lost" >> aclocal.m4
 cat $ltfile >> aclocal.m4
 
-if [ -f ltsugar.m4 ]; then
-  echo "Incorporating ltsugar.m4 into aclocal.m4 ..."
-  cat ltsugar.m4 >> aclocal.m4
-fi
+for i in lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
+do
+  if [ -f "${acfile}/${i}" ]; then
+    echo "Incorporating ${acfile}/${i} into aclocal.m4 ..."
+    cat "${acfile}/${i}" >> aclocal.m4
+  fi
+done
 
 # Clean up again
-rm -f libtool.m4 ltsugar.m4
+rm -f libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
 
 cross_compile_warning="warning: AC_TRY_RUN called without default to allow cross compiling"
