[Commits] Rev 3666: MDEV-4190 : Fix system checks for OpenBSD in file:///H:/bzr/5.5/

Vladislav Vaintroub wlad at montyprogram.com
Fri Feb 22 00:01:03 EET 2013


At file:///H:/bzr/5.5/

------------------------------------------------------------
revno: 3666
revision-id: wlad at montyprogram.com-20130221215954-nfngzvu6v7ynzweh
parent: wlad at montyprogram.com-20130221204624-z51z0y4au3owh00i
fixes bug: https://mariadb.atlassian.net/browse/MDEV-4190
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: 5.5
timestamp: Thu 2013-02-21 22:59:54 +0100
message:
  MDEV-4190 : Fix system checks for OpenBSD
-------------- next part --------------
=== modified file 'configure.cmake'
--- a/configure.cmake	2013-02-19 22:46:52 +0000
+++ b/configure.cmake	2013-02-21 21:59:54 +0000
@@ -160,6 +160,7 @@ IF(UNIX)
     SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} wrap)
     CHECK_C_SOURCE_COMPILES(
     "
+    #include <sys/types.h>
     #include <tcpd.h>
     int allow_severity = 0;
     int deny_severity  = 0;
@@ -231,13 +232,13 @@ CHECK_INCLUDE_FILES (sys/cdefs.h HAVE_SY
 CHECK_INCLUDE_FILES (sys/file.h HAVE_SYS_FILE_H)
 CHECK_INCLUDE_FILES (sys/fpu.h HAVE_SYS_FPU_H)
 CHECK_INCLUDE_FILES (sys/ioctl.h HAVE_SYS_IOCTL_H)
-CHECK_INCLUDE_FILES (sys/ipc.h HAVE_SYS_IPC_H)
-CHECK_INCLUDE_FILES (sys/malloc.h HAVE_SYS_MALLOC_H)
+CHECK_INCLUDE_FILES ("sys/types.h;sys/ipc.h" HAVE_SYS_IPC_H)
+CHECK_INCLUDE_FILES ("sys/types.h;sys/malloc.h" HAVE_SYS_MALLOC_H)
 CHECK_INCLUDE_FILES (sys/mman.h HAVE_SYS_MMAN_H)
 CHECK_INCLUDE_FILES (sys/prctl.h HAVE_SYS_PRCTL_H)
 CHECK_INCLUDE_FILES (sys/resource.h HAVE_SYS_RESOURCE_H)
 CHECK_INCLUDE_FILES (sys/select.h HAVE_SYS_SELECT_H)
-CHECK_INCLUDE_FILES (sys/shm.h HAVE_SYS_SHM_H)
+CHECK_INCLUDE_FILES ("sys/types.h;sys/shm.h" HAVE_SYS_SHM_H)
 CHECK_INCLUDE_FILES (sys/socket.h HAVE_SYS_SOCKET_H)
 CHECK_INCLUDE_FILES (sys/stat.h HAVE_SYS_STAT_H)
 CHECK_INCLUDE_FILES (sys/stream.h HAVE_SYS_STREAM_H)



More information about the commits mailing list