X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.in;h=fb0877839383b7611adb7548d511938351327d79;hb=48889844299e036515e567aa5f992df18ccdf2d7;hp=f3dbd7275cd4b437d0e98e59056db607bfa92d34;hpb=9d348d00d9eda2aede0ea9052bcc34cd070d3b5a;p=ngircd-alex.git diff --git a/configure.in b/configure.in index f3dbd727..fb087783 100644 --- a/configure.in +++ b/configure.in @@ -252,22 +252,21 @@ AC_ARG_WITH(poll, CPPFLAGS="-I$withval/include $CPPFLAGS" LDFLAGS="-L$withval/lib $LDFLAGS" fi - AC_CHECK_FUNCS(poll, + AC_CHECK_FUNCS(poll, [ AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\), - AC_MSG_ERROR( - [Can't enable poll IO support!]) - , AC_MSG_ERROR( - [Can't enable poll IO support!]) + [Can't enable poll IO support!]) ) - ) + ], [ + AC_MSG_ERROR([Can't enable poll IO support!]) + ]) fi ], [ - AC_CHECK_FUNCS(poll, + AC_CHECK_FUNCS(poll, [ AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\)) - ) + ]) ] ) @@ -341,7 +340,7 @@ else fi if test "$x_io_backend" = "none"; then - AC_MSG_ERROR([No useabe IO API activated/found!?]) + AC_MSG_ERROR([No useable IO API activated/found!?]) fi # use SSL?