=================================================================== RCS file: /cvs2/dgamelaunch-openbsd/configure.ac,v retrieving revision 1.2 retrieving revision 1.4 diff -u -p -r1.2 -r1.4 --- dgamelaunch-openbsd/configure.ac 2021/03/09 14:48:42 1.2 +++ dgamelaunch-openbsd/configure.ac 2021/03/16 10:10:55 1.4 @@ -2,7 +2,7 @@ dnl Use autoconf 2.53 dnl (Things tend to break across versions, they're neither upwards nor dnl downward compatible. Blame GNU.) -AC_INIT(dgamelaunch, [1.5.1]) +AC_INIT(dgamelaunch-openbsd, [0.0.1]) AC_PREREQ(2.53) AC_CONFIG_HEADER(config.h) @@ -161,6 +161,8 @@ AC_ARG_ENABLE(shmem, [enable_shmem=yes], []) 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([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.])], [])