libtool-patches
[Top][All Lists]
Advanced

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

HEAD: small fixes


From: Ralf Wildenhues
Subject: HEAD: small fixes
Date: Thu, 1 Sep 2005 15:09:36 +0200
User-agent: Mutt/1.4.1i

A couple of small issues:

a) On Solaris, `find' does not understand non-POSIX option `-path'.
I believe testing against "-name '{arch}'" should be safe, right?

b) aclocal-1.8 of standalone libltdl fails with
| aclocal: macro `_LT_PROG_CXX' required but not defined
| aclocal: macro `_LT_PROG_F77' required but not defined
| aclocal: macro `_LT_PROG_FC' required but not defined

The second patch should fix that, and in fact, might make it compatible
to aclocal-1.4 (at least it looks like that).  Does anybody know issues
which require more recent Automake for libltdl?

OK to apply them?

Cheers,
Ralf

        * bootstrap: Do not use nonportable -path.
        Reported by Ralf Menzel <address@hidden>.

Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.66
diff -u -r1.66 bootstrap
--- bootstrap   29 Aug 2005 13:58:07 -0000      1.66
+++ bootstrap   29 Aug 2005 15:57:08 -0000
@@ -63,7 +63,7 @@
 WARNING: `lt~obsolete.m4').  After that, retry this bootstrap.
 EOF
 
-rm -rf `find . -path './{arch}' -prune -o \( -name autom4te.cache -o -name 
libtool \) -print`
+rm -rf `find . -name '{arch}' -prune -o \( -name autom4te.cache -o -name 
libtool \) -print`
 
 # Delete stale files from previous libtool versions.
 rm -f acinclude.m4 libltdl/config.h



        * libltdl/m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77)
        (_LT_PROG_FC): aclocal-1.4 compatibility workaround.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.9
diff -u -r1.9 libtool.m4
--- libltdl/m4/libtool.m4       1 Sep 2005 11:41:26 -0000       1.9
+++ libltdl/m4/libtool.m4       1 Sep 2005 12:53:52 -0000
@@ -4886,6 +4886,8 @@
 popdef([AC_MSG_ERROR])
 ])# _LT_PROG_CXX
 
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([_LT_PROG_CXX], [])
 
 # _LT_LANG_CXX_CONFIG([TAG])
 # --------------------------
@@ -6053,6 +6055,8 @@
 popdef([AC_MSG_ERROR])
 ])# _LT_PROG_F77
 
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([_LT_PROG_F77], [])
 
 # _LT_LANG_F77_CONFIG([TAG])
 # --------------------------
@@ -6186,6 +6190,8 @@
 popdef([AC_MSG_ERROR])
 ])# _LT_PROG_FC
 
+dnl aclocal-1.4 backwards compatibility:
+dnl AC_DEFUN([_LT_PROG_FC], [])
 
 # _LT_LANG_FC_CONFIG([TAG])
 # --------------------------




reply via email to

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