* libtoolize.m4sh (func_scan_files, func_serial, func_ltmain_update,

func_config_update, func_install_update): Placate AIX sed.
This commit is contained in:
Ralf Wildenhues 2005-04-19 16:40:52 +00:00
parent 59031e0e9f
commit 2b9f371307
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libtoolize.m4sh (func_scan_files, func_serial, func_ltmain_update,
func_config_update, func_install_update): Placate AIX sed.
2005-04-19 David Edelsohn <dje@watson.ibm.com>
* config/ltmain.m4sh (func_mode_link): If command exceeds

View File

@ -462,7 +462,8 @@ func_scan_files ()
# 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 @@ func_serial ()
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 @@ func_ltmain_update ()
$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 @@ func_config_update ()
$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 @@ func_install_update ()
$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"