configure: portability fixes - take 2
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 04 22:37:44 2011 +0200 (2011-07-04)
changeset 253406163d8f6474
parent 2533 737e57d56ddf
child 2535 e9e8cafaf412
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>
configure
     1.1 --- a/configure	Mon Jul 04 22:21:25 2011 +0200
     1.2 +++ b/configure	Mon Jul 04 22:37:44 2011 +0200
     1.3 @@ -477,7 +477,7 @@
     1.4  case "${host}" in
     1.5      Darwin) ;;
     1.6      *)  tmp=.static.tmp
     1.7 -        if gcc -xc - -static -o "${tmp}" >/dev/null 2>&1<<-_EOF_
     1.8 +        if gcc -xc - -static -o "${tmp}" >/dev/null 2>&1 <<-_EOF_
     1.9  				int main() { return 0; }
    1.10  			_EOF_
    1.11          then
    1.12 @@ -500,7 +500,7 @@
    1.13  # Library checks
    1.14  libs_exts="so dylib"
    1.15  if [ "${static_link_ok}" = "y" ]; then
    1.16 -    libs_exts+=" a"
    1.17 +    libs_exts="${libs_exts} a"
    1.18  fi
    1.19  
    1.20  ncurses_hdrs="ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h"