Don't check for shm_open on librt on OpenBSD, lib doesnt exist.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 22:09:54 +0000 (22:09 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 22:09:54 +0000 (22:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129973

Patch by Landry Breuil <landry@openbsd.org> on 2014-03-08
Reviewed by Martin Robinson.

* Source/autotools/FindDependencies.m4:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165337 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/autotools/FindDependencies.m4

index 5e0a0b8..f433d2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-08  Landry Breuil  <landry@openbsd.org>
+
+        Don't check for shm_open on librt on OpenBSD, lib doesnt exist.
+        https://bugs.webkit.org/show_bug.cgi?id=129973
+
+        Reviewed by Martin Robinson.
+
+        * Source/autotools/FindDependencies.m4:
+
 2014-03-06  Anders Carlsson  <andersca@apple.com>
 
         Build WebKit2 before building WebKit
index bd14f10..8da8d89 100644 (file)
@@ -504,7 +504,7 @@ if test "$enable_webkit2" = "yes"; then
     AC_SUBST(GTK_UNIX_PRINTING_LIBS)
 
     # On some Linux/Unix platforms, shm_* may only be available if linking against librt
-    if test "$os_win32" = "no"; then
+    if test "$os_win32" = "no" && test "$os_openbsd" = "no"; then
         AC_SEARCH_LIBS([shm_open], [rt], [SHM_LIBS="-lrt"])
         AC_SUBST(SHM_LIBS)
     fi