summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-26 15:42:11 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-26 15:42:11 +0000
commit37ef545797b65112cbf20a1f3adfa34da96b6e42 (patch)
treeccf7377240a22c6705280192c9ae963c3e1ada2c /configure
parent36ce394bb501ee2de8353c2745a9113e90acaefe (diff)
downloadmpv-37ef545797b65112cbf20a1f3adfa34da96b6e42.tar.bz2
mpv-37ef545797b65112cbf20a1f3adfa34da96b6e42.tar.xz
fixed ./configure --cc="ccache gcc"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9101 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 1430951233..7a8e6c0ba0 100755
--- a/configure
+++ b/configure
@@ -31,7 +31,7 @@ cc_check() {
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 @@ fi
# 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 @@ int main(void) { myclass myobject; return myobject.myreturn(); }
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