From c06469f66f5293111453161ad2e0cae12363f98b Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 23 Oct 2006 13:33:45 +0000 Subject: [PATCH] Check for fdopen. Probably everywhere has it, but check until we are sure. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 3 +++ setup.h.in | 3 +++ setup.h_vms | 3 +++ 3 files changed, 9 insertions(+) diff --git a/configure.in b/configure.in index 4a8469c456..3d618099aa 100644 --- a/configure.in +++ b/configure.in @@ -4828,7 +4828,10 @@ if test "x$INET_LINK" != "x"; then INET_LINK=" -l$INET_LINK" fi +WX_CHECK_FUNCS(fdopen) + fi + dnl if !MSW diff --git a/setup.h.in b/setup.h.in index 90b0e76cc3..98bba98270 100644 --- a/setup.h.in +++ b/setup.h.in @@ -1122,6 +1122,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_SELECT_H +/* Define if fdopen is available. */ +#undef HAVE_FDOPEN + /* ------------------------------------------------------------------------- Win32 adjustments section ------------------------------------------------------------------------- */ diff --git a/setup.h_vms b/setup.h_vms index 6b62637966..3ad1d29a82 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -1205,6 +1205,9 @@ typedef pid_t GPid; /* Define if you have Pango xft support */ #undef HAVE_PANGO_XFT +/* Define if fdopen is available. */ +#undef HAVE_FDOPEN + /* --------------------------------------------------------------------- Win32 adjustments section ---------------------------------------------------------------------