1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for strace 4.21.
4#
5# Report bugs to <strace-devel@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14# Copyright (c) 1999-2018 The strace developers.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140  # into an infinite loop, continuously re-executing ourselves.
141  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142    _as_can_reexec=no; export _as_can_reexec;
143    # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151  *v*x* | *x*v* ) as_opts=-vx ;;
152  *v* ) as_opts=-v ;;
153  *x* ) as_opts=-x ;;
154  * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161  fi
162  # We don't want this to propagate to other subprocesses.
163          { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166  emulate sh
167  NULLCMD=:
168  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169  # is contrary to our usage.  Disable this feature.
170  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171  setopt NO_GLOB_SUBST
172else
173  case \`(set -o) 2>/dev/null\` in #(
174  *posix*) :
175    set -o posix ;; #(
176  *) :
177     ;;
178esac
179fi
180"
181  as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195  exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203test \$(( 1 + 1 )) = 2 || exit 1"
204  if (eval "$as_required") 2>/dev/null; then :
205  as_have_required=yes
206else
207  as_have_required=no
208fi
209  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210
211else
212  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
213as_found=false
214for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215do
216  IFS=$as_save_IFS
217  test -z "$as_dir" && as_dir=.
218  as_found=:
219  case $as_dir in #(
220	 /*)
221	   for as_base in sh bash ksh sh5; do
222	     # Try only shells that exist, to save several forks.
223	     as_shell=$as_dir/$as_base
224	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
225		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  CONFIG_SHELL=$as_shell as_have_required=yes
227		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
228  break 2
229fi
230fi
231	   done;;
232       esac
233  as_found=false
234done
235$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
236	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
237  CONFIG_SHELL=$SHELL as_have_required=yes
238fi; }
239IFS=$as_save_IFS
240
241
242      if test "x$CONFIG_SHELL" != x; then :
243  export CONFIG_SHELL
244             # We cannot yet assume a decent shell, so we have to provide a
245# neutralization value for shells without unset; and this also
246# works around shells that cannot unset nonexistent variables.
247# Preserve -v and -x to the replacement shell.
248BASH_ENV=/dev/null
249ENV=/dev/null
250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251case $- in # ((((
252  *v*x* | *x*v* ) as_opts=-vx ;;
253  *v* ) as_opts=-v ;;
254  *x* ) as_opts=-x ;;
255  * ) as_opts= ;;
256esac
257exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258# Admittedly, this is quite paranoid, since all the known shells bail
259# out after a failed `exec'.
260$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261exit 255
262fi
263
264    if test x$as_have_required = xno; then :
265  $as_echo "$0: This script requires a shell more modern than all"
266  $as_echo "$0: the shells that I found on your system."
267  if test x${ZSH_VERSION+set} = xset ; then
268    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270  else
271    $as_echo "$0: Please tell bug-autoconf@gnu.org and
272$0: strace-devel@lists.sourceforge.net about your system,
273$0: including any error possibly output before this
274$0: message. Then install a modern shell, or manually run
275$0: the script under such a shell if you do have one."
276  fi
277  exit 1
278fi
279fi
280fi
281SHELL=${CONFIG_SHELL-/bin/sh}
282export SHELL
283# Unset more variables known to interfere with behavior of common tools.
284CLICOLOR_FORCE= GREP_OPTIONS=
285unset CLICOLOR_FORCE GREP_OPTIONS
286
287## --------------------- ##
288## M4sh Shell Functions. ##
289## --------------------- ##
290# as_fn_unset VAR
291# ---------------
292# Portably unset VAR.
293as_fn_unset ()
294{
295  { eval $1=; unset $1;}
296}
297as_unset=as_fn_unset
298
299# as_fn_set_status STATUS
300# -----------------------
301# Set $? to STATUS, without forking.
302as_fn_set_status ()
303{
304  return $1
305} # as_fn_set_status
306
307# as_fn_exit STATUS
308# -----------------
309# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310as_fn_exit ()
311{
312  set +e
313  as_fn_set_status $1
314  exit $1
315} # as_fn_exit
316
317# as_fn_mkdir_p
318# -------------
319# Create "$as_dir" as a directory, including parents if necessary.
320as_fn_mkdir_p ()
321{
322
323  case $as_dir in #(
324  -*) as_dir=./$as_dir;;
325  esac
326  test -d "$as_dir" || eval $as_mkdir_p || {
327    as_dirs=
328    while :; do
329      case $as_dir in #(
330      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331      *) as_qdir=$as_dir;;
332      esac
333      as_dirs="'$as_qdir' $as_dirs"
334      as_dir=`$as_dirname -- "$as_dir" ||
335$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
336	 X"$as_dir" : 'X\(//\)[^/]' \| \
337	 X"$as_dir" : 'X\(//\)$' \| \
338	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
339$as_echo X"$as_dir" |
340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
341	    s//\1/
342	    q
343	  }
344	  /^X\(\/\/\)[^/].*/{
345	    s//\1/
346	    q
347	  }
348	  /^X\(\/\/\)$/{
349	    s//\1/
350	    q
351	  }
352	  /^X\(\/\).*/{
353	    s//\1/
354	    q
355	  }
356	  s/.*/./; q'`
357      test -d "$as_dir" && break
358    done
359    test -z "$as_dirs" || eval "mkdir $as_dirs"
360  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361
362
363} # as_fn_mkdir_p
364
365# as_fn_executable_p FILE
366# -----------------------
367# Test if FILE is an executable regular file.
368as_fn_executable_p ()
369{
370  test -f "$1" && test -x "$1"
371} # as_fn_executable_p
372# as_fn_append VAR VALUE
373# ----------------------
374# Append the text in VALUE to the end of the definition contained in VAR. Take
375# advantage of any shell optimizations that allow amortized linear growth over
376# repeated appends, instead of the typical quadratic growth present in naive
377# implementations.
378if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
379  eval 'as_fn_append ()
380  {
381    eval $1+=\$2
382  }'
383else
384  as_fn_append ()
385  {
386    eval $1=\$$1\$2
387  }
388fi # as_fn_append
389
390# as_fn_arith ARG...
391# ------------------
392# Perform arithmetic evaluation on the ARGs, and store the result in the
393# global $as_val. Take advantage of shells that can avoid forks. The arguments
394# must be portable across $(()) and expr.
395if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
396  eval 'as_fn_arith ()
397  {
398    as_val=$(( $* ))
399  }'
400else
401  as_fn_arith ()
402  {
403    as_val=`expr "$@" || test $? -eq 1`
404  }
405fi # as_fn_arith
406
407
408# as_fn_error STATUS ERROR [LINENO LOG_FD]
409# ----------------------------------------
410# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
411# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
412# script with STATUS, using 1 if that was 0.
413as_fn_error ()
414{
415  as_status=$1; test $as_status -eq 0 && as_status=1
416  if test "$4"; then
417    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
418    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419  fi
420  $as_echo "$as_me: error: $2" >&2
421  as_fn_exit $as_status
422} # as_fn_error
423
424if expr a : '\(a\)' >/dev/null 2>&1 &&
425   test "X`expr 00001 : '.*\(...\)'`" = X001; then
426  as_expr=expr
427else
428  as_expr=false
429fi
430
431if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432  as_basename=basename
433else
434  as_basename=false
435fi
436
437if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438  as_dirname=dirname
439else
440  as_dirname=false
441fi
442
443as_me=`$as_basename -- "$0" ||
444$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
445	 X"$0" : 'X\(//\)$' \| \
446	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447$as_echo X/"$0" |
448    sed '/^.*\/\([^/][^/]*\)\/*$/{
449	    s//\1/
450	    q
451	  }
452	  /^X\/\(\/\/\)$/{
453	    s//\1/
454	    q
455	  }
456	  /^X\/\(\/\).*/{
457	    s//\1/
458	    q
459	  }
460	  s/.*/./; q'`
461
462# Avoid depending upon Character Ranges.
463as_cr_letters='abcdefghijklmnopqrstuvwxyz'
464as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
465as_cr_Letters=$as_cr_letters$as_cr_LETTERS
466as_cr_digits='0123456789'
467as_cr_alnum=$as_cr_Letters$as_cr_digits
468
469
470  as_lineno_1=$LINENO as_lineno_1a=$LINENO
471  as_lineno_2=$LINENO as_lineno_2a=$LINENO
472  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
473  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
474  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
475  sed -n '
476    p
477    /[$]LINENO/=
478  ' <$as_myself |
479    sed '
480      s/[$]LINENO.*/&-/
481      t lineno
482      b
483      :lineno
484      N
485      :loop
486      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487      t loop
488      s/-\n.*//
489    ' >$as_me.lineno &&
490  chmod +x "$as_me.lineno" ||
491    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
492
493  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
494  # already done that, so ensure we don't try to do so again and fall
495  # in an infinite loop.  This has already happened in practice.
496  _as_can_reexec=no; export _as_can_reexec
497  # Don't try to exec as it changes $[0], causing all sort of problems
498  # (the dirname of $[0] is not the place where we might find the
499  # original and so on.  Autoconf is especially sensitive to this).
500  . "./$as_me.lineno"
501  # Exit status is that of the last command.
502  exit
503}
504
505ECHO_C= ECHO_N= ECHO_T=
506case `echo -n x` in #(((((
507-n*)
508  case `echo 'xy\c'` in
509  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
510  xy)  ECHO_C='\c';;
511  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
512       ECHO_T='	';;
513  esac;;
514*)
515  ECHO_N='-n';;
516esac
517
518rm -f conf$$ conf$$.exe conf$$.file
519if test -d conf$$.dir; then
520  rm -f conf$$.dir/conf$$.file
521else
522  rm -f conf$$.dir
523  mkdir conf$$.dir 2>/dev/null
524fi
525if (echo >conf$$.file) 2>/dev/null; then
526  if ln -s conf$$.file conf$$ 2>/dev/null; then
527    as_ln_s='ln -s'
528    # ... but there are two gotchas:
529    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
530    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
531    # In both cases, we have to default to `cp -pR'.
532    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
533      as_ln_s='cp -pR'
534  elif ln conf$$.file conf$$ 2>/dev/null; then
535    as_ln_s=ln
536  else
537    as_ln_s='cp -pR'
538  fi
539else
540  as_ln_s='cp -pR'
541fi
542rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543rmdir conf$$.dir 2>/dev/null
544
545if mkdir -p . 2>/dev/null; then
546  as_mkdir_p='mkdir -p "$as_dir"'
547else
548  test -d ./-p && rmdir ./-p
549  as_mkdir_p=false
550fi
551
552as_test_x='test -x'
553as_executable_p=as_fn_executable_p
554
555# Sed expression to map a string onto a valid CPP name.
556as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557
558# Sed expression to map a string onto a valid variable name.
559as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560
561
562test -n "$DJDIR" || exec 7<&0 </dev/null
563exec 6>&1
564
565# Name of the host.
566# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
567# so uname gets run too.
568ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569
570#
571# Initializations.
572#
573ac_default_prefix=/usr/local
574ac_clean_files=
575ac_config_libobj_dir=.
576LIBOBJS=
577cross_compiling=no
578subdirs=
579MFLAGS=
580MAKEFLAGS=
581
582# Identity of this package.
583PACKAGE_NAME='strace'
584PACKAGE_TARNAME='strace'
585PACKAGE_VERSION='4.21'
586PACKAGE_STRING='strace 4.21'
587PACKAGE_BUGREPORT='strace-devel@lists.sourceforge.net'
588PACKAGE_URL='https://strace.io'
589
590ac_unique_file="strace.c"
591# Factoring default headers for most tests.
592ac_includes_default="\
593#include <stdio.h>
594#ifdef HAVE_SYS_TYPES_H
595# include <sys/types.h>
596#endif
597#ifdef HAVE_SYS_STAT_H
598# include <sys/stat.h>
599#endif
600#ifdef STDC_HEADERS
601# include <stdlib.h>
602# include <stddef.h>
603#else
604# ifdef HAVE_STDLIB_H
605#  include <stdlib.h>
606# endif
607#endif
608#ifdef HAVE_STRING_H
609# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610#  include <memory.h>
611# endif
612# include <string.h>
613#endif
614#ifdef HAVE_STRINGS_H
615# include <strings.h>
616#endif
617#ifdef HAVE_INTTYPES_H
618# include <inttypes.h>
619#endif
620#ifdef HAVE_STDINT_H
621# include <stdint.h>
622#endif
623#ifdef HAVE_UNISTD_H
624# include <unistd.h>
625#endif"
626
627ac_subst_vars='am__EXEEXT_FALSE
628am__EXEEXT_TRUE
629LTLIBOBJS
630LIBOBJS
631VALGRIND_CHECK_RULES
632valgrind_enabled_tools
633valgrind_tools
634ENABLE_VALGRIND_sgcheck
635ENABLE_VALGRIND_drd
636ENABLE_VALGRIND_helgrind
637ENABLE_VALGRIND_memcheck
638VALGRIND_ENABLED
639VALGRIND_ENABLED_FALSE
640VALGRIND_ENABLED_TRUE
641VALGRIND
642HAVE_MX32_MPERS_FALSE
643HAVE_MX32_MPERS_TRUE
644HAVE_MX32_RUNTIME_FALSE
645HAVE_MX32_RUNTIME_TRUE
646HAVE_M32_MPERS_FALSE
647HAVE_M32_MPERS_TRUE
648HAVE_M32_RUNTIME_FALSE
649HAVE_M32_RUNTIME_TRUE
650USE_DEMANGLE_FALSE
651USE_DEMANGLE_TRUE
652libiberty_CPPFLAGS
653libiberty_LDFLAGS
654libiberty_LIBS
655USE_LIBUNWIND_FALSE
656USE_LIBUNWIND_TRUE
657libunwind_CPPFLAGS
658libunwind_LDFLAGS
659libunwind_LIBS
660READELF
661PERL
662dl_LIBS
663SIZEOF_KERNEL_LONG_T
664SIZEOF_LONG
665MIPS_ABI
666arch_native
667cc_flags_mx32
668cc_flags_m32
669arch_mx32
670arch_m32
671arch
672MANPAGE_DATE
673COPYRIGHT_YEAR
674CODE_COVERAGE_RULES
675CODE_COVERAGE_LDFLAGS
676CODE_COVERAGE_LIBS
677CODE_COVERAGE_CXXFLAGS
678CODE_COVERAGE_CFLAGS
679CODE_COVERAGE_CPPFLAGS
680GENHTML
681LCOV
682GCOV
683CODE_COVERAGE_ENABLED
684CODE_COVERAGE_ENABLED_FALSE
685CODE_COVERAGE_ENABLED_TRUE
686SED
687EGREP
688GREP
689RANLIB
690WARN_CFLAGS_FOR_BUILD
691LDFLAGS_FOR_BUILD
692CPPFLAGS_FOR_BUILD
693CFLAGS_FOR_BUILD
694BUILD_OBJEXT
695BUILD_EXEEXT
696CPP_FOR_BUILD
697ac_ct_CC_FOR_BUILD
698CC_FOR_BUILD
699WARN_CFLAGS
700CPP
701am__fastdepCC_FALSE
702am__fastdepCC_TRUE
703CCDEPMODE
704am__nodep
705AMDEPBACKSLASH
706AMDEP_FALSE
707AMDEP_TRUE
708am__quote
709am__include
710DEPDIR
711OBJEXT
712EXEEXT
713ac_ct_CC
714CPPFLAGS
715LDFLAGS
716CFLAGS
717CC
718DEB_CHANGELOGTIME
719RPM_CHANGELOGTIME
720host_os
721host_vendor
722host_cpu
723host
724build_os
725build_vendor
726build_cpu
727build
728MAINT
729MAINTAINER_MODE_FALSE
730MAINTAINER_MODE_TRUE
731AM_BACKSLASH
732AM_DEFAULT_VERBOSITY
733AM_DEFAULT_V
734AM_V
735am__untar
736am__tar
737AMTAR
738am__leading_dot
739SET_MAKE
740AWK
741mkdir_p
742MKDIR_P
743INSTALL_STRIP_PROGRAM
744STRIP
745install_sh
746MAKEINFO
747AUTOHEADER
748AUTOMAKE
749AUTOCONF
750ACLOCAL
751VERSION
752PACKAGE
753CYGPATH_W
754am__isrc
755INSTALL_DATA
756INSTALL_SCRIPT
757INSTALL_PROGRAM
758target_alias
759host_alias
760build_alias
761LIBS
762ECHO_T
763ECHO_N
764ECHO_C
765DEFS
766mandir
767localedir
768libdir
769psdir
770pdfdir
771dvidir
772htmldir
773infodir
774docdir
775oldincludedir
776includedir
777localstatedir
778sharedstatedir
779sysconfdir
780datadir
781datarootdir
782libexecdir
783sbindir
784bindir
785program_transform_name
786prefix
787exec_prefix
788PACKAGE_URL
789PACKAGE_BUGREPORT
790PACKAGE_STRING
791PACKAGE_VERSION
792PACKAGE_TARNAME
793PACKAGE_NAME
794PATH_SEPARATOR
795SHELL'
796ac_subst_files=''
797ac_user_opts='
798enable_option_checking
799enable_silent_rules
800enable_maintainer_mode
801enable_dependency_tracking
802enable_gcc_Werror
803with_gcov
804enable_code_coverage
805enable_arm_oabi
806with_libunwind
807with_libiberty
808enable_mpers
809enable_valgrind
810enable_valgrind_memcheck
811enable_valgrind_helgrind
812enable_valgrind_drd
813enable_valgrind_sgcheck
814'
815      ac_precious_vars='build_alias
816host_alias
817target_alias
818CC
819CFLAGS
820LDFLAGS
821LIBS
822CPPFLAGS
823CPP'
824
825
826# Initialize some variables set by options.
827ac_init_help=
828ac_init_version=false
829ac_unrecognized_opts=
830ac_unrecognized_sep=
831# The variables have the same names as the options, with
832# dashes changed to underlines.
833cache_file=/dev/null
834exec_prefix=NONE
835no_create=
836no_recursion=
837prefix=NONE
838program_prefix=NONE
839program_suffix=NONE
840program_transform_name=s,x,x,
841silent=
842site=
843srcdir=
844verbose=
845x_includes=NONE
846x_libraries=NONE
847
848# Installation directory options.
849# These are left unexpanded so users can "make install exec_prefix=/foo"
850# and all the variables that are supposed to be based on exec_prefix
851# by default will actually change.
852# Use braces instead of parens because sh, perl, etc. also accept them.
853# (The list follows the same order as the GNU Coding Standards.)
854bindir='${exec_prefix}/bin'
855sbindir='${exec_prefix}/sbin'
856libexecdir='${exec_prefix}/libexec'
857datarootdir='${prefix}/share'
858datadir='${datarootdir}'
859sysconfdir='${prefix}/etc'
860sharedstatedir='${prefix}/com'
861localstatedir='${prefix}/var'
862includedir='${prefix}/include'
863oldincludedir='/usr/include'
864docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
865infodir='${datarootdir}/info'
866htmldir='${docdir}'
867dvidir='${docdir}'
868pdfdir='${docdir}'
869psdir='${docdir}'
870libdir='${exec_prefix}/lib'
871localedir='${datarootdir}/locale'
872mandir='${datarootdir}/man'
873
874ac_prev=
875ac_dashdash=
876for ac_option
877do
878  # If the previous option needs an argument, assign it.
879  if test -n "$ac_prev"; then
880    eval $ac_prev=\$ac_option
881    ac_prev=
882    continue
883  fi
884
885  case $ac_option in
886  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
887  *=)   ac_optarg= ;;
888  *)    ac_optarg=yes ;;
889  esac
890
891  # Accept the important Cygnus configure options, so we can diagnose typos.
892
893  case $ac_dashdash$ac_option in
894  --)
895    ac_dashdash=yes ;;
896
897  -bindir | --bindir | --bindi | --bind | --bin | --bi)
898    ac_prev=bindir ;;
899  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
900    bindir=$ac_optarg ;;
901
902  -build | --build | --buil | --bui | --bu)
903    ac_prev=build_alias ;;
904  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
905    build_alias=$ac_optarg ;;
906
907  -cache-file | --cache-file | --cache-fil | --cache-fi \
908  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
909    ac_prev=cache_file ;;
910  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
911  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
912    cache_file=$ac_optarg ;;
913
914  --config-cache | -C)
915    cache_file=config.cache ;;
916
917  -datadir | --datadir | --datadi | --datad)
918    ac_prev=datadir ;;
919  -datadir=* | --datadir=* | --datadi=* | --datad=*)
920    datadir=$ac_optarg ;;
921
922  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
923  | --dataroo | --dataro | --datar)
924    ac_prev=datarootdir ;;
925  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
926  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
927    datarootdir=$ac_optarg ;;
928
929  -disable-* | --disable-*)
930    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931    # Reject names that are not valid shell variable names.
932    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933      as_fn_error $? "invalid feature name: $ac_useropt"
934    ac_useropt_orig=$ac_useropt
935    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936    case $ac_user_opts in
937      *"
938"enable_$ac_useropt"
939"*) ;;
940      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941	 ac_unrecognized_sep=', ';;
942    esac
943    eval enable_$ac_useropt=no ;;
944
945  -docdir | --docdir | --docdi | --doc | --do)
946    ac_prev=docdir ;;
947  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
948    docdir=$ac_optarg ;;
949
950  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
951    ac_prev=dvidir ;;
952  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
953    dvidir=$ac_optarg ;;
954
955  -enable-* | --enable-*)
956    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957    # Reject names that are not valid shell variable names.
958    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
959      as_fn_error $? "invalid feature name: $ac_useropt"
960    ac_useropt_orig=$ac_useropt
961    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962    case $ac_user_opts in
963      *"
964"enable_$ac_useropt"
965"*) ;;
966      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967	 ac_unrecognized_sep=', ';;
968    esac
969    eval enable_$ac_useropt=\$ac_optarg ;;
970
971  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
972  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
973  | --exec | --exe | --ex)
974    ac_prev=exec_prefix ;;
975  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
976  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
977  | --exec=* | --exe=* | --ex=*)
978    exec_prefix=$ac_optarg ;;
979
980  -gas | --gas | --ga | --g)
981    # Obsolete; use --with-gas.
982    with_gas=yes ;;
983
984  -help | --help | --hel | --he | -h)
985    ac_init_help=long ;;
986  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
987    ac_init_help=recursive ;;
988  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
989    ac_init_help=short ;;
990
991  -host | --host | --hos | --ho)
992    ac_prev=host_alias ;;
993  -host=* | --host=* | --hos=* | --ho=*)
994    host_alias=$ac_optarg ;;
995
996  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
997    ac_prev=htmldir ;;
998  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
999  | --ht=*)
1000    htmldir=$ac_optarg ;;
1001
1002  -includedir | --includedir | --includedi | --included | --include \
1003  | --includ | --inclu | --incl | --inc)
1004    ac_prev=includedir ;;
1005  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1006  | --includ=* | --inclu=* | --incl=* | --inc=*)
1007    includedir=$ac_optarg ;;
1008
1009  -infodir | --infodir | --infodi | --infod | --info | --inf)
1010    ac_prev=infodir ;;
1011  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1012    infodir=$ac_optarg ;;
1013
1014  -libdir | --libdir | --libdi | --libd)
1015    ac_prev=libdir ;;
1016  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1017    libdir=$ac_optarg ;;
1018
1019  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1020  | --libexe | --libex | --libe)
1021    ac_prev=libexecdir ;;
1022  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1023  | --libexe=* | --libex=* | --libe=*)
1024    libexecdir=$ac_optarg ;;
1025
1026  -localedir | --localedir | --localedi | --localed | --locale)
1027    ac_prev=localedir ;;
1028  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1029    localedir=$ac_optarg ;;
1030
1031  -localstatedir | --localstatedir | --localstatedi | --localstated \
1032  | --localstate | --localstat | --localsta | --localst | --locals)
1033    ac_prev=localstatedir ;;
1034  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1035  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1036    localstatedir=$ac_optarg ;;
1037
1038  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1039    ac_prev=mandir ;;
1040  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1041    mandir=$ac_optarg ;;
1042
1043  -nfp | --nfp | --nf)
1044    # Obsolete; use --without-fp.
1045    with_fp=no ;;
1046
1047  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1048  | --no-cr | --no-c | -n)
1049    no_create=yes ;;
1050
1051  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1052  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1053    no_recursion=yes ;;
1054
1055  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1056  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1057  | --oldin | --oldi | --old | --ol | --o)
1058    ac_prev=oldincludedir ;;
1059  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1060  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1061  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1062    oldincludedir=$ac_optarg ;;
1063
1064  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1065    ac_prev=prefix ;;
1066  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1067    prefix=$ac_optarg ;;
1068
1069  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1070  | --program-pre | --program-pr | --program-p)
1071    ac_prev=program_prefix ;;
1072  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1073  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1074    program_prefix=$ac_optarg ;;
1075
1076  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1077  | --program-suf | --program-su | --program-s)
1078    ac_prev=program_suffix ;;
1079  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1080  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1081    program_suffix=$ac_optarg ;;
1082
1083  -program-transform-name | --program-transform-name \
1084  | --program-transform-nam | --program-transform-na \
1085  | --program-transform-n | --program-transform- \
1086  | --program-transform | --program-transfor \
1087  | --program-transfo | --program-transf \
1088  | --program-trans | --program-tran \
1089  | --progr-tra | --program-tr | --program-t)
1090    ac_prev=program_transform_name ;;
1091  -program-transform-name=* | --program-transform-name=* \
1092  | --program-transform-nam=* | --program-transform-na=* \
1093  | --program-transform-n=* | --program-transform-=* \
1094  | --program-transform=* | --program-transfor=* \
1095  | --program-transfo=* | --program-transf=* \
1096  | --program-trans=* | --program-tran=* \
1097  | --progr-tra=* | --program-tr=* | --program-t=*)
1098    program_transform_name=$ac_optarg ;;
1099
1100  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1101    ac_prev=pdfdir ;;
1102  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1103    pdfdir=$ac_optarg ;;
1104
1105  -psdir | --psdir | --psdi | --psd | --ps)
1106    ac_prev=psdir ;;
1107  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1108    psdir=$ac_optarg ;;
1109
1110  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1111  | -silent | --silent | --silen | --sile | --sil)
1112    silent=yes ;;
1113
1114  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1115    ac_prev=sbindir ;;
1116  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1117  | --sbi=* | --sb=*)
1118    sbindir=$ac_optarg ;;
1119
1120  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1121  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1122  | --sharedst | --shareds | --shared | --share | --shar \
1123  | --sha | --sh)
1124    ac_prev=sharedstatedir ;;
1125  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1126  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1127  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1128  | --sha=* | --sh=*)
1129    sharedstatedir=$ac_optarg ;;
1130
1131  -site | --site | --sit)
1132    ac_prev=site ;;
1133  -site=* | --site=* | --sit=*)
1134    site=$ac_optarg ;;
1135
1136  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1137    ac_prev=srcdir ;;
1138  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1139    srcdir=$ac_optarg ;;
1140
1141  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1142  | --syscon | --sysco | --sysc | --sys | --sy)
1143    ac_prev=sysconfdir ;;
1144  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1145  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1146    sysconfdir=$ac_optarg ;;
1147
1148  -target | --target | --targe | --targ | --tar | --ta | --t)
1149    ac_prev=target_alias ;;
1150  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1151    target_alias=$ac_optarg ;;
1152
1153  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1154    verbose=yes ;;
1155
1156  -version | --version | --versio | --versi | --vers | -V)
1157    ac_init_version=: ;;
1158
1159  -with-* | --with-*)
1160    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1161    # Reject names that are not valid shell variable names.
1162    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163      as_fn_error $? "invalid package name: $ac_useropt"
1164    ac_useropt_orig=$ac_useropt
1165    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166    case $ac_user_opts in
1167      *"
1168"with_$ac_useropt"
1169"*) ;;
1170      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171	 ac_unrecognized_sep=', ';;
1172    esac
1173    eval with_$ac_useropt=\$ac_optarg ;;
1174
1175  -without-* | --without-*)
1176    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177    # Reject names that are not valid shell variable names.
1178    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179      as_fn_error $? "invalid package name: $ac_useropt"
1180    ac_useropt_orig=$ac_useropt
1181    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182    case $ac_user_opts in
1183      *"
1184"with_$ac_useropt"
1185"*) ;;
1186      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187	 ac_unrecognized_sep=', ';;
1188    esac
1189    eval with_$ac_useropt=no ;;
1190
1191  --x)
1192    # Obsolete; use --with-x.
1193    with_x=yes ;;
1194
1195  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1196  | --x-incl | --x-inc | --x-in | --x-i)
1197    ac_prev=x_includes ;;
1198  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1199  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1200    x_includes=$ac_optarg ;;
1201
1202  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1203  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1204    ac_prev=x_libraries ;;
1205  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1206  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1207    x_libraries=$ac_optarg ;;
1208
1209  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1210Try \`$0 --help' for more information"
1211    ;;
1212
1213  *=*)
1214    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1215    # Reject names that are not valid shell variable names.
1216    case $ac_envvar in #(
1217      '' | [0-9]* | *[!_$as_cr_alnum]* )
1218      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1219    esac
1220    eval $ac_envvar=\$ac_optarg
1221    export $ac_envvar ;;
1222
1223  *)
1224    # FIXME: should be removed in autoconf 3.0.
1225    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1227      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229    ;;
1230
1231  esac
1232done
1233
1234if test -n "$ac_prev"; then
1235  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1236  as_fn_error $? "missing argument to $ac_option"
1237fi
1238
1239if test -n "$ac_unrecognized_opts"; then
1240  case $enable_option_checking in
1241    no) ;;
1242    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1243    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1244  esac
1245fi
1246
1247# Check all directory arguments for consistency.
1248for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249		datadir sysconfdir sharedstatedir localstatedir includedir \
1250		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251		libdir localedir mandir
1252do
1253  eval ac_val=\$$ac_var
1254  # Remove trailing slashes.
1255  case $ac_val in
1256    */ )
1257      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258      eval $ac_var=\$ac_val;;
1259  esac
1260  # Be sure to have absolute directory names.
1261  case $ac_val in
1262    [\\/$]* | ?:[\\/]* )  continue;;
1263    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1264  esac
1265  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1266done
1267
1268# There might be people who depend on the old broken behavior: `$host'
1269# used to hold the argument of --host etc.
1270# FIXME: To remove some day.
1271build=$build_alias
1272host=$host_alias
1273target=$target_alias
1274
1275# FIXME: To remove some day.
1276if test "x$host_alias" != x; then
1277  if test "x$build_alias" = x; then
1278    cross_compiling=maybe
1279  elif test "x$build_alias" != "x$host_alias"; then
1280    cross_compiling=yes
1281  fi
1282fi
1283
1284ac_tool_prefix=
1285test -n "$host_alias" && ac_tool_prefix=$host_alias-
1286
1287test "$silent" = yes && exec 6>/dev/null
1288
1289
1290ac_pwd=`pwd` && test -n "$ac_pwd" &&
1291ac_ls_di=`ls -di .` &&
1292ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1293  as_fn_error $? "working directory cannot be determined"
1294test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1295  as_fn_error $? "pwd does not report name of working directory"
1296
1297
1298# Find the source files, if location was not specified.
1299if test -z "$srcdir"; then
1300  ac_srcdir_defaulted=yes
1301  # Try the directory containing this script, then the parent directory.
1302  ac_confdir=`$as_dirname -- "$as_myself" ||
1303$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1304	 X"$as_myself" : 'X\(//\)[^/]' \| \
1305	 X"$as_myself" : 'X\(//\)$' \| \
1306	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1307$as_echo X"$as_myself" |
1308    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309	    s//\1/
1310	    q
1311	  }
1312	  /^X\(\/\/\)[^/].*/{
1313	    s//\1/
1314	    q
1315	  }
1316	  /^X\(\/\/\)$/{
1317	    s//\1/
1318	    q
1319	  }
1320	  /^X\(\/\).*/{
1321	    s//\1/
1322	    q
1323	  }
1324	  s/.*/./; q'`
1325  srcdir=$ac_confdir
1326  if test ! -r "$srcdir/$ac_unique_file"; then
1327    srcdir=..
1328  fi
1329else
1330  ac_srcdir_defaulted=no
1331fi
1332if test ! -r "$srcdir/$ac_unique_file"; then
1333  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1334  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1335fi
1336ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1337ac_abs_confdir=`(
1338	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1339	pwd)`
1340# When building in place, set srcdir=.
1341if test "$ac_abs_confdir" = "$ac_pwd"; then
1342  srcdir=.
1343fi
1344# Remove unnecessary trailing slashes from srcdir.
1345# Double slashes in file names in object file debugging info
1346# mess up M-x gdb in Emacs.
1347case $srcdir in
1348*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1349esac
1350for ac_var in $ac_precious_vars; do
1351  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1352  eval ac_env_${ac_var}_value=\$${ac_var}
1353  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1354  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1355done
1356
1357#
1358# Report the --help message.
1359#
1360if test "$ac_init_help" = "long"; then
1361  # Omit some internal or obsolete options to make the list less imposing.
1362  # This message is too long to be a string in the A/UX 3.1 sh.
1363  cat <<_ACEOF
1364\`configure' configures strace 4.21 to adapt to many kinds of systems.
1365
1366Usage: $0 [OPTION]... [VAR=VALUE]...
1367
1368To assign environment variables (e.g., CC, CFLAGS...), specify them as
1369VAR=VALUE.  See below for descriptions of some of the useful variables.
1370
1371Defaults for the options are specified in brackets.
1372
1373Configuration:
1374  -h, --help              display this help and exit
1375      --help=short        display options specific to this package
1376      --help=recursive    display the short help of all the included packages
1377  -V, --version           display version information and exit
1378  -q, --quiet, --silent   do not print \`checking ...' messages
1379      --cache-file=FILE   cache test results in FILE [disabled]
1380  -C, --config-cache      alias for \`--cache-file=config.cache'
1381  -n, --no-create         do not create output files
1382      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1383
1384Installation directories:
1385  --prefix=PREFIX         install architecture-independent files in PREFIX
1386                          [$ac_default_prefix]
1387  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1388                          [PREFIX]
1389
1390By default, \`make install' will install all the files in
1391\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1392an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1393for instance \`--prefix=\$HOME'.
1394
1395For better control, use the options below.
1396
1397Fine tuning of the installation directories:
1398  --bindir=DIR            user executables [EPREFIX/bin]
1399  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1400  --libexecdir=DIR        program executables [EPREFIX/libexec]
1401  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1402  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1403  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1404  --libdir=DIR            object code libraries [EPREFIX/lib]
1405  --includedir=DIR        C header files [PREFIX/include]
1406  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1407  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1408  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1409  --infodir=DIR           info documentation [DATAROOTDIR/info]
1410  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1411  --mandir=DIR            man documentation [DATAROOTDIR/man]
1412  --docdir=DIR            documentation root [DATAROOTDIR/doc/strace]
1413  --htmldir=DIR           html documentation [DOCDIR]
1414  --dvidir=DIR            dvi documentation [DOCDIR]
1415  --pdfdir=DIR            pdf documentation [DOCDIR]
1416  --psdir=DIR             ps documentation [DOCDIR]
1417_ACEOF
1418
1419  cat <<\_ACEOF
1420
1421Program names:
1422  --program-prefix=PREFIX            prepend PREFIX to installed program names
1423  --program-suffix=SUFFIX            append SUFFIX to installed program names
1424  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1425
1426System types:
1427  --build=BUILD     configure for building on BUILD [guessed]
1428  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1429_ACEOF
1430fi
1431
1432if test -n "$ac_init_help"; then
1433  case $ac_init_help in
1434     short | recursive ) echo "Configuration of strace 4.21:";;
1435   esac
1436  cat <<\_ACEOF
1437
1438Optional Features:
1439  --disable-option-checking  ignore unrecognized --enable/--with options
1440  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1441  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1442  --enable-silent-rules   less verbose build output (undo: "make V=1")
1443  --disable-silent-rules  verbose build output (undo: "make V=0")
1444  --enable-maintainer-mode
1445                          enable make rules and dependencies not useful (and
1446                          sometimes confusing) to the casual installer
1447  --enable-dependency-tracking
1448                          do not reject slow dependency extractors
1449  --disable-dependency-tracking
1450                          speeds up one-time build
1451  --enable-gcc-Werror     turn on gcc's -Werror option
1452  --enable-code-coverage  Whether to enable code coverage support
1453  --enable-arm-oabi       enable OABI support on ARM EABI
1454  --enable-mpers=yes|no|check|m32|mx32
1455                          whether to enable multiple personalities support
1456                          required for proper decoding of structures used by
1457                          tracees with personalities that differ from the
1458                          personality of strace, default is yes.
1459  --enable-valgrind       Whether to enable Valgrind on the unit tests
1460  --disable-valgrind-memcheck
1461                          Whether to skip memcheck during the Valgrind tests
1462  --disable-valgrind-helgrind
1463                          Whether to skip helgrind during the Valgrind tests
1464  --disable-valgrind-drd  Whether to skip drd during the Valgrind tests
1465  --enable-valgrind-sgcheck
1466                          Whether to use sgcheck during the Valgrind tests
1467
1468Optional Packages:
1469  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1470  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1471  --with-gcov=GCOV        use given GCOV for coverage (GCOV=gcov).
1472  --with-libunwind        use libunwind to implement stack tracing support
1473  --with-libiberty        use libiberty to demangle symbols in stack trace
1474
1475Some influential environment variables:
1476  CC          C compiler command
1477  CFLAGS      C compiler flags
1478  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1479              nonstandard directory <lib dir>
1480  LIBS        libraries to pass to the linker, e.g. -l<library>
1481  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1482              you have headers in a nonstandard directory <include dir>
1483  CPP         C preprocessor
1484
1485Use these variables to override the choices made by `configure' or to help
1486it to find libraries and programs with nonstandard names/locations.
1487
1488Report bugs to <strace-devel@lists.sourceforge.net>.
1489strace home page: <https://strace.io>.
1490_ACEOF
1491ac_status=$?
1492fi
1493
1494if test "$ac_init_help" = "recursive"; then
1495  # If there are subdirs, report their specific --help.
1496  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1497    test -d "$ac_dir" ||
1498      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1499      continue
1500    ac_builddir=.
1501
1502case "$ac_dir" in
1503.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504*)
1505  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1506  # A ".." for each directory in $ac_dir_suffix.
1507  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1508  case $ac_top_builddir_sub in
1509  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1510  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1511  esac ;;
1512esac
1513ac_abs_top_builddir=$ac_pwd
1514ac_abs_builddir=$ac_pwd$ac_dir_suffix
1515# for backward compatibility:
1516ac_top_builddir=$ac_top_build_prefix
1517
1518case $srcdir in
1519  .)  # We are building in place.
1520    ac_srcdir=.
1521    ac_top_srcdir=$ac_top_builddir_sub
1522    ac_abs_top_srcdir=$ac_pwd ;;
1523  [\\/]* | ?:[\\/]* )  # Absolute name.
1524    ac_srcdir=$srcdir$ac_dir_suffix;
1525    ac_top_srcdir=$srcdir
1526    ac_abs_top_srcdir=$srcdir ;;
1527  *) # Relative name.
1528    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1529    ac_top_srcdir=$ac_top_build_prefix$srcdir
1530    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531esac
1532ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533
1534    cd "$ac_dir" || { ac_status=$?; continue; }
1535    # Check for guested configure.
1536    if test -f "$ac_srcdir/configure.gnu"; then
1537      echo &&
1538      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1539    elif test -f "$ac_srcdir/configure"; then
1540      echo &&
1541      $SHELL "$ac_srcdir/configure" --help=recursive
1542    else
1543      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544    fi || ac_status=$?
1545    cd "$ac_pwd" || { ac_status=$?; break; }
1546  done
1547fi
1548
1549test -n "$ac_init_help" && exit $ac_status
1550if $ac_init_version; then
1551  cat <<\_ACEOF
1552strace configure 4.21
1553generated by GNU Autoconf 2.69
1554
1555Copyright (C) 2012 Free Software Foundation, Inc.
1556This configure script is free software; the Free Software Foundation
1557gives unlimited permission to copy, distribute and modify it.
1558
1559Copyright (c) 1999-2018 The strace developers.
1560_ACEOF
1561  exit
1562fi
1563
1564## ------------------------ ##
1565## Autoconf initialization. ##
1566## ------------------------ ##
1567
1568# ac_fn_c_try_compile LINENO
1569# --------------------------
1570# Try to compile conftest.$ac_ext, and return whether this succeeded.
1571ac_fn_c_try_compile ()
1572{
1573  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574  rm -f conftest.$ac_objext
1575  if { { ac_try="$ac_compile"
1576case "(($ac_try" in
1577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578  *) ac_try_echo=$ac_try;;
1579esac
1580eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581$as_echo "$ac_try_echo"; } >&5
1582  (eval "$ac_compile") 2>conftest.err
1583  ac_status=$?
1584  if test -s conftest.err; then
1585    grep -v '^ *+' conftest.err >conftest.er1
1586    cat conftest.er1 >&5
1587    mv -f conftest.er1 conftest.err
1588  fi
1589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590  test $ac_status = 0; } && {
1591	 test -z "$ac_c_werror_flag" ||
1592	 test ! -s conftest.err
1593       } && test -s conftest.$ac_objext; then :
1594  ac_retval=0
1595else
1596  $as_echo "$as_me: failed program was:" >&5
1597sed 's/^/| /' conftest.$ac_ext >&5
1598
1599	ac_retval=1
1600fi
1601  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602  as_fn_set_status $ac_retval
1603
1604} # ac_fn_c_try_compile
1605
1606# ac_fn_c_try_cpp LINENO
1607# ----------------------
1608# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1609ac_fn_c_try_cpp ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  if { { ac_try="$ac_cpp conftest.$ac_ext"
1613case "(($ac_try" in
1614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615  *) ac_try_echo=$ac_try;;
1616esac
1617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618$as_echo "$ac_try_echo"; } >&5
1619  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1620  ac_status=$?
1621  if test -s conftest.err; then
1622    grep -v '^ *+' conftest.err >conftest.er1
1623    cat conftest.er1 >&5
1624    mv -f conftest.er1 conftest.err
1625  fi
1626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627  test $ac_status = 0; } > conftest.i && {
1628	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1629	 test ! -s conftest.err
1630       }; then :
1631  ac_retval=0
1632else
1633  $as_echo "$as_me: failed program was:" >&5
1634sed 's/^/| /' conftest.$ac_ext >&5
1635
1636    ac_retval=1
1637fi
1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639  as_fn_set_status $ac_retval
1640
1641} # ac_fn_c_try_cpp
1642
1643# ac_fn_c_try_link LINENO
1644# -----------------------
1645# Try to link conftest.$ac_ext, and return whether this succeeded.
1646ac_fn_c_try_link ()
1647{
1648  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649  rm -f conftest.$ac_objext conftest$ac_exeext
1650  if { { ac_try="$ac_link"
1651case "(($ac_try" in
1652  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653  *) ac_try_echo=$ac_try;;
1654esac
1655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656$as_echo "$ac_try_echo"; } >&5
1657  (eval "$ac_link") 2>conftest.err
1658  ac_status=$?
1659  if test -s conftest.err; then
1660    grep -v '^ *+' conftest.err >conftest.er1
1661    cat conftest.er1 >&5
1662    mv -f conftest.er1 conftest.err
1663  fi
1664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665  test $ac_status = 0; } && {
1666	 test -z "$ac_c_werror_flag" ||
1667	 test ! -s conftest.err
1668       } && test -s conftest$ac_exeext && {
1669	 test "$cross_compiling" = yes ||
1670	 test -x conftest$ac_exeext
1671       }; then :
1672  ac_retval=0
1673else
1674  $as_echo "$as_me: failed program was:" >&5
1675sed 's/^/| /' conftest.$ac_ext >&5
1676
1677	ac_retval=1
1678fi
1679  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1680  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1681  # interfere with the next link command; also delete a directory that is
1682  # left behind by Apple's compiler.  We do this before executing the actions.
1683  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  as_fn_set_status $ac_retval
1686
1687} # ac_fn_c_try_link
1688
1689# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1690# -------------------------------------------------------
1691# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1692# the include files in INCLUDES and setting the cache variable VAR
1693# accordingly.
1694ac_fn_c_check_header_mongrel ()
1695{
1696  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697  if eval \${$3+:} false; then :
1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699$as_echo_n "checking for $2... " >&6; }
1700if eval \${$3+:} false; then :
1701  $as_echo_n "(cached) " >&6
1702fi
1703eval ac_res=\$$3
1704	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1705$as_echo "$ac_res" >&6; }
1706else
1707  # Is the header compilable?
1708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1709$as_echo_n "checking $2 usability... " >&6; }
1710cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711/* end confdefs.h.  */
1712$4
1713#include <$2>
1714_ACEOF
1715if ac_fn_c_try_compile "$LINENO"; then :
1716  ac_header_compiler=yes
1717else
1718  ac_header_compiler=no
1719fi
1720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1722$as_echo "$ac_header_compiler" >&6; }
1723
1724# Is the header present?
1725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1726$as_echo_n "checking $2 presence... " >&6; }
1727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728/* end confdefs.h.  */
1729#include <$2>
1730_ACEOF
1731if ac_fn_c_try_cpp "$LINENO"; then :
1732  ac_header_preproc=yes
1733else
1734  ac_header_preproc=no
1735fi
1736rm -f conftest.err conftest.i conftest.$ac_ext
1737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1738$as_echo "$ac_header_preproc" >&6; }
1739
1740# So?  What about this header?
1741case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1742  yes:no: )
1743    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1744$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1745    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1747    ;;
1748  no:yes:* )
1749    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1750$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1751    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1752$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1753    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1754$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1755    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1756$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1757    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1758$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1759( $as_echo "## ------------------------------------------------- ##
1760## Report this to strace-devel@lists.sourceforge.net ##
1761## ------------------------------------------------- ##"
1762     ) | sed "s/^/$as_me: WARNING:     /" >&2
1763    ;;
1764esac
1765  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766$as_echo_n "checking for $2... " >&6; }
1767if eval \${$3+:} false; then :
1768  $as_echo_n "(cached) " >&6
1769else
1770  eval "$3=\$ac_header_compiler"
1771fi
1772eval ac_res=\$$3
1773	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774$as_echo "$ac_res" >&6; }
1775fi
1776  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
1778} # ac_fn_c_check_header_mongrel
1779
1780# ac_fn_c_try_run LINENO
1781# ----------------------
1782# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1783# that executables *can* be run.
1784ac_fn_c_try_run ()
1785{
1786  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787  if { { ac_try="$ac_link"
1788case "(($ac_try" in
1789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790  *) ac_try_echo=$ac_try;;
1791esac
1792eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793$as_echo "$ac_try_echo"; } >&5
1794  (eval "$ac_link") 2>&5
1795  ac_status=$?
1796  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1798  { { case "(($ac_try" in
1799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800  *) ac_try_echo=$ac_try;;
1801esac
1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803$as_echo "$ac_try_echo"; } >&5
1804  (eval "$ac_try") 2>&5
1805  ac_status=$?
1806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807  test $ac_status = 0; }; }; then :
1808  ac_retval=0
1809else
1810  $as_echo "$as_me: program exited with status $ac_status" >&5
1811       $as_echo "$as_me: failed program was:" >&5
1812sed 's/^/| /' conftest.$ac_ext >&5
1813
1814       ac_retval=$ac_status
1815fi
1816  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818  as_fn_set_status $ac_retval
1819
1820} # ac_fn_c_try_run
1821
1822# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823# -------------------------------------------------------
1824# Tests whether HEADER exists and can be compiled using the include files in
1825# INCLUDES, setting the cache variable VAR accordingly.
1826ac_fn_c_check_header_compile ()
1827{
1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830$as_echo_n "checking for $2... " >&6; }
1831if eval \${$3+:} false; then :
1832  $as_echo_n "(cached) " >&6
1833else
1834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835/* end confdefs.h.  */
1836$4
1837#include <$2>
1838_ACEOF
1839if ac_fn_c_try_compile "$LINENO"; then :
1840  eval "$3=yes"
1841else
1842  eval "$3=no"
1843fi
1844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845fi
1846eval ac_res=\$$3
1847	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848$as_echo "$ac_res" >&6; }
1849  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850
1851} # ac_fn_c_check_header_compile
1852
1853# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1854# --------------------------------------------
1855# Tries to find the compile-time value of EXPR in a program that includes
1856# INCLUDES, setting VAR accordingly. Returns whether the value could be
1857# computed
1858ac_fn_c_compute_int ()
1859{
1860  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861  if test "$cross_compiling" = yes; then
1862    # Depending upon the size, compute the lo and hi bounds.
1863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865$4
1866int
1867main ()
1868{
1869static int test_array [1 - 2 * !(($2) >= 0)];
1870test_array [0] = 0;
1871return test_array [0];
1872
1873  ;
1874  return 0;
1875}
1876_ACEOF
1877if ac_fn_c_try_compile "$LINENO"; then :
1878  ac_lo=0 ac_mid=0
1879  while :; do
1880    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881/* end confdefs.h.  */
1882$4
1883int
1884main ()
1885{
1886static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1887test_array [0] = 0;
1888return test_array [0];
1889
1890  ;
1891  return 0;
1892}
1893_ACEOF
1894if ac_fn_c_try_compile "$LINENO"; then :
1895  ac_hi=$ac_mid; break
1896else
1897  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1898			if test $ac_lo -le $ac_mid; then
1899			  ac_lo= ac_hi=
1900			  break
1901			fi
1902			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1903fi
1904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905  done
1906else
1907  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908/* end confdefs.h.  */
1909$4
1910int
1911main ()
1912{
1913static int test_array [1 - 2 * !(($2) < 0)];
1914test_array [0] = 0;
1915return test_array [0];
1916
1917  ;
1918  return 0;
1919}
1920_ACEOF
1921if ac_fn_c_try_compile "$LINENO"; then :
1922  ac_hi=-1 ac_mid=-1
1923  while :; do
1924    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925/* end confdefs.h.  */
1926$4
1927int
1928main ()
1929{
1930static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1931test_array [0] = 0;
1932return test_array [0];
1933
1934  ;
1935  return 0;
1936}
1937_ACEOF
1938if ac_fn_c_try_compile "$LINENO"; then :
1939  ac_lo=$ac_mid; break
1940else
1941  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1942			if test $ac_mid -le $ac_hi; then
1943			  ac_lo= ac_hi=
1944			  break
1945			fi
1946			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1947fi
1948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949  done
1950else
1951  ac_lo= ac_hi=
1952fi
1953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1954fi
1955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1956# Binary search between lo and hi bounds.
1957while test "x$ac_lo" != "x$ac_hi"; do
1958  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960/* end confdefs.h.  */
1961$4
1962int
1963main ()
1964{
1965static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1966test_array [0] = 0;
1967return test_array [0];
1968
1969  ;
1970  return 0;
1971}
1972_ACEOF
1973if ac_fn_c_try_compile "$LINENO"; then :
1974  ac_hi=$ac_mid
1975else
1976  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1977fi
1978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979done
1980case $ac_lo in #((
1981?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1982'') ac_retval=1 ;;
1983esac
1984  else
1985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986/* end confdefs.h.  */
1987$4
1988static long int longval () { return $2; }
1989static unsigned long int ulongval () { return $2; }
1990#include <stdio.h>
1991#include <stdlib.h>
1992int
1993main ()
1994{
1995
1996  FILE *f = fopen ("conftest.val", "w");
1997  if (! f)
1998    return 1;
1999  if (($2) < 0)
2000    {
2001      long int i = longval ();
2002      if (i != ($2))
2003	return 1;
2004      fprintf (f, "%ld", i);
2005    }
2006  else
2007    {
2008      unsigned long int i = ulongval ();
2009      if (i != ($2))
2010	return 1;
2011      fprintf (f, "%lu", i);
2012    }
2013  /* Do not output a trailing newline, as this causes \r\n confusion
2014     on some platforms.  */
2015  return ferror (f) || fclose (f) != 0;
2016
2017  ;
2018  return 0;
2019}
2020_ACEOF
2021if ac_fn_c_try_run "$LINENO"; then :
2022  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2023else
2024  ac_retval=1
2025fi
2026rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2027  conftest.$ac_objext conftest.beam conftest.$ac_ext
2028rm -f conftest.val
2029
2030  fi
2031  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032  as_fn_set_status $ac_retval
2033
2034} # ac_fn_c_compute_int
2035
2036# ac_fn_c_check_func LINENO FUNC VAR
2037# ----------------------------------
2038# Tests whether FUNC exists, setting the cache variable VAR accordingly
2039ac_fn_c_check_func ()
2040{
2041  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043$as_echo_n "checking for $2... " >&6; }
2044if eval \${$3+:} false; then :
2045  $as_echo_n "(cached) " >&6
2046else
2047  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048/* end confdefs.h.  */
2049/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2050   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2051#define $2 innocuous_$2
2052
2053/* Tell GNU C headers to include stubs.  */
2054#define __need_GNU_STUBS_H
2055
2056/* System header to define __stub macros and hopefully few prototypes,
2057    which can conflict with char $2 (); below.
2058    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2059    <limits.h> exists even on freestanding compilers.  */
2060
2061#ifdef __STDC__
2062# include <limits.h>
2063#else
2064# include <assert.h>
2065#endif
2066
2067#undef $2
2068
2069/* Override any GCC internal prototype to avoid an error.
2070   Use char because int might match the return type of a GCC
2071   builtin and then its argument prototype would still apply.  */
2072#ifdef __cplusplus
2073extern "C"
2074#endif
2075char $2 ();
2076/* The GNU C library defines this for functions which it implements
2077    to always fail with ENOSYS.  Some functions are actually named
2078    something starting with __ and the normal name is an alias.  */
2079#if defined __stub_$2 || defined __stub___$2
2080choke me
2081#endif
2082
2083int
2084main ()
2085{
2086return $2 ();
2087  ;
2088  return 0;
2089}
2090_ACEOF
2091if ac_fn_c_try_link "$LINENO"; then :
2092  eval "$3=yes"
2093else
2094  if test "$GCC" = yes; then
2095		     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096/* end confdefs.h.  */
2097#undef $2
2098/* Declare this function with the same prototype as __builtin_$2.
2099  This removes a warning about conflicting types for built-in function $2 */
2100__typeof__(__builtin_$2) $2;
2101__typeof__(__builtin_$2) *f = $2;
2102
2103int
2104main ()
2105{
2106return f != $2;
2107  ;
2108  return 0;
2109}
2110_ACEOF
2111if ac_fn_c_try_link "$LINENO"; then :
2112  eval "$3=yes"
2113else
2114  eval "$3=no"
2115fi
2116rm -f core conftest.err conftest.$ac_objext \
2117    conftest$ac_exeext conftest.$ac_ext
2118		   else
2119		     eval "$3=no"
2120		   fi
2121fi
2122rm -f core conftest.err conftest.$ac_objext \
2123    conftest$ac_exeext conftest.$ac_ext
2124fi
2125eval ac_res=\$$3
2126	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127$as_echo "$ac_res" >&6; }
2128  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2129
2130} # ac_fn_c_check_func
2131
2132# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2133# -------------------------------------------
2134# Tests whether TYPE exists after having included INCLUDES, setting cache
2135# variable VAR accordingly.
2136ac_fn_c_check_type ()
2137{
2138  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140$as_echo_n "checking for $2... " >&6; }
2141if eval \${$3+:} false; then :
2142  $as_echo_n "(cached) " >&6
2143else
2144  eval "$3=no"
2145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146/* end confdefs.h.  */
2147$4
2148int
2149main ()
2150{
2151if (sizeof ($2))
2152	 return 0;
2153  ;
2154  return 0;
2155}
2156_ACEOF
2157if ac_fn_c_try_compile "$LINENO"; then :
2158  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159/* end confdefs.h.  */
2160$4
2161int
2162main ()
2163{
2164if (sizeof (($2)))
2165	    return 0;
2166  ;
2167  return 0;
2168}
2169_ACEOF
2170if ac_fn_c_try_compile "$LINENO"; then :
2171
2172else
2173  eval "$3=yes"
2174fi
2175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176fi
2177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178fi
2179eval ac_res=\$$3
2180	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181$as_echo "$ac_res" >&6; }
2182  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2183
2184} # ac_fn_c_check_type
2185
2186# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2187# ----------------------------------------------------
2188# Tries to find if the field MEMBER exists in type AGGR, after including
2189# INCLUDES, setting cache variable VAR accordingly.
2190ac_fn_c_check_member ()
2191{
2192  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2194$as_echo_n "checking for $2.$3... " >&6; }
2195if eval \${$4+:} false; then :
2196  $as_echo_n "(cached) " >&6
2197else
2198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199/* end confdefs.h.  */
2200$5
2201int
2202main ()
2203{
2204static $2 ac_aggr;
2205if (ac_aggr.$3)
2206return 0;
2207  ;
2208  return 0;
2209}
2210_ACEOF
2211if ac_fn_c_try_compile "$LINENO"; then :
2212  eval "$4=yes"
2213else
2214  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2215/* end confdefs.h.  */
2216$5
2217int
2218main ()
2219{
2220static $2 ac_aggr;
2221if (sizeof ac_aggr.$3)
2222return 0;
2223  ;
2224  return 0;
2225}
2226_ACEOF
2227if ac_fn_c_try_compile "$LINENO"; then :
2228  eval "$4=yes"
2229else
2230  eval "$4=no"
2231fi
2232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2233fi
2234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2235fi
2236eval ac_res=\$$4
2237	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238$as_echo "$ac_res" >&6; }
2239  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240
2241} # ac_fn_c_check_member
2242
2243# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2244# ---------------------------------------------
2245# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2246# accordingly.
2247ac_fn_c_check_decl ()
2248{
2249  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250  as_decl_name=`echo $2|sed 's/ *(.*//'`
2251  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2252  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2253$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2254if eval \${$3+:} false; then :
2255  $as_echo_n "(cached) " >&6
2256else
2257  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258/* end confdefs.h.  */
2259$4
2260int
2261main ()
2262{
2263#ifndef $as_decl_name
2264#ifdef __cplusplus
2265  (void) $as_decl_use;
2266#else
2267  (void) $as_decl_name;
2268#endif
2269#endif
2270
2271  ;
2272  return 0;
2273}
2274_ACEOF
2275if ac_fn_c_try_compile "$LINENO"; then :
2276  eval "$3=yes"
2277else
2278  eval "$3=no"
2279fi
2280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2281fi
2282eval ac_res=\$$3
2283	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2284$as_echo "$ac_res" >&6; }
2285  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2286
2287} # ac_fn_c_check_decl
2288cat >config.log <<_ACEOF
2289This file contains any messages produced by compilers while
2290running configure, to aid debugging if configure makes a mistake.
2291
2292It was created by strace $as_me 4.21, which was
2293generated by GNU Autoconf 2.69.  Invocation command line was
2294
2295  $ $0 $@
2296
2297_ACEOF
2298exec 5>>config.log
2299{
2300cat <<_ASUNAME
2301## --------- ##
2302## Platform. ##
2303## --------- ##
2304
2305hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2306uname -m = `(uname -m) 2>/dev/null || echo unknown`
2307uname -r = `(uname -r) 2>/dev/null || echo unknown`
2308uname -s = `(uname -s) 2>/dev/null || echo unknown`
2309uname -v = `(uname -v) 2>/dev/null || echo unknown`
2310
2311/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2312/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2313
2314/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2315/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2316/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2317/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2318/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2319/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2320/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2321
2322_ASUNAME
2323
2324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325for as_dir in $PATH
2326do
2327  IFS=$as_save_IFS
2328  test -z "$as_dir" && as_dir=.
2329    $as_echo "PATH: $as_dir"
2330  done
2331IFS=$as_save_IFS
2332
2333} >&5
2334
2335cat >&5 <<_ACEOF
2336
2337
2338## ----------- ##
2339## Core tests. ##
2340## ----------- ##
2341
2342_ACEOF
2343
2344
2345# Keep a trace of the command line.
2346# Strip out --no-create and --no-recursion so they do not pile up.
2347# Strip out --silent because we don't want to record it for future runs.
2348# Also quote any args containing shell meta-characters.
2349# Make two passes to allow for proper duplicate-argument suppression.
2350ac_configure_args=
2351ac_configure_args0=
2352ac_configure_args1=
2353ac_must_keep_next=false
2354for ac_pass in 1 2
2355do
2356  for ac_arg
2357  do
2358    case $ac_arg in
2359    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2360    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2361    | -silent | --silent | --silen | --sile | --sil)
2362      continue ;;
2363    *\'*)
2364      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2365    esac
2366    case $ac_pass in
2367    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2368    2)
2369      as_fn_append ac_configure_args1 " '$ac_arg'"
2370      if test $ac_must_keep_next = true; then
2371	ac_must_keep_next=false # Got value, back to normal.
2372      else
2373	case $ac_arg in
2374	  *=* | --config-cache | -C | -disable-* | --disable-* \
2375	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2376	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2377	  | -with-* | --with-* | -without-* | --without-* | --x)
2378	    case "$ac_configure_args0 " in
2379	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2380	    esac
2381	    ;;
2382	  -* ) ac_must_keep_next=true ;;
2383	esac
2384      fi
2385      as_fn_append ac_configure_args " '$ac_arg'"
2386      ;;
2387    esac
2388  done
2389done
2390{ ac_configure_args0=; unset ac_configure_args0;}
2391{ ac_configure_args1=; unset ac_configure_args1;}
2392
2393# When interrupted or exit'd, cleanup temporary files, and complete
2394# config.log.  We remove comments because anyway the quotes in there
2395# would cause problems or look ugly.
2396# WARNING: Use '\'' to represent an apostrophe within the trap.
2397# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2398trap 'exit_status=$?
2399  # Sanitize IFS.
2400  IFS=" ""	$as_nl"
2401  # Save into config.log some information that might help in debugging.
2402  {
2403    echo
2404
2405    $as_echo "## ---------------- ##
2406## Cache variables. ##
2407## ---------------- ##"
2408    echo
2409    # The following way of writing the cache mishandles newlines in values,
2410(
2411  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2412    eval ac_val=\$$ac_var
2413    case $ac_val in #(
2414    *${as_nl}*)
2415      case $ac_var in #(
2416      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2417$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2418      esac
2419      case $ac_var in #(
2420      _ | IFS | as_nl) ;; #(
2421      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2422      *) { eval $ac_var=; unset $ac_var;} ;;
2423      esac ;;
2424    esac
2425  done
2426  (set) 2>&1 |
2427    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2428    *${as_nl}ac_space=\ *)
2429      sed -n \
2430	"s/'\''/'\''\\\\'\'''\''/g;
2431	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2432      ;; #(
2433    *)
2434      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2435      ;;
2436    esac |
2437    sort
2438)
2439    echo
2440
2441    $as_echo "## ----------------- ##
2442## Output variables. ##
2443## ----------------- ##"
2444    echo
2445    for ac_var in $ac_subst_vars
2446    do
2447      eval ac_val=\$$ac_var
2448      case $ac_val in
2449      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2450      esac
2451      $as_echo "$ac_var='\''$ac_val'\''"
2452    done | sort
2453    echo
2454
2455    if test -n "$ac_subst_files"; then
2456      $as_echo "## ------------------- ##
2457## File substitutions. ##
2458## ------------------- ##"
2459      echo
2460      for ac_var in $ac_subst_files
2461      do
2462	eval ac_val=\$$ac_var
2463	case $ac_val in
2464	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2465	esac
2466	$as_echo "$ac_var='\''$ac_val'\''"
2467      done | sort
2468      echo
2469    fi
2470
2471    if test -s confdefs.h; then
2472      $as_echo "## ----------- ##
2473## confdefs.h. ##
2474## ----------- ##"
2475      echo
2476      cat confdefs.h
2477      echo
2478    fi
2479    test "$ac_signal" != 0 &&
2480      $as_echo "$as_me: caught signal $ac_signal"
2481    $as_echo "$as_me: exit $exit_status"
2482  } >&5
2483  rm -f core *.core core.conftest.* &&
2484    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2485    exit $exit_status
2486' 0
2487for ac_signal in 1 2 13 15; do
2488  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2489done
2490ac_signal=0
2491
2492# confdefs.h avoids OS command line length limits that DEFS can exceed.
2493rm -f -r conftest* confdefs.h
2494
2495$as_echo "/* confdefs.h */" > confdefs.h
2496
2497# Predefined preprocessor variables.
2498
2499cat >>confdefs.h <<_ACEOF
2500#define PACKAGE_NAME "$PACKAGE_NAME"
2501_ACEOF
2502
2503cat >>confdefs.h <<_ACEOF
2504#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2505_ACEOF
2506
2507cat >>confdefs.h <<_ACEOF
2508#define PACKAGE_VERSION "$PACKAGE_VERSION"
2509_ACEOF
2510
2511cat >>confdefs.h <<_ACEOF
2512#define PACKAGE_STRING "$PACKAGE_STRING"
2513_ACEOF
2514
2515cat >>confdefs.h <<_ACEOF
2516#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2517_ACEOF
2518
2519cat >>confdefs.h <<_ACEOF
2520#define PACKAGE_URL "$PACKAGE_URL"
2521_ACEOF
2522
2523
2524# Let the site file select an alternate cache file if it wants to.
2525# Prefer an explicitly selected file to automatically selected ones.
2526ac_site_file1=NONE
2527ac_site_file2=NONE
2528if test -n "$CONFIG_SITE"; then
2529  # We do not want a PATH search for config.site.
2530  case $CONFIG_SITE in #((
2531    -*)  ac_site_file1=./$CONFIG_SITE;;
2532    */*) ac_site_file1=$CONFIG_SITE;;
2533    *)   ac_site_file1=./$CONFIG_SITE;;
2534  esac
2535elif test "x$prefix" != xNONE; then
2536  ac_site_file1=$prefix/share/config.site
2537  ac_site_file2=$prefix/etc/config.site
2538else
2539  ac_site_file1=$ac_default_prefix/share/config.site
2540  ac_site_file2=$ac_default_prefix/etc/config.site
2541fi
2542for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2543do
2544  test "x$ac_site_file" = xNONE && continue
2545  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2546    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2547$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2548    sed 's/^/| /' "$ac_site_file" >&5
2549    . "$ac_site_file" \
2550      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552as_fn_error $? "failed to load site script $ac_site_file
2553See \`config.log' for more details" "$LINENO" 5; }
2554  fi
2555done
2556
2557if test -r "$cache_file"; then
2558  # Some versions of bash will fail to source /dev/null (special files
2559  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2560  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2561    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2562$as_echo "$as_me: loading cache $cache_file" >&6;}
2563    case $cache_file in
2564      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2565      *)                      . "./$cache_file";;
2566    esac
2567  fi
2568else
2569  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2570$as_echo "$as_me: creating cache $cache_file" >&6;}
2571  >$cache_file
2572fi
2573
2574# Check that the precious variables saved in the cache have kept the same
2575# value.
2576ac_cache_corrupted=false
2577for ac_var in $ac_precious_vars; do
2578  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2579  eval ac_new_set=\$ac_env_${ac_var}_set
2580  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2581  eval ac_new_val=\$ac_env_${ac_var}_value
2582  case $ac_old_set,$ac_new_set in
2583    set,)
2584      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2585$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2586      ac_cache_corrupted=: ;;
2587    ,set)
2588      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2589$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2590      ac_cache_corrupted=: ;;
2591    ,);;
2592    *)
2593      if test "x$ac_old_val" != "x$ac_new_val"; then
2594	# differences in whitespace do not lead to failure.
2595	ac_old_val_w=`echo x $ac_old_val`
2596	ac_new_val_w=`echo x $ac_new_val`
2597	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2598	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2599$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2600	  ac_cache_corrupted=:
2601	else
2602	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2603$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2604	  eval $ac_var=\$ac_old_val
2605	fi
2606	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2607$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2608	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2609$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2610      fi;;
2611  esac
2612  # Pass precious variables to config.status.
2613  if test "$ac_new_set" = set; then
2614    case $ac_new_val in
2615    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2616    *) ac_arg=$ac_var=$ac_new_val ;;
2617    esac
2618    case " $ac_configure_args " in
2619      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2620      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2621    esac
2622  fi
2623done
2624if $ac_cache_corrupted; then
2625  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2628$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2629  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2630fi
2631## -------------------- ##
2632## Main body of script. ##
2633## -------------------- ##
2634
2635ac_ext=c
2636ac_cpp='$CPP $CPPFLAGS'
2637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639ac_compiler_gnu=$ac_cv_c_compiler_gnu
2640
2641
2642
2643
2644
2645
2646ac_aux_dir=
2647for ac_dir in . "$srcdir"/.; do
2648  if test -f "$ac_dir/install-sh"; then
2649    ac_aux_dir=$ac_dir
2650    ac_install_sh="$ac_aux_dir/install-sh -c"
2651    break
2652  elif test -f "$ac_dir/install.sh"; then
2653    ac_aux_dir=$ac_dir
2654    ac_install_sh="$ac_aux_dir/install.sh -c"
2655    break
2656  elif test -f "$ac_dir/shtool"; then
2657    ac_aux_dir=$ac_dir
2658    ac_install_sh="$ac_aux_dir/shtool install -c"
2659    break
2660  fi
2661done
2662if test -z "$ac_aux_dir"; then
2663  as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2664fi
2665
2666# These three variables are undocumented and unsupported,
2667# and are intended to be withdrawn in a future Autoconf release.
2668# They can cause serious problems if a builder's source tree is in a directory
2669# whose full name contains unusual characters.
2670ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2671ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2672ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2673
2674
2675ac_config_headers="$ac_config_headers config.h"
2676
2677am__api_version='1.14'
2678
2679# Find a good install program.  We prefer a C program (faster),
2680# so one script is as good as another.  But avoid the broken or
2681# incompatible versions:
2682# SysV /etc/install, /usr/sbin/install
2683# SunOS /usr/etc/install
2684# IRIX /sbin/install
2685# AIX /bin/install
2686# AmigaOS /C/install, which installs bootblocks on floppy discs
2687# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2688# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2689# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2690# OS/2's system install, which has a completely different semantic
2691# ./install, which can be erroneously created by make from ./install.sh.
2692# Reject install programs that cannot install multiple files.
2693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2694$as_echo_n "checking for a BSD-compatible install... " >&6; }
2695if test -z "$INSTALL"; then
2696if ${ac_cv_path_install+:} false; then :
2697  $as_echo_n "(cached) " >&6
2698else
2699  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700for as_dir in $PATH
2701do
2702  IFS=$as_save_IFS
2703  test -z "$as_dir" && as_dir=.
2704    # Account for people who put trailing slashes in PATH elements.
2705case $as_dir/ in #((
2706  ./ | .// | /[cC]/* | \
2707  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2708  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2709  /usr/ucb/* ) ;;
2710  *)
2711    # OSF1 and SCO ODT 3.0 have their own names for install.
2712    # Don't use installbsd from OSF since it installs stuff as root
2713    # by default.
2714    for ac_prog in ginstall scoinst install; do
2715      for ac_exec_ext in '' $ac_executable_extensions; do
2716	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2717	  if test $ac_prog = install &&
2718	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2719	    # AIX install.  It has an incompatible calling convention.
2720	    :
2721	  elif test $ac_prog = install &&
2722	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2723	    # program-specific install script used by HP pwplus--don't use.
2724	    :
2725	  else
2726	    rm -rf conftest.one conftest.two conftest.dir
2727	    echo one > conftest.one
2728	    echo two > conftest.two
2729	    mkdir conftest.dir
2730	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2731	      test -s conftest.one && test -s conftest.two &&
2732	      test -s conftest.dir/conftest.one &&
2733	      test -s conftest.dir/conftest.two
2734	    then
2735	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2736	      break 3
2737	    fi
2738	  fi
2739	fi
2740      done
2741    done
2742    ;;
2743esac
2744
2745  done
2746IFS=$as_save_IFS
2747
2748rm -rf conftest.one conftest.two conftest.dir
2749
2750fi
2751  if test "${ac_cv_path_install+set}" = set; then
2752    INSTALL=$ac_cv_path_install
2753  else
2754    # As a last resort, use the slow shell script.  Don't cache a
2755    # value for INSTALL within a source directory, because that will
2756    # break other packages using the cache if that directory is
2757    # removed, or if the value is a relative name.
2758    INSTALL=$ac_install_sh
2759  fi
2760fi
2761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2762$as_echo "$INSTALL" >&6; }
2763
2764# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2765# It thinks the first close brace ends the variable substitution.
2766test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2767
2768test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2769
2770test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2771
2772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2773$as_echo_n "checking whether build environment is sane... " >&6; }
2774# Reject unsafe characters in $srcdir or the absolute working directory
2775# name.  Accept space and tab only in the latter.
2776am_lf='
2777'
2778case `pwd` in
2779  *[\\\"\#\$\&\'\`$am_lf]*)
2780    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2781esac
2782case $srcdir in
2783  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2784    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2785esac
2786
2787# Do 'set' in a subshell so we don't clobber the current shell's
2788# arguments.  Must try -L first in case configure is actually a
2789# symlink; some systems play weird games with the mod time of symlinks
2790# (eg FreeBSD returns the mod time of the symlink's containing
2791# directory).
2792if (
2793   am_has_slept=no
2794   for am_try in 1 2; do
2795     echo "timestamp, slept: $am_has_slept" > conftest.file
2796     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2797     if test "$*" = "X"; then
2798	# -L didn't work.
2799	set X `ls -t "$srcdir/configure" conftest.file`
2800     fi
2801     if test "$*" != "X $srcdir/configure conftest.file" \
2802	&& test "$*" != "X conftest.file $srcdir/configure"; then
2803
2804	# If neither matched, then we have a broken ls.  This can happen
2805	# if, for instance, CONFIG_SHELL is bash and it inherits a
2806	# broken ls alias from the environment.  This has actually
2807	# happened.  Such a system could not be considered "sane".
2808	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2809  alias in your environment" "$LINENO" 5
2810     fi
2811     if test "$2" = conftest.file || test $am_try -eq 2; then
2812       break
2813     fi
2814     # Just in case.
2815     sleep 1
2816     am_has_slept=yes
2817   done
2818   test "$2" = conftest.file
2819   )
2820then
2821   # Ok.
2822   :
2823else
2824   as_fn_error $? "newly created file is older than distributed files!
2825Check your system clock" "$LINENO" 5
2826fi
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828$as_echo "yes" >&6; }
2829# If we didn't sleep, we still need to ensure time stamps of config.status and
2830# generated files are strictly newer.
2831am_sleep_pid=
2832if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2833  ( sleep 1 ) &
2834  am_sleep_pid=$!
2835fi
2836
2837rm -f conftest.file
2838
2839test "$program_prefix" != NONE &&
2840  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2841# Use a double $ so make ignores it.
2842test "$program_suffix" != NONE &&
2843  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2844# Double any \ or $.
2845# By default was `s,x,x', remove it if useless.
2846ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2847program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2848
2849# expand $ac_aux_dir to an absolute path
2850am_aux_dir=`cd $ac_aux_dir && pwd`
2851
2852if test x"${MISSING+set}" != xset; then
2853  case $am_aux_dir in
2854  *\ * | *\	*)
2855    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2856  *)
2857    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2858  esac
2859fi
2860# Use eval to expand $SHELL
2861if eval "$MISSING --is-lightweight"; then
2862  am_missing_run="$MISSING "
2863else
2864  am_missing_run=
2865  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2866$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2867fi
2868
2869if test x"${install_sh}" != xset; then
2870  case $am_aux_dir in
2871  *\ * | *\	*)
2872    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2873  *)
2874    install_sh="\${SHELL} $am_aux_dir/install-sh"
2875  esac
2876fi
2877
2878# Installed binaries are usually stripped using 'strip' when the user
2879# run "make install-strip".  However 'strip' might not be the right
2880# tool to use in cross-compilation environments, therefore Automake
2881# will honor the 'STRIP' environment variable to overrule this program.
2882if test "$cross_compiling" != no; then
2883  if test -n "$ac_tool_prefix"; then
2884  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2885set dummy ${ac_tool_prefix}strip; ac_word=$2
2886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887$as_echo_n "checking for $ac_word... " >&6; }
2888if ${ac_cv_prog_STRIP+:} false; then :
2889  $as_echo_n "(cached) " >&6
2890else
2891  if test -n "$STRIP"; then
2892  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2893else
2894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895for as_dir in $PATH
2896do
2897  IFS=$as_save_IFS
2898  test -z "$as_dir" && as_dir=.
2899    for ac_exec_ext in '' $ac_executable_extensions; do
2900  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2901    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2902    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903    break 2
2904  fi
2905done
2906  done
2907IFS=$as_save_IFS
2908
2909fi
2910fi
2911STRIP=$ac_cv_prog_STRIP
2912if test -n "$STRIP"; then
2913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2914$as_echo "$STRIP" >&6; }
2915else
2916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917$as_echo "no" >&6; }
2918fi
2919
2920
2921fi
2922if test -z "$ac_cv_prog_STRIP"; then
2923  ac_ct_STRIP=$STRIP
2924  # Extract the first word of "strip", so it can be a program name with args.
2925set dummy strip; ac_word=$2
2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927$as_echo_n "checking for $ac_word... " >&6; }
2928if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2929  $as_echo_n "(cached) " >&6
2930else
2931  if test -n "$ac_ct_STRIP"; then
2932  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2933else
2934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935for as_dir in $PATH
2936do
2937  IFS=$as_save_IFS
2938  test -z "$as_dir" && as_dir=.
2939    for ac_exec_ext in '' $ac_executable_extensions; do
2940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2941    ac_cv_prog_ac_ct_STRIP="strip"
2942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943    break 2
2944  fi
2945done
2946  done
2947IFS=$as_save_IFS
2948
2949fi
2950fi
2951ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2952if test -n "$ac_ct_STRIP"; then
2953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2954$as_echo "$ac_ct_STRIP" >&6; }
2955else
2956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957$as_echo "no" >&6; }
2958fi
2959
2960  if test "x$ac_ct_STRIP" = x; then
2961    STRIP=":"
2962  else
2963    case $cross_compiling:$ac_tool_warned in
2964yes:)
2965{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2966$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2967ac_tool_warned=yes ;;
2968esac
2969    STRIP=$ac_ct_STRIP
2970  fi
2971else
2972  STRIP="$ac_cv_prog_STRIP"
2973fi
2974
2975fi
2976INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2977
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2979$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2980if test -z "$MKDIR_P"; then
2981  if ${ac_cv_path_mkdir+:} false; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2986do
2987  IFS=$as_save_IFS
2988  test -z "$as_dir" && as_dir=.
2989    for ac_prog in mkdir gmkdir; do
2990	 for ac_exec_ext in '' $ac_executable_extensions; do
2991	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2992	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2993	     'mkdir (GNU coreutils) '* | \
2994	     'mkdir (coreutils) '* | \
2995	     'mkdir (fileutils) '4.1*)
2996	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2997	       break 3;;
2998	   esac
2999	 done
3000       done
3001  done
3002IFS=$as_save_IFS
3003
3004fi
3005
3006  test -d ./--version && rmdir ./--version
3007  if test "${ac_cv_path_mkdir+set}" = set; then
3008    MKDIR_P="$ac_cv_path_mkdir -p"
3009  else
3010    # As a last resort, use the slow shell script.  Don't cache a
3011    # value for MKDIR_P within a source directory, because that will
3012    # break other packages using the cache if that directory is
3013    # removed, or if the value is a relative name.
3014    MKDIR_P="$ac_install_sh -d"
3015  fi
3016fi
3017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3018$as_echo "$MKDIR_P" >&6; }
3019
3020for ac_prog in gawk mawk nawk awk
3021do
3022  # Extract the first word of "$ac_prog", so it can be a program name with args.
3023set dummy $ac_prog; ac_word=$2
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025$as_echo_n "checking for $ac_word... " >&6; }
3026if ${ac_cv_prog_AWK+:} false; then :
3027  $as_echo_n "(cached) " >&6
3028else
3029  if test -n "$AWK"; then
3030  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3031else
3032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033for as_dir in $PATH
3034do
3035  IFS=$as_save_IFS
3036  test -z "$as_dir" && as_dir=.
3037    for ac_exec_ext in '' $ac_executable_extensions; do
3038  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039    ac_cv_prog_AWK="$ac_prog"
3040    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041    break 2
3042  fi
3043done
3044  done
3045IFS=$as_save_IFS
3046
3047fi
3048fi
3049AWK=$ac_cv_prog_AWK
3050if test -n "$AWK"; then
3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3052$as_echo "$AWK" >&6; }
3053else
3054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055$as_echo "no" >&6; }
3056fi
3057
3058
3059  test -n "$AWK" && break
3060done
3061
3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3063$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3064set x ${MAKE-make}
3065ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3066if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3067  $as_echo_n "(cached) " >&6
3068else
3069  cat >conftest.make <<\_ACEOF
3070SHELL = /bin/sh
3071all:
3072	@echo '@@@%%%=$(MAKE)=@@@%%%'
3073_ACEOF
3074# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3075case `${MAKE-make} -f conftest.make 2>/dev/null` in
3076  *@@@%%%=?*=@@@%%%*)
3077    eval ac_cv_prog_make_${ac_make}_set=yes;;
3078  *)
3079    eval ac_cv_prog_make_${ac_make}_set=no;;
3080esac
3081rm -f conftest.make
3082fi
3083if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3085$as_echo "yes" >&6; }
3086  SET_MAKE=
3087else
3088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089$as_echo "no" >&6; }
3090  SET_MAKE="MAKE=${MAKE-make}"
3091fi
3092
3093rm -rf .tst 2>/dev/null
3094mkdir .tst 2>/dev/null
3095if test -d .tst; then
3096  am__leading_dot=.
3097else
3098  am__leading_dot=_
3099fi
3100rmdir .tst 2>/dev/null
3101
3102# Check whether --enable-silent-rules was given.
3103if test "${enable_silent_rules+set}" = set; then :
3104  enableval=$enable_silent_rules;
3105fi
3106
3107case $enable_silent_rules in # (((
3108  yes) AM_DEFAULT_VERBOSITY=0;;
3109   no) AM_DEFAULT_VERBOSITY=1;;
3110    *) AM_DEFAULT_VERBOSITY=1;;
3111esac
3112am_make=${MAKE-make}
3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3114$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3115if ${am_cv_make_support_nested_variables+:} false; then :
3116  $as_echo_n "(cached) " >&6
3117else
3118  if $as_echo 'TRUE=$(BAR$(V))
3119BAR0=false
3120BAR1=true
3121V=1
3122am__doit:
3123	@$(TRUE)
3124.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3125  am_cv_make_support_nested_variables=yes
3126else
3127  am_cv_make_support_nested_variables=no
3128fi
3129fi
3130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3131$as_echo "$am_cv_make_support_nested_variables" >&6; }
3132if test $am_cv_make_support_nested_variables = yes; then
3133    AM_V='$(V)'
3134  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3135else
3136  AM_V=$AM_DEFAULT_VERBOSITY
3137  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3138fi
3139AM_BACKSLASH='\'
3140
3141if test "`cd $srcdir && pwd`" != "`pwd`"; then
3142  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3143  # is not polluted with repeated "-I."
3144  am__isrc=' -I$(srcdir)'
3145  # test to see if srcdir already configured
3146  if test -f $srcdir/config.status; then
3147    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3148  fi
3149fi
3150
3151# test whether we have cygpath
3152if test -z "$CYGPATH_W"; then
3153  if (cygpath --version) >/dev/null 2>/dev/null; then
3154    CYGPATH_W='cygpath -w'
3155  else
3156    CYGPATH_W=echo
3157  fi
3158fi
3159
3160
3161# Define the identity of the package.
3162 PACKAGE='strace'
3163 VERSION='4.21'
3164
3165
3166cat >>confdefs.h <<_ACEOF
3167#define PACKAGE "$PACKAGE"
3168_ACEOF
3169
3170
3171cat >>confdefs.h <<_ACEOF
3172#define VERSION "$VERSION"
3173_ACEOF
3174
3175# Some tools Automake needs.
3176
3177ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3178
3179
3180AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3181
3182
3183AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3184
3185
3186AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3187
3188
3189MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3190
3191# For better backward compatibility.  To be removed once Automake 1.9.x
3192# dies out for good.  For more background, see:
3193# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3194# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3195mkdir_p='$(MKDIR_P)'
3196
3197# We need awk for the "check" target.  The system "awk" is bad on
3198# some platforms.
3199# Always define AMTAR for backward compatibility.  Yes, it's still used
3200# in the wild :-(  We should find a proper way to deprecate it ...
3201AMTAR='$${TAR-tar}'
3202
3203
3204# We'll loop over all known methods to create a tar archive until one works.
3205_am_tools='gnutar  pax cpio none'
3206
3207am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3208
3209
3210
3211
3212
3213
3214# POSIX will say in a future version that running "rm -f" with no argument
3215# is OK; and we want to be able to make that assumption in our Makefile
3216# recipes.  So use an aggressive probe to check that the usage we want is
3217# actually supported "in the wild" to an acceptable degree.
3218# See automake bug#10828.
3219# To make any issue more visible, cause the running configure to be aborted
3220# by default if the 'rm' program in use doesn't match our expectations; the
3221# user can still override this though.
3222if rm -f && rm -fr && rm -rf; then : OK; else
3223  cat >&2 <<'END'
3224Oops!
3225
3226Your 'rm' program seems unable to run without file operands specified
3227on the command line, even when the '-f' option is present.  This is contrary
3228to the behaviour of most rm programs out there, and not conforming with
3229the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3230
3231Please tell bug-automake@gnu.org about your system, including the value
3232of your $PATH and any error possibly output before this message.  This
3233can help us improve future automake versions.
3234
3235END
3236  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3237    echo 'Configuration will proceed anyway, since you have set the' >&2
3238    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3239    echo >&2
3240  else
3241    cat >&2 <<'END'
3242Aborting the configuration process, to ensure you take notice of the issue.
3243
3244You can download and install GNU coreutils to get an 'rm' implementation
3245that behaves properly: <http://www.gnu.org/software/coreutils/>.
3246
3247If you want to complete the configuration process using your problematic
3248'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3249to "yes", and re-run configure.
3250
3251END
3252    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3253  fi
3254fi
3255
3256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3257$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3258    # Check whether --enable-maintainer-mode was given.
3259if test "${enable_maintainer_mode+set}" = set; then :
3260  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3261else
3262  USE_MAINTAINER_MODE=no
3263fi
3264
3265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3266$as_echo "$USE_MAINTAINER_MODE" >&6; }
3267   if test $USE_MAINTAINER_MODE = yes; then
3268  MAINTAINER_MODE_TRUE=
3269  MAINTAINER_MODE_FALSE='#'
3270else
3271  MAINTAINER_MODE_TRUE='#'
3272  MAINTAINER_MODE_FALSE=
3273fi
3274
3275  MAINT=$MAINTAINER_MODE_TRUE
3276
3277
3278# Make sure we can run config.sub.
3279$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3280  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3281
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3283$as_echo_n "checking build system type... " >&6; }
3284if ${ac_cv_build+:} false; then :
3285  $as_echo_n "(cached) " >&6
3286else
3287  ac_build_alias=$build_alias
3288test "x$ac_build_alias" = x &&
3289  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3290test "x$ac_build_alias" = x &&
3291  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3292ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3293  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3294
3295fi
3296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3297$as_echo "$ac_cv_build" >&6; }
3298case $ac_cv_build in
3299*-*-*) ;;
3300*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3301esac
3302build=$ac_cv_build
3303ac_save_IFS=$IFS; IFS='-'
3304set x $ac_cv_build
3305shift
3306build_cpu=$1
3307build_vendor=$2
3308shift; shift
3309# Remember, the first character of IFS is used to create $*,
3310# except with old shells:
3311build_os=$*
3312IFS=$ac_save_IFS
3313case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3314
3315
3316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3317$as_echo_n "checking host system type... " >&6; }
3318if ${ac_cv_host+:} false; then :
3319  $as_echo_n "(cached) " >&6
3320else
3321  if test "x$host_alias" = x; then
3322  ac_cv_host=$ac_cv_build
3323else
3324  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3325    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3326fi
3327
3328fi
3329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3330$as_echo "$ac_cv_host" >&6; }
3331case $ac_cv_host in
3332*-*-*) ;;
3333*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3334esac
3335host=$ac_cv_host
3336ac_save_IFS=$IFS; IFS='-'
3337set x $ac_cv_host
3338shift
3339host_cpu=$1
3340host_vendor=$2
3341shift; shift
3342# Remember, the first character of IFS is used to create $*,
3343# except with old shells:
3344host_os=$*
3345IFS=$ac_save_IFS
3346case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3347
3348
3349
3350RPM_CHANGELOGTIME="$(LC_TIME=C date '+%a %b %d %Y')"
3351
3352DEB_CHANGELOGTIME="$(LC_TIME=C date -R)"
3353
3354
3355ac_ext=c
3356ac_cpp='$CPP $CPPFLAGS'
3357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360if test -n "$ac_tool_prefix"; then
3361  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3362set dummy ${ac_tool_prefix}gcc; ac_word=$2
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364$as_echo_n "checking for $ac_word... " >&6; }
3365if ${ac_cv_prog_CC+:} false; then :
3366  $as_echo_n "(cached) " >&6
3367else
3368  if test -n "$CC"; then
3369  ac_cv_prog_CC="$CC" # Let the user override the test.
3370else
3371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3372for as_dir in $PATH
3373do
3374  IFS=$as_save_IFS
3375  test -z "$as_dir" && as_dir=.
3376    for ac_exec_ext in '' $ac_executable_extensions; do
3377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3378    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380    break 2
3381  fi
3382done
3383  done
3384IFS=$as_save_IFS
3385
3386fi
3387fi
3388CC=$ac_cv_prog_CC
3389if test -n "$CC"; then
3390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391$as_echo "$CC" >&6; }
3392else
3393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394$as_echo "no" >&6; }
3395fi
3396
3397
3398fi
3399if test -z "$ac_cv_prog_CC"; then
3400  ac_ct_CC=$CC
3401  # Extract the first word of "gcc", so it can be a program name with args.
3402set dummy gcc; ac_word=$2
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404$as_echo_n "checking for $ac_word... " >&6; }
3405if ${ac_cv_prog_ac_ct_CC+:} false; then :
3406  $as_echo_n "(cached) " >&6
3407else
3408  if test -n "$ac_ct_CC"; then
3409  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3410else
3411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412for as_dir in $PATH
3413do
3414  IFS=$as_save_IFS
3415  test -z "$as_dir" && as_dir=.
3416    for ac_exec_ext in '' $ac_executable_extensions; do
3417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3418    ac_cv_prog_ac_ct_CC="gcc"
3419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420    break 2
3421  fi
3422done
3423  done
3424IFS=$as_save_IFS
3425
3426fi
3427fi
3428ac_ct_CC=$ac_cv_prog_ac_ct_CC
3429if test -n "$ac_ct_CC"; then
3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3431$as_echo "$ac_ct_CC" >&6; }
3432else
3433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434$as_echo "no" >&6; }
3435fi
3436
3437  if test "x$ac_ct_CC" = x; then
3438    CC=""
3439  else
3440    case $cross_compiling:$ac_tool_warned in
3441yes:)
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3444ac_tool_warned=yes ;;
3445esac
3446    CC=$ac_ct_CC
3447  fi
3448else
3449  CC="$ac_cv_prog_CC"
3450fi
3451
3452if test -z "$CC"; then
3453          if test -n "$ac_tool_prefix"; then
3454    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3455set dummy ${ac_tool_prefix}cc; ac_word=$2
3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457$as_echo_n "checking for $ac_word... " >&6; }
3458if ${ac_cv_prog_CC+:} false; then :
3459  $as_echo_n "(cached) " >&6
3460else
3461  if test -n "$CC"; then
3462  ac_cv_prog_CC="$CC" # Let the user override the test.
3463else
3464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465for as_dir in $PATH
3466do
3467  IFS=$as_save_IFS
3468  test -z "$as_dir" && as_dir=.
3469    for ac_exec_ext in '' $ac_executable_extensions; do
3470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471    ac_cv_prog_CC="${ac_tool_prefix}cc"
3472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473    break 2
3474  fi
3475done
3476  done
3477IFS=$as_save_IFS
3478
3479fi
3480fi
3481CC=$ac_cv_prog_CC
3482if test -n "$CC"; then
3483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484$as_echo "$CC" >&6; }
3485else
3486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487$as_echo "no" >&6; }
3488fi
3489
3490
3491  fi
3492fi
3493if test -z "$CC"; then
3494  # Extract the first word of "cc", so it can be a program name with args.
3495set dummy cc; ac_word=$2
3496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497$as_echo_n "checking for $ac_word... " >&6; }
3498if ${ac_cv_prog_CC+:} false; then :
3499  $as_echo_n "(cached) " >&6
3500else
3501  if test -n "$CC"; then
3502  ac_cv_prog_CC="$CC" # Let the user override the test.
3503else
3504  ac_prog_rejected=no
3505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506for as_dir in $PATH
3507do
3508  IFS=$as_save_IFS
3509  test -z "$as_dir" && as_dir=.
3510    for ac_exec_ext in '' $ac_executable_extensions; do
3511  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3513       ac_prog_rejected=yes
3514       continue
3515     fi
3516    ac_cv_prog_CC="cc"
3517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518    break 2
3519  fi
3520done
3521  done
3522IFS=$as_save_IFS
3523
3524if test $ac_prog_rejected = yes; then
3525  # We found a bogon in the path, so make sure we never use it.
3526  set dummy $ac_cv_prog_CC
3527  shift
3528  if test $# != 0; then
3529    # We chose a different compiler from the bogus one.
3530    # However, it has the same basename, so the bogon will be chosen
3531    # first if we set CC to just the basename; use the full file name.
3532    shift
3533    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3534  fi
3535fi
3536fi
3537fi
3538CC=$ac_cv_prog_CC
3539if test -n "$CC"; then
3540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541$as_echo "$CC" >&6; }
3542else
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544$as_echo "no" >&6; }
3545fi
3546
3547
3548fi
3549if test -z "$CC"; then
3550  if test -n "$ac_tool_prefix"; then
3551  for ac_prog in cl.exe
3552  do
3553    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3554set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556$as_echo_n "checking for $ac_word... " >&6; }
3557if ${ac_cv_prog_CC+:} false; then :
3558  $as_echo_n "(cached) " >&6
3559else
3560  if test -n "$CC"; then
3561  ac_cv_prog_CC="$CC" # Let the user override the test.
3562else
3563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564for as_dir in $PATH
3565do
3566  IFS=$as_save_IFS
3567  test -z "$as_dir" && as_dir=.
3568    for ac_exec_ext in '' $ac_executable_extensions; do
3569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572    break 2
3573  fi
3574done
3575  done
3576IFS=$as_save_IFS
3577
3578fi
3579fi
3580CC=$ac_cv_prog_CC
3581if test -n "$CC"; then
3582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583$as_echo "$CC" >&6; }
3584else
3585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586$as_echo "no" >&6; }
3587fi
3588
3589
3590    test -n "$CC" && break
3591  done
3592fi
3593if test -z "$CC"; then
3594  ac_ct_CC=$CC
3595  for ac_prog in cl.exe
3596do
3597  # Extract the first word of "$ac_prog", so it can be a program name with args.
3598set dummy $ac_prog; ac_word=$2
3599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600$as_echo_n "checking for $ac_word... " >&6; }
3601if ${ac_cv_prog_ac_ct_CC+:} false; then :
3602  $as_echo_n "(cached) " >&6
3603else
3604  if test -n "$ac_ct_CC"; then
3605  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606else
3607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608for as_dir in $PATH
3609do
3610  IFS=$as_save_IFS
3611  test -z "$as_dir" && as_dir=.
3612    for ac_exec_ext in '' $ac_executable_extensions; do
3613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614    ac_cv_prog_ac_ct_CC="$ac_prog"
3615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616    break 2
3617  fi
3618done
3619  done
3620IFS=$as_save_IFS
3621
3622fi
3623fi
3624ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625if test -n "$ac_ct_CC"; then
3626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627$as_echo "$ac_ct_CC" >&6; }
3628else
3629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630$as_echo "no" >&6; }
3631fi
3632
3633
3634  test -n "$ac_ct_CC" && break
3635done
3636
3637  if test "x$ac_ct_CC" = x; then
3638    CC=""
3639  else
3640    case $cross_compiling:$ac_tool_warned in
3641yes:)
3642{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644ac_tool_warned=yes ;;
3645esac
3646    CC=$ac_ct_CC
3647  fi
3648fi
3649
3650fi
3651
3652
3653test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655as_fn_error $? "no acceptable C compiler found in \$PATH
3656See \`config.log' for more details" "$LINENO" 5; }
3657
3658# Provide some information about the compiler.
3659$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3660set X $ac_compile
3661ac_compiler=$2
3662for ac_option in --version -v -V -qversion; do
3663  { { ac_try="$ac_compiler $ac_option >&5"
3664case "(($ac_try" in
3665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666  *) ac_try_echo=$ac_try;;
3667esac
3668eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669$as_echo "$ac_try_echo"; } >&5
3670  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3671  ac_status=$?
3672  if test -s conftest.err; then
3673    sed '10a\
3674... rest of stderr output deleted ...
3675         10q' conftest.err >conftest.er1
3676    cat conftest.er1 >&5
3677  fi
3678  rm -f conftest.er1 conftest.err
3679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680  test $ac_status = 0; }
3681done
3682
3683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684/* end confdefs.h.  */
3685
3686int
3687main ()
3688{
3689
3690  ;
3691  return 0;
3692}
3693_ACEOF
3694ac_clean_files_save=$ac_clean_files
3695ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3696# Try to create an executable without -o first, disregard a.out.
3697# It will help us diagnose broken compilers, and finding out an intuition
3698# of exeext.
3699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3700$as_echo_n "checking whether the C compiler works... " >&6; }
3701ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3702
3703# The possible output files:
3704ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3705
3706ac_rmfiles=
3707for ac_file in $ac_files
3708do
3709  case $ac_file in
3710    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3711    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3712  esac
3713done
3714rm -f $ac_rmfiles
3715
3716if { { ac_try="$ac_link_default"
3717case "(($ac_try" in
3718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3719  *) ac_try_echo=$ac_try;;
3720esac
3721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3722$as_echo "$ac_try_echo"; } >&5
3723  (eval "$ac_link_default") 2>&5
3724  ac_status=$?
3725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3726  test $ac_status = 0; }; then :
3727  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3728# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3729# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3730# so that the user can short-circuit this test for compilers unknown to
3731# Autoconf.
3732for ac_file in $ac_files ''
3733do
3734  test -f "$ac_file" || continue
3735  case $ac_file in
3736    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3737	;;
3738    [ab].out )
3739	# We found the default executable, but exeext='' is most
3740	# certainly right.
3741	break;;
3742    *.* )
3743	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3744	then :; else
3745	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3746	fi
3747	# We set ac_cv_exeext here because the later test for it is not
3748	# safe: cross compilers may not add the suffix if given an `-o'
3749	# argument, so we may need to know it at that point already.
3750	# Even if this section looks crufty: it has the advantage of
3751	# actually working.
3752	break;;
3753    * )
3754	break;;
3755  esac
3756done
3757test "$ac_cv_exeext" = no && ac_cv_exeext=
3758
3759else
3760  ac_file=''
3761fi
3762if test -z "$ac_file"; then :
3763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764$as_echo "no" >&6; }
3765$as_echo "$as_me: failed program was:" >&5
3766sed 's/^/| /' conftest.$ac_ext >&5
3767
3768{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770as_fn_error 77 "C compiler cannot create executables
3771See \`config.log' for more details" "$LINENO" 5; }
3772else
3773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3774$as_echo "yes" >&6; }
3775fi
3776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3777$as_echo_n "checking for C compiler default output file name... " >&6; }
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3779$as_echo "$ac_file" >&6; }
3780ac_exeext=$ac_cv_exeext
3781
3782rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3783ac_clean_files=$ac_clean_files_save
3784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3785$as_echo_n "checking for suffix of executables... " >&6; }
3786if { { ac_try="$ac_link"
3787case "(($ac_try" in
3788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789  *) ac_try_echo=$ac_try;;
3790esac
3791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3792$as_echo "$ac_try_echo"; } >&5
3793  (eval "$ac_link") 2>&5
3794  ac_status=$?
3795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796  test $ac_status = 0; }; then :
3797  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3798# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3799# work properly (i.e., refer to `conftest.exe'), while it won't with
3800# `rm'.
3801for ac_file in conftest.exe conftest conftest.*; do
3802  test -f "$ac_file" || continue
3803  case $ac_file in
3804    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3805    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3806	  break;;
3807    * ) break;;
3808  esac
3809done
3810else
3811  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3814See \`config.log' for more details" "$LINENO" 5; }
3815fi
3816rm -f conftest conftest$ac_cv_exeext
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3818$as_echo "$ac_cv_exeext" >&6; }
3819
3820rm -f conftest.$ac_ext
3821EXEEXT=$ac_cv_exeext
3822ac_exeext=$EXEEXT
3823cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3824/* end confdefs.h.  */
3825#include <stdio.h>
3826int
3827main ()
3828{
3829FILE *f = fopen ("conftest.out", "w");
3830 return ferror (f) || fclose (f) != 0;
3831
3832  ;
3833  return 0;
3834}
3835_ACEOF
3836ac_clean_files="$ac_clean_files conftest.out"
3837# Check that the compiler produces executables we can run.  If not, either
3838# the compiler is broken, or we cross compile.
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3840$as_echo_n "checking whether we are cross compiling... " >&6; }
3841if test "$cross_compiling" != yes; then
3842  { { ac_try="$ac_link"
3843case "(($ac_try" in
3844  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845  *) ac_try_echo=$ac_try;;
3846esac
3847eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848$as_echo "$ac_try_echo"; } >&5
3849  (eval "$ac_link") 2>&5
3850  ac_status=$?
3851  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852  test $ac_status = 0; }
3853  if { ac_try='./conftest$ac_cv_exeext'
3854  { { case "(($ac_try" in
3855  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856  *) ac_try_echo=$ac_try;;
3857esac
3858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859$as_echo "$ac_try_echo"; } >&5
3860  (eval "$ac_try") 2>&5
3861  ac_status=$?
3862  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863  test $ac_status = 0; }; }; then
3864    cross_compiling=no
3865  else
3866    if test "$cross_compiling" = maybe; then
3867	cross_compiling=yes
3868    else
3869	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871as_fn_error $? "cannot run C compiled programs.
3872If you meant to cross compile, use \`--host'.
3873See \`config.log' for more details" "$LINENO" 5; }
3874    fi
3875  fi
3876fi
3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3878$as_echo "$cross_compiling" >&6; }
3879
3880rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3881ac_clean_files=$ac_clean_files_save
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3883$as_echo_n "checking for suffix of object files... " >&6; }
3884if ${ac_cv_objext+:} false; then :
3885  $as_echo_n "(cached) " >&6
3886else
3887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888/* end confdefs.h.  */
3889
3890int
3891main ()
3892{
3893
3894  ;
3895  return 0;
3896}
3897_ACEOF
3898rm -f conftest.o conftest.obj
3899if { { ac_try="$ac_compile"
3900case "(($ac_try" in
3901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902  *) ac_try_echo=$ac_try;;
3903esac
3904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905$as_echo "$ac_try_echo"; } >&5
3906  (eval "$ac_compile") 2>&5
3907  ac_status=$?
3908  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909  test $ac_status = 0; }; then :
3910  for ac_file in conftest.o conftest.obj conftest.*; do
3911  test -f "$ac_file" || continue;
3912  case $ac_file in
3913    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3914    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3915       break;;
3916  esac
3917done
3918else
3919  $as_echo "$as_me: failed program was:" >&5
3920sed 's/^/| /' conftest.$ac_ext >&5
3921
3922{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924as_fn_error $? "cannot compute suffix of object files: cannot compile
3925See \`config.log' for more details" "$LINENO" 5; }
3926fi
3927rm -f conftest.$ac_cv_objext conftest.$ac_ext
3928fi
3929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3930$as_echo "$ac_cv_objext" >&6; }
3931OBJEXT=$ac_cv_objext
3932ac_objext=$OBJEXT
3933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3934$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3935if ${ac_cv_c_compiler_gnu+:} false; then :
3936  $as_echo_n "(cached) " >&6
3937else
3938  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939/* end confdefs.h.  */
3940
3941int
3942main ()
3943{
3944#ifndef __GNUC__
3945       choke me
3946#endif
3947
3948  ;
3949  return 0;
3950}
3951_ACEOF
3952if ac_fn_c_try_compile "$LINENO"; then :
3953  ac_compiler_gnu=yes
3954else
3955  ac_compiler_gnu=no
3956fi
3957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958ac_cv_c_compiler_gnu=$ac_compiler_gnu
3959
3960fi
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3962$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3963if test $ac_compiler_gnu = yes; then
3964  GCC=yes
3965else
3966  GCC=
3967fi
3968ac_test_CFLAGS=${CFLAGS+set}
3969ac_save_CFLAGS=$CFLAGS
3970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3971$as_echo_n "checking whether $CC accepts -g... " >&6; }
3972if ${ac_cv_prog_cc_g+:} false; then :
3973  $as_echo_n "(cached) " >&6
3974else
3975  ac_save_c_werror_flag=$ac_c_werror_flag
3976   ac_c_werror_flag=yes
3977   ac_cv_prog_cc_g=no
3978   CFLAGS="-g"
3979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980/* end confdefs.h.  */
3981
3982int
3983main ()
3984{
3985
3986  ;
3987  return 0;
3988}
3989_ACEOF
3990if ac_fn_c_try_compile "$LINENO"; then :
3991  ac_cv_prog_cc_g=yes
3992else
3993  CFLAGS=""
3994      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3995/* end confdefs.h.  */
3996
3997int
3998main ()
3999{
4000
4001  ;
4002  return 0;
4003}
4004_ACEOF
4005if ac_fn_c_try_compile "$LINENO"; then :
4006
4007else
4008  ac_c_werror_flag=$ac_save_c_werror_flag
4009	 CFLAGS="-g"
4010	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011/* end confdefs.h.  */
4012
4013int
4014main ()
4015{
4016
4017  ;
4018  return 0;
4019}
4020_ACEOF
4021if ac_fn_c_try_compile "$LINENO"; then :
4022  ac_cv_prog_cc_g=yes
4023fi
4024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025fi
4026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027fi
4028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029   ac_c_werror_flag=$ac_save_c_werror_flag
4030fi
4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4032$as_echo "$ac_cv_prog_cc_g" >&6; }
4033if test "$ac_test_CFLAGS" = set; then
4034  CFLAGS=$ac_save_CFLAGS
4035elif test $ac_cv_prog_cc_g = yes; then
4036  if test "$GCC" = yes; then
4037    CFLAGS="-g -O2"
4038  else
4039    CFLAGS="-g"
4040  fi
4041else
4042  if test "$GCC" = yes; then
4043    CFLAGS="-O2"
4044  else
4045    CFLAGS=
4046  fi
4047fi
4048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4049$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4050if ${ac_cv_prog_cc_c89+:} false; then :
4051  $as_echo_n "(cached) " >&6
4052else
4053  ac_cv_prog_cc_c89=no
4054ac_save_CC=$CC
4055cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056/* end confdefs.h.  */
4057#include <stdarg.h>
4058#include <stdio.h>
4059struct stat;
4060/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4061struct buf { int x; };
4062FILE * (*rcsopen) (struct buf *, struct stat *, int);
4063static char *e (p, i)
4064     char **p;
4065     int i;
4066{
4067  return p[i];
4068}
4069static char *f (char * (*g) (char **, int), char **p, ...)
4070{
4071  char *s;
4072  va_list v;
4073  va_start (v,p);
4074  s = g (p, va_arg (v,int));
4075  va_end (v);
4076  return s;
4077}
4078
4079/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4080   function prototypes and stuff, but not '\xHH' hex character constants.
4081   These don't provoke an error unfortunately, instead are silently treated
4082   as 'x'.  The following induces an error, until -std is added to get
4083   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4084   array size at least.  It's necessary to write '\x00'==0 to get something
4085   that's true only with -std.  */
4086int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4087
4088/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4089   inside strings and character constants.  */
4090#define FOO(x) 'x'
4091int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4092
4093int test (int i, double x);
4094struct s1 {int (*f) (int a);};
4095struct s2 {int (*f) (double a);};
4096int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4097int argc;
4098char **argv;
4099int
4100main ()
4101{
4102return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4103  ;
4104  return 0;
4105}
4106_ACEOF
4107for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4108	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4109do
4110  CC="$ac_save_CC $ac_arg"
4111  if ac_fn_c_try_compile "$LINENO"; then :
4112  ac_cv_prog_cc_c89=$ac_arg
4113fi
4114rm -f core conftest.err conftest.$ac_objext
4115  test "x$ac_cv_prog_cc_c89" != "xno" && break
4116done
4117rm -f conftest.$ac_ext
4118CC=$ac_save_CC
4119
4120fi
4121# AC_CACHE_VAL
4122case "x$ac_cv_prog_cc_c89" in
4123  x)
4124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4125$as_echo "none needed" >&6; } ;;
4126  xno)
4127    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4128$as_echo "unsupported" >&6; } ;;
4129  *)
4130    CC="$CC $ac_cv_prog_cc_c89"
4131    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4132$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4133esac
4134if test "x$ac_cv_prog_cc_c89" != xno; then :
4135
4136fi
4137
4138ac_ext=c
4139ac_cpp='$CPP $CPPFLAGS'
4140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142ac_compiler_gnu=$ac_cv_c_compiler_gnu
4143
4144ac_ext=c
4145ac_cpp='$CPP $CPPFLAGS'
4146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148ac_compiler_gnu=$ac_cv_c_compiler_gnu
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4150$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4151if ${am_cv_prog_cc_c_o+:} false; then :
4152  $as_echo_n "(cached) " >&6
4153else
4154  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155/* end confdefs.h.  */
4156
4157int
4158main ()
4159{
4160
4161  ;
4162  return 0;
4163}
4164_ACEOF
4165  # Make sure it works both with $CC and with simple cc.
4166  # Following AC_PROG_CC_C_O, we do the test twice because some
4167  # compilers refuse to overwrite an existing .o file with -o,
4168  # though they will create one.
4169  am_cv_prog_cc_c_o=yes
4170  for am_i in 1 2; do
4171    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4172   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4173   ac_status=$?
4174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175   (exit $ac_status); } \
4176         && test -f conftest2.$ac_objext; then
4177      : OK
4178    else
4179      am_cv_prog_cc_c_o=no
4180      break
4181    fi
4182  done
4183  rm -f core conftest*
4184  unset am_i
4185fi
4186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4187$as_echo "$am_cv_prog_cc_c_o" >&6; }
4188if test "$am_cv_prog_cc_c_o" != yes; then
4189   # Losing compiler, so override with the script.
4190   # FIXME: It is wrong to rewrite CC.
4191   # But if we don't then we get into trouble of one sort or another.
4192   # A longer-term fix would be to have automake use am__CC in this case,
4193   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4194   CC="$am_aux_dir/compile $CC"
4195fi
4196ac_ext=c
4197ac_cpp='$CPP $CPPFLAGS'
4198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201
4202DEPDIR="${am__leading_dot}deps"
4203
4204ac_config_commands="$ac_config_commands depfiles"
4205
4206
4207am_make=${MAKE-make}
4208cat > confinc << 'END'
4209am__doit:
4210	@echo this is the am__doit target
4211.PHONY: am__doit
4212END
4213# If we don't find an include directive, just comment out the code.
4214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4215$as_echo_n "checking for style of include used by $am_make... " >&6; }
4216am__include="#"
4217am__quote=
4218_am_result=none
4219# First try GNU make style include.
4220echo "include confinc" > confmf
4221# Ignore all kinds of additional output from 'make'.
4222case `$am_make -s -f confmf 2> /dev/null` in #(
4223*the\ am__doit\ target*)
4224  am__include=include
4225  am__quote=
4226  _am_result=GNU
4227  ;;
4228esac
4229# Now try BSD make style include.
4230if test "$am__include" = "#"; then
4231   echo '.include "confinc"' > confmf
4232   case `$am_make -s -f confmf 2> /dev/null` in #(
4233   *the\ am__doit\ target*)
4234     am__include=.include
4235     am__quote="\""
4236     _am_result=BSD
4237     ;;
4238   esac
4239fi
4240
4241
4242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4243$as_echo "$_am_result" >&6; }
4244rm -f confinc confmf
4245
4246# Check whether --enable-dependency-tracking was given.
4247if test "${enable_dependency_tracking+set}" = set; then :
4248  enableval=$enable_dependency_tracking;
4249fi
4250
4251if test "x$enable_dependency_tracking" != xno; then
4252  am_depcomp="$ac_aux_dir/depcomp"
4253  AMDEPBACKSLASH='\'
4254  am__nodep='_no'
4255fi
4256 if test "x$enable_dependency_tracking" != xno; then
4257  AMDEP_TRUE=
4258  AMDEP_FALSE='#'
4259else
4260  AMDEP_TRUE='#'
4261  AMDEP_FALSE=
4262fi
4263
4264
4265
4266depcc="$CC"   am_compiler_list=
4267
4268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4269$as_echo_n "checking dependency style of $depcc... " >&6; }
4270if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4271  $as_echo_n "(cached) " >&6
4272else
4273  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4274  # We make a subdir and do the tests there.  Otherwise we can end up
4275  # making bogus files that we don't know about and never remove.  For
4276  # instance it was reported that on HP-UX the gcc test will end up
4277  # making a dummy file named 'D' -- because '-MD' means "put the output
4278  # in D".
4279  rm -rf conftest.dir
4280  mkdir conftest.dir
4281  # Copy depcomp to subdir because otherwise we won't find it if we're
4282  # using a relative directory.
4283  cp "$am_depcomp" conftest.dir
4284  cd conftest.dir
4285  # We will build objects and dependencies in a subdirectory because
4286  # it helps to detect inapplicable dependency modes.  For instance
4287  # both Tru64's cc and ICC support -MD to output dependencies as a
4288  # side effect of compilation, but ICC will put the dependencies in
4289  # the current directory while Tru64 will put them in the object
4290  # directory.
4291  mkdir sub
4292
4293  am_cv_CC_dependencies_compiler_type=none
4294  if test "$am_compiler_list" = ""; then
4295     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4296  fi
4297  am__universal=false
4298  case " $depcc " in #(
4299     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4300     esac
4301
4302  for depmode in $am_compiler_list; do
4303    # Setup a source with many dependencies, because some compilers
4304    # like to wrap large dependency lists on column 80 (with \), and
4305    # we should not choose a depcomp mode which is confused by this.
4306    #
4307    # We need to recreate these files for each test, as the compiler may
4308    # overwrite some of them when testing with obscure command lines.
4309    # This happens at least with the AIX C compiler.
4310    : > sub/conftest.c
4311    for i in 1 2 3 4 5 6; do
4312      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4313      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4314      # Solaris 10 /bin/sh.
4315      echo '/* dummy */' > sub/conftst$i.h
4316    done
4317    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4318
4319    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4320    # mode.  It turns out that the SunPro C++ compiler does not properly
4321    # handle '-M -o', and we need to detect this.  Also, some Intel
4322    # versions had trouble with output in subdirs.
4323    am__obj=sub/conftest.${OBJEXT-o}
4324    am__minus_obj="-o $am__obj"
4325    case $depmode in
4326    gcc)
4327      # This depmode causes a compiler race in universal mode.
4328      test "$am__universal" = false || continue
4329      ;;
4330    nosideeffect)
4331      # After this tag, mechanisms are not by side-effect, so they'll
4332      # only be used when explicitly requested.
4333      if test "x$enable_dependency_tracking" = xyes; then
4334	continue
4335      else
4336	break
4337      fi
4338      ;;
4339    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4340      # This compiler won't grok '-c -o', but also, the minuso test has
4341      # not run yet.  These depmodes are late enough in the game, and
4342      # so weak that their functioning should not be impacted.
4343      am__obj=conftest.${OBJEXT-o}
4344      am__minus_obj=
4345      ;;
4346    none) break ;;
4347    esac
4348    if depmode=$depmode \
4349       source=sub/conftest.c object=$am__obj \
4350       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4351       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4352         >/dev/null 2>conftest.err &&
4353       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4354       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4355       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4356       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4357      # icc doesn't choke on unknown options, it will just issue warnings
4358      # or remarks (even with -Werror).  So we grep stderr for any message
4359      # that says an option was ignored or not supported.
4360      # When given -MP, icc 7.0 and 7.1 complain thusly:
4361      #   icc: Command line warning: ignoring option '-M'; no argument required
4362      # The diagnosis changed in icc 8.0:
4363      #   icc: Command line remark: option '-MP' not supported
4364      if (grep 'ignoring option' conftest.err ||
4365          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4366        am_cv_CC_dependencies_compiler_type=$depmode
4367        break
4368      fi
4369    fi
4370  done
4371
4372  cd ..
4373  rm -rf conftest.dir
4374else
4375  am_cv_CC_dependencies_compiler_type=none
4376fi
4377
4378fi
4379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4380$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4381CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4382
4383 if
4384  test "x$enable_dependency_tracking" != xno \
4385  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4386  am__fastdepCC_TRUE=
4387  am__fastdepCC_FALSE='#'
4388else
4389  am__fastdepCC_TRUE='#'
4390  am__fastdepCC_FALSE=
4391fi
4392
4393
4394   case $ac_cv_prog_cc_stdc in #(
4395  no) :
4396    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4397  *) :
4398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4399$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4400if ${ac_cv_prog_cc_c99+:} false; then :
4401  $as_echo_n "(cached) " >&6
4402else
4403  ac_cv_prog_cc_c99=no
4404ac_save_CC=$CC
4405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406/* end confdefs.h.  */
4407#include <stdarg.h>
4408#include <stdbool.h>
4409#include <stdlib.h>
4410#include <wchar.h>
4411#include <stdio.h>
4412
4413// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4414#define debug(...) fprintf (stderr, __VA_ARGS__)
4415#define showlist(...) puts (#__VA_ARGS__)
4416#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4417static void
4418test_varargs_macros (void)
4419{
4420  int x = 1234;
4421  int y = 5678;
4422  debug ("Flag");
4423  debug ("X = %d\n", x);
4424  showlist (The first, second, and third items.);
4425  report (x>y, "x is %d but y is %d", x, y);
4426}
4427
4428// Check long long types.
4429#define BIG64 18446744073709551615ull
4430#define BIG32 4294967295ul
4431#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4432#if !BIG_OK
4433  your preprocessor is broken;
4434#endif
4435#if BIG_OK
4436#else
4437  your preprocessor is broken;
4438#endif
4439static long long int bignum = -9223372036854775807LL;
4440static unsigned long long int ubignum = BIG64;
4441
4442struct incomplete_array
4443{
4444  int datasize;
4445  double data[];
4446};
4447
4448struct named_init {
4449  int number;
4450  const wchar_t *name;
4451  double average;
4452};
4453
4454typedef const char *ccp;
4455
4456static inline int
4457test_restrict (ccp restrict text)
4458{
4459  // See if C++-style comments work.
4460  // Iterate through items via the restricted pointer.
4461  // Also check for declarations in for loops.
4462  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4463    continue;
4464  return 0;
4465}
4466
4467// Check varargs and va_copy.
4468static void
4469test_varargs (const char *format, ...)
4470{
4471  va_list args;
4472  va_start (args, format);
4473  va_list args_copy;
4474  va_copy (args_copy, args);
4475
4476  const char *str;
4477  int number;
4478  float fnumber;
4479
4480  while (*format)
4481    {
4482      switch (*format++)
4483	{
4484	case 's': // string
4485	  str = va_arg (args_copy, const char *);
4486	  break;
4487	case 'd': // int
4488	  number = va_arg (args_copy, int);
4489	  break;
4490	case 'f': // float
4491	  fnumber = va_arg (args_copy, double);
4492	  break;
4493	default:
4494	  break;
4495	}
4496    }
4497  va_end (args_copy);
4498  va_end (args);
4499}
4500
4501int
4502main ()
4503{
4504
4505  // Check bool.
4506  _Bool success = false;
4507
4508  // Check restrict.
4509  if (test_restrict ("String literal") == 0)
4510    success = true;
4511  char *restrict newvar = "Another string";
4512
4513  // Check varargs.
4514  test_varargs ("s, d' f .", "string", 65, 34.234);
4515  test_varargs_macros ();
4516
4517  // Check flexible array members.
4518  struct incomplete_array *ia =
4519    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4520  ia->datasize = 10;
4521  for (int i = 0; i < ia->datasize; ++i)
4522    ia->data[i] = i * 1.234;
4523
4524  // Check named initializers.
4525  struct named_init ni = {
4526    .number = 34,
4527    .name = L"Test wide string",
4528    .average = 543.34343,
4529  };
4530
4531  ni.number = 58;
4532
4533  int dynamic_array[ni.number];
4534  dynamic_array[ni.number - 1] = 543;
4535
4536  // work around unused variable warnings
4537  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4538	  || dynamic_array[ni.number - 1] != 543);
4539
4540  ;
4541  return 0;
4542}
4543_ACEOF
4544for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4545do
4546  CC="$ac_save_CC $ac_arg"
4547  if ac_fn_c_try_compile "$LINENO"; then :
4548  ac_cv_prog_cc_c99=$ac_arg
4549fi
4550rm -f core conftest.err conftest.$ac_objext
4551  test "x$ac_cv_prog_cc_c99" != "xno" && break
4552done
4553rm -f conftest.$ac_ext
4554CC=$ac_save_CC
4555
4556fi
4557# AC_CACHE_VAL
4558case "x$ac_cv_prog_cc_c99" in
4559  x)
4560    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4561$as_echo "none needed" >&6; } ;;
4562  xno)
4563    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4564$as_echo "unsupported" >&6; } ;;
4565  *)
4566    CC="$CC $ac_cv_prog_cc_c99"
4567    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4568$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4569esac
4570if test "x$ac_cv_prog_cc_c99" != xno; then :
4571  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4572else
4573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4574$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4575if ${ac_cv_prog_cc_c89+:} false; then :
4576  $as_echo_n "(cached) " >&6
4577else
4578  ac_cv_prog_cc_c89=no
4579ac_save_CC=$CC
4580cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581/* end confdefs.h.  */
4582#include <stdarg.h>
4583#include <stdio.h>
4584struct stat;
4585/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4586struct buf { int x; };
4587FILE * (*rcsopen) (struct buf *, struct stat *, int);
4588static char *e (p, i)
4589     char **p;
4590     int i;
4591{
4592  return p[i];
4593}
4594static char *f (char * (*g) (char **, int), char **p, ...)
4595{
4596  char *s;
4597  va_list v;
4598  va_start (v,p);
4599  s = g (p, va_arg (v,int));
4600  va_end (v);
4601  return s;
4602}
4603
4604/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4605   function prototypes and stuff, but not '\xHH' hex character constants.
4606   These don't provoke an error unfortunately, instead are silently treated
4607   as 'x'.  The following induces an error, until -std is added to get
4608   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4609   array size at least.  It's necessary to write '\x00'==0 to get something
4610   that's true only with -std.  */
4611int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4612
4613/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4614   inside strings and character constants.  */
4615#define FOO(x) 'x'
4616int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4617
4618int test (int i, double x);
4619struct s1 {int (*f) (int a);};
4620struct s2 {int (*f) (double a);};
4621int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4622int argc;
4623char **argv;
4624int
4625main ()
4626{
4627return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4628  ;
4629  return 0;
4630}
4631_ACEOF
4632for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4633	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4634do
4635  CC="$ac_save_CC $ac_arg"
4636  if ac_fn_c_try_compile "$LINENO"; then :
4637  ac_cv_prog_cc_c89=$ac_arg
4638fi
4639rm -f core conftest.err conftest.$ac_objext
4640  test "x$ac_cv_prog_cc_c89" != "xno" && break
4641done
4642rm -f conftest.$ac_ext
4643CC=$ac_save_CC
4644
4645fi
4646# AC_CACHE_VAL
4647case "x$ac_cv_prog_cc_c89" in
4648  x)
4649    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4650$as_echo "none needed" >&6; } ;;
4651  xno)
4652    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4653$as_echo "unsupported" >&6; } ;;
4654  *)
4655    CC="$CC $ac_cv_prog_cc_c89"
4656    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4657$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4658esac
4659if test "x$ac_cv_prog_cc_c89" != xno; then :
4660  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4661else
4662  ac_cv_prog_cc_stdc=no
4663fi
4664
4665fi
4666 ;;
4667esac
4668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4669$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4670  if ${ac_cv_prog_cc_stdc+:} false; then :
4671  $as_echo_n "(cached) " >&6
4672fi
4673
4674  case $ac_cv_prog_cc_stdc in #(
4675  no) :
4676    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4677$as_echo "unsupported" >&6; } ;; #(
4678  '') :
4679    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4680$as_echo "none needed" >&6; } ;; #(
4681  *) :
4682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4683$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4684esac
4685
4686ac_ext=c
4687ac_cpp='$CPP $CPPFLAGS'
4688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690ac_compiler_gnu=$ac_cv_c_compiler_gnu
4691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4692$as_echo_n "checking how to run the C preprocessor... " >&6; }
4693# On Suns, sometimes $CPP names a directory.
4694if test -n "$CPP" && test -d "$CPP"; then
4695  CPP=
4696fi
4697if test -z "$CPP"; then
4698  if ${ac_cv_prog_CPP+:} false; then :
4699  $as_echo_n "(cached) " >&6
4700else
4701      # Double quotes because CPP needs to be expanded
4702    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4703    do
4704      ac_preproc_ok=false
4705for ac_c_preproc_warn_flag in '' yes
4706do
4707  # Use a header file that comes with gcc, so configuring glibc
4708  # with a fresh cross-compiler works.
4709  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710  # <limits.h> exists even on freestanding compilers.
4711  # On the NeXT, cc -E runs the code through the compiler's parser,
4712  # not just through cpp. "Syntax error" is here to catch this case.
4713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714/* end confdefs.h.  */
4715#ifdef __STDC__
4716# include <limits.h>
4717#else
4718# include <assert.h>
4719#endif
4720		     Syntax error
4721_ACEOF
4722if ac_fn_c_try_cpp "$LINENO"; then :
4723
4724else
4725  # Broken: fails on valid input.
4726continue
4727fi
4728rm -f conftest.err conftest.i conftest.$ac_ext
4729
4730  # OK, works on sane cases.  Now check whether nonexistent headers
4731  # can be detected and how.
4732  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733/* end confdefs.h.  */
4734#include <ac_nonexistent.h>
4735_ACEOF
4736if ac_fn_c_try_cpp "$LINENO"; then :
4737  # Broken: success on invalid input.
4738continue
4739else
4740  # Passes both tests.
4741ac_preproc_ok=:
4742break
4743fi
4744rm -f conftest.err conftest.i conftest.$ac_ext
4745
4746done
4747# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4748rm -f conftest.i conftest.err conftest.$ac_ext
4749if $ac_preproc_ok; then :
4750  break
4751fi
4752
4753    done
4754    ac_cv_prog_CPP=$CPP
4755
4756fi
4757  CPP=$ac_cv_prog_CPP
4758else
4759  ac_cv_prog_CPP=$CPP
4760fi
4761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4762$as_echo "$CPP" >&6; }
4763ac_preproc_ok=false
4764for ac_c_preproc_warn_flag in '' yes
4765do
4766  # Use a header file that comes with gcc, so configuring glibc
4767  # with a fresh cross-compiler works.
4768  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4769  # <limits.h> exists even on freestanding compilers.
4770  # On the NeXT, cc -E runs the code through the compiler's parser,
4771  # not just through cpp. "Syntax error" is here to catch this case.
4772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773/* end confdefs.h.  */
4774#ifdef __STDC__
4775# include <limits.h>
4776#else
4777# include <assert.h>
4778#endif
4779		     Syntax error
4780_ACEOF
4781if ac_fn_c_try_cpp "$LINENO"; then :
4782
4783else
4784  # Broken: fails on valid input.
4785continue
4786fi
4787rm -f conftest.err conftest.i conftest.$ac_ext
4788
4789  # OK, works on sane cases.  Now check whether nonexistent headers
4790  # can be detected and how.
4791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792/* end confdefs.h.  */
4793#include <ac_nonexistent.h>
4794_ACEOF
4795if ac_fn_c_try_cpp "$LINENO"; then :
4796  # Broken: success on invalid input.
4797continue
4798else
4799  # Passes both tests.
4800ac_preproc_ok=:
4801break
4802fi
4803rm -f conftest.err conftest.i conftest.$ac_ext
4804
4805done
4806# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4807rm -f conftest.i conftest.err conftest.$ac_ext
4808if $ac_preproc_ok; then :
4809
4810else
4811  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4814See \`config.log' for more details" "$LINENO" 5; }
4815fi
4816
4817ac_ext=c
4818ac_cpp='$CPP $CPPFLAGS'
4819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4821ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822
4823
4824if test x${gl_unknown_warnings_are_errors+set} = x; then :
4825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
4826$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
4827if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
4828  $as_echo_n "(cached) " >&6
4829else
4830
4831  gl_save_compiler_FLAGS="$CFLAGS"
4832  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
4833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834/* end confdefs.h.  */
4835
4836int
4837main ()
4838{
4839
4840  ;
4841  return 0;
4842}
4843_ACEOF
4844if ac_fn_c_try_link "$LINENO"; then :
4845  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
4846else
4847  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
4848fi
4849rm -f core conftest.err conftest.$ac_objext \
4850    conftest$ac_exeext conftest.$ac_ext
4851  CFLAGS="$gl_save_compiler_FLAGS"
4852
4853fi
4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
4855$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
4856if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
4857  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
4858else
4859  gl_unknown_warnings_are_errors=
4860fi
4861
4862
4863fi
4864
4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wall" >&5
4866$as_echo_n "checking whether $CC handles -Wall... " >&6; }
4867if ${gl_cv_warn_CFLAGS__Wall+:} false; then :
4868  $as_echo_n "(cached) " >&6
4869else
4870
4871  gl_save_compiler_FLAGS="$CFLAGS"
4872  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wall"
4873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4874/* end confdefs.h.  */
4875
4876int
4877main ()
4878{
4879
4880  ;
4881  return 0;
4882}
4883_ACEOF
4884if ac_fn_c_try_link "$LINENO"; then :
4885  gl_cv_warn_CFLAGS__Wall=yes
4886else
4887  gl_cv_warn_CFLAGS__Wall=no
4888fi
4889rm -f core conftest.err conftest.$ac_objext \
4890    conftest$ac_exeext conftest.$ac_ext
4891  CFLAGS="$gl_save_compiler_FLAGS"
4892
4893fi
4894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wall" >&5
4895$as_echo "$gl_cv_warn_CFLAGS__Wall" >&6; }
4896if test "x$gl_cv_warn_CFLAGS__Wall" = xyes; then :
4897  as_fn_append WARN_CFLAGS " -Wall"
4898fi
4899
4900
4901if test x${gl_unknown_warnings_are_errors+set} = x; then :
4902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
4903$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
4904if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
4905  $as_echo_n "(cached) " >&6
4906else
4907
4908  gl_save_compiler_FLAGS="$CFLAGS"
4909  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
4910  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911/* end confdefs.h.  */
4912
4913int
4914main ()
4915{
4916
4917  ;
4918  return 0;
4919}
4920_ACEOF
4921if ac_fn_c_try_link "$LINENO"; then :
4922  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
4923else
4924  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
4925fi
4926rm -f core conftest.err conftest.$ac_objext \
4927    conftest$ac_exeext conftest.$ac_ext
4928  CFLAGS="$gl_save_compiler_FLAGS"
4929
4930fi
4931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
4932$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
4933if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
4934  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
4935else
4936  gl_unknown_warnings_are_errors=
4937fi
4938
4939
4940fi
4941
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wempty-body" >&5
4943$as_echo_n "checking whether $CC handles -Wempty-body... " >&6; }
4944if ${gl_cv_warn_CFLAGS__Wempty_body+:} false; then :
4945  $as_echo_n "(cached) " >&6
4946else
4947
4948  gl_save_compiler_FLAGS="$CFLAGS"
4949  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wempty-body"
4950  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951/* end confdefs.h.  */
4952
4953int
4954main ()
4955{
4956
4957  ;
4958  return 0;
4959}
4960_ACEOF
4961if ac_fn_c_try_link "$LINENO"; then :
4962  gl_cv_warn_CFLAGS__Wempty_body=yes
4963else
4964  gl_cv_warn_CFLAGS__Wempty_body=no
4965fi
4966rm -f core conftest.err conftest.$ac_objext \
4967    conftest$ac_exeext conftest.$ac_ext
4968  CFLAGS="$gl_save_compiler_FLAGS"
4969
4970fi
4971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wempty_body" >&5
4972$as_echo "$gl_cv_warn_CFLAGS__Wempty_body" >&6; }
4973if test "x$gl_cv_warn_CFLAGS__Wempty_body" = xyes; then :
4974  as_fn_append WARN_CFLAGS " -Wempty-body"
4975fi
4976
4977
4978if test x${gl_unknown_warnings_are_errors+set} = x; then :
4979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
4980$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
4981if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
4982  $as_echo_n "(cached) " >&6
4983else
4984
4985  gl_save_compiler_FLAGS="$CFLAGS"
4986  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
4987  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988/* end confdefs.h.  */
4989
4990int
4991main ()
4992{
4993
4994  ;
4995  return 0;
4996}
4997_ACEOF
4998if ac_fn_c_try_link "$LINENO"; then :
4999  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5000else
5001  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5002fi
5003rm -f core conftest.err conftest.$ac_objext \
5004    conftest$ac_exeext conftest.$ac_ext
5005  CFLAGS="$gl_save_compiler_FLAGS"
5006
5007fi
5008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5009$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5010if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5011  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5012else
5013  gl_unknown_warnings_are_errors=
5014fi
5015
5016
5017fi
5018
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wformat-security" >&5
5020$as_echo_n "checking whether $CC handles -Wformat-security... " >&6; }
5021if ${gl_cv_warn_CFLAGS__Wformat_security+:} false; then :
5022  $as_echo_n "(cached) " >&6
5023else
5024
5025  gl_save_compiler_FLAGS="$CFLAGS"
5026  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wformat-security"
5027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028/* end confdefs.h.  */
5029
5030int
5031main ()
5032{
5033
5034  ;
5035  return 0;
5036}
5037_ACEOF
5038if ac_fn_c_try_link "$LINENO"; then :
5039  gl_cv_warn_CFLAGS__Wformat_security=yes
5040else
5041  gl_cv_warn_CFLAGS__Wformat_security=no
5042fi
5043rm -f core conftest.err conftest.$ac_objext \
5044    conftest$ac_exeext conftest.$ac_ext
5045  CFLAGS="$gl_save_compiler_FLAGS"
5046
5047fi
5048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wformat_security" >&5
5049$as_echo "$gl_cv_warn_CFLAGS__Wformat_security" >&6; }
5050if test "x$gl_cv_warn_CFLAGS__Wformat_security" = xyes; then :
5051  as_fn_append WARN_CFLAGS " -Wformat-security"
5052fi
5053
5054
5055if test x${gl_unknown_warnings_are_errors+set} = x; then :
5056  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5057$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5058if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5059  $as_echo_n "(cached) " >&6
5060else
5061
5062  gl_save_compiler_FLAGS="$CFLAGS"
5063  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065/* end confdefs.h.  */
5066
5067int
5068main ()
5069{
5070
5071  ;
5072  return 0;
5073}
5074_ACEOF
5075if ac_fn_c_try_link "$LINENO"; then :
5076  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5077else
5078  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5079fi
5080rm -f core conftest.err conftest.$ac_objext \
5081    conftest$ac_exeext conftest.$ac_ext
5082  CFLAGS="$gl_save_compiler_FLAGS"
5083
5084fi
5085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5086$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5087if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5088  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5089else
5090  gl_unknown_warnings_are_errors=
5091fi
5092
5093
5094fi
5095
5096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wignored-qualifiers" >&5
5097$as_echo_n "checking whether $CC handles -Wignored-qualifiers... " >&6; }
5098if ${gl_cv_warn_CFLAGS__Wignored_qualifiers+:} false; then :
5099  $as_echo_n "(cached) " >&6
5100else
5101
5102  gl_save_compiler_FLAGS="$CFLAGS"
5103  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wignored-qualifiers"
5104  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105/* end confdefs.h.  */
5106
5107int
5108main ()
5109{
5110
5111  ;
5112  return 0;
5113}
5114_ACEOF
5115if ac_fn_c_try_link "$LINENO"; then :
5116  gl_cv_warn_CFLAGS__Wignored_qualifiers=yes
5117else
5118  gl_cv_warn_CFLAGS__Wignored_qualifiers=no
5119fi
5120rm -f core conftest.err conftest.$ac_objext \
5121    conftest$ac_exeext conftest.$ac_ext
5122  CFLAGS="$gl_save_compiler_FLAGS"
5123
5124fi
5125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wignored_qualifiers" >&5
5126$as_echo "$gl_cv_warn_CFLAGS__Wignored_qualifiers" >&6; }
5127if test "x$gl_cv_warn_CFLAGS__Wignored_qualifiers" = xyes; then :
5128  as_fn_append WARN_CFLAGS " -Wignored-qualifiers"
5129fi
5130
5131
5132if test x${gl_unknown_warnings_are_errors+set} = x; then :
5133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5134$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5135if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5136  $as_echo_n "(cached) " >&6
5137else
5138
5139  gl_save_compiler_FLAGS="$CFLAGS"
5140  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5142/* end confdefs.h.  */
5143
5144int
5145main ()
5146{
5147
5148  ;
5149  return 0;
5150}
5151_ACEOF
5152if ac_fn_c_try_link "$LINENO"; then :
5153  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5154else
5155  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5156fi
5157rm -f core conftest.err conftest.$ac_objext \
5158    conftest$ac_exeext conftest.$ac_ext
5159  CFLAGS="$gl_save_compiler_FLAGS"
5160
5161fi
5162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5163$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5164if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5165  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5166else
5167  gl_unknown_warnings_are_errors=
5168fi
5169
5170
5171fi
5172
5173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Winit-self" >&5
5174$as_echo_n "checking whether $CC handles -Winit-self... " >&6; }
5175if ${gl_cv_warn_CFLAGS__Winit_self+:} false; then :
5176  $as_echo_n "(cached) " >&6
5177else
5178
5179  gl_save_compiler_FLAGS="$CFLAGS"
5180  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Winit-self"
5181  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5182/* end confdefs.h.  */
5183
5184int
5185main ()
5186{
5187
5188  ;
5189  return 0;
5190}
5191_ACEOF
5192if ac_fn_c_try_link "$LINENO"; then :
5193  gl_cv_warn_CFLAGS__Winit_self=yes
5194else
5195  gl_cv_warn_CFLAGS__Winit_self=no
5196fi
5197rm -f core conftest.err conftest.$ac_objext \
5198    conftest$ac_exeext conftest.$ac_ext
5199  CFLAGS="$gl_save_compiler_FLAGS"
5200
5201fi
5202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Winit_self" >&5
5203$as_echo "$gl_cv_warn_CFLAGS__Winit_self" >&6; }
5204if test "x$gl_cv_warn_CFLAGS__Winit_self" = xyes; then :
5205  as_fn_append WARN_CFLAGS " -Winit-self"
5206fi
5207
5208
5209if test x${gl_unknown_warnings_are_errors+set} = x; then :
5210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5211$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5212if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5213  $as_echo_n "(cached) " >&6
5214else
5215
5216  gl_save_compiler_FLAGS="$CFLAGS"
5217  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219/* end confdefs.h.  */
5220
5221int
5222main ()
5223{
5224
5225  ;
5226  return 0;
5227}
5228_ACEOF
5229if ac_fn_c_try_link "$LINENO"; then :
5230  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5231else
5232  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5233fi
5234rm -f core conftest.err conftest.$ac_objext \
5235    conftest$ac_exeext conftest.$ac_ext
5236  CFLAGS="$gl_save_compiler_FLAGS"
5237
5238fi
5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5240$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5241if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5242  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5243else
5244  gl_unknown_warnings_are_errors=
5245fi
5246
5247
5248fi
5249
5250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wlogical-op" >&5
5251$as_echo_n "checking whether $CC handles -Wlogical-op... " >&6; }
5252if ${gl_cv_warn_CFLAGS__Wlogical_op+:} false; then :
5253  $as_echo_n "(cached) " >&6
5254else
5255
5256  gl_save_compiler_FLAGS="$CFLAGS"
5257  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wlogical-op"
5258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259/* end confdefs.h.  */
5260
5261int
5262main ()
5263{
5264
5265  ;
5266  return 0;
5267}
5268_ACEOF
5269if ac_fn_c_try_link "$LINENO"; then :
5270  gl_cv_warn_CFLAGS__Wlogical_op=yes
5271else
5272  gl_cv_warn_CFLAGS__Wlogical_op=no
5273fi
5274rm -f core conftest.err conftest.$ac_objext \
5275    conftest$ac_exeext conftest.$ac_ext
5276  CFLAGS="$gl_save_compiler_FLAGS"
5277
5278fi
5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wlogical_op" >&5
5280$as_echo "$gl_cv_warn_CFLAGS__Wlogical_op" >&6; }
5281if test "x$gl_cv_warn_CFLAGS__Wlogical_op" = xyes; then :
5282  as_fn_append WARN_CFLAGS " -Wlogical-op"
5283fi
5284
5285
5286if test x${gl_unknown_warnings_are_errors+set} = x; then :
5287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5288$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5289if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5290  $as_echo_n "(cached) " >&6
5291else
5292
5293  gl_save_compiler_FLAGS="$CFLAGS"
5294  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5295  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296/* end confdefs.h.  */
5297
5298int
5299main ()
5300{
5301
5302  ;
5303  return 0;
5304}
5305_ACEOF
5306if ac_fn_c_try_link "$LINENO"; then :
5307  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5308else
5309  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5310fi
5311rm -f core conftest.err conftest.$ac_objext \
5312    conftest$ac_exeext conftest.$ac_ext
5313  CFLAGS="$gl_save_compiler_FLAGS"
5314
5315fi
5316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5317$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5318if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5319  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5320else
5321  gl_unknown_warnings_are_errors=
5322fi
5323
5324
5325fi
5326
5327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wmissing-parameter-type" >&5
5328$as_echo_n "checking whether $CC handles -Wmissing-parameter-type... " >&6; }
5329if ${gl_cv_warn_CFLAGS__Wmissing_parameter_type+:} false; then :
5330  $as_echo_n "(cached) " >&6
5331else
5332
5333  gl_save_compiler_FLAGS="$CFLAGS"
5334  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wmissing-parameter-type"
5335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5336/* end confdefs.h.  */
5337
5338int
5339main ()
5340{
5341
5342  ;
5343  return 0;
5344}
5345_ACEOF
5346if ac_fn_c_try_link "$LINENO"; then :
5347  gl_cv_warn_CFLAGS__Wmissing_parameter_type=yes
5348else
5349  gl_cv_warn_CFLAGS__Wmissing_parameter_type=no
5350fi
5351rm -f core conftest.err conftest.$ac_objext \
5352    conftest$ac_exeext conftest.$ac_ext
5353  CFLAGS="$gl_save_compiler_FLAGS"
5354
5355fi
5356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&5
5357$as_echo "$gl_cv_warn_CFLAGS__Wmissing_parameter_type" >&6; }
5358if test "x$gl_cv_warn_CFLAGS__Wmissing_parameter_type" = xyes; then :
5359  as_fn_append WARN_CFLAGS " -Wmissing-parameter-type"
5360fi
5361
5362
5363if test x${gl_unknown_warnings_are_errors+set} = x; then :
5364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5365$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5366if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5367  $as_echo_n "(cached) " >&6
5368else
5369
5370  gl_save_compiler_FLAGS="$CFLAGS"
5371  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373/* end confdefs.h.  */
5374
5375int
5376main ()
5377{
5378
5379  ;
5380  return 0;
5381}
5382_ACEOF
5383if ac_fn_c_try_link "$LINENO"; then :
5384  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5385else
5386  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5387fi
5388rm -f core conftest.err conftest.$ac_objext \
5389    conftest$ac_exeext conftest.$ac_ext
5390  CFLAGS="$gl_save_compiler_FLAGS"
5391
5392fi
5393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5394$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5395if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5396  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5397else
5398  gl_unknown_warnings_are_errors=
5399fi
5400
5401
5402fi
5403
5404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wnested-externs" >&5
5405$as_echo_n "checking whether $CC handles -Wnested-externs... " >&6; }
5406if ${gl_cv_warn_CFLAGS__Wnested_externs+:} false; then :
5407  $as_echo_n "(cached) " >&6
5408else
5409
5410  gl_save_compiler_FLAGS="$CFLAGS"
5411  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wnested-externs"
5412  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413/* end confdefs.h.  */
5414
5415int
5416main ()
5417{
5418
5419  ;
5420  return 0;
5421}
5422_ACEOF
5423if ac_fn_c_try_link "$LINENO"; then :
5424  gl_cv_warn_CFLAGS__Wnested_externs=yes
5425else
5426  gl_cv_warn_CFLAGS__Wnested_externs=no
5427fi
5428rm -f core conftest.err conftest.$ac_objext \
5429    conftest$ac_exeext conftest.$ac_ext
5430  CFLAGS="$gl_save_compiler_FLAGS"
5431
5432fi
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wnested_externs" >&5
5434$as_echo "$gl_cv_warn_CFLAGS__Wnested_externs" >&6; }
5435if test "x$gl_cv_warn_CFLAGS__Wnested_externs" = xyes; then :
5436  as_fn_append WARN_CFLAGS " -Wnested-externs"
5437fi
5438
5439
5440if test x${gl_unknown_warnings_are_errors+set} = x; then :
5441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5442$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5443if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5444  $as_echo_n "(cached) " >&6
5445else
5446
5447  gl_save_compiler_FLAGS="$CFLAGS"
5448  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5449  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5450/* end confdefs.h.  */
5451
5452int
5453main ()
5454{
5455
5456  ;
5457  return 0;
5458}
5459_ACEOF
5460if ac_fn_c_try_link "$LINENO"; then :
5461  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5462else
5463  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5464fi
5465rm -f core conftest.err conftest.$ac_objext \
5466    conftest$ac_exeext conftest.$ac_ext
5467  CFLAGS="$gl_save_compiler_FLAGS"
5468
5469fi
5470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5471$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5472if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5473  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5474else
5475  gl_unknown_warnings_are_errors=
5476fi
5477
5478
5479fi
5480
5481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-declaration" >&5
5482$as_echo_n "checking whether $CC handles -Wold-style-declaration... " >&6; }
5483if ${gl_cv_warn_CFLAGS__Wold_style_declaration+:} false; then :
5484  $as_echo_n "(cached) " >&6
5485else
5486
5487  gl_save_compiler_FLAGS="$CFLAGS"
5488  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-declaration"
5489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490/* end confdefs.h.  */
5491
5492int
5493main ()
5494{
5495
5496  ;
5497  return 0;
5498}
5499_ACEOF
5500if ac_fn_c_try_link "$LINENO"; then :
5501  gl_cv_warn_CFLAGS__Wold_style_declaration=yes
5502else
5503  gl_cv_warn_CFLAGS__Wold_style_declaration=no
5504fi
5505rm -f core conftest.err conftest.$ac_objext \
5506    conftest$ac_exeext conftest.$ac_ext
5507  CFLAGS="$gl_save_compiler_FLAGS"
5508
5509fi
5510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_declaration" >&5
5511$as_echo "$gl_cv_warn_CFLAGS__Wold_style_declaration" >&6; }
5512if test "x$gl_cv_warn_CFLAGS__Wold_style_declaration" = xyes; then :
5513  as_fn_append WARN_CFLAGS " -Wold-style-declaration"
5514fi
5515
5516
5517if test x${gl_unknown_warnings_are_errors+set} = x; then :
5518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5519$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5520if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5521  $as_echo_n "(cached) " >&6
5522else
5523
5524  gl_save_compiler_FLAGS="$CFLAGS"
5525  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527/* end confdefs.h.  */
5528
5529int
5530main ()
5531{
5532
5533  ;
5534  return 0;
5535}
5536_ACEOF
5537if ac_fn_c_try_link "$LINENO"; then :
5538  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5539else
5540  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5541fi
5542rm -f core conftest.err conftest.$ac_objext \
5543    conftest$ac_exeext conftest.$ac_ext
5544  CFLAGS="$gl_save_compiler_FLAGS"
5545
5546fi
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5548$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5549if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5550  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5551else
5552  gl_unknown_warnings_are_errors=
5553fi
5554
5555
5556fi
5557
5558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wold-style-definition" >&5
5559$as_echo_n "checking whether $CC handles -Wold-style-definition... " >&6; }
5560if ${gl_cv_warn_CFLAGS__Wold_style_definition+:} false; then :
5561  $as_echo_n "(cached) " >&6
5562else
5563
5564  gl_save_compiler_FLAGS="$CFLAGS"
5565  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wold-style-definition"
5566  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567/* end confdefs.h.  */
5568
5569int
5570main ()
5571{
5572
5573  ;
5574  return 0;
5575}
5576_ACEOF
5577if ac_fn_c_try_link "$LINENO"; then :
5578  gl_cv_warn_CFLAGS__Wold_style_definition=yes
5579else
5580  gl_cv_warn_CFLAGS__Wold_style_definition=no
5581fi
5582rm -f core conftest.err conftest.$ac_objext \
5583    conftest$ac_exeext conftest.$ac_ext
5584  CFLAGS="$gl_save_compiler_FLAGS"
5585
5586fi
5587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wold_style_definition" >&5
5588$as_echo "$gl_cv_warn_CFLAGS__Wold_style_definition" >&6; }
5589if test "x$gl_cv_warn_CFLAGS__Wold_style_definition" = xyes; then :
5590  as_fn_append WARN_CFLAGS " -Wold-style-definition"
5591fi
5592
5593
5594if test x${gl_unknown_warnings_are_errors+set} = x; then :
5595  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5596$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5597if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5598  $as_echo_n "(cached) " >&6
5599else
5600
5601  gl_save_compiler_FLAGS="$CFLAGS"
5602  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5603  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604/* end confdefs.h.  */
5605
5606int
5607main ()
5608{
5609
5610  ;
5611  return 0;
5612}
5613_ACEOF
5614if ac_fn_c_try_link "$LINENO"; then :
5615  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5616else
5617  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5618fi
5619rm -f core conftest.err conftest.$ac_objext \
5620    conftest$ac_exeext conftest.$ac_ext
5621  CFLAGS="$gl_save_compiler_FLAGS"
5622
5623fi
5624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5625$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5626if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5627  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5628else
5629  gl_unknown_warnings_are_errors=
5630fi
5631
5632
5633fi
5634
5635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wsign-compare" >&5
5636$as_echo_n "checking whether $CC handles -Wsign-compare... " >&6; }
5637if ${gl_cv_warn_CFLAGS__Wsign_compare+:} false; then :
5638  $as_echo_n "(cached) " >&6
5639else
5640
5641  gl_save_compiler_FLAGS="$CFLAGS"
5642  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wsign-compare"
5643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644/* end confdefs.h.  */
5645
5646int
5647main ()
5648{
5649
5650  ;
5651  return 0;
5652}
5653_ACEOF
5654if ac_fn_c_try_link "$LINENO"; then :
5655  gl_cv_warn_CFLAGS__Wsign_compare=yes
5656else
5657  gl_cv_warn_CFLAGS__Wsign_compare=no
5658fi
5659rm -f core conftest.err conftest.$ac_objext \
5660    conftest$ac_exeext conftest.$ac_ext
5661  CFLAGS="$gl_save_compiler_FLAGS"
5662
5663fi
5664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wsign_compare" >&5
5665$as_echo "$gl_cv_warn_CFLAGS__Wsign_compare" >&6; }
5666if test "x$gl_cv_warn_CFLAGS__Wsign_compare" = xyes; then :
5667  as_fn_append WARN_CFLAGS " -Wsign-compare"
5668fi
5669
5670
5671if test x${gl_unknown_warnings_are_errors+set} = x; then :
5672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5673$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5674if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5675  $as_echo_n "(cached) " >&6
5676else
5677
5678  gl_save_compiler_FLAGS="$CFLAGS"
5679  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5680  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681/* end confdefs.h.  */
5682
5683int
5684main ()
5685{
5686
5687  ;
5688  return 0;
5689}
5690_ACEOF
5691if ac_fn_c_try_link "$LINENO"; then :
5692  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5693else
5694  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5695fi
5696rm -f core conftest.err conftest.$ac_objext \
5697    conftest$ac_exeext conftest.$ac_ext
5698  CFLAGS="$gl_save_compiler_FLAGS"
5699
5700fi
5701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5702$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5703if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5704  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5705else
5706  gl_unknown_warnings_are_errors=
5707fi
5708
5709
5710fi
5711
5712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wtype-limits" >&5
5713$as_echo_n "checking whether $CC handles -Wtype-limits... " >&6; }
5714if ${gl_cv_warn_CFLAGS__Wtype_limits+:} false; then :
5715  $as_echo_n "(cached) " >&6
5716else
5717
5718  gl_save_compiler_FLAGS="$CFLAGS"
5719  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wtype-limits"
5720  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721/* end confdefs.h.  */
5722
5723int
5724main ()
5725{
5726
5727  ;
5728  return 0;
5729}
5730_ACEOF
5731if ac_fn_c_try_link "$LINENO"; then :
5732  gl_cv_warn_CFLAGS__Wtype_limits=yes
5733else
5734  gl_cv_warn_CFLAGS__Wtype_limits=no
5735fi
5736rm -f core conftest.err conftest.$ac_objext \
5737    conftest$ac_exeext conftest.$ac_ext
5738  CFLAGS="$gl_save_compiler_FLAGS"
5739
5740fi
5741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wtype_limits" >&5
5742$as_echo "$gl_cv_warn_CFLAGS__Wtype_limits" >&6; }
5743if test "x$gl_cv_warn_CFLAGS__Wtype_limits" = xyes; then :
5744  as_fn_append WARN_CFLAGS " -Wtype-limits"
5745fi
5746
5747
5748if test x${gl_unknown_warnings_are_errors+set} = x; then :
5749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5750$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5751if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5752  $as_echo_n "(cached) " >&6
5753else
5754
5755  gl_save_compiler_FLAGS="$CFLAGS"
5756  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758/* end confdefs.h.  */
5759
5760int
5761main ()
5762{
5763
5764  ;
5765  return 0;
5766}
5767_ACEOF
5768if ac_fn_c_try_link "$LINENO"; then :
5769  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5770else
5771  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5772fi
5773rm -f core conftest.err conftest.$ac_objext \
5774    conftest$ac_exeext conftest.$ac_ext
5775  CFLAGS="$gl_save_compiler_FLAGS"
5776
5777fi
5778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5779$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5780if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5781  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5782else
5783  gl_unknown_warnings_are_errors=
5784fi
5785
5786
5787fi
5788
5789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Wwrite-strings" >&5
5790$as_echo_n "checking whether $CC handles -Wwrite-strings... " >&6; }
5791if ${gl_cv_warn_CFLAGS__Wwrite_strings+:} false; then :
5792  $as_echo_n "(cached) " >&6
5793else
5794
5795  gl_save_compiler_FLAGS="$CFLAGS"
5796  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Wwrite-strings"
5797  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798/* end confdefs.h.  */
5799
5800int
5801main ()
5802{
5803
5804  ;
5805  return 0;
5806}
5807_ACEOF
5808if ac_fn_c_try_link "$LINENO"; then :
5809  gl_cv_warn_CFLAGS__Wwrite_strings=yes
5810else
5811  gl_cv_warn_CFLAGS__Wwrite_strings=no
5812fi
5813rm -f core conftest.err conftest.$ac_objext \
5814    conftest$ac_exeext conftest.$ac_ext
5815  CFLAGS="$gl_save_compiler_FLAGS"
5816
5817fi
5818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Wwrite_strings" >&5
5819$as_echo "$gl_cv_warn_CFLAGS__Wwrite_strings" >&6; }
5820if test "x$gl_cv_warn_CFLAGS__Wwrite_strings" = xyes; then :
5821  as_fn_append WARN_CFLAGS " -Wwrite-strings"
5822fi
5823
5824
5825# Check whether --enable-gcc-Werror was given.
5826if test "${enable_gcc_Werror+set}" = set; then :
5827  enableval=$enable_gcc_Werror; case $enableval in
5828     yes) if test x${gl_unknown_warnings_are_errors+set} = x; then :
5829  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror -Wunknown-warning-option" >&5
5830$as_echo_n "checking whether $CC handles -Werror -Wunknown-warning-option... " >&6; }
5831if ${gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option+:} false; then :
5832  $as_echo_n "(cached) " >&6
5833else
5834
5835  gl_save_compiler_FLAGS="$CFLAGS"
5836  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
5837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838/* end confdefs.h.  */
5839
5840int
5841main ()
5842{
5843
5844  ;
5845  return 0;
5846}
5847_ACEOF
5848if ac_fn_c_try_link "$LINENO"; then :
5849  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=yes
5850else
5851  gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option=no
5852fi
5853rm -f core conftest.err conftest.$ac_objext \
5854    conftest$ac_exeext conftest.$ac_ext
5855  CFLAGS="$gl_save_compiler_FLAGS"
5856
5857fi
5858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&5
5859$as_echo "$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" >&6; }
5860if test "x$gl_cv_warn_CFLAGS__Werror__Wunknown_warning_option" = xyes; then :
5861  gl_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
5862else
5863  gl_unknown_warnings_are_errors=
5864fi
5865
5866
5867fi
5868
5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC handles -Werror" >&5
5870$as_echo_n "checking whether $CC handles -Werror... " >&6; }
5871if ${gl_cv_warn_CFLAGS__Werror+:} false; then :
5872  $as_echo_n "(cached) " >&6
5873else
5874
5875  gl_save_compiler_FLAGS="$CFLAGS"
5876  as_fn_append CFLAGS " $gl_unknown_warnings_are_errors -Werror"
5877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5878/* end confdefs.h.  */
5879
5880int
5881main ()
5882{
5883
5884  ;
5885  return 0;
5886}
5887_ACEOF
5888if ac_fn_c_try_link "$LINENO"; then :
5889  gl_cv_warn_CFLAGS__Werror=yes
5890else
5891  gl_cv_warn_CFLAGS__Werror=no
5892fi
5893rm -f core conftest.err conftest.$ac_objext \
5894    conftest$ac_exeext conftest.$ac_ext
5895  CFLAGS="$gl_save_compiler_FLAGS"
5896
5897fi
5898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS__Werror" >&5
5899$as_echo "$gl_cv_warn_CFLAGS__Werror" >&6; }
5900if test "x$gl_cv_warn_CFLAGS__Werror" = xyes; then :
5901  as_fn_append WARN_CFLAGS " -Werror"
5902fi
5903
5904 ;;
5905     no)  ;;
5906     *)   as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;;
5907   esac
5908
5909fi
5910
5911
5912
5913
5914
5915
5916if test -n "${ac_c_decl_warn_flag+set}"; then :
5917  st_saved_ac_c_decl_warn_flag="${ac_c_decl_warn_flag}"; unset ac_c_decl_warn_flag
5918fi
5919
5920if test -n "${ac_c_preproc_warn_flag+set}"; then :
5921  st_saved_ac_c_preproc_warn_flag="${ac_c_preproc_warn_flag}"; unset ac_c_preproc_warn_flag
5922fi
5923
5924if test -n "${ac_c_werror_flag+set}"; then :
5925  st_saved_ac_c_werror_flag="${ac_c_werror_flag}"; unset ac_c_werror_flag
5926fi
5927
5928if test -n "${ac_compile+set}"; then :
5929  st_saved_ac_compile="${ac_compile}"; unset ac_compile
5930fi
5931
5932if test -n "${ac_compiler_gnu+set}"; then :
5933  st_saved_ac_compiler_gnu="${ac_compiler_gnu}"; unset ac_compiler_gnu
5934fi
5935
5936if test -n "${ac_cpp+set}"; then :
5937  st_saved_ac_cpp="${ac_cpp}"; unset ac_cpp
5938fi
5939
5940if test -n "${ac_cv_c_compiler_gnu+set}"; then :
5941  st_saved_ac_cv_c_compiler_gnu="${ac_cv_c_compiler_gnu}"; unset ac_cv_c_compiler_gnu
5942fi
5943
5944if test -n "${ac_cv_c_decl_report+set}"; then :
5945  st_saved_ac_cv_c_decl_report="${ac_cv_c_decl_report}"; unset ac_cv_c_decl_report
5946fi
5947
5948if test -n "${ac_link+set}"; then :
5949  st_saved_ac_link="${ac_link}"; unset ac_link
5950fi
5951
5952if test -n "${ac_tool_prefix+set}"; then :
5953  st_saved_ac_tool_prefix="${ac_tool_prefix}"; unset ac_tool_prefix
5954fi
5955
5956if test -n "${cross_compiling+set}"; then :
5957  st_saved_cross_compiling="${cross_compiling}"; unset cross_compiling
5958fi
5959
5960cross_compiling=no
5961
5962{ $as_echo "$as_me:${as_lineno-$LINENO}: looking for a C compiler that generates native executables" >&5
5963$as_echo "$as_me: looking for a C compiler that generates native executables" >&6;}
5964ac_ext=c
5965ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5966ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5967ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5968ac_compiler_gnu=$ac_cv_c_compiler_gnu
5969if test -n "$ac_tool_prefix"; then
5970  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5971set dummy ${ac_tool_prefix}gcc; ac_word=$2
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973$as_echo_n "checking for $ac_word... " >&6; }
5974if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
5975  $as_echo_n "(cached) " >&6
5976else
5977  if test -n "$CC_FOR_BUILD"; then
5978  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
5979else
5980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981for as_dir in $PATH
5982do
5983  IFS=$as_save_IFS
5984  test -z "$as_dir" && as_dir=.
5985    for ac_exec_ext in '' $ac_executable_extensions; do
5986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}gcc"
5988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989    break 2
5990  fi
5991done
5992  done
5993IFS=$as_save_IFS
5994
5995fi
5996fi
5997CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
5998if test -n "$CC_FOR_BUILD"; then
5999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
6000$as_echo "$CC_FOR_BUILD" >&6; }
6001else
6002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003$as_echo "no" >&6; }
6004fi
6005
6006
6007fi
6008if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
6009  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
6010  # Extract the first word of "gcc", so it can be a program name with args.
6011set dummy gcc; ac_word=$2
6012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013$as_echo_n "checking for $ac_word... " >&6; }
6014if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
6015  $as_echo_n "(cached) " >&6
6016else
6017  if test -n "$ac_ct_CC_FOR_BUILD"; then
6018  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
6019else
6020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021for as_dir in $PATH
6022do
6023  IFS=$as_save_IFS
6024  test -z "$as_dir" && as_dir=.
6025    for ac_exec_ext in '' $ac_executable_extensions; do
6026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027    ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
6028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029    break 2
6030  fi
6031done
6032  done
6033IFS=$as_save_IFS
6034
6035fi
6036fi
6037ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
6038if test -n "$ac_ct_CC_FOR_BUILD"; then
6039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
6040$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
6041else
6042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043$as_echo "no" >&6; }
6044fi
6045
6046  if test "x$ac_ct_CC_FOR_BUILD" = x; then
6047    CC_FOR_BUILD=""
6048  else
6049    case $cross_compiling:$ac_tool_warned in
6050yes:)
6051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6052$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6053ac_tool_warned=yes ;;
6054esac
6055    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
6056  fi
6057else
6058  CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
6059fi
6060
6061if test -z "$CC_FOR_BUILD"; then
6062          if test -n "$ac_tool_prefix"; then
6063    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6064set dummy ${ac_tool_prefix}cc; ac_word=$2
6065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066$as_echo_n "checking for $ac_word... " >&6; }
6067if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
6068  $as_echo_n "(cached) " >&6
6069else
6070  if test -n "$CC_FOR_BUILD"; then
6071  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
6072else
6073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074for as_dir in $PATH
6075do
6076  IFS=$as_save_IFS
6077  test -z "$as_dir" && as_dir=.
6078    for ac_exec_ext in '' $ac_executable_extensions; do
6079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080    ac_cv_prog_CC_FOR_BUILD="${ac_tool_prefix}cc"
6081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082    break 2
6083  fi
6084done
6085  done
6086IFS=$as_save_IFS
6087
6088fi
6089fi
6090CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
6091if test -n "$CC_FOR_BUILD"; then
6092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
6093$as_echo "$CC_FOR_BUILD" >&6; }
6094else
6095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096$as_echo "no" >&6; }
6097fi
6098
6099
6100  fi
6101fi
6102if test -z "$CC_FOR_BUILD"; then
6103  # Extract the first word of "cc", so it can be a program name with args.
6104set dummy cc; ac_word=$2
6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106$as_echo_n "checking for $ac_word... " >&6; }
6107if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
6108  $as_echo_n "(cached) " >&6
6109else
6110  if test -n "$CC_FOR_BUILD"; then
6111  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
6112else
6113  ac_prog_rejected=no
6114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115for as_dir in $PATH
6116do
6117  IFS=$as_save_IFS
6118  test -z "$as_dir" && as_dir=.
6119    for ac_exec_ext in '' $ac_executable_extensions; do
6120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6122       ac_prog_rejected=yes
6123       continue
6124     fi
6125    ac_cv_prog_CC_FOR_BUILD="cc"
6126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127    break 2
6128  fi
6129done
6130  done
6131IFS=$as_save_IFS
6132
6133if test $ac_prog_rejected = yes; then
6134  # We found a bogon in the path, so make sure we never use it.
6135  set dummy $ac_cv_prog_CC_FOR_BUILD
6136  shift
6137  if test $# != 0; then
6138    # We chose a different compiler from the bogus one.
6139    # However, it has the same basename, so the bogon will be chosen
6140    # first if we set CC_FOR_BUILD to just the basename; use the full file name.
6141    shift
6142    ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
6143  fi
6144fi
6145fi
6146fi
6147CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
6148if test -n "$CC_FOR_BUILD"; then
6149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
6150$as_echo "$CC_FOR_BUILD" >&6; }
6151else
6152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153$as_echo "no" >&6; }
6154fi
6155
6156
6157fi
6158if test -z "$CC_FOR_BUILD"; then
6159  if test -n "$ac_tool_prefix"; then
6160  for ac_prog in cl.exe
6161  do
6162    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6163set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165$as_echo_n "checking for $ac_word... " >&6; }
6166if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
6167  $as_echo_n "(cached) " >&6
6168else
6169  if test -n "$CC_FOR_BUILD"; then
6170  ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
6171else
6172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173for as_dir in $PATH
6174do
6175  IFS=$as_save_IFS
6176  test -z "$as_dir" && as_dir=.
6177    for ac_exec_ext in '' $ac_executable_extensions; do
6178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179    ac_cv_prog_CC_FOR_BUILD="$ac_tool_prefix$ac_prog"
6180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181    break 2
6182  fi
6183done
6184  done
6185IFS=$as_save_IFS
6186
6187fi
6188fi
6189CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
6190if test -n "$CC_FOR_BUILD"; then
6191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
6192$as_echo "$CC_FOR_BUILD" >&6; }
6193else
6194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195$as_echo "no" >&6; }
6196fi
6197
6198
6199    test -n "$CC_FOR_BUILD" && break
6200  done
6201fi
6202if test -z "$CC_FOR_BUILD"; then
6203  ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
6204  for ac_prog in cl.exe
6205do
6206  # Extract the first word of "$ac_prog", so it can be a program name with args.
6207set dummy $ac_prog; ac_word=$2
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209$as_echo_n "checking for $ac_word... " >&6; }
6210if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false; then :
6211  $as_echo_n "(cached) " >&6
6212else
6213  if test -n "$ac_ct_CC_FOR_BUILD"; then
6214  ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
6215else
6216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217for as_dir in $PATH
6218do
6219  IFS=$as_save_IFS
6220  test -z "$as_dir" && as_dir=.
6221    for ac_exec_ext in '' $ac_executable_extensions; do
6222  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223    ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
6224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225    break 2
6226  fi
6227done
6228  done
6229IFS=$as_save_IFS
6230
6231fi
6232fi
6233ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
6234if test -n "$ac_ct_CC_FOR_BUILD"; then
6235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
6236$as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
6237else
6238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239$as_echo "no" >&6; }
6240fi
6241
6242
6243  test -n "$ac_ct_CC_FOR_BUILD" && break
6244done
6245
6246  if test "x$ac_ct_CC_FOR_BUILD" = x; then
6247    CC_FOR_BUILD=""
6248  else
6249    case $cross_compiling:$ac_tool_warned in
6250yes:)
6251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
6252$as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
6253ac_tool_warned=yes ;;
6254esac
6255    CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
6256  fi
6257fi
6258
6259fi
6260
6261
6262test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6264as_fn_error $? "no acceptable C compiler found in \$PATH
6265See \`config.log' for more details" "$LINENO" 5; }
6266
6267# Provide some information about the compiler.
6268$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6269set X $ac_compile
6270ac_compiler=$2
6271for ac_option in --version -v -V -qversion; do
6272  { { ac_try="$ac_compiler $ac_option >&5"
6273case "(($ac_try" in
6274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6275  *) ac_try_echo=$ac_try;;
6276esac
6277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6278$as_echo "$ac_try_echo"; } >&5
6279  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6280  ac_status=$?
6281  if test -s conftest.err; then
6282    sed '10a\
6283... rest of stderr output deleted ...
6284         10q' conftest.err >conftest.er1
6285    cat conftest.er1 >&5
6286  fi
6287  rm -f conftest.er1 conftest.err
6288  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6289  test $ac_status = 0; }
6290done
6291
6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6293$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6294if ${ac_cv_c_compiler_gnu+:} false; then :
6295  $as_echo_n "(cached) " >&6
6296else
6297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298/* end confdefs.h.  */
6299
6300int
6301main ()
6302{
6303#ifndef __GNUC__
6304       choke me
6305#endif
6306
6307  ;
6308  return 0;
6309}
6310_ACEOF
6311if ac_fn_c_try_compile "$LINENO"; then :
6312  ac_compiler_gnu=yes
6313else
6314  ac_compiler_gnu=no
6315fi
6316rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6317ac_cv_c_compiler_gnu=$ac_compiler_gnu
6318
6319fi
6320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6321$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6322if test $ac_compiler_gnu = yes; then
6323  GCC=yes
6324else
6325  GCC=
6326fi
6327ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
6328ac_save_CFLAGS=$CFLAGS_FOR_BUILD
6329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
6330$as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
6331if ${ac_cv_build_prog_cc_g+:} false; then :
6332  $as_echo_n "(cached) " >&6
6333else
6334  ac_save_c_werror_flag=$ac_c_werror_flag
6335   ac_c_werror_flag=yes
6336   ac_cv_build_prog_cc_g=no
6337   CFLAGS_FOR_BUILD="-g"
6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339/* end confdefs.h.  */
6340
6341int
6342main ()
6343{
6344
6345  ;
6346  return 0;
6347}
6348_ACEOF
6349if ac_fn_c_try_compile "$LINENO"; then :
6350  ac_cv_build_prog_cc_g=yes
6351else
6352  CFLAGS_FOR_BUILD=""
6353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354/* end confdefs.h.  */
6355
6356int
6357main ()
6358{
6359
6360  ;
6361  return 0;
6362}
6363_ACEOF
6364if ac_fn_c_try_compile "$LINENO"; then :
6365
6366else
6367  ac_c_werror_flag=$ac_save_c_werror_flag
6368	 CFLAGS_FOR_BUILD="-g"
6369	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370/* end confdefs.h.  */
6371
6372int
6373main ()
6374{
6375
6376  ;
6377  return 0;
6378}
6379_ACEOF
6380if ac_fn_c_try_compile "$LINENO"; then :
6381  ac_cv_build_prog_cc_g=yes
6382fi
6383rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6384fi
6385rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6386fi
6387rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
6388   ac_c_werror_flag=$ac_save_c_werror_flag
6389fi
6390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
6391$as_echo "$ac_cv_build_prog_cc_g" >&6; }
6392if test "$ac_test_CFLAGS" = set; then
6393  CFLAGS_FOR_BUILD=$ac_save_CFLAGS
6394elif test $ac_cv_build_prog_cc_g = yes; then
6395  if test "$GCC" = yes; then
6396    CFLAGS_FOR_BUILD="-g -O2"
6397  else
6398    CFLAGS_FOR_BUILD="-g"
6399  fi
6400else
6401  if test "$GCC" = yes; then
6402    CFLAGS_FOR_BUILD="-O2"
6403  else
6404    CFLAGS_FOR_BUILD=
6405  fi
6406fi
6407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
6408$as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
6409if ${ac_cv_build_prog_cc_c89+:} false; then :
6410  $as_echo_n "(cached) " >&6
6411else
6412  ac_cv_build_prog_cc_c89=no
6413ac_save_CC=$CC_FOR_BUILD
6414cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415/* end confdefs.h.  */
6416#include <stdarg.h>
6417#include <stdio.h>
6418struct stat;
6419/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6420struct buf { int x; };
6421FILE * (*rcsopen) (struct buf *, struct stat *, int);
6422static char *e (p, i)
6423     char **p;
6424     int i;
6425{
6426  return p[i];
6427}
6428static char *f (char * (*g) (char **, int), char **p, ...)
6429{
6430  char *s;
6431  va_list v;
6432  va_start (v,p);
6433  s = g (p, va_arg (v,int));
6434  va_end (v);
6435  return s;
6436}
6437
6438/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6439   function prototypes and stuff, but not '\xHH' hex character constants.
6440   These don't provoke an error unfortunately, instead are silently treated
6441   as 'x'.  The following induces an error, until -std is added to get
6442   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6443   array size at least.  It's necessary to write '\x00'==0 to get something
6444   that's true only with -std.  */
6445int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6446
6447/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6448   inside strings and character constants.  */
6449#define FOO(x) 'x'
6450int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6451
6452int test (int i, double x);
6453struct s1 {int (*f) (int a);};
6454struct s2 {int (*f) (double a);};
6455int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6456int argc;
6457char **argv;
6458int
6459main ()
6460{
6461return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6462  ;
6463  return 0;
6464}
6465_ACEOF
6466for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6467	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6468do
6469  CC_FOR_BUILD="$ac_save_CC $ac_arg"
6470  if ac_fn_c_try_compile "$LINENO"; then :
6471  ac_cv_build_prog_cc_c89=$ac_arg
6472fi
6473rm -f core conftest.err conftest.$ac_build_objext
6474  test "x$ac_cv_build_prog_cc_c89" != "xno" && break
6475done
6476rm -f conftest.$ac_ext
6477CC_FOR_BUILD=$ac_save_CC
6478
6479fi
6480# AC_CACHE_VAL
6481case "x$ac_cv_build_prog_cc_c89" in
6482  x)
6483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6484$as_echo "none needed" >&6; } ;;
6485  xno)
6486    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6487$as_echo "unsupported" >&6; } ;;
6488  *)
6489    CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
6490    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
6491$as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;;
6492esac
6493if test "x$ac_cv_build_prog_cc_c89" != xno; then :
6494
6495fi
6496
6497ac_ext=c
6498ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6499ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6500ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6501ac_compiler_gnu=$ac_cv_c_compiler_gnu
6502
6503ac_ext=c
6504ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6505ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6506ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6507ac_compiler_gnu=$ac_cv_c_compiler_gnu
6508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
6509$as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
6510if ${am_cv_build_prog_cc_c_o+:} false; then :
6511  $as_echo_n "(cached) " >&6
6512else
6513  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514/* end confdefs.h.  */
6515
6516int
6517main ()
6518{
6519
6520  ;
6521  return 0;
6522}
6523_ACEOF
6524  # Make sure it works both with $CC and with simple cc.
6525  # Following AC_PROG_CC_C_O, we do the test twice because some
6526  # compilers refuse to overwrite an existing .o file with -o,
6527  # though they will create one.
6528  am_cv_build_prog_cc_c_o=yes
6529  for am_i in 1 2; do
6530    if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
6531   ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
6532   ac_status=$?
6533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534   (exit $ac_status); } \
6535         && test -f conftest2.$ac_build_objext; then
6536      : OK
6537    else
6538      am_cv_build_prog_cc_c_o=no
6539      break
6540    fi
6541  done
6542  rm -f core conftest*
6543  unset am_i
6544fi
6545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
6546$as_echo "$am_cv_build_prog_cc_c_o" >&6; }
6547if test "$am_cv_build_prog_cc_c_o" != yes; then
6548   # Losing compiler, so override with the script.
6549   # FIXME: It is wrong to rewrite CC.
6550   # But if we don't then we get into trouble of one sort or another.
6551   # A longer-term fix would be to have automake use am__CC in this case,
6552   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6553   CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
6554fi
6555ac_ext=c
6556ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6557ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6558ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6559ac_compiler_gnu=$ac_cv_c_compiler_gnu
6560
6561
6562depcc="$CC_FOR_BUILD"   am_compiler_list=
6563
6564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6565$as_echo_n "checking dependency style of $depcc... " >&6; }
6566if ${am_cv_build_CC_dependencies_compiler_type+:} false; then :
6567  $as_echo_n "(cached) " >&6
6568else
6569  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6570  # We make a subdir and do the tests there.  Otherwise we can end up
6571  # making bogus files that we don't know about and never remove.  For
6572  # instance it was reported that on HP-UX the gcc test will end up
6573  # making a dummy file named 'D' -- because '-MD' means "put the output
6574  # in D".
6575  rm -rf conftest.dir
6576  mkdir conftest.dir
6577  # Copy depcomp to subdir because otherwise we won't find it if we're
6578  # using a relative directory.
6579  cp "$am_depcomp" conftest.dir
6580  cd conftest.dir
6581  # We will build objects and dependencies in a subdirectory because
6582  # it helps to detect inapplicable dependency modes.  For instance
6583  # both Tru64's cc and ICC support -MD to output dependencies as a
6584  # side effect of compilation, but ICC will put the dependencies in
6585  # the current directory while Tru64 will put them in the object
6586  # directory.
6587  mkdir sub
6588
6589  am_cv_build_CC_dependencies_compiler_type=none
6590  if test "$am_compiler_list" = ""; then
6591     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6592  fi
6593  am__universal=false
6594  case " $depcc " in #(
6595     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6596     esac
6597
6598  for depmode in $am_compiler_list; do
6599    # Setup a source with many dependencies, because some compilers
6600    # like to wrap large dependency lists on column 80 (with \), and
6601    # we should not choose a depcomp mode which is confused by this.
6602    #
6603    # We need to recreate these files for each test, as the compiler may
6604    # overwrite some of them when testing with obscure command lines.
6605    # This happens at least with the AIX C compiler.
6606    : > sub/conftest.c
6607    for i in 1 2 3 4 5 6; do
6608      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6609      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6610      # Solaris 10 /bin/sh.
6611      echo '/* dummy */' > sub/conftst$i.h
6612    done
6613    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6614
6615    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6616    # mode.  It turns out that the SunPro C++ compiler does not properly
6617    # handle '-M -o', and we need to detect this.  Also, some Intel
6618    # versions had trouble with output in subdirs.
6619    am__obj=sub/conftest.${OBJEXT-o}
6620    am__minus_obj="-o $am__obj"
6621    case $depmode in
6622    gcc)
6623      # This depmode causes a compiler race in universal mode.
6624      test "$am__universal" = false || continue
6625      ;;
6626    nosideeffect)
6627      # After this tag, mechanisms are not by side-effect, so they'll
6628      # only be used when explicitly requested.
6629      if test "x$enable_dependency_tracking" = xyes; then
6630	continue
6631      else
6632	break
6633      fi
6634      ;;
6635    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6636      # This compiler won't grok '-c -o', but also, the minuso test has
6637      # not run yet.  These depmodes are late enough in the game, and
6638      # so weak that their functioning should not be impacted.
6639      am__obj=conftest.${OBJEXT-o}
6640      am__minus_obj=
6641      ;;
6642    none) break ;;
6643    esac
6644    if depmode=$depmode \
6645       source=sub/conftest.c object=$am__obj \
6646       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6647       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6648         >/dev/null 2>conftest.err &&
6649       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6650       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6651       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6652       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6653      # icc doesn't choke on unknown options, it will just issue warnings
6654      # or remarks (even with -Werror).  So we grep stderr for any message
6655      # that says an option was ignored or not supported.
6656      # When given -MP, icc 7.0 and 7.1 complain thusly:
6657      #   icc: Command line warning: ignoring option '-M'; no argument required
6658      # The diagnosis changed in icc 8.0:
6659      #   icc: Command line remark: option '-MP' not supported
6660      if (grep 'ignoring option' conftest.err ||
6661          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6662        am_cv_build_CC_dependencies_compiler_type=$depmode
6663        break
6664      fi
6665    fi
6666  done
6667
6668  cd ..
6669  rm -rf conftest.dir
6670else
6671  am_cv_build_CC_dependencies_compiler_type=none
6672fi
6673
6674fi
6675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
6676$as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; }
6677CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
6678
6679 if
6680  test "x$enable_dependency_tracking" != xno \
6681  && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
6682  am__fastdepCC_TRUE=
6683  am__fastdepCC_FALSE='#'
6684else
6685  am__fastdepCC_TRUE='#'
6686  am__fastdepCC_FALSE=
6687fi
6688
6689
6690ac_ext=c
6691ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6692ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6693ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6694ac_compiler_gnu=$ac_cv_c_compiler_gnu
6695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6696$as_echo_n "checking how to run the C preprocessor... " >&6; }
6697# On Suns, sometimes $CPP names a directory.
6698if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
6699  CPP_FOR_BUILD=
6700fi
6701if test -z "$CPP_FOR_BUILD"; then
6702  if ${ac_cv_build_prog_CPP+:} false; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705      # Double quotes because CPP needs to be expanded
6706    for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
6707    do
6708      ac_preproc_ok=false
6709for ac_c_preproc_warn_flag in '' yes
6710do
6711  # Use a header file that comes with gcc, so configuring glibc
6712  # with a fresh cross-compiler works.
6713  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6714  # <limits.h> exists even on freestanding compilers.
6715  # On the NeXT, cc -E runs the code through the compiler's parser,
6716  # not just through cpp. "Syntax error" is here to catch this case.
6717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718/* end confdefs.h.  */
6719#ifdef __STDC__
6720# include <limits.h>
6721#else
6722# include <assert.h>
6723#endif
6724		     Syntax error
6725_ACEOF
6726if ac_fn_c_try_cpp "$LINENO"; then :
6727
6728else
6729  # Broken: fails on valid input.
6730continue
6731fi
6732rm -f conftest.err conftest.i conftest.$ac_ext
6733
6734  # OK, works on sane cases.  Now check whether nonexistent headers
6735  # can be detected and how.
6736  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737/* end confdefs.h.  */
6738#include <ac_nonexistent.h>
6739_ACEOF
6740if ac_fn_c_try_cpp "$LINENO"; then :
6741  # Broken: success on invalid input.
6742continue
6743else
6744  # Passes both tests.
6745ac_preproc_ok=:
6746break
6747fi
6748rm -f conftest.err conftest.i conftest.$ac_ext
6749
6750done
6751# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6752rm -f conftest.i conftest.err conftest.$ac_ext
6753if $ac_preproc_ok; then :
6754  break
6755fi
6756
6757    done
6758    ac_cv_build_prog_CPP=$CPP_FOR_BUILD
6759
6760fi
6761  CPP_FOR_BUILD=$ac_cv_build_prog_CPP
6762else
6763  ac_cv_build_prog_CPP=$CPP_FOR_BUILD
6764fi
6765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
6766$as_echo "$CPP_FOR_BUILD" >&6; }
6767ac_preproc_ok=false
6768for ac_c_preproc_warn_flag in '' yes
6769do
6770  # Use a header file that comes with gcc, so configuring glibc
6771  # with a fresh cross-compiler works.
6772  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6773  # <limits.h> exists even on freestanding compilers.
6774  # On the NeXT, cc -E runs the code through the compiler's parser,
6775  # not just through cpp. "Syntax error" is here to catch this case.
6776  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6777/* end confdefs.h.  */
6778#ifdef __STDC__
6779# include <limits.h>
6780#else
6781# include <assert.h>
6782#endif
6783		     Syntax error
6784_ACEOF
6785if ac_fn_c_try_cpp "$LINENO"; then :
6786
6787else
6788  # Broken: fails on valid input.
6789continue
6790fi
6791rm -f conftest.err conftest.i conftest.$ac_ext
6792
6793  # OK, works on sane cases.  Now check whether nonexistent headers
6794  # can be detected and how.
6795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796/* end confdefs.h.  */
6797#include <ac_nonexistent.h>
6798_ACEOF
6799if ac_fn_c_try_cpp "$LINENO"; then :
6800  # Broken: success on invalid input.
6801continue
6802else
6803  # Passes both tests.
6804ac_preproc_ok=:
6805break
6806fi
6807rm -f conftest.err conftest.i conftest.$ac_ext
6808
6809done
6810# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6811rm -f conftest.i conftest.err conftest.$ac_ext
6812if $ac_preproc_ok; then :
6813
6814else
6815  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6817as_fn_error $? "C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
6818See \`config.log' for more details" "$LINENO" 5; }
6819fi
6820
6821ac_ext=c
6822ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
6823ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
6824ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
6825ac_compiler_gnu=$ac_cv_c_compiler_gnu
6826
6827
6828
6829if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
6830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
6831$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
6832if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835
6836  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
6837  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
6838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839/* end confdefs.h.  */
6840
6841int
6842main ()
6843{
6844
6845  ;
6846  return 0;
6847}
6848_ACEOF
6849if ac_fn_c_try_link "$LINENO"; then :
6850  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
6851else
6852  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
6853fi
6854rm -f core conftest.err conftest.$ac_build_objext \
6855    conftest$ac_build_exeext conftest.$ac_ext
6856  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
6857
6858fi
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
6860$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
6861if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
6862  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
6863else
6864  gl_build_unknown_warnings_are_errors=
6865fi
6866
6867
6868fi
6869
6870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wall" >&5
6871$as_echo_n "checking whether $CC_FOR_BUILD handles -Wall... " >&6; }
6872if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wall+:} false; then :
6873  $as_echo_n "(cached) " >&6
6874else
6875
6876  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
6877  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wall"
6878  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6879/* end confdefs.h.  */
6880
6881int
6882main ()
6883{
6884
6885  ;
6886  return 0;
6887}
6888_ACEOF
6889if ac_fn_c_try_link "$LINENO"; then :
6890  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=yes
6891else
6892  gl_cv_warn_CFLAGS_FOR_BUILD__Wall=no
6893fi
6894rm -f core conftest.err conftest.$ac_build_objext \
6895    conftest$ac_build_exeext conftest.$ac_ext
6896  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
6897
6898fi
6899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&5
6900$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" >&6; }
6901if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wall" = xyes; then :
6902  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wall"
6903fi
6904
6905
6906if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
6907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
6908$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
6909if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
6910  $as_echo_n "(cached) " >&6
6911else
6912
6913  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
6914  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
6915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916/* end confdefs.h.  */
6917
6918int
6919main ()
6920{
6921
6922  ;
6923  return 0;
6924}
6925_ACEOF
6926if ac_fn_c_try_link "$LINENO"; then :
6927  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
6928else
6929  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
6930fi
6931rm -f core conftest.err conftest.$ac_build_objext \
6932    conftest$ac_build_exeext conftest.$ac_ext
6933  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
6934
6935fi
6936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
6937$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
6938if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
6939  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
6940else
6941  gl_build_unknown_warnings_are_errors=
6942fi
6943
6944
6945fi
6946
6947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wempty-body" >&5
6948$as_echo_n "checking whether $CC_FOR_BUILD handles -Wempty-body... " >&6; }
6949if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body+:} false; then :
6950  $as_echo_n "(cached) " >&6
6951else
6952
6953  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
6954  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wempty-body"
6955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956/* end confdefs.h.  */
6957
6958int
6959main ()
6960{
6961
6962  ;
6963  return 0;
6964}
6965_ACEOF
6966if ac_fn_c_try_link "$LINENO"; then :
6967  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=yes
6968else
6969  gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body=no
6970fi
6971rm -f core conftest.err conftest.$ac_build_objext \
6972    conftest$ac_build_exeext conftest.$ac_ext
6973  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
6974
6975fi
6976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&5
6977$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" >&6; }
6978if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wempty_body" = xyes; then :
6979  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wempty-body"
6980fi
6981
6982
6983if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
6984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
6985$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
6986if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
6987  $as_echo_n "(cached) " >&6
6988else
6989
6990  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
6991  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
6992  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993/* end confdefs.h.  */
6994
6995int
6996main ()
6997{
6998
6999  ;
7000  return 0;
7001}
7002_ACEOF
7003if ac_fn_c_try_link "$LINENO"; then :
7004  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7005else
7006  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7007fi
7008rm -f core conftest.err conftest.$ac_build_objext \
7009    conftest$ac_build_exeext conftest.$ac_ext
7010  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7011
7012fi
7013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7014$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7015if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7016  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7017else
7018  gl_build_unknown_warnings_are_errors=
7019fi
7020
7021
7022fi
7023
7024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wformat-security" >&5
7025$as_echo_n "checking whether $CC_FOR_BUILD handles -Wformat-security... " >&6; }
7026if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security+:} false; then :
7027  $as_echo_n "(cached) " >&6
7028else
7029
7030  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7031  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wformat-security"
7032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7033/* end confdefs.h.  */
7034
7035int
7036main ()
7037{
7038
7039  ;
7040  return 0;
7041}
7042_ACEOF
7043if ac_fn_c_try_link "$LINENO"; then :
7044  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=yes
7045else
7046  gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security=no
7047fi
7048rm -f core conftest.err conftest.$ac_build_objext \
7049    conftest$ac_build_exeext conftest.$ac_ext
7050  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7051
7052fi
7053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&5
7054$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" >&6; }
7055if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wformat_security" = xyes; then :
7056  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wformat-security"
7057fi
7058
7059
7060if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7062$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7063if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7064  $as_echo_n "(cached) " >&6
7065else
7066
7067  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7068  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070/* end confdefs.h.  */
7071
7072int
7073main ()
7074{
7075
7076  ;
7077  return 0;
7078}
7079_ACEOF
7080if ac_fn_c_try_link "$LINENO"; then :
7081  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7082else
7083  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7084fi
7085rm -f core conftest.err conftest.$ac_build_objext \
7086    conftest$ac_build_exeext conftest.$ac_ext
7087  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7088
7089fi
7090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7091$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7092if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7093  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7094else
7095  gl_build_unknown_warnings_are_errors=
7096fi
7097
7098
7099fi
7100
7101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wignored-qualifiers" >&5
7102$as_echo_n "checking whether $CC_FOR_BUILD handles -Wignored-qualifiers... " >&6; }
7103if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers+:} false; then :
7104  $as_echo_n "(cached) " >&6
7105else
7106
7107  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7108  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wignored-qualifiers"
7109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7110/* end confdefs.h.  */
7111
7112int
7113main ()
7114{
7115
7116  ;
7117  return 0;
7118}
7119_ACEOF
7120if ac_fn_c_try_link "$LINENO"; then :
7121  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=yes
7122else
7123  gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers=no
7124fi
7125rm -f core conftest.err conftest.$ac_build_objext \
7126    conftest$ac_build_exeext conftest.$ac_ext
7127  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7128
7129fi
7130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&5
7131$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" >&6; }
7132if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wignored_qualifiers" = xyes; then :
7133  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wignored-qualifiers"
7134fi
7135
7136
7137if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7139$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7140if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7141  $as_echo_n "(cached) " >&6
7142else
7143
7144  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7145  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147/* end confdefs.h.  */
7148
7149int
7150main ()
7151{
7152
7153  ;
7154  return 0;
7155}
7156_ACEOF
7157if ac_fn_c_try_link "$LINENO"; then :
7158  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7159else
7160  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7161fi
7162rm -f core conftest.err conftest.$ac_build_objext \
7163    conftest$ac_build_exeext conftest.$ac_ext
7164  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7165
7166fi
7167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7168$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7169if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7170  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7171else
7172  gl_build_unknown_warnings_are_errors=
7173fi
7174
7175
7176fi
7177
7178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Winit-self" >&5
7179$as_echo_n "checking whether $CC_FOR_BUILD handles -Winit-self... " >&6; }
7180if ${gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self+:} false; then :
7181  $as_echo_n "(cached) " >&6
7182else
7183
7184  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7185  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Winit-self"
7186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187/* end confdefs.h.  */
7188
7189int
7190main ()
7191{
7192
7193  ;
7194  return 0;
7195}
7196_ACEOF
7197if ac_fn_c_try_link "$LINENO"; then :
7198  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=yes
7199else
7200  gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self=no
7201fi
7202rm -f core conftest.err conftest.$ac_build_objext \
7203    conftest$ac_build_exeext conftest.$ac_ext
7204  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7205
7206fi
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&5
7208$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" >&6; }
7209if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Winit_self" = xyes; then :
7210  as_fn_append WARN_CFLAGS_FOR_BUILD " -Winit-self"
7211fi
7212
7213
7214if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7215  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7216$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7217if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7218  $as_echo_n "(cached) " >&6
7219else
7220
7221  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7222  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7224/* end confdefs.h.  */
7225
7226int
7227main ()
7228{
7229
7230  ;
7231  return 0;
7232}
7233_ACEOF
7234if ac_fn_c_try_link "$LINENO"; then :
7235  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7236else
7237  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7238fi
7239rm -f core conftest.err conftest.$ac_build_objext \
7240    conftest$ac_build_exeext conftest.$ac_ext
7241  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7242
7243fi
7244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7245$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7246if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7247  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7248else
7249  gl_build_unknown_warnings_are_errors=
7250fi
7251
7252
7253fi
7254
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wlogical-op" >&5
7256$as_echo_n "checking whether $CC_FOR_BUILD handles -Wlogical-op... " >&6; }
7257if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260
7261  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7262  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wlogical-op"
7263  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264/* end confdefs.h.  */
7265
7266int
7267main ()
7268{
7269
7270  ;
7271  return 0;
7272}
7273_ACEOF
7274if ac_fn_c_try_link "$LINENO"; then :
7275  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=yes
7276else
7277  gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op=no
7278fi
7279rm -f core conftest.err conftest.$ac_build_objext \
7280    conftest$ac_build_exeext conftest.$ac_ext
7281  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7282
7283fi
7284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&5
7285$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" >&6; }
7286if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wlogical_op" = xyes; then :
7287  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wlogical-op"
7288fi
7289
7290
7291if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7293$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7294if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7295  $as_echo_n "(cached) " >&6
7296else
7297
7298  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7299  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7300  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7301/* end confdefs.h.  */
7302
7303int
7304main ()
7305{
7306
7307  ;
7308  return 0;
7309}
7310_ACEOF
7311if ac_fn_c_try_link "$LINENO"; then :
7312  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7313else
7314  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7315fi
7316rm -f core conftest.err conftest.$ac_build_objext \
7317    conftest$ac_build_exeext conftest.$ac_ext
7318  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7319
7320fi
7321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7322$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7323if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7324  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7325else
7326  gl_build_unknown_warnings_are_errors=
7327fi
7328
7329
7330fi
7331
7332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type" >&5
7333$as_echo_n "checking whether $CC_FOR_BUILD handles -Wmissing-parameter-type... " >&6; }
7334if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type+:} false; then :
7335  $as_echo_n "(cached) " >&6
7336else
7337
7338  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7339  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wmissing-parameter-type"
7340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341/* end confdefs.h.  */
7342
7343int
7344main ()
7345{
7346
7347  ;
7348  return 0;
7349}
7350_ACEOF
7351if ac_fn_c_try_link "$LINENO"; then :
7352  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=yes
7353else
7354  gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type=no
7355fi
7356rm -f core conftest.err conftest.$ac_build_objext \
7357    conftest$ac_build_exeext conftest.$ac_ext
7358  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7359
7360fi
7361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&5
7362$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" >&6; }
7363if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wmissing_parameter_type" = xyes; then :
7364  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wmissing-parameter-type"
7365fi
7366
7367
7368if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7370$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7371if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7372  $as_echo_n "(cached) " >&6
7373else
7374
7375  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7376  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7377  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378/* end confdefs.h.  */
7379
7380int
7381main ()
7382{
7383
7384  ;
7385  return 0;
7386}
7387_ACEOF
7388if ac_fn_c_try_link "$LINENO"; then :
7389  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7390else
7391  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7392fi
7393rm -f core conftest.err conftest.$ac_build_objext \
7394    conftest$ac_build_exeext conftest.$ac_ext
7395  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7396
7397fi
7398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7399$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7400if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7401  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7402else
7403  gl_build_unknown_warnings_are_errors=
7404fi
7405
7406
7407fi
7408
7409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wnested-externs" >&5
7410$as_echo_n "checking whether $CC_FOR_BUILD handles -Wnested-externs... " >&6; }
7411if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs+:} false; then :
7412  $as_echo_n "(cached) " >&6
7413else
7414
7415  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7416  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wnested-externs"
7417  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418/* end confdefs.h.  */
7419
7420int
7421main ()
7422{
7423
7424  ;
7425  return 0;
7426}
7427_ACEOF
7428if ac_fn_c_try_link "$LINENO"; then :
7429  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=yes
7430else
7431  gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs=no
7432fi
7433rm -f core conftest.err conftest.$ac_build_objext \
7434    conftest$ac_build_exeext conftest.$ac_ext
7435  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7436
7437fi
7438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&5
7439$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" >&6; }
7440if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wnested_externs" = xyes; then :
7441  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wnested-externs"
7442fi
7443
7444
7445if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7447$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7448if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7449  $as_echo_n "(cached) " >&6
7450else
7451
7452  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7453  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7454  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7455/* end confdefs.h.  */
7456
7457int
7458main ()
7459{
7460
7461  ;
7462  return 0;
7463}
7464_ACEOF
7465if ac_fn_c_try_link "$LINENO"; then :
7466  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7467else
7468  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7469fi
7470rm -f core conftest.err conftest.$ac_build_objext \
7471    conftest$ac_build_exeext conftest.$ac_ext
7472  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7473
7474fi
7475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7476$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7477if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7478  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7479else
7480  gl_build_unknown_warnings_are_errors=
7481fi
7482
7483
7484fi
7485
7486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-declaration" >&5
7487$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-declaration... " >&6; }
7488if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration+:} false; then :
7489  $as_echo_n "(cached) " >&6
7490else
7491
7492  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7493  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-declaration"
7494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495/* end confdefs.h.  */
7496
7497int
7498main ()
7499{
7500
7501  ;
7502  return 0;
7503}
7504_ACEOF
7505if ac_fn_c_try_link "$LINENO"; then :
7506  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=yes
7507else
7508  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration=no
7509fi
7510rm -f core conftest.err conftest.$ac_build_objext \
7511    conftest$ac_build_exeext conftest.$ac_ext
7512  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7513
7514fi
7515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&5
7516$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" >&6; }
7517if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_declaration" = xyes; then :
7518  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-declaration"
7519fi
7520
7521
7522if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7524$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7525if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7526  $as_echo_n "(cached) " >&6
7527else
7528
7529  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7530  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532/* end confdefs.h.  */
7533
7534int
7535main ()
7536{
7537
7538  ;
7539  return 0;
7540}
7541_ACEOF
7542if ac_fn_c_try_link "$LINENO"; then :
7543  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7544else
7545  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7546fi
7547rm -f core conftest.err conftest.$ac_build_objext \
7548    conftest$ac_build_exeext conftest.$ac_ext
7549  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7550
7551fi
7552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7553$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7554if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7555  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7556else
7557  gl_build_unknown_warnings_are_errors=
7558fi
7559
7560
7561fi
7562
7563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wold-style-definition" >&5
7564$as_echo_n "checking whether $CC_FOR_BUILD handles -Wold-style-definition... " >&6; }
7565if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition+:} false; then :
7566  $as_echo_n "(cached) " >&6
7567else
7568
7569  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7570  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wold-style-definition"
7571  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572/* end confdefs.h.  */
7573
7574int
7575main ()
7576{
7577
7578  ;
7579  return 0;
7580}
7581_ACEOF
7582if ac_fn_c_try_link "$LINENO"; then :
7583  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=yes
7584else
7585  gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition=no
7586fi
7587rm -f core conftest.err conftest.$ac_build_objext \
7588    conftest$ac_build_exeext conftest.$ac_ext
7589  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7590
7591fi
7592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&5
7593$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" >&6; }
7594if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wold_style_definition" = xyes; then :
7595  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wold-style-definition"
7596fi
7597
7598
7599if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7601$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7602if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7603  $as_echo_n "(cached) " >&6
7604else
7605
7606  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7607  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7608  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7609/* end confdefs.h.  */
7610
7611int
7612main ()
7613{
7614
7615  ;
7616  return 0;
7617}
7618_ACEOF
7619if ac_fn_c_try_link "$LINENO"; then :
7620  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7621else
7622  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7623fi
7624rm -f core conftest.err conftest.$ac_build_objext \
7625    conftest$ac_build_exeext conftest.$ac_ext
7626  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7627
7628fi
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7630$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7631if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7632  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7633else
7634  gl_build_unknown_warnings_are_errors=
7635fi
7636
7637
7638fi
7639
7640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wsign-compare" >&5
7641$as_echo_n "checking whether $CC_FOR_BUILD handles -Wsign-compare... " >&6; }
7642if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare+:} false; then :
7643  $as_echo_n "(cached) " >&6
7644else
7645
7646  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7647  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wsign-compare"
7648  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649/* end confdefs.h.  */
7650
7651int
7652main ()
7653{
7654
7655  ;
7656  return 0;
7657}
7658_ACEOF
7659if ac_fn_c_try_link "$LINENO"; then :
7660  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=yes
7661else
7662  gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare=no
7663fi
7664rm -f core conftest.err conftest.$ac_build_objext \
7665    conftest$ac_build_exeext conftest.$ac_ext
7666  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7667
7668fi
7669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&5
7670$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" >&6; }
7671if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wsign_compare" = xyes; then :
7672  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wsign-compare"
7673fi
7674
7675
7676if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7677  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7678$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7679if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7680  $as_echo_n "(cached) " >&6
7681else
7682
7683  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7684  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7685  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686/* end confdefs.h.  */
7687
7688int
7689main ()
7690{
7691
7692  ;
7693  return 0;
7694}
7695_ACEOF
7696if ac_fn_c_try_link "$LINENO"; then :
7697  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7698else
7699  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7700fi
7701rm -f core conftest.err conftest.$ac_build_objext \
7702    conftest$ac_build_exeext conftest.$ac_ext
7703  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7704
7705fi
7706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7707$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7708if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7709  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7710else
7711  gl_build_unknown_warnings_are_errors=
7712fi
7713
7714
7715fi
7716
7717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wtype-limits" >&5
7718$as_echo_n "checking whether $CC_FOR_BUILD handles -Wtype-limits... " >&6; }
7719if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits+:} false; then :
7720  $as_echo_n "(cached) " >&6
7721else
7722
7723  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7724  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wtype-limits"
7725  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726/* end confdefs.h.  */
7727
7728int
7729main ()
7730{
7731
7732  ;
7733  return 0;
7734}
7735_ACEOF
7736if ac_fn_c_try_link "$LINENO"; then :
7737  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=yes
7738else
7739  gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits=no
7740fi
7741rm -f core conftest.err conftest.$ac_build_objext \
7742    conftest$ac_build_exeext conftest.$ac_ext
7743  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7744
7745fi
7746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&5
7747$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" >&6; }
7748if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wtype_limits" = xyes; then :
7749  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wtype-limits"
7750fi
7751
7752
7753if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7755$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7756if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7757  $as_echo_n "(cached) " >&6
7758else
7759
7760  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7761  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763/* end confdefs.h.  */
7764
7765int
7766main ()
7767{
7768
7769  ;
7770  return 0;
7771}
7772_ACEOF
7773if ac_fn_c_try_link "$LINENO"; then :
7774  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7775else
7776  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7777fi
7778rm -f core conftest.err conftest.$ac_build_objext \
7779    conftest$ac_build_exeext conftest.$ac_ext
7780  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7781
7782fi
7783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7784$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7785if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7786  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7787else
7788  gl_build_unknown_warnings_are_errors=
7789fi
7790
7791
7792fi
7793
7794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Wwrite-strings" >&5
7795$as_echo_n "checking whether $CC_FOR_BUILD handles -Wwrite-strings... " >&6; }
7796if ${gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings+:} false; then :
7797  $as_echo_n "(cached) " >&6
7798else
7799
7800  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7801  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Wwrite-strings"
7802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7803/* end confdefs.h.  */
7804
7805int
7806main ()
7807{
7808
7809  ;
7810  return 0;
7811}
7812_ACEOF
7813if ac_fn_c_try_link "$LINENO"; then :
7814  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=yes
7815else
7816  gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings=no
7817fi
7818rm -f core conftest.err conftest.$ac_build_objext \
7819    conftest$ac_build_exeext conftest.$ac_ext
7820  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7821
7822fi
7823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&5
7824$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" >&6; }
7825if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Wwrite_strings" = xyes; then :
7826  as_fn_append WARN_CFLAGS_FOR_BUILD " -Wwrite-strings"
7827fi
7828
7829
7830# Check whether --enable-gcc-Werror was given.
7831if test "${enable_gcc_Werror+set}" = set; then :
7832  enableval=$enable_gcc_Werror; case $enableval in
7833     yes) if test x${gl_build_unknown_warnings_are_errors+set} = x; then :
7834  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option" >&5
7835$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror -Wunknown-warning-option... " >&6; }
7836if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option+:} false; then :
7837  $as_echo_n "(cached) " >&6
7838else
7839
7840  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7841  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror -Wunknown-warning-option"
7842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7843/* end confdefs.h.  */
7844
7845int
7846main ()
7847{
7848
7849  ;
7850  return 0;
7851}
7852_ACEOF
7853if ac_fn_c_try_link "$LINENO"; then :
7854  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=yes
7855else
7856  gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option=no
7857fi
7858rm -f core conftest.err conftest.$ac_build_objext \
7859    conftest$ac_build_exeext conftest.$ac_ext
7860  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7861
7862fi
7863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&5
7864$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" >&6; }
7865if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror__Wunknown_warning_option" = xyes; then :
7866  gl_build_unknown_warnings_are_errors='-Wunknown-warning-option -Werror'
7867else
7868  gl_build_unknown_warnings_are_errors=
7869fi
7870
7871
7872fi
7873
7874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD handles -Werror" >&5
7875$as_echo_n "checking whether $CC_FOR_BUILD handles -Werror... " >&6; }
7876if ${gl_cv_warn_CFLAGS_FOR_BUILD__Werror+:} false; then :
7877  $as_echo_n "(cached) " >&6
7878else
7879
7880  gl_save_compiler_FLAGS="$CFLAGS_FOR_BUILD"
7881  as_fn_append CFLAGS_FOR_BUILD " $gl_build_unknown_warnings_are_errors -Werror"
7882  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7883/* end confdefs.h.  */
7884
7885int
7886main ()
7887{
7888
7889  ;
7890  return 0;
7891}
7892_ACEOF
7893if ac_fn_c_try_link "$LINENO"; then :
7894  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=yes
7895else
7896  gl_cv_warn_CFLAGS_FOR_BUILD__Werror=no
7897fi
7898rm -f core conftest.err conftest.$ac_build_objext \
7899    conftest$ac_build_exeext conftest.$ac_ext
7900  CFLAGS_FOR_BUILD="$gl_save_compiler_FLAGS"
7901
7902fi
7903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&5
7904$as_echo "$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" >&6; }
7905if test "x$gl_cv_warn_CFLAGS_FOR_BUILD__Werror" = xyes; then :
7906  as_fn_append WARN_CFLAGS_FOR_BUILD " -Werror"
7907fi
7908
7909 ;;
7910     no)  ;;
7911     *)   as_fn_error $? "bad value $enableval for gcc-Werror option" "$LINENO" 5 ;;
7912   esac
7913
7914fi
7915
7916
7917
7918
7919if test -n "${st_saved_cross_compiling+set}"; then :
7920  cross_compiling="${st_saved_cross_compiling}"; unset st_saved_cross_compiling
7921fi
7922
7923if test -n "${st_saved_ac_tool_prefix+set}"; then :
7924  ac_tool_prefix="${st_saved_ac_tool_prefix}"; unset st_saved_ac_tool_prefix
7925fi
7926
7927if test -n "${st_saved_ac_link+set}"; then :
7928  ac_link="${st_saved_ac_link}"; unset st_saved_ac_link
7929fi
7930
7931if test -n "${st_saved_ac_cv_c_decl_report+set}"; then :
7932  ac_cv_c_decl_report="${st_saved_ac_cv_c_decl_report}"; unset st_saved_ac_cv_c_decl_report
7933fi
7934
7935if test -n "${st_saved_ac_cv_c_compiler_gnu+set}"; then :
7936  ac_cv_c_compiler_gnu="${st_saved_ac_cv_c_compiler_gnu}"; unset st_saved_ac_cv_c_compiler_gnu
7937fi
7938
7939if test -n "${st_saved_ac_cpp+set}"; then :
7940  ac_cpp="${st_saved_ac_cpp}"; unset st_saved_ac_cpp
7941fi
7942
7943if test -n "${st_saved_ac_compiler_gnu+set}"; then :
7944  ac_compiler_gnu="${st_saved_ac_compiler_gnu}"; unset st_saved_ac_compiler_gnu
7945fi
7946
7947if test -n "${st_saved_ac_compile+set}"; then :
7948  ac_compile="${st_saved_ac_compile}"; unset st_saved_ac_compile
7949fi
7950
7951if test -n "${st_saved_ac_c_werror_flag+set}"; then :
7952  ac_c_werror_flag="${st_saved_ac_c_werror_flag}"; unset st_saved_ac_c_werror_flag
7953fi
7954
7955if test -n "${st_saved_ac_c_preproc_warn_flag+set}"; then :
7956  ac_c_preproc_warn_flag="${st_saved_ac_c_preproc_warn_flag}"; unset st_saved_ac_c_preproc_warn_flag
7957fi
7958
7959if test -n "${st_saved_ac_c_decl_warn_flag+set}"; then :
7960  ac_c_decl_warn_flag="${st_saved_ac_c_decl_warn_flag}"; unset st_saved_ac_c_decl_warn_flag
7961fi
7962
7963
7964
7965BUILD_EXEEXT=$ac_build_exeext
7966BUILD_OBJEXT=$ac_build_objext
7967
7968
7969if test -n "$ac_tool_prefix"; then
7970  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7971set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973$as_echo_n "checking for $ac_word... " >&6; }
7974if ${ac_cv_prog_RANLIB+:} false; then :
7975  $as_echo_n "(cached) " >&6
7976else
7977  if test -n "$RANLIB"; then
7978  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7979else
7980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981for as_dir in $PATH
7982do
7983  IFS=$as_save_IFS
7984  test -z "$as_dir" && as_dir=.
7985    for ac_exec_ext in '' $ac_executable_extensions; do
7986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989    break 2
7990  fi
7991done
7992  done
7993IFS=$as_save_IFS
7994
7995fi
7996fi
7997RANLIB=$ac_cv_prog_RANLIB
7998if test -n "$RANLIB"; then
7999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8000$as_echo "$RANLIB" >&6; }
8001else
8002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003$as_echo "no" >&6; }
8004fi
8005
8006
8007fi
8008if test -z "$ac_cv_prog_RANLIB"; then
8009  ac_ct_RANLIB=$RANLIB
8010  # Extract the first word of "ranlib", so it can be a program name with args.
8011set dummy ranlib; ac_word=$2
8012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013$as_echo_n "checking for $ac_word... " >&6; }
8014if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8015  $as_echo_n "(cached) " >&6
8016else
8017  if test -n "$ac_ct_RANLIB"; then
8018  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8019else
8020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021for as_dir in $PATH
8022do
8023  IFS=$as_save_IFS
8024  test -z "$as_dir" && as_dir=.
8025    for ac_exec_ext in '' $ac_executable_extensions; do
8026  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027    ac_cv_prog_ac_ct_RANLIB="ranlib"
8028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029    break 2
8030  fi
8031done
8032  done
8033IFS=$as_save_IFS
8034
8035fi
8036fi
8037ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8038if test -n "$ac_ct_RANLIB"; then
8039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8040$as_echo "$ac_ct_RANLIB" >&6; }
8041else
8042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043$as_echo "no" >&6; }
8044fi
8045
8046  if test "x$ac_ct_RANLIB" = x; then
8047    RANLIB=":"
8048  else
8049    case $cross_compiling:$ac_tool_warned in
8050yes:)
8051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053ac_tool_warned=yes ;;
8054esac
8055    RANLIB=$ac_ct_RANLIB
8056  fi
8057else
8058  RANLIB="$ac_cv_prog_RANLIB"
8059fi
8060
8061
8062
8063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8064$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
8065if ${ac_cv_path_GREP+:} false; then :
8066  $as_echo_n "(cached) " >&6
8067else
8068  if test -z "$GREP"; then
8069  ac_path_GREP_found=false
8070  # Loop through the user's path and test for each of PROGNAME-LIST
8071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8073do
8074  IFS=$as_save_IFS
8075  test -z "$as_dir" && as_dir=.
8076    for ac_prog in grep ggrep; do
8077    for ac_exec_ext in '' $ac_executable_extensions; do
8078      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8079      as_fn_executable_p "$ac_path_GREP" || continue
8080# Check for GNU ac_path_GREP and select it if it is found.
8081  # Check for GNU $ac_path_GREP
8082case `"$ac_path_GREP" --version 2>&1` in
8083*GNU*)
8084  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8085*)
8086  ac_count=0
8087  $as_echo_n 0123456789 >"conftest.in"
8088  while :
8089  do
8090    cat "conftest.in" "conftest.in" >"conftest.tmp"
8091    mv "conftest.tmp" "conftest.in"
8092    cp "conftest.in" "conftest.nl"
8093    $as_echo 'GREP' >> "conftest.nl"
8094    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8095    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8096    as_fn_arith $ac_count + 1 && ac_count=$as_val
8097    if test $ac_count -gt ${ac_path_GREP_max-0}; then
8098      # Best one so far, save it but keep looking for a better one
8099      ac_cv_path_GREP="$ac_path_GREP"
8100      ac_path_GREP_max=$ac_count
8101    fi
8102    # 10*(2^10) chars as input seems more than enough
8103    test $ac_count -gt 10 && break
8104  done
8105  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8106esac
8107
8108      $ac_path_GREP_found && break 3
8109    done
8110  done
8111  done
8112IFS=$as_save_IFS
8113  if test -z "$ac_cv_path_GREP"; then
8114    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8115  fi
8116else
8117  ac_cv_path_GREP=$GREP
8118fi
8119
8120fi
8121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8122$as_echo "$ac_cv_path_GREP" >&6; }
8123 GREP="$ac_cv_path_GREP"
8124
8125
8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8127$as_echo_n "checking for egrep... " >&6; }
8128if ${ac_cv_path_EGREP+:} false; then :
8129  $as_echo_n "(cached) " >&6
8130else
8131  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8132   then ac_cv_path_EGREP="$GREP -E"
8133   else
8134     if test -z "$EGREP"; then
8135  ac_path_EGREP_found=false
8136  # Loop through the user's path and test for each of PROGNAME-LIST
8137  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8139do
8140  IFS=$as_save_IFS
8141  test -z "$as_dir" && as_dir=.
8142    for ac_prog in egrep; do
8143    for ac_exec_ext in '' $ac_executable_extensions; do
8144      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8145      as_fn_executable_p "$ac_path_EGREP" || continue
8146# Check for GNU ac_path_EGREP and select it if it is found.
8147  # Check for GNU $ac_path_EGREP
8148case `"$ac_path_EGREP" --version 2>&1` in
8149*GNU*)
8150  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8151*)
8152  ac_count=0
8153  $as_echo_n 0123456789 >"conftest.in"
8154  while :
8155  do
8156    cat "conftest.in" "conftest.in" >"conftest.tmp"
8157    mv "conftest.tmp" "conftest.in"
8158    cp "conftest.in" "conftest.nl"
8159    $as_echo 'EGREP' >> "conftest.nl"
8160    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8162    as_fn_arith $ac_count + 1 && ac_count=$as_val
8163    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8164      # Best one so far, save it but keep looking for a better one
8165      ac_cv_path_EGREP="$ac_path_EGREP"
8166      ac_path_EGREP_max=$ac_count
8167    fi
8168    # 10*(2^10) chars as input seems more than enough
8169    test $ac_count -gt 10 && break
8170  done
8171  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8172esac
8173
8174      $ac_path_EGREP_found && break 3
8175    done
8176  done
8177  done
8178IFS=$as_save_IFS
8179  if test -z "$ac_cv_path_EGREP"; then
8180    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8181  fi
8182else
8183  ac_cv_path_EGREP=$EGREP
8184fi
8185
8186   fi
8187fi
8188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8189$as_echo "$ac_cv_path_EGREP" >&6; }
8190 EGREP="$ac_cv_path_EGREP"
8191
8192
8193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8194$as_echo_n "checking for ANSI C header files... " >&6; }
8195if ${ac_cv_header_stdc+:} false; then :
8196  $as_echo_n "(cached) " >&6
8197else
8198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199/* end confdefs.h.  */
8200#include <stdlib.h>
8201#include <stdarg.h>
8202#include <string.h>
8203#include <float.h>
8204
8205int
8206main ()
8207{
8208
8209  ;
8210  return 0;
8211}
8212_ACEOF
8213if ac_fn_c_try_compile "$LINENO"; then :
8214  ac_cv_header_stdc=yes
8215else
8216  ac_cv_header_stdc=no
8217fi
8218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8219
8220if test $ac_cv_header_stdc = yes; then
8221  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223/* end confdefs.h.  */
8224#include <string.h>
8225
8226_ACEOF
8227if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8228  $EGREP "memchr" >/dev/null 2>&1; then :
8229
8230else
8231  ac_cv_header_stdc=no
8232fi
8233rm -f conftest*
8234
8235fi
8236
8237if test $ac_cv_header_stdc = yes; then
8238  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240/* end confdefs.h.  */
8241#include <stdlib.h>
8242
8243_ACEOF
8244if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8245  $EGREP "free" >/dev/null 2>&1; then :
8246
8247else
8248  ac_cv_header_stdc=no
8249fi
8250rm -f conftest*
8251
8252fi
8253
8254if test $ac_cv_header_stdc = yes; then
8255  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8256  if test "$cross_compiling" = yes; then :
8257  :
8258else
8259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260/* end confdefs.h.  */
8261#include <ctype.h>
8262#include <stdlib.h>
8263#if ((' ' & 0x0FF) == 0x020)
8264# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8265# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8266#else
8267# define ISLOWER(c) \
8268		   (('a' <= (c) && (c) <= 'i') \
8269		     || ('j' <= (c) && (c) <= 'r') \
8270		     || ('s' <= (c) && (c) <= 'z'))
8271# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8272#endif
8273
8274#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8275int
8276main ()
8277{
8278  int i;
8279  for (i = 0; i < 256; i++)
8280    if (XOR (islower (i), ISLOWER (i))
8281	|| toupper (i) != TOUPPER (i))
8282      return 2;
8283  return 0;
8284}
8285_ACEOF
8286if ac_fn_c_try_run "$LINENO"; then :
8287
8288else
8289  ac_cv_header_stdc=no
8290fi
8291rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8292  conftest.$ac_objext conftest.beam conftest.$ac_ext
8293fi
8294
8295fi
8296fi
8297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8298$as_echo "$ac_cv_header_stdc" >&6; }
8299if test $ac_cv_header_stdc = yes; then
8300
8301$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8302
8303fi
8304
8305# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8306for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8307		  inttypes.h stdint.h unistd.h
8308do :
8309  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8310ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8311"
8312if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8313  cat >>confdefs.h <<_ACEOF
8314#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8315_ACEOF
8316
8317fi
8318
8319done
8320
8321
8322
8323  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
8324if test "x$ac_cv_header_minix_config_h" = xyes; then :
8325  MINIX=yes
8326else
8327  MINIX=
8328fi
8329
8330
8331  if test "$MINIX" = yes; then
8332
8333$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
8334
8335
8336$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
8337
8338
8339$as_echo "#define _MINIX 1" >>confdefs.h
8340
8341  fi
8342
8343
8344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
8345$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
8346if ${ac_cv_safe_to_define___extensions__+:} false; then :
8347  $as_echo_n "(cached) " >&6
8348else
8349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350/* end confdefs.h.  */
8351
8352#         define __EXTENSIONS__ 1
8353          $ac_includes_default
8354int
8355main ()
8356{
8357
8358  ;
8359  return 0;
8360}
8361_ACEOF
8362if ac_fn_c_try_compile "$LINENO"; then :
8363  ac_cv_safe_to_define___extensions__=yes
8364else
8365  ac_cv_safe_to_define___extensions__=no
8366fi
8367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8368fi
8369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
8370$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
8371  test $ac_cv_safe_to_define___extensions__ = yes &&
8372    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
8373
8374  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
8375
8376  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
8377
8378  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
8379
8380  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
8381
8382
8383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8384$as_echo_n "checking for a sed that does not truncate output... " >&6; }
8385if ${ac_cv_path_SED+:} false; then :
8386  $as_echo_n "(cached) " >&6
8387else
8388            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8389     for ac_i in 1 2 3 4 5 6 7; do
8390       ac_script="$ac_script$as_nl$ac_script"
8391     done
8392     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8393     { ac_script=; unset ac_script;}
8394     if test -z "$SED"; then
8395  ac_path_SED_found=false
8396  # Loop through the user's path and test for each of PROGNAME-LIST
8397  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398for as_dir in $PATH
8399do
8400  IFS=$as_save_IFS
8401  test -z "$as_dir" && as_dir=.
8402    for ac_prog in sed gsed; do
8403    for ac_exec_ext in '' $ac_executable_extensions; do
8404      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
8405      as_fn_executable_p "$ac_path_SED" || continue
8406# Check for GNU ac_path_SED and select it if it is found.
8407  # Check for GNU $ac_path_SED
8408case `"$ac_path_SED" --version 2>&1` in
8409*GNU*)
8410  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
8411*)
8412  ac_count=0
8413  $as_echo_n 0123456789 >"conftest.in"
8414  while :
8415  do
8416    cat "conftest.in" "conftest.in" >"conftest.tmp"
8417    mv "conftest.tmp" "conftest.in"
8418    cp "conftest.in" "conftest.nl"
8419    $as_echo '' >> "conftest.nl"
8420    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8421    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8422    as_fn_arith $ac_count + 1 && ac_count=$as_val
8423    if test $ac_count -gt ${ac_path_SED_max-0}; then
8424      # Best one so far, save it but keep looking for a better one
8425      ac_cv_path_SED="$ac_path_SED"
8426      ac_path_SED_max=$ac_count
8427    fi
8428    # 10*(2^10) chars as input seems more than enough
8429    test $ac_count -gt 10 && break
8430  done
8431  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8432esac
8433
8434      $ac_path_SED_found && break 3
8435    done
8436  done
8437  done
8438IFS=$as_save_IFS
8439  if test -z "$ac_cv_path_SED"; then
8440    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8441  fi
8442else
8443  ac_cv_path_SED=$SED
8444fi
8445
8446fi
8447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8448$as_echo "$ac_cv_path_SED" >&6; }
8449 SED="$ac_cv_path_SED"
8450  rm -f conftest.sed
8451
8452
8453
8454
8455	# allow to override gcov location
8456
8457# Check whether --with-gcov was given.
8458if test "${with_gcov+set}" = set; then :
8459  withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov
8460else
8461  _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov
8462fi
8463
8464
8465	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5
8466$as_echo_n "checking whether to build with code coverage support... " >&6; }
8467	# Check whether --enable-code-coverage was given.
8468if test "${enable_code_coverage+set}" = set; then :
8469  enableval=$enable_code_coverage;
8470else
8471  enable_code_coverage=no
8472fi
8473
8474
8475	 if test x$enable_code_coverage = xyes; then
8476  CODE_COVERAGE_ENABLED_TRUE=
8477  CODE_COVERAGE_ENABLED_FALSE='#'
8478else
8479  CODE_COVERAGE_ENABLED_TRUE='#'
8480  CODE_COVERAGE_ENABLED_FALSE=
8481fi
8482
8483	CODE_COVERAGE_ENABLED=$enable_code_coverage
8484
8485	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_code_coverage" >&5
8486$as_echo "$enable_code_coverage" >&6; }
8487
8488	if  test "$enable_code_coverage" = "yes" ; then :
8489
8490		# check for gcov
8491		if test -n "$ac_tool_prefix"; then
8492  # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
8493set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
8494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495$as_echo_n "checking for $ac_word... " >&6; }
8496if ${ac_cv_prog_GCOV+:} false; then :
8497  $as_echo_n "(cached) " >&6
8498else
8499  if test -n "$GCOV"; then
8500  ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
8501else
8502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503for as_dir in $PATH
8504do
8505  IFS=$as_save_IFS
8506  test -z "$as_dir" && as_dir=.
8507    for ac_exec_ext in '' $ac_executable_extensions; do
8508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8509    ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
8510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8511    break 2
8512  fi
8513done
8514  done
8515IFS=$as_save_IFS
8516
8517fi
8518fi
8519GCOV=$ac_cv_prog_GCOV
8520if test -n "$GCOV"; then
8521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
8522$as_echo "$GCOV" >&6; }
8523else
8524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525$as_echo "no" >&6; }
8526fi
8527
8528
8529fi
8530if test -z "$ac_cv_prog_GCOV"; then
8531  ac_ct_GCOV=$GCOV
8532  # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args.
8533set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2
8534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535$as_echo_n "checking for $ac_word... " >&6; }
8536if ${ac_cv_prog_ac_ct_GCOV+:} false; then :
8537  $as_echo_n "(cached) " >&6
8538else
8539  if test -n "$ac_ct_GCOV"; then
8540  ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
8541else
8542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543for as_dir in $PATH
8544do
8545  IFS=$as_save_IFS
8546  test -z "$as_dir" && as_dir=.
8547    for ac_exec_ext in '' $ac_executable_extensions; do
8548  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8549    ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH"
8550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8551    break 2
8552  fi
8553done
8554  done
8555IFS=$as_save_IFS
8556
8557fi
8558fi
8559ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV
8560if test -n "$ac_ct_GCOV"; then
8561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
8562$as_echo "$ac_ct_GCOV" >&6; }
8563else
8564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565$as_echo "no" >&6; }
8566fi
8567
8568  if test "x$ac_ct_GCOV" = x; then
8569    GCOV=":"
8570  else
8571    case $cross_compiling:$ac_tool_warned in
8572yes:)
8573{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8574$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8575ac_tool_warned=yes ;;
8576esac
8577    GCOV=$ac_ct_GCOV
8578  fi
8579else
8580  GCOV="$ac_cv_prog_GCOV"
8581fi
8582
8583		if test "X$GCOV" = "X:"; then :
8584  as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5
8585fi
8586
8587
8588				if  test "$GCC" = "no" ; then :
8589
8590			as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5
8591
8592fi
8593
8594		# Extract the first word of "lcov", so it can be a program name with args.
8595set dummy lcov; ac_word=$2
8596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8597$as_echo_n "checking for $ac_word... " >&6; }
8598if ${ac_cv_prog_LCOV+:} false; then :
8599  $as_echo_n "(cached) " >&6
8600else
8601  if test -n "$LCOV"; then
8602  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
8603else
8604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605for as_dir in $PATH
8606do
8607  IFS=$as_save_IFS
8608  test -z "$as_dir" && as_dir=.
8609    for ac_exec_ext in '' $ac_executable_extensions; do
8610  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8611    ac_cv_prog_LCOV="lcov"
8612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8613    break 2
8614  fi
8615done
8616  done
8617IFS=$as_save_IFS
8618
8619fi
8620fi
8621LCOV=$ac_cv_prog_LCOV
8622if test -n "$LCOV"; then
8623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
8624$as_echo "$LCOV" >&6; }
8625else
8626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8627$as_echo "no" >&6; }
8628fi
8629
8630
8631		# Extract the first word of "genhtml", so it can be a program name with args.
8632set dummy genhtml; ac_word=$2
8633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8634$as_echo_n "checking for $ac_word... " >&6; }
8635if ${ac_cv_prog_GENHTML+:} false; then :
8636  $as_echo_n "(cached) " >&6
8637else
8638  if test -n "$GENHTML"; then
8639  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
8640else
8641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642for as_dir in $PATH
8643do
8644  IFS=$as_save_IFS
8645  test -z "$as_dir" && as_dir=.
8646    for ac_exec_ext in '' $ac_executable_extensions; do
8647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8648    ac_cv_prog_GENHTML="genhtml"
8649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8650    break 2
8651  fi
8652done
8653  done
8654IFS=$as_save_IFS
8655
8656fi
8657fi
8658GENHTML=$ac_cv_prog_GENHTML
8659if test -n "$GENHTML"; then
8660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
8661$as_echo "$GENHTML" >&6; }
8662else
8663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8664$as_echo "no" >&6; }
8665fi
8666
8667
8668
8669		if  test -z "$LCOV" ; then :
8670
8671			as_fn_error $? "To enable code coverage reporting you must have lcov installed" "$LINENO" 5
8672
8673fi
8674
8675		if  test -z "$GENHTML" ; then :
8676
8677			as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
8678
8679fi
8680
8681						CODE_COVERAGE_CPPFLAGS="-DENABLE_COVERAGE_GCOV -DNDEBUG"
8682		CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
8683		CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
8684		CODE_COVERAGE_LIBS="-lgcov"
8685		CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS"
8686
8687
8688
8689
8690
8691
8692
8693		CODE_COVERAGE_RULES_CHECK='
8694	-$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check
8695	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture
8696'
8697		CODE_COVERAGE_RULES_CAPTURE='
8698	$(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS)
8699	$(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS)
8700	-@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp
8701	$(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS)
8702	@echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html"
8703'
8704		CODE_COVERAGE_RULES_CLEAN='
8705clean: code-coverage-clean
8706distclean: code-coverage-clean
8707code-coverage-clean:
8708	-$(LCOV) --directory $(top_builddir) -z
8709	-rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY)
8710	-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
8711'
8712
8713else
8714
8715		CODE_COVERAGE_RULES_CHECK='
8716	@echo "Need to reconfigure with --enable-code-coverage"
8717'
8718		CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK"
8719		CODE_COVERAGE_RULES_CLEAN=''
8720
8721fi
8722
8723CODE_COVERAGE_RULES='
8724# Code coverage
8725#
8726# Optional:
8727#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
8728#    Multiple directories may be specified, separated by whitespace.
8729#    (Default: $(top_builddir))
8730#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
8731#    by lcov for code coverage. (Default:
8732#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
8733#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
8734#    reports to be created. (Default:
8735#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
8736#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
8737#    set to 0 to disable it and leave empty to stay with the default.
8738#    (Default: empty)
8739#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
8740#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
8741#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
8742#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
8743#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
8744#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
8745#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
8746#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
8747#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
8748#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
8749#    lcov instance. (Default: empty)
8750#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
8751#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
8752#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
8753#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
8754#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
8755#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
8756#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
8757#
8758# The generated report will be titled using the $(PACKAGE_NAME) and
8759# $(PACKAGE_VERSION). In order to add the current git hash to the title,
8760# use the git-version-gen script, available online.
8761
8762# Optional variables
8763CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
8764CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
8765CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
8766CODE_COVERAGE_BRANCH_COVERAGE ?=
8767CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
8768--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
8769CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
8770CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
8771CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
8772CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
8773CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
8774CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
8775CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
8776$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
8777--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
8778CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
8779CODE_COVERAGE_IGNORE_PATTERN ?=
8780
8781code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
8782code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
8783code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
8784 $(CODE_COVERAGE_OUTPUT_FILE);
8785code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
8786code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
8787code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
8788 $(CODE_COVERAGE_IGNORE_PATTERN);
8789code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
8790code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
8791code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
8792code_coverage_quiet = $(code_coverage_quiet_$(V))
8793code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
8794code_coverage_quiet_0 = --quiet
8795
8796# sanitizes the test-name: replaces with underscores: dashes and dots
8797code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
8798
8799# Use recursive makes in order to ignore errors during check
8800check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"'
8801
8802# Capture code coverage data
8803code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"'
8804
8805# Hook rule executed before code-coverage-capture, overridable by the user
8806code-coverage-capture-hook:
8807
8808'"$CODE_COVERAGE_RULES_CLEAN"'
8809
8810GITIGNOREFILES ?=
8811GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
8812
8813A''M_DISTCHECK_CONFIGURE_FLAGS ?=
8814A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
8815
8816.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
8817'
8818
8819
8820
8821
8822
8823
8824$as_echo "#define COPYRIGHT_YEAR \"2018\"" >>confdefs.h
8825
8826COPYRIGHT_YEAR=2018
8827
8828
8829
8830$as_echo "#define MANPAGE_DATE \"2018-02-11\"" >>confdefs.h
8831
8832MANPAGE_DATE=2018-02-11
8833
8834
8835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported architecture" >&5
8836$as_echo_n "checking for supported architecture... " >&6; }
8837arch_m32=
8838arch_mx32=
8839cc_flags_m32=-m32
8840cc_flags_mx32=-mx32
8841case "$host_cpu" in
8842aarch64*)
8843	arch=aarch64
8844	arch_m32=arm
8845
8846$as_echo "#define AARCH64 1" >>confdefs.h
8847
8848	;;
8849alpha*)
8850	arch=alpha
8851
8852$as_echo "#define ALPHA 1" >>confdefs.h
8853
8854	;;
8855arc*)
8856	arch=arc
8857
8858$as_echo "#define ARC 1" >>confdefs.h
8859
8860	;;
8861arm*)
8862	arch=arm
8863
8864$as_echo "#define ARM 1" >>confdefs.h
8865
8866	;;
8867avr32*)
8868	arch=avr32
8869
8870$as_echo "#define AVR32 1" >>confdefs.h
8871
8872	;;
8873bfin)
8874	arch=bfin
8875
8876$as_echo "#define BFIN 1" >>confdefs.h
8877
8878	;;
8879hppa*|parisc*)
8880	arch=hppa
8881
8882$as_echo "#define HPPA 1" >>confdefs.h
8883
8884	;;
8885i[3456]86|pentium)
8886	arch=i386
8887
8888$as_echo "#define I386 1" >>confdefs.h
8889
8890	;;
8891ia64)
8892	arch=ia64
8893
8894$as_echo "#define IA64 1" >>confdefs.h
8895
8896	;;
8897m68k)
8898	arch=m68k
8899
8900$as_echo "#define M68K 1" >>confdefs.h
8901
8902	;;
8903metag*)
8904	arch=metag
8905
8906$as_echo "#define METAG 1" >>confdefs.h
8907
8908	;;
8909microblaze*)
8910	arch=microblaze
8911
8912$as_echo "#define MICROBLAZE 1" >>confdefs.h
8913
8914	;;
8915mips*)
8916	arch=mips
8917
8918$as_echo "#define MIPS 1" >>confdefs.h
8919
8920	;;
8921nios2*)
8922	arch=nios2
8923
8924$as_echo "#define NIOS2 1" >>confdefs.h
8925
8926	;;
8927or1k*)
8928	arch=or1k
8929
8930$as_echo "#define OR1K 1" >>confdefs.h
8931
8932	;;
8933powerpc*)
8934
8935$as_echo "#define POWERPC 1" >>confdefs.h
8936
8937	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8938/* end confdefs.h.  */
8939#ifndef __LP64__
8940# error 32 bit
8941#endif
8942int
8943main ()
8944{
8945
8946  ;
8947  return 0;
8948}
8949_ACEOF
8950if ac_fn_c_try_compile "$LINENO"; then :
8951  arch=powerpc64
8952else
8953  arch=powerpc
8954fi
8955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8956	if test "$arch" = "powerpc64"; then
8957		arch_m32=powerpc
8958
8959$as_echo "#define POWERPC64 1" >>confdefs.h
8960
8961	fi
8962	;;
8963riscv*)
8964	arch=riscv
8965
8966$as_echo "#define RISCV 1" >>confdefs.h
8967
8968	;;
8969s390)
8970	arch=s390
8971
8972$as_echo "#define S390 1" >>confdefs.h
8973
8974	;;
8975s390x)
8976	arch=s390x
8977	arch_m32=s390
8978	cc_flags_m32=-m31
8979
8980$as_echo "#define S390X 1" >>confdefs.h
8981
8982	;;
8983sh64*)
8984	arch=sh64
8985
8986$as_echo "#define SH64 1" >>confdefs.h
8987
8988	;;
8989sh*)
8990	arch=sh
8991
8992$as_echo "#define SH 1" >>confdefs.h
8993
8994	;;
8995sparc64*)
8996	arch=sparc64
8997	arch_m32=sparc
8998
8999$as_echo "#define SPARC64 1" >>confdefs.h
9000
9001	;;
9002sparc*)
9003	arch=sparc
9004
9005$as_echo "#define SPARC 1" >>confdefs.h
9006
9007	;;
9008tile*)
9009	arch=tile
9010
9011$as_echo "#define TILE 1" >>confdefs.h
9012
9013	;;
9014x86?64*)
9015	arch_m32=i386
9016	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017/* end confdefs.h.  */
9018#ifndef __ILP32__
9019# error not x32
9020#endif
9021int
9022main ()
9023{
9024
9025  ;
9026  return 0;
9027}
9028_ACEOF
9029if ac_fn_c_try_compile "$LINENO"; then :
9030  arch=x32
9031else
9032  arch=x86_64
9033fi
9034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9035	if test "$arch" = "x86_64"; then
9036		arch_mx32=x32
9037
9038$as_echo "#define X86_64 1" >>confdefs.h
9039
9040	else
9041
9042$as_echo "#define X32 1" >>confdefs.h
9043
9044	fi
9045	;;
9046xtensa*)
9047	arch=xtensa
9048
9049$as_echo "#define XTENSA 1" >>confdefs.h
9050
9051	;;
9052*)
9053	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: NO!" >&5
9054$as_echo "NO!" >&6; }
9055	as_fn_error $? "architecture $host_cpu is not supported by strace" "$LINENO" 5
9056	;;
9057esac
9058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $arch" >&5
9059$as_echo "$arch" >&6; }
9060
9061arch_native=$arch
9062
9063test -n "$arch_m32" ||
9064	arch_m32=$arch
9065test -n "$arch_mx32" ||
9066	arch_mx32=$arch
9067
9068
9069
9070
9071
9072
9073
9074MIPS_ABI=
9075if test "$arch" = mips; then
9076	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _MIPS_SIM" >&5
9077$as_echo_n "checking for _MIPS_SIM... " >&6; }
9078if ${st_cv__MIPS_SIM+:} false; then :
9079  $as_echo_n "(cached) " >&6
9080else
9081  if ac_fn_c_compute_int "$LINENO" "_MIPS_SIM" "st_cv__MIPS_SIM"        ""; then :
9082
9083else
9084  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9085$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9086as_fn_error $? "_MIPS_SIM cannot be determined
9087See \`config.log' for more details" "$LINENO" 5; }
9088fi
9089
9090fi
9091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv__MIPS_SIM" >&5
9092$as_echo "$st_cv__MIPS_SIM" >&6; }
9093
9094	# requires GCC >= 3.4
9095	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIPS ABI" >&5
9096$as_echo_n "checking for MIPS ABI... " >&6; }
9097if ${st_cv_mips_abi+:} false; then :
9098  $as_echo_n "(cached) " >&6
9099else
9100  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101/* end confdefs.h.  */
9102
9103int
9104main ()
9105{
9106int i[_MIPS_SIM == _ABIO32 ? 1 : - 1];
9107  ;
9108  return 0;
9109}
9110_ACEOF
9111if ac_fn_c_try_compile "$LINENO"; then :
9112  st_cv_mips_abi=o32
9113else
9114  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115/* end confdefs.h.  */
9116
9117int
9118main ()
9119{
9120int i[_MIPS_SIM == _ABIN32 ? 1 : - 1];
9121  ;
9122  return 0;
9123}
9124_ACEOF
9125if ac_fn_c_try_compile "$LINENO"; then :
9126  st_cv_mips_abi=n32
9127else
9128  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129/* end confdefs.h.  */
9130
9131int
9132main ()
9133{
9134int i[_MIPS_SIM == _ABI64 ? 1 : - 1];
9135  ;
9136  return 0;
9137}
9138_ACEOF
9139if ac_fn_c_try_compile "$LINENO"; then :
9140  st_cv_mips_abi=n64
9141else
9142  st_cv_mips_abi=unknown
9143fi
9144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9145fi
9146rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9147fi
9148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9149fi
9150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mips_abi" >&5
9151$as_echo "$st_cv_mips_abi" >&6; }
9152
9153	case "$st_cv_mips_abi" in
9154		o32)
9155$as_echo "#define LINUX_MIPSO32 1" >>confdefs.h
9156;;
9157		n32)
9158$as_echo "#define LINUX_MIPSN32 1" >>confdefs.h
9159;;
9160		n64)
9161$as_echo "#define LINUX_MIPSN64 1" >>confdefs.h
9162;;
9163		*) as_fn_error $? "Unsupported _MIPS_SIM" "$LINENO" 5;;
9164	esac
9165	MIPS_ABI="$st_cv_mips_abi"
9166fi
9167
9168
9169# Check whether --enable-arm-oabi was given.
9170if test "${enable_arm_oabi+set}" = set; then :
9171  enableval=$enable_arm_oabi;
9172else
9173  enable_arm_oabi=no
9174fi
9175
9176case "$enable_arm_oabi" in
9177	yes) enable_arm_oabi=1 ;;
9178	no) enable_arm_oabi=0 ;;
9179	*) as_fn_error $? "bad value $enable_arm_oabi for arm-oabi option" "$LINENO" 5 ;;
9180esac
9181
9182cat >>confdefs.h <<_ACEOF
9183#define ENABLE_ARM_OABI $enable_arm_oabi
9184_ACEOF
9185
9186
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
9188$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
9189if ${ac_cv_c_bigendian+:} false; then :
9190  $as_echo_n "(cached) " >&6
9191else
9192  ac_cv_c_bigendian=unknown
9193    # See if we're dealing with a universal compiler.
9194    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195/* end confdefs.h.  */
9196#ifndef __APPLE_CC__
9197	       not a universal capable compiler
9198	     #endif
9199	     typedef int dummy;
9200
9201_ACEOF
9202if ac_fn_c_try_compile "$LINENO"; then :
9203
9204	# Check for potential -arch flags.  It is not universal unless
9205	# there are at least two -arch flags with different values.
9206	ac_arch=
9207	ac_prev=
9208	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
9209	 if test -n "$ac_prev"; then
9210	   case $ac_word in
9211	     i?86 | x86_64 | ppc | ppc64)
9212	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
9213		 ac_arch=$ac_word
9214	       else
9215		 ac_cv_c_bigendian=universal
9216		 break
9217	       fi
9218	       ;;
9219	   esac
9220	   ac_prev=
9221	 elif test "x$ac_word" = "x-arch"; then
9222	   ac_prev=arch
9223	 fi
9224       done
9225fi
9226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9227    if test $ac_cv_c_bigendian = unknown; then
9228      # See if sys/param.h defines the BYTE_ORDER macro.
9229      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230/* end confdefs.h.  */
9231#include <sys/types.h>
9232	     #include <sys/param.h>
9233
9234int
9235main ()
9236{
9237#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
9238		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
9239		     && LITTLE_ENDIAN)
9240	      bogus endian macros
9241	     #endif
9242
9243  ;
9244  return 0;
9245}
9246_ACEOF
9247if ac_fn_c_try_compile "$LINENO"; then :
9248  # It does; now see whether it defined to BIG_ENDIAN or not.
9249	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250/* end confdefs.h.  */
9251#include <sys/types.h>
9252		#include <sys/param.h>
9253
9254int
9255main ()
9256{
9257#if BYTE_ORDER != BIG_ENDIAN
9258		 not big endian
9259		#endif
9260
9261  ;
9262  return 0;
9263}
9264_ACEOF
9265if ac_fn_c_try_compile "$LINENO"; then :
9266  ac_cv_c_bigendian=yes
9267else
9268  ac_cv_c_bigendian=no
9269fi
9270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9271fi
9272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9273    fi
9274    if test $ac_cv_c_bigendian = unknown; then
9275      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
9276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277/* end confdefs.h.  */
9278#include <limits.h>
9279
9280int
9281main ()
9282{
9283#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
9284	      bogus endian macros
9285	     #endif
9286
9287  ;
9288  return 0;
9289}
9290_ACEOF
9291if ac_fn_c_try_compile "$LINENO"; then :
9292  # It does; now see whether it defined to _BIG_ENDIAN or not.
9293	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294/* end confdefs.h.  */
9295#include <limits.h>
9296
9297int
9298main ()
9299{
9300#ifndef _BIG_ENDIAN
9301		 not big endian
9302		#endif
9303
9304  ;
9305  return 0;
9306}
9307_ACEOF
9308if ac_fn_c_try_compile "$LINENO"; then :
9309  ac_cv_c_bigendian=yes
9310else
9311  ac_cv_c_bigendian=no
9312fi
9313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9314fi
9315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9316    fi
9317    if test $ac_cv_c_bigendian = unknown; then
9318      # Compile a test program.
9319      if test "$cross_compiling" = yes; then :
9320  # Try to guess by grepping values from an object file.
9321	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322/* end confdefs.h.  */
9323short int ascii_mm[] =
9324		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
9325		short int ascii_ii[] =
9326		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
9327		int use_ascii (int i) {
9328		  return ascii_mm[i] + ascii_ii[i];
9329		}
9330		short int ebcdic_ii[] =
9331		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
9332		short int ebcdic_mm[] =
9333		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
9334		int use_ebcdic (int i) {
9335		  return ebcdic_mm[i] + ebcdic_ii[i];
9336		}
9337		extern int foo;
9338
9339int
9340main ()
9341{
9342return use_ascii (foo) == use_ebcdic (foo);
9343  ;
9344  return 0;
9345}
9346_ACEOF
9347if ac_fn_c_try_compile "$LINENO"; then :
9348  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
9349	      ac_cv_c_bigendian=yes
9350	    fi
9351	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
9352	      if test "$ac_cv_c_bigendian" = unknown; then
9353		ac_cv_c_bigendian=no
9354	      else
9355		# finding both strings is unlikely to happen, but who knows?
9356		ac_cv_c_bigendian=unknown
9357	      fi
9358	    fi
9359fi
9360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9361else
9362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363/* end confdefs.h.  */
9364$ac_includes_default
9365int
9366main ()
9367{
9368
9369	     /* Are we little or big endian?  From Harbison&Steele.  */
9370	     union
9371	     {
9372	       long int l;
9373	       char c[sizeof (long int)];
9374	     } u;
9375	     u.l = 1;
9376	     return u.c[sizeof (long int) - 1] == 1;
9377
9378  ;
9379  return 0;
9380}
9381_ACEOF
9382if ac_fn_c_try_run "$LINENO"; then :
9383  ac_cv_c_bigendian=no
9384else
9385  ac_cv_c_bigendian=yes
9386fi
9387rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9388  conftest.$ac_objext conftest.beam conftest.$ac_ext
9389fi
9390
9391    fi
9392fi
9393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
9394$as_echo "$ac_cv_c_bigendian" >&6; }
9395 case $ac_cv_c_bigendian in #(
9396   yes)
9397     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
9398;; #(
9399   no)
9400      ;; #(
9401   universal)
9402
9403$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
9404
9405     ;; #(
9406   *)
9407     as_fn_error $? "unknown endianness
9408 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
9409 esac
9410
9411
9412  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeof syntax and keyword spelling" >&5
9413$as_echo_n "checking for typeof syntax and keyword spelling... " >&6; }
9414if ${ac_cv_c_typeof+:} false; then :
9415  $as_echo_n "(cached) " >&6
9416else
9417  ac_cv_c_typeof=no
9418     for ac_kw in typeof __typeof__ no; do
9419       test $ac_kw = no && break
9420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421/* end confdefs.h.  */
9422
9423int
9424main ()
9425{
9426
9427	   int value;
9428	   typedef struct {
9429		   char a [1
9430			   + ! (($ac_kw (value))
9431				(($ac_kw (value)) 0 < ($ac_kw (value)) -1
9432				 ? ($ac_kw (value)) - 1
9433				 : ~ (~ ($ac_kw (value)) 0
9434				      << sizeof ($ac_kw (value)))))]; }
9435	      ac__typeof_type_;
9436	   return
9437	     (! ((void) ((ac__typeof_type_ *) 0), 0));
9438
9439  ;
9440  return 0;
9441}
9442_ACEOF
9443if ac_fn_c_try_compile "$LINENO"; then :
9444  ac_cv_c_typeof=$ac_kw
9445fi
9446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9447       test $ac_cv_c_typeof != no && break
9448     done
9449fi
9450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_typeof" >&5
9451$as_echo "$ac_cv_c_typeof" >&6; }
9452  if test $ac_cv_c_typeof != no; then
9453
9454$as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
9455
9456    if test $ac_cv_c_typeof != typeof; then
9457
9458cat >>confdefs.h <<_ACEOF
9459#define typeof $ac_cv_c_typeof
9460_ACEOF
9461
9462    fi
9463  fi
9464
9465
9466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
9467$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
9468if ${ac_cv_type_uid_t+:} false; then :
9469  $as_echo_n "(cached) " >&6
9470else
9471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472/* end confdefs.h.  */
9473#include <sys/types.h>
9474
9475_ACEOF
9476if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9477  $EGREP "uid_t" >/dev/null 2>&1; then :
9478  ac_cv_type_uid_t=yes
9479else
9480  ac_cv_type_uid_t=no
9481fi
9482rm -f conftest*
9483
9484fi
9485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
9486$as_echo "$ac_cv_type_uid_t" >&6; }
9487if test $ac_cv_type_uid_t = no; then
9488
9489$as_echo "#define uid_t int" >>confdefs.h
9490
9491
9492$as_echo "#define gid_t int" >>confdefs.h
9493
9494fi
9495
9496
9497for ac_func in accept4 be64toh fallocate fanotify_mark fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname open64 prctl preadv process_vm_readv pwritev readahead signalfd stpcpy strerror strndup strsignal sync_file_range utimensat
9498do :
9499  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9500ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
9501if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9502  cat >>confdefs.h <<_ACEOF
9503#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9504_ACEOF
9505
9506fi
9507done
9508
9509
9510ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
9511"
9512if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
9513
9514cat >>confdefs.h <<_ACEOF
9515#define HAVE_SIG_ATOMIC_T 1
9516_ACEOF
9517
9518
9519fi
9520ac_fn_c_check_type "$LINENO" "struct sigcontext" "ac_cv_type_struct_sigcontext" "#include <signal.h>
9521"
9522if test "x$ac_cv_type_struct_sigcontext" = xyes; then :
9523
9524cat >>confdefs.h <<_ACEOF
9525#define HAVE_STRUCT_SIGCONTEXT 1
9526_ACEOF
9527
9528
9529fi
9530
9531
9532ac_fn_c_check_type "$LINENO" "struct mmsghdr" "ac_cv_type_struct_mmsghdr" "#include <sys/socket.h>
9533"
9534if test "x$ac_cv_type_struct_mmsghdr" = xyes; then :
9535
9536cat >>confdefs.h <<_ACEOF
9537#define HAVE_STRUCT_MMSGHDR 1
9538_ACEOF
9539
9540
9541fi
9542
9543
9544ac_fn_c_check_type "$LINENO" "__kernel_long_t" "ac_cv_type___kernel_long_t" "#include <asm/posix_types.h>
9545"
9546if test "x$ac_cv_type___kernel_long_t" = xyes; then :
9547
9548cat >>confdefs.h <<_ACEOF
9549#define HAVE___KERNEL_LONG_T 1
9550_ACEOF
9551
9552
9553fi
9554ac_fn_c_check_type "$LINENO" "__kernel_ulong_t" "ac_cv_type___kernel_ulong_t" "#include <asm/posix_types.h>
9555"
9556if test "x$ac_cv_type___kernel_ulong_t" = xyes; then :
9557
9558cat >>confdefs.h <<_ACEOF
9559#define HAVE___KERNEL_ULONG_T 1
9560_ACEOF
9561
9562
9563fi
9564
9565
9566ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h>
9567#include <asm/stat.h>
9568"
9569if test "x$ac_cv_type_struct_stat64" = xyes; then :
9570
9571cat >>confdefs.h <<_ACEOF
9572#define HAVE_STRUCT_STAT64 1
9573_ACEOF
9574
9575
9576fi
9577ac_fn_c_check_type "$LINENO" "struct __old_kernel_stat" "ac_cv_type_struct___old_kernel_stat" "#include <sys/types.h>
9578#include <asm/stat.h>
9579"
9580if test "x$ac_cv_type_struct___old_kernel_stat" = xyes; then :
9581
9582cat >>confdefs.h <<_ACEOF
9583#define HAVE_STRUCT___OLD_KERNEL_STAT 1
9584_ACEOF
9585
9586
9587fi
9588
9589
9590ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h>
9591"
9592if test "x$ac_cv_type_struct_user_desc" = xyes; then :
9593
9594cat >>confdefs.h <<_ACEOF
9595#define HAVE_STRUCT_USER_DESC 1
9596_ACEOF
9597
9598ac_fn_c_check_member "$LINENO" "struct user_desc" "lm" "ac_cv_member_struct_user_desc_lm" "#include <asm/ldt.h>
9599"
9600if test "x$ac_cv_member_struct_user_desc_lm" = xyes; then :
9601
9602cat >>confdefs.h <<_ACEOF
9603#define HAVE_STRUCT_USER_DESC_LM 1
9604_ACEOF
9605
9606
9607fi
9608
9609fi
9610
9611
9612ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h>
9613#include <asm/stat.h>
9614"
9615if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then :
9616
9617cat >>confdefs.h <<_ACEOF
9618#define HAVE_STRUCT_STAT_ST_MTIME_NSEC 1
9619_ACEOF
9620
9621
9622fi
9623ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h>
9624#include <asm/stat.h>
9625"
9626if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then :
9627
9628cat >>confdefs.h <<_ACEOF
9629#define HAVE_STRUCT_STAT64_ST_MTIME_NSEC 1
9630_ACEOF
9631
9632
9633fi
9634
9635
9636ac_fn_c_check_type "$LINENO" "struct pt_all_user_regs" "ac_cv_type_struct_pt_all_user_regs" "#include <sys/ptrace.h>
9637"
9638if test "x$ac_cv_type_struct_pt_all_user_regs" = xyes; then :
9639
9640cat >>confdefs.h <<_ACEOF
9641#define HAVE_STRUCT_PT_ALL_USER_REGS 1
9642_ACEOF
9643
9644
9645fi
9646ac_fn_c_check_type "$LINENO" "struct ia64_fpreg" "ac_cv_type_struct_ia64_fpreg" "#include <sys/ptrace.h>
9647"
9648if test "x$ac_cv_type_struct_ia64_fpreg" = xyes; then :
9649
9650cat >>confdefs.h <<_ACEOF
9651#define HAVE_STRUCT_IA64_FPREG 1
9652_ACEOF
9653
9654
9655fi
9656ac_fn_c_check_type "$LINENO" "struct ptrace_peeksiginfo_args" "ac_cv_type_struct_ptrace_peeksiginfo_args" "#include <sys/ptrace.h>
9657"
9658if test "x$ac_cv_type_struct_ptrace_peeksiginfo_args" = xyes; then :
9659
9660cat >>confdefs.h <<_ACEOF
9661#define HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS 1
9662_ACEOF
9663
9664
9665fi
9666
9667
9668ac_fn_c_check_type "$LINENO" "struct flock" "ac_cv_type_struct_flock" "#include <sys/types.h>
9669#include <linux/fcntl.h>
9670"
9671if test "x$ac_cv_type_struct_flock" = xyes; then :
9672
9673cat >>confdefs.h <<_ACEOF
9674#define HAVE_STRUCT_FLOCK 1
9675_ACEOF
9676
9677
9678fi
9679ac_fn_c_check_type "$LINENO" "struct flock64" "ac_cv_type_struct_flock64" "#include <sys/types.h>
9680#include <linux/fcntl.h>
9681"
9682if test "x$ac_cv_type_struct_flock64" = xyes; then :
9683
9684cat >>confdefs.h <<_ACEOF
9685#define HAVE_STRUCT_FLOCK64 1
9686_ACEOF
9687
9688
9689fi
9690ac_fn_c_check_type "$LINENO" "struct __kernel_flock" "ac_cv_type_struct___kernel_flock" "#include <sys/types.h>
9691#include <linux/fcntl.h>
9692"
9693if test "x$ac_cv_type_struct___kernel_flock" = xyes; then :
9694
9695cat >>confdefs.h <<_ACEOF
9696#define HAVE_STRUCT___KERNEL_FLOCK 1
9697_ACEOF
9698
9699
9700fi
9701ac_fn_c_check_type "$LINENO" "struct __kernel_flock64" "ac_cv_type_struct___kernel_flock64" "#include <sys/types.h>
9702#include <linux/fcntl.h>
9703"
9704if test "x$ac_cv_type_struct___kernel_flock64" = xyes; then :
9705
9706cat >>confdefs.h <<_ACEOF
9707#define HAVE_STRUCT___KERNEL_FLOCK64 1
9708_ACEOF
9709
9710
9711fi
9712
9713
9714ac_fn_c_check_type "$LINENO" "struct crypto_report_aead" "ac_cv_type_struct_crypto_report_aead" "#include <linux/cryptouser.h>
9715"
9716if test "x$ac_cv_type_struct_crypto_report_aead" = xyes; then :
9717
9718cat >>confdefs.h <<_ACEOF
9719#define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1
9720_ACEOF
9721
9722
9723fi
9724ac_fn_c_check_type "$LINENO" "struct crypto_report_blkcipher" "ac_cv_type_struct_crypto_report_blkcipher" "#include <linux/cryptouser.h>
9725"
9726if test "x$ac_cv_type_struct_crypto_report_blkcipher" = xyes; then :
9727
9728cat >>confdefs.h <<_ACEOF
9729#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1
9730_ACEOF
9731
9732
9733fi
9734ac_fn_c_check_type "$LINENO" "struct crypto_report_cipher" "ac_cv_type_struct_crypto_report_cipher" "#include <linux/cryptouser.h>
9735"
9736if test "x$ac_cv_type_struct_crypto_report_cipher" = xyes; then :
9737
9738cat >>confdefs.h <<_ACEOF
9739#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1
9740_ACEOF
9741
9742
9743fi
9744ac_fn_c_check_type "$LINENO" "struct crypto_report_hash" "ac_cv_type_struct_crypto_report_hash" "#include <linux/cryptouser.h>
9745"
9746if test "x$ac_cv_type_struct_crypto_report_hash" = xyes; then :
9747
9748cat >>confdefs.h <<_ACEOF
9749#define HAVE_STRUCT_CRYPTO_REPORT_HASH 1
9750_ACEOF
9751
9752
9753fi
9754ac_fn_c_check_type "$LINENO" "struct crypto_report_rng" "ac_cv_type_struct_crypto_report_rng" "#include <linux/cryptouser.h>
9755"
9756if test "x$ac_cv_type_struct_crypto_report_rng" = xyes; then :
9757
9758cat >>confdefs.h <<_ACEOF
9759#define HAVE_STRUCT_CRYPTO_REPORT_RNG 1
9760_ACEOF
9761
9762
9763fi
9764
9765
9766ac_fn_c_check_type "$LINENO" "struct kcmp_epoll_slot" "ac_cv_type_struct_kcmp_epoll_slot" "#include <linux/kcmp.h>
9767"
9768if test "x$ac_cv_type_struct_kcmp_epoll_slot" = xyes; then :
9769
9770cat >>confdefs.h <<_ACEOF
9771#define HAVE_STRUCT_KCMP_EPOLL_SLOT 1
9772_ACEOF
9773
9774
9775fi
9776
9777
9778ac_fn_c_check_type "$LINENO" "struct keyctl_kdf_params" "ac_cv_type_struct_keyctl_kdf_params" "#include <linux/keyctl.h>
9779"
9780if test "x$ac_cv_type_struct_keyctl_kdf_params" = xyes; then :
9781
9782cat >>confdefs.h <<_ACEOF
9783#define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1
9784_ACEOF
9785
9786
9787fi
9788
9789
9790ac_fn_c_check_member "$LINENO" "struct timex" "tai" "ac_cv_member_struct_timex_tai" "#include <sys/timex.h>
9791"
9792if test "x$ac_cv_member_struct_timex_tai" = xyes; then :
9793
9794cat >>confdefs.h <<_ACEOF
9795#define HAVE_STRUCT_TIMEX_TAI 1
9796_ACEOF
9797
9798
9799fi
9800
9801
9802ac_fn_c_check_member "$LINENO" "struct utsname" "domainname" "ac_cv_member_struct_utsname_domainname" "#include <sys/utsname.h>
9803"
9804if test "x$ac_cv_member_struct_utsname_domainname" = xyes; then :
9805
9806cat >>confdefs.h <<_ACEOF
9807#define HAVE_STRUCT_UTSNAME_DOMAINNAME 1
9808_ACEOF
9809
9810
9811fi
9812
9813
9814ac_fn_c_check_member "$LINENO" "siginfo_t" "si_syscall" "ac_cv_member_siginfo_t_si_syscall" "#include <signal.h>
9815"
9816if test "x$ac_cv_member_siginfo_t_si_syscall" = xyes; then :
9817
9818cat >>confdefs.h <<_ACEOF
9819#define HAVE_SIGINFO_T_SI_SYSCALL 1
9820_ACEOF
9821
9822
9823fi
9824ac_fn_c_check_member "$LINENO" "siginfo_t" "si_timerid" "ac_cv_member_siginfo_t_si_timerid" "#include <signal.h>
9825"
9826if test "x$ac_cv_member_siginfo_t_si_timerid" = xyes; then :
9827
9828cat >>confdefs.h <<_ACEOF
9829#define HAVE_SIGINFO_T_SI_TIMERID 1
9830_ACEOF
9831
9832
9833fi
9834ac_fn_c_check_member "$LINENO" "siginfo_t" "si_overrun" "ac_cv_member_siginfo_t_si_overrun" "#include <signal.h>
9835"
9836if test "x$ac_cv_member_siginfo_t_si_overrun" = xyes; then :
9837
9838cat >>confdefs.h <<_ACEOF
9839#define HAVE_SIGINFO_T_SI_OVERRUN 1
9840_ACEOF
9841
9842
9843fi
9844
9845
9846ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "precise_ip" "ac_cv_member_struct_perf_event_attr_precise_ip" "#include <linux/perf_event.h>
9847"
9848if test "x$ac_cv_member_struct_perf_event_attr_precise_ip" = xyes; then :
9849
9850cat >>confdefs.h <<_ACEOF
9851#define HAVE_STRUCT_PERF_EVENT_ATTR_PRECISE_IP 1
9852_ACEOF
9853
9854
9855fi
9856ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap_data" "ac_cv_member_struct_perf_event_attr_mmap_data" "#include <linux/perf_event.h>
9857"
9858if test "x$ac_cv_member_struct_perf_event_attr_mmap_data" = xyes; then :
9859
9860cat >>confdefs.h <<_ACEOF
9861#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP_DATA 1
9862_ACEOF
9863
9864
9865fi
9866ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_id_all" "ac_cv_member_struct_perf_event_attr_sample_id_all" "#include <linux/perf_event.h>
9867"
9868if test "x$ac_cv_member_struct_perf_event_attr_sample_id_all" = xyes; then :
9869
9870cat >>confdefs.h <<_ACEOF
9871#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_ID_ALL 1
9872_ACEOF
9873
9874
9875fi
9876ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_host" "ac_cv_member_struct_perf_event_attr_exclude_host" "#include <linux/perf_event.h>
9877"
9878if test "x$ac_cv_member_struct_perf_event_attr_exclude_host" = xyes; then :
9879
9880cat >>confdefs.h <<_ACEOF
9881#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_HOST 1
9882_ACEOF
9883
9884
9885fi
9886ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_guest" "ac_cv_member_struct_perf_event_attr_exclude_guest" "#include <linux/perf_event.h>
9887"
9888if test "x$ac_cv_member_struct_perf_event_attr_exclude_guest" = xyes; then :
9889
9890cat >>confdefs.h <<_ACEOF
9891#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_GUEST 1
9892_ACEOF
9893
9894
9895fi
9896ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_kernel" "ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" "#include <linux/perf_event.h>
9897"
9898if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_kernel" = xyes; then :
9899
9900cat >>confdefs.h <<_ACEOF
9901#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_KERNEL 1
9902_ACEOF
9903
9904
9905fi
9906ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "exclude_callchain_user" "ac_cv_member_struct_perf_event_attr_exclude_callchain_user" "#include <linux/perf_event.h>
9907"
9908if test "x$ac_cv_member_struct_perf_event_attr_exclude_callchain_user" = xyes; then :
9909
9910cat >>confdefs.h <<_ACEOF
9911#define HAVE_STRUCT_PERF_EVENT_ATTR_EXCLUDE_CALLCHAIN_USER 1
9912_ACEOF
9913
9914
9915fi
9916ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "mmap2" "ac_cv_member_struct_perf_event_attr_mmap2" "#include <linux/perf_event.h>
9917"
9918if test "x$ac_cv_member_struct_perf_event_attr_mmap2" = xyes; then :
9919
9920cat >>confdefs.h <<_ACEOF
9921#define HAVE_STRUCT_PERF_EVENT_ATTR_MMAP2 1
9922_ACEOF
9923
9924
9925fi
9926ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "comm_exec" "ac_cv_member_struct_perf_event_attr_comm_exec" "#include <linux/perf_event.h>
9927"
9928if test "x$ac_cv_member_struct_perf_event_attr_comm_exec" = xyes; then :
9929
9930cat >>confdefs.h <<_ACEOF
9931#define HAVE_STRUCT_PERF_EVENT_ATTR_COMM_EXEC 1
9932_ACEOF
9933
9934
9935fi
9936ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "use_clockid" "ac_cv_member_struct_perf_event_attr_use_clockid" "#include <linux/perf_event.h>
9937"
9938if test "x$ac_cv_member_struct_perf_event_attr_use_clockid" = xyes; then :
9939
9940cat >>confdefs.h <<_ACEOF
9941#define HAVE_STRUCT_PERF_EVENT_ATTR_USE_CLOCKID 1
9942_ACEOF
9943
9944
9945fi
9946ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "context_switch" "ac_cv_member_struct_perf_event_attr_context_switch" "#include <linux/perf_event.h>
9947"
9948if test "x$ac_cv_member_struct_perf_event_attr_context_switch" = xyes; then :
9949
9950cat >>confdefs.h <<_ACEOF
9951#define HAVE_STRUCT_PERF_EVENT_ATTR_CONTEXT_SWITCH 1
9952_ACEOF
9953
9954
9955fi
9956ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "write_backward" "ac_cv_member_struct_perf_event_attr_write_backward" "#include <linux/perf_event.h>
9957"
9958if test "x$ac_cv_member_struct_perf_event_attr_write_backward" = xyes; then :
9959
9960cat >>confdefs.h <<_ACEOF
9961#define HAVE_STRUCT_PERF_EVENT_ATTR_WRITE_BACKWARD 1
9962_ACEOF
9963
9964
9965fi
9966ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "namespaces" "ac_cv_member_struct_perf_event_attr_namespaces" "#include <linux/perf_event.h>
9967"
9968if test "x$ac_cv_member_struct_perf_event_attr_namespaces" = xyes; then :
9969
9970cat >>confdefs.h <<_ACEOF
9971#define HAVE_STRUCT_PERF_EVENT_ATTR_NAMESPACES 1
9972_ACEOF
9973
9974
9975fi
9976ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "bp_type" "ac_cv_member_struct_perf_event_attr_bp_type" "#include <linux/perf_event.h>
9977"
9978if test "x$ac_cv_member_struct_perf_event_attr_bp_type" = xyes; then :
9979
9980cat >>confdefs.h <<_ACEOF
9981#define HAVE_STRUCT_PERF_EVENT_ATTR_BP_TYPE 1
9982_ACEOF
9983
9984
9985fi
9986ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config1" "ac_cv_member_struct_perf_event_attr_config1" "#include <linux/perf_event.h>
9987"
9988if test "x$ac_cv_member_struct_perf_event_attr_config1" = xyes; then :
9989
9990cat >>confdefs.h <<_ACEOF
9991#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG1 1
9992_ACEOF
9993
9994
9995fi
9996ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "config2" "ac_cv_member_struct_perf_event_attr_config2" "#include <linux/perf_event.h>
9997"
9998if test "x$ac_cv_member_struct_perf_event_attr_config2" = xyes; then :
9999
10000cat >>confdefs.h <<_ACEOF
10001#define HAVE_STRUCT_PERF_EVENT_ATTR_CONFIG2 1
10002_ACEOF
10003
10004
10005fi
10006ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "branch_sample_type" "ac_cv_member_struct_perf_event_attr_branch_sample_type" "#include <linux/perf_event.h>
10007"
10008if test "x$ac_cv_member_struct_perf_event_attr_branch_sample_type" = xyes; then :
10009
10010cat >>confdefs.h <<_ACEOF
10011#define HAVE_STRUCT_PERF_EVENT_ATTR_BRANCH_SAMPLE_TYPE 1
10012_ACEOF
10013
10014
10015fi
10016ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_user" "ac_cv_member_struct_perf_event_attr_sample_regs_user" "#include <linux/perf_event.h>
10017"
10018if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_user" = xyes; then :
10019
10020cat >>confdefs.h <<_ACEOF
10021#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_USER 1
10022_ACEOF
10023
10024
10025fi
10026ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_stack_user" "ac_cv_member_struct_perf_event_attr_sample_stack_user" "#include <linux/perf_event.h>
10027"
10028if test "x$ac_cv_member_struct_perf_event_attr_sample_stack_user" = xyes; then :
10029
10030cat >>confdefs.h <<_ACEOF
10031#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_STACK_USER 1
10032_ACEOF
10033
10034
10035fi
10036ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_regs_intr" "ac_cv_member_struct_perf_event_attr_sample_regs_intr" "#include <linux/perf_event.h>
10037"
10038if test "x$ac_cv_member_struct_perf_event_attr_sample_regs_intr" = xyes; then :
10039
10040cat >>confdefs.h <<_ACEOF
10041#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_REGS_INTR 1
10042_ACEOF
10043
10044
10045fi
10046ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "aux_watermark" "ac_cv_member_struct_perf_event_attr_aux_watermark" "#include <linux/perf_event.h>
10047"
10048if test "x$ac_cv_member_struct_perf_event_attr_aux_watermark" = xyes; then :
10049
10050cat >>confdefs.h <<_ACEOF
10051#define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1
10052_ACEOF
10053
10054
10055fi
10056ac_fn_c_check_member "$LINENO" "struct perf_event_attr" "sample_max_stack" "ac_cv_member_struct_perf_event_attr_sample_max_stack" "#include <linux/perf_event.h>
10057"
10058if test "x$ac_cv_member_struct_perf_event_attr_sample_max_stack" = xyes; then :
10059
10060cat >>confdefs.h <<_ACEOF
10061#define HAVE_STRUCT_PERF_EVENT_ATTR_SAMPLE_MAX_STACK 1
10062_ACEOF
10063
10064
10065fi
10066
10067
10068for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h bluetooth/bluetooth.h elf.h iconv.h inttypes.h linux/bsg.h linux/cryptouser.h linux/dm-ioctl.h linux/dqblk_xfs.h linux/falloc.h linux/fib_rules.h linux/fiemap.h linux/genetlink.h linux/hiddev.h linux/if_addr.h linux/if_link.h linux/ip_vs.h linux/ipc.h linux/kcmp.h linux/kvm.h linux/memfd.h linux/mmtimer.h linux/msg.h linux/neighbour.h linux/netfilter/ipset/ip_set.h linux/netfilter/nf_tables.h linux/netfilter/nf_tables_compat.h linux/netfilter/nfnetlink.h linux/netfilter/nfnetlink_acct.h linux/netfilter/nfnetlink_conntrack.h linux/netfilter/nfnetlink_cthelper.h linux/netfilter/nfnetlink_cttimeout.h linux/netfilter/nfnetlink_log.h linux/netfilter/nfnetlink_queue.h linux/nsfs.h linux/perf_event.h linux/quota.h linux/seccomp.h linux/securebits.h linux/sem.h linux/shm.h linux/userfaultfd.h linux/utsname.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h stropts.h sys/conf.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/msg.h sys/quota.h sys/reg.h sys/sem.h sys/shm.h sys/signalfd.h sys/xattr.h ustat.h
10069do :
10070  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10071ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10072if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10073  cat >>confdefs.h <<_ACEOF
10074#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10075_ACEOF
10076
10077fi
10078
10079done
10080
10081
10082for ac_header in asm/sigcontext.h
10083do :
10084  ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h>
10085"
10086if test "x$ac_cv_header_asm_sigcontext_h" = xyes; then :
10087  cat >>confdefs.h <<_ACEOF
10088#define HAVE_ASM_SIGCONTEXT_H 1
10089_ACEOF
10090
10091fi
10092
10093done
10094
10095
10096for ac_header in netinet/tcp.h netinet/udp.h
10097do :
10098  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10099ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
10100"
10101if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10102  cat >>confdefs.h <<_ACEOF
10103#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10104_ACEOF
10105
10106fi
10107
10108done
10109
10110
10111for ac_header in linux/mqueue.h
10112do :
10113  ac_fn_c_check_header_compile "$LINENO" "linux/mqueue.h" "ac_cv_header_linux_mqueue_h" "#include <linux/types.h>
10114"
10115if test "x$ac_cv_header_linux_mqueue_h" = xyes; then :
10116  cat >>confdefs.h <<_ACEOF
10117#define HAVE_LINUX_MQUEUE_H 1
10118_ACEOF
10119
10120fi
10121
10122done
10123
10124
10125for ac_header in linux/netfilter/xt_osf.h
10126do :
10127  ac_fn_c_check_header_compile "$LINENO" "linux/netfilter/xt_osf.h" "ac_cv_header_linux_netfilter_xt_osf_h" "#include <linux/ip.h>
10128#include <linux/tcp.h>
10129"
10130if test "x$ac_cv_header_linux_netfilter_xt_osf_h" = xyes; then :
10131  cat >>confdefs.h <<_ACEOF
10132#define HAVE_LINUX_NETFILTER_XT_OSF_H 1
10133_ACEOF
10134
10135fi
10136
10137done
10138
10139
10140for ac_header in linux/netfilter_arp/arp_tables.h linux/netfilter_bridge/ebtables.h linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h
10141do :
10142  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10143ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <netinet/in.h>
10144#include <net/if.h>
10145"
10146if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10147  cat >>confdefs.h <<_ACEOF
10148#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10149_ACEOF
10150
10151fi
10152
10153done
10154
10155
10156for ac_header in linux/input.h
10157do :
10158  ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
10159if test "x$ac_cv_header_linux_input_h" = xyes; then :
10160  cat >>confdefs.h <<_ACEOF
10161#define HAVE_LINUX_INPUT_H 1
10162_ACEOF
10163
10164	ac_fn_c_check_member "$LINENO" "struct input_absinfo" "resolution" "ac_cv_member_struct_input_absinfo_resolution" "#include <linux/input.h>
10165"
10166if test "x$ac_cv_member_struct_input_absinfo_resolution" = xyes; then :
10167
10168cat >>confdefs.h <<_ACEOF
10169#define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1
10170_ACEOF
10171
10172
10173fi
10174
10175
10176fi
10177
10178done
10179
10180
10181for ac_header in linux/bpf.h
10182do :
10183  ac_fn_c_check_header_mongrel "$LINENO" "linux/bpf.h" "ac_cv_header_linux_bpf_h" "$ac_includes_default"
10184if test "x$ac_cv_header_linux_bpf_h" = xyes; then :
10185  cat >>confdefs.h <<_ACEOF
10186#define HAVE_LINUX_BPF_H 1
10187_ACEOF
10188
10189	ac_fn_c_check_member "$LINENO" "union bpf_attr" "attach_flags" "ac_cv_member_union_bpf_attr_attach_flags" "#include <linux/bpf.h>
10190"
10191if test "x$ac_cv_member_union_bpf_attr_attach_flags" = xyes; then :
10192
10193cat >>confdefs.h <<_ACEOF
10194#define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1
10195_ACEOF
10196
10197
10198fi
10199ac_fn_c_check_member "$LINENO" "union bpf_attr" "bpf_fd" "ac_cv_member_union_bpf_attr_bpf_fd" "#include <linux/bpf.h>
10200"
10201if test "x$ac_cv_member_union_bpf_attr_bpf_fd" = xyes; then :
10202
10203cat >>confdefs.h <<_ACEOF
10204#define HAVE_UNION_BPF_ATTR_BPF_FD 1
10205_ACEOF
10206
10207
10208fi
10209ac_fn_c_check_member "$LINENO" "union bpf_attr" "flags" "ac_cv_member_union_bpf_attr_flags" "#include <linux/bpf.h>
10210"
10211if test "x$ac_cv_member_union_bpf_attr_flags" = xyes; then :
10212
10213cat >>confdefs.h <<_ACEOF
10214#define HAVE_UNION_BPF_ATTR_FLAGS 1
10215_ACEOF
10216
10217
10218fi
10219ac_fn_c_check_member "$LINENO" "union bpf_attr" "info.info" "ac_cv_member_union_bpf_attr_info_info" "#include <linux/bpf.h>
10220"
10221if test "x$ac_cv_member_union_bpf_attr_info_info" = xyes; then :
10222
10223cat >>confdefs.h <<_ACEOF
10224#define HAVE_UNION_BPF_ATTR_INFO_INFO 1
10225_ACEOF
10226
10227
10228fi
10229ac_fn_c_check_member "$LINENO" "union bpf_attr" "next_id" "ac_cv_member_union_bpf_attr_next_id" "#include <linux/bpf.h>
10230"
10231if test "x$ac_cv_member_union_bpf_attr_next_id" = xyes; then :
10232
10233cat >>confdefs.h <<_ACEOF
10234#define HAVE_UNION_BPF_ATTR_NEXT_ID 1
10235_ACEOF
10236
10237
10238fi
10239ac_fn_c_check_member "$LINENO" "union bpf_attr" "numa_node" "ac_cv_member_union_bpf_attr_numa_node" "#include <linux/bpf.h>
10240"
10241if test "x$ac_cv_member_union_bpf_attr_numa_node" = xyes; then :
10242
10243cat >>confdefs.h <<_ACEOF
10244#define HAVE_UNION_BPF_ATTR_NUMA_NODE 1
10245_ACEOF
10246
10247
10248fi
10249ac_fn_c_check_member "$LINENO" "union bpf_attr" "prog_flags" "ac_cv_member_union_bpf_attr_prog_flags" "#include <linux/bpf.h>
10250"
10251if test "x$ac_cv_member_union_bpf_attr_prog_flags" = xyes; then :
10252
10253cat >>confdefs.h <<_ACEOF
10254#define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1
10255_ACEOF
10256
10257
10258fi
10259ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.duration" "ac_cv_member_union_bpf_attr_test_duration" "#include <linux/bpf.h>
10260"
10261if test "x$ac_cv_member_union_bpf_attr_test_duration" = xyes; then :
10262
10263cat >>confdefs.h <<_ACEOF
10264#define HAVE_UNION_BPF_ATTR_TEST_DURATION 1
10265_ACEOF
10266
10267
10268fi
10269
10270
10271fi
10272
10273done
10274
10275
10276ac_fn_c_check_type "$LINENO" "struct br_mdb_entry" "ac_cv_type_struct_br_mdb_entry" "#include <linux/if_bridge.h>
10277"
10278if test "x$ac_cv_type_struct_br_mdb_entry" = xyes; then :
10279
10280cat >>confdefs.h <<_ACEOF
10281#define HAVE_STRUCT_BR_MDB_ENTRY 1
10282_ACEOF
10283
10284
10285fi
10286ac_fn_c_check_type "$LINENO" "struct br_port_msg" "ac_cv_type_struct_br_port_msg" "#include <linux/if_bridge.h>
10287"
10288if test "x$ac_cv_type_struct_br_port_msg" = xyes; then :
10289
10290cat >>confdefs.h <<_ACEOF
10291#define HAVE_STRUCT_BR_PORT_MSG 1
10292_ACEOF
10293
10294
10295fi
10296
10297ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "flags" "ac_cv_member_struct_br_mdb_entry_flags" "#include <linux/if_bridge.h>
10298"
10299if test "x$ac_cv_member_struct_br_mdb_entry_flags" = xyes; then :
10300
10301cat >>confdefs.h <<_ACEOF
10302#define HAVE_STRUCT_BR_MDB_ENTRY_FLAGS 1
10303_ACEOF
10304
10305
10306fi
10307ac_fn_c_check_member "$LINENO" "struct br_mdb_entry" "vid" "ac_cv_member_struct_br_mdb_entry_vid" "#include <linux/if_bridge.h>
10308"
10309if test "x$ac_cv_member_struct_br_mdb_entry_vid" = xyes; then :
10310
10311cat >>confdefs.h <<_ACEOF
10312#define HAVE_STRUCT_BR_MDB_ENTRY_VID 1
10313_ACEOF
10314
10315
10316fi
10317
10318
10319ac_fn_c_check_type "$LINENO" "struct dcbmsg" "ac_cv_type_struct_dcbmsg" "#include <linux/dcbnl.h>
10320"
10321if test "x$ac_cv_type_struct_dcbmsg" = xyes; then :
10322
10323cat >>confdefs.h <<_ACEOF
10324#define HAVE_STRUCT_DCBMSG 1
10325_ACEOF
10326
10327
10328fi
10329
10330ac_fn_c_check_type "$LINENO" "struct ifaddrlblmsg" "ac_cv_type_struct_ifaddrlblmsg" "#include <linux/if_addrlabel.h>
10331"
10332if test "x$ac_cv_type_struct_ifaddrlblmsg" = xyes; then :
10333
10334cat >>confdefs.h <<_ACEOF
10335#define HAVE_STRUCT_IFADDRLBLMSG 1
10336_ACEOF
10337
10338
10339fi
10340
10341ac_fn_c_check_type "$LINENO" "struct netconfmsg" "ac_cv_type_struct_netconfmsg" "#include <linux/netconf.h>
10342"
10343if test "x$ac_cv_type_struct_netconfmsg" = xyes; then :
10344
10345cat >>confdefs.h <<_ACEOF
10346#define HAVE_STRUCT_NETCONFMSG 1
10347_ACEOF
10348
10349
10350fi
10351
10352
10353ac_fn_c_check_type "$LINENO" "struct rta_mfc_stats" "ac_cv_type_struct_rta_mfc_stats" "#include <linux/rtnetlink.h>
10354"
10355if test "x$ac_cv_type_struct_rta_mfc_stats" = xyes; then :
10356
10357cat >>confdefs.h <<_ACEOF
10358#define HAVE_STRUCT_RTA_MFC_STATS 1
10359_ACEOF
10360
10361
10362fi
10363ac_fn_c_check_type "$LINENO" "struct rtvia" "ac_cv_type_struct_rtvia" "#include <linux/rtnetlink.h>
10364"
10365if test "x$ac_cv_type_struct_rtvia" = xyes; then :
10366
10367cat >>confdefs.h <<_ACEOF
10368#define HAVE_STRUCT_RTVIA 1
10369_ACEOF
10370
10371
10372fi
10373
10374
10375ac_fn_c_check_member "$LINENO" "struct ndt_stats" "ndts_table_fulls" "ac_cv_member_struct_ndt_stats_ndts_table_fulls" "#include <linux/neighbour.h>
10376"
10377if test "x$ac_cv_member_struct_ndt_stats_ndts_table_fulls" = xyes; then :
10378
10379cat >>confdefs.h <<_ACEOF
10380#define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1
10381_ACEOF
10382
10383
10384fi
10385
10386ac_fn_c_check_type "$LINENO" "struct ndt_config" "ac_cv_type_struct_ndt_config" "#include <linux/neighbour.h>
10387"
10388if test "x$ac_cv_type_struct_ndt_config" = xyes; then :
10389
10390cat >>confdefs.h <<_ACEOF
10391#define HAVE_STRUCT_NDT_CONFIG 1
10392_ACEOF
10393
10394
10395fi
10396ac_fn_c_check_type "$LINENO" "struct ndt_stats" "ac_cv_type_struct_ndt_stats" "#include <linux/neighbour.h>
10397"
10398if test "x$ac_cv_type_struct_ndt_stats" = xyes; then :
10399
10400cat >>confdefs.h <<_ACEOF
10401#define HAVE_STRUCT_NDT_STATS 1
10402_ACEOF
10403
10404
10405fi
10406
10407
10408ac_fn_c_check_type "$LINENO" "struct ifla_bridge_id" "ac_cv_type_struct_ifla_bridge_id" "#include <linux/if_link.h>
10409"
10410if test "x$ac_cv_type_struct_ifla_bridge_id" = xyes; then :
10411
10412cat >>confdefs.h <<_ACEOF
10413#define HAVE_STRUCT_IFLA_BRIDGE_ID 1
10414_ACEOF
10415
10416
10417fi
10418ac_fn_c_check_type "$LINENO" "struct ifla_port_vsi" "ac_cv_type_struct_ifla_port_vsi" "#include <linux/if_link.h>
10419"
10420if test "x$ac_cv_type_struct_ifla_port_vsi" = xyes; then :
10421
10422cat >>confdefs.h <<_ACEOF
10423#define HAVE_STRUCT_IFLA_PORT_VSI 1
10424_ACEOF
10425
10426
10427fi
10428ac_fn_c_check_type "$LINENO" "struct rtnl_link_stats64" "ac_cv_type_struct_rtnl_link_stats64" "#include <linux/if_link.h>
10429"
10430if test "x$ac_cv_type_struct_rtnl_link_stats64" = xyes; then :
10431
10432cat >>confdefs.h <<_ACEOF
10433#define HAVE_STRUCT_RTNL_LINK_STATS64 1
10434_ACEOF
10435
10436
10437fi
10438
10439ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats_rx_nohandler" "#include <linux/if_link.h>
10440"
10441if test "x$ac_cv_member_struct_rtnl_link_stats_rx_nohandler" = xyes; then :
10442
10443cat >>confdefs.h <<_ACEOF
10444#define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1
10445_ACEOF
10446
10447
10448fi
10449ac_fn_c_check_member "$LINENO" "struct rtnl_link_stats64" "rx_nohandler" "ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" "#include <linux/if_link.h>
10450"
10451if test "x$ac_cv_member_struct_rtnl_link_stats64_rx_nohandler" = xyes; then :
10452
10453cat >>confdefs.h <<_ACEOF
10454#define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1
10455_ACEOF
10456
10457
10458fi
10459
10460
10461ac_fn_c_check_type "$LINENO" "struct gnet_stats_basic" "ac_cv_type_struct_gnet_stats_basic" "#include <linux/gen_stats.h>
10462"
10463if test "x$ac_cv_type_struct_gnet_stats_basic" = xyes; then :
10464
10465cat >>confdefs.h <<_ACEOF
10466#define HAVE_STRUCT_GNET_STATS_BASIC 1
10467_ACEOF
10468
10469
10470fi
10471ac_fn_c_check_type "$LINENO" "struct gnet_stats_queue" "ac_cv_type_struct_gnet_stats_queue" "#include <linux/gen_stats.h>
10472"
10473if test "x$ac_cv_type_struct_gnet_stats_queue" = xyes; then :
10474
10475cat >>confdefs.h <<_ACEOF
10476#define HAVE_STRUCT_GNET_STATS_QUEUE 1
10477_ACEOF
10478
10479
10480fi
10481ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est" "ac_cv_type_struct_gnet_stats_rate_est" "#include <linux/gen_stats.h>
10482"
10483if test "x$ac_cv_type_struct_gnet_stats_rate_est" = xyes; then :
10484
10485cat >>confdefs.h <<_ACEOF
10486#define HAVE_STRUCT_GNET_STATS_RATE_EST 1
10487_ACEOF
10488
10489
10490fi
10491ac_fn_c_check_type "$LINENO" "struct gnet_stats_rate_est64" "ac_cv_type_struct_gnet_stats_rate_est64" "#include <linux/gen_stats.h>
10492"
10493if test "x$ac_cv_type_struct_gnet_stats_rate_est64" = xyes; then :
10494
10495cat >>confdefs.h <<_ACEOF
10496#define HAVE_STRUCT_GNET_STATS_RATE_EST64 1
10497_ACEOF
10498
10499
10500fi
10501
10502
10503ac_fn_c_check_type "$LINENO" "struct tc_sizespec" "ac_cv_type_struct_tc_sizespec" "#include <linux/pkt_sched.h>
10504"
10505if test "x$ac_cv_type_struct_tc_sizespec" = xyes; then :
10506
10507cat >>confdefs.h <<_ACEOF
10508#define HAVE_STRUCT_TC_SIZESPEC 1
10509_ACEOF
10510
10511
10512fi
10513
10514
10515ac_fn_c_check_type "$LINENO" "struct fib_rule_uid_range" "ac_cv_type_struct_fib_rule_uid_range" "#include <linux/fib_rules.h>
10516"
10517if test "x$ac_cv_type_struct_fib_rule_uid_range" = xyes; then :
10518
10519cat >>confdefs.h <<_ACEOF
10520#define HAVE_STRUCT_FIB_RULE_UID_RANGE 1
10521_ACEOF
10522
10523
10524fi
10525
10526
10527ac_fn_c_check_type "$LINENO" "struct statfs" "ac_cv_type_struct_statfs" "#include <linux/types.h>
10528#include <asm/statfs.h>
10529"
10530if test "x$ac_cv_type_struct_statfs" = xyes; then :
10531
10532cat >>confdefs.h <<_ACEOF
10533#define HAVE_STRUCT_STATFS 1
10534_ACEOF
10535
10536
10537	ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <linux/types.h>
10538#include <asm/statfs.h>
10539"
10540if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
10541
10542cat >>confdefs.h <<_ACEOF
10543#define HAVE_STRUCT_STATFS_F_FRSIZE 1
10544_ACEOF
10545
10546
10547fi
10548ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "#include <linux/types.h>
10549#include <asm/statfs.h>
10550"
10551if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
10552
10553cat >>confdefs.h <<_ACEOF
10554#define HAVE_STRUCT_STATFS_F_FLAGS 1
10555_ACEOF
10556
10557
10558fi
10559ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.val" "ac_cv_member_struct_statfs_f_fsid_val" "#include <linux/types.h>
10560#include <asm/statfs.h>
10561"
10562if test "x$ac_cv_member_struct_statfs_f_fsid_val" = xyes; then :
10563
10564cat >>confdefs.h <<_ACEOF
10565#define HAVE_STRUCT_STATFS_F_FSID_VAL 1
10566_ACEOF
10567
10568
10569fi
10570ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsid.__val" "ac_cv_member_struct_statfs_f_fsid___val" "#include <linux/types.h>
10571#include <asm/statfs.h>
10572"
10573if test "x$ac_cv_member_struct_statfs_f_fsid___val" = xyes; then :
10574
10575cat >>confdefs.h <<_ACEOF
10576#define HAVE_STRUCT_STATFS_F_FSID___VAL 1
10577_ACEOF
10578
10579
10580fi
10581
10582
10583fi
10584
10585
10586ac_fn_c_check_type "$LINENO" "struct statfs64" "ac_cv_type_struct_statfs64" "#include <linux/types.h>
10587#include <asm/statfs.h>
10588"
10589if test "x$ac_cv_type_struct_statfs64" = xyes; then :
10590
10591cat >>confdefs.h <<_ACEOF
10592#define HAVE_STRUCT_STATFS64 1
10593_ACEOF
10594
10595
10596	ac_fn_c_check_member "$LINENO" "struct statfs64" "f_frsize" "ac_cv_member_struct_statfs64_f_frsize" "#include <linux/types.h>
10597#include <asm/statfs.h>
10598"
10599if test "x$ac_cv_member_struct_statfs64_f_frsize" = xyes; then :
10600
10601cat >>confdefs.h <<_ACEOF
10602#define HAVE_STRUCT_STATFS64_F_FRSIZE 1
10603_ACEOF
10604
10605
10606fi
10607ac_fn_c_check_member "$LINENO" "struct statfs64" "f_flags" "ac_cv_member_struct_statfs64_f_flags" "#include <linux/types.h>
10608#include <asm/statfs.h>
10609"
10610if test "x$ac_cv_member_struct_statfs64_f_flags" = xyes; then :
10611
10612cat >>confdefs.h <<_ACEOF
10613#define HAVE_STRUCT_STATFS64_F_FLAGS 1
10614_ACEOF
10615
10616
10617fi
10618ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.val" "ac_cv_member_struct_statfs64_f_fsid_val" "#include <linux/types.h>
10619#include <asm/statfs.h>
10620"
10621if test "x$ac_cv_member_struct_statfs64_f_fsid_val" = xyes; then :
10622
10623cat >>confdefs.h <<_ACEOF
10624#define HAVE_STRUCT_STATFS64_F_FSID_VAL 1
10625_ACEOF
10626
10627
10628fi
10629ac_fn_c_check_member "$LINENO" "struct statfs64" "f_fsid.__val" "ac_cv_member_struct_statfs64_f_fsid___val" "#include <linux/types.h>
10630#include <asm/statfs.h>
10631"
10632if test "x$ac_cv_member_struct_statfs64_f_fsid___val" = xyes; then :
10633
10634cat >>confdefs.h <<_ACEOF
10635#define HAVE_STRUCT_STATFS64_F_FSID___VAL 1
10636_ACEOF
10637
10638
10639fi
10640
10641
10642fi
10643
10644
10645ac_fn_c_check_type "$LINENO" "struct blk_user_trace_setup" "ac_cv_type_struct_blk_user_trace_setup" "#include <linux/blktrace_api.h>
10646"
10647if test "x$ac_cv_type_struct_blk_user_trace_setup" = xyes; then :
10648
10649cat >>confdefs.h <<_ACEOF
10650#define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1
10651_ACEOF
10652
10653
10654fi
10655
10656
10657ac_fn_c_check_type "$LINENO" "struct mtd_write_req" "ac_cv_type_struct_mtd_write_req" "#include <mtd/mtd-abi.h>
10658"
10659if test "x$ac_cv_type_struct_mtd_write_req" = xyes; then :
10660
10661cat >>confdefs.h <<_ACEOF
10662#define HAVE_STRUCT_MTD_WRITE_REQ 1
10663_ACEOF
10664
10665
10666fi
10667
10668
10669ac_fn_c_check_member "$LINENO" "struct ubi_attach_req" "max_beb_per1024" "ac_cv_member_struct_ubi_attach_req_max_beb_per1024" "#include <mtd/ubi-user.h>
10670"
10671if test "x$ac_cv_member_struct_ubi_attach_req_max_beb_per1024" = xyes; then :
10672
10673cat >>confdefs.h <<_ACEOF
10674#define HAVE_STRUCT_UBI_ATTACH_REQ_MAX_BEB_PER1024 1
10675_ACEOF
10676
10677
10678fi
10679
10680
10681ac_fn_c_check_type "$LINENO" "struct ptp_sys_offset" "ac_cv_type_struct_ptp_sys_offset" "#include <linux/ptp_clock.h>
10682"
10683if test "x$ac_cv_type_struct_ptp_sys_offset" = xyes; then :
10684
10685cat >>confdefs.h <<_ACEOF
10686#define HAVE_STRUCT_PTP_SYS_OFFSET 1
10687_ACEOF
10688
10689
10690fi
10691
10692
10693ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h>
10694"
10695if test "x$ac_cv_type_struct_kvm_regs" = xyes; then :
10696
10697cat >>confdefs.h <<_ACEOF
10698#define HAVE_STRUCT_KVM_REGS 1
10699_ACEOF
10700
10701
10702fi
10703ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h>
10704"
10705if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then :
10706
10707cat >>confdefs.h <<_ACEOF
10708#define HAVE_STRUCT_KVM_SREGS 1
10709_ACEOF
10710
10711
10712fi
10713ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h>
10714"
10715if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then :
10716
10717cat >>confdefs.h <<_ACEOF
10718#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1
10719_ACEOF
10720
10721
10722fi
10723
10724
10725for ac_header in linux/btrfs.h
10726do :
10727  ac_fn_c_check_header_mongrel "$LINENO" "linux/btrfs.h" "ac_cv_header_linux_btrfs_h" "$ac_includes_default"
10728if test "x$ac_cv_header_linux_btrfs_h" = xyes; then :
10729  cat >>confdefs.h <<_ACEOF
10730#define HAVE_LINUX_BTRFS_H 1
10731_ACEOF
10732
10733	ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_feature_flags" "compat_flags" "ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" " #include <stdio.h>
10734#include <linux/btrfs.h>
10735"
10736if test "x$ac_cv_member_struct_btrfs_ioctl_feature_flags_compat_flags" = xyes; then :
10737
10738cat >>confdefs.h <<_ACEOF
10739#define HAVE_STRUCT_BTRFS_IOCTL_FEATURE_FLAGS_COMPAT_FLAGS 1
10740_ACEOF
10741
10742
10743fi
10744ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_fs_info_args" "nodesize" "ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" " #include <stdio.h>
10745#include <linux/btrfs.h>
10746"
10747if test "x$ac_cv_member_struct_btrfs_ioctl_fs_info_args_nodesize" = xyes; then :
10748
10749cat >>confdefs.h <<_ACEOF
10750#define HAVE_STRUCT_BTRFS_IOCTL_FS_INFO_ARGS_NODESIZE 1
10751_ACEOF
10752
10753
10754fi
10755ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_defrag_range_args" "start" "ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" " #include <stdio.h>
10756#include <linux/btrfs.h>
10757"
10758if test "x$ac_cv_member_struct_btrfs_ioctl_defrag_range_args_start" = xyes; then :
10759
10760cat >>confdefs.h <<_ACEOF
10761#define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1
10762_ACEOF
10763
10764
10765fi
10766ac_fn_c_check_member "$LINENO" "struct btrfs_ioctl_search_args_v2" "buf_size" "ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" " #include <stdio.h>
10767#include <linux/btrfs.h>
10768"
10769if test "x$ac_cv_member_struct_btrfs_ioctl_search_args_v2_buf_size" = xyes; then :
10770
10771cat >>confdefs.h <<_ACEOF
10772#define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1
10773_ACEOF
10774
10775
10776fi
10777
10778	ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_NONE" "ac_cv_have_decl_BTRFS_COMPRESS_NONE" " #include <stdio.h>
10779#include <linux/btrfs.h>
10780"
10781if test "x$ac_cv_have_decl_BTRFS_COMPRESS_NONE" = xyes; then :
10782  ac_have_decl=1
10783else
10784  ac_have_decl=0
10785fi
10786
10787cat >>confdefs.h <<_ACEOF
10788#define HAVE_DECL_BTRFS_COMPRESS_NONE $ac_have_decl
10789_ACEOF
10790ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_ZLIB" "ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" " #include <stdio.h>
10791#include <linux/btrfs.h>
10792"
10793if test "x$ac_cv_have_decl_BTRFS_COMPRESS_ZLIB" = xyes; then :
10794  ac_have_decl=1
10795else
10796  ac_have_decl=0
10797fi
10798
10799cat >>confdefs.h <<_ACEOF
10800#define HAVE_DECL_BTRFS_COMPRESS_ZLIB $ac_have_decl
10801_ACEOF
10802ac_fn_c_check_decl "$LINENO" "BTRFS_COMPRESS_LZO" "ac_cv_have_decl_BTRFS_COMPRESS_LZO" " #include <stdio.h>
10803#include <linux/btrfs.h>
10804"
10805if test "x$ac_cv_have_decl_BTRFS_COMPRESS_LZO" = xyes; then :
10806  ac_have_decl=1
10807else
10808  ac_have_decl=0
10809fi
10810
10811cat >>confdefs.h <<_ACEOF
10812#define HAVE_DECL_BTRFS_COMPRESS_LZO $ac_have_decl
10813_ACEOF
10814
10815fi
10816
10817done
10818
10819
10820ac_fn_c_check_decl "$LINENO" "sys_errlist" "ac_cv_have_decl_sys_errlist" "$ac_includes_default"
10821if test "x$ac_cv_have_decl_sys_errlist" = xyes; then :
10822  ac_have_decl=1
10823else
10824  ac_have_decl=0
10825fi
10826
10827cat >>confdefs.h <<_ACEOF
10828#define HAVE_DECL_SYS_ERRLIST $ac_have_decl
10829_ACEOF
10830
10831ac_fn_c_check_decl "$LINENO" "PTRACE_PEEKUSER" "ac_cv_have_decl_PTRACE_PEEKUSER" "#include <sys/ptrace.h>
10832"
10833if test "x$ac_cv_have_decl_PTRACE_PEEKUSER" = xyes; then :
10834  ac_have_decl=1
10835else
10836  ac_have_decl=0
10837fi
10838
10839cat >>confdefs.h <<_ACEOF
10840#define HAVE_DECL_PTRACE_PEEKUSER $ac_have_decl
10841_ACEOF
10842ac_fn_c_check_decl "$LINENO" "PTRACE_POKEUSER" "ac_cv_have_decl_PTRACE_POKEUSER" "#include <sys/ptrace.h>
10843"
10844if test "x$ac_cv_have_decl_PTRACE_POKEUSER" = xyes; then :
10845  ac_have_decl=1
10846else
10847  ac_have_decl=0
10848fi
10849
10850cat >>confdefs.h <<_ACEOF
10851#define HAVE_DECL_PTRACE_POKEUSER $ac_have_decl
10852_ACEOF
10853
10854
10855ac_fn_c_check_decl "$LINENO" "P_PID" "ac_cv_have_decl_P_PID" "#include <sys/wait.h>
10856"
10857if test "x$ac_cv_have_decl_P_PID" = xyes; then :
10858  ac_have_decl=1
10859else
10860  ac_have_decl=0
10861fi
10862
10863cat >>confdefs.h <<_ACEOF
10864#define HAVE_DECL_P_PID $ac_have_decl
10865_ACEOF
10866ac_fn_c_check_decl "$LINENO" "P_PPID" "ac_cv_have_decl_P_PPID" "#include <sys/wait.h>
10867"
10868if test "x$ac_cv_have_decl_P_PPID" = xyes; then :
10869  ac_have_decl=1
10870else
10871  ac_have_decl=0
10872fi
10873
10874cat >>confdefs.h <<_ACEOF
10875#define HAVE_DECL_P_PPID $ac_have_decl
10876_ACEOF
10877ac_fn_c_check_decl "$LINENO" "P_PGID" "ac_cv_have_decl_P_PGID" "#include <sys/wait.h>
10878"
10879if test "x$ac_cv_have_decl_P_PGID" = xyes; then :
10880  ac_have_decl=1
10881else
10882  ac_have_decl=0
10883fi
10884
10885cat >>confdefs.h <<_ACEOF
10886#define HAVE_DECL_P_PGID $ac_have_decl
10887_ACEOF
10888ac_fn_c_check_decl "$LINENO" "P_SID" "ac_cv_have_decl_P_SID" "#include <sys/wait.h>
10889"
10890if test "x$ac_cv_have_decl_P_SID" = xyes; then :
10891  ac_have_decl=1
10892else
10893  ac_have_decl=0
10894fi
10895
10896cat >>confdefs.h <<_ACEOF
10897#define HAVE_DECL_P_SID $ac_have_decl
10898_ACEOF
10899ac_fn_c_check_decl "$LINENO" "P_CID" "ac_cv_have_decl_P_CID" "#include <sys/wait.h>
10900"
10901if test "x$ac_cv_have_decl_P_CID" = xyes; then :
10902  ac_have_decl=1
10903else
10904  ac_have_decl=0
10905fi
10906
10907cat >>confdefs.h <<_ACEOF
10908#define HAVE_DECL_P_CID $ac_have_decl
10909_ACEOF
10910ac_fn_c_check_decl "$LINENO" "P_UID" "ac_cv_have_decl_P_UID" "#include <sys/wait.h>
10911"
10912if test "x$ac_cv_have_decl_P_UID" = xyes; then :
10913  ac_have_decl=1
10914else
10915  ac_have_decl=0
10916fi
10917
10918cat >>confdefs.h <<_ACEOF
10919#define HAVE_DECL_P_UID $ac_have_decl
10920_ACEOF
10921ac_fn_c_check_decl "$LINENO" "P_GID" "ac_cv_have_decl_P_GID" "#include <sys/wait.h>
10922"
10923if test "x$ac_cv_have_decl_P_GID" = xyes; then :
10924  ac_have_decl=1
10925else
10926  ac_have_decl=0
10927fi
10928
10929cat >>confdefs.h <<_ACEOF
10930#define HAVE_DECL_P_GID $ac_have_decl
10931_ACEOF
10932ac_fn_c_check_decl "$LINENO" "P_ALL" "ac_cv_have_decl_P_ALL" "#include <sys/wait.h>
10933"
10934if test "x$ac_cv_have_decl_P_ALL" = xyes; then :
10935  ac_have_decl=1
10936else
10937  ac_have_decl=0
10938fi
10939
10940cat >>confdefs.h <<_ACEOF
10941#define HAVE_DECL_P_ALL $ac_have_decl
10942_ACEOF
10943ac_fn_c_check_decl "$LINENO" "P_LWPID" "ac_cv_have_decl_P_LWPID" "#include <sys/wait.h>
10944"
10945if test "x$ac_cv_have_decl_P_LWPID" = xyes; then :
10946  ac_have_decl=1
10947else
10948  ac_have_decl=0
10949fi
10950
10951cat >>confdefs.h <<_ACEOF
10952#define HAVE_DECL_P_LWPID $ac_have_decl
10953_ACEOF
10954
10955
10956ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" "#include <linux/loop.h>
10957"
10958if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then :
10959  ac_have_decl=1
10960else
10961  ac_have_decl=0
10962fi
10963
10964cat >>confdefs.h <<_ACEOF
10965#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl
10966_ACEOF
10967ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" "#include <linux/loop.h>
10968"
10969if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then :
10970  ac_have_decl=1
10971else
10972  ac_have_decl=0
10973fi
10974
10975cat >>confdefs.h <<_ACEOF
10976#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl
10977_ACEOF
10978ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" "#include <linux/loop.h>
10979"
10980if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then :
10981  ac_have_decl=1
10982else
10983  ac_have_decl=0
10984fi
10985
10986cat >>confdefs.h <<_ACEOF
10987#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl
10988_ACEOF
10989ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" "#include <linux/loop.h>
10990"
10991if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then :
10992  ac_have_decl=1
10993else
10994  ac_have_decl=0
10995fi
10996
10997cat >>confdefs.h <<_ACEOF
10998#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl
10999_ACEOF
11000ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" "#include <linux/loop.h>
11001"
11002if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then :
11003  ac_have_decl=1
11004else
11005  ac_have_decl=0
11006fi
11007
11008cat >>confdefs.h <<_ACEOF
11009#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl
11010_ACEOF
11011
11012
11013ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" "#include <sys/types.h>
11014#include <linux/sysctl.h>
11015"
11016if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then :
11017  ac_have_decl=1
11018else
11019  ac_have_decl=0
11020fi
11021
11022cat >>confdefs.h <<_ACEOF
11023#define HAVE_DECL_CTL_PROC $ac_have_decl
11024_ACEOF
11025ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" "#include <sys/types.h>
11026#include <linux/sysctl.h>
11027"
11028if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then :
11029  ac_have_decl=1
11030else
11031  ac_have_decl=0
11032fi
11033
11034cat >>confdefs.h <<_ACEOF
11035#define HAVE_DECL_CTL_ARLAN $ac_have_decl
11036_ACEOF
11037ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" "#include <sys/types.h>
11038#include <linux/sysctl.h>
11039"
11040if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then :
11041  ac_have_decl=1
11042else
11043  ac_have_decl=0
11044fi
11045
11046cat >>confdefs.h <<_ACEOF
11047#define HAVE_DECL_CTL_S390DBF $ac_have_decl
11048_ACEOF
11049ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" "#include <sys/types.h>
11050#include <linux/sysctl.h>
11051"
11052if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then :
11053  ac_have_decl=1
11054else
11055  ac_have_decl=0
11056fi
11057
11058cat >>confdefs.h <<_ACEOF
11059#define HAVE_DECL_CTL_SUNRPC $ac_have_decl
11060_ACEOF
11061ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" "#include <sys/types.h>
11062#include <linux/sysctl.h>
11063"
11064if test "x$ac_cv_have_decl_CTL_PM" = xyes; then :
11065  ac_have_decl=1
11066else
11067  ac_have_decl=0
11068fi
11069
11070cat >>confdefs.h <<_ACEOF
11071#define HAVE_DECL_CTL_PM $ac_have_decl
11072_ACEOF
11073ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" "#include <sys/types.h>
11074#include <linux/sysctl.h>
11075"
11076if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then :
11077  ac_have_decl=1
11078else
11079  ac_have_decl=0
11080fi
11081
11082cat >>confdefs.h <<_ACEOF
11083#define HAVE_DECL_CTL_FRV $ac_have_decl
11084_ACEOF
11085ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" "#include <sys/types.h>
11086#include <linux/sysctl.h>
11087"
11088if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then :
11089  ac_have_decl=1
11090else
11091  ac_have_decl=0
11092fi
11093
11094cat >>confdefs.h <<_ACEOF
11095#define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl
11096_ACEOF
11097ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" "#include <sys/types.h>
11098#include <linux/sysctl.h>
11099"
11100if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then :
11101  ac_have_decl=1
11102else
11103  ac_have_decl=0
11104fi
11105
11106cat >>confdefs.h <<_ACEOF
11107#define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl
11108_ACEOF
11109ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" "#include <sys/types.h>
11110#include <linux/sysctl.h>
11111"
11112if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then :
11113  ac_have_decl=1
11114else
11115  ac_have_decl=0
11116fi
11117
11118cat >>confdefs.h <<_ACEOF
11119#define HAVE_DECL_KERN_PTY $ac_have_decl
11120_ACEOF
11121ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" "#include <sys/types.h>
11122#include <linux/sysctl.h>
11123"
11124if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then :
11125  ac_have_decl=1
11126else
11127  ac_have_decl=0
11128fi
11129
11130cat >>confdefs.h <<_ACEOF
11131#define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl
11132_ACEOF
11133ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" "#include <sys/types.h>
11134#include <linux/sysctl.h>
11135"
11136if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then :
11137  ac_have_decl=1
11138else
11139  ac_have_decl=0
11140fi
11141
11142cat >>confdefs.h <<_ACEOF
11143#define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl
11144_ACEOF
11145ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" "#include <sys/types.h>
11146#include <linux/sysctl.h>
11147"
11148if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then :
11149  ac_have_decl=1
11150else
11151  ac_have_decl=0
11152fi
11153
11154cat >>confdefs.h <<_ACEOF
11155#define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl
11156_ACEOF
11157ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" "#include <sys/types.h>
11158#include <linux/sysctl.h>
11159"
11160if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then :
11161  ac_have_decl=1
11162else
11163  ac_have_decl=0
11164fi
11165
11166cat >>confdefs.h <<_ACEOF
11167#define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl
11168_ACEOF
11169ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" "#include <sys/types.h>
11170#include <linux/sysctl.h>
11171"
11172if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then :
11173  ac_have_decl=1
11174else
11175  ac_have_decl=0
11176fi
11177
11178cat >>confdefs.h <<_ACEOF
11179#define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl
11180_ACEOF
11181ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" "#include <sys/types.h>
11182#include <linux/sysctl.h>
11183"
11184if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then :
11185  ac_have_decl=1
11186else
11187  ac_have_decl=0
11188fi
11189
11190cat >>confdefs.h <<_ACEOF
11191#define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl
11192_ACEOF
11193ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" "#include <sys/types.h>
11194#include <linux/sysctl.h>
11195"
11196if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then :
11197  ac_have_decl=1
11198else
11199  ac_have_decl=0
11200fi
11201
11202cat >>confdefs.h <<_ACEOF
11203#define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl
11204_ACEOF
11205ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" "#include <sys/types.h>
11206#include <linux/sysctl.h>
11207"
11208if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then :
11209  ac_have_decl=1
11210else
11211  ac_have_decl=0
11212fi
11213
11214cat >>confdefs.h <<_ACEOF
11215#define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl
11216_ACEOF
11217ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" "#include <sys/types.h>
11218#include <linux/sysctl.h>
11219"
11220if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then :
11221  ac_have_decl=1
11222else
11223  ac_have_decl=0
11224fi
11225
11226cat >>confdefs.h <<_ACEOF
11227#define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl
11228_ACEOF
11229ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" "#include <sys/types.h>
11230#include <linux/sysctl.h>
11231"
11232if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then :
11233  ac_have_decl=1
11234else
11235  ac_have_decl=0
11236fi
11237
11238cat >>confdefs.h <<_ACEOF
11239#define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl
11240_ACEOF
11241ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" "#include <sys/types.h>
11242#include <linux/sysctl.h>
11243"
11244if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then :
11245  ac_have_decl=1
11246else
11247  ac_have_decl=0
11248fi
11249
11250cat >>confdefs.h <<_ACEOF
11251#define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl
11252_ACEOF
11253ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" "#include <sys/types.h>
11254#include <linux/sysctl.h>
11255"
11256if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then :
11257  ac_have_decl=1
11258else
11259  ac_have_decl=0
11260fi
11261
11262cat >>confdefs.h <<_ACEOF
11263#define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl
11264_ACEOF
11265ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" "#include <sys/types.h>
11266#include <linux/sysctl.h>
11267"
11268if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then :
11269  ac_have_decl=1
11270else
11271  ac_have_decl=0
11272fi
11273
11274cat >>confdefs.h <<_ACEOF
11275#define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl
11276_ACEOF
11277ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" "#include <sys/types.h>
11278#include <linux/sysctl.h>
11279"
11280if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then :
11281  ac_have_decl=1
11282else
11283  ac_have_decl=0
11284fi
11285
11286cat >>confdefs.h <<_ACEOF
11287#define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl
11288_ACEOF
11289ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" "#include <sys/types.h>
11290#include <linux/sysctl.h>
11291"
11292if test "x$ac_cv_have_decl_NET_LLC" = xyes; then :
11293  ac_have_decl=1
11294else
11295  ac_have_decl=0
11296fi
11297
11298cat >>confdefs.h <<_ACEOF
11299#define HAVE_DECL_NET_LLC $ac_have_decl
11300_ACEOF
11301ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" "#include <sys/types.h>
11302#include <linux/sysctl.h>
11303"
11304if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then :
11305  ac_have_decl=1
11306else
11307  ac_have_decl=0
11308fi
11309
11310cat >>confdefs.h <<_ACEOF
11311#define HAVE_DECL_NET_NETFILTER $ac_have_decl
11312_ACEOF
11313ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" "#include <sys/types.h>
11314#include <linux/sysctl.h>
11315"
11316if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then :
11317  ac_have_decl=1
11318else
11319  ac_have_decl=0
11320fi
11321
11322cat >>confdefs.h <<_ACEOF
11323#define HAVE_DECL_NET_DCCP $ac_have_decl
11324_ACEOF
11325ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" "#include <sys/types.h>
11326#include <linux/sysctl.h>
11327"
11328if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then :
11329  ac_have_decl=1
11330else
11331  ac_have_decl=0
11332fi
11333
11334cat >>confdefs.h <<_ACEOF
11335#define HAVE_DECL_NET_IRDA $ac_have_decl
11336_ACEOF
11337ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" "#include <sys/types.h>
11338#include <linux/sysctl.h>
11339"
11340if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then :
11341  ac_have_decl=1
11342else
11343  ac_have_decl=0
11344fi
11345
11346cat >>confdefs.h <<_ACEOF
11347#define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl
11348_ACEOF
11349ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" "#include <sys/types.h>
11350#include <linux/sysctl.h>
11351"
11352if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then :
11353  ac_have_decl=1
11354else
11355  ac_have_decl=0
11356fi
11357
11358cat >>confdefs.h <<_ACEOF
11359#define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl
11360_ACEOF
11361ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" "#include <sys/types.h>
11362#include <linux/sysctl.h>
11363"
11364if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then :
11365  ac_have_decl=1
11366else
11367  ac_have_decl=0
11368fi
11369
11370cat >>confdefs.h <<_ACEOF
11371#define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl
11372_ACEOF
11373ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" "#include <sys/types.h>
11374#include <linux/sysctl.h>
11375"
11376if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then :
11377  ac_have_decl=1
11378else
11379  ac_have_decl=0
11380fi
11381
11382cat >>confdefs.h <<_ACEOF
11383#define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl
11384_ACEOF
11385ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" "#include <sys/types.h>
11386#include <linux/sysctl.h>
11387"
11388if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then :
11389  ac_have_decl=1
11390else
11391  ac_have_decl=0
11392fi
11393
11394cat >>confdefs.h <<_ACEOF
11395#define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl
11396_ACEOF
11397ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" "#include <sys/types.h>
11398#include <linux/sysctl.h>
11399"
11400if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then :
11401  ac_have_decl=1
11402else
11403  ac_have_decl=0
11404fi
11405
11406cat >>confdefs.h <<_ACEOF
11407#define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl
11408_ACEOF
11409ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" "#include <sys/types.h>
11410#include <linux/sysctl.h>
11411"
11412if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then :
11413  ac_have_decl=1
11414else
11415  ac_have_decl=0
11416fi
11417
11418cat >>confdefs.h <<_ACEOF
11419#define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl
11420_ACEOF
11421ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" "#include <sys/types.h>
11422#include <linux/sysctl.h>
11423"
11424if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then :
11425  ac_have_decl=1
11426else
11427  ac_have_decl=0
11428fi
11429
11430cat >>confdefs.h <<_ACEOF
11431#define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl
11432_ACEOF
11433ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" "#include <sys/types.h>
11434#include <linux/sysctl.h>
11435"
11436if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then :
11437  ac_have_decl=1
11438else
11439  ac_have_decl=0
11440fi
11441
11442cat >>confdefs.h <<_ACEOF
11443#define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl
11444_ACEOF
11445ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" "#include <sys/types.h>
11446#include <linux/sysctl.h>
11447"
11448if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then :
11449  ac_have_decl=1
11450else
11451  ac_have_decl=0
11452fi
11453
11454cat >>confdefs.h <<_ACEOF
11455#define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl
11456_ACEOF
11457ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" "#include <sys/types.h>
11458#include <linux/sysctl.h>
11459"
11460if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then :
11461  ac_have_decl=1
11462else
11463  ac_have_decl=0
11464fi
11465
11466cat >>confdefs.h <<_ACEOF
11467#define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl
11468_ACEOF
11469ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "#include <sys/types.h>
11470#include <linux/sysctl.h>
11471"
11472if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then :
11473  ac_have_decl=1
11474else
11475  ac_have_decl=0
11476fi
11477
11478cat >>confdefs.h <<_ACEOF
11479#define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl
11480_ACEOF
11481ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" "#include <sys/types.h>
11482#include <linux/sysctl.h>
11483"
11484if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then :
11485  ac_have_decl=1
11486else
11487  ac_have_decl=0
11488fi
11489
11490cat >>confdefs.h <<_ACEOF
11491#define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl
11492_ACEOF
11493ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" "#include <sys/types.h>
11494#include <linux/sysctl.h>
11495"
11496if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then :
11497  ac_have_decl=1
11498else
11499  ac_have_decl=0
11500fi
11501
11502cat >>confdefs.h <<_ACEOF
11503#define HAVE_DECL_NET_TCP_ABC $ac_have_decl
11504_ACEOF
11505ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" "#include <sys/types.h>
11506#include <linux/sysctl.h>
11507"
11508if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then :
11509  ac_have_decl=1
11510else
11511  ac_have_decl=0
11512fi
11513
11514cat >>confdefs.h <<_ACEOF
11515#define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl
11516_ACEOF
11517ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" "#include <sys/types.h>
11518#include <linux/sysctl.h>
11519"
11520if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then :
11521  ac_have_decl=1
11522else
11523  ac_have_decl=0
11524fi
11525
11526cat >>confdefs.h <<_ACEOF
11527#define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl
11528_ACEOF
11529ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" "#include <sys/types.h>
11530#include <linux/sysctl.h>
11531"
11532if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then :
11533  ac_have_decl=1
11534else
11535  ac_have_decl=0
11536fi
11537
11538cat >>confdefs.h <<_ACEOF
11539#define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl
11540_ACEOF
11541ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "#include <sys/types.h>
11542#include <linux/sysctl.h>
11543"
11544if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then :
11545  ac_have_decl=1
11546else
11547  ac_have_decl=0
11548fi
11549
11550cat >>confdefs.h <<_ACEOF
11551#define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl
11552_ACEOF
11553ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" "#include <sys/types.h>
11554#include <linux/sysctl.h>
11555"
11556if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then :
11557  ac_have_decl=1
11558else
11559  ac_have_decl=0
11560fi
11561
11562cat >>confdefs.h <<_ACEOF
11563#define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl
11564_ACEOF
11565ac_fn_c_check_decl "$LINENO" "NET_TCP_SLOW_START_AFTER_IDLE" "ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" "#include <sys/types.h>
11566#include <linux/sysctl.h>
11567"
11568if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then :
11569  ac_have_decl=1
11570else
11571  ac_have_decl=0
11572fi
11573
11574cat >>confdefs.h <<_ACEOF
11575#define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl
11576_ACEOF
11577ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" "#include <sys/types.h>
11578#include <linux/sysctl.h>
11579"
11580if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then :
11581  ac_have_decl=1
11582else
11583  ac_have_decl=0
11584fi
11585
11586cat >>confdefs.h <<_ACEOF
11587#define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl
11588_ACEOF
11589ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" "#include <sys/types.h>
11590#include <linux/sysctl.h>
11591"
11592if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then :
11593  ac_have_decl=1
11594else
11595  ac_have_decl=0
11596fi
11597
11598cat >>confdefs.h <<_ACEOF
11599#define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl
11600_ACEOF
11601ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" "#include <sys/types.h>
11602#include <linux/sysctl.h>
11603"
11604if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then :
11605  ac_have_decl=1
11606else
11607  ac_have_decl=0
11608fi
11609
11610cat >>confdefs.h <<_ACEOF
11611#define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl
11612_ACEOF
11613ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" "#include <sys/types.h>
11614#include <linux/sysctl.h>
11615"
11616if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then :
11617  ac_have_decl=1
11618else
11619  ac_have_decl=0
11620fi
11621
11622cat >>confdefs.h <<_ACEOF
11623#define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl
11624_ACEOF
11625ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" "#include <sys/types.h>
11626#include <linux/sysctl.h>
11627"
11628if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then :
11629  ac_have_decl=1
11630else
11631  ac_have_decl=0
11632fi
11633
11634cat >>confdefs.h <<_ACEOF
11635#define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl
11636_ACEOF
11637ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" "#include <sys/types.h>
11638#include <linux/sysctl.h>
11639"
11640if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then :
11641  ac_have_decl=1
11642else
11643  ac_have_decl=0
11644fi
11645
11646cat >>confdefs.h <<_ACEOF
11647#define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl
11648_ACEOF
11649ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" "#include <sys/types.h>
11650#include <linux/sysctl.h>
11651"
11652if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then :
11653  ac_have_decl=1
11654else
11655  ac_have_decl=0
11656fi
11657
11658cat >>confdefs.h <<_ACEOF
11659#define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl
11660_ACEOF
11661ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" "#include <sys/types.h>
11662#include <linux/sysctl.h>
11663"
11664if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then :
11665  ac_have_decl=1
11666else
11667  ac_have_decl=0
11668fi
11669
11670cat >>confdefs.h <<_ACEOF
11671#define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl
11672_ACEOF
11673ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h>
11674#include <linux/sysctl.h>
11675"
11676if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
11677  ac_have_decl=1
11678else
11679  ac_have_decl=0
11680fi
11681
11682cat >>confdefs.h <<_ACEOF
11683#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
11684_ACEOF
11685ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORCE_IGMP_VERSION" "ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" "#include <sys/types.h>
11686#include <linux/sysctl.h>
11687"
11688if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then :
11689  ac_have_decl=1
11690else
11691  ac_have_decl=0
11692fi
11693
11694cat >>confdefs.h <<_ACEOF
11695#define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl
11696_ACEOF
11697ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" "#include <sys/types.h>
11698#include <linux/sysctl.h>
11699"
11700if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then :
11701  ac_have_decl=1
11702else
11703  ac_have_decl=0
11704fi
11705
11706cat >>confdefs.h <<_ACEOF
11707#define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl
11708_ACEOF
11709ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" "#include <sys/types.h>
11710#include <linux/sysctl.h>
11711"
11712if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then :
11713  ac_have_decl=1
11714else
11715  ac_have_decl=0
11716fi
11717
11718cat >>confdefs.h <<_ACEOF
11719#define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl
11720_ACEOF
11721ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" "#include <sys/types.h>
11722#include <linux/sysctl.h>
11723"
11724if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then :
11725  ac_have_decl=1
11726else
11727  ac_have_decl=0
11728fi
11729
11730cat >>confdefs.h <<_ACEOF
11731#define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl
11732_ACEOF
11733ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" "#include <sys/types.h>
11734#include <linux/sysctl.h>
11735"
11736if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then :
11737  ac_have_decl=1
11738else
11739  ac_have_decl=0
11740fi
11741
11742cat >>confdefs.h <<_ACEOF
11743#define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl
11744_ACEOF
11745ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" "#include <sys/types.h>
11746#include <linux/sysctl.h>
11747"
11748if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then :
11749  ac_have_decl=1
11750else
11751  ac_have_decl=0
11752fi
11753
11754cat >>confdefs.h <<_ACEOF
11755#define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl
11756_ACEOF
11757ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" "#include <sys/types.h>
11758#include <linux/sysctl.h>
11759"
11760if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then :
11761  ac_have_decl=1
11762else
11763  ac_have_decl=0
11764fi
11765
11766cat >>confdefs.h <<_ACEOF
11767#define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl
11768_ACEOF
11769ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "#include <sys/types.h>
11770#include <linux/sysctl.h>
11771"
11772if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then :
11773  ac_have_decl=1
11774else
11775  ac_have_decl=0
11776fi
11777
11778cat >>confdefs.h <<_ACEOF
11779#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl
11780_ACEOF
11781ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" "#include <sys/types.h>
11782#include <linux/sysctl.h>
11783"
11784if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then :
11785  ac_have_decl=1
11786else
11787  ac_have_decl=0
11788fi
11789
11790cat >>confdefs.h <<_ACEOF
11791#define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl
11792_ACEOF
11793ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" "#include <sys/types.h>
11794#include <linux/sysctl.h>
11795"
11796if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then :
11797  ac_have_decl=1
11798else
11799  ac_have_decl=0
11800fi
11801
11802cat >>confdefs.h <<_ACEOF
11803#define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl
11804_ACEOF
11805ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" "#include <sys/types.h>
11806#include <linux/sysctl.h>
11807"
11808if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then :
11809  ac_have_decl=1
11810else
11811  ac_have_decl=0
11812fi
11813
11814cat >>confdefs.h <<_ACEOF
11815#define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl
11816_ACEOF
11817ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" "#include <sys/types.h>
11818#include <linux/sysctl.h>
11819"
11820if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then :
11821  ac_have_decl=1
11822else
11823  ac_have_decl=0
11824fi
11825
11826cat >>confdefs.h <<_ACEOF
11827#define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl
11828_ACEOF
11829ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" "#include <sys/types.h>
11830#include <linux/sysctl.h>
11831"
11832if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then :
11833  ac_have_decl=1
11834else
11835  ac_have_decl=0
11836fi
11837
11838cat >>confdefs.h <<_ACEOF
11839#define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl
11840_ACEOF
11841ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" "#include <sys/types.h>
11842#include <linux/sysctl.h>
11843"
11844if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then :
11845  ac_have_decl=1
11846else
11847  ac_have_decl=0
11848fi
11849
11850cat >>confdefs.h <<_ACEOF
11851#define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl
11852_ACEOF
11853ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" "#include <sys/types.h>
11854#include <linux/sysctl.h>
11855"
11856if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then :
11857  ac_have_decl=1
11858else
11859  ac_have_decl=0
11860fi
11861
11862cat >>confdefs.h <<_ACEOF
11863#define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl
11864_ACEOF
11865
11866
11867ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ANY" "ac_cv_have_decl_V4L2_FIELD_ANY" "#include <sys/time.h>
11868#include <linux/ioctl.h>
11869#include <linux/types.h>
11870#include <linux/videodev2.h>
11871"
11872if test "x$ac_cv_have_decl_V4L2_FIELD_ANY" = xyes; then :
11873  ac_have_decl=1
11874else
11875  ac_have_decl=0
11876fi
11877
11878cat >>confdefs.h <<_ACEOF
11879#define HAVE_DECL_V4L2_FIELD_ANY $ac_have_decl
11880_ACEOF
11881ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_NONE" "ac_cv_have_decl_V4L2_FIELD_NONE" "#include <sys/time.h>
11882#include <linux/ioctl.h>
11883#include <linux/types.h>
11884#include <linux/videodev2.h>
11885"
11886if test "x$ac_cv_have_decl_V4L2_FIELD_NONE" = xyes; then :
11887  ac_have_decl=1
11888else
11889  ac_have_decl=0
11890fi
11891
11892cat >>confdefs.h <<_ACEOF
11893#define HAVE_DECL_V4L2_FIELD_NONE $ac_have_decl
11894_ACEOF
11895ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_TOP" "ac_cv_have_decl_V4L2_FIELD_TOP" "#include <sys/time.h>
11896#include <linux/ioctl.h>
11897#include <linux/types.h>
11898#include <linux/videodev2.h>
11899"
11900if test "x$ac_cv_have_decl_V4L2_FIELD_TOP" = xyes; then :
11901  ac_have_decl=1
11902else
11903  ac_have_decl=0
11904fi
11905
11906cat >>confdefs.h <<_ACEOF
11907#define HAVE_DECL_V4L2_FIELD_TOP $ac_have_decl
11908_ACEOF
11909ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_BOTTOM" "ac_cv_have_decl_V4L2_FIELD_BOTTOM" "#include <sys/time.h>
11910#include <linux/ioctl.h>
11911#include <linux/types.h>
11912#include <linux/videodev2.h>
11913"
11914if test "x$ac_cv_have_decl_V4L2_FIELD_BOTTOM" = xyes; then :
11915  ac_have_decl=1
11916else
11917  ac_have_decl=0
11918fi
11919
11920cat >>confdefs.h <<_ACEOF
11921#define HAVE_DECL_V4L2_FIELD_BOTTOM $ac_have_decl
11922_ACEOF
11923ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED" "ac_cv_have_decl_V4L2_FIELD_INTERLACED" "#include <sys/time.h>
11924#include <linux/ioctl.h>
11925#include <linux/types.h>
11926#include <linux/videodev2.h>
11927"
11928if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED" = xyes; then :
11929  ac_have_decl=1
11930else
11931  ac_have_decl=0
11932fi
11933
11934cat >>confdefs.h <<_ACEOF
11935#define HAVE_DECL_V4L2_FIELD_INTERLACED $ac_have_decl
11936_ACEOF
11937ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_TB" "ac_cv_have_decl_V4L2_FIELD_SEQ_TB" "#include <sys/time.h>
11938#include <linux/ioctl.h>
11939#include <linux/types.h>
11940#include <linux/videodev2.h>
11941"
11942if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_TB" = xyes; then :
11943  ac_have_decl=1
11944else
11945  ac_have_decl=0
11946fi
11947
11948cat >>confdefs.h <<_ACEOF
11949#define HAVE_DECL_V4L2_FIELD_SEQ_TB $ac_have_decl
11950_ACEOF
11951ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_SEQ_BT" "ac_cv_have_decl_V4L2_FIELD_SEQ_BT" "#include <sys/time.h>
11952#include <linux/ioctl.h>
11953#include <linux/types.h>
11954#include <linux/videodev2.h>
11955"
11956if test "x$ac_cv_have_decl_V4L2_FIELD_SEQ_BT" = xyes; then :
11957  ac_have_decl=1
11958else
11959  ac_have_decl=0
11960fi
11961
11962cat >>confdefs.h <<_ACEOF
11963#define HAVE_DECL_V4L2_FIELD_SEQ_BT $ac_have_decl
11964_ACEOF
11965ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_ALTERNATE" "ac_cv_have_decl_V4L2_FIELD_ALTERNATE" "#include <sys/time.h>
11966#include <linux/ioctl.h>
11967#include <linux/types.h>
11968#include <linux/videodev2.h>
11969"
11970if test "x$ac_cv_have_decl_V4L2_FIELD_ALTERNATE" = xyes; then :
11971  ac_have_decl=1
11972else
11973  ac_have_decl=0
11974fi
11975
11976cat >>confdefs.h <<_ACEOF
11977#define HAVE_DECL_V4L2_FIELD_ALTERNATE $ac_have_decl
11978_ACEOF
11979ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_TB" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" "#include <sys/time.h>
11980#include <linux/ioctl.h>
11981#include <linux/types.h>
11982#include <linux/videodev2.h>
11983"
11984if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_TB" = xyes; then :
11985  ac_have_decl=1
11986else
11987  ac_have_decl=0
11988fi
11989
11990cat >>confdefs.h <<_ACEOF
11991#define HAVE_DECL_V4L2_FIELD_INTERLACED_TB $ac_have_decl
11992_ACEOF
11993ac_fn_c_check_decl "$LINENO" "V4L2_FIELD_INTERLACED_BT" "ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" "#include <sys/time.h>
11994#include <linux/ioctl.h>
11995#include <linux/types.h>
11996#include <linux/videodev2.h>
11997"
11998if test "x$ac_cv_have_decl_V4L2_FIELD_INTERLACED_BT" = xyes; then :
11999  ac_have_decl=1
12000else
12001  ac_have_decl=0
12002fi
12003
12004cat >>confdefs.h <<_ACEOF
12005#define HAVE_DECL_V4L2_FIELD_INTERLACED_BT $ac_have_decl
12006_ACEOF
12007ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" "#include <sys/time.h>
12008#include <linux/ioctl.h>
12009#include <linux/types.h>
12010#include <linux/videodev2.h>
12011"
12012if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE" = xyes; then :
12013  ac_have_decl=1
12014else
12015  ac_have_decl=0
12016fi
12017
12018cat >>confdefs.h <<_ACEOF
12019#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE $ac_have_decl
12020_ACEOF
12021ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" "#include <sys/time.h>
12022#include <linux/ioctl.h>
12023#include <linux/types.h>
12024#include <linux/videodev2.h>
12025"
12026if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE" = xyes; then :
12027  ac_have_decl=1
12028else
12029  ac_have_decl=0
12030fi
12031
12032cat >>confdefs.h <<_ACEOF
12033#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE $ac_have_decl
12034_ACEOF
12035ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" "#include <sys/time.h>
12036#include <linux/ioctl.h>
12037#include <linux/types.h>
12038#include <linux/videodev2.h>
12039"
12040if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT" = xyes; then :
12041  ac_have_decl=1
12042else
12043  ac_have_decl=0
12044fi
12045
12046cat >>confdefs.h <<_ACEOF
12047#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT $ac_have_decl
12048_ACEOF
12049ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" "#include <sys/time.h>
12050#include <linux/ioctl.h>
12051#include <linux/types.h>
12052#include <linux/videodev2.h>
12053"
12054if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE" = xyes; then :
12055  ac_have_decl=1
12056else
12057  ac_have_decl=0
12058fi
12059
12060cat >>confdefs.h <<_ACEOF
12061#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE $ac_have_decl
12062_ACEOF
12063ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" "#include <sys/time.h>
12064#include <linux/ioctl.h>
12065#include <linux/types.h>
12066#include <linux/videodev2.h>
12067"
12068if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OVERLAY" = xyes; then :
12069  ac_have_decl=1
12070else
12071  ac_have_decl=0
12072fi
12073
12074cat >>confdefs.h <<_ACEOF
12075#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OVERLAY $ac_have_decl
12076_ACEOF
12077ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" "#include <sys/time.h>
12078#include <linux/ioctl.h>
12079#include <linux/types.h>
12080#include <linux/videodev2.h>
12081"
12082if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_CAPTURE" = xyes; then :
12083  ac_have_decl=1
12084else
12085  ac_have_decl=0
12086fi
12087
12088cat >>confdefs.h <<_ACEOF
12089#define HAVE_DECL_V4L2_BUF_TYPE_VBI_CAPTURE $ac_have_decl
12090_ACEOF
12091ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" "#include <sys/time.h>
12092#include <linux/ioctl.h>
12093#include <linux/types.h>
12094#include <linux/videodev2.h>
12095"
12096if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VBI_OUTPUT" = xyes; then :
12097  ac_have_decl=1
12098else
12099  ac_have_decl=0
12100fi
12101
12102cat >>confdefs.h <<_ACEOF
12103#define HAVE_DECL_V4L2_BUF_TYPE_VBI_OUTPUT $ac_have_decl
12104_ACEOF
12105ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" "#include <sys/time.h>
12106#include <linux/ioctl.h>
12107#include <linux/types.h>
12108#include <linux/videodev2.h>
12109"
12110if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE" = xyes; then :
12111  ac_have_decl=1
12112else
12113  ac_have_decl=0
12114fi
12115
12116cat >>confdefs.h <<_ACEOF
12117#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_CAPTURE $ac_have_decl
12118_ACEOF
12119ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" "#include <sys/time.h>
12120#include <linux/ioctl.h>
12121#include <linux/types.h>
12122#include <linux/videodev2.h>
12123"
12124if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT" = xyes; then :
12125  ac_have_decl=1
12126else
12127  ac_have_decl=0
12128fi
12129
12130cat >>confdefs.h <<_ACEOF
12131#define HAVE_DECL_V4L2_BUF_TYPE_SLICED_VBI_OUTPUT $ac_have_decl
12132_ACEOF
12133ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" "#include <sys/time.h>
12134#include <linux/ioctl.h>
12135#include <linux/types.h>
12136#include <linux/videodev2.h>
12137"
12138if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY" = xyes; then :
12139  ac_have_decl=1
12140else
12141  ac_have_decl=0
12142fi
12143
12144cat >>confdefs.h <<_ACEOF
12145#define HAVE_DECL_V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY $ac_have_decl
12146_ACEOF
12147ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_CAPTURE" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" "#include <sys/time.h>
12148#include <linux/ioctl.h>
12149#include <linux/types.h>
12150#include <linux/videodev2.h>
12151"
12152if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_CAPTURE" = xyes; then :
12153  ac_have_decl=1
12154else
12155  ac_have_decl=0
12156fi
12157
12158cat >>confdefs.h <<_ACEOF
12159#define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE $ac_have_decl
12160_ACEOF
12161ac_fn_c_check_decl "$LINENO" "V4L2_BUF_TYPE_SDR_OUTPUT" "ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" "#include <sys/time.h>
12162#include <linux/ioctl.h>
12163#include <linux/types.h>
12164#include <linux/videodev2.h>
12165"
12166if test "x$ac_cv_have_decl_V4L2_BUF_TYPE_SDR_OUTPUT" = xyes; then :
12167  ac_have_decl=1
12168else
12169  ac_have_decl=0
12170fi
12171
12172cat >>confdefs.h <<_ACEOF
12173#define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT $ac_have_decl
12174_ACEOF
12175ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_RADIO" "ac_cv_have_decl_V4L2_TUNER_RADIO" "#include <sys/time.h>
12176#include <linux/ioctl.h>
12177#include <linux/types.h>
12178#include <linux/videodev2.h>
12179"
12180if test "x$ac_cv_have_decl_V4L2_TUNER_RADIO" = xyes; then :
12181  ac_have_decl=1
12182else
12183  ac_have_decl=0
12184fi
12185
12186cat >>confdefs.h <<_ACEOF
12187#define HAVE_DECL_V4L2_TUNER_RADIO $ac_have_decl
12188_ACEOF
12189ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_ANALOG_TV" "ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" "#include <sys/time.h>
12190#include <linux/ioctl.h>
12191#include <linux/types.h>
12192#include <linux/videodev2.h>
12193"
12194if test "x$ac_cv_have_decl_V4L2_TUNER_ANALOG_TV" = xyes; then :
12195  ac_have_decl=1
12196else
12197  ac_have_decl=0
12198fi
12199
12200cat >>confdefs.h <<_ACEOF
12201#define HAVE_DECL_V4L2_TUNER_ANALOG_TV $ac_have_decl
12202_ACEOF
12203ac_fn_c_check_decl "$LINENO" "V4L2_TUNER_DIGITAL_TV" "ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" "#include <sys/time.h>
12204#include <linux/ioctl.h>
12205#include <linux/types.h>
12206#include <linux/videodev2.h>
12207"
12208if test "x$ac_cv_have_decl_V4L2_TUNER_DIGITAL_TV" = xyes; then :
12209  ac_have_decl=1
12210else
12211  ac_have_decl=0
12212fi
12213
12214cat >>confdefs.h <<_ACEOF
12215#define HAVE_DECL_V4L2_TUNER_DIGITAL_TV $ac_have_decl
12216_ACEOF
12217ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_MMAP" "ac_cv_have_decl_V4L2_MEMORY_MMAP" "#include <sys/time.h>
12218#include <linux/ioctl.h>
12219#include <linux/types.h>
12220#include <linux/videodev2.h>
12221"
12222if test "x$ac_cv_have_decl_V4L2_MEMORY_MMAP" = xyes; then :
12223  ac_have_decl=1
12224else
12225  ac_have_decl=0
12226fi
12227
12228cat >>confdefs.h <<_ACEOF
12229#define HAVE_DECL_V4L2_MEMORY_MMAP $ac_have_decl
12230_ACEOF
12231ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_USERPTR" "ac_cv_have_decl_V4L2_MEMORY_USERPTR" "#include <sys/time.h>
12232#include <linux/ioctl.h>
12233#include <linux/types.h>
12234#include <linux/videodev2.h>
12235"
12236if test "x$ac_cv_have_decl_V4L2_MEMORY_USERPTR" = xyes; then :
12237  ac_have_decl=1
12238else
12239  ac_have_decl=0
12240fi
12241
12242cat >>confdefs.h <<_ACEOF
12243#define HAVE_DECL_V4L2_MEMORY_USERPTR $ac_have_decl
12244_ACEOF
12245ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_OVERLAY" "ac_cv_have_decl_V4L2_MEMORY_OVERLAY" "#include <sys/time.h>
12246#include <linux/ioctl.h>
12247#include <linux/types.h>
12248#include <linux/videodev2.h>
12249"
12250if test "x$ac_cv_have_decl_V4L2_MEMORY_OVERLAY" = xyes; then :
12251  ac_have_decl=1
12252else
12253  ac_have_decl=0
12254fi
12255
12256cat >>confdefs.h <<_ACEOF
12257#define HAVE_DECL_V4L2_MEMORY_OVERLAY $ac_have_decl
12258_ACEOF
12259ac_fn_c_check_decl "$LINENO" "V4L2_MEMORY_DMABUF" "ac_cv_have_decl_V4L2_MEMORY_DMABUF" "#include <sys/time.h>
12260#include <linux/ioctl.h>
12261#include <linux/types.h>
12262#include <linux/videodev2.h>
12263"
12264if test "x$ac_cv_have_decl_V4L2_MEMORY_DMABUF" = xyes; then :
12265  ac_have_decl=1
12266else
12267  ac_have_decl=0
12268fi
12269
12270cat >>confdefs.h <<_ACEOF
12271#define HAVE_DECL_V4L2_MEMORY_DMABUF $ac_have_decl
12272_ACEOF
12273ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE170M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" "#include <sys/time.h>
12274#include <linux/ioctl.h>
12275#include <linux/types.h>
12276#include <linux/videodev2.h>
12277"
12278if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE170M" = xyes; then :
12279  ac_have_decl=1
12280else
12281  ac_have_decl=0
12282fi
12283
12284cat >>confdefs.h <<_ACEOF
12285#define HAVE_DECL_V4L2_COLORSPACE_SMPTE170M $ac_have_decl
12286_ACEOF
12287ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SMPTE240M" "ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" "#include <sys/time.h>
12288#include <linux/ioctl.h>
12289#include <linux/types.h>
12290#include <linux/videodev2.h>
12291"
12292if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SMPTE240M" = xyes; then :
12293  ac_have_decl=1
12294else
12295  ac_have_decl=0
12296fi
12297
12298cat >>confdefs.h <<_ACEOF
12299#define HAVE_DECL_V4L2_COLORSPACE_SMPTE240M $ac_have_decl
12300_ACEOF
12301ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_REC709" "ac_cv_have_decl_V4L2_COLORSPACE_REC709" "#include <sys/time.h>
12302#include <linux/ioctl.h>
12303#include <linux/types.h>
12304#include <linux/videodev2.h>
12305"
12306if test "x$ac_cv_have_decl_V4L2_COLORSPACE_REC709" = xyes; then :
12307  ac_have_decl=1
12308else
12309  ac_have_decl=0
12310fi
12311
12312cat >>confdefs.h <<_ACEOF
12313#define HAVE_DECL_V4L2_COLORSPACE_REC709 $ac_have_decl
12314_ACEOF
12315ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_BT878" "ac_cv_have_decl_V4L2_COLORSPACE_BT878" "#include <sys/time.h>
12316#include <linux/ioctl.h>
12317#include <linux/types.h>
12318#include <linux/videodev2.h>
12319"
12320if test "x$ac_cv_have_decl_V4L2_COLORSPACE_BT878" = xyes; then :
12321  ac_have_decl=1
12322else
12323  ac_have_decl=0
12324fi
12325
12326cat >>confdefs.h <<_ACEOF
12327#define HAVE_DECL_V4L2_COLORSPACE_BT878 $ac_have_decl
12328_ACEOF
12329ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_M" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" "#include <sys/time.h>
12330#include <linux/ioctl.h>
12331#include <linux/types.h>
12332#include <linux/videodev2.h>
12333"
12334if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_M" = xyes; then :
12335  ac_have_decl=1
12336else
12337  ac_have_decl=0
12338fi
12339
12340cat >>confdefs.h <<_ACEOF
12341#define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_M $ac_have_decl
12342_ACEOF
12343ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_470_SYSTEM_BG" "ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" "#include <sys/time.h>
12344#include <linux/ioctl.h>
12345#include <linux/types.h>
12346#include <linux/videodev2.h>
12347"
12348if test "x$ac_cv_have_decl_V4L2_COLORSPACE_470_SYSTEM_BG" = xyes; then :
12349  ac_have_decl=1
12350else
12351  ac_have_decl=0
12352fi
12353
12354cat >>confdefs.h <<_ACEOF
12355#define HAVE_DECL_V4L2_COLORSPACE_470_SYSTEM_BG $ac_have_decl
12356_ACEOF
12357ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_JPEG" "ac_cv_have_decl_V4L2_COLORSPACE_JPEG" "#include <sys/time.h>
12358#include <linux/ioctl.h>
12359#include <linux/types.h>
12360#include <linux/videodev2.h>
12361"
12362if test "x$ac_cv_have_decl_V4L2_COLORSPACE_JPEG" = xyes; then :
12363  ac_have_decl=1
12364else
12365  ac_have_decl=0
12366fi
12367
12368cat >>confdefs.h <<_ACEOF
12369#define HAVE_DECL_V4L2_COLORSPACE_JPEG $ac_have_decl
12370_ACEOF
12371ac_fn_c_check_decl "$LINENO" "V4L2_COLORSPACE_SRGB" "ac_cv_have_decl_V4L2_COLORSPACE_SRGB" "#include <sys/time.h>
12372#include <linux/ioctl.h>
12373#include <linux/types.h>
12374#include <linux/videodev2.h>
12375"
12376if test "x$ac_cv_have_decl_V4L2_COLORSPACE_SRGB" = xyes; then :
12377  ac_have_decl=1
12378else
12379  ac_have_decl=0
12380fi
12381
12382cat >>confdefs.h <<_ACEOF
12383#define HAVE_DECL_V4L2_COLORSPACE_SRGB $ac_have_decl
12384_ACEOF
12385ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_UNSET" "ac_cv_have_decl_V4L2_PRIORITY_UNSET" "#include <sys/time.h>
12386#include <linux/ioctl.h>
12387#include <linux/types.h>
12388#include <linux/videodev2.h>
12389"
12390if test "x$ac_cv_have_decl_V4L2_PRIORITY_UNSET" = xyes; then :
12391  ac_have_decl=1
12392else
12393  ac_have_decl=0
12394fi
12395
12396cat >>confdefs.h <<_ACEOF
12397#define HAVE_DECL_V4L2_PRIORITY_UNSET $ac_have_decl
12398_ACEOF
12399ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_BACKGROUND" "ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" "#include <sys/time.h>
12400#include <linux/ioctl.h>
12401#include <linux/types.h>
12402#include <linux/videodev2.h>
12403"
12404if test "x$ac_cv_have_decl_V4L2_PRIORITY_BACKGROUND" = xyes; then :
12405  ac_have_decl=1
12406else
12407  ac_have_decl=0
12408fi
12409
12410cat >>confdefs.h <<_ACEOF
12411#define HAVE_DECL_V4L2_PRIORITY_BACKGROUND $ac_have_decl
12412_ACEOF
12413ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_INTERACTIVE" "ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" "#include <sys/time.h>
12414#include <linux/ioctl.h>
12415#include <linux/types.h>
12416#include <linux/videodev2.h>
12417"
12418if test "x$ac_cv_have_decl_V4L2_PRIORITY_INTERACTIVE" = xyes; then :
12419  ac_have_decl=1
12420else
12421  ac_have_decl=0
12422fi
12423
12424cat >>confdefs.h <<_ACEOF
12425#define HAVE_DECL_V4L2_PRIORITY_INTERACTIVE $ac_have_decl
12426_ACEOF
12427ac_fn_c_check_decl "$LINENO" "V4L2_PRIORITY_RECORD" "ac_cv_have_decl_V4L2_PRIORITY_RECORD" "#include <sys/time.h>
12428#include <linux/ioctl.h>
12429#include <linux/types.h>
12430#include <linux/videodev2.h>
12431"
12432if test "x$ac_cv_have_decl_V4L2_PRIORITY_RECORD" = xyes; then :
12433  ac_have_decl=1
12434else
12435  ac_have_decl=0
12436fi
12437
12438cat >>confdefs.h <<_ACEOF
12439#define HAVE_DECL_V4L2_PRIORITY_RECORD $ac_have_decl
12440_ACEOF
12441ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" "#include <sys/time.h>
12442#include <linux/ioctl.h>
12443#include <linux/types.h>
12444#include <linux/videodev2.h>
12445"
12446if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_DISCRETE" = xyes; then :
12447  ac_have_decl=1
12448else
12449  ac_have_decl=0
12450fi
12451
12452cat >>confdefs.h <<_ACEOF
12453#define HAVE_DECL_V4L2_FRMSIZE_TYPE_DISCRETE $ac_have_decl
12454_ACEOF
12455ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" "#include <sys/time.h>
12456#include <linux/ioctl.h>
12457#include <linux/types.h>
12458#include <linux/videodev2.h>
12459"
12460if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_CONTINUOUS" = xyes; then :
12461  ac_have_decl=1
12462else
12463  ac_have_decl=0
12464fi
12465
12466cat >>confdefs.h <<_ACEOF
12467#define HAVE_DECL_V4L2_FRMSIZE_TYPE_CONTINUOUS $ac_have_decl
12468_ACEOF
12469ac_fn_c_check_decl "$LINENO" "V4L2_FRMSIZE_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" "#include <sys/time.h>
12470#include <linux/ioctl.h>
12471#include <linux/types.h>
12472#include <linux/videodev2.h>
12473"
12474if test "x$ac_cv_have_decl_V4L2_FRMSIZE_TYPE_STEPWISE" = xyes; then :
12475  ac_have_decl=1
12476else
12477  ac_have_decl=0
12478fi
12479
12480cat >>confdefs.h <<_ACEOF
12481#define HAVE_DECL_V4L2_FRMSIZE_TYPE_STEPWISE $ac_have_decl
12482_ACEOF
12483ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_DISCRETE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" "#include <sys/time.h>
12484#include <linux/ioctl.h>
12485#include <linux/types.h>
12486#include <linux/videodev2.h>
12487"
12488if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_DISCRETE" = xyes; then :
12489  ac_have_decl=1
12490else
12491  ac_have_decl=0
12492fi
12493
12494cat >>confdefs.h <<_ACEOF
12495#define HAVE_DECL_V4L2_FRMIVAL_TYPE_DISCRETE $ac_have_decl
12496_ACEOF
12497ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_CONTINUOUS" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" "#include <sys/time.h>
12498#include <linux/ioctl.h>
12499#include <linux/types.h>
12500#include <linux/videodev2.h>
12501"
12502if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_CONTINUOUS" = xyes; then :
12503  ac_have_decl=1
12504else
12505  ac_have_decl=0
12506fi
12507
12508cat >>confdefs.h <<_ACEOF
12509#define HAVE_DECL_V4L2_FRMIVAL_TYPE_CONTINUOUS $ac_have_decl
12510_ACEOF
12511ac_fn_c_check_decl "$LINENO" "V4L2_FRMIVAL_TYPE_STEPWISE" "ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" "#include <sys/time.h>
12512#include <linux/ioctl.h>
12513#include <linux/types.h>
12514#include <linux/videodev2.h>
12515"
12516if test "x$ac_cv_have_decl_V4L2_FRMIVAL_TYPE_STEPWISE" = xyes; then :
12517  ac_have_decl=1
12518else
12519  ac_have_decl=0
12520fi
12521
12522cat >>confdefs.h <<_ACEOF
12523#define HAVE_DECL_V4L2_FRMIVAL_TYPE_STEPWISE $ac_have_decl
12524_ACEOF
12525ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" "#include <sys/time.h>
12526#include <linux/ioctl.h>
12527#include <linux/types.h>
12528#include <linux/videodev2.h>
12529"
12530if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER" = xyes; then :
12531  ac_have_decl=1
12532else
12533  ac_have_decl=0
12534fi
12535
12536cat >>confdefs.h <<_ACEOF
12537#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER $ac_have_decl
12538_ACEOF
12539ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BOOLEAN" "ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" "#include <sys/time.h>
12540#include <linux/ioctl.h>
12541#include <linux/types.h>
12542#include <linux/videodev2.h>
12543"
12544if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BOOLEAN" = xyes; then :
12545  ac_have_decl=1
12546else
12547  ac_have_decl=0
12548fi
12549
12550cat >>confdefs.h <<_ACEOF
12551#define HAVE_DECL_V4L2_CTRL_TYPE_BOOLEAN $ac_have_decl
12552_ACEOF
12553ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" "#include <sys/time.h>
12554#include <linux/ioctl.h>
12555#include <linux/types.h>
12556#include <linux/videodev2.h>
12557"
12558if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_MENU" = xyes; then :
12559  ac_have_decl=1
12560else
12561  ac_have_decl=0
12562fi
12563
12564cat >>confdefs.h <<_ACEOF
12565#define HAVE_DECL_V4L2_CTRL_TYPE_MENU $ac_have_decl
12566_ACEOF
12567ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BUTTON" "ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" "#include <sys/time.h>
12568#include <linux/ioctl.h>
12569#include <linux/types.h>
12570#include <linux/videodev2.h>
12571"
12572if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BUTTON" = xyes; then :
12573  ac_have_decl=1
12574else
12575  ac_have_decl=0
12576fi
12577
12578cat >>confdefs.h <<_ACEOF
12579#define HAVE_DECL_V4L2_CTRL_TYPE_BUTTON $ac_have_decl
12580_ACEOF
12581ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER64" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" "#include <sys/time.h>
12582#include <linux/ioctl.h>
12583#include <linux/types.h>
12584#include <linux/videodev2.h>
12585"
12586if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER64" = xyes; then :
12587  ac_have_decl=1
12588else
12589  ac_have_decl=0
12590fi
12591
12592cat >>confdefs.h <<_ACEOF
12593#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER64 $ac_have_decl
12594_ACEOF
12595ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_CTRL_CLASS" "ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" "#include <sys/time.h>
12596#include <linux/ioctl.h>
12597#include <linux/types.h>
12598#include <linux/videodev2.h>
12599"
12600if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_CTRL_CLASS" = xyes; then :
12601  ac_have_decl=1
12602else
12603  ac_have_decl=0
12604fi
12605
12606cat >>confdefs.h <<_ACEOF
12607#define HAVE_DECL_V4L2_CTRL_TYPE_CTRL_CLASS $ac_have_decl
12608_ACEOF
12609ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_STRING" "ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" "#include <sys/time.h>
12610#include <linux/ioctl.h>
12611#include <linux/types.h>
12612#include <linux/videodev2.h>
12613"
12614if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_STRING" = xyes; then :
12615  ac_have_decl=1
12616else
12617  ac_have_decl=0
12618fi
12619
12620cat >>confdefs.h <<_ACEOF
12621#define HAVE_DECL_V4L2_CTRL_TYPE_STRING $ac_have_decl
12622_ACEOF
12623ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_BITMASK" "ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" "#include <sys/time.h>
12624#include <linux/ioctl.h>
12625#include <linux/types.h>
12626#include <linux/videodev2.h>
12627"
12628if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_BITMASK" = xyes; then :
12629  ac_have_decl=1
12630else
12631  ac_have_decl=0
12632fi
12633
12634cat >>confdefs.h <<_ACEOF
12635#define HAVE_DECL_V4L2_CTRL_TYPE_BITMASK $ac_have_decl
12636_ACEOF
12637ac_fn_c_check_decl "$LINENO" "V4L2_CTRL_TYPE_INTEGER_MENU" "ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" "#include <sys/time.h>
12638#include <linux/ioctl.h>
12639#include <linux/types.h>
12640#include <linux/videodev2.h>
12641"
12642if test "x$ac_cv_have_decl_V4L2_CTRL_TYPE_INTEGER_MENU" = xyes; then :
12643  ac_have_decl=1
12644else
12645  ac_have_decl=0
12646fi
12647
12648cat >>confdefs.h <<_ACEOF
12649#define HAVE_DECL_V4L2_CTRL_TYPE_INTEGER_MENU $ac_have_decl
12650_ACEOF
12651
12652
12653ac_fn_c_check_member "$LINENO" "struct v4l2_window" "global_alpha" "ac_cv_member_struct_v4l2_window_global_alpha" "#include <sys/time.h>
12654#include <linux/ioctl.h>
12655#include <linux/types.h>
12656#include <linux/videodev2.h>
12657"
12658if test "x$ac_cv_member_struct_v4l2_window_global_alpha" = xyes; then :
12659
12660cat >>confdefs.h <<_ACEOF
12661#define HAVE_STRUCT_V4L2_WINDOW_GLOBAL_ALPHA 1
12662_ACEOF
12663
12664
12665fi
12666ac_fn_c_check_member "$LINENO" "struct v4l2_sdr_format" "buffersize" "ac_cv_member_struct_v4l2_sdr_format_buffersize" "#include <sys/time.h>
12667#include <linux/ioctl.h>
12668#include <linux/types.h>
12669#include <linux/videodev2.h>
12670"
12671if test "x$ac_cv_member_struct_v4l2_sdr_format_buffersize" = xyes; then :
12672
12673cat >>confdefs.h <<_ACEOF
12674#define HAVE_STRUCT_V4L2_SDR_FORMAT_BUFFERSIZE 1
12675_ACEOF
12676
12677
12678fi
12679
12680
12681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKGETSIZE64" >&5
12682$as_echo_n "checking for BLKGETSIZE64... " >&6; }
12683if ${ac_cv_have_blkgetsize64+:} false; then :
12684  $as_echo_n "(cached) " >&6
12685else
12686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687/* end confdefs.h.  */
12688
12689#include <stdlib.h>
12690#include <linux/fs.h>
12691int
12692main ()
12693{
12694return !BLKGETSIZE64;
12695  ;
12696  return 0;
12697}
12698_ACEOF
12699if ac_fn_c_try_compile "$LINENO"; then :
12700  ac_cv_have_blkgetsize64=yes
12701else
12702  ac_cv_have_blkgetsize64=no
12703fi
12704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12705	if test $ac_cv_have_blkgetsize64 = yes; then
12706
12707$as_echo "#define HAVE_BLKGETSIZE64 1" >>confdefs.h
12708
12709	fi
12710fi
12711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_blkgetsize64" >&5
12712$as_echo "$ac_cv_have_blkgetsize64" >&6; }
12713
12714# The cast to long int works around a bug in the HP C Compiler
12715# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12716# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12717# This bug is HP SR number 8606223364.
12718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12719$as_echo_n "checking size of long... " >&6; }
12720if ${ac_cv_sizeof_long+:} false; then :
12721  $as_echo_n "(cached) " >&6
12722else
12723  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
12724
12725else
12726  if test "$ac_cv_type_long" = yes; then
12727     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12729as_fn_error 77 "cannot compute sizeof (long)
12730See \`config.log' for more details" "$LINENO" 5; }
12731   else
12732     ac_cv_sizeof_long=0
12733   fi
12734fi
12735
12736fi
12737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12738$as_echo "$ac_cv_sizeof_long" >&6; }
12739
12740
12741
12742cat >>confdefs.h <<_ACEOF
12743#define SIZEOF_LONG $ac_cv_sizeof_long
12744_ACEOF
12745
12746
12747SIZEOF_LONG="$ac_cv_sizeof_long"
12748
12749# The cast to long int works around a bug in the HP C Compiler
12750# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12751# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12752# This bug is HP SR number 8606223364.
12753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12754$as_echo_n "checking size of long long... " >&6; }
12755if ${ac_cv_sizeof_long_long+:} false; then :
12756  $as_echo_n "(cached) " >&6
12757else
12758  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12759
12760else
12761  if test "$ac_cv_type_long_long" = yes; then
12762     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12764as_fn_error 77 "cannot compute sizeof (long long)
12765See \`config.log' for more details" "$LINENO" 5; }
12766   else
12767     ac_cv_sizeof_long_long=0
12768   fi
12769fi
12770
12771fi
12772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12773$as_echo "$ac_cv_sizeof_long_long" >&6; }
12774
12775
12776
12777cat >>confdefs.h <<_ACEOF
12778#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12779_ACEOF
12780
12781
12782# The cast to long int works around a bug in the HP C Compiler
12783# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12784# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12785# This bug is HP SR number 8606223364.
12786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12787$as_echo_n "checking size of off_t... " >&6; }
12788if ${ac_cv_sizeof_off_t+:} false; then :
12789  $as_echo_n "(cached) " >&6
12790else
12791  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "#include <sys/types.h>
12792"; then :
12793
12794else
12795  if test "$ac_cv_type_off_t" = yes; then
12796     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12798as_fn_error 77 "cannot compute sizeof (off_t)
12799See \`config.log' for more details" "$LINENO" 5; }
12800   else
12801     ac_cv_sizeof_off_t=0
12802   fi
12803fi
12804
12805fi
12806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12807$as_echo "$ac_cv_sizeof_off_t" >&6; }
12808
12809
12810
12811cat >>confdefs.h <<_ACEOF
12812#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12813_ACEOF
12814
12815
12816# The cast to long int works around a bug in the HP C Compiler
12817# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12818# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12819# This bug is HP SR number 8606223364.
12820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5
12821$as_echo_n "checking size of kernel_long_t... " >&6; }
12822if ${ac_cv_sizeof_kernel_long_t+:} false; then :
12823  $as_echo_n "(cached) " >&6
12824else
12825  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t"        "#include \"$srcdir/kernel_types.h\"
12826"; then :
12827
12828else
12829  if test "$ac_cv_type_kernel_long_t" = yes; then
12830     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12832as_fn_error 77 "cannot compute sizeof (kernel_long_t)
12833See \`config.log' for more details" "$LINENO" 5; }
12834   else
12835     ac_cv_sizeof_kernel_long_t=0
12836   fi
12837fi
12838
12839fi
12840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5
12841$as_echo "$ac_cv_sizeof_kernel_long_t" >&6; }
12842
12843
12844
12845cat >>confdefs.h <<_ACEOF
12846#define SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t
12847_ACEOF
12848
12849
12850SIZEOF_KERNEL_LONG_T="$ac_cv_sizeof_kernel_long_t"
12851
12852# The cast to long int works around a bug in the HP C Compiler
12853# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12854# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12855# This bug is HP SR number 8606223364.
12856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct i64_i32" >&5
12857$as_echo_n "checking size of struct i64_i32... " >&6; }
12858if ${ac_cv_sizeof_struct_i64_i32+:} false; then :
12859  $as_echo_n "(cached) " >&6
12860else
12861  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct i64_i32))" "ac_cv_sizeof_struct_i64_i32"        "struct i64_i32 {long long i64; int i32;};
12862"; then :
12863
12864else
12865  if test "$ac_cv_type_struct_i64_i32" = yes; then
12866     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12868as_fn_error 77 "cannot compute sizeof (struct i64_i32)
12869See \`config.log' for more details" "$LINENO" 5; }
12870   else
12871     ac_cv_sizeof_struct_i64_i32=0
12872   fi
12873fi
12874
12875fi
12876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_i64_i32" >&5
12877$as_echo "$ac_cv_sizeof_struct_i64_i32" >&6; }
12878
12879
12880
12881cat >>confdefs.h <<_ACEOF
12882#define SIZEOF_STRUCT_I64_I32 $ac_cv_sizeof_struct_i64_i32
12883_ACEOF
12884
12885
12886
12887
12888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGRTMIN" >&5
12889$as_echo_n "checking for SIGRTMIN... " >&6; }
12890if ${st_cv_SIGRTMIN+:} false; then :
12891  $as_echo_n "(cached) " >&6
12892else
12893  st_cv_SIGRTMIN="$(echo SIGRTMIN |
12894			$CPP $CPPFLAGS -P -imacros asm/signal.h - |
12895			grep '^[0-9]')"
12896		 test -n "$st_cv_SIGRTMIN" || st_cv_SIGRTMIN=no
12897fi
12898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SIGRTMIN" >&5
12899$as_echo "$st_cv_SIGRTMIN" >&6; }
12900if test "x$st_cv_SIGRTMIN" != xno; then
12901
12902cat >>confdefs.h <<_ACEOF
12903#define ASM_SIGRTMIN $st_cv_SIGRTMIN
12904_ACEOF
12905
12906fi
12907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SA_RESTORER" >&5
12908$as_echo_n "checking for SA_RESTORER... " >&6; }
12909if ${st_cv_SA_RESTORER+:} false; then :
12910  $as_echo_n "(cached) " >&6
12911else
12912  st_cv_SA_RESTORER="$(echo SA_RESTORER |
12913			$CPP $CPPFLAGS -P -imacros asm/signal.h - |
12914			grep ^0x)"
12915		test -n "$st_cv_SA_RESTORER" || st_cv_SA_RESTORER=no
12916fi
12917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_SA_RESTORER" >&5
12918$as_echo "$st_cv_SA_RESTORER" >&6; }
12919if test "x$st_cv_SA_RESTORER" != xno; then
12920
12921cat >>confdefs.h <<_ACEOF
12922#define ASM_SA_RESTORER $st_cv_SA_RESTORER
12923_ACEOF
12924
12925fi
12926
12927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
12928$as_echo_n "checking for __builtin_popcount... " >&6; }
12929if ${st_cv_have___builtin_popcount+:} false; then :
12930  $as_echo_n "(cached) " >&6
12931else
12932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933/* end confdefs.h.  */
12934
12935int
12936main ()
12937{
12938__builtin_popcount(0)
12939  ;
12940  return 0;
12941}
12942_ACEOF
12943if ac_fn_c_try_link "$LINENO"; then :
12944  st_cv_have___builtin_popcount=yes
12945else
12946  st_cv_have___builtin_popcount=no
12947fi
12948rm -f core conftest.err conftest.$ac_objext \
12949    conftest$ac_exeext conftest.$ac_ext
12950fi
12951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have___builtin_popcount" >&5
12952$as_echo "$st_cv_have___builtin_popcount" >&6; }
12953if test "x$st_cv_have___builtin_popcount" = xyes; then
12954
12955$as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
12956
12957fi
12958
12959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for program_invocation_name" >&5
12960$as_echo_n "checking for program_invocation_name... " >&6; }
12961if ${st_cv_have_program_invocation_name+:} false; then :
12962  $as_echo_n "(cached) " >&6
12963else
12964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12965/* end confdefs.h.  */
12966#include <errno.h>
12967int
12968main ()
12969{
12970return !*program_invocation_name
12971  ;
12972  return 0;
12973}
12974_ACEOF
12975if ac_fn_c_try_link "$LINENO"; then :
12976  st_cv_have_program_invocation_name=yes
12977else
12978  st_cv_have_program_invocation_name=no
12979fi
12980rm -f core conftest.err conftest.$ac_objext \
12981    conftest$ac_exeext conftest.$ac_ext
12982fi
12983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_have_program_invocation_name" >&5
12984$as_echo "$st_cv_have_program_invocation_name" >&6; }
12985if test "x$st_cv_have_program_invocation_name" = xyes; then
12986
12987$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
12988
12989fi
12990
12991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
12992$as_echo_n "checking for dladdr in -ldl... " >&6; }
12993if ${ac_cv_lib_dl_dladdr+:} false; then :
12994  $as_echo_n "(cached) " >&6
12995else
12996  ac_check_lib_save_LIBS=$LIBS
12997LIBS="-ldl  $LIBS"
12998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999/* end confdefs.h.  */
13000
13001/* Override any GCC internal prototype to avoid an error.
13002   Use char because int might match the return type of a GCC
13003   builtin and then its argument prototype would still apply.  */
13004#ifdef __cplusplus
13005extern "C"
13006#endif
13007char dladdr ();
13008int
13009main ()
13010{
13011return dladdr ();
13012  ;
13013  return 0;
13014}
13015_ACEOF
13016if ac_fn_c_try_link "$LINENO"; then :
13017  ac_cv_lib_dl_dladdr=yes
13018else
13019  ac_cv_lib_dl_dladdr=no
13020fi
13021rm -f core conftest.err conftest.$ac_objext \
13022    conftest$ac_exeext conftest.$ac_ext
13023LIBS=$ac_check_lib_save_LIBS
13024fi
13025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
13026$as_echo "$ac_cv_lib_dl_dladdr" >&6; }
13027if test "x$ac_cv_lib_dl_dladdr" = xyes; then :
13028  dl_LIBS='-ldl'
13029else
13030  dl_LIBS=
13031fi
13032
13033if test "x$ac_cv_lib_dl_dladdr" = xyes; then
13034
13035$as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13036
13037fi
13038
13039
13040# Extract the first word of "perl", so it can be a program name with args.
13041set dummy perl; ac_word=$2
13042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13043$as_echo_n "checking for $ac_word... " >&6; }
13044if ${ac_cv_path_PERL+:} false; then :
13045  $as_echo_n "(cached) " >&6
13046else
13047  case $PERL in
13048  [\\/]* | ?:[\\/]*)
13049  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
13050  ;;
13051  *)
13052  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13053for as_dir in $PATH
13054do
13055  IFS=$as_save_IFS
13056  test -z "$as_dir" && as_dir=.
13057    for ac_exec_ext in '' $ac_executable_extensions; do
13058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13059    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
13060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13061    break 2
13062  fi
13063done
13064  done
13065IFS=$as_save_IFS
13066
13067  ;;
13068esac
13069fi
13070PERL=$ac_cv_path_PERL
13071if test -n "$PERL"; then
13072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
13073$as_echo "$PERL" >&6; }
13074else
13075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13076$as_echo "no" >&6; }
13077fi
13078
13079
13080
13081if test -n "$ac_tool_prefix"; then
13082  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
13083set dummy ${ac_tool_prefix}readelf; ac_word=$2
13084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13085$as_echo_n "checking for $ac_word... " >&6; }
13086if ${ac_cv_prog_READELF+:} false; then :
13087  $as_echo_n "(cached) " >&6
13088else
13089  if test -n "$READELF"; then
13090  ac_cv_prog_READELF="$READELF" # Let the user override the test.
13091else
13092as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13093for as_dir in $PATH
13094do
13095  IFS=$as_save_IFS
13096  test -z "$as_dir" && as_dir=.
13097    for ac_exec_ext in '' $ac_executable_extensions; do
13098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13099    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
13100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13101    break 2
13102  fi
13103done
13104  done
13105IFS=$as_save_IFS
13106
13107fi
13108fi
13109READELF=$ac_cv_prog_READELF
13110if test -n "$READELF"; then
13111  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
13112$as_echo "$READELF" >&6; }
13113else
13114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115$as_echo "no" >&6; }
13116fi
13117
13118
13119fi
13120if test -z "$ac_cv_prog_READELF"; then
13121  ac_ct_READELF=$READELF
13122  # Extract the first word of "readelf", so it can be a program name with args.
13123set dummy readelf; ac_word=$2
13124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13125$as_echo_n "checking for $ac_word... " >&6; }
13126if ${ac_cv_prog_ac_ct_READELF+:} false; then :
13127  $as_echo_n "(cached) " >&6
13128else
13129  if test -n "$ac_ct_READELF"; then
13130  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
13131else
13132as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133for as_dir in $PATH
13134do
13135  IFS=$as_save_IFS
13136  test -z "$as_dir" && as_dir=.
13137    for ac_exec_ext in '' $ac_executable_extensions; do
13138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13139    ac_cv_prog_ac_ct_READELF="readelf"
13140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13141    break 2
13142  fi
13143done
13144  done
13145IFS=$as_save_IFS
13146
13147fi
13148fi
13149ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
13150if test -n "$ac_ct_READELF"; then
13151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
13152$as_echo "$ac_ct_READELF" >&6; }
13153else
13154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155$as_echo "no" >&6; }
13156fi
13157
13158  if test "x$ac_ct_READELF" = x; then
13159    READELF=""
13160  else
13161    case $cross_compiling:$ac_tool_warned in
13162yes:)
13163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13165ac_tool_warned=yes ;;
13166esac
13167    READELF=$ac_ct_READELF
13168  fi
13169else
13170  READELF="$ac_cv_prog_READELF"
13171fi
13172
13173
13174libunwind_CPPFLAGS=
13175libunwind_LDFLAGS=
13176libunwind_LIBS=
13177
13178# Check whether --with-libunwind was given.
13179if test "${with_libunwind+set}" = set; then :
13180  withval=$with_libunwind; case "${withval}" in
13181	     yes|no|check) ;;
13182	     *) with_libunwind=yes
13183		libunwind_CPPFLAGS="-I${withval}/include"
13184		libunwind_LDFLAGS="-L${withval}/lib" ;;
13185	     esac
13186else
13187  with_libunwind=check
13188
13189fi
13190
13191
13192use_libunwind=no
13193if test "x$with_libunwind" != xno; then :
13194  saved_CPPFLAGS="$CPPFLAGS"
13195       CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS"
13196
13197       for ac_header in libunwind-ptrace.h
13198do :
13199  ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ptrace.h" "ac_cv_header_libunwind_ptrace_h" "$ac_includes_default"
13200if test "x$ac_cv_header_libunwind_ptrace_h" = xyes; then :
13201  cat >>confdefs.h <<_ACEOF
13202#define HAVE_LIBUNWIND_PTRACE_H 1
13203_ACEOF
13204 saved_LDFLAGS="$LDFLAGS"
13205	  LDFLAGS="$LDFLAGS $libunwind_LDFLAGS"
13206
13207	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5
13208$as_echo_n "checking for backtrace in -lunwind... " >&6; }
13209if ${ac_cv_lib_unwind_backtrace+:} false; then :
13210  $as_echo_n "(cached) " >&6
13211else
13212  ac_check_lib_save_LIBS=$LIBS
13213LIBS="-lunwind $libunwind_LIBS
13214	   $LIBS"
13215cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13216/* end confdefs.h.  */
13217
13218/* Override any GCC internal prototype to avoid an error.
13219   Use char because int might match the return type of a GCC
13220   builtin and then its argument prototype would still apply.  */
13221#ifdef __cplusplus
13222extern "C"
13223#endif
13224char backtrace ();
13225int
13226main ()
13227{
13228return backtrace ();
13229  ;
13230  return 0;
13231}
13232_ACEOF
13233if ac_fn_c_try_link "$LINENO"; then :
13234  ac_cv_lib_unwind_backtrace=yes
13235else
13236  ac_cv_lib_unwind_backtrace=no
13237fi
13238rm -f core conftest.err conftest.$ac_objext \
13239    conftest$ac_exeext conftest.$ac_ext
13240LIBS=$ac_check_lib_save_LIBS
13241fi
13242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5
13243$as_echo "$ac_cv_lib_unwind_backtrace" >&6; }
13244if test "x$ac_cv_lib_unwind_backtrace" = xyes; then :
13245  libunwind_LIBS="-lunwind $libunwind_LIBS"
13246
13247	     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_create_addr_space in libunwind-generic" >&5
13248$as_echo_n "checking for unw_create_addr_space in libunwind-generic... " >&6; }
13249	     saved_LIBS="$LIBS"
13250	     LIBS="-lunwind-generic $libunwind_LIBS $LIBS"
13251
13252	     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253/* end confdefs.h.  */
13254#include <libunwind-ptrace.h>
13255int
13256main ()
13257{
13258return !unw_create_addr_space(0, 0)
13259  ;
13260  return 0;
13261}
13262
13263_ACEOF
13264if ac_fn_c_try_link "$LINENO"; then :
13265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13266$as_echo "yes" >&6; }
13267		libunwind_LIBS="-lunwind-generic $libunwind_LIBS"
13268
13269		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _UPT_create in -lunwind-ptrace" >&5
13270$as_echo_n "checking for _UPT_create in -lunwind-ptrace... " >&6; }
13271if ${ac_cv_lib_unwind_ptrace__UPT_create+:} false; then :
13272  $as_echo_n "(cached) " >&6
13273else
13274  ac_check_lib_save_LIBS=$LIBS
13275LIBS="-lunwind-ptrace $libunwind_LIBS
13276		 $LIBS"
13277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13278/* end confdefs.h.  */
13279
13280/* Override any GCC internal prototype to avoid an error.
13281   Use char because int might match the return type of a GCC
13282   builtin and then its argument prototype would still apply.  */
13283#ifdef __cplusplus
13284extern "C"
13285#endif
13286char _UPT_create ();
13287int
13288main ()
13289{
13290return _UPT_create ();
13291  ;
13292  return 0;
13293}
13294_ACEOF
13295if ac_fn_c_try_link "$LINENO"; then :
13296  ac_cv_lib_unwind_ptrace__UPT_create=yes
13297else
13298  ac_cv_lib_unwind_ptrace__UPT_create=no
13299fi
13300rm -f core conftest.err conftest.$ac_objext \
13301    conftest$ac_exeext conftest.$ac_ext
13302LIBS=$ac_check_lib_save_LIBS
13303fi
13304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_ptrace__UPT_create" >&5
13305$as_echo "$ac_cv_lib_unwind_ptrace__UPT_create" >&6; }
13306if test "x$ac_cv_lib_unwind_ptrace__UPT_create" = xyes; then :
13307  libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS"
13308		   use_libunwind=yes
13309
13310else
13311  if test "x$with_libunwind" != xcheck; then
13312		     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13314as_fn_error $? "failed to find _UPT_create in libunwind-ptrace
13315See \`config.log' for more details" "$LINENO" 5; }
13316		   fi
13317
13318fi
13319
13320
13321else
13322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323$as_echo "no" >&6; }
13324		if test "x$with_libunwind" != xcheck; then
13325		  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13327as_fn_error $? "failed to find unw_create_addr_space in libunwind-generic
13328See \`config.log' for more details" "$LINENO" 5; }
13329		fi
13330
13331
13332fi
13333rm -f core conftest.err conftest.$ac_objext \
13334    conftest$ac_exeext conftest.$ac_ext
13335
13336	     LIBS="$saved_LIBS"
13337
13338else
13339  if test "x$with_libunwind" != xcheck; then
13340	       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13342as_fn_error $? "failed to find libunwind
13343See \`config.log' for more details" "$LINENO" 5; }
13344	     fi
13345
13346fi
13347
13348
13349	  LDFLAGS="$saved_LDFLAGS"
13350
13351else
13352  if test "x$with_libunwind" != xcheck; then
13353	    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13354$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13355as_fn_error $? "failed to find libunwind-ptrace.h
13356See \`config.log' for more details" "$LINENO" 5; }
13357	  fi
13358
13359
13360fi
13361
13362done
13363
13364
13365       CPPFLAGS="$saved_CPPFLAGS"
13366
13367
13368fi
13369
13370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable stack tracing support using libunwind" >&5
13371$as_echo_n "checking whether to enable stack tracing support using libunwind... " >&6; }
13372if test "x$use_libunwind" = xyes; then
13373
13374$as_echo "#define USE_LIBUNWIND 1" >>confdefs.h
13375
13376
13377
13378
13379fi
13380 if test "x$use_libunwind" = xyes; then
13381  USE_LIBUNWIND_TRUE=
13382  USE_LIBUNWIND_FALSE='#'
13383else
13384  USE_LIBUNWIND_TRUE='#'
13385  USE_LIBUNWIND_FALSE=
13386fi
13387
13388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libunwind" >&5
13389$as_echo "$use_libunwind" >&6; }
13390
13391libiberty_CPPFLAGS=
13392libiberty_LDFLAGS=
13393libiberty_LIBS=
13394
13395# Check whether --with-libiberty was given.
13396if test "${with_libiberty+set}" = set; then :
13397  withval=$with_libiberty; case "${withval}" in
13398	     yes|no|check) ;;
13399	     *) with_libiberty=yes
13400		libiberty_CPPFLAGS="-I${withval}/include"
13401		libiberty_LDFLAGS="-L${withval}/lib" ;;
13402	     esac
13403else
13404  with_libiberty=check
13405
13406fi
13407
13408
13409use_libiberty=no
13410if test "x$use_libunwind" = xyes && test "x$with_libiberty" != xno; then :
13411  saved_CPPFLAGS="$CPPFLAGS"
13412       CPPFLAGS="$CPPFLAGS $libiberty_CPPFLAGS"
13413       for ac_header in demangle.h libiberty/demangle.h
13414do :
13415  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13416ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13417if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13418  cat >>confdefs.h <<_ACEOF
13419#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13420_ACEOF
13421 saved_LDFLAGS="$LDFLAGS"
13422	  LDFLAGS="$LDFLAGS $libiberty_LDFLAGS"
13423	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cplus_demangle in -liberty" >&5
13424$as_echo_n "checking for cplus_demangle in -liberty... " >&6; }
13425if ${ac_cv_lib_iberty_cplus_demangle+:} false; then :
13426  $as_echo_n "(cached) " >&6
13427else
13428  ac_check_lib_save_LIBS=$LIBS
13429LIBS="-liberty  $LIBS"
13430cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431/* end confdefs.h.  */
13432
13433/* Override any GCC internal prototype to avoid an error.
13434   Use char because int might match the return type of a GCC
13435   builtin and then its argument prototype would still apply.  */
13436#ifdef __cplusplus
13437extern "C"
13438#endif
13439char cplus_demangle ();
13440int
13441main ()
13442{
13443return cplus_demangle ();
13444  ;
13445  return 0;
13446}
13447_ACEOF
13448if ac_fn_c_try_link "$LINENO"; then :
13449  ac_cv_lib_iberty_cplus_demangle=yes
13450else
13451  ac_cv_lib_iberty_cplus_demangle=no
13452fi
13453rm -f core conftest.err conftest.$ac_objext \
13454    conftest$ac_exeext conftest.$ac_ext
13455LIBS=$ac_check_lib_save_LIBS
13456fi
13457{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_cplus_demangle" >&5
13458$as_echo "$ac_cv_lib_iberty_cplus_demangle" >&6; }
13459if test "x$ac_cv_lib_iberty_cplus_demangle" = xyes; then :
13460  libiberty_LIBS="-liberty"
13461	     use_libiberty=yes
13462
13463else
13464  if test "x$with_libiberty" != xcheck; then
13465	       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13467as_fn_error $? "failed to find cplus_demangle in libiberty
13468See \`config.log' for more details" "$LINENO" 5; }
13469	     fi
13470
13471
13472fi
13473
13474	  LDFLAGS="$saved_LDFLAGS"
13475
13476else
13477  if test "x$with_libiberty" != xcheck; then
13478	      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13479$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13480as_fn_error $? "failed to find demangle.h
13481See \`config.log' for more details" "$LINENO" 5; }
13482	  fi
13483
13484
13485fi
13486
13487done
13488
13489       CPPFLAGS="$saved_CPPFLAGS"
13490
13491
13492fi
13493
13494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable demangling symbols in stack trace" >&5
13495$as_echo_n "checking whether to enable demangling symbols in stack trace... " >&6; }
13496if test "x$use_libiberty" = xyes; then
13497
13498$as_echo "#define USE_DEMANGLE 1" >>confdefs.h
13499
13500
13501
13502
13503fi
13504 if test "x$use_libiberty" = xyes; then
13505  USE_DEMANGLE_TRUE=
13506  USE_DEMANGLE_FALSE='#'
13507else
13508  USE_DEMANGLE_TRUE='#'
13509  USE_DEMANGLE_FALSE=
13510fi
13511
13512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_libiberty" >&5
13513$as_echo "$use_libiberty" >&6; }
13514
13515if test "$arch" = mips && test "$no_create" != yes; then
13516	mkdir -p linux/mips
13517	if $srcdir/linux/mips/genstub.sh linux/mips; then
13518		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Generated MIPS syscallent stubs" >&5
13519$as_echo "Generated MIPS syscallent stubs" >&6; }
13520	else
13521		as_fn_error $? "Failed to generate syscallent stubs" "$LINENO" 5
13522	fi
13523fi
13524
13525# Check whether --enable-mpers was given.
13526if test "${enable_mpers+set}" = set; then :
13527  enableval=$enable_mpers; case "$enableval" in
13528		yes|no|check|m32|mx32) enable_mpers="$enableval" ;;
13529		*) as_fn_error $? "bad value $enableval for enable-mpers option.
13530				 Valid options are: yes, no, check, m32, mx32." "$LINENO" 5
13531		;;
13532	 esac
13533else
13534  enable_mpers=yes
13535fi
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549case "$arch" in
13550	aarch64|powerpc64|riscv|s390x|sparc64|tile|x32|x86_64)
13551	case "$enable_mpers" in
13552	yes|check|m32)
13553
13554
13555
13556
13557	for ac_header in gnu/stubs-32.h
13558do :
13559  ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-32.h" "ac_cv_header_gnu_stubs_32_h" "$ac_includes_default"
13560if test "x$ac_cv_header_gnu_stubs_32_h" = xyes; then :
13561  cat >>confdefs.h <<_ACEOF
13562#define HAVE_GNU_STUBS_32_H 1
13563_ACEOF
13564 IFLAG=
13565else
13566  mkdir -p gnu
13567			  : > gnu/stubs-32.h
13568			  { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-32.h" >&5
13569$as_echo "$as_me: Created empty gnu/stubs-32.h" >&6;}
13570			  IFLAG=-I.
13571fi
13572
13573done
13574
13575
13576	saved_CFLAGS="$CFLAGS"
13577	CFLAGS="$CFLAGS $cc_flags_m32 $IFLAG"
13578	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality compile support" >&5
13579$as_echo_n "checking for m32 personality compile support... " >&6; }
13580if ${st_cv_m32_cc+:} false; then :
13581  $as_echo_n "(cached) " >&6
13582else
13583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584/* end confdefs.h.  */
13585#include <stdint.h>
13586						     int main(){return 0;}
13587_ACEOF
13588if ac_fn_c_try_compile "$LINENO"; then :
13589  st_cv_m32_cc=yes
13590else
13591  st_cv_m32_cc=no
13592fi
13593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13594fi
13595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_cc" >&5
13596$as_echo "$st_cv_m32_cc" >&6; }
13597	if test $st_cv_m32_cc = yes; then
13598		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for m32 personality runtime support" >&5
13599$as_echo_n "checking for m32 personality runtime support... " >&6; }
13600if ${st_cv_m32_runtime+:} false; then :
13601  $as_echo_n "(cached) " >&6
13602else
13603  if test "$cross_compiling" = yes; then :
13604  st_cv_m32_runtime=no
13605else
13606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607/* end confdefs.h.  */
13608#include <stdint.h>
13609							 int main(){return 0;}
13610_ACEOF
13611if ac_fn_c_try_run "$LINENO"; then :
13612  st_cv_m32_runtime=yes
13613else
13614  st_cv_m32_runtime=no
13615fi
13616rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13617  conftest.$ac_objext conftest.beam conftest.$ac_ext
13618fi
13619
13620fi
13621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_runtime" >&5
13622$as_echo "$st_cv_m32_runtime" >&6; }
13623		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh m32 $cc_flags_m32 works" >&5
13624$as_echo_n "checking whether mpers.sh m32 $cc_flags_m32 works... " >&6; }
13625if ${st_cv_m32_mpers+:} false; then :
13626  $as_echo_n "(cached) " >&6
13627else
13628  if READELF="$READELF" \
13629			    CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \
13630			    $srcdir/mpers_test.sh m32 $cc_flags_m32; then
13631				st_cv_m32_mpers=yes
13632			 else
13633				st_cv_m32_mpers=no
13634			 fi
13635fi
13636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5
13637$as_echo "$st_cv_m32_mpers" >&6; }
13638		if test $st_cv_m32_mpers = yes; then
13639
13640$as_echo "#define HAVE_M32_MPERS 1" >>confdefs.h
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650if test -n "${ac_cv_type_struct_stat+set}"; then :
13651  saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat
13652fi
13653if test -n "${ac_cv_m32_type_struct_stat+set}"; then :
13654  ac_cv_type_struct_stat="${ac_cv_m32_type_struct_stat}"
13655fi
13656
13657
13658
13659
13660
13661
13662ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h>
13663#include <asm/stat.h>
13664"
13665if test "x$ac_cv_type_struct_stat" = xyes; then :
13666
13667$as_echo "#define HAVE_M32_STRUCT_STAT 1" >>confdefs.h
13668
13669fi
13670
13671
13672
13673
13674
13675
13676
13677if test -n "${ac_cv_type_struct_stat+set}"; then :
13678  ac_cv_m32_type_struct_stat="${ac_cv_type_struct_stat}"
13679fi
13680if test -n "${saved_ac_cv_type_struct_stat+set}"; then :
13681  ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat
13682fi
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
13697  saved_ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"; unset ac_cv_member_struct_stat_st_mtime_nsec
13698fi
13699if test -n "${ac_cv_m32_member_struct_stat_st_mtime_nsec+set}"; then :
13700  ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_m32_member_struct_stat_st_mtime_nsec}"
13701fi
13702
13703
13704
13705
13706
13707
13708ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h>
13709#include <asm/stat.h>
13710"
13711if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then :
13712
13713$as_echo "#define HAVE_M32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h
13714
13715fi
13716
13717
13718
13719
13720
13721
13722
13723if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
13724  ac_cv_m32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"
13725fi
13726if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
13727  ac_cv_member_struct_stat_st_mtime_nsec="${saved_ac_cv_member_struct_stat_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat_st_mtime_nsec
13728fi
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745if test -n "${ac_cv_type_struct_stat64+set}"; then :
13746  saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64
13747fi
13748if test -n "${ac_cv_m32_type_struct_stat64+set}"; then :
13749  ac_cv_type_struct_stat64="${ac_cv_m32_type_struct_stat64}"
13750fi
13751
13752
13753
13754
13755
13756
13757ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h>
13758#include <asm/stat.h>
13759"
13760if test "x$ac_cv_type_struct_stat64" = xyes; then :
13761
13762$as_echo "#define HAVE_M32_STRUCT_STAT64 1" >>confdefs.h
13763
13764fi
13765
13766
13767
13768
13769
13770
13771
13772if test -n "${ac_cv_type_struct_stat64+set}"; then :
13773  ac_cv_m32_type_struct_stat64="${ac_cv_type_struct_stat64}"
13774fi
13775if test -n "${saved_ac_cv_type_struct_stat64+set}"; then :
13776  ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64
13777fi
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
13792  saved_ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"; unset ac_cv_member_struct_stat64_st_mtime_nsec
13793fi
13794if test -n "${ac_cv_m32_member_struct_stat64_st_mtime_nsec+set}"; then :
13795  ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_m32_member_struct_stat64_st_mtime_nsec}"
13796fi
13797
13798
13799
13800
13801
13802
13803ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h>
13804#include <asm/stat.h>
13805"
13806if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then :
13807
13808$as_echo "#define HAVE_M32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h
13809
13810fi
13811
13812
13813
13814
13815
13816
13817
13818if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
13819  ac_cv_m32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"
13820fi
13821if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
13822  ac_cv_member_struct_stat64_st_mtime_nsec="${saved_ac_cv_member_struct_stat64_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat64_st_mtime_nsec
13823fi
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833			if test $st_cv_m32_runtime = yes; then
13834
13835
13836
13837
13838
13839
13840
13841if test -n "${ac_cv_sizeof_long+set}"; then :
13842  saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long
13843fi
13844if test -n "${ac_cv_m32_sizeof_long+set}"; then :
13845  ac_cv_sizeof_long="${ac_cv_m32_sizeof_long}"
13846fi
13847
13848
13849
13850
13851
13852
13853				# The cast to long int works around a bug in the HP C Compiler
13854# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13855# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13856# This bug is HP SR number 8606223364.
13857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13858$as_echo_n "checking size of long... " >&6; }
13859if ${ac_cv_sizeof_long+:} false; then :
13860  $as_echo_n "(cached) " >&6
13861else
13862  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13863
13864else
13865  if test "$ac_cv_type_long" = yes; then
13866     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13868as_fn_error 77 "cannot compute sizeof (long)
13869See \`config.log' for more details" "$LINENO" 5; }
13870   else
13871     ac_cv_sizeof_long=0
13872   fi
13873fi
13874
13875fi
13876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13877$as_echo "$ac_cv_sizeof_long" >&6; }
13878
13879
13880
13881cat >>confdefs.h <<_ACEOF
13882#define M32_SIZEOF_LONG $ac_cv_sizeof_long
13883_ACEOF
13884
13885
13886
13887
13888
13889
13890
13891
13892if test -n "${ac_cv_sizeof_long+set}"; then :
13893  ac_cv_m32_sizeof_long="${ac_cv_sizeof_long}"
13894fi
13895if test -n "${saved_ac_cv_sizeof_long+set}"; then :
13896  ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long
13897fi
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then :
13914  saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t
13915fi
13916if test -n "${ac_cv_m32_sizeof_kernel_long_t+set}"; then :
13917  ac_cv_sizeof_kernel_long_t="${ac_cv_m32_sizeof_kernel_long_t}"
13918fi
13919
13920
13921
13922
13923
13924
13925				# The cast to long int works around a bug in the HP C Compiler
13926# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13927# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13928# This bug is HP SR number 8606223364.
13929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5
13930$as_echo_n "checking size of kernel_long_t... " >&6; }
13931if ${ac_cv_sizeof_kernel_long_t+:} false; then :
13932  $as_echo_n "(cached) " >&6
13933else
13934  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t"        "#include \"$srcdir/kernel_types.h\"
13935"; then :
13936
13937else
13938  if test "$ac_cv_type_kernel_long_t" = yes; then
13939     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13940$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13941as_fn_error 77 "cannot compute sizeof (kernel_long_t)
13942See \`config.log' for more details" "$LINENO" 5; }
13943   else
13944     ac_cv_sizeof_kernel_long_t=0
13945   fi
13946fi
13947
13948fi
13949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5
13950$as_echo "$ac_cv_sizeof_kernel_long_t" >&6; }
13951
13952
13953
13954cat >>confdefs.h <<_ACEOF
13955#define M32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t
13956_ACEOF
13957
13958
13959
13960
13961
13962
13963
13964
13965if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then :
13966  ac_cv_m32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"
13967fi
13968if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then :
13969  ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t
13970fi
13971
13972
13973
13974
13975
13976
13977
13978			fi
13979		fi
13980	fi
13981	CFLAGS="$saved_CFLAGS"
13982	;;
13983
13984	*) # case "$enable_mpers"
13985	st_cv_m32_runtime=no
13986	st_cv_m32_mpers=no
13987	;;
13988	esac
13989
13990	test "$st_cv_m32_mpers" = yes ||
13991		st_cv_m32_mpers=no
13992	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable m32 personality support" >&5
13993$as_echo_n "checking whether to enable m32 personality support... " >&6; }
13994	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_m32_mpers" >&5
13995$as_echo "$st_cv_m32_mpers" >&6; }
13996
13997	case "$enable_mpers,$st_cv_m32_mpers" in
13998	yes,no|m32,no)
13999		as_fn_error $? "Cannot enable m32 personality support" "$LINENO" 5
14000		;;
14001	esac
14002	;;
14003
14004	*) # case "$arch"
14005	st_cv_m32_runtime=no
14006	st_cv_m32_mpers=no
14007	;;
14008esac
14009
14010 if test "$st_cv_m32_mpers$st_cv_m32_runtime" = yesyes; then
14011  HAVE_M32_RUNTIME_TRUE=
14012  HAVE_M32_RUNTIME_FALSE='#'
14013else
14014  HAVE_M32_RUNTIME_TRUE='#'
14015  HAVE_M32_RUNTIME_FALSE=
14016fi
14017
14018 if test "$st_cv_m32_mpers" = yes; then
14019  HAVE_M32_MPERS_TRUE=
14020  HAVE_M32_MPERS_FALSE='#'
14021else
14022  HAVE_M32_MPERS_TRUE='#'
14023  HAVE_M32_MPERS_FALSE=
14024fi
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048case "$arch" in
14049	x86_64)
14050	case "$enable_mpers" in
14051	yes|check|mx32)
14052
14053
14054
14055
14056	for ac_header in gnu/stubs-x32.h
14057do :
14058  ac_fn_c_check_header_mongrel "$LINENO" "gnu/stubs-x32.h" "ac_cv_header_gnu_stubs_x32_h" "$ac_includes_default"
14059if test "x$ac_cv_header_gnu_stubs_x32_h" = xyes; then :
14060  cat >>confdefs.h <<_ACEOF
14061#define HAVE_GNU_STUBS_X32_H 1
14062_ACEOF
14063 IFLAG=
14064else
14065  mkdir -p gnu
14066			  : > gnu/stubs-x32.h
14067			  { $as_echo "$as_me:${as_lineno-$LINENO}: Created empty gnu/stubs-x32.h" >&5
14068$as_echo "$as_me: Created empty gnu/stubs-x32.h" >&6;}
14069			  IFLAG=-I.
14070fi
14071
14072done
14073
14074
14075	saved_CFLAGS="$CFLAGS"
14076	CFLAGS="$CFLAGS $cc_flags_mx32 $IFLAG"
14077	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality compile support" >&5
14078$as_echo_n "checking for mx32 personality compile support... " >&6; }
14079if ${st_cv_mx32_cc+:} false; then :
14080  $as_echo_n "(cached) " >&6
14081else
14082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083/* end confdefs.h.  */
14084#include <stdint.h>
14085						     int main(){return 0;}
14086_ACEOF
14087if ac_fn_c_try_compile "$LINENO"; then :
14088  st_cv_mx32_cc=yes
14089else
14090  st_cv_mx32_cc=no
14091fi
14092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14093fi
14094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_cc" >&5
14095$as_echo "$st_cv_mx32_cc" >&6; }
14096	if test $st_cv_mx32_cc = yes; then
14097		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mx32 personality runtime support" >&5
14098$as_echo_n "checking for mx32 personality runtime support... " >&6; }
14099if ${st_cv_mx32_runtime+:} false; then :
14100  $as_echo_n "(cached) " >&6
14101else
14102  if test "$cross_compiling" = yes; then :
14103  st_cv_mx32_runtime=no
14104else
14105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106/* end confdefs.h.  */
14107#include <stdint.h>
14108							 int main(){return 0;}
14109_ACEOF
14110if ac_fn_c_try_run "$LINENO"; then :
14111  st_cv_mx32_runtime=yes
14112else
14113  st_cv_mx32_runtime=no
14114fi
14115rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14116  conftest.$ac_objext conftest.beam conftest.$ac_ext
14117fi
14118
14119fi
14120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_runtime" >&5
14121$as_echo "$st_cv_mx32_runtime" >&6; }
14122		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mpers.sh mx32 $cc_flags_mx32 works" >&5
14123$as_echo_n "checking whether mpers.sh mx32 $cc_flags_mx32 works... " >&6; }
14124if ${st_cv_mx32_mpers+:} false; then :
14125  $as_echo_n "(cached) " >&6
14126else
14127  if READELF="$READELF" \
14128			    CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \
14129			    $srcdir/mpers_test.sh mx32 $cc_flags_mx32; then
14130				st_cv_mx32_mpers=yes
14131			 else
14132				st_cv_mx32_mpers=no
14133			 fi
14134fi
14135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5
14136$as_echo "$st_cv_mx32_mpers" >&6; }
14137		if test $st_cv_mx32_mpers = yes; then
14138
14139$as_echo "#define HAVE_MX32_MPERS 1" >>confdefs.h
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149if test -n "${ac_cv_type_struct_stat+set}"; then :
14150  saved_ac_cv_type_struct_stat="${ac_cv_type_struct_stat}"; unset ac_cv_type_struct_stat
14151fi
14152if test -n "${ac_cv_mx32_type_struct_stat+set}"; then :
14153  ac_cv_type_struct_stat="${ac_cv_mx32_type_struct_stat}"
14154fi
14155
14156
14157
14158
14159
14160
14161ac_fn_c_check_type "$LINENO" "struct stat" "ac_cv_type_struct_stat" "#include <sys/types.h>
14162#include <asm/stat.h>
14163"
14164if test "x$ac_cv_type_struct_stat" = xyes; then :
14165
14166$as_echo "#define HAVE_MX32_STRUCT_STAT 1" >>confdefs.h
14167
14168fi
14169
14170
14171
14172
14173
14174
14175
14176if test -n "${ac_cv_type_struct_stat+set}"; then :
14177  ac_cv_mx32_type_struct_stat="${ac_cv_type_struct_stat}"
14178fi
14179if test -n "${saved_ac_cv_type_struct_stat+set}"; then :
14180  ac_cv_type_struct_stat="${saved_ac_cv_type_struct_stat}"; unset saved_ac_cv_type_struct_stat
14181fi
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
14196  saved_ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"; unset ac_cv_member_struct_stat_st_mtime_nsec
14197fi
14198if test -n "${ac_cv_mx32_member_struct_stat_st_mtime_nsec+set}"; then :
14199  ac_cv_member_struct_stat_st_mtime_nsec="${ac_cv_mx32_member_struct_stat_st_mtime_nsec}"
14200fi
14201
14202
14203
14204
14205
14206
14207ac_fn_c_check_member "$LINENO" "struct stat" "st_mtime_nsec" "ac_cv_member_struct_stat_st_mtime_nsec" "#include <sys/types.h>
14208#include <asm/stat.h>
14209"
14210if test "x$ac_cv_member_struct_stat_st_mtime_nsec" = xyes; then :
14211
14212$as_echo "#define HAVE_MX32_STRUCT_STAT_ST_MTIME_NSEC 1" >>confdefs.h
14213
14214fi
14215
14216
14217
14218
14219
14220
14221
14222if test -n "${ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
14223  ac_cv_mx32_member_struct_stat_st_mtime_nsec="${ac_cv_member_struct_stat_st_mtime_nsec}"
14224fi
14225if test -n "${saved_ac_cv_member_struct_stat_st_mtime_nsec+set}"; then :
14226  ac_cv_member_struct_stat_st_mtime_nsec="${saved_ac_cv_member_struct_stat_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat_st_mtime_nsec
14227fi
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244if test -n "${ac_cv_type_struct_stat64+set}"; then :
14245  saved_ac_cv_type_struct_stat64="${ac_cv_type_struct_stat64}"; unset ac_cv_type_struct_stat64
14246fi
14247if test -n "${ac_cv_mx32_type_struct_stat64+set}"; then :
14248  ac_cv_type_struct_stat64="${ac_cv_mx32_type_struct_stat64}"
14249fi
14250
14251
14252
14253
14254
14255
14256ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "#include <sys/types.h>
14257#include <asm/stat.h>
14258"
14259if test "x$ac_cv_type_struct_stat64" = xyes; then :
14260
14261$as_echo "#define HAVE_MX32_STRUCT_STAT64 1" >>confdefs.h
14262
14263fi
14264
14265
14266
14267
14268
14269
14270
14271if test -n "${ac_cv_type_struct_stat64+set}"; then :
14272  ac_cv_mx32_type_struct_stat64="${ac_cv_type_struct_stat64}"
14273fi
14274if test -n "${saved_ac_cv_type_struct_stat64+set}"; then :
14275  ac_cv_type_struct_stat64="${saved_ac_cv_type_struct_stat64}"; unset saved_ac_cv_type_struct_stat64
14276fi
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
14291  saved_ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"; unset ac_cv_member_struct_stat64_st_mtime_nsec
14292fi
14293if test -n "${ac_cv_mx32_member_struct_stat64_st_mtime_nsec+set}"; then :
14294  ac_cv_member_struct_stat64_st_mtime_nsec="${ac_cv_mx32_member_struct_stat64_st_mtime_nsec}"
14295fi
14296
14297
14298
14299
14300
14301
14302ac_fn_c_check_member "$LINENO" "struct stat64" "st_mtime_nsec" "ac_cv_member_struct_stat64_st_mtime_nsec" "#include <sys/types.h>
14303#include <asm/stat.h>
14304"
14305if test "x$ac_cv_member_struct_stat64_st_mtime_nsec" = xyes; then :
14306
14307$as_echo "#define HAVE_MX32_STRUCT_STAT64_ST_MTIME_NSEC 1" >>confdefs.h
14308
14309fi
14310
14311
14312
14313
14314
14315
14316
14317if test -n "${ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
14318  ac_cv_mx32_member_struct_stat64_st_mtime_nsec="${ac_cv_member_struct_stat64_st_mtime_nsec}"
14319fi
14320if test -n "${saved_ac_cv_member_struct_stat64_st_mtime_nsec+set}"; then :
14321  ac_cv_member_struct_stat64_st_mtime_nsec="${saved_ac_cv_member_struct_stat64_st_mtime_nsec}"; unset saved_ac_cv_member_struct_stat64_st_mtime_nsec
14322fi
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332			if test $st_cv_mx32_runtime = yes; then
14333
14334
14335
14336
14337
14338
14339
14340if test -n "${ac_cv_sizeof_long+set}"; then :
14341  saved_ac_cv_sizeof_long="${ac_cv_sizeof_long}"; unset ac_cv_sizeof_long
14342fi
14343if test -n "${ac_cv_mx32_sizeof_long+set}"; then :
14344  ac_cv_sizeof_long="${ac_cv_mx32_sizeof_long}"
14345fi
14346
14347
14348
14349
14350
14351
14352				# The cast to long int works around a bug in the HP C Compiler
14353# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14354# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14355# This bug is HP SR number 8606223364.
14356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14357$as_echo_n "checking size of long... " >&6; }
14358if ${ac_cv_sizeof_long+:} false; then :
14359  $as_echo_n "(cached) " >&6
14360else
14361  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
14362
14363else
14364  if test "$ac_cv_type_long" = yes; then
14365     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14367as_fn_error 77 "cannot compute sizeof (long)
14368See \`config.log' for more details" "$LINENO" 5; }
14369   else
14370     ac_cv_sizeof_long=0
14371   fi
14372fi
14373
14374fi
14375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14376$as_echo "$ac_cv_sizeof_long" >&6; }
14377
14378
14379
14380cat >>confdefs.h <<_ACEOF
14381#define MX32_SIZEOF_LONG $ac_cv_sizeof_long
14382_ACEOF
14383
14384
14385
14386
14387
14388
14389
14390
14391if test -n "${ac_cv_sizeof_long+set}"; then :
14392  ac_cv_mx32_sizeof_long="${ac_cv_sizeof_long}"
14393fi
14394if test -n "${saved_ac_cv_sizeof_long+set}"; then :
14395  ac_cv_sizeof_long="${saved_ac_cv_sizeof_long}"; unset saved_ac_cv_sizeof_long
14396fi
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then :
14413  saved_ac_cv_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"; unset ac_cv_sizeof_kernel_long_t
14414fi
14415if test -n "${ac_cv_mx32_sizeof_kernel_long_t+set}"; then :
14416  ac_cv_sizeof_kernel_long_t="${ac_cv_mx32_sizeof_kernel_long_t}"
14417fi
14418
14419
14420
14421
14422
14423
14424				# The cast to long int works around a bug in the HP C Compiler
14425# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14426# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14427# This bug is HP SR number 8606223364.
14428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of kernel_long_t" >&5
14429$as_echo_n "checking size of kernel_long_t... " >&6; }
14430if ${ac_cv_sizeof_kernel_long_t+:} false; then :
14431  $as_echo_n "(cached) " >&6
14432else
14433  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (kernel_long_t))" "ac_cv_sizeof_kernel_long_t"        "#include \"$srcdir/kernel_types.h\"
14434"; then :
14435
14436else
14437  if test "$ac_cv_type_kernel_long_t" = yes; then
14438     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14440as_fn_error 77 "cannot compute sizeof (kernel_long_t)
14441See \`config.log' for more details" "$LINENO" 5; }
14442   else
14443     ac_cv_sizeof_kernel_long_t=0
14444   fi
14445fi
14446
14447fi
14448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_kernel_long_t" >&5
14449$as_echo "$ac_cv_sizeof_kernel_long_t" >&6; }
14450
14451
14452
14453cat >>confdefs.h <<_ACEOF
14454#define MX32_SIZEOF_KERNEL_LONG_T $ac_cv_sizeof_kernel_long_t
14455_ACEOF
14456
14457
14458
14459
14460
14461
14462
14463
14464if test -n "${ac_cv_sizeof_kernel_long_t+set}"; then :
14465  ac_cv_mx32_sizeof_kernel_long_t="${ac_cv_sizeof_kernel_long_t}"
14466fi
14467if test -n "${saved_ac_cv_sizeof_kernel_long_t+set}"; then :
14468  ac_cv_sizeof_kernel_long_t="${saved_ac_cv_sizeof_kernel_long_t}"; unset saved_ac_cv_sizeof_kernel_long_t
14469fi
14470
14471
14472
14473
14474
14475
14476
14477			fi
14478		fi
14479	fi
14480	CFLAGS="$saved_CFLAGS"
14481	;;
14482
14483	*) # case "$enable_mpers"
14484	st_cv_mx32_runtime=no
14485	st_cv_mx32_mpers=no
14486	;;
14487	esac
14488
14489	test "$st_cv_mx32_mpers" = yes ||
14490		st_cv_mx32_mpers=no
14491	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable mx32 personality support" >&5
14492$as_echo_n "checking whether to enable mx32 personality support... " >&6; }
14493	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_mx32_mpers" >&5
14494$as_echo "$st_cv_mx32_mpers" >&6; }
14495
14496	case "$enable_mpers,$st_cv_mx32_mpers" in
14497	yes,no|mx32,no)
14498		as_fn_error $? "Cannot enable mx32 personality support" "$LINENO" 5
14499		;;
14500	esac
14501	;;
14502
14503	*) # case "$arch"
14504	st_cv_mx32_runtime=no
14505	st_cv_mx32_mpers=no
14506	;;
14507esac
14508
14509 if test "$st_cv_mx32_mpers$st_cv_mx32_runtime" = yesyes; then
14510  HAVE_MX32_RUNTIME_TRUE=
14511  HAVE_MX32_RUNTIME_FALSE='#'
14512else
14513  HAVE_MX32_RUNTIME_TRUE='#'
14514  HAVE_MX32_RUNTIME_FALSE=
14515fi
14516
14517 if test "$st_cv_mx32_mpers" = yes; then
14518  HAVE_MX32_MPERS_TRUE=
14519  HAVE_MX32_MPERS_FALSE='#'
14520else
14521  HAVE_MX32_MPERS_TRUE='#'
14522  HAVE_MX32_MPERS_FALSE=
14523fi
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541		# Check whether --enable-valgrind was given.
14542if test "${enable_valgrind+set}" = set; then :
14543  enableval=$enable_valgrind; enable_valgrind=$enableval
14544else
14545  enable_valgrind=
14546fi
14547
14548
14549	if test "$enable_valgrind" != "no"; then :
14550
14551		# Check for Valgrind.
14552		# Extract the first word of "valgrind", so it can be a program name with args.
14553set dummy valgrind; ac_word=$2
14554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14555$as_echo_n "checking for $ac_word... " >&6; }
14556if ${ac_cv_prog_VALGRIND+:} false; then :
14557  $as_echo_n "(cached) " >&6
14558else
14559  if test -n "$VALGRIND"; then
14560  ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
14561else
14562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14563for as_dir in $PATH
14564do
14565  IFS=$as_save_IFS
14566  test -z "$as_dir" && as_dir=.
14567    for ac_exec_ext in '' $ac_executable_extensions; do
14568  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14569    ac_cv_prog_VALGRIND="valgrind"
14570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14571    break 2
14572  fi
14573done
14574  done
14575IFS=$as_save_IFS
14576
14577fi
14578fi
14579VALGRIND=$ac_cv_prog_VALGRIND
14580if test -n "$VALGRIND"; then
14581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND" >&5
14582$as_echo "$VALGRIND" >&6; }
14583else
14584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14585$as_echo "no" >&6; }
14586fi
14587
14588
14589		if test "$VALGRIND" = ""; then :
14590
14591			if test "$enable_valgrind" = "yes"; then :
14592
14593				as_fn_error $? "Could not find valgrind; either install it or reconfigure with --disable-valgrind" "$LINENO" 5
14594
14595else
14596
14597				enable_valgrind=no
14598
14599fi
14600
14601else
14602
14603			enable_valgrind=yes
14604
14605fi
14606
14607fi
14608
14609	 if test "$enable_valgrind" = "yes"; then
14610  VALGRIND_ENABLED_TRUE=
14611  VALGRIND_ENABLED_FALSE='#'
14612else
14613  VALGRIND_ENABLED_TRUE='#'
14614  VALGRIND_ENABLED_FALSE=
14615fi
14616
14617	VALGRIND_ENABLED=$enable_valgrind
14618
14619
14620
14621	# Check for Valgrind tools we care about.
14622	valgrind_enabled_tools=
14623
14624		# Check whether --enable-valgrind-memcheck was given.
14625if test "${enable_valgrind_memcheck+set}" = set; then :
14626  enableval=$enable_valgrind_memcheck; enable_valgrind_memcheck=$enableval
14627else
14628  enable_valgrind_memcheck=
14629fi
14630
14631		if test "$enable_valgrind" = "no"; then :
14632
14633			enable_valgrind_memcheck=no
14634elif test "$enable_valgrind_memcheck" != "no"; then :
14635
14636			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool memcheck" >&5
14637$as_echo_n "checking for Valgrind tool memcheck... " >&6; }
14638if ${ax_cv_valgrind_tool_memcheck+:} false; then :
14639  $as_echo_n "(cached) " >&6
14640else
14641
14642				ax_cv_valgrind_tool_memcheck=no
14643
14644				if `$VALGRIND --tool=memcheck --help >/dev/null 2>&1`; then :
14645
14646					ax_cv_valgrind_tool_memcheck=yes
14647
14648fi
14649
14650fi
14651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_memcheck" >&5
14652$as_echo "$ax_cv_valgrind_tool_memcheck" >&6; }
14653			if test "$ax_cv_valgrind_tool_memcheck" = "no"; then :
14654
14655				if test "$enable_valgrind_memcheck" = "yes"; then :
14656
14657					as_fn_error $? "Valgrind does not support memcheck; reconfigure with --disable-valgrind-memcheck" "$LINENO" 5
14658
14659else
14660
14661					enable_valgrind_memcheck=no
14662
14663fi
14664
14665else
14666
14667				enable_valgrind_memcheck=yes
14668
14669fi
14670
14671fi
14672		if test "$enable_valgrind_memcheck" = "yes"; then :
14673
14674			valgrind_enabled_tools="$valgrind_enabled_tools memcheck"
14675
14676fi
14677		ENABLE_VALGRIND_memcheck=$enable_valgrind_memcheck
14678
14679
14680
14681		# Check whether --enable-valgrind-helgrind was given.
14682if test "${enable_valgrind_helgrind+set}" = set; then :
14683  enableval=$enable_valgrind_helgrind; enable_valgrind_helgrind=$enableval
14684else
14685  enable_valgrind_helgrind=
14686fi
14687
14688		if test "$enable_valgrind" = "no"; then :
14689
14690			enable_valgrind_helgrind=no
14691elif test "$enable_valgrind_helgrind" != "no"; then :
14692
14693			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool helgrind" >&5
14694$as_echo_n "checking for Valgrind tool helgrind... " >&6; }
14695if ${ax_cv_valgrind_tool_helgrind+:} false; then :
14696  $as_echo_n "(cached) " >&6
14697else
14698
14699				ax_cv_valgrind_tool_helgrind=no
14700
14701				if `$VALGRIND --tool=helgrind --help >/dev/null 2>&1`; then :
14702
14703					ax_cv_valgrind_tool_helgrind=yes
14704
14705fi
14706
14707fi
14708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_helgrind" >&5
14709$as_echo "$ax_cv_valgrind_tool_helgrind" >&6; }
14710			if test "$ax_cv_valgrind_tool_helgrind" = "no"; then :
14711
14712				if test "$enable_valgrind_helgrind" = "yes"; then :
14713
14714					as_fn_error $? "Valgrind does not support helgrind; reconfigure with --disable-valgrind-helgrind" "$LINENO" 5
14715
14716else
14717
14718					enable_valgrind_helgrind=no
14719
14720fi
14721
14722else
14723
14724				enable_valgrind_helgrind=yes
14725
14726fi
14727
14728fi
14729		if test "$enable_valgrind_helgrind" = "yes"; then :
14730
14731			valgrind_enabled_tools="$valgrind_enabled_tools helgrind"
14732
14733fi
14734		ENABLE_VALGRIND_helgrind=$enable_valgrind_helgrind
14735
14736
14737
14738		# Check whether --enable-valgrind-drd was given.
14739if test "${enable_valgrind_drd+set}" = set; then :
14740  enableval=$enable_valgrind_drd; enable_valgrind_drd=$enableval
14741else
14742  enable_valgrind_drd=
14743fi
14744
14745		if test "$enable_valgrind" = "no"; then :
14746
14747			enable_valgrind_drd=no
14748elif test "$enable_valgrind_drd" != "no"; then :
14749
14750			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool drd" >&5
14751$as_echo_n "checking for Valgrind tool drd... " >&6; }
14752if ${ax_cv_valgrind_tool_drd+:} false; then :
14753  $as_echo_n "(cached) " >&6
14754else
14755
14756				ax_cv_valgrind_tool_drd=no
14757
14758				if `$VALGRIND --tool=drd --help >/dev/null 2>&1`; then :
14759
14760					ax_cv_valgrind_tool_drd=yes
14761
14762fi
14763
14764fi
14765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_drd" >&5
14766$as_echo "$ax_cv_valgrind_tool_drd" >&6; }
14767			if test "$ax_cv_valgrind_tool_drd" = "no"; then :
14768
14769				if test "$enable_valgrind_drd" = "yes"; then :
14770
14771					as_fn_error $? "Valgrind does not support drd; reconfigure with --disable-valgrind-drd" "$LINENO" 5
14772
14773else
14774
14775					enable_valgrind_drd=no
14776
14777fi
14778
14779else
14780
14781				enable_valgrind_drd=yes
14782
14783fi
14784
14785fi
14786		if test "$enable_valgrind_drd" = "yes"; then :
14787
14788			valgrind_enabled_tools="$valgrind_enabled_tools drd"
14789
14790fi
14791		ENABLE_VALGRIND_drd=$enable_valgrind_drd
14792
14793
14794
14795		# Check whether --enable-valgrind-sgcheck was given.
14796if test "${enable_valgrind_sgcheck+set}" = set; then :
14797  enableval=$enable_valgrind_sgcheck; enable_valgrind_sgcheck=$enableval
14798else
14799  enable_valgrind_sgcheck=
14800fi
14801
14802		if test "$enable_valgrind" = "no"; then :
14803
14804			enable_valgrind_sgcheck=no
14805elif test "$enable_valgrind_sgcheck" = "yes"; then :
14806
14807			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Valgrind tool sgcheck" >&5
14808$as_echo_n "checking for Valgrind tool sgcheck... " >&6; }
14809if ${ax_cv_valgrind_tool_sgcheck+:} false; then :
14810  $as_echo_n "(cached) " >&6
14811else
14812
14813				ax_cv_valgrind_tool_sgcheck=no
14814
14815				if `$VALGRIND --tool=exp-sgcheck --help >/dev/null 2>&1`; then :
14816
14817					ax_cv_valgrind_tool_sgcheck=yes
14818
14819fi
14820
14821fi
14822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_valgrind_tool_sgcheck" >&5
14823$as_echo "$ax_cv_valgrind_tool_sgcheck" >&6; }
14824			if test "$ax_cv_valgrind_tool_sgcheck" = "no"; then :
14825
14826				if test "$enable_valgrind_sgcheck" = "yes"; then :
14827
14828					as_fn_error $? "Valgrind does not support sgcheck; reconfigure with --disable-valgrind-sgcheck" "$LINENO" 5
14829
14830else
14831
14832					enable_valgrind_sgcheck=no
14833
14834fi
14835
14836else
14837
14838				enable_valgrind_sgcheck=yes
14839
14840fi
14841
14842fi
14843		if test "$enable_valgrind_sgcheck" = "yes"; then :
14844
14845			valgrind_enabled_tools="$valgrind_enabled_tools sgcheck"
14846
14847fi
14848		ENABLE_VALGRIND_sgcheck=$enable_valgrind_sgcheck
14849
14850
14851
14852	valgrind_tools="memcheck helgrind drd sgcheck"
14853
14854	valgrind_enabled_tools=$valgrind_enabled_tools
14855
14856
14857VALGRIND_CHECK_RULES='
14858# Valgrind check
14859#
14860# Optional:
14861#  - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
14862#    files to load. (Default: empty)
14863#  - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
14864#    (Default: --num-callers=30)
14865#  - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
14866#    memcheck, helgrind, drd, sgcheck). (Default: various)
14867
14868# Optional variables
14869VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
14870VALGRIND_FLAGS ?= --num-callers=30
14871VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
14872VALGRIND_helgrind_FLAGS ?= --history-level=approx
14873VALGRIND_drd_FLAGS ?=
14874VALGRIND_sgcheck_FLAGS ?=
14875
14876# Internal use
14877valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
14878
14879valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
14880valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
14881valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
14882valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
14883
14884valgrind_quiet = $(valgrind_quiet_$(V))
14885valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
14886valgrind_quiet_0 = --quiet
14887valgrind_v_use   = $(valgrind_v_use_$(V))
14888valgrind_v_use_  = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
14889valgrind_v_use_0 = @echo "  USE   " $(patsubst check-valgrind-%,%,$''@):;
14890
14891# Support running with and without libtool.
14892ifneq ($(LIBTOOL),)
14893valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
14894else
14895valgrind_lt =
14896endif
14897
14898# Use recursive makes in order to ignore errors during check
14899check-valgrind:
14900ifeq ($(VALGRIND_ENABLED),yes)
14901	$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
14902		$(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
14903else
14904	@echo "Need to reconfigure with --enable-valgrind"
14905endif
14906
14907# Valgrind running
14908VALGRIND_TESTS_ENVIRONMENT = \
14909	$(TESTS_ENVIRONMENT) \
14910	env VALGRIND=$(VALGRIND) \
14911	G_SLICE=always-malloc,debug-blocks \
14912	G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
14913
14914VALGRIND_LOG_COMPILER = \
14915	$(valgrind_lt) \
14916	$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
14917
14918define valgrind_tool_rule
14919check-valgrind-$(1): $$(BUILT_SOURCES)
14920ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
14921	$$(valgrind_v_use)$$(MAKE) $$(AM_MAKEFLAGS) check-am \
14922		TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
14923		LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
14924		LOG_FLAGS="$$(valgrind_$(1)_flags)" \
14925		TEST_SUITE_LOG=test-suite-$(1).log
14926else ifeq ($$(VALGRIND_ENABLED),yes)
14927	@echo "Need to reconfigure with --enable-valgrind-$(1)"
14928else
14929	@echo "Need to reconfigure with --enable-valgrind"
14930endif
14931endef
14932
14933$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
14934
14935A''M_DISTCHECK_CONFIGURE_FLAGS ?=
14936A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
14937
14938MOSTLYCLEANFILES ?=
14939MOSTLYCLEANFILES += $(valgrind_log_files)
14940
14941.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
14942'
14943
14944
14945
14946
14947
14948ac_config_files="$ac_config_files Makefile tests/Makefile tests-m32/Makefile tests-mx32/Makefile strace.1 strace-log-merge.1 strace.spec debian/changelog"
14949
14950cat >confcache <<\_ACEOF
14951# This file is a shell script that caches the results of configure
14952# tests run on this system so they can be shared between configure
14953# scripts and configure runs, see configure's option --config-cache.
14954# It is not useful on other systems.  If it contains results you don't
14955# want to keep, you may remove or edit it.
14956#
14957# config.status only pays attention to the cache file if you give it
14958# the --recheck option to rerun configure.
14959#
14960# `ac_cv_env_foo' variables (set or unset) will be overridden when
14961# loading this file, other *unset* `ac_cv_foo' will be assigned the
14962# following values.
14963
14964_ACEOF
14965
14966# The following way of writing the cache mishandles newlines in values,
14967# but we know of no workaround that is simple, portable, and efficient.
14968# So, we kill variables containing newlines.
14969# Ultrix sh set writes to stderr and can't be redirected directly,
14970# and sets the high bit in the cache file unless we assign to the vars.
14971(
14972  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14973    eval ac_val=\$$ac_var
14974    case $ac_val in #(
14975    *${as_nl}*)
14976      case $ac_var in #(
14977      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14978$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14979      esac
14980      case $ac_var in #(
14981      _ | IFS | as_nl) ;; #(
14982      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14983      *) { eval $ac_var=; unset $ac_var;} ;;
14984      esac ;;
14985    esac
14986  done
14987
14988  (set) 2>&1 |
14989    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14990    *${as_nl}ac_space=\ *)
14991      # `set' does not quote correctly, so add quotes: double-quote
14992      # substitution turns \\\\ into \\, and sed turns \\ into \.
14993      sed -n \
14994	"s/'/'\\\\''/g;
14995	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14996      ;; #(
14997    *)
14998      # `set' quotes correctly as required by POSIX, so do not add quotes.
14999      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15000      ;;
15001    esac |
15002    sort
15003) |
15004  sed '
15005     /^ac_cv_env_/b end
15006     t clear
15007     :clear
15008     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15009     t end
15010     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15011     :end' >>confcache
15012if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15013  if test -w "$cache_file"; then
15014    if test "x$cache_file" != "x/dev/null"; then
15015      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15016$as_echo "$as_me: updating cache $cache_file" >&6;}
15017      if test ! -f "$cache_file" || test -h "$cache_file"; then
15018	cat confcache >"$cache_file"
15019      else
15020        case $cache_file in #(
15021        */* | ?:*)
15022	  mv -f confcache "$cache_file"$$ &&
15023	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15024        *)
15025	  mv -f confcache "$cache_file" ;;
15026	esac
15027      fi
15028    fi
15029  else
15030    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15031$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15032  fi
15033fi
15034rm -f confcache
15035
15036test "x$prefix" = xNONE && prefix=$ac_default_prefix
15037# Let make expand exec_prefix.
15038test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15039
15040DEFS=-DHAVE_CONFIG_H
15041
15042ac_libobjs=
15043ac_ltlibobjs=
15044U=
15045for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15046  # 1. Remove the extension, and $U if already installed.
15047  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15048  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15049  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15050  #    will be set to the directory where LIBOBJS objects are built.
15051  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15052  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15053done
15054LIBOBJS=$ac_libobjs
15055
15056LTLIBOBJS=$ac_ltlibobjs
15057
15058
15059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15060$as_echo_n "checking that generated files are newer than configure... " >&6; }
15061   if test -n "$am_sleep_pid"; then
15062     # Hide warnings about reused PIDs.
15063     wait $am_sleep_pid 2>/dev/null
15064   fi
15065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15066$as_echo "done" >&6; }
15067 if test -n "$EXEEXT"; then
15068  am__EXEEXT_TRUE=
15069  am__EXEEXT_FALSE='#'
15070else
15071  am__EXEEXT_TRUE='#'
15072  am__EXEEXT_FALSE=
15073fi
15074
15075if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15076  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15077Usually this means the macro was only invoked conditionally." "$LINENO" 5
15078fi
15079if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15080  as_fn_error $? "conditional \"AMDEP\" was never defined.
15081Usually this means the macro was only invoked conditionally." "$LINENO" 5
15082fi
15083if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15084  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15085Usually this means the macro was only invoked conditionally." "$LINENO" 5
15086fi
15087if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15088  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15089Usually this means the macro was only invoked conditionally." "$LINENO" 5
15090fi
15091if test -z "${CODE_COVERAGE_ENABLED_TRUE}" && test -z "${CODE_COVERAGE_ENABLED_FALSE}"; then
15092  as_fn_error $? "conditional \"CODE_COVERAGE_ENABLED\" was never defined.
15093Usually this means the macro was only invoked conditionally." "$LINENO" 5
15094fi
15095
15096if test -z "${USE_LIBUNWIND_TRUE}" && test -z "${USE_LIBUNWIND_FALSE}"; then
15097  as_fn_error $? "conditional \"USE_LIBUNWIND\" was never defined.
15098Usually this means the macro was only invoked conditionally." "$LINENO" 5
15099fi
15100if test -z "${USE_DEMANGLE_TRUE}" && test -z "${USE_DEMANGLE_FALSE}"; then
15101  as_fn_error $? "conditional \"USE_DEMANGLE\" was never defined.
15102Usually this means the macro was only invoked conditionally." "$LINENO" 5
15103fi
15104if test -z "${HAVE_M32_RUNTIME_TRUE}" && test -z "${HAVE_M32_RUNTIME_FALSE}"; then
15105  as_fn_error $? "conditional \"HAVE_M32_RUNTIME\" was never defined.
15106Usually this means the macro was only invoked conditionally." "$LINENO" 5
15107fi
15108if test -z "${HAVE_M32_MPERS_TRUE}" && test -z "${HAVE_M32_MPERS_FALSE}"; then
15109  as_fn_error $? "conditional \"HAVE_M32_MPERS\" was never defined.
15110Usually this means the macro was only invoked conditionally." "$LINENO" 5
15111fi
15112if test -z "${HAVE_MX32_RUNTIME_TRUE}" && test -z "${HAVE_MX32_RUNTIME_FALSE}"; then
15113  as_fn_error $? "conditional \"HAVE_MX32_RUNTIME\" was never defined.
15114Usually this means the macro was only invoked conditionally." "$LINENO" 5
15115fi
15116if test -z "${HAVE_MX32_MPERS_TRUE}" && test -z "${HAVE_MX32_MPERS_FALSE}"; then
15117  as_fn_error $? "conditional \"HAVE_MX32_MPERS\" was never defined.
15118Usually this means the macro was only invoked conditionally." "$LINENO" 5
15119fi
15120if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then
15121  as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined.
15122Usually this means the macro was only invoked conditionally." "$LINENO" 5
15123fi
15124
15125: "${CONFIG_STATUS=./config.status}"
15126ac_write_fail=0
15127ac_clean_files_save=$ac_clean_files
15128ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15129{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15130$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15131as_write_fail=0
15132cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15133#! $SHELL
15134# Generated by $as_me.
15135# Run this file to recreate the current configuration.
15136# Compiler output produced by configure, useful for debugging
15137# configure, is in config.log if it exists.
15138
15139debug=false
15140ac_cs_recheck=false
15141ac_cs_silent=false
15142
15143SHELL=\${CONFIG_SHELL-$SHELL}
15144export SHELL
15145_ASEOF
15146cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15147## -------------------- ##
15148## M4sh Initialization. ##
15149## -------------------- ##
15150
15151# Be more Bourne compatible
15152DUALCASE=1; export DUALCASE # for MKS sh
15153if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15154  emulate sh
15155  NULLCMD=:
15156  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15157  # is contrary to our usage.  Disable this feature.
15158  alias -g '${1+"$@"}'='"$@"'
15159  setopt NO_GLOB_SUBST
15160else
15161  case `(set -o) 2>/dev/null` in #(
15162  *posix*) :
15163    set -o posix ;; #(
15164  *) :
15165     ;;
15166esac
15167fi
15168
15169
15170as_nl='
15171'
15172export as_nl
15173# Printing a long string crashes Solaris 7 /usr/bin/printf.
15174as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15175as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15176as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15177# Prefer a ksh shell builtin over an external printf program on Solaris,
15178# but without wasting forks for bash or zsh.
15179if test -z "$BASH_VERSION$ZSH_VERSION" \
15180    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15181  as_echo='print -r --'
15182  as_echo_n='print -rn --'
15183elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15184  as_echo='printf %s\n'
15185  as_echo_n='printf %s'
15186else
15187  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15188    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15189    as_echo_n='/usr/ucb/echo -n'
15190  else
15191    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15192    as_echo_n_body='eval
15193      arg=$1;
15194      case $arg in #(
15195      *"$as_nl"*)
15196	expr "X$arg" : "X\\(.*\\)$as_nl";
15197	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15198      esac;
15199      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15200    '
15201    export as_echo_n_body
15202    as_echo_n='sh -c $as_echo_n_body as_echo'
15203  fi
15204  export as_echo_body
15205  as_echo='sh -c $as_echo_body as_echo'
15206fi
15207
15208# The user is always right.
15209if test "${PATH_SEPARATOR+set}" != set; then
15210  PATH_SEPARATOR=:
15211  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15212    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15213      PATH_SEPARATOR=';'
15214  }
15215fi
15216
15217
15218# IFS
15219# We need space, tab and new line, in precisely that order.  Quoting is
15220# there to prevent editors from complaining about space-tab.
15221# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15222# splitting by setting IFS to empty value.)
15223IFS=" ""	$as_nl"
15224
15225# Find who we are.  Look in the path if we contain no directory separator.
15226as_myself=
15227case $0 in #((
15228  *[\\/]* ) as_myself=$0 ;;
15229  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15230for as_dir in $PATH
15231do
15232  IFS=$as_save_IFS
15233  test -z "$as_dir" && as_dir=.
15234    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15235  done
15236IFS=$as_save_IFS
15237
15238     ;;
15239esac
15240# We did not find ourselves, most probably we were run as `sh COMMAND'
15241# in which case we are not to be found in the path.
15242if test "x$as_myself" = x; then
15243  as_myself=$0
15244fi
15245if test ! -f "$as_myself"; then
15246  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15247  exit 1
15248fi
15249
15250# Unset variables that we do not need and which cause bugs (e.g. in
15251# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15252# suppresses any "Segmentation fault" message there.  '((' could
15253# trigger a bug in pdksh 5.2.14.
15254for as_var in BASH_ENV ENV MAIL MAILPATH
15255do eval test x\${$as_var+set} = xset \
15256  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15257done
15258PS1='$ '
15259PS2='> '
15260PS4='+ '
15261
15262# NLS nuisances.
15263LC_ALL=C
15264export LC_ALL
15265LANGUAGE=C
15266export LANGUAGE
15267
15268# CDPATH.
15269(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15270
15271
15272# as_fn_error STATUS ERROR [LINENO LOG_FD]
15273# ----------------------------------------
15274# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15275# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15276# script with STATUS, using 1 if that was 0.
15277as_fn_error ()
15278{
15279  as_status=$1; test $as_status -eq 0 && as_status=1
15280  if test "$4"; then
15281    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15282    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15283  fi
15284  $as_echo "$as_me: error: $2" >&2
15285  as_fn_exit $as_status
15286} # as_fn_error
15287
15288
15289# as_fn_set_status STATUS
15290# -----------------------
15291# Set $? to STATUS, without forking.
15292as_fn_set_status ()
15293{
15294  return $1
15295} # as_fn_set_status
15296
15297# as_fn_exit STATUS
15298# -----------------
15299# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15300as_fn_exit ()
15301{
15302  set +e
15303  as_fn_set_status $1
15304  exit $1
15305} # as_fn_exit
15306
15307# as_fn_unset VAR
15308# ---------------
15309# Portably unset VAR.
15310as_fn_unset ()
15311{
15312  { eval $1=; unset $1;}
15313}
15314as_unset=as_fn_unset
15315# as_fn_append VAR VALUE
15316# ----------------------
15317# Append the text in VALUE to the end of the definition contained in VAR. Take
15318# advantage of any shell optimizations that allow amortized linear growth over
15319# repeated appends, instead of the typical quadratic growth present in naive
15320# implementations.
15321if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15322  eval 'as_fn_append ()
15323  {
15324    eval $1+=\$2
15325  }'
15326else
15327  as_fn_append ()
15328  {
15329    eval $1=\$$1\$2
15330  }
15331fi # as_fn_append
15332
15333# as_fn_arith ARG...
15334# ------------------
15335# Perform arithmetic evaluation on the ARGs, and store the result in the
15336# global $as_val. Take advantage of shells that can avoid forks. The arguments
15337# must be portable across $(()) and expr.
15338if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15339  eval 'as_fn_arith ()
15340  {
15341    as_val=$(( $* ))
15342  }'
15343else
15344  as_fn_arith ()
15345  {
15346    as_val=`expr "$@" || test $? -eq 1`
15347  }
15348fi # as_fn_arith
15349
15350
15351if expr a : '\(a\)' >/dev/null 2>&1 &&
15352   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15353  as_expr=expr
15354else
15355  as_expr=false
15356fi
15357
15358if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15359  as_basename=basename
15360else
15361  as_basename=false
15362fi
15363
15364if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15365  as_dirname=dirname
15366else
15367  as_dirname=false
15368fi
15369
15370as_me=`$as_basename -- "$0" ||
15371$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15372	 X"$0" : 'X\(//\)$' \| \
15373	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15374$as_echo X/"$0" |
15375    sed '/^.*\/\([^/][^/]*\)\/*$/{
15376	    s//\1/
15377	    q
15378	  }
15379	  /^X\/\(\/\/\)$/{
15380	    s//\1/
15381	    q
15382	  }
15383	  /^X\/\(\/\).*/{
15384	    s//\1/
15385	    q
15386	  }
15387	  s/.*/./; q'`
15388
15389# Avoid depending upon Character Ranges.
15390as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15391as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15392as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15393as_cr_digits='0123456789'
15394as_cr_alnum=$as_cr_Letters$as_cr_digits
15395
15396ECHO_C= ECHO_N= ECHO_T=
15397case `echo -n x` in #(((((
15398-n*)
15399  case `echo 'xy\c'` in
15400  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15401  xy)  ECHO_C='\c';;
15402  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15403       ECHO_T='	';;
15404  esac;;
15405*)
15406  ECHO_N='-n';;
15407esac
15408
15409rm -f conf$$ conf$$.exe conf$$.file
15410if test -d conf$$.dir; then
15411  rm -f conf$$.dir/conf$$.file
15412else
15413  rm -f conf$$.dir
15414  mkdir conf$$.dir 2>/dev/null
15415fi
15416if (echo >conf$$.file) 2>/dev/null; then
15417  if ln -s conf$$.file conf$$ 2>/dev/null; then
15418    as_ln_s='ln -s'
15419    # ... but there are two gotchas:
15420    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15421    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15422    # In both cases, we have to default to `cp -pR'.
15423    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15424      as_ln_s='cp -pR'
15425  elif ln conf$$.file conf$$ 2>/dev/null; then
15426    as_ln_s=ln
15427  else
15428    as_ln_s='cp -pR'
15429  fi
15430else
15431  as_ln_s='cp -pR'
15432fi
15433rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15434rmdir conf$$.dir 2>/dev/null
15435
15436
15437# as_fn_mkdir_p
15438# -------------
15439# Create "$as_dir" as a directory, including parents if necessary.
15440as_fn_mkdir_p ()
15441{
15442
15443  case $as_dir in #(
15444  -*) as_dir=./$as_dir;;
15445  esac
15446  test -d "$as_dir" || eval $as_mkdir_p || {
15447    as_dirs=
15448    while :; do
15449      case $as_dir in #(
15450      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15451      *) as_qdir=$as_dir;;
15452      esac
15453      as_dirs="'$as_qdir' $as_dirs"
15454      as_dir=`$as_dirname -- "$as_dir" ||
15455$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15456	 X"$as_dir" : 'X\(//\)[^/]' \| \
15457	 X"$as_dir" : 'X\(//\)$' \| \
15458	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15459$as_echo X"$as_dir" |
15460    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15461	    s//\1/
15462	    q
15463	  }
15464	  /^X\(\/\/\)[^/].*/{
15465	    s//\1/
15466	    q
15467	  }
15468	  /^X\(\/\/\)$/{
15469	    s//\1/
15470	    q
15471	  }
15472	  /^X\(\/\).*/{
15473	    s//\1/
15474	    q
15475	  }
15476	  s/.*/./; q'`
15477      test -d "$as_dir" && break
15478    done
15479    test -z "$as_dirs" || eval "mkdir $as_dirs"
15480  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15481
15482
15483} # as_fn_mkdir_p
15484if mkdir -p . 2>/dev/null; then
15485  as_mkdir_p='mkdir -p "$as_dir"'
15486else
15487  test -d ./-p && rmdir ./-p
15488  as_mkdir_p=false
15489fi
15490
15491
15492# as_fn_executable_p FILE
15493# -----------------------
15494# Test if FILE is an executable regular file.
15495as_fn_executable_p ()
15496{
15497  test -f "$1" && test -x "$1"
15498} # as_fn_executable_p
15499as_test_x='test -x'
15500as_executable_p=as_fn_executable_p
15501
15502# Sed expression to map a string onto a valid CPP name.
15503as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15504
15505# Sed expression to map a string onto a valid variable name.
15506as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15507
15508
15509exec 6>&1
15510## ----------------------------------- ##
15511## Main body of $CONFIG_STATUS script. ##
15512## ----------------------------------- ##
15513_ASEOF
15514test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15515
15516cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15517# Save the log message, to keep $0 and so on meaningful, and to
15518# report actual input values of CONFIG_FILES etc. instead of their
15519# values after options handling.
15520ac_log="
15521This file was extended by strace $as_me 4.21, which was
15522generated by GNU Autoconf 2.69.  Invocation command line was
15523
15524  CONFIG_FILES    = $CONFIG_FILES
15525  CONFIG_HEADERS  = $CONFIG_HEADERS
15526  CONFIG_LINKS    = $CONFIG_LINKS
15527  CONFIG_COMMANDS = $CONFIG_COMMANDS
15528  $ $0 $@
15529
15530on `(hostname || uname -n) 2>/dev/null | sed 1q`
15531"
15532
15533_ACEOF
15534
15535case $ac_config_files in *"
15536"*) set x $ac_config_files; shift; ac_config_files=$*;;
15537esac
15538
15539case $ac_config_headers in *"
15540"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15541esac
15542
15543
15544cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15545# Files that config.status was made for.
15546config_files="$ac_config_files"
15547config_headers="$ac_config_headers"
15548config_commands="$ac_config_commands"
15549
15550_ACEOF
15551
15552cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15553ac_cs_usage="\
15554\`$as_me' instantiates files and other configuration actions
15555from templates according to the current configuration.  Unless the files
15556and actions are specified as TAGs, all are instantiated by default.
15557
15558Usage: $0 [OPTION]... [TAG]...
15559
15560  -h, --help       print this help, then exit
15561  -V, --version    print version number and configuration settings, then exit
15562      --config     print configuration, then exit
15563  -q, --quiet, --silent
15564                   do not print progress messages
15565  -d, --debug      don't remove temporary files
15566      --recheck    update $as_me by reconfiguring in the same conditions
15567      --file=FILE[:TEMPLATE]
15568                   instantiate the configuration file FILE
15569      --header=FILE[:TEMPLATE]
15570                   instantiate the configuration header FILE
15571
15572Configuration files:
15573$config_files
15574
15575Configuration headers:
15576$config_headers
15577
15578Configuration commands:
15579$config_commands
15580
15581Report bugs to <strace-devel@lists.sourceforge.net>.
15582strace home page: <https://strace.io>."
15583
15584_ACEOF
15585cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15586ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15587ac_cs_version="\\
15588strace config.status 4.21
15589configured by $0, generated by GNU Autoconf 2.69,
15590  with options \\"\$ac_cs_config\\"
15591
15592Copyright (C)  Free Software Foundation, Inc.
15593This config.status script is free software; the Free Software Foundation
15594gives unlimited permission to copy, distribute and modify it."
15595
15596ac_pwd='$ac_pwd'
15597srcdir='$srcdir'
15598INSTALL='$INSTALL'
15599MKDIR_P='$MKDIR_P'
15600AWK='$AWK'
15601test -n "\$AWK" || AWK=awk
15602_ACEOF
15603
15604cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15605# The default lists apply if the user does not specify any file.
15606ac_need_defaults=:
15607while test $# != 0
15608do
15609  case $1 in
15610  --*=?*)
15611    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15612    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15613    ac_shift=:
15614    ;;
15615  --*=)
15616    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15617    ac_optarg=
15618    ac_shift=:
15619    ;;
15620  *)
15621    ac_option=$1
15622    ac_optarg=$2
15623    ac_shift=shift
15624    ;;
15625  esac
15626
15627  case $ac_option in
15628  # Handling of the options.
15629  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15630    ac_cs_recheck=: ;;
15631  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15632    $as_echo "$ac_cs_version"; exit ;;
15633  --config | --confi | --conf | --con | --co | --c )
15634    $as_echo "$ac_cs_config"; exit ;;
15635  --debug | --debu | --deb | --de | --d | -d )
15636    debug=: ;;
15637  --file | --fil | --fi | --f )
15638    $ac_shift
15639    case $ac_optarg in
15640    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15641    '') as_fn_error $? "missing file argument" ;;
15642    esac
15643    as_fn_append CONFIG_FILES " '$ac_optarg'"
15644    ac_need_defaults=false;;
15645  --header | --heade | --head | --hea )
15646    $ac_shift
15647    case $ac_optarg in
15648    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15649    esac
15650    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15651    ac_need_defaults=false;;
15652  --he | --h)
15653    # Conflict between --help and --header
15654    as_fn_error $? "ambiguous option: \`$1'
15655Try \`$0 --help' for more information.";;
15656  --help | --hel | -h )
15657    $as_echo "$ac_cs_usage"; exit ;;
15658  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15659  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15660    ac_cs_silent=: ;;
15661
15662  # This is an error.
15663  -*) as_fn_error $? "unrecognized option: \`$1'
15664Try \`$0 --help' for more information." ;;
15665
15666  *) as_fn_append ac_config_targets " $1"
15667     ac_need_defaults=false ;;
15668
15669  esac
15670  shift
15671done
15672
15673ac_configure_extra_args=
15674
15675if $ac_cs_silent; then
15676  exec 6>/dev/null
15677  ac_configure_extra_args="$ac_configure_extra_args --silent"
15678fi
15679
15680_ACEOF
15681cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15682if \$ac_cs_recheck; then
15683  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15684  shift
15685  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15686  CONFIG_SHELL='$SHELL'
15687  export CONFIG_SHELL
15688  exec "\$@"
15689fi
15690
15691_ACEOF
15692cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15693exec 5>>config.log
15694{
15695  echo
15696  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15697## Running $as_me. ##
15698_ASBOX
15699  $as_echo "$ac_log"
15700} >&5
15701
15702_ACEOF
15703cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15704#
15705# INIT-COMMANDS
15706#
15707AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15708
15709_ACEOF
15710
15711cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15712
15713# Handling of arguments.
15714for ac_config_target in $ac_config_targets
15715do
15716  case $ac_config_target in
15717    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15718    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15719    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15720    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15721    "tests-m32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-m32/Makefile" ;;
15722    "tests-mx32/Makefile") CONFIG_FILES="$CONFIG_FILES tests-mx32/Makefile" ;;
15723    "strace.1") CONFIG_FILES="$CONFIG_FILES strace.1" ;;
15724    "strace-log-merge.1") CONFIG_FILES="$CONFIG_FILES strace-log-merge.1" ;;
15725    "strace.spec") CONFIG_FILES="$CONFIG_FILES strace.spec" ;;
15726    "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;;
15727
15728  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15729  esac
15730done
15731
15732
15733# If the user did not use the arguments to specify the items to instantiate,
15734# then the envvar interface is used.  Set only those that are not.
15735# We use the long form for the default assignment because of an extremely
15736# bizarre bug on SunOS 4.1.3.
15737if $ac_need_defaults; then
15738  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15739  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15740  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15741fi
15742
15743# Have a temporary directory for convenience.  Make it in the build tree
15744# simply because there is no reason against having it here, and in addition,
15745# creating and moving files from /tmp can sometimes cause problems.
15746# Hook for its removal unless debugging.
15747# Note that there is a small window in which the directory will not be cleaned:
15748# after its creation but before its name has been assigned to `$tmp'.
15749$debug ||
15750{
15751  tmp= ac_tmp=
15752  trap 'exit_status=$?
15753  : "${ac_tmp:=$tmp}"
15754  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15755' 0
15756  trap 'as_fn_exit 1' 1 2 13 15
15757}
15758# Create a (secure) tmp directory for tmp files.
15759
15760{
15761  tmp=`(umask 077 && mktemp -d "./confXXXXXX")` &&
15762  test -n "$tmp" && test -d "$tmp"
15763} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15764ac_tmp=$tmp
15765
15766# Set up the scripts for CONFIG_FILES section.
15767# No need to generate them if there are no CONFIG_FILES.
15768# This happens for instance with `./config.status config.h'.
15769if test -n "$CONFIG_FILES"; then
15770
15771
15772ac_cr=`echo X | tr X '\015'`
15773# On cygwin, bash can eat \r inside `` if the user requested igncr.
15774# But we know of no other shell where ac_cr would be empty at this
15775# point, so we can use a bashism as a fallback.
15776if test "x$ac_cr" = x; then
15777  eval ac_cr=\$\'\\r\'
15778fi
15779ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15780if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15781  ac_cs_awk_cr='\\r'
15782else
15783  ac_cs_awk_cr=$ac_cr
15784fi
15785
15786echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15787_ACEOF
15788
15789
15790{
15791  echo "cat >conf$$subs.awk <<_ACEOF" &&
15792  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15793  echo "_ACEOF"
15794} >conf$$subs.sh ||
15795  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15796ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15797ac_delim='%!_!# '
15798for ac_last_try in false false false false false :; do
15799  . ./conf$$subs.sh ||
15800    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15801
15802  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15803  if test $ac_delim_n = $ac_delim_num; then
15804    break
15805  elif $ac_last_try; then
15806    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15807  else
15808    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15809  fi
15810done
15811rm -f conf$$subs.sh
15812
15813cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15814cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15815_ACEOF
15816sed -n '
15817h
15818s/^/S["/; s/!.*/"]=/
15819p
15820g
15821s/^[^!]*!//
15822:repl
15823t repl
15824s/'"$ac_delim"'$//
15825t delim
15826:nl
15827h
15828s/\(.\{148\}\)..*/\1/
15829t more1
15830s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15831p
15832n
15833b repl
15834:more1
15835s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15836p
15837g
15838s/.\{148\}//
15839t nl
15840:delim
15841h
15842s/\(.\{148\}\)..*/\1/
15843t more2
15844s/["\\]/\\&/g; s/^/"/; s/$/"/
15845p
15846b
15847:more2
15848s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15849p
15850g
15851s/.\{148\}//
15852t delim
15853' <conf$$subs.awk | sed '
15854/^[^""]/{
15855  N
15856  s/\n//
15857}
15858' >>$CONFIG_STATUS || ac_write_fail=1
15859rm -f conf$$subs.awk
15860cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15861_ACAWK
15862cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15863  for (key in S) S_is_set[key] = 1
15864  FS = ""
15865
15866}
15867{
15868  line = $ 0
15869  nfields = split(line, field, "@")
15870  substed = 0
15871  len = length(field[1])
15872  for (i = 2; i < nfields; i++) {
15873    key = field[i]
15874    keylen = length(key)
15875    if (S_is_set[key]) {
15876      value = S[key]
15877      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15878      len += length(value) + length(field[++i])
15879      substed = 1
15880    } else
15881      len += 1 + keylen
15882  }
15883
15884  print line
15885}
15886
15887_ACAWK
15888_ACEOF
15889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15891  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15892else
15893  cat
15894fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15895  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15896_ACEOF
15897
15898# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15899# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15900# trailing colons and then remove the whole line if VPATH becomes empty
15901# (actually we leave an empty line to preserve line numbers).
15902if test "x$srcdir" = x.; then
15903  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15904h
15905s///
15906s/^/:/
15907s/[	 ]*$/:/
15908s/:\$(srcdir):/:/g
15909s/:\${srcdir}:/:/g
15910s/:@srcdir@:/:/g
15911s/^:*//
15912s/:*$//
15913x
15914s/\(=[	 ]*\).*/\1/
15915G
15916s/\n//
15917s/^[^=]*=[	 ]*$//
15918}'
15919fi
15920
15921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922fi # test -n "$CONFIG_FILES"
15923
15924# Set up the scripts for CONFIG_HEADERS section.
15925# No need to generate them if there are no CONFIG_HEADERS.
15926# This happens for instance with `./config.status Makefile'.
15927if test -n "$CONFIG_HEADERS"; then
15928cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15929BEGIN {
15930_ACEOF
15931
15932# Transform confdefs.h into an awk script `defines.awk', embedded as
15933# here-document in config.status, that substitutes the proper values into
15934# config.h.in to produce config.h.
15935
15936# Create a delimiter string that does not exist in confdefs.h, to ease
15937# handling of long lines.
15938ac_delim='%!_!# '
15939for ac_last_try in false false :; do
15940  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15941  if test -z "$ac_tt"; then
15942    break
15943  elif $ac_last_try; then
15944    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15945  else
15946    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15947  fi
15948done
15949
15950# For the awk script, D is an array of macro values keyed by name,
15951# likewise P contains macro parameters if any.  Preserve backslash
15952# newline sequences.
15953
15954ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15955sed -n '
15956s/.\{148\}/&'"$ac_delim"'/g
15957t rset
15958:rset
15959s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15960t def
15961d
15962:def
15963s/\\$//
15964t bsnl
15965s/["\\]/\\&/g
15966s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15967D["\1"]=" \3"/p
15968s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15969d
15970:bsnl
15971s/["\\]/\\&/g
15972s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15973D["\1"]=" \3\\\\\\n"\\/p
15974t cont
15975s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15976t cont
15977d
15978:cont
15979n
15980s/.\{148\}/&'"$ac_delim"'/g
15981t clear
15982:clear
15983s/\\$//
15984t bsnlc
15985s/["\\]/\\&/g; s/^/"/; s/$/"/p
15986d
15987:bsnlc
15988s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15989b cont
15990' <confdefs.h | sed '
15991s/'"$ac_delim"'/"\\\
15992"/g' >>$CONFIG_STATUS || ac_write_fail=1
15993
15994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15995  for (key in D) D_is_set[key] = 1
15996  FS = ""
15997}
15998/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15999  line = \$ 0
16000  split(line, arg, " ")
16001  if (arg[1] == "#") {
16002    defundef = arg[2]
16003    mac1 = arg[3]
16004  } else {
16005    defundef = substr(arg[1], 2)
16006    mac1 = arg[2]
16007  }
16008  split(mac1, mac2, "(") #)
16009  macro = mac2[1]
16010  prefix = substr(line, 1, index(line, defundef) - 1)
16011  if (D_is_set[macro]) {
16012    # Preserve the white space surrounding the "#".
16013    print prefix "define", macro P[macro] D[macro]
16014    next
16015  } else {
16016    # Replace #undef with comments.  This is necessary, for example,
16017    # in the case of _POSIX_SOURCE, which is predefined and required
16018    # on some systems where configure will not decide to define it.
16019    if (defundef == "undef") {
16020      print "/*", prefix defundef, macro, "*/"
16021      next
16022    }
16023  }
16024}
16025{ print }
16026_ACAWK
16027_ACEOF
16028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16029  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16030fi # test -n "$CONFIG_HEADERS"
16031
16032
16033eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16034shift
16035for ac_tag
16036do
16037  case $ac_tag in
16038  :[FHLC]) ac_mode=$ac_tag; continue;;
16039  esac
16040  case $ac_mode$ac_tag in
16041  :[FHL]*:*);;
16042  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16043  :[FH]-) ac_tag=-:-;;
16044  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16045  esac
16046  ac_save_IFS=$IFS
16047  IFS=:
16048  set x $ac_tag
16049  IFS=$ac_save_IFS
16050  shift
16051  ac_file=$1
16052  shift
16053
16054  case $ac_mode in
16055  :L) ac_source=$1;;
16056  :[FH])
16057    ac_file_inputs=
16058    for ac_f
16059    do
16060      case $ac_f in
16061      -) ac_f="$ac_tmp/stdin";;
16062      *) # Look for the file first in the build tree, then in the source tree
16063	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16064	 # because $ac_f cannot contain `:'.
16065	 test -f "$ac_f" ||
16066	   case $ac_f in
16067	   [\\/$]*) false;;
16068	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16069	   esac ||
16070	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16071      esac
16072      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16073      as_fn_append ac_file_inputs " '$ac_f'"
16074    done
16075
16076    # Let's still pretend it is `configure' which instantiates (i.e., don't
16077    # use $as_me), people would be surprised to read:
16078    #    /* config.h.  Generated by config.status.  */
16079    configure_input='Generated from '`
16080	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16081	`' by configure.'
16082    if test x"$ac_file" != x-; then
16083      configure_input="$ac_file.  $configure_input"
16084      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16085$as_echo "$as_me: creating $ac_file" >&6;}
16086    fi
16087    # Neutralize special characters interpreted by sed in replacement strings.
16088    case $configure_input in #(
16089    *\&* | *\|* | *\\* )
16090       ac_sed_conf_input=`$as_echo "$configure_input" |
16091       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16092    *) ac_sed_conf_input=$configure_input;;
16093    esac
16094
16095    case $ac_tag in
16096    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16097      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16098    esac
16099    ;;
16100  esac
16101
16102  ac_dir=`$as_dirname -- "$ac_file" ||
16103$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16104	 X"$ac_file" : 'X\(//\)[^/]' \| \
16105	 X"$ac_file" : 'X\(//\)$' \| \
16106	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16107$as_echo X"$ac_file" |
16108    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16109	    s//\1/
16110	    q
16111	  }
16112	  /^X\(\/\/\)[^/].*/{
16113	    s//\1/
16114	    q
16115	  }
16116	  /^X\(\/\/\)$/{
16117	    s//\1/
16118	    q
16119	  }
16120	  /^X\(\/\).*/{
16121	    s//\1/
16122	    q
16123	  }
16124	  s/.*/./; q'`
16125  as_dir="$ac_dir"; as_fn_mkdir_p
16126  ac_builddir=.
16127
16128case "$ac_dir" in
16129.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16130*)
16131  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16132  # A ".." for each directory in $ac_dir_suffix.
16133  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16134  case $ac_top_builddir_sub in
16135  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16136  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16137  esac ;;
16138esac
16139ac_abs_top_builddir=$ac_pwd
16140ac_abs_builddir=$ac_pwd$ac_dir_suffix
16141# for backward compatibility:
16142ac_top_builddir=$ac_top_build_prefix
16143
16144case $srcdir in
16145  .)  # We are building in place.
16146    ac_srcdir=.
16147    ac_top_srcdir=$ac_top_builddir_sub
16148    ac_abs_top_srcdir=$ac_pwd ;;
16149  [\\/]* | ?:[\\/]* )  # Absolute name.
16150    ac_srcdir=$srcdir$ac_dir_suffix;
16151    ac_top_srcdir=$srcdir
16152    ac_abs_top_srcdir=$srcdir ;;
16153  *) # Relative name.
16154    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16155    ac_top_srcdir=$ac_top_build_prefix$srcdir
16156    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16157esac
16158ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16159
16160
16161  case $ac_mode in
16162  :F)
16163  #
16164  # CONFIG_FILE
16165  #
16166
16167  case $INSTALL in
16168  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16169  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16170  esac
16171  ac_MKDIR_P=$MKDIR_P
16172  case $MKDIR_P in
16173  [\\/$]* | ?:[\\/]* ) ;;
16174  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16175  esac
16176_ACEOF
16177
16178cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16179# If the template does not know about datarootdir, expand it.
16180# FIXME: This hack should be removed a few years after 2.60.
16181ac_datarootdir_hack=; ac_datarootdir_seen=
16182ac_sed_dataroot='
16183/datarootdir/ {
16184  p
16185  q
16186}
16187/@datadir@/p
16188/@docdir@/p
16189/@infodir@/p
16190/@localedir@/p
16191/@mandir@/p'
16192case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16193*datarootdir*) ac_datarootdir_seen=yes;;
16194*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16195  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16196$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16197_ACEOF
16198cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16199  ac_datarootdir_hack='
16200  s&@datadir@&$datadir&g
16201  s&@docdir@&$docdir&g
16202  s&@infodir@&$infodir&g
16203  s&@localedir@&$localedir&g
16204  s&@mandir@&$mandir&g
16205  s&\\\${datarootdir}&$datarootdir&g' ;;
16206esac
16207_ACEOF
16208
16209# Neutralize VPATH when `$srcdir' = `.'.
16210# Shell code in configure.ac might set extrasub.
16211# FIXME: do we really want to maintain this feature?
16212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16213ac_sed_extra="$ac_vpsub
16214$extrasub
16215_ACEOF
16216cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16217:t
16218/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16219s|@configure_input@|$ac_sed_conf_input|;t t
16220s&@top_builddir@&$ac_top_builddir_sub&;t t
16221s&@top_build_prefix@&$ac_top_build_prefix&;t t
16222s&@srcdir@&$ac_srcdir&;t t
16223s&@abs_srcdir@&$ac_abs_srcdir&;t t
16224s&@top_srcdir@&$ac_top_srcdir&;t t
16225s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16226s&@builddir@&$ac_builddir&;t t
16227s&@abs_builddir@&$ac_abs_builddir&;t t
16228s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16229s&@INSTALL@&$ac_INSTALL&;t t
16230s&@MKDIR_P@&$ac_MKDIR_P&;t t
16231$ac_datarootdir_hack
16232"
16233eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16234  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16235
16236test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16237  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16238  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16239      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16240  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16241which seems to be undefined.  Please make sure it is defined" >&5
16242$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16243which seems to be undefined.  Please make sure it is defined" >&2;}
16244
16245  rm -f "$ac_tmp/stdin"
16246  case $ac_file in
16247  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16248  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16249  esac \
16250  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16251 ;;
16252  :H)
16253  #
16254  # CONFIG_HEADER
16255  #
16256  if test x"$ac_file" != x-; then
16257    {
16258      $as_echo "/* $configure_input  */" \
16259      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16260    } >"$ac_tmp/config.h" \
16261      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16262    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16263      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16264$as_echo "$as_me: $ac_file is unchanged" >&6;}
16265    else
16266      rm -f "$ac_file"
16267      mv "$ac_tmp/config.h" "$ac_file" \
16268	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16269    fi
16270  else
16271    $as_echo "/* $configure_input  */" \
16272      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16273      || as_fn_error $? "could not create -" "$LINENO" 5
16274  fi
16275# Compute "$ac_file"'s index in $config_headers.
16276_am_arg="$ac_file"
16277_am_stamp_count=1
16278for _am_header in $config_headers :; do
16279  case $_am_header in
16280    $_am_arg | $_am_arg:* )
16281      break ;;
16282    * )
16283      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16284  esac
16285done
16286echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16287$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16288	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16289	 X"$_am_arg" : 'X\(//\)$' \| \
16290	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16291$as_echo X"$_am_arg" |
16292    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16293	    s//\1/
16294	    q
16295	  }
16296	  /^X\(\/\/\)[^/].*/{
16297	    s//\1/
16298	    q
16299	  }
16300	  /^X\(\/\/\)$/{
16301	    s//\1/
16302	    q
16303	  }
16304	  /^X\(\/\).*/{
16305	    s//\1/
16306	    q
16307	  }
16308	  s/.*/./; q'`/stamp-h$_am_stamp_count
16309 ;;
16310
16311  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16312$as_echo "$as_me: executing $ac_file commands" >&6;}
16313 ;;
16314  esac
16315
16316
16317  case $ac_file$ac_mode in
16318    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16319  # Older Autoconf quotes --file arguments for eval, but not when files
16320  # are listed without --file.  Let's play safe and only enable the eval
16321  # if we detect the quoting.
16322  case $CONFIG_FILES in
16323  *\'*) eval set x "$CONFIG_FILES" ;;
16324  *)   set x $CONFIG_FILES ;;
16325  esac
16326  shift
16327  for mf
16328  do
16329    # Strip MF so we end up with the name of the file.
16330    mf=`echo "$mf" | sed -e 's/:.*$//'`
16331    # Check whether this is an Automake generated Makefile or not.
16332    # We used to match only the files named 'Makefile.in', but
16333    # some people rename them; so instead we look at the file content.
16334    # Grep'ing the first line is not enough: some people post-process
16335    # each Makefile.in and add a new line on top of each file to say so.
16336    # Grep'ing the whole file is not good either: AIX grep has a line
16337    # limit of 2048, but all sed's we know have understand at least 4000.
16338    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16339      dirpart=`$as_dirname -- "$mf" ||
16340$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16341	 X"$mf" : 'X\(//\)[^/]' \| \
16342	 X"$mf" : 'X\(//\)$' \| \
16343	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16344$as_echo X"$mf" |
16345    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16346	    s//\1/
16347	    q
16348	  }
16349	  /^X\(\/\/\)[^/].*/{
16350	    s//\1/
16351	    q
16352	  }
16353	  /^X\(\/\/\)$/{
16354	    s//\1/
16355	    q
16356	  }
16357	  /^X\(\/\).*/{
16358	    s//\1/
16359	    q
16360	  }
16361	  s/.*/./; q'`
16362    else
16363      continue
16364    fi
16365    # Extract the definition of DEPDIR, am__include, and am__quote
16366    # from the Makefile without running 'make'.
16367    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16368    test -z "$DEPDIR" && continue
16369    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16370    test -z "$am__include" && continue
16371    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16372    # Find all dependency output files, they are included files with
16373    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16374    # simplest approach to changing $(DEPDIR) to its actual value in the
16375    # expansion.
16376    for file in `sed -n "
16377      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16378	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16379      # Make sure the directory exists.
16380      test -f "$dirpart/$file" && continue
16381      fdir=`$as_dirname -- "$file" ||
16382$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16383	 X"$file" : 'X\(//\)[^/]' \| \
16384	 X"$file" : 'X\(//\)$' \| \
16385	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16386$as_echo X"$file" |
16387    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16388	    s//\1/
16389	    q
16390	  }
16391	  /^X\(\/\/\)[^/].*/{
16392	    s//\1/
16393	    q
16394	  }
16395	  /^X\(\/\/\)$/{
16396	    s//\1/
16397	    q
16398	  }
16399	  /^X\(\/\).*/{
16400	    s//\1/
16401	    q
16402	  }
16403	  s/.*/./; q'`
16404      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16405      # echo "creating $dirpart/$file"
16406      echo '# dummy' > "$dirpart/$file"
16407    done
16408  done
16409}
16410 ;;
16411
16412  esac
16413done # for ac_tag
16414
16415
16416as_fn_exit 0
16417_ACEOF
16418ac_clean_files=$ac_clean_files_save
16419
16420test $ac_write_fail = 0 ||
16421  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16422
16423
16424# configure is writing to config.log, and then calls config.status.
16425# config.status does its own redirection, appending to config.log.
16426# Unfortunately, on DOS this fails, as config.log is still kept open
16427# by configure, so config.status won't be able to write to it; its
16428# output is simply discarded.  So we exec the FD to /dev/null,
16429# effectively closing config.log, so it can be properly (re)opened and
16430# appended to by config.status.  When coming back to configure, we
16431# need to make the FD available again.
16432if test "$no_create" != yes; then
16433  ac_cs_success=:
16434  ac_config_status_args=
16435  test "$silent" = yes &&
16436    ac_config_status_args="$ac_config_status_args --quiet"
16437  exec 5>/dev/null
16438  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16439  exec 5>>config.log
16440  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16441  # would make configure fail if this is the last instruction.
16442  $ac_cs_success || as_fn_exit 1
16443fi
16444if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16445  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16446$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16447fi
16448
16449