diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-08 02:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-08 19:57:11 +0300 |
commit | 154e6b085ef4715f04b9597035b9a5e83962b545 (patch) | |
tree | 347b28259b08be61d8c21d827f5cb0a7e6d203b2 /configure | |
parent | 0c3ad55e5d6533818d74fde4635fb798eb3106d6 (diff) | |
download | hercules-154e6b085ef4715f04b9597035b9a5e83962b545.tar.gz hercules-154e6b085ef4715f04b9597035b9a5e83962b545.tar.bz2 hercules-154e6b085ef4715f04b9597035b9a5e83962b545.tar.xz hercules-154e6b085ef4715f04b9597035b9a5e83962b545.zip |
Disable epoll by default and fix formatting in epoll in configure.ac
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac 7f3fd6d. +# From configure.ac 6a3c3cc. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -3549,27 +3549,28 @@ fi # -# EPOLL (Linux Only) +# Epoll # # Check whether --enable-epoll was given. if test "${enable_epoll+set}" = set; then : enableval=$enable_epoll; enable_epoll=$enableval else - enable_epoll=auto + enable_epoll=no + fi if test x$enable_epoll = xno; then have_linux_epoll=no else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux epoll(4)" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux epoll(4)" >&5 $as_echo_n "checking for Linux epoll(4)... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - #ifndef __linux__ - #error This is not Linux - #endif - #include <sys/epoll.h> + #ifndef __linux__ + #error This is not Linux + #endif + #include <sys/epoll.h> int main () @@ -3583,10 +3584,11 @@ if ac_fn_c_try_link "$LINENO"; then : have_linux_epoll=yes else have_linux_epoll=no + fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_linux_epoll" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_linux_epoll" >&5 $as_echo "$have_linux_epoll" >&6; } fi if test x$enable_epoll,$have_linux_epoll = xyes,no; then |