3 dnl Copyright (C) 2002 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5 dnl This program is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; version 2 of the License.
9 dnl This program is distributed in the hope that it will be useful,
10 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 dnl GNU General Public License for more details.
14 dnl You should have received a copy of the GNU General Public License
15 dnl along with this program; if not, write to the Free Software
16 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 dnl Usage: ENSC_CHECK_PERSONALITY_FLAGS
19 AC_DEFUN([ENSC_CHECK_PERSONALITY_FLAGS],
21 AC_MSG_CHECKING([for declarations in <linux/personality.h>])
25 AC_CHECK_DECLS([MMAP_PAGE_ZERO, ADDR_LIMIT_32BIT, SHORT_INODE,
26 WHOLE_SECONDS, STICKY_TIMEOUTS, ADDR_LIMIT_3GB],
29 #include <linux/personality.h>
32 AC_CHECK_DECLS([PER_LINUX, PER_LINUX_32BIT, PER_SVR4, PER_SVR3,
33 PER_SCOSVR3, PER_OSR5, PER_WYSEV386, PER_ISCR4,
34 PER_BSD, PER_SUNOS, PER_XENIX, PER_LINUX32,
35 PER_LINUX32_3GB, PER_IRIX32, PER_IRIXN32,
36 PER_IRIX64, PER_RISCOS, PER_SOLARIS, PER_UW7,
40 #include <linux/personality.h>