Mercurial > hg > xemacs-beta
diff configure.in @ 720:128e95ac472f
[xemacs-hg @ 2001-12-30 04:12:04 by wmperry]
Avoid lots of warnings when using GTK by slapping -Wno-shadow onto the CFLAGS. Make sure to use toolbar-common.o with gtk builds now.
author | wmperry |
---|---|
date | Sun, 30 Dec 2001 04:12:08 +0000 |
parents | 512e4a478e9d |
children | 76d5a3dd827a |
line wrap: on
line diff
--- a/configure.in Sat Dec 29 00:41:13 2001 +0000 +++ b/configure.in Sun Dec 30 04:12:08 2001 +0000 @@ -2616,6 +2616,9 @@ AC_MSG_CHECKING(gtk cflags) GTK_CFLAGS=`${GTK_CONFIG} --cflags` + if test "$GCC" = "yes"; then + GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" + fi XE_APPEND(${GTK_CFLAGS}, c_switch_gtk) AC_MSG_RESULT(${GTK_CFLAGS}) @@ -3604,7 +3607,7 @@ test "$with_menubars" != "no" && XE_ADD_OBJS(menubar-gtk.o) test "$with_scrollbars" != "no" && XE_ADD_OBJS(scrollbar-gtk.o) test "$with_dialogs" != "no" && XE_ADD_OBJS(dialog-gtk.o) - test "$with_toolbars" != "no" && XE_ADD_OBJS(toolbar-gtk.o) + test "$with_toolbars" != "no" && XE_ADD_OBJS(toolbar-common.o toolbar-gtk.o) test "$all_widgets" != "no no no no no" && XE_ADD_OBJS(gui-gtk.o) fi