apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r733052 - in /apr/apr/trunk: build/ buildconf configure.in
Date Fri, 09 Jan 2009 14:51:43 GMT
Author: jorton
Date: Fri Jan  9 06:51:43 2009
New Revision: 733052

URL: http://svn.apache.org/viewvc?rev=733052&view=rev
Log:
Fix buildconf with libtool 2.2:

* buildconf: Use a different Extremely Ugly Hack to extract and copy
  the list of .m4 files needed directly from libtoolize.

* configure.in: Include more files which might be needed by libtool.

* build/: Ignore more.

Modified:
    apr/apr/trunk/build/   (props changed)
    apr/apr/trunk/buildconf
    apr/apr/trunk/configure.in

Propchange: apr/apr/trunk/build/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jan  9 06:51:43 2009
@@ -1,6 +1,5 @@
 Makefile
 libtool.m4
-ltsugar.m4
 ltconfig
 ltmain.sh
 ltcf-c.sh
@@ -15,3 +14,5 @@
 *.plg
 *.dep
 *.mak
+lt*.m4
+argz.m4

Modified: apr/apr/trunk/buildconf
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buildconf?rev=733052&r1=733051&r2=733052&view=diff
==============================================================================
--- apr/apr/trunk/buildconf (original)
+++ apr/apr/trunk/buildconf Fri Jan  9 06:51:43 2009
@@ -45,6 +45,14 @@
 
 if [ -f libtool.m4 ]; then 
    ltfile=`pwd`/libtool.m4
+elif grep all_pkgmacro_files $libtoolize > /dev/null; then
+    # libtool 2.x
+   aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}' < $libtoolize`
+   ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}' < $libtoolize`
+   for f in $ltfiles; do
+       test -f "$aclocal_dir/$f" && cp "$aclocal_dir/$f" build
+   done
+   ltfile=$aclocal_dir/libtool.m4
 else
    ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \
                    < $libtoolize`"

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=733052&r1=733051&r2=733052&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri Jan  9 06:51:43 2009
@@ -20,6 +20,10 @@
 sinclude(build/apr_hints.m4)
 sinclude(build/libtool.m4)
 sinclude(build/ltsugar.m4)
+sinclude(build/argz.m4)
+sinclude(build/ltoptions.m4)
+sinclude(build/ltversion.m4)
+sinclude(build/lt~obsolete.m4)
 
 dnl Hard-coded inclusion at the tail end of apr_private.h:
 AH_BOTTOM([



Mime
View raw message