git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91349
13f79535-47bb-0310-9956-
ffa450edef68
TLIB='-ldl'
fi
fi
+ # Test for the presence of the "union semun":
+ if TCADDINCL='#include <sys/types.h>
+#include <sys/ipc.h>
+#include <sys/sem.h>' ./helpers/TestCompile sizeof "union semun"; then
+ : Okay, union semun is defined
+ else
+ CFLAGS="$CFLAGS -DNEED_UNION_SEMUN"
+ fi
# Test for the presence of the _rini_struct typedef:
if TCADDINCL='#include <pwd.h>' ./helpers/TestCompile sizeof _rini_struct; then
CFLAGS="$CFLAGS -DHAVE_RINI_STRUCT"
#define HAVE_SHMGET 1
#define USE_SHMGET_SCOREBOARD
#ifdef _OSD_POSIX /* BS2000-POSIX mainframe needs initgroups */
-#define NEED_UNION_SEMUN
#define NEED_HASHBANG_EMUL /* execve() doesn't start shell scripts by default */
#define _KMEMUSER /* Enable SHM_R/SHM_W defines in <shm.h> */
#undef NEED_STRCASECMP