mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-23 15:19:27 +08:00
* libtoolize.m4sh (func_scan_files, func_serial, func_ltmain_update,
func_config_update, func_install_update): Placate AIX sed.
This commit is contained in:
parent
59031e0e9f
commit
2b9f371307
@ -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>
|
2005-04-19 David Edelsohn <dje@watson.ibm.com>
|
||||||
|
|
||||||
* config/ltmain.m4sh (func_mode_link): If command exceeds
|
* config/ltmain.m4sh (func_mode_link): If command exceeds
|
||||||
|
@ -462,7 +462,8 @@ func_scan_files ()
|
|||||||
# in `Makefile.am' for a `-I' argument.
|
# in `Makefile.am' for a `-I' argument.
|
||||||
|
|
||||||
my_sed_aclocal_flags='/^[[ ]]*ACLOCAL_[[A-Z_]]*FLAGS[[ ]]*=/ {
|
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
|
if test ! -n "$m4dir" && test -f Makefile.am; then
|
||||||
my_m4dir_is_next=false
|
my_m4dir_is_next=false
|
||||||
for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
|
for arg in `$SED "$my_sed_aclocal_flags" Makefile.am`; do
|
||||||
@ -514,7 +515,8 @@ func_serial ()
|
|||||||
my_macro_regex="$2"
|
my_macro_regex="$2"
|
||||||
my_sed_serial=['/^# serial [1-9][0-9.]*[ ]*'"$my_macro_regex"'[ ]*$/ {
|
my_sed_serial=['/^# serial [1-9][0-9.]*[ ]*'"$my_macro_regex"'[ ]*$/ {
|
||||||
s,^# serial \([1-9][0-9.]*\).*$,\1,; q;
|
s,^# serial \([1-9][0-9.]*\).*$,\1,; q;
|
||||||
}; d']
|
};
|
||||||
|
d']
|
||||||
|
|
||||||
# Search FILENAME and all the files it m4_includes for a serial number
|
# Search FILENAME and all the files it m4_includes for a serial number
|
||||||
# in the file that AC_DEFUNs MACRO_REGEX.
|
# in the file that AC_DEFUNs MACRO_REGEX.
|
||||||
@ -737,7 +739,8 @@ func_ltmain_update ()
|
|||||||
$opt_debug
|
$opt_debug
|
||||||
my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {
|
my_sed_ltmain=['/^package_revision='\''*[0-9][1-9.]*'\''*/ {
|
||||||
s,^package_revision='\''*\([0-9.]*\)'\''*[ ]*$,\1,; p;
|
s,^package_revision='\''*\([0-9.]*\)'\''*[ ]*$,\1,; p;
|
||||||
}; d']
|
};
|
||||||
|
d']
|
||||||
|
|
||||||
func_keyword_update "$1" "$2" "$3" "$my_sed_ltmain"
|
func_keyword_update "$1" "$2" "$3" "$my_sed_ltmain"
|
||||||
|
|
||||||
@ -754,7 +757,8 @@ func_config_update ()
|
|||||||
$opt_debug
|
$opt_debug
|
||||||
my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {
|
my_sed_config=['/^timestamp='\''*[0-9][1-9-]*'\''*/ {
|
||||||
s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;
|
s,^timestamp='\''*\([0-9-]*\)'\''*,\1,; s/-/./g; p;
|
||||||
}; d']
|
};
|
||||||
|
d']
|
||||||
|
|
||||||
func_keyword_update "$1" "$2" "$3" "$my_sed_config"
|
func_keyword_update "$1" "$2" "$3" "$my_sed_config"
|
||||||
|
|
||||||
@ -771,7 +775,8 @@ func_install_update ()
|
|||||||
$opt_debug
|
$opt_debug
|
||||||
my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
|
my_sed_install=['/^scriptversion='\''*[0-9][1-9.-]*'\''*/ {
|
||||||
s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;
|
s,^scriptversion='\''*\([0-9.-]*\)'\''*,\1,; s/-/./g; p;
|
||||||
}; d']
|
};
|
||||||
|
d']
|
||||||
|
|
||||||
func_keyword_update "$1" "$2" "$3" "$my_sed_install"
|
func_keyword_update "$1" "$2" "$3" "$my_sed_install"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user