mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
look for librt when using shm=shmopen
This commit is contained in:
parent
ffbb3fc02c
commit
0174f5f742
@ -428,6 +428,14 @@ case ${ac_SHM} in
|
||||
|
||||
shmopen)
|
||||
AC_DEFINE([GRID_MPI3_SHMOPEN],[1],[GRID_MPI3_SHMOPEN] )
|
||||
CXXFLAGS_CPY=$CXXFLAGS
|
||||
LDFLAGS_CPY=$LDFLAGS
|
||||
CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
|
||||
LDFLAGS="$AM_LDFLAGS $LDFLAGS"
|
||||
AC_SEARCH_LIBS([shm_unlink], [rt], [],
|
||||
[AC_MSG_ERROR("no library found for shm_unlink")])
|
||||
CXXFLAGS=$CXXFLAGS_CPY
|
||||
LDFLAGS=$LDFLAGS_CPY
|
||||
;;
|
||||
|
||||
shmget)
|
||||
|
Loading…
Reference in New Issue
Block a user