summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@src.gnome.org>1999-01-01 23:36:32 +0000
committerJeff Garzik <jgarzik@src.gnome.org>1999-01-01 23:36:32 +0000
commit7433badf8e0810c870281eeb9a758face2fbfb71 (patch)
tree20ff66c4db0d7b1cf0fd9520e941f47a51e1276a /configure.in
parent385108e0dee634a08ed6de5703c43e2aaafd80df (diff)
downloadgtk+-7433badf8e0810c870281eeb9a758face2fbfb71.tar.gz
Check for features.h.
* configure.in, config.h.in: Check for features.h. * gdk/gdkevents.c (gdk_event_put, gdk_events_queue): Fixed bug in linked list append logic by replacing hand-coded logic with a call to g_list_append. Bug found by tml. * gdk/gdkimage.c: 'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors in sys/ipc.h, including one specific admonishment to use _SVID_SOURCE or _XOPEN_SOURCE. Manually defined the latter, and included features.h if present to obtain the necessary side-effects. * gtk/gtkclist.c, gtk/gtkeditable.c: Eliminates comma-after-final-element warnings. * gtk/gtkfontsel.c (gtk_font_selection_init): Fixed bug where an intl string was declared as _("x") in local var initializer.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2a4c8207f1..0e1765c8f6 100644
--- a/configure.in
+++ b/configure.in
@@ -315,6 +315,8 @@ AC_SUBST(x_ldflags)
AC_SUBST(x_libs)
AC_SUBST(xinput_progs)
+AC_CHECK_HEADERS(features.h)
+
if test "x$enable_shm" = "xyes"; then
# Check for shared memory
AC_CHECK_HEADER(sys/ipc.h, AC_DEFINE(HAVE_IPC_H), no_sys_ipc=yes)