diff -r 3b058d7049bf -r 06163d8f6474 configure --- a/configure Tue Jun 28 00:52:33 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"