summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-12-01 16:42:37 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-12-01 16:48:23 -0800
commitfde2d5e033ea7eab10b2c0aac56a9e581cbb8898 (patch)
treef08069d210c823f1d2747862edfcfe236ffb02f8 /configure.ac
parentdd8bc0162c5c32eed83c46b00424fe08b9784e83 (diff)
Fix syntax error in configure check for SYSV_IPC that broke with Sun cc
(cherry picked from a5d6499d666fea4a9988118ddd3a5e4c9cfcc32c commit)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 13561b23a..249f58dfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@ AC_CACHE_CHECK([for SYSV IPC],
[AC_TRY_LINK([
#include <sys/shm.h>
],[
-int main () {
+{
int id;
id = shmget(IPC_PRIVATE, 512, SHM_W | SHM_R);
if (id < 0) return -1;