diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-04 22:37:44 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-04 22:37:44 +0200 |
commit | b8dc6fb23296b0a2e5b6dce34493e4c17df672e4 (patch) | |
tree | 9f09aa1e17368cb20fc1f3290f3f1da448eefbb7 | |
parent | dcba4438ee46d36273ca214d150a47970d14e6b7 (diff) | |
download | crosstool-ng-b8dc6fb23296b0a2e5b6dce34493e4c17df672e4.tar.gz crosstool-ng-b8dc6fb23296b0a2e5b6dce34493e4c17df672e4.tar.bz2 crosstool-ng-b8dc6fb23296b0a2e5b6dce34493e4c17df672e4.zip |
configure: portability fixes - take 2
It is useful to sometime run on a strictly POSIX-compliant
shell... :-/
And it is sometime interesting to refresh Q-patches before
finishing the series... :-(
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -477,7 +477,7 @@ static_link_ok="" case "${host}" in Darwin) ;; *) tmp=.static.tmp - if gcc -xc - -static -o "${tmp}" >/dev/null 2>&1<<-_EOF_ + if gcc -xc - -static -o "${tmp}" >/dev/null 2>&1 <<-_EOF_ int main() { return 0; } _EOF_ then @@ -500,7 +500,7 @@ add_to_kconfig_list static_link_ok # Library checks libs_exts="so dylib" if [ "${static_link_ok}" = "y" ]; then - libs_exts+=" a" + libs_exts="${libs_exts} a" fi ncurses_hdrs="ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h" |