From: Igor Podoski Date: Wed, 2 Dec 2015 06:25:00 +0000 (+0100) Subject: configure.ac: macro fix X-Git-Tag: v10.0.2~133^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e8002c38d5669d9861f755336228632174996885;p=ceph-ci.git configure.ac: macro fix 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 --- diff --git a/configure.ac b/configure.ac index 77fe957d83d..2abdb78b7cb 100644 --- a/configure.ac +++ b/configure.ac @@ -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.