# HG changeset patch # User "Yann E. MORIN" # Date 1309811864 -7200 # Node ID 06163d8f6474583d3a0dbce14e9b3d6746b320fe # Parent 737e57d56ddf5051213f01bcbac9e399313118f7 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" diff -r 737e57d56ddf -r 06163d8f6474 configure --- a/configure Mon Jul 04 22:21:25 2011 +0200 +++ b/configure Mon Jul 04 22:37:44 2011 +0200 @@ -477,7 +477,7 @@ 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 @@ # 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"