]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
configure.ac: macro fix
authorIgor Podoski <igor.podoski@ts.fujitsu.com>
Wed, 2 Dec 2015 06:25:00 +0000 (07:25 +0100)
committerIgor Podoski <igor.podoski@ts.fujitsu.com>
Wed, 2 Dec 2015 10:58:07 +0000 (11:58 +0100)
Configure fails with autoconf 2.63 on Centos 6.6 with:

./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: `  yes:no:'

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
configure.ac

index 77fe957d83d80a7d5368093dff2521206ce8ac23..2abdb78b7cb3feb2799f965b087c51d889489cc2 100644 (file)
@@ -1315,8 +1315,8 @@ AC_ARG_WITH([eventfd],
             ,
             [with_eventfd=yes])
 AS_IF([test "x$with_eventfd" != xno],
-    AC_CHECK_HEADERS(sys/eventfd.h,
-                     [AC_DEFINE(HAVE_EVENTFD, 1, [Have eventfd extension.])]))
+    [AC_CHECK_HEADERS(sys/eventfd.h,
+                     [AC_DEFINE(HAVE_EVENTFD, 1, [Have eventfd extension.])])])
 AM_CONDITIONAL(WITH_EVENTFD, [ test "$with_eventfd" = "yes" ])
 
 # Checks for typedefs, structures, and compiler characteristics.