Only check for the IPC functions we are still using.

This commit is contained in:
Andrew Wood
2023-10-01 15:15:07 +01:00
parent bf3f76e02e
commit ddafc2e897
+1 -2
View File
@@ -103,10 +103,9 @@ yes
if test "$IPC_SUPPORT" = "yes"; then
AC_CHECK_HEADERS([sys/ipc.h], [], [IPC_SUPPORT=no])
AC_CHECK_HEADERS([sys/msg.h], [], [IPC_SUPPORT=no])
AC_CHECK_HEADERS([sys/param.h])
if test "$IPC_SUPPORT" = "yes"; then
AC_CHECK_FUNCS([msgget], [], [IPC_SUPPORT=no])
AC_CHECK_FUNCS([shmget], [], [IPC_SUPPORT=no])
fi
fi