added configure test for poll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2039,6 +2039,12 @@ equivalent variable and GTK+ is version 1.2.3 or above.
|
|||||||
fi
|
fi
|
||||||
fi
|
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)
|
||||||
|
fi
|
||||||
|
|
||||||
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
|
||||||
GUI_TK_LIBRARY="$wx_cv_libs_gtk"
|
GUI_TK_LIBRARY="$wx_cv_libs_gtk"
|
||||||
|
|
||||||
@@ -5354,4 +5360,4 @@ echo " zlib ${wxUSE_ZLIB}"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
dnl vi: set et sts=4 sw=4:
|
dnl vi: set et sts=4 sw=4 com=\:dnl:
|
||||||
|
@@ -891,6 +891,9 @@
|
|||||||
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
|
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
|
||||||
#undef WX_GMTOFF_IN_TM
|
#undef WX_GMTOFF_IN_TM
|
||||||
|
|
||||||
|
/* Define if you have poll(2) function */
|
||||||
|
#undef HAVE_POLL
|
||||||
|
|
||||||
/* Define if you have pw_gecos field in struct passwd */
|
/* Define if you have pw_gecos field in struct passwd */
|
||||||
#undef HAVE_PW_GECOS
|
#undef HAVE_PW_GECOS
|
||||||
|
|
||||||
|
@@ -915,6 +915,9 @@
|
|||||||
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
|
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
|
||||||
#define WX_GMTOFF_IN_TM
|
#define WX_GMTOFF_IN_TM
|
||||||
|
|
||||||
|
/* Define if you have poll(2) function */
|
||||||
|
#define HAVE_POLL 1
|
||||||
|
|
||||||
/* Define if you have pw_gecos field in struct passwd */
|
/* Define if you have pw_gecos field in struct passwd */
|
||||||
#undef HAVE_PW_GECOS
|
#undef HAVE_PW_GECOS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user