mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 08:03:24 +00:00
Fixes for old Debian
This commit is contained in:
parent
0f1c5dd85a
commit
19d488a14f
6 changed files with 194 additions and 138 deletions
|
@ -489,6 +489,13 @@ AC_ARG_ENABLE(posixmq, [ --disable-posixmq disable POSIX MQ support],
|
|||
*) WITH_POSIXMQ=1; AC_MSG_RESULT(yes);;
|
||||
esac],
|
||||
[WITH_POSIXMQ=1; AC_MSG_RESULT(yes)])
|
||||
if test "$WITH_POSIXMQ"; then
|
||||
AC_CHECK_HEADERS(mqueue.h)
|
||||
if test "x$ac_cv_header_mqueue_h" != xyes; then
|
||||
AC_MSG_WARN([Header mqueue.h not found, disabling POSIX MQ])
|
||||
WITH_POSIXMQ=
|
||||
fi
|
||||
fi
|
||||
if test "$WITH_POSIXMQ"; then
|
||||
case "`uname`" in
|
||||
Linux) AC_DEFINE(WITH_POSIXMQ)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue