summaryrefslogtreecommitdiff
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
parentb943a74476e66ba1b16ad74888783d2787a2d1f0 (diff)
downloadmetacity-c48c5e44bdaf641b4ca161d26d3f3ed4101466bb.tar.gz
fix build on Solaris. Closes #564123.
* configure.in: fix build on Solaris. Closes #564123. svn path=/trunk/; revision=4055
-rw-r--r--ChangeLog4
-rw-r--r--configure.in4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f92a441..466208a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-15 Erwann Chenede <erwann.chenede@sun.com>
+
+ * configure.in: fix build on Solaris. Closes #564123.
+
2008-12-02 Thomas Thurman <tthurman@gnome.org>
* configure.in: Post-release bump to 2.25.55.
diff --git a/configure.in b/configure.in
index 86519155..9edcfff1 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])