Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
719:4918199aa355 | 720:128e95ac472f |
---|---|
2614 XE_APPEND(${GTK_LIBS}, libs_gtk) | 2614 XE_APPEND(${GTK_LIBS}, libs_gtk) |
2615 AC_MSG_RESULT(${GTK_LIBS}) | 2615 AC_MSG_RESULT(${GTK_LIBS}) |
2616 | 2616 |
2617 AC_MSG_CHECKING(gtk cflags) | 2617 AC_MSG_CHECKING(gtk cflags) |
2618 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 2618 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
2619 if test "$GCC" = "yes"; then | |
2620 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | |
2621 fi | |
2619 XE_APPEND(${GTK_CFLAGS}, c_switch_gtk) | 2622 XE_APPEND(${GTK_CFLAGS}, c_switch_gtk) |
2620 AC_MSG_RESULT(${GTK_CFLAGS}) | 2623 AC_MSG_RESULT(${GTK_CFLAGS}) |
2621 | 2624 |
2622 AC_CHECK_LIB(gdk_imlib, main, XE_PREPEND(-lgdk_imlib, libs_gtk)) | 2625 AC_CHECK_LIB(gdk_imlib, main, XE_PREPEND(-lgdk_imlib, libs_gtk)) |
2623 AC_CHECK_LIB(Imlib, Imlib_init, XE_APPEND(-lImlib, libs_gtk)) | 2626 AC_CHECK_LIB(Imlib, Imlib_init, XE_APPEND(-lImlib, libs_gtk)) |
3602 | 3605 |
3603 if test "$with_gtk" = "yes"; then | 3606 if test "$with_gtk" = "yes"; then |
3604 test "$with_menubars" != "no" && XE_ADD_OBJS(menubar-gtk.o) | 3607 test "$with_menubars" != "no" && XE_ADD_OBJS(menubar-gtk.o) |
3605 test "$with_scrollbars" != "no" && XE_ADD_OBJS(scrollbar-gtk.o) | 3608 test "$with_scrollbars" != "no" && XE_ADD_OBJS(scrollbar-gtk.o) |
3606 test "$with_dialogs" != "no" && XE_ADD_OBJS(dialog-gtk.o) | 3609 test "$with_dialogs" != "no" && XE_ADD_OBJS(dialog-gtk.o) |
3607 test "$with_toolbars" != "no" && XE_ADD_OBJS(toolbar-gtk.o) | 3610 test "$with_toolbars" != "no" && XE_ADD_OBJS(toolbar-common.o toolbar-gtk.o) |
3608 test "$all_widgets" != "no no no no no" && XE_ADD_OBJS(gui-gtk.o) | 3611 test "$all_widgets" != "no no no no no" && XE_ADD_OBJS(gui-gtk.o) |
3609 fi | 3612 fi |
3610 | 3613 |
3611 if test "$with_x11" = "yes"; then | 3614 if test "$with_x11" = "yes"; then |
3612 test "$with_menubars" != "no" && XE_ADD_OBJS(menubar-x.o) | 3615 test "$with_menubars" != "no" && XE_ADD_OBJS(menubar-x.o) |