blob: 4f2e02bfc1d55fa3fc8ed0b4ee82db1f399a9959 [file] [log] [blame]
Roland McGrath6d2b3492002-12-30 00:51:30 +00001dnl Process this file with autoconf to create configure. Use autoreconf.
2AC_PREREQ(2.57)
Dmitry V. Levindce75932013-04-30 23:52:12 +00003AC_INIT([strace],
4 m4_esyscmd([./git-version-gen .tarball-version]),
5 [strace-devel@lists.sourceforge.net])
Roland McGrath6d2b3492002-12-30 00:51:30 +00006AC_CONFIG_SRCDIR([strace.c])
Roland McGrathffda2d32009-10-11 16:25:29 -07007AC_CONFIG_AUX_DIR([.])
Mike Frysingerbb3a0f72013-04-30 22:41:11 -04008AC_CONFIG_HEADERS([config.h])
Dmitry V. Levin3cf90b62013-06-18 14:31:57 +00009AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules parallel-tests])
Roland McGrath6d2b3492002-12-30 00:51:30 +000010AM_MAINTAINER_MODE
11AC_CANONICAL_HOST
12
H.J. Lu35be5812012-04-16 13:00:01 +020013AC_PROG_CC
Mike Frysinger58c7fe92015-02-26 22:22:36 -050014AX_PROG_CC_FOR_BUILD
H.J. Lu35be5812012-04-16 13:00:01 +020015AC_USE_SYSTEM_EXTENSIONS
16
Roland McGrath6d2b3492002-12-30 00:51:30 +000017AC_MSG_CHECKING([for supported architecture])
18case "$host_cpu" in
Dmitry V. Levin87ea1f42008-11-10 22:21:41 +000019bfin)
20 arch=bfin
21 AC_DEFINE([BFIN], 1, [Define for the Blackfin architecture.])
22 ;;
Roland McGrath6d2b3492002-12-30 00:51:30 +000023i[[3456]]86|pentium)
24 arch=i386
25 AC_DEFINE([I386], 1, [Define for the i386 architecture.])
26 ;;
27ia64)
28 arch=ia64
29 AC_DEFINE([IA64], 1, [Define for the IA64 architecture.])
30 ;;
31m68k)
32 arch=m68k
33 AC_DEFINE([M68K], 1, [Define for the m68k architecture.])
34 ;;
Roland McGrath6d1a65c2004-07-12 07:44:08 +000035sparc64*)
36 arch=sparc64
37 AC_DEFINE([SPARC64], 1, [Define for the SPARC64 architecture.])
38 ;;
Roland McGrath6d2b3492002-12-30 00:51:30 +000039sparc*)
40 arch=sparc
41 AC_DEFINE([SPARC], 1, [Define for the SPARC architecture.])
42 ;;
James Hogan5f999a82013-02-22 14:44:10 +000043metag*)
44 arch=metag
45 AC_DEFINE([METAG], 1, [Define for the Meta architecture.])
46 ;;
Roland McGrath6d2b3492002-12-30 00:51:30 +000047mips*)
48 arch=mips
49 AC_DEFINE([MIPS], 1, [Define for the MIPS architecture.])
50 ;;
51alpha*)
52 arch=alpha
53 AC_DEFINE([ALPHA], 1, [Define for the Alpha architecture.])
54 ;;
Roland McGratheb285352003-01-14 09:59:00 +000055powerpc*)
Roland McGrath6d2b3492002-12-30 00:51:30 +000056 AC_DEFINE([POWERPC], 1, [Define for the PowerPC architecture.])
Anton Blanchard9afc2ee2013-07-11 12:03:57 +100057 AC_TRY_COMPILE(
58[#ifndef __LP64__
59# error 32 bit
Dmitry V. Levinaf3ab5b2015-01-21 17:04:31 +000060#endif], [], arch=powerpc64, arch=powerpc)
61 if test "$arch" = "powerpc64"; then
Andreas Schwabd69fa492010-07-12 21:39:57 +020062 AC_DEFINE([POWERPC64], 1, [Define for the PowerPC64 architecture.])
63 fi
Roland McGrath6d2b3492002-12-30 00:51:30 +000064 ;;
65arm*)
66 arch=arm
67 AC_DEFINE([ARM], 1, [Define for the ARM architecture.])
68 ;;
Steve McIntyred8d3bd32012-10-24 17:58:16 +010069aarch64*)
70 arch=aarch64
71 AC_DEFINE([AARCH64], 1, [Define for the AArch64 architecture.])
72 ;;
Denys Vlasenko5ae2b7c2009-02-27 20:32:52 +000073avr32*)
74 arch=avr32
75 AC_DEFINE([AVR32], 1, [Define for the AVR32 architecture.])
76 ;;
Vineet Gupta7daacbb2013-08-16 12:47:06 +053077arc*)
78 arch=arc
79 AC_DEFINE([ARC], 1, [Define for the ARC architecture.])
80 ;;
Roland McGrath6d2b3492002-12-30 00:51:30 +000081s390)
82 arch=s390
83 AC_DEFINE([S390], 1, [Define for the S390 architecture.])
84 ;;
85s390x)
86 arch=s390x
87 AC_DEFINE([S390X], 1, [Define for the S390x architecture.])
88 ;;
89hppa*|parisc*)
90 arch=hppa
91 AC_DEFINE([HPPA], 1, [Define for the HPPA architecture.])
92 ;;
Roland McGrath67828ca2007-11-01 21:32:49 +000093sh64*)
Roland McGrathf5a47772003-06-26 22:40:42 +000094 arch=sh64
95 AC_DEFINE([SH64], 1, [Define for the SH64 architecture.])
Roland McGrathe1e584b2003-06-02 19:18:58 +000096 ;;
Roland McGrath67828ca2007-11-01 21:32:49 +000097sh*)
98 arch=sh
99 AC_DEFINE([SH], 1, [Define for the SH architecture.])
100 ;;
Roland McGrath6d2b3492002-12-30 00:51:30 +0000101x86?64*)
H.J. Lu35be5812012-04-16 13:00:01 +0200102 AC_TRY_COMPILE(
103[#ifndef __ILP32__
104# error not x32
105#endif], [], arch=x32, arch=x86_64)
106 if test "$arch" = "x86_64"; then
107 AC_DEFINE([X86_64], 1, [Define for the 64bit AMD x86-64 architecture.])
108 else
109 AC_DEFINE([X32], 1, [Define for the 32bit AMD x86-64 architecture.])
110 fi
Roland McGrath6d2b3492002-12-30 00:51:30 +0000111 ;;
Denys Vlasenkoea0e6e82009-02-25 17:08:40 +0000112cris|crisv10)
113 arch=crisv10
114 AC_DEFINE([CRISV10], 1, [Define for the CRISv10 architecture.])
115 ;;
116crisv32)
117 arch=crisv32
118 AC_DEFINE([CRISV32], 1, [Define for the CRISv32 architecture.])
119 ;;
Chris Metcalfc8c66982009-12-28 10:00:15 -0500120tile*)
121 arch=tile
122 AC_DEFINE([TILE], 1, [Define for the Tile architecture])
123 ;;
Edgar E. Iglesias939caba2010-07-06 14:21:07 +0200124microblaze*)
125 arch=microblaze
126 AC_DEFINE([MICROBLAZE], 1, [Define for the MicroBlaze architecture.])
127 ;;
Christian Svensson492f81f2013-02-14 13:26:27 +0100128or1k*)
129 arch=or1k
130 AC_DEFINE([OR1K], 1, [Define for the OpenRISC 1000 architecture.])
131 ;;
132
Chris Zankel8f636ed2013-03-25 10:22:07 -0700133xtensa*)
134 arch=xtensa
135 AC_DEFINE([XTENSA], 1, [Define for the Xtensa architecture])
136 ;;
137
Roland McGrath6d2b3492002-12-30 00:51:30 +0000138*)
139 AC_MSG_RESULT([NO!])
140 AC_MSG_ERROR([architecture $host_cpu is not supported by strace])
141 ;;
142esac
143AC_MSG_RESULT($arch)
144
Roland McGrath6d2b3492002-12-30 00:51:30 +0000145AC_SUBST(arch)
Roland McGrath6d2b3492002-12-30 00:51:30 +0000146
Dmitry V. Levin047365e2015-02-15 01:08:48 +0000147if test "$arch" = mips; then
148 AC_CACHE_CHECK([for MIPS ABI], [ac_cv_mips_abi],
149 [AC_COMPILE_IFELSE(
150 [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
151 [[int i[_MIPS_SIM == _MIPS_SIM_ABI32 ? 1 : - 1];]])],
152 [ac_cv_mips_abi=o32],
153 [AC_COMPILE_IFELSE(
154 [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
155 [[int i[_MIPS_SIM == _MIPS_SIM_NABI32 ? 1 : - 1];]])],
156 [ac_cv_mips_abi=n32],
157 [AC_COMPILE_IFELSE(
158 [AC_LANG_PROGRAM([[#include <sgidefs.h>]],
159 [[int i[_MIPS_SIM == _MIPS_SIM_ABI64 ? 1 : - 1];]])],
160 [ac_cv_mips_abi=n64],
161 [ac_cv_mips_abi=unknown])])])])
162 case "$ac_cv_mips_abi" in
163 o32) AC_DEFINE([LINUX_MIPSO32], [1], [Define for _MIPS_SIM_ABI32.]);;
164 n32) AC_DEFINE([LINUX_MIPSN32], [1], [Define for _MIPS_SIM_NABI32.]);;
165 n64) AC_DEFINE([LINUX_MIPSN64], [1], [Define for _MIPS_SIM_ABI64.]);;
166 *) AC_MSG_ERROR([Unsupported _MIPS_SIM]);;
167 esac
168fi
169
Dmitry V. Levin0160e162014-03-18 23:37:43 +0000170AC_ARG_ENABLE([arm-oabi],
171 [AS_HELP_STRING([--enable-arm-oabi],
172 [enable OABI support on ARM EABI])],
173 [], [enable_arm_oabi=no])
174case "$enable_arm_oabi" in
175 yes) enable_arm_oabi=1 ;;
176 no) enable_arm_oabi=0 ;;
177 *) AC_MSG_ERROR([bad value $enable_arm_oabi for arm-oabi option]) ;;
178esac
179AC_DEFINE_UNQUOTED([ENABLE_ARM_OABI], [$enable_arm_oabi],
180 [Define to 1 if you want OABI support on ARM EABI.])
181
Dmitry V. Levin918e49b2010-09-09 17:41:15 +0000182gl_WARN_ADD([-Wall])
Dmitry V. Levin1ed5d802010-09-09 17:42:28 +0000183gl_WARN_ADD([-Wwrite-strings])
Dmitry V. Levin3ed5d022014-09-10 13:46:04 +0000184gl_WARN_ADD([-Wsign-compare])
Dmitry V. Levind376c922012-05-15 00:50:26 +0000185AC_ARG_ENABLE([gcc-Werror],
186 [AS_HELP_STRING([--enable-gcc-Werror], [turn on gcc's -Werror option])],
187 [case $enableval in
188 yes) gl_WARN_ADD([-Werror]) ;;
189 no) ;;
190 *) AC_MSG_ERROR([bad value $enableval for gcc-Werror option]) ;;
191 esac]
192)
Dmitry V. Levin918e49b2010-09-09 17:41:15 +0000193AC_SUBST([WARN_CFLAGS])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000194
195AC_PROG_CPP
Roland McGrath6d2b3492002-12-30 00:51:30 +0000196AC_PROG_INSTALL
197AC_C_CONST
Mike Frysinger6d12afd2010-09-12 03:39:55 -0400198AC_C_BIGENDIAN
Roland McGrath6d2b3492002-12-30 00:51:30 +0000199AC_HEADER_STDC
Roland McGrath639658b2008-08-01 01:06:31 +0000200AC_HEADER_STDBOOL
Roland McGrath6d2b3492002-12-30 00:51:30 +0000201AC_HEADER_DIRENT
202AC_HEADER_STAT
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000203AC_CHECK_MEMBERS(m4_normalize([
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000204 struct stat.st_blksize,
205 struct stat.st_blocks,
206 struct stat.st_flags,
207 struct stat.st_fstype,
208 struct stat.st_gen,
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000209 struct stat.st_rdev
210]))
Roland McGrath6d2b3492002-12-30 00:51:30 +0000211
212AC_TYPE_SIGNAL
213AC_TYPE_UID_T
214AC_TYPE_MODE_T
215AC_TYPE_GETGROUPS
216AC_HEADER_MAJOR
Dmitry V. Levind8890b52015-02-07 15:47:24 +0000217AC_CHECK_TYPES([sig_atomic_t],,, [#include <signal.h>])
Roland McGrathe07cd602003-02-26 20:34:02 +0000218AC_CHECK_MEMBERS([struct sockaddr_in6.sin6_scope_id],,,
219[#include <sys/types.h>
220#include <sys/socket.h>
221#include <netinet/in.h>])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000222AC_LITTLE_ENDIAN_LONG_LONG
Roland McGrath6d2b3492002-12-30 00:51:30 +0000223
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000224AC_CHECK_FUNCS(m4_normalize([
Dmitry V. Levin1ea64732015-01-10 00:08:58 +0000225 fanotify_mark
Dmitry V. Levind3541302014-02-26 00:01:00 +0000226 fopen64
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000227 fork
Dmitry V. Levind3541302014-02-26 00:01:00 +0000228 fputs_unlocked
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000229 if_indextoname
230 inet_ntop
231 prctl
Mike Frysinger97ca0272014-08-11 02:52:08 -0400232 preadv
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000233 process_vm_readv
Mike Frysinger97ca0272014-08-11 02:52:08 -0400234 pwritev
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000235 sendmsg
Masatake YAMATO993198d2014-11-07 01:23:27 +0900236 sendmmsg
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000237 sigaction
238 stpcpy
239 strerror
240 strsignal
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000241]))
242AC_CHECK_HEADERS(m4_normalize([
243 asm/cachectl.h
244 asm/sysmips.h
Lubomir Rintelc400a1c2014-10-03 11:40:28 +0200245 bluetooth/bluetooth.h
Dmitry V. Levinc41808b2013-03-18 00:52:29 +0000246 elf.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000247 inttypes.h
248 ioctls.h
Bart Van Assche67d0a8e2015-02-06 13:37:03 +0100249 linux/bsg.h
Dmitry V. Levin52572b62014-12-11 19:21:54 +0000250 linux/falloc.h
Dmitry V. Levin2af69032015-02-04 23:50:50 +0000251 linux/filter.h
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000252 linux/hiddev.h
Dmitry V. Levindf7aa2b2015-01-19 17:02:16 +0000253 linux/mmtimer.h
Ben Noordhuis88eafd82013-02-04 00:04:57 +0100254 linux/perf_event.h
Dmitry V. Levin2af69032015-02-04 23:50:50 +0000255 linux/seccomp.h
Dmitry V. Levin1e880732015-02-14 01:51:03 +0000256 linux/securebits.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000257 linux/utsname.h
258 mqueue.h
259 netinet/sctp.h
260 poll.h
Dmitry V. Levinfdb896e2014-02-25 23:04:55 +0000261 scsi/sg.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000262 stropts.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000263 sys/conf.h
264 sys/epoll.h
Dmitry V. Levin1ea64732015-01-10 00:08:58 +0000265 sys/fanotify.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000266 sys/filio.h
267 sys/ioctl.h
268 sys/poll.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000269 sys/reg.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000270 sys/vfs.h
Masatake YAMATOf5480672014-11-22 19:03:33 +0900271 sys/xattr.h
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000272]))
Roland McGrath6d2b3492002-12-30 00:51:30 +0000273AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
Roland McGrathe7fa3052007-07-05 20:50:34 +0000274 [], [], [#include <stddef.h>
Andreas Schwab360986b2010-03-08 16:07:52 +0100275#include <sys/socket.h>
276#include <asm/types.h>])
Roland McGrath41074c02002-12-30 10:23:01 +0000277AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
Dmitry V. Levine2de3bd2013-11-12 15:27:38 +0000278AC_CHECK_TYPES([struct sigcontext],,, [#include <signal.h>])
Roland McGratha7a0d382003-01-10 19:55:30 +0000279AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include <netinet/in.h>])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000280
Masatake YAMATOcaf6a432014-11-07 01:23:25 +0900281AC_CHECK_TYPES([struct mmsghdr],,, [#include <sys/socket.h>])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000282AC_CHECK_MEMBERS([struct msghdr.msg_control],,, [#include <sys/socket.h>])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000283
Dmitry V. Levin7b9bc442015-01-08 04:06:06 +0000284AC_CHECK_TYPES([struct stat64],,, [#include <sys/types.h>
285#include <asm/stat.h>])
Roland McGrath79db8af2003-06-27 21:20:09 +0000286AC_CHECK_TYPES([struct __old_kernel_stat],,, [#include <asm/stat.h>])
Dmitry V. Levin9e6a7bf2015-01-08 04:12:29 +0000287AC_CHECK_TYPES([struct statfs64],,, [#include <sys/vfs.h>])
Roland McGrath79db8af2003-06-27 21:20:09 +0000288
Ali Polatel0b4060f2013-09-24 20:04:32 +0300289AC_CHECK_TYPES([struct pt_all_user_regs, struct ia64_fpreg, struct ptrace_peeksiginfo_args],,,
Roland McGrathce9f0742004-03-01 21:29:22 +0000290 [#include <sys/ptrace.h>])
291
Dmitry V. Levinea22e972012-05-01 20:56:32 +0000292AC_CHECK_MEMBERS([struct utsname.domainname],,, [#include <sys/utsname.h>])
293
Dmitry V. Levinae5aa472013-11-11 23:54:30 +0000294AC_CHECK_MEMBERS([struct sigevent._sigev_un._pad,
Dmitry V. Levinbc091e32014-03-11 22:18:40 +0000295 struct sigevent.__pad,
Dmitry V. Levin36ab3d52015-01-13 09:24:04 +0300296 siginfo_t.si_syscall,
297 siginfo_t.si_timerid,
298 siginfo_t.si_overrun],,, [#include <signal.h>])
Dmitry V. Levinae5aa472013-11-11 23:54:30 +0000299
Dmitry V. Levin82a528d2014-09-29 23:29:56 +0000300AC_CHECK_MEMBERS([struct sysinfo.totalhigh,
301 struct sysinfo.freehigh,
302 struct sysinfo.mem_unit],,, [#include <sys/sysinfo.h>])
303
Dmitry V. Levin594eb8f2013-11-12 21:49:03 +0000304AC_CHECK_TYPES([struct flock64],,, [#include <fcntl.h>])
305
Dmitry V. Levinb7dd5e62014-09-08 15:20:10 +0000306AC_CHECK_HEADERS([libaio.h], [
307 AC_CHECK_MEMBERS([struct iocb.u.c.flags],,, [#include <libaio.h>])
308 AC_CHECK_DECLS([IO_CMD_PWRITE, IO_CMD_PWRITEV],,, [#include <libaio.h>])
309])
310
Dmitry V. Levin19dadf92015-02-22 02:50:33 +0300311AC_CHECK_HEADERS([linux/input.h], [
312 AC_CHECK_MEMBERS([struct input_absinfo.resolution],,, [#include <linux/input.h>])
313])
314
Roland McGrath6d2b3492002-12-30 00:51:30 +0000315AC_CHECK_DECLS([sys_errlist])
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000316AC_CHECK_DECLS(m4_normalize([
Dmitry V. Levin6974bd42013-11-12 21:20:50 +0000317 PTRACE_PEEKUSER,
Dmitry V. Levinfadf3792015-02-13 00:26:38 +0000318 PTRACE_POKEUSER
Dmitry V. Levind8879f42012-03-25 15:12:16 +0000319]),,, [#include <sys/ptrace.h>])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000320
Dmitry V. Levincf050db2012-05-02 10:21:49 +0000321AC_CHECK_DECLS(m4_normalize([
Dmitry V. Levind8ad1dd2014-04-26 15:22:08 +0000322 P_PID,
323 P_PPID,
324 P_PGID,
325 P_SID,
326 P_CID,
327 P_UID,
328 P_GID,
329 P_ALL,
330 P_LWPID
331]),,, [#include <sys/wait.h>])
332
333AC_CHECK_DECLS(m4_normalize([
Dmitry V. Levinbaf60d92014-04-26 14:12:33 +0000334 LO_FLAGS_READ_ONLY,
Dmitry V. Levincf050db2012-05-02 10:21:49 +0000335 LO_FLAGS_AUTOCLEAR,
336 LO_FLAGS_PARTSCAN
337]),,, [#include <linux/loop.h>])
338
Dmitry V. Levin6dbbe072014-04-26 13:54:12 +0000339AC_CHECK_DECLS(m4_normalize([
340 CTL_KERN,
341 CTL_VM,
342 CTL_NET,
343 CTL_PROC,
344 CTL_FS,
345 CTL_DEBUG,
346 CTL_DEV,
347 CTL_BUS,
348 CTL_ABI,
349 CTL_CPU,
350 CTL_ARLAN,
351 CTL_S390DBF,
352 CTL_SUNRPC,
353 CTL_PM,
354 CTL_FRV,
355 KERN_OSTYPE,
356 KERN_OSRELEASE,
357 KERN_OSREV,
358 KERN_VERSION,
359 KERN_SECUREMASK,
360 KERN_PROF,
361 KERN_NODENAME,
362 KERN_DOMAINNAME,
363 KERN_PANIC,
364 KERN_REALROOTDEV,
365 KERN_SPARC_REBOOT,
366 KERN_CTLALTDEL,
367 KERN_PRINTK,
368 KERN_NAMETRANS,
369 KERN_PPC_HTABRECLAIM,
370 KERN_PPC_ZEROPAGED,
371 KERN_PPC_POWERSAVE_NAP,
372 KERN_MODPROBE,
373 KERN_SG_BIG_BUFF,
374 KERN_ACCT,
375 KERN_PPC_L2CR,
376 KERN_RTSIGNR,
377 KERN_RTSIGMAX,
378 KERN_SHMMAX,
379 KERN_MSGMAX,
380 KERN_MSGMNB,
381 KERN_MSGPOOL,
382 KERN_SYSRQ,
383 KERN_MAX_THREADS,
384 KERN_RANDOM,
385 KERN_SHMALL,
386 KERN_MSGMNI,
387 KERN_SEM,
388 KERN_SPARC_STOP_A,
389 KERN_SHMMNI,
390 KERN_OVERFLOWUID,
391 KERN_OVERFLOWGID,
392 KERN_SHMPATH,
393 KERN_HOTPLUG,
394 KERN_IEEE_EMULATION_WARNINGS,
395 KERN_S390_USER_DEBUG_LOGGING,
396 KERN_CORE_USES_PID,
397 KERN_TAINTED,
398 KERN_CADPID,
399 KERN_PIDMAX,
400 KERN_CORE_PATTERN,
401 KERN_PANIC_ON_OOPS,
402 KERN_HPPA_PWRSW,
403 KERN_HPPA_UNALIGNED,
404 KERN_PRINTK_RATELIMIT,
405 KERN_PRINTK_RATELIMIT_BURST,
406 KERN_PTY,
407 KERN_NGROUPS_MAX,
408 KERN_SPARC_SCONS_PWROFF,
409 KERN_HZ_TIMER,
410 KERN_UNKNOWN_NMI_PANIC,
411 KERN_BOOTLOADER_TYPE,
412 KERN_RANDOMIZE,
413 KERN_SETUID_DUMPABLE,
414 KERN_SPIN_RETRY,
415 KERN_ACPI_VIDEO_FLAGS,
416 KERN_IA64_UNALIGNED,
417 KERN_COMPAT_LOG,
418 KERN_MAX_LOCK_DEPTH,
419 KERN_NMI_WATCHDOG,
420 KERN_PANIC_ON_NMI,
421 NET_CORE,
422 NET_ETHER,
423 NET_802,
424 NET_UNIX,
425 NET_IPV4,
426 NET_IPX,
427 NET_ATALK,
428 NET_NETROM,
429 NET_AX25,
430 NET_BRIDGE,
431 NET_ROSE,
432 NET_IPV6,
433 NET_X25,
434 NET_TR,
435 NET_DECNET,
436 NET_ECONET,
437 NET_SCTP,
438 NET_LLC,
439 NET_NETFILTER,
440 NET_DCCP,
441 NET_IRDA,
442 NET_CORE_WMEM_MAX,
443 NET_CORE_RMEM_MAX,
444 NET_CORE_WMEM_DEFAULT,
445 NET_CORE_RMEM_DEFAULT,
446 NET_CORE_DESTROY_DELAY,
447 NET_CORE_MAX_BACKLOG,
448 NET_CORE_FASTROUTE,
449 NET_CORE_MSG_COST,
450 NET_CORE_MSG_BURST,
451 NET_CORE_OPTMEM_MAX,
452 NET_CORE_HOT_LIST_LENGTH,
453 NET_CORE_DIVERT_VERSION,
454 NET_CORE_NO_CONG_THRESH,
455 NET_CORE_NO_CONG,
456 NET_CORE_LO_CONG,
457 NET_CORE_MOD_CONG,
458 NET_CORE_DEV_WEIGHT,
459 NET_CORE_SOMAXCONN,
460 NET_CORE_BUDGET,
461 NET_CORE_AEVENT_ETIME,
462 NET_CORE_AEVENT_RSEQTH,
463 NET_CORE_WARNINGS,
464 NET_IPV4_FORWARD,
465 NET_IPV4_DYNADDR,
466 NET_IPV4_CONF,
467 NET_IPV4_NEIGH,
468 NET_IPV4_ROUTE,
469 NET_IPV4_FIB_HASH,
470 NET_IPV4_NETFILTER,
471 NET_IPV4_TCP_TIMESTAMPS,
472 NET_IPV4_TCP_WINDOW_SCALING,
473 NET_IPV4_TCP_SACK,
474 NET_IPV4_TCP_RETRANS_COLLAPSE,
475 NET_IPV4_DEFAULT_TTL,
476 NET_IPV4_AUTOCONFIG,
477 NET_IPV4_NO_PMTU_DISC,
478 NET_IPV4_TCP_SYN_RETRIES,
479 NET_IPV4_IPFRAG_HIGH_THRESH,
480 NET_IPV4_IPFRAG_LOW_THRESH,
481 NET_IPV4_IPFRAG_TIME,
482 NET_IPV4_TCP_MAX_KA_PROBES,
483 NET_IPV4_TCP_KEEPALIVE_TIME,
484 NET_IPV4_TCP_KEEPALIVE_PROBES,
485 NET_IPV4_TCP_RETRIES1,
486 NET_IPV4_TCP_RETRIES2,
487 NET_IPV4_TCP_FIN_TIMEOUT,
488 NET_IPV4_IP_MASQ_DEBUG,
489 NET_TCP_SYNCOOKIES,
490 NET_TCP_STDURG,
491 NET_TCP_RFC1337,
492 NET_TCP_SYN_TAILDROP,
493 NET_TCP_MAX_SYN_BACKLOG,
494 NET_IPV4_LOCAL_PORT_RANGE,
495 NET_IPV4_ICMP_ECHO_IGNORE_ALL,
496 NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS,
497 NET_IPV4_ICMP_SOURCEQUENCH_RATE,
498 NET_IPV4_ICMP_DESTUNREACH_RATE,
499 NET_IPV4_ICMP_TIMEEXCEED_RATE,
500 NET_IPV4_ICMP_PARAMPROB_RATE,
501 NET_IPV4_ICMP_ECHOREPLY_RATE,
502 NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES,
503 NET_IPV4_IGMP_MAX_MEMBERSHIPS,
504 NET_TCP_TW_RECYCLE,
505 NET_IPV4_ALWAYS_DEFRAG,
506 NET_IPV4_TCP_KEEPALIVE_INTVL,
507 NET_IPV4_INET_PEER_THRESHOLD,
508 NET_IPV4_INET_PEER_MINTTL,
509 NET_IPV4_INET_PEER_MAXTTL,
510 NET_IPV4_INET_PEER_GC_MINTIME,
511 NET_IPV4_INET_PEER_GC_MAXTIME,
512 NET_TCP_ORPHAN_RETRIES,
513 NET_TCP_ABORT_ON_OVERFLOW,
514 NET_TCP_SYNACK_RETRIES,
515 NET_TCP_MAX_ORPHANS,
516 NET_TCP_MAX_TW_BUCKETS,
517 NET_TCP_FACK,
518 NET_TCP_REORDERING,
519 NET_TCP_ECN,
520 NET_TCP_DSACK,
521 NET_TCP_MEM,
522 NET_TCP_WMEM,
523 NET_TCP_RMEM,
524 NET_TCP_APP_WIN,
525 NET_TCP_ADV_WIN_SCALE,
526 NET_IPV4_NONLOCAL_BIND,
527 NET_IPV4_ICMP_RATELIMIT,
528 NET_IPV4_ICMP_RATEMASK,
529 NET_TCP_TW_REUSE,
530 NET_TCP_FRTO,
531 NET_TCP_LOW_LATENCY,
532 NET_IPV4_IPFRAG_SECRET_INTERVAL,
533 NET_IPV4_IGMP_MAX_MSF,
534 NET_TCP_NO_METRICS_SAVE,
535 NET_TCP_DEFAULT_WIN_SCALE,
536 NET_TCP_MODERATE_RCVBUF,
537 NET_TCP_TSO_WIN_DIVISOR,
538 NET_TCP_BIC_BETA,
539 NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR,
540 NET_TCP_CONG_CONTROL,
541 NET_TCP_ABC,
542 NET_IPV4_IPFRAG_MAX_DIST,
543 NET_TCP_MTU_PROBING,
544 NET_TCP_BASE_MSS,
545 NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS,
546 NET_TCP_DMA_COPYBREAK,
547 NET_TCP_SLOW_START_AFTER_IDLE,
548 NET_CIPSOV4_CACHE_ENABLE,
549 NET_CIPSOV4_CACHE_BUCKET_SIZE,
550 NET_CIPSOV4_RBM_OPTFMT,
551 NET_CIPSOV4_RBM_STRICTVALID,
552 NET_TCP_AVAIL_CONG_CONTROL,
553 NET_TCP_ALLOWED_CONG_CONTROL,
554 NET_TCP_MAX_SSTHRESH,
555 NET_TCP_FRTO_RESPONSE,
556 NET_IPV4_ROUTE_FLUSH,
557 NET_IPV4_ROUTE_MIN_DELAY,
558 NET_IPV4_ROUTE_MAX_DELAY,
559 NET_IPV4_ROUTE_GC_THRESH,
560 NET_IPV4_ROUTE_MAX_SIZE,
561 NET_IPV4_ROUTE_GC_MIN_INTERVAL,
562 NET_IPV4_ROUTE_GC_TIMEOUT,
563 NET_IPV4_ROUTE_GC_INTERVAL,
564 NET_IPV4_ROUTE_REDIRECT_LOAD,
565 NET_IPV4_ROUTE_REDIRECT_NUMBER,
566 NET_IPV4_ROUTE_REDIRECT_SILENCE,
567 NET_IPV4_ROUTE_ERROR_COST,
568 NET_IPV4_ROUTE_ERROR_BURST,
569 NET_IPV4_ROUTE_GC_ELASTICITY,
570 NET_IPV4_ROUTE_MTU_EXPIRES,
571 NET_IPV4_ROUTE_MIN_PMTU,
572 NET_IPV4_ROUTE_MIN_ADVMSS,
573 NET_IPV4_ROUTE_SECRET_INTERVAL,
574 NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS,
575 NET_IPV4_CONF_FORWARDING,
576 NET_IPV4_CONF_MC_FORWARDING,
577 NET_IPV4_CONF_PROXY_ARP,
578 NET_IPV4_CONF_ACCEPT_REDIRECTS,
579 NET_IPV4_CONF_SECURE_REDIRECTS,
580 NET_IPV4_CONF_SEND_REDIRECTS,
581 NET_IPV4_CONF_SHARED_MEDIA,
582 NET_IPV4_CONF_RP_FILTER,
583 NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE,
584 NET_IPV4_CONF_BOOTP_RELAY,
585 NET_IPV4_CONF_LOG_MARTIANS,
586 NET_IPV4_CONF_TAG,
587 NET_IPV4_CONF_ARPFILTER,
588 NET_IPV4_CONF_MEDIUM_ID,
589 NET_IPV4_CONF_NOXFRM,
590 NET_IPV4_CONF_NOPOLICY,
591 NET_IPV4_CONF_FORCE_IGMP_VERSION,
592 NET_IPV4_CONF_ARP_ANNOUNCE,
593 NET_IPV4_CONF_ARP_IGNORE,
594 NET_IPV4_CONF_PROMOTE_SECONDARIES,
595 NET_IPV4_CONF_ARP_ACCEPT,
596 NET_IPV4_CONF_ARP_NOTIFY,
597 NET_IPV6_CONF,
598 NET_IPV6_NEIGH,
599 NET_IPV6_ROUTE,
600 NET_IPV6_ICMP,
601 NET_IPV6_BINDV6ONLY,
602 NET_IPV6_IP6FRAG_HIGH_THRESH,
603 NET_IPV6_IP6FRAG_LOW_THRESH,
604 NET_IPV6_IP6FRAG_TIME,
605 NET_IPV6_IP6FRAG_SECRET_INTERVAL,
606 NET_IPV6_MLD_MAX_MSF,
607 NET_IPV6_ROUTE_FLUSH,
608 NET_IPV6_ROUTE_GC_THRESH,
609 NET_IPV6_ROUTE_MAX_SIZE,
610 NET_IPV6_ROUTE_GC_MIN_INTERVAL,
611 NET_IPV6_ROUTE_GC_TIMEOUT,
612 NET_IPV6_ROUTE_GC_INTERVAL,
613 NET_IPV6_ROUTE_GC_ELASTICITY,
614 NET_IPV6_ROUTE_MTU_EXPIRES,
615 NET_IPV6_ROUTE_MIN_ADVMSS,
616 NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS,
617 NET_UNIX_DESTROY_DELAY,
618 NET_UNIX_DELETE_DELAY,
619 NET_UNIX_MAX_DGRAM_QLEN,
620 VM_OVERCOMMIT_MEMORY,
621 VM_PAGE_CLUSTER,
622 VM_DIRTY_BACKGROUND,
623 VM_DIRTY_RATIO,
624 VM_DIRTY_WB_CS,
625 VM_DIRTY_EXPIRE_CS,
626 VM_NR_PDFLUSH_THREADS,
627 VM_OVERCOMMIT_RATIO,
628 VM_PAGEBUF,
629 VM_HUGETLB_PAGES,
630 VM_SWAPPINESS,
631 VM_LOWMEM_RESERVE_RATIO,
632 VM_MIN_FREE_KBYTES,
633 VM_MAX_MAP_COUNT,
634 VM_LAPTOP_MODE,
635 VM_BLOCK_DUMP,
636 VM_HUGETLB_GROUP,
637 VM_VFS_CACHE_PRESSURE,
638 VM_LEGACY_VA_LAYOUT,
639 VM_SWAP_TOKEN_TIMEOUT
640]),,,
641[#include <sys/types.h>
642#include <linux/sysctl.h>])
643
Philippe De Muyter0cc96142014-11-03 21:27:40 +0100644AC_CHECK_DECLS(m4_normalize([
645 V4L2_FIELD_ANY,
646 V4L2_FIELD_NONE,
647 V4L2_FIELD_TOP,
648 V4L2_FIELD_BOTTOM,
649 V4L2_FIELD_INTERLACED,
650 V4L2_FIELD_SEQ_TB,
651 V4L2_FIELD_SEQ_BT,
652 V4L2_FIELD_ALTERNATE,
653 V4L2_FIELD_INTERLACED_TB,
654 V4L2_FIELD_INTERLACED_BT,
655 V4L2_BUF_TYPE_VIDEO_CAPTURE,
656 V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
657 V4L2_BUF_TYPE_VIDEO_OUTPUT,
658 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE,
659 V4L2_BUF_TYPE_VIDEO_OVERLAY,
660 V4L2_BUF_TYPE_VBI_CAPTURE,
661 V4L2_BUF_TYPE_VBI_OUTPUT,
662 V4L2_BUF_TYPE_SLICED_VBI_CAPTURE,
663 V4L2_BUF_TYPE_SLICED_VBI_OUTPUT,
664 V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY,
665 V4L2_TUNER_RADIO,
666 V4L2_TUNER_ANALOG_TV,
667 V4L2_TUNER_DIGITAL_TV,
668 V4L2_MEMORY_MMAP,
669 V4L2_MEMORY_USERPTR,
670 V4L2_MEMORY_OVERLAY,
671 V4L2_MEMORY_DMABUF,
672 V4L2_COLORSPACE_SMPTE170M,
673 V4L2_COLORSPACE_SMPTE240M,
674 V4L2_COLORSPACE_REC709,
675 V4L2_COLORSPACE_BT878,
676 V4L2_COLORSPACE_470_SYSTEM_M,
677 V4L2_COLORSPACE_470_SYSTEM_BG,
678 V4L2_COLORSPACE_JPEG,
679 V4L2_COLORSPACE_SRGB,
680 V4L2_PRIORITY_UNSET,
681 V4L2_PRIORITY_BACKGROUND,
682 V4L2_PRIORITY_INTERACTIVE,
683 V4L2_PRIORITY_RECORD,
684 V4L2_FRMSIZE_TYPE_DISCRETE,
685 V4L2_FRMSIZE_TYPE_CONTINUOUS,
686 V4L2_FRMSIZE_TYPE_STEPWISE,
687 V4L2_FRMIVAL_TYPE_DISCRETE,
688 V4L2_FRMIVAL_TYPE_CONTINUOUS,
689 V4L2_FRMIVAL_TYPE_STEPWISE,
690 V4L2_CTRL_TYPE_INTEGER,
691 V4L2_CTRL_TYPE_BOOLEAN,
692 V4L2_CTRL_TYPE_MENU,
693 V4L2_CTRL_TYPE_BUTTON,
694 V4L2_CTRL_TYPE_INTEGER64,
695 V4L2_CTRL_TYPE_CTRL_CLASS,
696 V4L2_CTRL_TYPE_STRING,
697 V4L2_CTRL_TYPE_BITMASK,
698 V4L2_CTRL_TYPE_INTEGER_MENU
699]),,, [#include <linux/videodev2.h>])
700
Dmitry V. Levin25caa312011-08-16 21:36:16 +0000701AC_CACHE_CHECK([for BLKGETSIZE64], [ac_cv_have_blkgetsize64],
702 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
703#include <stdlib.h>
704#include <linux/fs.h>], [return !BLKGETSIZE64;])],
705 [ac_cv_have_blkgetsize64=yes], [ac_cv_have_blkgetsize64=no])]
706 if test $ac_cv_have_blkgetsize64 = yes; then
707 AC_DEFINE([HAVE_BLKGETSIZE64], [1], [Define to 1 if you have BLKGETSIZE64.])
708 fi)
709
Dmitry V. Levin63e4f862012-03-15 20:42:46 +0000710AC_CHECK_SIZEOF([long])
Dmitry V. Levin7a498be2013-05-04 19:51:57 +0000711AC_CHECK_SIZEOF([long long])
Dmitry V. Levin54cabef2014-03-03 23:09:47 +0000712AC_CHECK_SIZEOF([off_t],,[#include <sys/types.h>])
Dmitry V. Levin63e4f862012-03-15 20:42:46 +0000713
Dmitry V. Levinab3953b2014-02-08 00:15:52 +0000714AC_CACHE_CHECK([for SA_RESTORER], [st_cv_sa_restorer],
715 [st_cv_sa_restorer="$(echo SA_RESTORER |
716 $CPP $CPPFLAGS -P -imacros asm/signal.h - |
717 grep ^0x)"
718 test -n "$st_cv_sa_restorer" || st_cv_sa_restorer=no])
719if test "x$st_cv_sa_restorer" != xno; then
720 AC_DEFINE_UNQUOTED([ASM_SA_RESTORER], [$st_cv_sa_restorer],
721 [SA_RESTORER defined in <asm/signal.h>])
722fi
723
Dmitry V. Levin38593e92014-02-26 16:51:28 +0000724AC_CACHE_CHECK([for __builtin_popcount], [st_cv_have___builtin_popcount],
725 [AC_LINK_IFELSE([AC_LANG_PROGRAM([], [__builtin_popcount(0)])],
726 [st_cv_have___builtin_popcount=yes],
727 [st_cv_have___builtin_popcount=no])])
728if test "x$st_cv_have___builtin_popcount" = xyes; then
729 AC_DEFINE([HAVE___BUILTIN_POPCOUNT], [1],
730 [Define to 1 if the system provides __builtin_popcount function])
731fi
732
Dmitry V. Levin856b7592015-02-27 05:01:25 +0000733AC_CHECK_LIB([dl], [dladdr], [dl_LIBS='-ldl'], [dl_LIBS=])
Dmitry V. Levin977550d2015-02-27 04:09:56 +0000734if test "x$ac_cv_lib_dl_dladdr" = xyes; then
735 AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if the system provides dladdr])
Dmitry V. Levin977550d2015-02-27 04:09:56 +0000736fi
737AC_SUBST(dl_LIBS)
738
Roland McGrath6d2b3492002-12-30 00:51:30 +0000739AC_PATH_PROG([PERL], [perl])
740
Luca Clementi327064b2013-07-23 00:11:35 -0700741dnl stack trace with libunwind
742libunwind_CPPFLAGS=
743libunwind_LDFLAGS=
744libunwind_LIBS=
745AC_ARG_WITH([libunwind],
746 [AS_HELP_STRING([--with-libunwind],
747 [use libunwind to implement stack tracing support])],
748 [case "${withval}" in
749 yes|no|check) ;;
750 *) with_libunwind=yes
751 libunwind_CPPFLAGS="-I${withval}/include"
752 libunwind_LDFLAGS="-L${withval}/lib" ;;
753 esac],
754 [with_libunwind=check]
755)
756
757use_libunwind=no
758AS_IF([test "x$with_libunwind" != xno],
759 [saved_CPPFLAGS="$CPPFLAGS"
760 CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS"
761
762 AC_CHECK_HEADERS([libunwind-ptrace.h],
763 [saved_LDFLAGS="$LDFLAGS"
764 LDFLAGS="$LDFLAGS $libunwind_LDFLAGS"
765
766 AC_CHECK_LIB([unwind], [backtrace],
767 [libunwind_LIBS="-lunwind $libunwind_LIBS"
768
769 AC_MSG_CHECKING([for unw_create_addr_space in libunwind-generic])
770 saved_LIBS="$LIBS"
771 LIBS="-lunwind-generic $libunwind_LIBS $LIBS"
772
773 AC_LINK_IFELSE(
774 [AC_LANG_PROGRAM([[#include <libunwind-ptrace.h>]],
775 [[return !unw_create_addr_space(0, 0)]])
776 ],
777 [AC_MSG_RESULT([yes])
778 libunwind_LIBS="-lunwind-generic $libunwind_LIBS"
779
780 AC_CHECK_LIB([unwind-ptrace], [_UPT_create],
781 [libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS"
782 use_libunwind=yes
783 ],
784 [if test "x$with_libunwind" != xcheck; then
785 AC_MSG_FAILURE([failed to find _UPT_create in libunwind-ptrace])
786 fi
787 ],
788 [$libunwind_LIBS]
789 )
790 ],
791 [AC_MSG_RESULT([no])
792 if test "x$with_libunwind" != xcheck; then
793 AC_MSG_FAILURE([failed to find unw_create_addr_space in libunwind-generic])
794 fi
795 ]
796 )
797
798 LIBS="$saved_LIBS"
799 ],
800 [if test "x$with_libunwind" != xcheck; then
801 AC_MSG_FAILURE([failed to find libunwind])
802 fi
803 ],
804 [$libunwind_LIBS]
805 )
806
807 LDFLAGS="$saved_LDFLAGS"
808 ],
809 [if test "x$with_libunwind" != xcheck; then
810 AC_MSG_FAILURE([failed to find libunwind-ptrace.h])
811 fi
812 ]
813 )
814
815 CPPFLAGS="$saved_CPPFLAGS"
816 ]
817)
818
819dnl enable libunwind
820AC_MSG_CHECKING([whether to enable stack tracing support using libunwind])
821if test "x$use_libunwind" = xyes; then
822 AC_DEFINE([USE_LIBUNWIND], 1, [Compile stack tracing functionality])
823 AC_SUBST(libunwind_LIBS)
824 AC_SUBST(libunwind_LDFLAGS)
825 AC_SUBST(libunwind_CPPFLAGS)
826fi
827AM_CONDITIONAL([USE_LIBUNWIND], [test "x$use_libunwind" = xyes])
828AC_MSG_RESULT([$use_libunwind])
829
Dmitry V. Levind59287d2015-01-13 04:57:27 +0000830if test "$arch" = mips && test "$no_create" != yes; then
831 mkdir -p linux/mips
832 if $srcdir/linux/mips/genstub.sh linux/mips; then
833 AC_MSG_RESULT([Generated MIPS syscallent stubs])
834 else
835 AC_MSG_FAILURE([Failed to generate syscallent stubs])
836 fi
837fi
838
Dmitry V. Levin679c47c2015-01-23 22:45:02 +0000839have_m32=no
840case "$arch" in
841 aarch64|powerpc64|sparc64|tile|x32|x86_64)
842 AC_MSG_CHECKING([for -m32 runtime support])
843 saved_CFLAGS="$CFLAGS"
844 CFLAGS="$CFLAGS -m32"
845 AC_RUN_IFELSE([AC_LANG_SOURCE([[int main(){return 0;}]])],
846 [have_m32=yes],[have_m32=no],[have_m32=no])
847 CFLAGS="$saved_CFLAGS"
848 AC_MSG_RESULT($have_m32)
849 ;;
850esac
851AM_CONDITIONAL([HAVE_M32_RUNTIME], [test "$have_m32" = yes])
852
853have_mx32=no
854case "$arch" in
855 x86_64)
856 AC_MSG_CHECKING([for -mx32 runtime support])
857 saved_CFLAGS="$CFLAGS"
858 CFLAGS="$CFLAGS -mx32"
859 AC_RUN_IFELSE([AC_LANG_SOURCE([[int main(){return 0;}]])],
860 [have_mx32=yes],[have_mx32=no],[have_mx32=no])
861 CFLAGS="$saved_CFLAGS"
862 AC_MSG_RESULT($have_mx32)
863 ;;
864esac
865AM_CONDITIONAL([HAVE_MX32_RUNTIME], [test "$have_mx32" = yes])
866
867AC_CONFIG_FILES([Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile])
Roland McGrath6d2b3492002-12-30 00:51:30 +0000868AC_OUTPUT