summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2007-02-03 02:30:18 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2007-02-03 02:30:18 +0000
commit52e79097fa7db3ed6e15bcfdf14de8df21b81368 (patch)
tree97ade285325b56c6212cc7bb1bebc21485866733
parent2448 translated messages, 4 fuzzy translations. (diff)
downloadinkscape-52e79097fa7db3ed6e15bcfdf14de8df21b81368.tar.gz
inkscape-52e79097fa7db3ed6e15bcfdf14de8df21b81368.zip
* configure.ac: Don't pass CXXFLAGS to the CXX command that is used to
determine the compiler version. This is required since some options cannot be specified along with '-v' such as those needed for building universal binaries under OS X. (bzr r2314)
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b05fe8eb2..3709c6ae9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,9 @@ dnl Verify our GCC version
if test "x$GXX" = "xyes"; then
AC_MSG_CHECKING([GNU compiler version])
- cc_version=["`$CXX $CXXFLAGS -v 2>&1 </dev/null |grep 'gcc version' |\
+ # Don't pass CXXFLAGS to the following CXX command as some
+ # of them can't be specified along with '-v'.
+ cc_version=["`$CXX -v 2>&1 </dev/null |grep 'gcc version' |\
sed 's/.*gcc version \([-a-z0-9\.]*\).*/\1/'`"]
AC_MSG_RESULT([$cc_version])