libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch 11/19] 295-gary-dont-force-ac-config-headers-on-subproject-ltdl.d


From: Gary V. Vaughan
Subject: [patch 11/19] 295-gary-dont-force-ac-config-headers-on-subproject-ltdl.diff Queue
Date: Mon, 10 Oct 2005 11:26:35 +0100
User-agent: quilt/0.42-1

 libltdl/m4/ltdl.m4    |   12 ++++++++----
 tests/old-m4-iface.at |    1 -
 2 files changed, 8 insertions(+), 5 deletions(-)

Index: libtool--devo--1.0/ChangeLog
from  Gary V. Vaughan  <address@hidden>
        * libltdl/m4/ltdl.m4 (LTDL_INIT): Don't force running
        AC_CONFIG_HEADERS for subproject ltdl.
        * tests/old-m4-iface.at: Remove workaround.

Index: libtool--devo--1.0/libltdl/m4/ltdl.m4
===================================================================
--- libtool--devo--1.0.orig/libltdl/m4/ltdl.m4
+++ libtool--devo--1.0/libltdl/m4/ltdl.m4
@@ -274,10 +274,14 @@ _LTDL_MODE_DISPATCH
 AC_CONFIG_COMMANDS_PRE([dnl
 m4_pattern_allow([^LT_CONFIG_H$])dnl
 m4_ifset([AH_HEADER],
-        [LT_CONFIG_H=AH_HEADER],
-        [m4_ifset([AC_LIST_HEADERS],
-                  [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      
]]*,,;s,[[ :]].*$,,'`],
-                  [LT_CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])])])
+    [LT_CONFIG_H=AH_HEADER],
+    [m4_ifset([AC_LIST_HEADERS],
+           [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      ]]*,,;s,[[ 
:]].*$,,'`],
+       [LT_CONFIG_H=config.h
+       dnl subproject mode libltdl has its own config.h...
+       m4_if(_LTDL_MODE, [subproject],
+               [],
+           [AC_CONFIG_HEADERS([config.h])])])])])
 AC_SUBST([LT_CONFIG_H])
 
 AC_CHECK_HEADERS([memory.h unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h],
Index: libtool--devo--1.0/tests/old-m4-iface.at
===================================================================
--- libtool--devo--1.0.orig/tests/old-m4-iface.at
+++ libtool--devo--1.0/tests/old-m4-iface.at
@@ -182,7 +182,6 @@ foo (const char *str)
 }
 ]])
 
-touch config.h.in  # bug in current ltdl.m4
 LT_AT_LIBTOOLIZE([--ltdl --install])
 LT_AT_ACLOCAL([-I libltdl/m4])
 LT_AT_AUTOCONF([--force])

--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook




reply via email to

[Prev in Thread] Current Thread [Next in Thread]