~vcs-imports/xorg-server/master-git

Viewing all changes in revision 6764.

  • Committer: Jon TURNEY
  • Author(s): Ryan Pavlik
  • Date: 2012-05-02 11:39:22 UTC
  • Revision ID: git-v1:2225208c2ef9857f14813376ce85d305f19263dd
configure.ac: auto-disable MITSHM if we lack IPC

The MITSHM extension uses SYSV IPC, but even if configure's test
for IPC failed, MITSHM was still enabled by default, breaking
MinGW builds by default.

Unfortunately, fixing this exposes the fact that the HAVE_SYSV_IPC
test wasn't being used for anything before and so we hadn't noticed it
was failing on Cygwin.

Change from using SHM_W|SHM_R flags (which aren't required by POSIX) to
S_IRUSR|S_IWUSR flags (which are)

Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: