summaryrefslogtreecommitdiff
blob: e1c546f37a348903be21494f3754bb09d986d95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- a/configure.ac
+++ b/configure.ac
@@ -215,7 +215,7 @@
 AC_SUBST(AR)
 AC_SUBST(AR_FLAGS)
 
-AC_PATH_PROG(CCACHE, ccache)
+AC_PATH_PROG(CCACHE, ccachex)
 if test "$CCACHE" ; then
     CC="ccache $CC"
     CXX="ccache $CXX"
@@ -747,13 +747,13 @@
 #
 # the GCC version is known to be at least 4.3 because it has C++0x support
 # possible future warnings: -Wconversion (1894) -Wfloat-equal (317)
-FLAGS="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic"
+FLAGSx="-Wall -Wextra -Wcast-qual -Wredundant-decls -Wshadow -Wundef -pedantic"
 case $host_os in
      linux*)
 	AC_DEFINE(HALF_RATE_AUDIO, 1, [Half rate Audio])
 	CONF_CFLAGS="$CONF_CFLAGS $FLAGS"
 	CONF_CXXFLAGS="$CONF_CXXFLAGS $FLAGS"
-	case $host_vendor in
+	case $host_vendorx in
 	     pc)
 	       if expr `$CC -dumpversion` \>= "3.4" > /dev/null ; then
 		 FLAGS=-mtune
@@ -836,7 +836,7 @@
     CXXFLAGS="$user_CXXFLAGS"
     AC_DEFINE(DEBUG, 1, [Debugging enabled])
 else
-    if test "$GCC" = yes ; then
+    if test "$GCC" = yesx ; then
 	case "`$CC --version 2>&1`" in
 	    *LLVM*)
 		# Apple LLVM falsely claims to be GCC