summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-27 21:36:32 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-27 21:36:32 (GMT)
commit95c16629d3549e7306d297ed09e26e58b151f720 (patch)
treeb6d9d79119a31b9029a4bad9d82c27ea362886b3 /configure
parenta5f6f2aba34dcf8f2a7e899aff0d7c37218502e9 (diff)
downloadcpython-95c16629d3549e7306d297ed09e26e58b151f720.zip
cpython-95c16629d3549e7306d297ed09e26e58b151f720.tar.gz
cpython-95c16629d3549e7306d297ed09e26e58b151f720.tar.bz2
fix for old kernels which don't have epoll_create1
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 27 insertions, 2 deletions
diff --git a/configure b/configure
index 455e62a..7cd7e91 100755
--- a/configure
+++ b/configure
@@ -9606,6 +9606,31 @@ $as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
+$as_echo_n "checking for epoll_create1... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/epoll.h>
+int
+main ()
+{
+void *x=epoll_create1
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_EPOLL_CREATE1 1" >>confdefs.h
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
$as_echo_n "checking for kqueue... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -14564,8 +14589,8 @@ esac
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Files that config.status was made for.
-config_files="`echo $ac_config_files`"
-config_headers="`echo $ac_config_headers`"
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
_ACEOF