efl/ecore: epoll.h is always detected.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 6 Dec 2012 20:06:05 +0000 (20:06 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 6 Dec 2012 20:06:05 +0000 (20:06 +0000)
SVN revision: 80385

configure.ac

index 4f0ee3a..3376103 100644 (file)
@@ -468,6 +468,7 @@ netinet/in.h \
 siginfo.h \
 stdint.h \
 strings.h \
+sys/epoll.h \
 sys/inotify.h \
 sys/types.h \
 sys/param.h \
@@ -1962,20 +1963,6 @@ AC_ARG_ENABLE([g-main-loop],
    ],
    [want_g_main_loop="no"])
 
-# epoll
-
-AC_ARG_ENABLE([epoll],
-   [AC_HELP_STRING([--disable-epoll],
-       [disable epoll support. @<:@default=enabled@:>@])],
-   [
-    if test "x${enableval}" = "xyes" ; then
-       want_epoll="yes"
-    else
-       want_epoll="no"
-    fi
-   ],
-   [want_epoll="yes"])
-
 ### Default values
 
 case "$host_os" in
@@ -2075,10 +2062,6 @@ sys/select.h \
 sys/timerfd.h \
 ])
 
-if test "x${want_epoll}" = "xyes" ; then
-   AC_CHECK_HEADERS([sys/epoll.h])
-fi
-
 ### Checks for types
 
 ### Checks for structures