summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2008-12-16 01:35:30 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-12-16 01:35:30 +0000
commitc48c5e44bdaf641b4ca161d26d3f3ed4101466bb (patch)
tree2e52f9c9dd36064d42b20f755bbfbadae9c168f8 /configure.in
parentb943a74476e66ba1b16ad74888783d2787a2d1f0 (diff)
downloadmetacity-c48c5e44bdaf641b4ca161d26d3f3ed4101466bb.tar.gz
metacity-c48c5e44bdaf641b4ca161d26d3f3ed4101466bb.tar.bz2
fix build on Solaris. Closes #564123.
* configure.in: fix build on Solaris. Closes #564123. svn path=/trunk/; revision=4055
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8651915..9edcfff 100644
--- a/configure.in
+++ b/configure.in
@@ -484,7 +484,9 @@ if test "x$enable_debug" = "xyes"; then
fi
# Warnings are there for a reason
-CFLAGS="$CFLAGS -Wall -Werror -ansi"
+if test "x$GCC" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall -Werror -ansi"
+fi
# Use gnome-doc-utils:
GNOME_DOC_INIT([0.8.0])