* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does

not understand \t in regex.
Reported by Tim Van Holder <tim.vanholder@gmail.com>.
This commit is contained in:
Ralf Wildenhues 2005-04-27 11:51:50 +00:00
parent b0a5dfec5f
commit 5264845f3a
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2005-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2005-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does
not understand \t in regex.
Reported by Tim Van Holder <tim.vanholder@gmail.com>.
* tests/defs.m4sh (func_configure): Don't run the whole configure * tests/defs.m4sh (func_configure): Don't run the whole configure
script with -x. script with -x.

2
m4/libtool.m4 vendored
View File

@ -2037,7 +2037,7 @@ linux*)
# Append ld.so.conf contents to the search path # Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
fi fi