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:
Vadim Zeitlin
2002-11-03 20:56:21 +00:00
parent 892a61dd37
commit e0724c9d18
4 changed files with 761 additions and 487 deletions

1234
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -2039,6 +2039,12 @@ equivalent variable and GTK+ is version 1.2.3 or above.
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"
GUI_TK_LIBRARY="$wx_cv_libs_gtk"
@@ -5354,4 +5360,4 @@ echo " zlib ${wxUSE_ZLIB}"
echo ""
dnl vi: set et sts=4 sw=4:
dnl vi: set et sts=4 sw=4 com=\:dnl:

View File

@@ -891,6 +891,9 @@
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
#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 */
#undef HAVE_PW_GECOS

View File

@@ -915,6 +915,9 @@
/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
#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 */
#undef HAVE_PW_GECOS