only gtk1 needs poll now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-01-15 00:24:54 +00:00
parent 3b5d20079c
commit 3f83a9cda3

View File

@@ -3209,13 +3209,13 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
dnl test for XIM support in libgdk
AC_CHECK_LIB(gdk, gdk_im_open, AC_DEFINE(HAVE_XIM))
fi
dnl we need poll() in src/gtk/app.cpp (we know that Darwin doesn't
dnl we need poll() in src/gtk1/app.cpp (we know that Darwin doesn't
dnl have it but we do the check for the others)
if test "$USE_DARWIN" != 1; then
AC_CHECK_FUNCS(poll)
fi
fi
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"