libtool-patches
[Top][All Lists]
Advanced

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

Re: FYI: subproject.at distcheck failure


From: Gary V. Vaughan
Subject: Re: FYI: subproject.at distcheck failure
Date: Wed, 12 Oct 2005 16:21:22 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20050305)

Hallo Ralf (and other random libtool patch reviewers ;-)),

After more testing, and an adjustment to libtoolize.at to compensate
for the slight change in output, okay to apply?

Gary V. Vaughan wrote:
You've uncovered a nice bug here.  Fix below...

Except that now libtoolize will need to handle populating the config
directory properly, rather than relying on autoreconf to pick up the
slack.  The immediate problem with these tests is that automake looks
at configure.ac instead of sub/ltdl/configure.ac, and decides that
it doesn't need to create sub/ltdl/config/compile, so the build in
sub/ltdl fails.

 libtoolize.m4sh     |   28 ++++++++++++++--------------
 tests/libtoolize.at |    7 ++++++-
 2 files changed, 20 insertions(+), 15 deletions(-)

Index: libtool--devo--1.0/ChangeLog
from  Gary V. Vaughan  <address@hidden>
        * libtoolize.m4sh: Always copy pkgconfig_files for --ltdl, incase
        ltdl needs additional things not found by automake when looking at
        the parent project configury.
        * tests/libtoolize.at: Adjust.
Index: libtool--devo--1.0/libtoolize.m4sh
===================================================================
--- libtool--devo--1.0.orig/libtoolize.m4sh
+++ libtool--devo--1.0/libtoolize.m4sh
@@ -956,26 +956,26 @@ func_nonemptydir_p ()
         "$aclocaldir" "$ltdldir/m4"
     fi

-    # Unless we share CONFIG_AUX_DIR with our parent project,
-    # copy config aux files into libltdl.
-    if test "$ltdldir/config" != "$auxdir"; then
-      func_copy_some_files "$pkgconfig_files" "$pkgdatadir" "$ltdldir"
-    fi
+    # Copy config aux files into libltdl.
+    func_copy_some_files "$pkgconfig_files" "$pkgdatadir" "$ltdldir"
   fi

-  # If they are newer, copy all the installed utility files to the
+  # Unless we share CONFIG_AUX_DIR with the libltdl subproject, then
+  # if they are newer, copy all the installed utility files to the
   # auxiliary directory if `--install' was passed, or else copy just
   # ltmain.sh.
   if test -n "$auxdir"; then
-    $opt_quiet || if test "$auxdir" != .; then
-      func_echo "putting files in AC_CONFIG_AUX_DIR, \`$auxdir'."
-    fi
-    if $opt_install; then
-      func_config_update config.guess "$pkgdatadir/config" "$auxdir"
-      func_config_update config.sub   "$pkgdatadir/config" "$auxdir"
-      func_install_update install-sh  "$pkgdatadir/config" "$auxdir"
+    if test "$ltdldir/config" != "$auxdir"; then
+      $opt_quiet || if test "$auxdir" != .; then
+        func_echo "putting files in AC_CONFIG_AUX_DIR, \`$auxdir'."
+      fi
+      if $opt_install; then
+        func_config_update config.guess "$pkgdatadir/config" "$auxdir"
+        func_config_update config.sub   "$pkgdatadir/config" "$auxdir"
+        func_install_update install-sh  "$pkgdatadir/config" "$auxdir"
+      fi
+      func_ltmain_update ltmain.sh "$pkgdatadir/config" "$auxdir"
     fi
-    func_ltmain_update ltmain.sh "$pkgdatadir/config" "$auxdir"
   else
     func_verbose "AC_CONFIG_AUX_DIR not defined, not copying libtool auxilliary 
files."
   fi
Index: libtool--devo--1.0/tests/libtoolize.at
===================================================================
--- libtool--devo--1.0.orig/tests/libtoolize.at
+++ libtool--devo--1.0/tests/libtoolize.at
@@ -331,7 +331,12 @@ libtoolize: linking file `ltdl/lt_error.
 libtoolize: linking file `ltdl/ltdl.c'
 libtoolize: linking file `ltdl/ltdl.h'
 libtoolize: linking file `ltdl/slist.c'
-libtoolize: putting files in AC_CONFIG_AUX_DIR, `ltdl/config'.
+libtoolize: linking file `ltdl/config/compile'
+libtoolize: linking file `ltdl/config/config.guess'
+libtoolize: linking file `ltdl/config/config.sub'
+libtoolize: linking file `ltdl/config/depcomp'
+libtoolize: linking file `ltdl/config/install-sh'
+libtoolize: linking file `ltdl/config/missing'
 libtoolize: linking file `ltdl/config/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `ltdl/m4'.
 libtoolize: linking file `ltdl/m4/libtool.m4'

Cheers,
        Gary.
--
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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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