diff -dur ncurses-5.3/configure ncurses-5.3-p/configure --- ncurses-5.3/configure 2002-09-22 02:49:14.000000000 +0200 +++ ncurses-5.3-p/configure 2004-11-04 19:10:01.187625096 +0100 @@ -1963,7 +1963,7 @@ if test "$GCC" = yes ; then echo "$as_me:1964: checking version of gcc" >&5 echo $ECHO_N "checking version of gcc... $ECHO_C" >&6 - GCC_VERSION="`${CC} --version|head -1`" + GCC_VERSION="`${CC} --version|head -n1`" echo "$as_me:1967: result: $GCC_VERSION" >&5 echo "${ECHO_T}$GCC_VERSION" >&6 fi @@ -2850,7 +2850,7 @@ if test "$GXX" = yes; then echo "$as_me:2851: checking version of g++" >&5 echo $ECHO_N "checking version of g++... $ECHO_C" >&6 - GXX_VERSION="`${CXX-g++} --version|head -1`" + GXX_VERSION="`${CXX-g++} --version|head -n1`" echo "$as_me:2854: result: $GXX_VERSION" >&5 echo "${ECHO_T}$GXX_VERSION" >&6 case $GXX_VERSION in Nur in ncurses-5.3-p/: configure~. diff -dur ncurses-5.3/configure.in ncurses-5.3-p/configure.in --- ncurses-5.3/configure.in 2002-09-15 02:11:28.000000000 +0200 +++ ncurses-5.3-p/configure.in 2004-11-04 19:09:52.302975768 +0100 @@ -83,7 +83,7 @@ GCC_VERSION=none if test "$GCC" = yes ; then AC_MSG_CHECKING(version of gcc) - GCC_VERSION="`${CC} --version|head -1`" + GCC_VERSION="`${CC} --version|head -n1`" AC_MSG_RESULT($GCC_VERSION) fi @@ -158,7 +158,7 @@ GXX_VERSION=none if test "$GXX" = yes; then AC_MSG_CHECKING(version of g++) - GXX_VERSION="`${CXX-g++} --version|head -1`" + GXX_VERSION="`${CXX-g++} --version|head -n1`" AC_MSG_RESULT($GXX_VERSION) case $GXX_VERSION in 1*|2.[[0-6]]*) Nur in ncurses-5.3-p/: configure.in~.