1
2
3
4
5
6
7
8
9
|
dnl -*- Autoconf -*-
dnl Copyright (C) 1993-2009 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl From Bruno Haible, Marcus Daniels, Sam Steingold.
|
|
|
1
2
3
4
5
6
7
8
9
|
dnl -*- Autoconf -*-
dnl Copyright (C) 1993-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl From Bruno Haible, Marcus Daniels, Sam Steingold.
|
42
43
44
45
46
47
48
49
50
51
52
53
54
|
}], cl_cv_sys_shm_works=yes, cl_cv_sys_shm_works=no,
dnl When cross-compiling, don't assume anything.
cl_cv_sys_shm_works="guessing no")
])
fi
case "$cl_cv_sys_shm_works" in
*yes) have_shm=1
AC_DEFINE([HAVE_SHM],[],[have <sys/shm.h> and <sys/ipc.h> and shared memory works])
AC_CHECK_HEADERS(sys/sysmacros.h)
;;
*) ;;
esac
])
|
|
|
42
43
44
45
46
47
48
49
50
51
52
53
54
|
}], cl_cv_sys_shm_works=yes, cl_cv_sys_shm_works=no,
dnl When cross-compiling, don't assume anything.
cl_cv_sys_shm_works="guessing no")
])
fi
case "$cl_cv_sys_shm_works" in
*yes) have_shm=1
AC_DEFINE(HAVE_SHM,,[have <sys/shm.h> and <sys/ipc.h> and shared memory works])
AC_CHECK_HEADERS(sys/sysmacros.h)
;;
*) ;;
esac
])
|