1
0
Fork 0
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:
Gerhard Rieger 2025-01-11 14:48:26 +01:00
parent 0f1c5dd85a
commit 19d488a14f
6 changed files with 194 additions and 138 deletions

View file

@ -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)