Ignore:
Timestamp:
May 15, 2015, 1:10:43 AM (3 years ago)
Author:
larryv@…
Message:

autoconf: Test against our GNU Libtool

Autoconf's test assumes "libtool" is GNU Libtool, but on MacPorts
systems, it should look for "glibtool". ("libtool" is from Apple's
cctools.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/autoconf/files/use-macports-tools.patch

    r132521 r136325  
    4040 The full documentation for
    4141 .B autoreconf
     42Index: tests/foreign.at
     43===================================================================
     44--- tests/foreign.at.orig
     45+++ tests/foreign.at
     46@@ -25,12 +25,12 @@ AT_BANNER([Compatibility with other tool
     47 AT_SETUP([Libtool])
     48 
     49 # Skip this test if there is no libtoolize.
     50-AT_CHECK([libtoolize --version || exit 77],
     51+AT_CHECK([glibtoolize --version || exit 77],
     52         [ignore], [ignore], [ignore])
     53 # Modern Libtool has further tests for compatibility with older autoconf;
     54 # from the Autoconf side, we will merely assume newer libtool.
     55 AT_CHECK([[
     56-case `libtoolize --version |
     57+case `glibtoolize --version |
     58       sed -n '/^.* \([0-9][0-9.a-z]*\)$/{
     59                s//\1/
     60                p
     61@@ -49,7 +49,7 @@ AT_DATA([configure.ac],
     62 AC_CONFIG_AUX_DIR([.])
     63 AC_PROG_LIBTOOL
     64 ]])
     65-AT_CHECK([libtoolize -i], [0], [stdout], [ignore])
     66+AT_CHECK([glibtoolize -i], [0], [stdout], [ignore])
     67 
     68 # Some broken libtoolize fail to install a functional config.guess.
     69 AT_CHECK([./config.guess || exit 77], [], [ignore], [ignore])
Note: See TracChangeset for help on using the changeset viewer.