]> git.saurik.com Git - wxWidgets.git/commitdiff
only gtk1 needs poll now
authorPaul Cornett <paulcor@bullseye.com>
Mon, 15 Jan 2007 00:24:54 +0000 (00:24 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 15 Jan 2007 00:24:54 +0000 (00:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 8384eaaf2ec5c3f62e6b96a4419a354536161ec8..821921226051ad348d096f3ae8725f301009fc2a 100644 (file)
@@ -3209,12 +3209,12 @@ 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 have it but we do the check for the others)
-        if test "$USE_DARWIN" != 1; then
-            AC_CHECK_FUNCS(poll)
+            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"