version 1.2, 2021/03/09 14:48:42 |
version 1.4, 2021/03/16 10:10:55 |
Line 2 dnl Use autoconf 2.53 |
|
Line 2 dnl Use autoconf 2.53 |
|
dnl (Things tend to break across versions, they're neither upwards nor |
dnl (Things tend to break across versions, they're neither upwards nor |
dnl downward compatible. Blame GNU.) |
dnl downward compatible. Blame GNU.) |
|
|
AC_INIT(dgamelaunch, [1.5.1]) |
AC_INIT(dgamelaunch-openbsd, [0.0.1]) |
AC_PREREQ(2.53) |
AC_PREREQ(2.53) |
|
|
AC_CONFIG_HEADER(config.h) |
AC_CONFIG_HEADER(config.h) |
Line 161 AC_ARG_ENABLE(shmem, |
|
Line 161 AC_ARG_ENABLE(shmem, |
|
[enable_shmem=yes], []) |
[enable_shmem=yes], []) |
|
|
if test "$enable_shmem" = yes; then |
if test "$enable_shmem" = yes; then |
|
AS_IF([ test "$(uname -s)" = "OpenBSD" ], |
|
[AC_MSG_ERROR([enable-shmem is not implemented for this platform.])]) |
AC_CHECK_HEADERS([semaphore.h], [], [AC_MSG_ERROR([semaphore.h not found.])], []) |
AC_CHECK_HEADERS([semaphore.h], [], [AC_MSG_ERROR([semaphore.h not found.])], []) |
AC_CHECK_HEADERS([sys/ipc.h], [], [AC_MSG_ERROR([sys/ipc.h not found.])], []) |
AC_CHECK_HEADERS([sys/ipc.h], [], [AC_MSG_ERROR([sys/ipc.h not found.])], []) |
AC_CHECK_HEADERS([sys/shm.h], [], [AC_MSG_ERROR([sys/shm.h not found.])], []) |
AC_CHECK_HEADERS([sys/shm.h], [], [AC_MSG_ERROR([sys/shm.h not found.])], []) |