changeset 7021:a0b1e888661e

[gaim-migrate @ 7584] non-gcc build fix committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Mon, 29 Sep 2003 16:23:24 +0000
parents b40f12355812
children 23194256b793
files configure.ac
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Sep 29 15:58:07 2003 +0000
+++ b/configure.ac	Mon Sep 29 16:23:24 2003 +0000
@@ -140,7 +140,9 @@
 	AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
 fi
 
-CFLAGS="$CFLAGS -Wall -g3"
+if test "x$GCC" = "xyes"; then
+	CFLAGS="$CFLAGS -Wall -g3"
+fi
 AC_SUBST(CFLAGS)
 
 AM_PATH_GLIB_2_0(2.0.0,,AC_MSG_ERROR([