libtool-patches
[Top][All Lists]
Advanced

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

FYI: Fix libtoolize.m4sh for AIX sed


From: Ralf Wildenhues
Subject: FYI: Fix libtoolize.m4sh for AIX sed
Date: Tue, 19 Apr 2005 18:38:46 +0200
User-agent: Mutt/1.4.1i

Applied to HEAD and branch-2-0.  For details see
  info Autoconf 'Limitations of Usual Tools'
(AIX sed does not like  "{ ... }; d").

Regards,
Ralf

2005-04-19  Ralf Wildenhues  <address@hidden>

        * libtoolize.m4sh (func_scan_files, func_serial, func_ltmain_update,
        func_config_update, func_install_update): Placate AIX sed.

Index: libtoolize.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libtoolize.m4sh,v
retrieving revision 1.27
diff -u -r1.27 libtoolize.m4sh
--- libtoolize.m4sh     17 Apr 2005 06:50:25 -0000      1.27
+++ libtoolize.m4sh     19 Apr 2005 16:39:27 -0000
@@ -462,7 +462,8 @@
     # in `Makefile.am' for a `-I' argument.
 
     my_sed_aclocal_flags='/^[[         ]]*ACLOCAL_[[A-Z_]]*FLAGS[[     ]]*=/ {
-       s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; }; d'
+       s,^[[^=]]*=[[   ]]*\(.*\), \1,; q; };
+       d'
     if test ! -n "$m4dir" && test -f Makefile.am; then
       my_m4dir_is_next=false
       for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
@@ -514,7 +515,8 @@
     my_macro_regex="$2"
     my_sed_serial=['/^# serial [1-9][0-9.]*[   ]*'"$my_macro_regex"'[  ]*$/ {
          s,^# serial \([1-9][0-9.]*\).*$,\1,; q;
-       }; d']
+       };
+       d']
 
     # Search FILENAME and all the files it m4_includes for a serial number
     # in the file that AC_DEFUNs MACRO_REGEX.
@@ -737,7 +739,8 @@
     $opt_debug
     my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {
       s,^package_revision='\''*\([0-9.]*\)'\''*[       ]*$,\1,; p;
-    }; d']
+    };
+    d']
 
     func_keyword_update "$1" "$2" "$3" "$my_sed_ltmain"
 
@@ -754,7 +757,8 @@
     $opt_debug
     my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {
       s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;
-    }; d']
+    };
+    d']
 
     func_keyword_update "$1" "$2" "$3" "$my_sed_config"
 
@@ -771,7 +775,8 @@
     $opt_debug
     my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
       s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;
-    }; d']
+    };
+    d']
 
     func_keyword_update "$1" "$2" "$3" "$my_sed_install"
 




reply via email to

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