projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0382e64
)
Add check for shm_open() since these functions quite often are located in librt
author
Martin Johansson
<martin@fatbob.nu>
Sun, 7 Dec 2014 20:16:26 +0000
(21:16 +0100)
committer
Martin Johansson
<martin@fatbob.nu>
Sun, 7 Dec 2014 20:16:26 +0000
(21:16 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 5b612ca06671235260663a0f4ad67f706b532b3e..2c934c1238ff4f4fade6c66777f15bd16334306f 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-97,6
+97,7
@@
AS_IF([test "x$enable_shmapi" != xno],
[
AM_CONDITIONAL(USE_SHAREDMEMORY_API, true)
AC_DEFINE([USE_SHAREDMEMORY_API],[],[Use sharedmemory API])
+ AC_CHECK_FUNC([shm_open], [], [AC_CHECK_LIB([rt], [shm_open], [], [AC_MSG_ERROR([could not find shm_open() in librt])])])
], [
AM_CONDITIONAL(USE_SHAREDMEMORY_API, false)
])