diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-10-27 01:55:21 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-06 13:12:33 +0000 |
commit | a3a9e99b527936502a10aed7559799b2aa1e186e (patch) | |
tree | 0ebac2459e854d9d7f83f3416d48af5a3215a1e9 /configure.ac | |
parent | 896122c9f6ca49735c89c84560a0d5c987e95b4f (diff) |
autotools: Nuke IPC_RMID_DEFERRED_RELEASE
IPC_RMID_DEFERRED_RELEASE is unused so nuke it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/configure.ac b/configure.ac index d13917ec..cd84e042 100644 --- a/configure.ac +++ b/configure.ac @@ -247,32 +247,6 @@ if test "x$ac_cv_header_X11_extensions_shmproto_h" != "xyes" -a "x$ac_cv_header_ fi if test "x$shm" = "xyes"; then - AC_MSG_CHECKING(whether shmctl IPC_RMID allows subsequent attaches) - AC_TRY_RUN([ - #include <sys/types.h> - #include <sys/ipc.h> - #include <sys/shm.h> - int main() - { - char *shmaddr; - int id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); - if (id == -1) return 2; - shmaddr = shmat (id, 0, 0); - shmctl (id, IPC_RMID, 0); - if ((char*) shmat (id, 0, 0) == (char*) -1) { - shmdt (shmaddr); - return 1; - } - shmdt (shmaddr); - shmdt (shmaddr); - return 0; - } - ], - AC_DEFINE(IPC_RMID_DEFERRED_RELEASE, 1, - [Define to 1 if shared memory segments are released deferred.]) - AC_MSG_RESULT(yes), - AC_MSG_RESULT(no), - AC_MSG_RESULT(assuming no)) AC_DEFINE([HAVE_MIT_SHM], 1, [Define to 1 if MIT-SHM is available]) fi |