# HG changeset patch # User arpi # Date 1043595731 0 # Node ID 971ed787054f4a7e2dadc03e9b8d1c224c23c174 # Parent 905a741d5dd614d4f63d52bed1f2323e2a4548a0 fixed ./configure --cc="ccache gcc" diff -r 905a741d5dd6 -r 971ed787054f configure --- a/configure Sun Jan 26 14:47:15 2003 +0000 +++ b/configure Sun Jan 26 15:42:11 2003 +0000 @@ -31,7 +31,7 @@ echo >> "$TMPLOG" echo "$_cc $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG" rm -f "$TMPO" - ( "$_cc" $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 + ( $_cc $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1 TMP="$?" echo >> "$TMPLOG" echo "ldd $TMPO" >> "$TMPLOG" @@ -442,7 +442,7 @@ # Checking CC version... if test "$_skip_cc_check" != yes ; then - for _cc in $_cc gcc-3.1 gcc3 gcc-3.0 cc ; do + for _cc in "$_cc" gcc-3.1 gcc3 gcc-3.0 cc ; do echocheck "$_cc version" cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` cc_version=`( $_cc -dumpversion ) 2>&1` @@ -3819,7 +3819,7 @@ EOF echo "------------------------------------------------" >> "$TMPLOG" cat "$TMPCPP" >> "$TMPLOG" - if ( "$_cc" "$TMPCPP" -o "$TMPO" && "$TMPO" ) >> "$TMPLOG" 2>&1 ; then + if ( $_cc "$TMPCPP" -o "$TMPO" && "$TMPO" ) >> "$TMPLOG" 2>&1 ; then _dshow=yes echores "yes (C++ is ok)" else