mirror of
https://github.com/osmarks/ngircd.git
synced 2025-02-07 12:50:03 +00:00
./configure: Fix logic and quoting of poll() detection code
This fixes commit 8e193df ...
This commit is contained in:
parent
8fa92f0a24
commit
ee21490887
15
configure.in
15
configure.in
@ -252,22 +252,21 @@ AC_ARG_WITH(poll,
|
|||||||
CPPFLAGS="-I$withval/include $CPPFLAGS"
|
CPPFLAGS="-I$withval/include $CPPFLAGS"
|
||||||
LDFLAGS="-L$withval/lib $LDFLAGS"
|
LDFLAGS="-L$withval/lib $LDFLAGS"
|
||||||
fi
|
fi
|
||||||
AC_CHECK_FUNCS(poll,
|
AC_CHECK_FUNCS(poll, [
|
||||||
AC_CHECK_HEADERS(poll.h,
|
AC_CHECK_HEADERS(poll.h,
|
||||||
x_io_backend=poll\(\),
|
x_io_backend=poll\(\),
|
||||||
AC_MSG_ERROR(
|
|
||||||
[Can't enable poll IO support!])
|
|
||||||
,
|
|
||||||
AC_MSG_ERROR(
|
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
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(poll,
|
AC_CHECK_FUNCS(poll, [
|
||||||
AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\))
|
AC_CHECK_HEADERS(poll.h, x_io_backend=poll\(\))
|
||||||
)
|
])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user