1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for iceauth 1.0.8.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
271$0: about your system, including any error possibly output
272$0: before this message. Then install a modern shell, or
273$0: manually run the script under such a shell if you do
274$0: have one."
275  fi
276  exit 1
277fi
278fi
279fi
280SHELL=${CONFIG_SHELL-/bin/sh}
281export SHELL
282# Unset more variables known to interfere with behavior of common tools.
283CLICOLOR_FORCE= GREP_OPTIONS=
284unset CLICOLOR_FORCE GREP_OPTIONS
285
286## --------------------- ##
287## M4sh Shell Functions. ##
288## --------------------- ##
289# as_fn_unset VAR
290# ---------------
291# Portably unset VAR.
292as_fn_unset ()
293{
294  { eval $1=; unset $1;}
295}
296as_unset=as_fn_unset
297
298# as_fn_set_status STATUS
299# -----------------------
300# Set $? to STATUS, without forking.
301as_fn_set_status ()
302{
303  return $1
304} # as_fn_set_status
305
306# as_fn_exit STATUS
307# -----------------
308# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309as_fn_exit ()
310{
311  set +e
312  as_fn_set_status $1
313  exit $1
314} # as_fn_exit
315
316# as_fn_mkdir_p
317# -------------
318# Create "$as_dir" as a directory, including parents if necessary.
319as_fn_mkdir_p ()
320{
321
322  case $as_dir in #(
323  -*) as_dir=./$as_dir;;
324  esac
325  test -d "$as_dir" || eval $as_mkdir_p || {
326    as_dirs=
327    while :; do
328      case $as_dir in #(
329      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330      *) as_qdir=$as_dir;;
331      esac
332      as_dirs="'$as_qdir' $as_dirs"
333      as_dir=`$as_dirname -- "$as_dir" ||
334$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335	 X"$as_dir" : 'X\(//\)[^/]' \| \
336	 X"$as_dir" : 'X\(//\)$' \| \
337	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338$as_echo X"$as_dir" |
339    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)[^/].*/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)$/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\).*/{
352	    s//\1/
353	    q
354	  }
355	  s/.*/./; q'`
356      test -d "$as_dir" && break
357    done
358    test -z "$as_dirs" || eval "mkdir $as_dirs"
359  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362} # as_fn_mkdir_p
363
364# as_fn_executable_p FILE
365# -----------------------
366# Test if FILE is an executable regular file.
367as_fn_executable_p ()
368{
369  test -f "$1" && test -x "$1"
370} # as_fn_executable_p
371# as_fn_append VAR VALUE
372# ----------------------
373# Append the text in VALUE to the end of the definition contained in VAR. Take
374# advantage of any shell optimizations that allow amortized linear growth over
375# repeated appends, instead of the typical quadratic growth present in naive
376# implementations.
377if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378  eval 'as_fn_append ()
379  {
380    eval $1+=\$2
381  }'
382else
383  as_fn_append ()
384  {
385    eval $1=\$$1\$2
386  }
387fi # as_fn_append
388
389# as_fn_arith ARG...
390# ------------------
391# Perform arithmetic evaluation on the ARGs, and store the result in the
392# global $as_val. Take advantage of shells that can avoid forks. The arguments
393# must be portable across $(()) and expr.
394if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395  eval 'as_fn_arith ()
396  {
397    as_val=$(( $* ))
398  }'
399else
400  as_fn_arith ()
401  {
402    as_val=`expr "$@" || test $? -eq 1`
403  }
404fi # as_fn_arith
405
406
407# as_fn_error STATUS ERROR [LINENO LOG_FD]
408# ----------------------------------------
409# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411# script with STATUS, using 1 if that was 0.
412as_fn_error ()
413{
414  as_status=$1; test $as_status -eq 0 && as_status=1
415  if test "$4"; then
416    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418  fi
419  $as_echo "$as_me: error: $2" >&2
420  as_fn_exit $as_status
421} # as_fn_error
422
423if expr a : '\(a\)' >/dev/null 2>&1 &&
424   test "X`expr 00001 : '.*\(...\)'`" = X001; then
425  as_expr=expr
426else
427  as_expr=false
428fi
429
430if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431  as_basename=basename
432else
433  as_basename=false
434fi
435
436if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437  as_dirname=dirname
438else
439  as_dirname=false
440fi
441
442as_me=`$as_basename -- "$0" ||
443$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444	 X"$0" : 'X\(//\)$' \| \
445	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446$as_echo X/"$0" |
447    sed '/^.*\/\([^/][^/]*\)\/*$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\/\)$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\).*/{
456	    s//\1/
457	    q
458	  }
459	  s/.*/./; q'`
460
461# Avoid depending upon Character Ranges.
462as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465as_cr_digits='0123456789'
466as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469  as_lineno_1=$LINENO as_lineno_1a=$LINENO
470  as_lineno_2=$LINENO as_lineno_2a=$LINENO
471  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
474  sed -n '
475    p
476    /[$]LINENO/=
477  ' <$as_myself |
478    sed '
479      s/[$]LINENO.*/&-/
480      t lineno
481      b
482      :lineno
483      N
484      :loop
485      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486      t loop
487      s/-\n.*//
488    ' >$as_me.lineno &&
489  chmod +x "$as_me.lineno" ||
490    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493  # already done that, so ensure we don't try to do so again and fall
494  # in an infinite loop.  This has already happened in practice.
495  _as_can_reexec=no; export _as_can_reexec
496  # Don't try to exec as it changes $[0], causing all sort of problems
497  # (the dirname of $[0] is not the place where we might find the
498  # original and so on.  Autoconf is especially sensitive to this).
499  . "./$as_me.lineno"
500  # Exit status is that of the last command.
501  exit
502}
503
504ECHO_C= ECHO_N= ECHO_T=
505case `echo -n x` in #(((((
506-n*)
507  case `echo 'xy\c'` in
508  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
509  xy)  ECHO_C='\c';;
510  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
511       ECHO_T='	';;
512  esac;;
513*)
514  ECHO_N='-n';;
515esac
516
517rm -f conf$$ conf$$.exe conf$$.file
518if test -d conf$$.dir; then
519  rm -f conf$$.dir/conf$$.file
520else
521  rm -f conf$$.dir
522  mkdir conf$$.dir 2>/dev/null
523fi
524if (echo >conf$$.file) 2>/dev/null; then
525  if ln -s conf$$.file conf$$ 2>/dev/null; then
526    as_ln_s='ln -s'
527    # ... but there are two gotchas:
528    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530    # In both cases, we have to default to `cp -pR'.
531    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532      as_ln_s='cp -pR'
533  elif ln conf$$.file conf$$ 2>/dev/null; then
534    as_ln_s=ln
535  else
536    as_ln_s='cp -pR'
537  fi
538else
539  as_ln_s='cp -pR'
540fi
541rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542rmdir conf$$.dir 2>/dev/null
543
544if mkdir -p . 2>/dev/null; then
545  as_mkdir_p='mkdir -p "$as_dir"'
546else
547  test -d ./-p && rmdir ./-p
548  as_mkdir_p=false
549fi
550
551as_test_x='test -x'
552as_executable_p=as_fn_executable_p
553
554# Sed expression to map a string onto a valid CPP name.
555as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557# Sed expression to map a string onto a valid variable name.
558as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561test -n "$DJDIR" || exec 7<&0 </dev/null
562exec 6>&1
563
564# Name of the host.
565# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566# so uname gets run too.
567ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569#
570# Initializations.
571#
572ac_default_prefix=/usr/local
573ac_clean_files=
574ac_config_libobj_dir=.
575LIBOBJS=
576cross_compiling=no
577subdirs=
578MFLAGS=
579MAKEFLAGS=
580
581# Identity of this package.
582PACKAGE_NAME='iceauth'
583PACKAGE_TARNAME='iceauth'
584PACKAGE_VERSION='1.0.8'
585PACKAGE_STRING='iceauth 1.0.8'
586PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
587PACKAGE_URL=''
588
589ac_unique_file="Makefile.am"
590# Factoring default headers for most tests.
591ac_includes_default="\
592#include <stdio.h>
593#ifdef HAVE_SYS_TYPES_H
594# include <sys/types.h>
595#endif
596#ifdef HAVE_SYS_STAT_H
597# include <sys/stat.h>
598#endif
599#ifdef STDC_HEADERS
600# include <stdlib.h>
601# include <stddef.h>
602#else
603# ifdef HAVE_STDLIB_H
604#  include <stdlib.h>
605# endif
606#endif
607#ifdef HAVE_STRING_H
608# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609#  include <memory.h>
610# endif
611# include <string.h>
612#endif
613#ifdef HAVE_STRINGS_H
614# include <strings.h>
615#endif
616#ifdef HAVE_INTTYPES_H
617# include <inttypes.h>
618#endif
619#ifdef HAVE_STDINT_H
620# include <stdint.h>
621#endif
622#ifdef HAVE_UNISTD_H
623# include <unistd.h>
624#endif"
625
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629LIBOBJS
630LINT_FALSE
631LINT_TRUE
632LINT_FLAGS
633LINT
634ICEAUTH_LIBS
635ICEAUTH_CFLAGS
636MAN_SUBSTS
637XORG_MAN_PAGE
638ADMIN_MAN_DIR
639DRIVER_MAN_DIR
640MISC_MAN_DIR
641FILE_MAN_DIR
642LIB_MAN_DIR
643APP_MAN_DIR
644ADMIN_MAN_SUFFIX
645DRIVER_MAN_SUFFIX
646MISC_MAN_SUFFIX
647FILE_MAN_SUFFIX
648LIB_MAN_SUFFIX
649APP_MAN_SUFFIX
650SED
651host_os
652host_vendor
653host_cpu
654host
655build_os
656build_vendor
657build_cpu
658build
659INSTALL_CMD
660PKG_CONFIG_LIBDIR
661PKG_CONFIG_PATH
662PKG_CONFIG
663CHANGELOG_CMD
664STRICT_CFLAGS
665CWARNFLAGS
666BASE_CFLAGS
667EGREP
668GREP
669CPP
670am__fastdepCC_FALSE
671am__fastdepCC_TRUE
672CCDEPMODE
673am__nodep
674AMDEPBACKSLASH
675AMDEP_FALSE
676AMDEP_TRUE
677am__quote
678am__include
679DEPDIR
680OBJEXT
681EXEEXT
682ac_ct_CC
683CPPFLAGS
684LDFLAGS
685CFLAGS
686CC
687AM_BACKSLASH
688AM_DEFAULT_VERBOSITY
689AM_DEFAULT_V
690AM_V
691am__untar
692am__tar
693AMTAR
694am__leading_dot
695SET_MAKE
696AWK
697mkdir_p
698MKDIR_P
699INSTALL_STRIP_PROGRAM
700STRIP
701install_sh
702MAKEINFO
703AUTOHEADER
704AUTOMAKE
705AUTOCONF
706ACLOCAL
707VERSION
708PACKAGE
709CYGPATH_W
710am__isrc
711INSTALL_DATA
712INSTALL_SCRIPT
713INSTALL_PROGRAM
714target_alias
715host_alias
716build_alias
717LIBS
718ECHO_T
719ECHO_N
720ECHO_C
721DEFS
722mandir
723localedir
724libdir
725psdir
726pdfdir
727dvidir
728htmldir
729infodir
730docdir
731oldincludedir
732includedir
733localstatedir
734sharedstatedir
735sysconfdir
736datadir
737datarootdir
738libexecdir
739sbindir
740bindir
741program_transform_name
742prefix
743exec_prefix
744PACKAGE_URL
745PACKAGE_BUGREPORT
746PACKAGE_STRING
747PACKAGE_VERSION
748PACKAGE_TARNAME
749PACKAGE_NAME
750PATH_SEPARATOR
751SHELL'
752ac_subst_files=''
753ac_user_opts='
754enable_option_checking
755enable_silent_rules
756enable_dependency_tracking
757enable_selective_werror
758enable_strict_compilation
759with_lint
760'
761      ac_precious_vars='build_alias
762host_alias
763target_alias
764CC
765CFLAGS
766LDFLAGS
767LIBS
768CPPFLAGS
769CPP
770PKG_CONFIG
771PKG_CONFIG_PATH
772PKG_CONFIG_LIBDIR
773ICEAUTH_CFLAGS
774ICEAUTH_LIBS
775LINT
776LINT_FLAGS'
777
778
779# Initialize some variables set by options.
780ac_init_help=
781ac_init_version=false
782ac_unrecognized_opts=
783ac_unrecognized_sep=
784# The variables have the same names as the options, with
785# dashes changed to underlines.
786cache_file=/dev/null
787exec_prefix=NONE
788no_create=
789no_recursion=
790prefix=NONE
791program_prefix=NONE
792program_suffix=NONE
793program_transform_name=s,x,x,
794silent=
795site=
796srcdir=
797verbose=
798x_includes=NONE
799x_libraries=NONE
800
801# Installation directory options.
802# These are left unexpanded so users can "make install exec_prefix=/foo"
803# and all the variables that are supposed to be based on exec_prefix
804# by default will actually change.
805# Use braces instead of parens because sh, perl, etc. also accept them.
806# (The list follows the same order as the GNU Coding Standards.)
807bindir='${exec_prefix}/bin'
808sbindir='${exec_prefix}/sbin'
809libexecdir='${exec_prefix}/libexec'
810datarootdir='${prefix}/share'
811datadir='${datarootdir}'
812sysconfdir='${prefix}/etc'
813sharedstatedir='${prefix}/com'
814localstatedir='${prefix}/var'
815includedir='${prefix}/include'
816oldincludedir='/usr/include'
817docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818infodir='${datarootdir}/info'
819htmldir='${docdir}'
820dvidir='${docdir}'
821pdfdir='${docdir}'
822psdir='${docdir}'
823libdir='${exec_prefix}/lib'
824localedir='${datarootdir}/locale'
825mandir='${datarootdir}/man'
826
827ac_prev=
828ac_dashdash=
829for ac_option
830do
831  # If the previous option needs an argument, assign it.
832  if test -n "$ac_prev"; then
833    eval $ac_prev=\$ac_option
834    ac_prev=
835    continue
836  fi
837
838  case $ac_option in
839  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840  *=)   ac_optarg= ;;
841  *)    ac_optarg=yes ;;
842  esac
843
844  # Accept the important Cygnus configure options, so we can diagnose typos.
845
846  case $ac_dashdash$ac_option in
847  --)
848    ac_dashdash=yes ;;
849
850  -bindir | --bindir | --bindi | --bind | --bin | --bi)
851    ac_prev=bindir ;;
852  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853    bindir=$ac_optarg ;;
854
855  -build | --build | --buil | --bui | --bu)
856    ac_prev=build_alias ;;
857  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858    build_alias=$ac_optarg ;;
859
860  -cache-file | --cache-file | --cache-fil | --cache-fi \
861  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862    ac_prev=cache_file ;;
863  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865    cache_file=$ac_optarg ;;
866
867  --config-cache | -C)
868    cache_file=config.cache ;;
869
870  -datadir | --datadir | --datadi | --datad)
871    ac_prev=datadir ;;
872  -datadir=* | --datadir=* | --datadi=* | --datad=*)
873    datadir=$ac_optarg ;;
874
875  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876  | --dataroo | --dataro | --datar)
877    ac_prev=datarootdir ;;
878  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880    datarootdir=$ac_optarg ;;
881
882  -disable-* | --disable-*)
883    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884    # Reject names that are not valid shell variable names.
885    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886      as_fn_error $? "invalid feature name: $ac_useropt"
887    ac_useropt_orig=$ac_useropt
888    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889    case $ac_user_opts in
890      *"
891"enable_$ac_useropt"
892"*) ;;
893      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894	 ac_unrecognized_sep=', ';;
895    esac
896    eval enable_$ac_useropt=no ;;
897
898  -docdir | --docdir | --docdi | --doc | --do)
899    ac_prev=docdir ;;
900  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901    docdir=$ac_optarg ;;
902
903  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
904    ac_prev=dvidir ;;
905  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906    dvidir=$ac_optarg ;;
907
908  -enable-* | --enable-*)
909    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910    # Reject names that are not valid shell variable names.
911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912      as_fn_error $? "invalid feature name: $ac_useropt"
913    ac_useropt_orig=$ac_useropt
914    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915    case $ac_user_opts in
916      *"
917"enable_$ac_useropt"
918"*) ;;
919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920	 ac_unrecognized_sep=', ';;
921    esac
922    eval enable_$ac_useropt=\$ac_optarg ;;
923
924  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926  | --exec | --exe | --ex)
927    ac_prev=exec_prefix ;;
928  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930  | --exec=* | --exe=* | --ex=*)
931    exec_prefix=$ac_optarg ;;
932
933  -gas | --gas | --ga | --g)
934    # Obsolete; use --with-gas.
935    with_gas=yes ;;
936
937  -help | --help | --hel | --he | -h)
938    ac_init_help=long ;;
939  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940    ac_init_help=recursive ;;
941  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942    ac_init_help=short ;;
943
944  -host | --host | --hos | --ho)
945    ac_prev=host_alias ;;
946  -host=* | --host=* | --hos=* | --ho=*)
947    host_alias=$ac_optarg ;;
948
949  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950    ac_prev=htmldir ;;
951  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952  | --ht=*)
953    htmldir=$ac_optarg ;;
954
955  -includedir | --includedir | --includedi | --included | --include \
956  | --includ | --inclu | --incl | --inc)
957    ac_prev=includedir ;;
958  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959  | --includ=* | --inclu=* | --incl=* | --inc=*)
960    includedir=$ac_optarg ;;
961
962  -infodir | --infodir | --infodi | --infod | --info | --inf)
963    ac_prev=infodir ;;
964  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965    infodir=$ac_optarg ;;
966
967  -libdir | --libdir | --libdi | --libd)
968    ac_prev=libdir ;;
969  -libdir=* | --libdir=* | --libdi=* | --libd=*)
970    libdir=$ac_optarg ;;
971
972  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973  | --libexe | --libex | --libe)
974    ac_prev=libexecdir ;;
975  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976  | --libexe=* | --libex=* | --libe=*)
977    libexecdir=$ac_optarg ;;
978
979  -localedir | --localedir | --localedi | --localed | --locale)
980    ac_prev=localedir ;;
981  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982    localedir=$ac_optarg ;;
983
984  -localstatedir | --localstatedir | --localstatedi | --localstated \
985  | --localstate | --localstat | --localsta | --localst | --locals)
986    ac_prev=localstatedir ;;
987  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989    localstatedir=$ac_optarg ;;
990
991  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992    ac_prev=mandir ;;
993  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994    mandir=$ac_optarg ;;
995
996  -nfp | --nfp | --nf)
997    # Obsolete; use --without-fp.
998    with_fp=no ;;
999
1000  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001  | --no-cr | --no-c | -n)
1002    no_create=yes ;;
1003
1004  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006    no_recursion=yes ;;
1007
1008  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010  | --oldin | --oldi | --old | --ol | --o)
1011    ac_prev=oldincludedir ;;
1012  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015    oldincludedir=$ac_optarg ;;
1016
1017  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018    ac_prev=prefix ;;
1019  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020    prefix=$ac_optarg ;;
1021
1022  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023  | --program-pre | --program-pr | --program-p)
1024    ac_prev=program_prefix ;;
1025  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027    program_prefix=$ac_optarg ;;
1028
1029  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030  | --program-suf | --program-su | --program-s)
1031    ac_prev=program_suffix ;;
1032  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034    program_suffix=$ac_optarg ;;
1035
1036  -program-transform-name | --program-transform-name \
1037  | --program-transform-nam | --program-transform-na \
1038  | --program-transform-n | --program-transform- \
1039  | --program-transform | --program-transfor \
1040  | --program-transfo | --program-transf \
1041  | --program-trans | --program-tran \
1042  | --progr-tra | --program-tr | --program-t)
1043    ac_prev=program_transform_name ;;
1044  -program-transform-name=* | --program-transform-name=* \
1045  | --program-transform-nam=* | --program-transform-na=* \
1046  | --program-transform-n=* | --program-transform-=* \
1047  | --program-transform=* | --program-transfor=* \
1048  | --program-transfo=* | --program-transf=* \
1049  | --program-trans=* | --program-tran=* \
1050  | --progr-tra=* | --program-tr=* | --program-t=*)
1051    program_transform_name=$ac_optarg ;;
1052
1053  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054    ac_prev=pdfdir ;;
1055  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056    pdfdir=$ac_optarg ;;
1057
1058  -psdir | --psdir | --psdi | --psd | --ps)
1059    ac_prev=psdir ;;
1060  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061    psdir=$ac_optarg ;;
1062
1063  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064  | -silent | --silent | --silen | --sile | --sil)
1065    silent=yes ;;
1066
1067  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068    ac_prev=sbindir ;;
1069  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070  | --sbi=* | --sb=*)
1071    sbindir=$ac_optarg ;;
1072
1073  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075  | --sharedst | --shareds | --shared | --share | --shar \
1076  | --sha | --sh)
1077    ac_prev=sharedstatedir ;;
1078  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081  | --sha=* | --sh=*)
1082    sharedstatedir=$ac_optarg ;;
1083
1084  -site | --site | --sit)
1085    ac_prev=site ;;
1086  -site=* | --site=* | --sit=*)
1087    site=$ac_optarg ;;
1088
1089  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090    ac_prev=srcdir ;;
1091  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092    srcdir=$ac_optarg ;;
1093
1094  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095  | --syscon | --sysco | --sysc | --sys | --sy)
1096    ac_prev=sysconfdir ;;
1097  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099    sysconfdir=$ac_optarg ;;
1100
1101  -target | --target | --targe | --targ | --tar | --ta | --t)
1102    ac_prev=target_alias ;;
1103  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104    target_alias=$ac_optarg ;;
1105
1106  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107    verbose=yes ;;
1108
1109  -version | --version | --versio | --versi | --vers | -V)
1110    ac_init_version=: ;;
1111
1112  -with-* | --with-*)
1113    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114    # Reject names that are not valid shell variable names.
1115    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116      as_fn_error $? "invalid package name: $ac_useropt"
1117    ac_useropt_orig=$ac_useropt
1118    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119    case $ac_user_opts in
1120      *"
1121"with_$ac_useropt"
1122"*) ;;
1123      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124	 ac_unrecognized_sep=', ';;
1125    esac
1126    eval with_$ac_useropt=\$ac_optarg ;;
1127
1128  -without-* | --without-*)
1129    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130    # Reject names that are not valid shell variable names.
1131    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132      as_fn_error $? "invalid package name: $ac_useropt"
1133    ac_useropt_orig=$ac_useropt
1134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135    case $ac_user_opts in
1136      *"
1137"with_$ac_useropt"
1138"*) ;;
1139      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140	 ac_unrecognized_sep=', ';;
1141    esac
1142    eval with_$ac_useropt=no ;;
1143
1144  --x)
1145    # Obsolete; use --with-x.
1146    with_x=yes ;;
1147
1148  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149  | --x-incl | --x-inc | --x-in | --x-i)
1150    ac_prev=x_includes ;;
1151  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153    x_includes=$ac_optarg ;;
1154
1155  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157    ac_prev=x_libraries ;;
1158  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160    x_libraries=$ac_optarg ;;
1161
1162  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1163Try \`$0 --help' for more information"
1164    ;;
1165
1166  *=*)
1167    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168    # Reject names that are not valid shell variable names.
1169    case $ac_envvar in #(
1170      '' | [0-9]* | *[!_$as_cr_alnum]* )
1171      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1172    esac
1173    eval $ac_envvar=\$ac_optarg
1174    export $ac_envvar ;;
1175
1176  *)
1177    # FIXME: should be removed in autoconf 3.0.
1178    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182    ;;
1183
1184  esac
1185done
1186
1187if test -n "$ac_prev"; then
1188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189  as_fn_error $? "missing argument to $ac_option"
1190fi
1191
1192if test -n "$ac_unrecognized_opts"; then
1193  case $enable_option_checking in
1194    no) ;;
1195    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1196    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197  esac
1198fi
1199
1200# Check all directory arguments for consistency.
1201for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202		datadir sysconfdir sharedstatedir localstatedir includedir \
1203		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204		libdir localedir mandir
1205do
1206  eval ac_val=\$$ac_var
1207  # Remove trailing slashes.
1208  case $ac_val in
1209    */ )
1210      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211      eval $ac_var=\$ac_val;;
1212  esac
1213  # Be sure to have absolute directory names.
1214  case $ac_val in
1215    [\\/$]* | ?:[\\/]* )  continue;;
1216    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217  esac
1218  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219done
1220
1221# There might be people who depend on the old broken behavior: `$host'
1222# used to hold the argument of --host etc.
1223# FIXME: To remove some day.
1224build=$build_alias
1225host=$host_alias
1226target=$target_alias
1227
1228# FIXME: To remove some day.
1229if test "x$host_alias" != x; then
1230  if test "x$build_alias" = x; then
1231    cross_compiling=maybe
1232  elif test "x$build_alias" != "x$host_alias"; then
1233    cross_compiling=yes
1234  fi
1235fi
1236
1237ac_tool_prefix=
1238test -n "$host_alias" && ac_tool_prefix=$host_alias-
1239
1240test "$silent" = yes && exec 6>/dev/null
1241
1242
1243ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244ac_ls_di=`ls -di .` &&
1245ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246  as_fn_error $? "working directory cannot be determined"
1247test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248  as_fn_error $? "pwd does not report name of working directory"
1249
1250
1251# Find the source files, if location was not specified.
1252if test -z "$srcdir"; then
1253  ac_srcdir_defaulted=yes
1254  # Try the directory containing this script, then the parent directory.
1255  ac_confdir=`$as_dirname -- "$as_myself" ||
1256$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257	 X"$as_myself" : 'X\(//\)[^/]' \| \
1258	 X"$as_myself" : 'X\(//\)$' \| \
1259	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260$as_echo X"$as_myself" |
1261    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262	    s//\1/
1263	    q
1264	  }
1265	  /^X\(\/\/\)[^/].*/{
1266	    s//\1/
1267	    q
1268	  }
1269	  /^X\(\/\/\)$/{
1270	    s//\1/
1271	    q
1272	  }
1273	  /^X\(\/\).*/{
1274	    s//\1/
1275	    q
1276	  }
1277	  s/.*/./; q'`
1278  srcdir=$ac_confdir
1279  if test ! -r "$srcdir/$ac_unique_file"; then
1280    srcdir=..
1281  fi
1282else
1283  ac_srcdir_defaulted=no
1284fi
1285if test ! -r "$srcdir/$ac_unique_file"; then
1286  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1288fi
1289ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1290ac_abs_confdir=`(
1291	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1292	pwd)`
1293# When building in place, set srcdir=.
1294if test "$ac_abs_confdir" = "$ac_pwd"; then
1295  srcdir=.
1296fi
1297# Remove unnecessary trailing slashes from srcdir.
1298# Double slashes in file names in object file debugging info
1299# mess up M-x gdb in Emacs.
1300case $srcdir in
1301*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302esac
1303for ac_var in $ac_precious_vars; do
1304  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305  eval ac_env_${ac_var}_value=\$${ac_var}
1306  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1308done
1309
1310#
1311# Report the --help message.
1312#
1313if test "$ac_init_help" = "long"; then
1314  # Omit some internal or obsolete options to make the list less imposing.
1315  # This message is too long to be a string in the A/UX 3.1 sh.
1316  cat <<_ACEOF
1317\`configure' configures iceauth 1.0.8 to adapt to many kinds of systems.
1318
1319Usage: $0 [OPTION]... [VAR=VALUE]...
1320
1321To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322VAR=VALUE.  See below for descriptions of some of the useful variables.
1323
1324Defaults for the options are specified in brackets.
1325
1326Configuration:
1327  -h, --help              display this help and exit
1328      --help=short        display options specific to this package
1329      --help=recursive    display the short help of all the included packages
1330  -V, --version           display version information and exit
1331  -q, --quiet, --silent   do not print \`checking ...' messages
1332      --cache-file=FILE   cache test results in FILE [disabled]
1333  -C, --config-cache      alias for \`--cache-file=config.cache'
1334  -n, --no-create         do not create output files
1335      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1336
1337Installation directories:
1338  --prefix=PREFIX         install architecture-independent files in PREFIX
1339                          [$ac_default_prefix]
1340  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1341                          [PREFIX]
1342
1343By default, \`make install' will install all the files in
1344\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1345an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346for instance \`--prefix=\$HOME'.
1347
1348For better control, use the options below.
1349
1350Fine tuning of the installation directories:
1351  --bindir=DIR            user executables [EPREFIX/bin]
1352  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1353  --libexecdir=DIR        program executables [EPREFIX/libexec]
1354  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1355  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1356  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1357  --libdir=DIR            object code libraries [EPREFIX/lib]
1358  --includedir=DIR        C header files [PREFIX/include]
1359  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1360  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1361  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1362  --infodir=DIR           info documentation [DATAROOTDIR/info]
1363  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1364  --mandir=DIR            man documentation [DATAROOTDIR/man]
1365  --docdir=DIR            documentation root [DATAROOTDIR/doc/iceauth]
1366  --htmldir=DIR           html documentation [DOCDIR]
1367  --dvidir=DIR            dvi documentation [DOCDIR]
1368  --pdfdir=DIR            pdf documentation [DOCDIR]
1369  --psdir=DIR             ps documentation [DOCDIR]
1370_ACEOF
1371
1372  cat <<\_ACEOF
1373
1374Program names:
1375  --program-prefix=PREFIX            prepend PREFIX to installed program names
1376  --program-suffix=SUFFIX            append SUFFIX to installed program names
1377  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1378
1379System types:
1380  --build=BUILD     configure for building on BUILD [guessed]
1381  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1382_ACEOF
1383fi
1384
1385if test -n "$ac_init_help"; then
1386  case $ac_init_help in
1387     short | recursive ) echo "Configuration of iceauth 1.0.8:";;
1388   esac
1389  cat <<\_ACEOF
1390
1391Optional Features:
1392  --disable-option-checking  ignore unrecognized --enable/--with options
1393  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1394  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1395  --enable-silent-rules   less verbose build output (undo: "make V=1")
1396  --disable-silent-rules  verbose build output (undo: "make V=0")
1397  --enable-dependency-tracking
1398                          do not reject slow dependency extractors
1399  --disable-dependency-tracking
1400                          speeds up one-time build
1401  --disable-selective-werror
1402                          Turn off selective compiler errors. (default:
1403                          enabled)
1404  --enable-strict-compilation
1405                          Enable all warnings from compiler and make them
1406                          errors (default: disabled)
1407
1408Optional Packages:
1409  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1410  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1411  --with-lint             Use a lint-style source code checker (default:
1412                          disabled)
1413
1414Some influential environment variables:
1415  CC          C compiler command
1416  CFLAGS      C compiler flags
1417  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1418              nonstandard directory <lib dir>
1419  LIBS        libraries to pass to the linker, e.g. -l<library>
1420  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1421              you have headers in a nonstandard directory <include dir>
1422  CPP         C preprocessor
1423  PKG_CONFIG  path to pkg-config utility
1424  PKG_CONFIG_PATH
1425              directories to add to pkg-config's search path
1426  PKG_CONFIG_LIBDIR
1427              path overriding pkg-config's built-in search path
1428  ICEAUTH_CFLAGS
1429              C compiler flags for ICEAUTH, overriding pkg-config
1430  ICEAUTH_LIBS
1431              linker flags for ICEAUTH, overriding pkg-config
1432  LINT        Path to a lint-style command
1433  LINT_FLAGS  Flags for the lint-style command
1434
1435Use these variables to override the choices made by `configure' or to help
1436it to find libraries and programs with nonstandard names/locations.
1437
1438Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1439_ACEOF
1440ac_status=$?
1441fi
1442
1443if test "$ac_init_help" = "recursive"; then
1444  # If there are subdirs, report their specific --help.
1445  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446    test -d "$ac_dir" ||
1447      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448      continue
1449    ac_builddir=.
1450
1451case "$ac_dir" in
1452.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453*)
1454  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1455  # A ".." for each directory in $ac_dir_suffix.
1456  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1457  case $ac_top_builddir_sub in
1458  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460  esac ;;
1461esac
1462ac_abs_top_builddir=$ac_pwd
1463ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464# for backward compatibility:
1465ac_top_builddir=$ac_top_build_prefix
1466
1467case $srcdir in
1468  .)  # We are building in place.
1469    ac_srcdir=.
1470    ac_top_srcdir=$ac_top_builddir_sub
1471    ac_abs_top_srcdir=$ac_pwd ;;
1472  [\\/]* | ?:[\\/]* )  # Absolute name.
1473    ac_srcdir=$srcdir$ac_dir_suffix;
1474    ac_top_srcdir=$srcdir
1475    ac_abs_top_srcdir=$srcdir ;;
1476  *) # Relative name.
1477    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478    ac_top_srcdir=$ac_top_build_prefix$srcdir
1479    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480esac
1481ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482
1483    cd "$ac_dir" || { ac_status=$?; continue; }
1484    # Check for guested configure.
1485    if test -f "$ac_srcdir/configure.gnu"; then
1486      echo &&
1487      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488    elif test -f "$ac_srcdir/configure"; then
1489      echo &&
1490      $SHELL "$ac_srcdir/configure" --help=recursive
1491    else
1492      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493    fi || ac_status=$?
1494    cd "$ac_pwd" || { ac_status=$?; break; }
1495  done
1496fi
1497
1498test -n "$ac_init_help" && exit $ac_status
1499if $ac_init_version; then
1500  cat <<\_ACEOF
1501iceauth configure 1.0.8
1502generated by GNU Autoconf 2.69
1503
1504Copyright (C) 2012 Free Software Foundation, Inc.
1505This configure script is free software; the Free Software Foundation
1506gives unlimited permission to copy, distribute and modify it.
1507_ACEOF
1508  exit
1509fi
1510
1511## ------------------------ ##
1512## Autoconf initialization. ##
1513## ------------------------ ##
1514
1515# ac_fn_c_try_compile LINENO
1516# --------------------------
1517# Try to compile conftest.$ac_ext, and return whether this succeeded.
1518ac_fn_c_try_compile ()
1519{
1520  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521  rm -f conftest.$ac_objext
1522  if { { ac_try="$ac_compile"
1523case "(($ac_try" in
1524  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525  *) ac_try_echo=$ac_try;;
1526esac
1527eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528$as_echo "$ac_try_echo"; } >&5
1529  (eval "$ac_compile") 2>conftest.err
1530  ac_status=$?
1531  if test -s conftest.err; then
1532    grep -v '^ *+' conftest.err >conftest.er1
1533    cat conftest.er1 >&5
1534    mv -f conftest.er1 conftest.err
1535  fi
1536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537  test $ac_status = 0; } && {
1538	 test -z "$ac_c_werror_flag" ||
1539	 test ! -s conftest.err
1540       } && test -s conftest.$ac_objext; then :
1541  ac_retval=0
1542else
1543  $as_echo "$as_me: failed program was:" >&5
1544sed 's/^/| /' conftest.$ac_ext >&5
1545
1546	ac_retval=1
1547fi
1548  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549  as_fn_set_status $ac_retval
1550
1551} # ac_fn_c_try_compile
1552
1553# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1554# ---------------------------------------------
1555# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1556# accordingly.
1557ac_fn_c_check_decl ()
1558{
1559  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560  as_decl_name=`echo $2|sed 's/ *(.*//'`
1561  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1562  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1563$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1564if eval \${$3+:} false; then :
1565  $as_echo_n "(cached) " >&6
1566else
1567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1568/* end confdefs.h.  */
1569$4
1570int
1571main ()
1572{
1573#ifndef $as_decl_name
1574#ifdef __cplusplus
1575  (void) $as_decl_use;
1576#else
1577  (void) $as_decl_name;
1578#endif
1579#endif
1580
1581  ;
1582  return 0;
1583}
1584_ACEOF
1585if ac_fn_c_try_compile "$LINENO"; then :
1586  eval "$3=yes"
1587else
1588  eval "$3=no"
1589fi
1590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1591fi
1592eval ac_res=\$$3
1593	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594$as_echo "$ac_res" >&6; }
1595  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596
1597} # ac_fn_c_check_decl
1598
1599# ac_fn_c_try_cpp LINENO
1600# ----------------------
1601# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1602ac_fn_c_try_cpp ()
1603{
1604  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605  if { { ac_try="$ac_cpp conftest.$ac_ext"
1606case "(($ac_try" in
1607  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608  *) ac_try_echo=$ac_try;;
1609esac
1610eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611$as_echo "$ac_try_echo"; } >&5
1612  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1613  ac_status=$?
1614  if test -s conftest.err; then
1615    grep -v '^ *+' conftest.err >conftest.er1
1616    cat conftest.er1 >&5
1617    mv -f conftest.er1 conftest.err
1618  fi
1619  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620  test $ac_status = 0; } > conftest.i && {
1621	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1622	 test ! -s conftest.err
1623       }; then :
1624  ac_retval=0
1625else
1626  $as_echo "$as_me: failed program was:" >&5
1627sed 's/^/| /' conftest.$ac_ext >&5
1628
1629    ac_retval=1
1630fi
1631  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632  as_fn_set_status $ac_retval
1633
1634} # ac_fn_c_try_cpp
1635
1636# ac_fn_c_try_run LINENO
1637# ----------------------
1638# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1639# that executables *can* be run.
1640ac_fn_c_try_run ()
1641{
1642  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643  if { { ac_try="$ac_link"
1644case "(($ac_try" in
1645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1646  *) ac_try_echo=$ac_try;;
1647esac
1648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649$as_echo "$ac_try_echo"; } >&5
1650  (eval "$ac_link") 2>&5
1651  ac_status=$?
1652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1654  { { case "(($ac_try" in
1655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1656  *) ac_try_echo=$ac_try;;
1657esac
1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659$as_echo "$ac_try_echo"; } >&5
1660  (eval "$ac_try") 2>&5
1661  ac_status=$?
1662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663  test $ac_status = 0; }; }; then :
1664  ac_retval=0
1665else
1666  $as_echo "$as_me: program exited with status $ac_status" >&5
1667       $as_echo "$as_me: failed program was:" >&5
1668sed 's/^/| /' conftest.$ac_ext >&5
1669
1670       ac_retval=$ac_status
1671fi
1672  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1673  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674  as_fn_set_status $ac_retval
1675
1676} # ac_fn_c_try_run
1677
1678# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1679# -------------------------------------------------------
1680# Tests whether HEADER exists and can be compiled using the include files in
1681# INCLUDES, setting the cache variable VAR accordingly.
1682ac_fn_c_check_header_compile ()
1683{
1684  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686$as_echo_n "checking for $2... " >&6; }
1687if eval \${$3+:} false; then :
1688  $as_echo_n "(cached) " >&6
1689else
1690  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691/* end confdefs.h.  */
1692$4
1693#include <$2>
1694_ACEOF
1695if ac_fn_c_try_compile "$LINENO"; then :
1696  eval "$3=yes"
1697else
1698  eval "$3=no"
1699fi
1700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1701fi
1702eval ac_res=\$$3
1703	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704$as_echo "$ac_res" >&6; }
1705  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706
1707} # ac_fn_c_check_header_compile
1708
1709# ac_fn_c_try_link LINENO
1710# -----------------------
1711# Try to link conftest.$ac_ext, and return whether this succeeded.
1712ac_fn_c_try_link ()
1713{
1714  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715  rm -f conftest.$ac_objext conftest$ac_exeext
1716  if { { ac_try="$ac_link"
1717case "(($ac_try" in
1718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719  *) ac_try_echo=$ac_try;;
1720esac
1721eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722$as_echo "$ac_try_echo"; } >&5
1723  (eval "$ac_link") 2>conftest.err
1724  ac_status=$?
1725  if test -s conftest.err; then
1726    grep -v '^ *+' conftest.err >conftest.er1
1727    cat conftest.er1 >&5
1728    mv -f conftest.er1 conftest.err
1729  fi
1730  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731  test $ac_status = 0; } && {
1732	 test -z "$ac_c_werror_flag" ||
1733	 test ! -s conftest.err
1734       } && test -s conftest$ac_exeext && {
1735	 test "$cross_compiling" = yes ||
1736	 test -x conftest$ac_exeext
1737       }; then :
1738  ac_retval=0
1739else
1740  $as_echo "$as_me: failed program was:" >&5
1741sed 's/^/| /' conftest.$ac_ext >&5
1742
1743	ac_retval=1
1744fi
1745  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747  # interfere with the next link command; also delete a directory that is
1748  # left behind by Apple's compiler.  We do this before executing the actions.
1749  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751  as_fn_set_status $ac_retval
1752
1753} # ac_fn_c_try_link
1754cat >config.log <<_ACEOF
1755This file contains any messages produced by compilers while
1756running configure, to aid debugging if configure makes a mistake.
1757
1758It was created by iceauth $as_me 1.0.8, which was
1759generated by GNU Autoconf 2.69.  Invocation command line was
1760
1761  $ $0 $@
1762
1763_ACEOF
1764exec 5>>config.log
1765{
1766cat <<_ASUNAME
1767## --------- ##
1768## Platform. ##
1769## --------- ##
1770
1771hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1772uname -m = `(uname -m) 2>/dev/null || echo unknown`
1773uname -r = `(uname -r) 2>/dev/null || echo unknown`
1774uname -s = `(uname -s) 2>/dev/null || echo unknown`
1775uname -v = `(uname -v) 2>/dev/null || echo unknown`
1776
1777/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1778/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1779
1780/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1781/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1782/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1783/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1784/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1785/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1786/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1787
1788_ASUNAME
1789
1790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791for as_dir in $PATH
1792do
1793  IFS=$as_save_IFS
1794  test -z "$as_dir" && as_dir=.
1795    $as_echo "PATH: $as_dir"
1796  done
1797IFS=$as_save_IFS
1798
1799} >&5
1800
1801cat >&5 <<_ACEOF
1802
1803
1804## ----------- ##
1805## Core tests. ##
1806## ----------- ##
1807
1808_ACEOF
1809
1810
1811# Keep a trace of the command line.
1812# Strip out --no-create and --no-recursion so they do not pile up.
1813# Strip out --silent because we don't want to record it for future runs.
1814# Also quote any args containing shell meta-characters.
1815# Make two passes to allow for proper duplicate-argument suppression.
1816ac_configure_args=
1817ac_configure_args0=
1818ac_configure_args1=
1819ac_must_keep_next=false
1820for ac_pass in 1 2
1821do
1822  for ac_arg
1823  do
1824    case $ac_arg in
1825    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1826    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1827    | -silent | --silent | --silen | --sile | --sil)
1828      continue ;;
1829    *\'*)
1830      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1831    esac
1832    case $ac_pass in
1833    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1834    2)
1835      as_fn_append ac_configure_args1 " '$ac_arg'"
1836      if test $ac_must_keep_next = true; then
1837	ac_must_keep_next=false # Got value, back to normal.
1838      else
1839	case $ac_arg in
1840	  *=* | --config-cache | -C | -disable-* | --disable-* \
1841	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1842	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1843	  | -with-* | --with-* | -without-* | --without-* | --x)
1844	    case "$ac_configure_args0 " in
1845	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1846	    esac
1847	    ;;
1848	  -* ) ac_must_keep_next=true ;;
1849	esac
1850      fi
1851      as_fn_append ac_configure_args " '$ac_arg'"
1852      ;;
1853    esac
1854  done
1855done
1856{ ac_configure_args0=; unset ac_configure_args0;}
1857{ ac_configure_args1=; unset ac_configure_args1;}
1858
1859# When interrupted or exit'd, cleanup temporary files, and complete
1860# config.log.  We remove comments because anyway the quotes in there
1861# would cause problems or look ugly.
1862# WARNING: Use '\'' to represent an apostrophe within the trap.
1863# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1864trap 'exit_status=$?
1865  # Save into config.log some information that might help in debugging.
1866  {
1867    echo
1868
1869    $as_echo "## ---------------- ##
1870## Cache variables. ##
1871## ---------------- ##"
1872    echo
1873    # The following way of writing the cache mishandles newlines in values,
1874(
1875  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1876    eval ac_val=\$$ac_var
1877    case $ac_val in #(
1878    *${as_nl}*)
1879      case $ac_var in #(
1880      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1881$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1882      esac
1883      case $ac_var in #(
1884      _ | IFS | as_nl) ;; #(
1885      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1886      *) { eval $ac_var=; unset $ac_var;} ;;
1887      esac ;;
1888    esac
1889  done
1890  (set) 2>&1 |
1891    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1892    *${as_nl}ac_space=\ *)
1893      sed -n \
1894	"s/'\''/'\''\\\\'\'''\''/g;
1895	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1896      ;; #(
1897    *)
1898      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1899      ;;
1900    esac |
1901    sort
1902)
1903    echo
1904
1905    $as_echo "## ----------------- ##
1906## Output variables. ##
1907## ----------------- ##"
1908    echo
1909    for ac_var in $ac_subst_vars
1910    do
1911      eval ac_val=\$$ac_var
1912      case $ac_val in
1913      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914      esac
1915      $as_echo "$ac_var='\''$ac_val'\''"
1916    done | sort
1917    echo
1918
1919    if test -n "$ac_subst_files"; then
1920      $as_echo "## ------------------- ##
1921## File substitutions. ##
1922## ------------------- ##"
1923      echo
1924      for ac_var in $ac_subst_files
1925      do
1926	eval ac_val=\$$ac_var
1927	case $ac_val in
1928	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1929	esac
1930	$as_echo "$ac_var='\''$ac_val'\''"
1931      done | sort
1932      echo
1933    fi
1934
1935    if test -s confdefs.h; then
1936      $as_echo "## ----------- ##
1937## confdefs.h. ##
1938## ----------- ##"
1939      echo
1940      cat confdefs.h
1941      echo
1942    fi
1943    test "$ac_signal" != 0 &&
1944      $as_echo "$as_me: caught signal $ac_signal"
1945    $as_echo "$as_me: exit $exit_status"
1946  } >&5
1947  rm -f core *.core core.conftest.* &&
1948    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1949    exit $exit_status
1950' 0
1951for ac_signal in 1 2 13 15; do
1952  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1953done
1954ac_signal=0
1955
1956# confdefs.h avoids OS command line length limits that DEFS can exceed.
1957rm -f -r conftest* confdefs.h
1958
1959$as_echo "/* confdefs.h */" > confdefs.h
1960
1961# Predefined preprocessor variables.
1962
1963cat >>confdefs.h <<_ACEOF
1964#define PACKAGE_NAME "$PACKAGE_NAME"
1965_ACEOF
1966
1967cat >>confdefs.h <<_ACEOF
1968#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1969_ACEOF
1970
1971cat >>confdefs.h <<_ACEOF
1972#define PACKAGE_VERSION "$PACKAGE_VERSION"
1973_ACEOF
1974
1975cat >>confdefs.h <<_ACEOF
1976#define PACKAGE_STRING "$PACKAGE_STRING"
1977_ACEOF
1978
1979cat >>confdefs.h <<_ACEOF
1980#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1981_ACEOF
1982
1983cat >>confdefs.h <<_ACEOF
1984#define PACKAGE_URL "$PACKAGE_URL"
1985_ACEOF
1986
1987
1988# Let the site file select an alternate cache file if it wants to.
1989# Prefer an explicitly selected file to automatically selected ones.
1990ac_site_file1=NONE
1991ac_site_file2=NONE
1992if test -n "$CONFIG_SITE"; then
1993  # We do not want a PATH search for config.site.
1994  case $CONFIG_SITE in #((
1995    -*)  ac_site_file1=./$CONFIG_SITE;;
1996    */*) ac_site_file1=$CONFIG_SITE;;
1997    *)   ac_site_file1=./$CONFIG_SITE;;
1998  esac
1999elif test "x$prefix" != xNONE; then
2000  ac_site_file1=$prefix/share/config.site
2001  ac_site_file2=$prefix/etc/config.site
2002else
2003  ac_site_file1=$ac_default_prefix/share/config.site
2004  ac_site_file2=$ac_default_prefix/etc/config.site
2005fi
2006for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2007do
2008  test "x$ac_site_file" = xNONE && continue
2009  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2011$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2012    sed 's/^/| /' "$ac_site_file" >&5
2013    . "$ac_site_file" \
2014      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2016as_fn_error $? "failed to load site script $ac_site_file
2017See \`config.log' for more details" "$LINENO" 5; }
2018  fi
2019done
2020
2021if test -r "$cache_file"; then
2022  # Some versions of bash will fail to source /dev/null (special files
2023  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2024  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2025    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2026$as_echo "$as_me: loading cache $cache_file" >&6;}
2027    case $cache_file in
2028      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2029      *)                      . "./$cache_file";;
2030    esac
2031  fi
2032else
2033  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2034$as_echo "$as_me: creating cache $cache_file" >&6;}
2035  >$cache_file
2036fi
2037
2038# Check that the precious variables saved in the cache have kept the same
2039# value.
2040ac_cache_corrupted=false
2041for ac_var in $ac_precious_vars; do
2042  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2043  eval ac_new_set=\$ac_env_${ac_var}_set
2044  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2045  eval ac_new_val=\$ac_env_${ac_var}_value
2046  case $ac_old_set,$ac_new_set in
2047    set,)
2048      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2049$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2050      ac_cache_corrupted=: ;;
2051    ,set)
2052      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2053$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2054      ac_cache_corrupted=: ;;
2055    ,);;
2056    *)
2057      if test "x$ac_old_val" != "x$ac_new_val"; then
2058	# differences in whitespace do not lead to failure.
2059	ac_old_val_w=`echo x $ac_old_val`
2060	ac_new_val_w=`echo x $ac_new_val`
2061	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2062	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2063$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2064	  ac_cache_corrupted=:
2065	else
2066	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2067$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2068	  eval $ac_var=\$ac_old_val
2069	fi
2070	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2071$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2072	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2073$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2074      fi;;
2075  esac
2076  # Pass precious variables to config.status.
2077  if test "$ac_new_set" = set; then
2078    case $ac_new_val in
2079    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2080    *) ac_arg=$ac_var=$ac_new_val ;;
2081    esac
2082    case " $ac_configure_args " in
2083      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2084      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2085    esac
2086  fi
2087done
2088if $ac_cache_corrupted; then
2089  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2091  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2092$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2093  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2094fi
2095## -------------------- ##
2096## Main body of script. ##
2097## -------------------- ##
2098
2099ac_ext=c
2100ac_cpp='$CPP $CPPFLAGS'
2101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103ac_compiler_gnu=$ac_cv_c_compiler_gnu
2104
2105
2106
2107ac_config_headers="$ac_config_headers config.h"
2108
2109
2110# Initialize Automake
2111am__api_version='1.15'
2112
2113ac_aux_dir=
2114for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2115  if test -f "$ac_dir/install-sh"; then
2116    ac_aux_dir=$ac_dir
2117    ac_install_sh="$ac_aux_dir/install-sh -c"
2118    break
2119  elif test -f "$ac_dir/install.sh"; then
2120    ac_aux_dir=$ac_dir
2121    ac_install_sh="$ac_aux_dir/install.sh -c"
2122    break
2123  elif test -f "$ac_dir/shtool"; then
2124    ac_aux_dir=$ac_dir
2125    ac_install_sh="$ac_aux_dir/shtool install -c"
2126    break
2127  fi
2128done
2129if test -z "$ac_aux_dir"; then
2130  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2131fi
2132
2133# These three variables are undocumented and unsupported,
2134# and are intended to be withdrawn in a future Autoconf release.
2135# They can cause serious problems if a builder's source tree is in a directory
2136# whose full name contains unusual characters.
2137ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2138ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2139ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2140
2141
2142# Find a good install program.  We prefer a C program (faster),
2143# so one script is as good as another.  But avoid the broken or
2144# incompatible versions:
2145# SysV /etc/install, /usr/sbin/install
2146# SunOS /usr/etc/install
2147# IRIX /sbin/install
2148# AIX /bin/install
2149# AmigaOS /C/install, which installs bootblocks on floppy discs
2150# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2151# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2152# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2153# OS/2's system install, which has a completely different semantic
2154# ./install, which can be erroneously created by make from ./install.sh.
2155# Reject install programs that cannot install multiple files.
2156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2157$as_echo_n "checking for a BSD-compatible install... " >&6; }
2158if test -z "$INSTALL"; then
2159if ${ac_cv_path_install+:} false; then :
2160  $as_echo_n "(cached) " >&6
2161else
2162  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163for as_dir in $PATH
2164do
2165  IFS=$as_save_IFS
2166  test -z "$as_dir" && as_dir=.
2167    # Account for people who put trailing slashes in PATH elements.
2168case $as_dir/ in #((
2169  ./ | .// | /[cC]/* | \
2170  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2171  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2172  /usr/ucb/* ) ;;
2173  *)
2174    # OSF1 and SCO ODT 3.0 have their own names for install.
2175    # Don't use installbsd from OSF since it installs stuff as root
2176    # by default.
2177    for ac_prog in ginstall scoinst install; do
2178      for ac_exec_ext in '' $ac_executable_extensions; do
2179	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2180	  if test $ac_prog = install &&
2181	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2182	    # AIX install.  It has an incompatible calling convention.
2183	    :
2184	  elif test $ac_prog = install &&
2185	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2186	    # program-specific install script used by HP pwplus--don't use.
2187	    :
2188	  else
2189	    rm -rf conftest.one conftest.two conftest.dir
2190	    echo one > conftest.one
2191	    echo two > conftest.two
2192	    mkdir conftest.dir
2193	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2194	      test -s conftest.one && test -s conftest.two &&
2195	      test -s conftest.dir/conftest.one &&
2196	      test -s conftest.dir/conftest.two
2197	    then
2198	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2199	      break 3
2200	    fi
2201	  fi
2202	fi
2203      done
2204    done
2205    ;;
2206esac
2207
2208  done
2209IFS=$as_save_IFS
2210
2211rm -rf conftest.one conftest.two conftest.dir
2212
2213fi
2214  if test "${ac_cv_path_install+set}" = set; then
2215    INSTALL=$ac_cv_path_install
2216  else
2217    # As a last resort, use the slow shell script.  Don't cache a
2218    # value for INSTALL within a source directory, because that will
2219    # break other packages using the cache if that directory is
2220    # removed, or if the value is a relative name.
2221    INSTALL=$ac_install_sh
2222  fi
2223fi
2224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2225$as_echo "$INSTALL" >&6; }
2226
2227# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2228# It thinks the first close brace ends the variable substitution.
2229test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2230
2231test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2232
2233test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2234
2235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2236$as_echo_n "checking whether build environment is sane... " >&6; }
2237# Reject unsafe characters in $srcdir or the absolute working directory
2238# name.  Accept space and tab only in the latter.
2239am_lf='
2240'
2241case `pwd` in
2242  *[\\\"\#\$\&\'\`$am_lf]*)
2243    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2244esac
2245case $srcdir in
2246  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2247    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2248esac
2249
2250# Do 'set' in a subshell so we don't clobber the current shell's
2251# arguments.  Must try -L first in case configure is actually a
2252# symlink; some systems play weird games with the mod time of symlinks
2253# (eg FreeBSD returns the mod time of the symlink's containing
2254# directory).
2255if (
2256   am_has_slept=no
2257   for am_try in 1 2; do
2258     echo "timestamp, slept: $am_has_slept" > conftest.file
2259     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2260     if test "$*" = "X"; then
2261	# -L didn't work.
2262	set X `ls -t "$srcdir/configure" conftest.file`
2263     fi
2264     if test "$*" != "X $srcdir/configure conftest.file" \
2265	&& test "$*" != "X conftest.file $srcdir/configure"; then
2266
2267	# If neither matched, then we have a broken ls.  This can happen
2268	# if, for instance, CONFIG_SHELL is bash and it inherits a
2269	# broken ls alias from the environment.  This has actually
2270	# happened.  Such a system could not be considered "sane".
2271	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2272  alias in your environment" "$LINENO" 5
2273     fi
2274     if test "$2" = conftest.file || test $am_try -eq 2; then
2275       break
2276     fi
2277     # Just in case.
2278     sleep 1
2279     am_has_slept=yes
2280   done
2281   test "$2" = conftest.file
2282   )
2283then
2284   # Ok.
2285   :
2286else
2287   as_fn_error $? "newly created file is older than distributed files!
2288Check your system clock" "$LINENO" 5
2289fi
2290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2291$as_echo "yes" >&6; }
2292# If we didn't sleep, we still need to ensure time stamps of config.status and
2293# generated files are strictly newer.
2294am_sleep_pid=
2295if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2296  ( sleep 1 ) &
2297  am_sleep_pid=$!
2298fi
2299
2300rm -f conftest.file
2301
2302test "$program_prefix" != NONE &&
2303  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2304# Use a double $ so make ignores it.
2305test "$program_suffix" != NONE &&
2306  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2307# Double any \ or $.
2308# By default was `s,x,x', remove it if useless.
2309ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2310program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2311
2312# Expand $ac_aux_dir to an absolute path.
2313am_aux_dir=`cd "$ac_aux_dir" && pwd`
2314
2315if test x"${MISSING+set}" != xset; then
2316  case $am_aux_dir in
2317  *\ * | *\	*)
2318    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2319  *)
2320    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2321  esac
2322fi
2323# Use eval to expand $SHELL
2324if eval "$MISSING --is-lightweight"; then
2325  am_missing_run="$MISSING "
2326else
2327  am_missing_run=
2328  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2329$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2330fi
2331
2332if test x"${install_sh+set}" != xset; then
2333  case $am_aux_dir in
2334  *\ * | *\	*)
2335    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2336  *)
2337    install_sh="\${SHELL} $am_aux_dir/install-sh"
2338  esac
2339fi
2340
2341# Installed binaries are usually stripped using 'strip' when the user
2342# run "make install-strip".  However 'strip' might not be the right
2343# tool to use in cross-compilation environments, therefore Automake
2344# will honor the 'STRIP' environment variable to overrule this program.
2345if test "$cross_compiling" != no; then
2346  if test -n "$ac_tool_prefix"; then
2347  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2348set dummy ${ac_tool_prefix}strip; ac_word=$2
2349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2350$as_echo_n "checking for $ac_word... " >&6; }
2351if ${ac_cv_prog_STRIP+:} false; then :
2352  $as_echo_n "(cached) " >&6
2353else
2354  if test -n "$STRIP"; then
2355  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2356else
2357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358for as_dir in $PATH
2359do
2360  IFS=$as_save_IFS
2361  test -z "$as_dir" && as_dir=.
2362    for ac_exec_ext in '' $ac_executable_extensions; do
2363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2364    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366    break 2
2367  fi
2368done
2369  done
2370IFS=$as_save_IFS
2371
2372fi
2373fi
2374STRIP=$ac_cv_prog_STRIP
2375if test -n "$STRIP"; then
2376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2377$as_echo "$STRIP" >&6; }
2378else
2379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380$as_echo "no" >&6; }
2381fi
2382
2383
2384fi
2385if test -z "$ac_cv_prog_STRIP"; then
2386  ac_ct_STRIP=$STRIP
2387  # Extract the first word of "strip", so it can be a program name with args.
2388set dummy strip; ac_word=$2
2389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390$as_echo_n "checking for $ac_word... " >&6; }
2391if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2392  $as_echo_n "(cached) " >&6
2393else
2394  if test -n "$ac_ct_STRIP"; then
2395  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2396else
2397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398for as_dir in $PATH
2399do
2400  IFS=$as_save_IFS
2401  test -z "$as_dir" && as_dir=.
2402    for ac_exec_ext in '' $ac_executable_extensions; do
2403  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404    ac_cv_prog_ac_ct_STRIP="strip"
2405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406    break 2
2407  fi
2408done
2409  done
2410IFS=$as_save_IFS
2411
2412fi
2413fi
2414ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2415if test -n "$ac_ct_STRIP"; then
2416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2417$as_echo "$ac_ct_STRIP" >&6; }
2418else
2419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420$as_echo "no" >&6; }
2421fi
2422
2423  if test "x$ac_ct_STRIP" = x; then
2424    STRIP=":"
2425  else
2426    case $cross_compiling:$ac_tool_warned in
2427yes:)
2428{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2429$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2430ac_tool_warned=yes ;;
2431esac
2432    STRIP=$ac_ct_STRIP
2433  fi
2434else
2435  STRIP="$ac_cv_prog_STRIP"
2436fi
2437
2438fi
2439INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2440
2441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2442$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2443if test -z "$MKDIR_P"; then
2444  if ${ac_cv_path_mkdir+:} false; then :
2445  $as_echo_n "(cached) " >&6
2446else
2447  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2449do
2450  IFS=$as_save_IFS
2451  test -z "$as_dir" && as_dir=.
2452    for ac_prog in mkdir gmkdir; do
2453	 for ac_exec_ext in '' $ac_executable_extensions; do
2454	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2455	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2456	     'mkdir (GNU coreutils) '* | \
2457	     'mkdir (coreutils) '* | \
2458	     'mkdir (fileutils) '4.1*)
2459	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2460	       break 3;;
2461	   esac
2462	 done
2463       done
2464  done
2465IFS=$as_save_IFS
2466
2467fi
2468
2469  test -d ./--version && rmdir ./--version
2470  if test "${ac_cv_path_mkdir+set}" = set; then
2471    MKDIR_P="$ac_cv_path_mkdir -p"
2472  else
2473    # As a last resort, use the slow shell script.  Don't cache a
2474    # value for MKDIR_P within a source directory, because that will
2475    # break other packages using the cache if that directory is
2476    # removed, or if the value is a relative name.
2477    MKDIR_P="$ac_install_sh -d"
2478  fi
2479fi
2480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2481$as_echo "$MKDIR_P" >&6; }
2482
2483for ac_prog in gawk mawk nawk awk
2484do
2485  # Extract the first word of "$ac_prog", so it can be a program name with args.
2486set dummy $ac_prog; ac_word=$2
2487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2488$as_echo_n "checking for $ac_word... " >&6; }
2489if ${ac_cv_prog_AWK+:} false; then :
2490  $as_echo_n "(cached) " >&6
2491else
2492  if test -n "$AWK"; then
2493  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2494else
2495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496for as_dir in $PATH
2497do
2498  IFS=$as_save_IFS
2499  test -z "$as_dir" && as_dir=.
2500    for ac_exec_ext in '' $ac_executable_extensions; do
2501  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2502    ac_cv_prog_AWK="$ac_prog"
2503    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2504    break 2
2505  fi
2506done
2507  done
2508IFS=$as_save_IFS
2509
2510fi
2511fi
2512AWK=$ac_cv_prog_AWK
2513if test -n "$AWK"; then
2514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2515$as_echo "$AWK" >&6; }
2516else
2517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518$as_echo "no" >&6; }
2519fi
2520
2521
2522  test -n "$AWK" && break
2523done
2524
2525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2526$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2527set x ${MAKE-make}
2528ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2529if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2530  $as_echo_n "(cached) " >&6
2531else
2532  cat >conftest.make <<\_ACEOF
2533SHELL = /bin/sh
2534all:
2535	@echo '@@@%%%=$(MAKE)=@@@%%%'
2536_ACEOF
2537# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2538case `${MAKE-make} -f conftest.make 2>/dev/null` in
2539  *@@@%%%=?*=@@@%%%*)
2540    eval ac_cv_prog_make_${ac_make}_set=yes;;
2541  *)
2542    eval ac_cv_prog_make_${ac_make}_set=no;;
2543esac
2544rm -f conftest.make
2545fi
2546if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548$as_echo "yes" >&6; }
2549  SET_MAKE=
2550else
2551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552$as_echo "no" >&6; }
2553  SET_MAKE="MAKE=${MAKE-make}"
2554fi
2555
2556rm -rf .tst 2>/dev/null
2557mkdir .tst 2>/dev/null
2558if test -d .tst; then
2559  am__leading_dot=.
2560else
2561  am__leading_dot=_
2562fi
2563rmdir .tst 2>/dev/null
2564
2565# Check whether --enable-silent-rules was given.
2566if test "${enable_silent_rules+set}" = set; then :
2567  enableval=$enable_silent_rules;
2568fi
2569
2570case $enable_silent_rules in # (((
2571  yes) AM_DEFAULT_VERBOSITY=0;;
2572   no) AM_DEFAULT_VERBOSITY=1;;
2573    *) AM_DEFAULT_VERBOSITY=1;;
2574esac
2575am_make=${MAKE-make}
2576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2577$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2578if ${am_cv_make_support_nested_variables+:} false; then :
2579  $as_echo_n "(cached) " >&6
2580else
2581  if $as_echo 'TRUE=$(BAR$(V))
2582BAR0=false
2583BAR1=true
2584V=1
2585am__doit:
2586	@$(TRUE)
2587.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2588  am_cv_make_support_nested_variables=yes
2589else
2590  am_cv_make_support_nested_variables=no
2591fi
2592fi
2593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2594$as_echo "$am_cv_make_support_nested_variables" >&6; }
2595if test $am_cv_make_support_nested_variables = yes; then
2596    AM_V='$(V)'
2597  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2598else
2599  AM_V=$AM_DEFAULT_VERBOSITY
2600  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2601fi
2602AM_BACKSLASH='\'
2603
2604if test "`cd $srcdir && pwd`" != "`pwd`"; then
2605  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2606  # is not polluted with repeated "-I."
2607  am__isrc=' -I$(srcdir)'
2608  # test to see if srcdir already configured
2609  if test -f $srcdir/config.status; then
2610    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2611  fi
2612fi
2613
2614# test whether we have cygpath
2615if test -z "$CYGPATH_W"; then
2616  if (cygpath --version) >/dev/null 2>/dev/null; then
2617    CYGPATH_W='cygpath -w'
2618  else
2619    CYGPATH_W=echo
2620  fi
2621fi
2622
2623
2624# Define the identity of the package.
2625 PACKAGE='iceauth'
2626 VERSION='1.0.8'
2627
2628
2629cat >>confdefs.h <<_ACEOF
2630#define PACKAGE "$PACKAGE"
2631_ACEOF
2632
2633
2634cat >>confdefs.h <<_ACEOF
2635#define VERSION "$VERSION"
2636_ACEOF
2637
2638# Some tools Automake needs.
2639
2640ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2641
2642
2643AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2644
2645
2646AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2647
2648
2649AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2650
2651
2652MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2653
2654# For better backward compatibility.  To be removed once Automake 1.9.x
2655# dies out for good.  For more background, see:
2656# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2657# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2658mkdir_p='$(MKDIR_P)'
2659
2660# We need awk for the "check" target (and possibly the TAP driver).  The
2661# system "awk" is bad on some platforms.
2662# Always define AMTAR for backward compatibility.  Yes, it's still used
2663# in the wild :-(  We should find a proper way to deprecate it ...
2664AMTAR='$${TAR-tar}'
2665
2666
2667# We'll loop over all known methods to create a tar archive until one works.
2668_am_tools='gnutar  pax cpio none'
2669
2670am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2671
2672
2673
2674
2675
2676
2677# POSIX will say in a future version that running "rm -f" with no argument
2678# is OK; and we want to be able to make that assumption in our Makefile
2679# recipes.  So use an aggressive probe to check that the usage we want is
2680# actually supported "in the wild" to an acceptable degree.
2681# See automake bug#10828.
2682# To make any issue more visible, cause the running configure to be aborted
2683# by default if the 'rm' program in use doesn't match our expectations; the
2684# user can still override this though.
2685if rm -f && rm -fr && rm -rf; then : OK; else
2686  cat >&2 <<'END'
2687Oops!
2688
2689Your 'rm' program seems unable to run without file operands specified
2690on the command line, even when the '-f' option is present.  This is contrary
2691to the behaviour of most rm programs out there, and not conforming with
2692the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2693
2694Please tell bug-automake@gnu.org about your system, including the value
2695of your $PATH and any error possibly output before this message.  This
2696can help us improve future automake versions.
2697
2698END
2699  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2700    echo 'Configuration will proceed anyway, since you have set the' >&2
2701    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2702    echo >&2
2703  else
2704    cat >&2 <<'END'
2705Aborting the configuration process, to ensure you take notice of the issue.
2706
2707You can download and install GNU coreutils to get an 'rm' implementation
2708that behaves properly: <http://www.gnu.org/software/coreutils/>.
2709
2710If you want to complete the configuration process using your problematic
2711'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2712to "yes", and re-run configure.
2713
2714END
2715    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2716  fi
2717fi
2718
2719
2720# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732DEPDIR="${am__leading_dot}deps"
2733
2734ac_config_commands="$ac_config_commands depfiles"
2735
2736
2737am_make=${MAKE-make}
2738cat > confinc << 'END'
2739am__doit:
2740	@echo this is the am__doit target
2741.PHONY: am__doit
2742END
2743# If we don't find an include directive, just comment out the code.
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2745$as_echo_n "checking for style of include used by $am_make... " >&6; }
2746am__include="#"
2747am__quote=
2748_am_result=none
2749# First try GNU make style include.
2750echo "include confinc" > confmf
2751# Ignore all kinds of additional output from 'make'.
2752case `$am_make -s -f confmf 2> /dev/null` in #(
2753*the\ am__doit\ target*)
2754  am__include=include
2755  am__quote=
2756  _am_result=GNU
2757  ;;
2758esac
2759# Now try BSD make style include.
2760if test "$am__include" = "#"; then
2761   echo '.include "confinc"' > confmf
2762   case `$am_make -s -f confmf 2> /dev/null` in #(
2763   *the\ am__doit\ target*)
2764     am__include=.include
2765     am__quote="\""
2766     _am_result=BSD
2767     ;;
2768   esac
2769fi
2770
2771
2772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2773$as_echo "$_am_result" >&6; }
2774rm -f confinc confmf
2775
2776# Check whether --enable-dependency-tracking was given.
2777if test "${enable_dependency_tracking+set}" = set; then :
2778  enableval=$enable_dependency_tracking;
2779fi
2780
2781if test "x$enable_dependency_tracking" != xno; then
2782  am_depcomp="$ac_aux_dir/depcomp"
2783  AMDEPBACKSLASH='\'
2784  am__nodep='_no'
2785fi
2786 if test "x$enable_dependency_tracking" != xno; then
2787  AMDEP_TRUE=
2788  AMDEP_FALSE='#'
2789else
2790  AMDEP_TRUE='#'
2791  AMDEP_FALSE=
2792fi
2793
2794
2795ac_ext=c
2796ac_cpp='$CPP $CPPFLAGS'
2797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2799ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800if test -n "$ac_tool_prefix"; then
2801  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2802set dummy ${ac_tool_prefix}gcc; ac_word=$2
2803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804$as_echo_n "checking for $ac_word... " >&6; }
2805if ${ac_cv_prog_CC+:} false; then :
2806  $as_echo_n "(cached) " >&6
2807else
2808  if test -n "$CC"; then
2809  ac_cv_prog_CC="$CC" # Let the user override the test.
2810else
2811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812for as_dir in $PATH
2813do
2814  IFS=$as_save_IFS
2815  test -z "$as_dir" && as_dir=.
2816    for ac_exec_ext in '' $ac_executable_extensions; do
2817  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2818    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2819    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820    break 2
2821  fi
2822done
2823  done
2824IFS=$as_save_IFS
2825
2826fi
2827fi
2828CC=$ac_cv_prog_CC
2829if test -n "$CC"; then
2830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2831$as_echo "$CC" >&6; }
2832else
2833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834$as_echo "no" >&6; }
2835fi
2836
2837
2838fi
2839if test -z "$ac_cv_prog_CC"; then
2840  ac_ct_CC=$CC
2841  # Extract the first word of "gcc", so it can be a program name with args.
2842set dummy gcc; ac_word=$2
2843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844$as_echo_n "checking for $ac_word... " >&6; }
2845if ${ac_cv_prog_ac_ct_CC+:} false; then :
2846  $as_echo_n "(cached) " >&6
2847else
2848  if test -n "$ac_ct_CC"; then
2849  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2850else
2851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852for as_dir in $PATH
2853do
2854  IFS=$as_save_IFS
2855  test -z "$as_dir" && as_dir=.
2856    for ac_exec_ext in '' $ac_executable_extensions; do
2857  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858    ac_cv_prog_ac_ct_CC="gcc"
2859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860    break 2
2861  fi
2862done
2863  done
2864IFS=$as_save_IFS
2865
2866fi
2867fi
2868ac_ct_CC=$ac_cv_prog_ac_ct_CC
2869if test -n "$ac_ct_CC"; then
2870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2871$as_echo "$ac_ct_CC" >&6; }
2872else
2873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874$as_echo "no" >&6; }
2875fi
2876
2877  if test "x$ac_ct_CC" = x; then
2878    CC=""
2879  else
2880    case $cross_compiling:$ac_tool_warned in
2881yes:)
2882{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2883$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2884ac_tool_warned=yes ;;
2885esac
2886    CC=$ac_ct_CC
2887  fi
2888else
2889  CC="$ac_cv_prog_CC"
2890fi
2891
2892if test -z "$CC"; then
2893          if test -n "$ac_tool_prefix"; then
2894    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2895set dummy ${ac_tool_prefix}cc; ac_word=$2
2896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897$as_echo_n "checking for $ac_word... " >&6; }
2898if ${ac_cv_prog_CC+:} false; then :
2899  $as_echo_n "(cached) " >&6
2900else
2901  if test -n "$CC"; then
2902  ac_cv_prog_CC="$CC" # Let the user override the test.
2903else
2904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905for as_dir in $PATH
2906do
2907  IFS=$as_save_IFS
2908  test -z "$as_dir" && as_dir=.
2909    for ac_exec_ext in '' $ac_executable_extensions; do
2910  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911    ac_cv_prog_CC="${ac_tool_prefix}cc"
2912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913    break 2
2914  fi
2915done
2916  done
2917IFS=$as_save_IFS
2918
2919fi
2920fi
2921CC=$ac_cv_prog_CC
2922if test -n "$CC"; then
2923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924$as_echo "$CC" >&6; }
2925else
2926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927$as_echo "no" >&6; }
2928fi
2929
2930
2931  fi
2932fi
2933if test -z "$CC"; then
2934  # Extract the first word of "cc", so it can be a program name with args.
2935set dummy cc; ac_word=$2
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937$as_echo_n "checking for $ac_word... " >&6; }
2938if ${ac_cv_prog_CC+:} false; then :
2939  $as_echo_n "(cached) " >&6
2940else
2941  if test -n "$CC"; then
2942  ac_cv_prog_CC="$CC" # Let the user override the test.
2943else
2944  ac_prog_rejected=no
2945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946for as_dir in $PATH
2947do
2948  IFS=$as_save_IFS
2949  test -z "$as_dir" && as_dir=.
2950    for ac_exec_ext in '' $ac_executable_extensions; do
2951  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2952    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2953       ac_prog_rejected=yes
2954       continue
2955     fi
2956    ac_cv_prog_CC="cc"
2957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958    break 2
2959  fi
2960done
2961  done
2962IFS=$as_save_IFS
2963
2964if test $ac_prog_rejected = yes; then
2965  # We found a bogon in the path, so make sure we never use it.
2966  set dummy $ac_cv_prog_CC
2967  shift
2968  if test $# != 0; then
2969    # We chose a different compiler from the bogus one.
2970    # However, it has the same basename, so the bogon will be chosen
2971    # first if we set CC to just the basename; use the full file name.
2972    shift
2973    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2974  fi
2975fi
2976fi
2977fi
2978CC=$ac_cv_prog_CC
2979if test -n "$CC"; then
2980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981$as_echo "$CC" >&6; }
2982else
2983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984$as_echo "no" >&6; }
2985fi
2986
2987
2988fi
2989if test -z "$CC"; then
2990  if test -n "$ac_tool_prefix"; then
2991  for ac_prog in cl.exe
2992  do
2993    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2994set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996$as_echo_n "checking for $ac_word... " >&6; }
2997if ${ac_cv_prog_CC+:} false; then :
2998  $as_echo_n "(cached) " >&6
2999else
3000  if test -n "$CC"; then
3001  ac_cv_prog_CC="$CC" # Let the user override the test.
3002else
3003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004for as_dir in $PATH
3005do
3006  IFS=$as_save_IFS
3007  test -z "$as_dir" && as_dir=.
3008    for ac_exec_ext in '' $ac_executable_extensions; do
3009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012    break 2
3013  fi
3014done
3015  done
3016IFS=$as_save_IFS
3017
3018fi
3019fi
3020CC=$ac_cv_prog_CC
3021if test -n "$CC"; then
3022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3023$as_echo "$CC" >&6; }
3024else
3025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026$as_echo "no" >&6; }
3027fi
3028
3029
3030    test -n "$CC" && break
3031  done
3032fi
3033if test -z "$CC"; then
3034  ac_ct_CC=$CC
3035  for ac_prog in cl.exe
3036do
3037  # Extract the first word of "$ac_prog", so it can be a program name with args.
3038set dummy $ac_prog; ac_word=$2
3039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040$as_echo_n "checking for $ac_word... " >&6; }
3041if ${ac_cv_prog_ac_ct_CC+:} false; then :
3042  $as_echo_n "(cached) " >&6
3043else
3044  if test -n "$ac_ct_CC"; then
3045  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3046else
3047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048for as_dir in $PATH
3049do
3050  IFS=$as_save_IFS
3051  test -z "$as_dir" && as_dir=.
3052    for ac_exec_ext in '' $ac_executable_extensions; do
3053  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3054    ac_cv_prog_ac_ct_CC="$ac_prog"
3055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056    break 2
3057  fi
3058done
3059  done
3060IFS=$as_save_IFS
3061
3062fi
3063fi
3064ac_ct_CC=$ac_cv_prog_ac_ct_CC
3065if test -n "$ac_ct_CC"; then
3066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3067$as_echo "$ac_ct_CC" >&6; }
3068else
3069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070$as_echo "no" >&6; }
3071fi
3072
3073
3074  test -n "$ac_ct_CC" && break
3075done
3076
3077  if test "x$ac_ct_CC" = x; then
3078    CC=""
3079  else
3080    case $cross_compiling:$ac_tool_warned in
3081yes:)
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084ac_tool_warned=yes ;;
3085esac
3086    CC=$ac_ct_CC
3087  fi
3088fi
3089
3090fi
3091
3092
3093test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095as_fn_error $? "no acceptable C compiler found in \$PATH
3096See \`config.log' for more details" "$LINENO" 5; }
3097
3098# Provide some information about the compiler.
3099$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3100set X $ac_compile
3101ac_compiler=$2
3102for ac_option in --version -v -V -qversion; do
3103  { { ac_try="$ac_compiler $ac_option >&5"
3104case "(($ac_try" in
3105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106  *) ac_try_echo=$ac_try;;
3107esac
3108eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3109$as_echo "$ac_try_echo"; } >&5
3110  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3111  ac_status=$?
3112  if test -s conftest.err; then
3113    sed '10a\
3114... rest of stderr output deleted ...
3115         10q' conftest.err >conftest.er1
3116    cat conftest.er1 >&5
3117  fi
3118  rm -f conftest.er1 conftest.err
3119  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120  test $ac_status = 0; }
3121done
3122
3123cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124/* end confdefs.h.  */
3125
3126int
3127main ()
3128{
3129
3130  ;
3131  return 0;
3132}
3133_ACEOF
3134ac_clean_files_save=$ac_clean_files
3135ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3136# Try to create an executable without -o first, disregard a.out.
3137# It will help us diagnose broken compilers, and finding out an intuition
3138# of exeext.
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3140$as_echo_n "checking whether the C compiler works... " >&6; }
3141ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3142
3143# The possible output files:
3144ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3145
3146ac_rmfiles=
3147for ac_file in $ac_files
3148do
3149  case $ac_file in
3150    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3151    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3152  esac
3153done
3154rm -f $ac_rmfiles
3155
3156if { { ac_try="$ac_link_default"
3157case "(($ac_try" in
3158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159  *) ac_try_echo=$ac_try;;
3160esac
3161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162$as_echo "$ac_try_echo"; } >&5
3163  (eval "$ac_link_default") 2>&5
3164  ac_status=$?
3165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166  test $ac_status = 0; }; then :
3167  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3168# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3169# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3170# so that the user can short-circuit this test for compilers unknown to
3171# Autoconf.
3172for ac_file in $ac_files ''
3173do
3174  test -f "$ac_file" || continue
3175  case $ac_file in
3176    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3177	;;
3178    [ab].out )
3179	# We found the default executable, but exeext='' is most
3180	# certainly right.
3181	break;;
3182    *.* )
3183	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3184	then :; else
3185	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3186	fi
3187	# We set ac_cv_exeext here because the later test for it is not
3188	# safe: cross compilers may not add the suffix if given an `-o'
3189	# argument, so we may need to know it at that point already.
3190	# Even if this section looks crufty: it has the advantage of
3191	# actually working.
3192	break;;
3193    * )
3194	break;;
3195  esac
3196done
3197test "$ac_cv_exeext" = no && ac_cv_exeext=
3198
3199else
3200  ac_file=''
3201fi
3202if test -z "$ac_file"; then :
3203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204$as_echo "no" >&6; }
3205$as_echo "$as_me: failed program was:" >&5
3206sed 's/^/| /' conftest.$ac_ext >&5
3207
3208{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210as_fn_error 77 "C compiler cannot create executables
3211See \`config.log' for more details" "$LINENO" 5; }
3212else
3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3214$as_echo "yes" >&6; }
3215fi
3216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3217$as_echo_n "checking for C compiler default output file name... " >&6; }
3218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3219$as_echo "$ac_file" >&6; }
3220ac_exeext=$ac_cv_exeext
3221
3222rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3223ac_clean_files=$ac_clean_files_save
3224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3225$as_echo_n "checking for suffix of executables... " >&6; }
3226if { { ac_try="$ac_link"
3227case "(($ac_try" in
3228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229  *) ac_try_echo=$ac_try;;
3230esac
3231eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232$as_echo "$ac_try_echo"; } >&5
3233  (eval "$ac_link") 2>&5
3234  ac_status=$?
3235  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236  test $ac_status = 0; }; then :
3237  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3238# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3239# work properly (i.e., refer to `conftest.exe'), while it won't with
3240# `rm'.
3241for ac_file in conftest.exe conftest conftest.*; do
3242  test -f "$ac_file" || continue
3243  case $ac_file in
3244    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3245    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3246	  break;;
3247    * ) break;;
3248  esac
3249done
3250else
3251  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3252$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3254See \`config.log' for more details" "$LINENO" 5; }
3255fi
3256rm -f conftest conftest$ac_cv_exeext
3257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3258$as_echo "$ac_cv_exeext" >&6; }
3259
3260rm -f conftest.$ac_ext
3261EXEEXT=$ac_cv_exeext
3262ac_exeext=$EXEEXT
3263cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264/* end confdefs.h.  */
3265#include <stdio.h>
3266int
3267main ()
3268{
3269FILE *f = fopen ("conftest.out", "w");
3270 return ferror (f) || fclose (f) != 0;
3271
3272  ;
3273  return 0;
3274}
3275_ACEOF
3276ac_clean_files="$ac_clean_files conftest.out"
3277# Check that the compiler produces executables we can run.  If not, either
3278# the compiler is broken, or we cross compile.
3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3280$as_echo_n "checking whether we are cross compiling... " >&6; }
3281if test "$cross_compiling" != yes; then
3282  { { ac_try="$ac_link"
3283case "(($ac_try" in
3284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285  *) ac_try_echo=$ac_try;;
3286esac
3287eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288$as_echo "$ac_try_echo"; } >&5
3289  (eval "$ac_link") 2>&5
3290  ac_status=$?
3291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292  test $ac_status = 0; }
3293  if { ac_try='./conftest$ac_cv_exeext'
3294  { { case "(($ac_try" in
3295  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296  *) ac_try_echo=$ac_try;;
3297esac
3298eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299$as_echo "$ac_try_echo"; } >&5
3300  (eval "$ac_try") 2>&5
3301  ac_status=$?
3302  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303  test $ac_status = 0; }; }; then
3304    cross_compiling=no
3305  else
3306    if test "$cross_compiling" = maybe; then
3307	cross_compiling=yes
3308    else
3309	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311as_fn_error $? "cannot run C compiled programs.
3312If you meant to cross compile, use \`--host'.
3313See \`config.log' for more details" "$LINENO" 5; }
3314    fi
3315  fi
3316fi
3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3318$as_echo "$cross_compiling" >&6; }
3319
3320rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3321ac_clean_files=$ac_clean_files_save
3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3323$as_echo_n "checking for suffix of object files... " >&6; }
3324if ${ac_cv_objext+:} false; then :
3325  $as_echo_n "(cached) " >&6
3326else
3327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328/* end confdefs.h.  */
3329
3330int
3331main ()
3332{
3333
3334  ;
3335  return 0;
3336}
3337_ACEOF
3338rm -f conftest.o conftest.obj
3339if { { ac_try="$ac_compile"
3340case "(($ac_try" in
3341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342  *) ac_try_echo=$ac_try;;
3343esac
3344eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345$as_echo "$ac_try_echo"; } >&5
3346  (eval "$ac_compile") 2>&5
3347  ac_status=$?
3348  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349  test $ac_status = 0; }; then :
3350  for ac_file in conftest.o conftest.obj conftest.*; do
3351  test -f "$ac_file" || continue;
3352  case $ac_file in
3353    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3354    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3355       break;;
3356  esac
3357done
3358else
3359  $as_echo "$as_me: failed program was:" >&5
3360sed 's/^/| /' conftest.$ac_ext >&5
3361
3362{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364as_fn_error $? "cannot compute suffix of object files: cannot compile
3365See \`config.log' for more details" "$LINENO" 5; }
3366fi
3367rm -f conftest.$ac_cv_objext conftest.$ac_ext
3368fi
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3370$as_echo "$ac_cv_objext" >&6; }
3371OBJEXT=$ac_cv_objext
3372ac_objext=$OBJEXT
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3374$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3375if ${ac_cv_c_compiler_gnu+:} false; then :
3376  $as_echo_n "(cached) " >&6
3377else
3378  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379/* end confdefs.h.  */
3380
3381int
3382main ()
3383{
3384#ifndef __GNUC__
3385       choke me
3386#endif
3387
3388  ;
3389  return 0;
3390}
3391_ACEOF
3392if ac_fn_c_try_compile "$LINENO"; then :
3393  ac_compiler_gnu=yes
3394else
3395  ac_compiler_gnu=no
3396fi
3397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398ac_cv_c_compiler_gnu=$ac_compiler_gnu
3399
3400fi
3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3402$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3403if test $ac_compiler_gnu = yes; then
3404  GCC=yes
3405else
3406  GCC=
3407fi
3408ac_test_CFLAGS=${CFLAGS+set}
3409ac_save_CFLAGS=$CFLAGS
3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3411$as_echo_n "checking whether $CC accepts -g... " >&6; }
3412if ${ac_cv_prog_cc_g+:} false; then :
3413  $as_echo_n "(cached) " >&6
3414else
3415  ac_save_c_werror_flag=$ac_c_werror_flag
3416   ac_c_werror_flag=yes
3417   ac_cv_prog_cc_g=no
3418   CFLAGS="-g"
3419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420/* end confdefs.h.  */
3421
3422int
3423main ()
3424{
3425
3426  ;
3427  return 0;
3428}
3429_ACEOF
3430if ac_fn_c_try_compile "$LINENO"; then :
3431  ac_cv_prog_cc_g=yes
3432else
3433  CFLAGS=""
3434      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435/* end confdefs.h.  */
3436
3437int
3438main ()
3439{
3440
3441  ;
3442  return 0;
3443}
3444_ACEOF
3445if ac_fn_c_try_compile "$LINENO"; then :
3446
3447else
3448  ac_c_werror_flag=$ac_save_c_werror_flag
3449	 CFLAGS="-g"
3450	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451/* end confdefs.h.  */
3452
3453int
3454main ()
3455{
3456
3457  ;
3458  return 0;
3459}
3460_ACEOF
3461if ac_fn_c_try_compile "$LINENO"; then :
3462  ac_cv_prog_cc_g=yes
3463fi
3464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465fi
3466rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467fi
3468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469   ac_c_werror_flag=$ac_save_c_werror_flag
3470fi
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3472$as_echo "$ac_cv_prog_cc_g" >&6; }
3473if test "$ac_test_CFLAGS" = set; then
3474  CFLAGS=$ac_save_CFLAGS
3475elif test $ac_cv_prog_cc_g = yes; then
3476  if test "$GCC" = yes; then
3477    CFLAGS="-g -O2"
3478  else
3479    CFLAGS="-g"
3480  fi
3481else
3482  if test "$GCC" = yes; then
3483    CFLAGS="-O2"
3484  else
3485    CFLAGS=
3486  fi
3487fi
3488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3489$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3490if ${ac_cv_prog_cc_c89+:} false; then :
3491  $as_echo_n "(cached) " >&6
3492else
3493  ac_cv_prog_cc_c89=no
3494ac_save_CC=$CC
3495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496/* end confdefs.h.  */
3497#include <stdarg.h>
3498#include <stdio.h>
3499struct stat;
3500/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3501struct buf { int x; };
3502FILE * (*rcsopen) (struct buf *, struct stat *, int);
3503static char *e (p, i)
3504     char **p;
3505     int i;
3506{
3507  return p[i];
3508}
3509static char *f (char * (*g) (char **, int), char **p, ...)
3510{
3511  char *s;
3512  va_list v;
3513  va_start (v,p);
3514  s = g (p, va_arg (v,int));
3515  va_end (v);
3516  return s;
3517}
3518
3519/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3520   function prototypes and stuff, but not '\xHH' hex character constants.
3521   These don't provoke an error unfortunately, instead are silently treated
3522   as 'x'.  The following induces an error, until -std is added to get
3523   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3524   array size at least.  It's necessary to write '\x00'==0 to get something
3525   that's true only with -std.  */
3526int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3527
3528/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3529   inside strings and character constants.  */
3530#define FOO(x) 'x'
3531int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3532
3533int test (int i, double x);
3534struct s1 {int (*f) (int a);};
3535struct s2 {int (*f) (double a);};
3536int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3537int argc;
3538char **argv;
3539int
3540main ()
3541{
3542return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3543  ;
3544  return 0;
3545}
3546_ACEOF
3547for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3548	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3549do
3550  CC="$ac_save_CC $ac_arg"
3551  if ac_fn_c_try_compile "$LINENO"; then :
3552  ac_cv_prog_cc_c89=$ac_arg
3553fi
3554rm -f core conftest.err conftest.$ac_objext
3555  test "x$ac_cv_prog_cc_c89" != "xno" && break
3556done
3557rm -f conftest.$ac_ext
3558CC=$ac_save_CC
3559
3560fi
3561# AC_CACHE_VAL
3562case "x$ac_cv_prog_cc_c89" in
3563  x)
3564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3565$as_echo "none needed" >&6; } ;;
3566  xno)
3567    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3568$as_echo "unsupported" >&6; } ;;
3569  *)
3570    CC="$CC $ac_cv_prog_cc_c89"
3571    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3572$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3573esac
3574if test "x$ac_cv_prog_cc_c89" != xno; then :
3575
3576fi
3577
3578ac_ext=c
3579ac_cpp='$CPP $CPPFLAGS'
3580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3582ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583
3584ac_ext=c
3585ac_cpp='$CPP $CPPFLAGS'
3586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3590$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3591if ${am_cv_prog_cc_c_o+:} false; then :
3592  $as_echo_n "(cached) " >&6
3593else
3594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595/* end confdefs.h.  */
3596
3597int
3598main ()
3599{
3600
3601  ;
3602  return 0;
3603}
3604_ACEOF
3605  # Make sure it works both with $CC and with simple cc.
3606  # Following AC_PROG_CC_C_O, we do the test twice because some
3607  # compilers refuse to overwrite an existing .o file with -o,
3608  # though they will create one.
3609  am_cv_prog_cc_c_o=yes
3610  for am_i in 1 2; do
3611    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3612   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3613   ac_status=$?
3614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615   (exit $ac_status); } \
3616         && test -f conftest2.$ac_objext; then
3617      : OK
3618    else
3619      am_cv_prog_cc_c_o=no
3620      break
3621    fi
3622  done
3623  rm -f core conftest*
3624  unset am_i
3625fi
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3627$as_echo "$am_cv_prog_cc_c_o" >&6; }
3628if test "$am_cv_prog_cc_c_o" != yes; then
3629   # Losing compiler, so override with the script.
3630   # FIXME: It is wrong to rewrite CC.
3631   # But if we don't then we get into trouble of one sort or another.
3632   # A longer-term fix would be to have automake use am__CC in this case,
3633   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3634   CC="$am_aux_dir/compile $CC"
3635fi
3636ac_ext=c
3637ac_cpp='$CPP $CPPFLAGS'
3638ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3640ac_compiler_gnu=$ac_cv_c_compiler_gnu
3641
3642
3643depcc="$CC"   am_compiler_list=
3644
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3646$as_echo_n "checking dependency style of $depcc... " >&6; }
3647if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3648  $as_echo_n "(cached) " >&6
3649else
3650  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3651  # We make a subdir and do the tests there.  Otherwise we can end up
3652  # making bogus files that we don't know about and never remove.  For
3653  # instance it was reported that on HP-UX the gcc test will end up
3654  # making a dummy file named 'D' -- because '-MD' means "put the output
3655  # in D".
3656  rm -rf conftest.dir
3657  mkdir conftest.dir
3658  # Copy depcomp to subdir because otherwise we won't find it if we're
3659  # using a relative directory.
3660  cp "$am_depcomp" conftest.dir
3661  cd conftest.dir
3662  # We will build objects and dependencies in a subdirectory because
3663  # it helps to detect inapplicable dependency modes.  For instance
3664  # both Tru64's cc and ICC support -MD to output dependencies as a
3665  # side effect of compilation, but ICC will put the dependencies in
3666  # the current directory while Tru64 will put them in the object
3667  # directory.
3668  mkdir sub
3669
3670  am_cv_CC_dependencies_compiler_type=none
3671  if test "$am_compiler_list" = ""; then
3672     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3673  fi
3674  am__universal=false
3675  case " $depcc " in #(
3676     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3677     esac
3678
3679  for depmode in $am_compiler_list; do
3680    # Setup a source with many dependencies, because some compilers
3681    # like to wrap large dependency lists on column 80 (with \), and
3682    # we should not choose a depcomp mode which is confused by this.
3683    #
3684    # We need to recreate these files for each test, as the compiler may
3685    # overwrite some of them when testing with obscure command lines.
3686    # This happens at least with the AIX C compiler.
3687    : > sub/conftest.c
3688    for i in 1 2 3 4 5 6; do
3689      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3690      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3691      # Solaris 10 /bin/sh.
3692      echo '/* dummy */' > sub/conftst$i.h
3693    done
3694    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3695
3696    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3697    # mode.  It turns out that the SunPro C++ compiler does not properly
3698    # handle '-M -o', and we need to detect this.  Also, some Intel
3699    # versions had trouble with output in subdirs.
3700    am__obj=sub/conftest.${OBJEXT-o}
3701    am__minus_obj="-o $am__obj"
3702    case $depmode in
3703    gcc)
3704      # This depmode causes a compiler race in universal mode.
3705      test "$am__universal" = false || continue
3706      ;;
3707    nosideeffect)
3708      # After this tag, mechanisms are not by side-effect, so they'll
3709      # only be used when explicitly requested.
3710      if test "x$enable_dependency_tracking" = xyes; then
3711	continue
3712      else
3713	break
3714      fi
3715      ;;
3716    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3717      # This compiler won't grok '-c -o', but also, the minuso test has
3718      # not run yet.  These depmodes are late enough in the game, and
3719      # so weak that their functioning should not be impacted.
3720      am__obj=conftest.${OBJEXT-o}
3721      am__minus_obj=
3722      ;;
3723    none) break ;;
3724    esac
3725    if depmode=$depmode \
3726       source=sub/conftest.c object=$am__obj \
3727       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3728       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3729         >/dev/null 2>conftest.err &&
3730       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3731       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3732       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3733       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3734      # icc doesn't choke on unknown options, it will just issue warnings
3735      # or remarks (even with -Werror).  So we grep stderr for any message
3736      # that says an option was ignored or not supported.
3737      # When given -MP, icc 7.0 and 7.1 complain thusly:
3738      #   icc: Command line warning: ignoring option '-M'; no argument required
3739      # The diagnosis changed in icc 8.0:
3740      #   icc: Command line remark: option '-MP' not supported
3741      if (grep 'ignoring option' conftest.err ||
3742          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3743        am_cv_CC_dependencies_compiler_type=$depmode
3744        break
3745      fi
3746    fi
3747  done
3748
3749  cd ..
3750  rm -rf conftest.dir
3751else
3752  am_cv_CC_dependencies_compiler_type=none
3753fi
3754
3755fi
3756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3757$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3758CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3759
3760 if
3761  test "x$enable_dependency_tracking" != xno \
3762  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3763  am__fastdepCC_TRUE=
3764  am__fastdepCC_FALSE='#'
3765else
3766  am__fastdepCC_TRUE='#'
3767  am__fastdepCC_FALSE=
3768fi
3769
3770
3771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3772$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3773if ${ac_cv_prog_cc_c99+:} false; then :
3774  $as_echo_n "(cached) " >&6
3775else
3776  ac_cv_prog_cc_c99=no
3777ac_save_CC=$CC
3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779/* end confdefs.h.  */
3780#include <stdarg.h>
3781#include <stdbool.h>
3782#include <stdlib.h>
3783#include <wchar.h>
3784#include <stdio.h>
3785
3786// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3787#define debug(...) fprintf (stderr, __VA_ARGS__)
3788#define showlist(...) puts (#__VA_ARGS__)
3789#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3790static void
3791test_varargs_macros (void)
3792{
3793  int x = 1234;
3794  int y = 5678;
3795  debug ("Flag");
3796  debug ("X = %d\n", x);
3797  showlist (The first, second, and third items.);
3798  report (x>y, "x is %d but y is %d", x, y);
3799}
3800
3801// Check long long types.
3802#define BIG64 18446744073709551615ull
3803#define BIG32 4294967295ul
3804#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3805#if !BIG_OK
3806  your preprocessor is broken;
3807#endif
3808#if BIG_OK
3809#else
3810  your preprocessor is broken;
3811#endif
3812static long long int bignum = -9223372036854775807LL;
3813static unsigned long long int ubignum = BIG64;
3814
3815struct incomplete_array
3816{
3817  int datasize;
3818  double data[];
3819};
3820
3821struct named_init {
3822  int number;
3823  const wchar_t *name;
3824  double average;
3825};
3826
3827typedef const char *ccp;
3828
3829static inline int
3830test_restrict (ccp restrict text)
3831{
3832  // See if C++-style comments work.
3833  // Iterate through items via the restricted pointer.
3834  // Also check for declarations in for loops.
3835  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3836    continue;
3837  return 0;
3838}
3839
3840// Check varargs and va_copy.
3841static void
3842test_varargs (const char *format, ...)
3843{
3844  va_list args;
3845  va_start (args, format);
3846  va_list args_copy;
3847  va_copy (args_copy, args);
3848
3849  const char *str;
3850  int number;
3851  float fnumber;
3852
3853  while (*format)
3854    {
3855      switch (*format++)
3856	{
3857	case 's': // string
3858	  str = va_arg (args_copy, const char *);
3859	  break;
3860	case 'd': // int
3861	  number = va_arg (args_copy, int);
3862	  break;
3863	case 'f': // float
3864	  fnumber = va_arg (args_copy, double);
3865	  break;
3866	default:
3867	  break;
3868	}
3869    }
3870  va_end (args_copy);
3871  va_end (args);
3872}
3873
3874int
3875main ()
3876{
3877
3878  // Check bool.
3879  _Bool success = false;
3880
3881  // Check restrict.
3882  if (test_restrict ("String literal") == 0)
3883    success = true;
3884  char *restrict newvar = "Another string";
3885
3886  // Check varargs.
3887  test_varargs ("s, d' f .", "string", 65, 34.234);
3888  test_varargs_macros ();
3889
3890  // Check flexible array members.
3891  struct incomplete_array *ia =
3892    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3893  ia->datasize = 10;
3894  for (int i = 0; i < ia->datasize; ++i)
3895    ia->data[i] = i * 1.234;
3896
3897  // Check named initializers.
3898  struct named_init ni = {
3899    .number = 34,
3900    .name = L"Test wide string",
3901    .average = 543.34343,
3902  };
3903
3904  ni.number = 58;
3905
3906  int dynamic_array[ni.number];
3907  dynamic_array[ni.number - 1] = 543;
3908
3909  // work around unused variable warnings
3910  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3911	  || dynamic_array[ni.number - 1] != 543);
3912
3913  ;
3914  return 0;
3915}
3916_ACEOF
3917for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3918do
3919  CC="$ac_save_CC $ac_arg"
3920  if ac_fn_c_try_compile "$LINENO"; then :
3921  ac_cv_prog_cc_c99=$ac_arg
3922fi
3923rm -f core conftest.err conftest.$ac_objext
3924  test "x$ac_cv_prog_cc_c99" != "xno" && break
3925done
3926rm -f conftest.$ac_ext
3927CC=$ac_save_CC
3928
3929fi
3930# AC_CACHE_VAL
3931case "x$ac_cv_prog_cc_c99" in
3932  x)
3933    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3934$as_echo "none needed" >&6; } ;;
3935  xno)
3936    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3937$as_echo "unsupported" >&6; } ;;
3938  *)
3939    CC="$CC $ac_cv_prog_cc_c99"
3940    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3941$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3942esac
3943if test "x$ac_cv_prog_cc_c99" != xno; then :
3944
3945fi
3946
3947
3948
3949ac_ext=c
3950ac_cpp='$CPP $CPPFLAGS'
3951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3953ac_compiler_gnu=$ac_cv_c_compiler_gnu
3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3955$as_echo_n "checking how to run the C preprocessor... " >&6; }
3956# On Suns, sometimes $CPP names a directory.
3957if test -n "$CPP" && test -d "$CPP"; then
3958  CPP=
3959fi
3960if test -z "$CPP"; then
3961  if ${ac_cv_prog_CPP+:} false; then :
3962  $as_echo_n "(cached) " >&6
3963else
3964      # Double quotes because CPP needs to be expanded
3965    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3966    do
3967      ac_preproc_ok=false
3968for ac_c_preproc_warn_flag in '' yes
3969do
3970  # Use a header file that comes with gcc, so configuring glibc
3971  # with a fresh cross-compiler works.
3972  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3973  # <limits.h> exists even on freestanding compilers.
3974  # On the NeXT, cc -E runs the code through the compiler's parser,
3975  # not just through cpp. "Syntax error" is here to catch this case.
3976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977/* end confdefs.h.  */
3978#ifdef __STDC__
3979# include <limits.h>
3980#else
3981# include <assert.h>
3982#endif
3983		     Syntax error
3984_ACEOF
3985if ac_fn_c_try_cpp "$LINENO"; then :
3986
3987else
3988  # Broken: fails on valid input.
3989continue
3990fi
3991rm -f conftest.err conftest.i conftest.$ac_ext
3992
3993  # OK, works on sane cases.  Now check whether nonexistent headers
3994  # can be detected and how.
3995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996/* end confdefs.h.  */
3997#include <ac_nonexistent.h>
3998_ACEOF
3999if ac_fn_c_try_cpp "$LINENO"; then :
4000  # Broken: success on invalid input.
4001continue
4002else
4003  # Passes both tests.
4004ac_preproc_ok=:
4005break
4006fi
4007rm -f conftest.err conftest.i conftest.$ac_ext
4008
4009done
4010# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4011rm -f conftest.i conftest.err conftest.$ac_ext
4012if $ac_preproc_ok; then :
4013  break
4014fi
4015
4016    done
4017    ac_cv_prog_CPP=$CPP
4018
4019fi
4020  CPP=$ac_cv_prog_CPP
4021else
4022  ac_cv_prog_CPP=$CPP
4023fi
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4025$as_echo "$CPP" >&6; }
4026ac_preproc_ok=false
4027for ac_c_preproc_warn_flag in '' yes
4028do
4029  # Use a header file that comes with gcc, so configuring glibc
4030  # with a fresh cross-compiler works.
4031  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032  # <limits.h> exists even on freestanding compilers.
4033  # On the NeXT, cc -E runs the code through the compiler's parser,
4034  # not just through cpp. "Syntax error" is here to catch this case.
4035  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036/* end confdefs.h.  */
4037#ifdef __STDC__
4038# include <limits.h>
4039#else
4040# include <assert.h>
4041#endif
4042		     Syntax error
4043_ACEOF
4044if ac_fn_c_try_cpp "$LINENO"; then :
4045
4046else
4047  # Broken: fails on valid input.
4048continue
4049fi
4050rm -f conftest.err conftest.i conftest.$ac_ext
4051
4052  # OK, works on sane cases.  Now check whether nonexistent headers
4053  # can be detected and how.
4054  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055/* end confdefs.h.  */
4056#include <ac_nonexistent.h>
4057_ACEOF
4058if ac_fn_c_try_cpp "$LINENO"; then :
4059  # Broken: success on invalid input.
4060continue
4061else
4062  # Passes both tests.
4063ac_preproc_ok=:
4064break
4065fi
4066rm -f conftest.err conftest.i conftest.$ac_ext
4067
4068done
4069# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070rm -f conftest.i conftest.err conftest.$ac_ext
4071if $ac_preproc_ok; then :
4072
4073else
4074  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4077See \`config.log' for more details" "$LINENO" 5; }
4078fi
4079
4080ac_ext=c
4081ac_cpp='$CPP $CPPFLAGS'
4082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085
4086
4087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4088$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4089if ${ac_cv_path_GREP+:} false; then :
4090  $as_echo_n "(cached) " >&6
4091else
4092  if test -z "$GREP"; then
4093  ac_path_GREP_found=false
4094  # Loop through the user's path and test for each of PROGNAME-LIST
4095  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4096for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4097do
4098  IFS=$as_save_IFS
4099  test -z "$as_dir" && as_dir=.
4100    for ac_prog in grep ggrep; do
4101    for ac_exec_ext in '' $ac_executable_extensions; do
4102      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4103      as_fn_executable_p "$ac_path_GREP" || continue
4104# Check for GNU ac_path_GREP and select it if it is found.
4105  # Check for GNU $ac_path_GREP
4106case `"$ac_path_GREP" --version 2>&1` in
4107*GNU*)
4108  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4109*)
4110  ac_count=0
4111  $as_echo_n 0123456789 >"conftest.in"
4112  while :
4113  do
4114    cat "conftest.in" "conftest.in" >"conftest.tmp"
4115    mv "conftest.tmp" "conftest.in"
4116    cp "conftest.in" "conftest.nl"
4117    $as_echo 'GREP' >> "conftest.nl"
4118    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4119    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4120    as_fn_arith $ac_count + 1 && ac_count=$as_val
4121    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4122      # Best one so far, save it but keep looking for a better one
4123      ac_cv_path_GREP="$ac_path_GREP"
4124      ac_path_GREP_max=$ac_count
4125    fi
4126    # 10*(2^10) chars as input seems more than enough
4127    test $ac_count -gt 10 && break
4128  done
4129  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4130esac
4131
4132      $ac_path_GREP_found && break 3
4133    done
4134  done
4135  done
4136IFS=$as_save_IFS
4137  if test -z "$ac_cv_path_GREP"; then
4138    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4139  fi
4140else
4141  ac_cv_path_GREP=$GREP
4142fi
4143
4144fi
4145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4146$as_echo "$ac_cv_path_GREP" >&6; }
4147 GREP="$ac_cv_path_GREP"
4148
4149
4150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4151$as_echo_n "checking for egrep... " >&6; }
4152if ${ac_cv_path_EGREP+:} false; then :
4153  $as_echo_n "(cached) " >&6
4154else
4155  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4156   then ac_cv_path_EGREP="$GREP -E"
4157   else
4158     if test -z "$EGREP"; then
4159  ac_path_EGREP_found=false
4160  # Loop through the user's path and test for each of PROGNAME-LIST
4161  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4163do
4164  IFS=$as_save_IFS
4165  test -z "$as_dir" && as_dir=.
4166    for ac_prog in egrep; do
4167    for ac_exec_ext in '' $ac_executable_extensions; do
4168      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4169      as_fn_executable_p "$ac_path_EGREP" || continue
4170# Check for GNU ac_path_EGREP and select it if it is found.
4171  # Check for GNU $ac_path_EGREP
4172case `"$ac_path_EGREP" --version 2>&1` in
4173*GNU*)
4174  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4175*)
4176  ac_count=0
4177  $as_echo_n 0123456789 >"conftest.in"
4178  while :
4179  do
4180    cat "conftest.in" "conftest.in" >"conftest.tmp"
4181    mv "conftest.tmp" "conftest.in"
4182    cp "conftest.in" "conftest.nl"
4183    $as_echo 'EGREP' >> "conftest.nl"
4184    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4185    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4186    as_fn_arith $ac_count + 1 && ac_count=$as_val
4187    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4188      # Best one so far, save it but keep looking for a better one
4189      ac_cv_path_EGREP="$ac_path_EGREP"
4190      ac_path_EGREP_max=$ac_count
4191    fi
4192    # 10*(2^10) chars as input seems more than enough
4193    test $ac_count -gt 10 && break
4194  done
4195  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4196esac
4197
4198      $ac_path_EGREP_found && break 3
4199    done
4200  done
4201  done
4202IFS=$as_save_IFS
4203  if test -z "$ac_cv_path_EGREP"; then
4204    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4205  fi
4206else
4207  ac_cv_path_EGREP=$EGREP
4208fi
4209
4210   fi
4211fi
4212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4213$as_echo "$ac_cv_path_EGREP" >&6; }
4214 EGREP="$ac_cv_path_EGREP"
4215
4216
4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4218$as_echo_n "checking for ANSI C header files... " >&6; }
4219if ${ac_cv_header_stdc+:} false; then :
4220  $as_echo_n "(cached) " >&6
4221else
4222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223/* end confdefs.h.  */
4224#include <stdlib.h>
4225#include <stdarg.h>
4226#include <string.h>
4227#include <float.h>
4228
4229int
4230main ()
4231{
4232
4233  ;
4234  return 0;
4235}
4236_ACEOF
4237if ac_fn_c_try_compile "$LINENO"; then :
4238  ac_cv_header_stdc=yes
4239else
4240  ac_cv_header_stdc=no
4241fi
4242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243
4244if test $ac_cv_header_stdc = yes; then
4245  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4246  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247/* end confdefs.h.  */
4248#include <string.h>
4249
4250_ACEOF
4251if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4252  $EGREP "memchr" >/dev/null 2>&1; then :
4253
4254else
4255  ac_cv_header_stdc=no
4256fi
4257rm -f conftest*
4258
4259fi
4260
4261if test $ac_cv_header_stdc = yes; then
4262  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4263  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264/* end confdefs.h.  */
4265#include <stdlib.h>
4266
4267_ACEOF
4268if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4269  $EGREP "free" >/dev/null 2>&1; then :
4270
4271else
4272  ac_cv_header_stdc=no
4273fi
4274rm -f conftest*
4275
4276fi
4277
4278if test $ac_cv_header_stdc = yes; then
4279  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4280  if test "$cross_compiling" = yes; then :
4281  :
4282else
4283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284/* end confdefs.h.  */
4285#include <ctype.h>
4286#include <stdlib.h>
4287#if ((' ' & 0x0FF) == 0x020)
4288# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4289# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4290#else
4291# define ISLOWER(c) \
4292		   (('a' <= (c) && (c) <= 'i') \
4293		     || ('j' <= (c) && (c) <= 'r') \
4294		     || ('s' <= (c) && (c) <= 'z'))
4295# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4296#endif
4297
4298#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4299int
4300main ()
4301{
4302  int i;
4303  for (i = 0; i < 256; i++)
4304    if (XOR (islower (i), ISLOWER (i))
4305	|| toupper (i) != TOUPPER (i))
4306      return 2;
4307  return 0;
4308}
4309_ACEOF
4310if ac_fn_c_try_run "$LINENO"; then :
4311
4312else
4313  ac_cv_header_stdc=no
4314fi
4315rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4316  conftest.$ac_objext conftest.beam conftest.$ac_ext
4317fi
4318
4319fi
4320fi
4321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4322$as_echo "$ac_cv_header_stdc" >&6; }
4323if test $ac_cv_header_stdc = yes; then
4324
4325$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4326
4327fi
4328
4329# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4330for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4331		  inttypes.h stdint.h unistd.h
4332do :
4333  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4334ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4335"
4336if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4337  cat >>confdefs.h <<_ACEOF
4338#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4339_ACEOF
4340
4341fi
4342
4343done
4344
4345
4346
4347
4348
4349
4350ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
4351if test "x$ac_cv_have_decl___clang__" = xyes; then :
4352  CLANGCC="yes"
4353else
4354  CLANGCC="no"
4355fi
4356
4357ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4358if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4359  INTELCC="yes"
4360else
4361  INTELCC="no"
4362fi
4363
4364ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4365if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4366  SUNCC="yes"
4367else
4368  SUNCC="no"
4369fi
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4380	if test -n "$ac_tool_prefix"; then
4381  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4382set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384$as_echo_n "checking for $ac_word... " >&6; }
4385if ${ac_cv_path_PKG_CONFIG+:} false; then :
4386  $as_echo_n "(cached) " >&6
4387else
4388  case $PKG_CONFIG in
4389  [\\/]* | ?:[\\/]*)
4390  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4391  ;;
4392  *)
4393  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394for as_dir in $PATH
4395do
4396  IFS=$as_save_IFS
4397  test -z "$as_dir" && as_dir=.
4398    for ac_exec_ext in '' $ac_executable_extensions; do
4399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4402    break 2
4403  fi
4404done
4405  done
4406IFS=$as_save_IFS
4407
4408  ;;
4409esac
4410fi
4411PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4412if test -n "$PKG_CONFIG"; then
4413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4414$as_echo "$PKG_CONFIG" >&6; }
4415else
4416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417$as_echo "no" >&6; }
4418fi
4419
4420
4421fi
4422if test -z "$ac_cv_path_PKG_CONFIG"; then
4423  ac_pt_PKG_CONFIG=$PKG_CONFIG
4424  # Extract the first word of "pkg-config", so it can be a program name with args.
4425set dummy pkg-config; ac_word=$2
4426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427$as_echo_n "checking for $ac_word... " >&6; }
4428if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4429  $as_echo_n "(cached) " >&6
4430else
4431  case $ac_pt_PKG_CONFIG in
4432  [\\/]* | ?:[\\/]*)
4433  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4434  ;;
4435  *)
4436  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437for as_dir in $PATH
4438do
4439  IFS=$as_save_IFS
4440  test -z "$as_dir" && as_dir=.
4441    for ac_exec_ext in '' $ac_executable_extensions; do
4442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445    break 2
4446  fi
4447done
4448  done
4449IFS=$as_save_IFS
4450
4451  ;;
4452esac
4453fi
4454ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4455if test -n "$ac_pt_PKG_CONFIG"; then
4456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4457$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4458else
4459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460$as_echo "no" >&6; }
4461fi
4462
4463  if test "x$ac_pt_PKG_CONFIG" = x; then
4464    PKG_CONFIG=""
4465  else
4466    case $cross_compiling:$ac_tool_warned in
4467yes:)
4468{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4469$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4470ac_tool_warned=yes ;;
4471esac
4472    PKG_CONFIG=$ac_pt_PKG_CONFIG
4473  fi
4474else
4475  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4476fi
4477
4478fi
4479if test -n "$PKG_CONFIG"; then
4480	_pkg_min_version=0.9.0
4481	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4482$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4483	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4484		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4485$as_echo "yes" >&6; }
4486	else
4487		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488$as_echo "no" >&6; }
4489		PKG_CONFIG=""
4490	fi
4491fi
4492# Make sure we can run config.sub.
4493$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4494  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4495
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4497$as_echo_n "checking build system type... " >&6; }
4498if ${ac_cv_build+:} false; then :
4499  $as_echo_n "(cached) " >&6
4500else
4501  ac_build_alias=$build_alias
4502test "x$ac_build_alias" = x &&
4503  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4504test "x$ac_build_alias" = x &&
4505  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4506ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4507  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4508
4509fi
4510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4511$as_echo "$ac_cv_build" >&6; }
4512case $ac_cv_build in
4513*-*-*) ;;
4514*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4515esac
4516build=$ac_cv_build
4517ac_save_IFS=$IFS; IFS='-'
4518set x $ac_cv_build
4519shift
4520build_cpu=$1
4521build_vendor=$2
4522shift; shift
4523# Remember, the first character of IFS is used to create $*,
4524# except with old shells:
4525build_os=$*
4526IFS=$ac_save_IFS
4527case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4528
4529
4530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4531$as_echo_n "checking host system type... " >&6; }
4532if ${ac_cv_host+:} false; then :
4533  $as_echo_n "(cached) " >&6
4534else
4535  if test "x$host_alias" = x; then
4536  ac_cv_host=$ac_cv_build
4537else
4538  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4539    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4540fi
4541
4542fi
4543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4544$as_echo "$ac_cv_host" >&6; }
4545case $ac_cv_host in
4546*-*-*) ;;
4547*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4548esac
4549host=$ac_cv_host
4550ac_save_IFS=$IFS; IFS='-'
4551set x $ac_cv_host
4552shift
4553host_cpu=$1
4554host_vendor=$2
4555shift; shift
4556# Remember, the first character of IFS is used to create $*,
4557# except with old shells:
4558host_os=$*
4559IFS=$ac_save_IFS
4560case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4561
4562
4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4564$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4565if ${ac_cv_path_SED+:} false; then :
4566  $as_echo_n "(cached) " >&6
4567else
4568            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4569     for ac_i in 1 2 3 4 5 6 7; do
4570       ac_script="$ac_script$as_nl$ac_script"
4571     done
4572     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4573     { ac_script=; unset ac_script;}
4574     if test -z "$SED"; then
4575  ac_path_SED_found=false
4576  # Loop through the user's path and test for each of PROGNAME-LIST
4577  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578for as_dir in $PATH
4579do
4580  IFS=$as_save_IFS
4581  test -z "$as_dir" && as_dir=.
4582    for ac_prog in sed gsed; do
4583    for ac_exec_ext in '' $ac_executable_extensions; do
4584      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4585      as_fn_executable_p "$ac_path_SED" || continue
4586# Check for GNU ac_path_SED and select it if it is found.
4587  # Check for GNU $ac_path_SED
4588case `"$ac_path_SED" --version 2>&1` in
4589*GNU*)
4590  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4591*)
4592  ac_count=0
4593  $as_echo_n 0123456789 >"conftest.in"
4594  while :
4595  do
4596    cat "conftest.in" "conftest.in" >"conftest.tmp"
4597    mv "conftest.tmp" "conftest.in"
4598    cp "conftest.in" "conftest.nl"
4599    $as_echo '' >> "conftest.nl"
4600    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4601    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4602    as_fn_arith $ac_count + 1 && ac_count=$as_val
4603    if test $ac_count -gt ${ac_path_SED_max-0}; then
4604      # Best one so far, save it but keep looking for a better one
4605      ac_cv_path_SED="$ac_path_SED"
4606      ac_path_SED_max=$ac_count
4607    fi
4608    # 10*(2^10) chars as input seems more than enough
4609    test $ac_count -gt 10 && break
4610  done
4611  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612esac
4613
4614      $ac_path_SED_found && break 3
4615    done
4616  done
4617  done
4618IFS=$as_save_IFS
4619  if test -z "$ac_cv_path_SED"; then
4620    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4621  fi
4622else
4623  ac_cv_path_SED=$SED
4624fi
4625
4626fi
4627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4628$as_echo "$ac_cv_path_SED" >&6; }
4629 SED="$ac_cv_path_SED"
4630  rm -f conftest.sed
4631
4632
4633
4634
4635
4636
4637# Check whether --enable-selective-werror was given.
4638if test "${enable_selective_werror+set}" = set; then :
4639  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
4640else
4641  SELECTIVE_WERROR=yes
4642fi
4643
4644
4645
4646
4647
4648# -v is too short to test reliably with XORG_TESTSET_CFLAG
4649if test "x$SUNCC" = "xyes"; then
4650    BASE_CFLAGS="-v"
4651else
4652    BASE_CFLAGS=""
4653fi
4654
4655# This chunk of warnings were those that existed in the legacy CWARNFLAGS
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669xorg_testset_save_CFLAGS="$CFLAGS"
4670
4671if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4672	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4673	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4674$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4675if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4676  $as_echo_n "(cached) " >&6
4677else
4678  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679/* end confdefs.h.  */
4680int i;
4681_ACEOF
4682if ac_fn_c_try_compile "$LINENO"; then :
4683  xorg_cv_cc_flag_unknown_warning_option=yes
4684else
4685  xorg_cv_cc_flag_unknown_warning_option=no
4686fi
4687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688fi
4689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4690$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4691	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4692	CFLAGS="$xorg_testset_save_CFLAGS"
4693fi
4694
4695if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4696	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4697		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4698	fi
4699	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4700	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4701$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4702if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4703  $as_echo_n "(cached) " >&6
4704else
4705  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706/* end confdefs.h.  */
4707int i;
4708_ACEOF
4709if ac_fn_c_try_compile "$LINENO"; then :
4710  xorg_cv_cc_flag_unused_command_line_argument=yes
4711else
4712  xorg_cv_cc_flag_unused_command_line_argument=no
4713fi
4714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715fi
4716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4717$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4718	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4719	CFLAGS="$xorg_testset_save_CFLAGS"
4720fi
4721
4722found="no"
4723
4724	if test $found = "no" ; then
4725		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4726			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4727		fi
4728
4729		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4730			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4731		fi
4732
4733		CFLAGS="$CFLAGS -Wall"
4734
4735		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
4736$as_echo_n "checking if $CC supports -Wall... " >&6; }
4737		cacheid=xorg_cv_cc_flag__Wall
4738		if eval \${$cacheid+:} false; then :
4739  $as_echo_n "(cached) " >&6
4740else
4741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742/* end confdefs.h.  */
4743int i;
4744int
4745main ()
4746{
4747
4748  ;
4749  return 0;
4750}
4751_ACEOF
4752if ac_fn_c_try_link "$LINENO"; then :
4753  eval $cacheid=yes
4754else
4755  eval $cacheid=no
4756fi
4757rm -f core conftest.err conftest.$ac_objext \
4758    conftest$ac_exeext conftest.$ac_ext
4759fi
4760
4761
4762		CFLAGS="$xorg_testset_save_CFLAGS"
4763
4764		eval supported=\$$cacheid
4765		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4766$as_echo "$supported" >&6; }
4767		if test "$supported" = "yes" ; then
4768			BASE_CFLAGS="$BASE_CFLAGS -Wall"
4769			found="yes"
4770		fi
4771	fi
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787xorg_testset_save_CFLAGS="$CFLAGS"
4788
4789if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4790	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4791	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4792$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4793if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4794  $as_echo_n "(cached) " >&6
4795else
4796  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797/* end confdefs.h.  */
4798int i;
4799_ACEOF
4800if ac_fn_c_try_compile "$LINENO"; then :
4801  xorg_cv_cc_flag_unknown_warning_option=yes
4802else
4803  xorg_cv_cc_flag_unknown_warning_option=no
4804fi
4805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806fi
4807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4808$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4809	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4810	CFLAGS="$xorg_testset_save_CFLAGS"
4811fi
4812
4813if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4814	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4815		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4816	fi
4817	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4818	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4819$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4820if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4821  $as_echo_n "(cached) " >&6
4822else
4823  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824/* end confdefs.h.  */
4825int i;
4826_ACEOF
4827if ac_fn_c_try_compile "$LINENO"; then :
4828  xorg_cv_cc_flag_unused_command_line_argument=yes
4829else
4830  xorg_cv_cc_flag_unused_command_line_argument=no
4831fi
4832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833fi
4834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4835$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4836	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4837	CFLAGS="$xorg_testset_save_CFLAGS"
4838fi
4839
4840found="no"
4841
4842	if test $found = "no" ; then
4843		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4844			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4845		fi
4846
4847		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4848			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4849		fi
4850
4851		CFLAGS="$CFLAGS -Wpointer-arith"
4852
4853		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
4854$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
4855		cacheid=xorg_cv_cc_flag__Wpointer_arith
4856		if eval \${$cacheid+:} false; then :
4857  $as_echo_n "(cached) " >&6
4858else
4859  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860/* end confdefs.h.  */
4861int i;
4862int
4863main ()
4864{
4865
4866  ;
4867  return 0;
4868}
4869_ACEOF
4870if ac_fn_c_try_link "$LINENO"; then :
4871  eval $cacheid=yes
4872else
4873  eval $cacheid=no
4874fi
4875rm -f core conftest.err conftest.$ac_objext \
4876    conftest$ac_exeext conftest.$ac_ext
4877fi
4878
4879
4880		CFLAGS="$xorg_testset_save_CFLAGS"
4881
4882		eval supported=\$$cacheid
4883		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4884$as_echo "$supported" >&6; }
4885		if test "$supported" = "yes" ; then
4886			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
4887			found="yes"
4888		fi
4889	fi
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905xorg_testset_save_CFLAGS="$CFLAGS"
4906
4907if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4908	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4909	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4910$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4911if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4912  $as_echo_n "(cached) " >&6
4913else
4914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915/* end confdefs.h.  */
4916int i;
4917_ACEOF
4918if ac_fn_c_try_compile "$LINENO"; then :
4919  xorg_cv_cc_flag_unknown_warning_option=yes
4920else
4921  xorg_cv_cc_flag_unknown_warning_option=no
4922fi
4923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924fi
4925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4926$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4927	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4928	CFLAGS="$xorg_testset_save_CFLAGS"
4929fi
4930
4931if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4932	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4933		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4934	fi
4935	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4936	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4937$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4938if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4939  $as_echo_n "(cached) " >&6
4940else
4941  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942/* end confdefs.h.  */
4943int i;
4944_ACEOF
4945if ac_fn_c_try_compile "$LINENO"; then :
4946  xorg_cv_cc_flag_unused_command_line_argument=yes
4947else
4948  xorg_cv_cc_flag_unused_command_line_argument=no
4949fi
4950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951fi
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4953$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4954	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4955	CFLAGS="$xorg_testset_save_CFLAGS"
4956fi
4957
4958found="no"
4959
4960	if test $found = "no" ; then
4961		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4962			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4963		fi
4964
4965		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4966			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4967		fi
4968
4969		CFLAGS="$CFLAGS -Wmissing-declarations"
4970
4971		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
4972$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
4973		cacheid=xorg_cv_cc_flag__Wmissing_declarations
4974		if eval \${$cacheid+:} false; then :
4975  $as_echo_n "(cached) " >&6
4976else
4977  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978/* end confdefs.h.  */
4979int i;
4980int
4981main ()
4982{
4983
4984  ;
4985  return 0;
4986}
4987_ACEOF
4988if ac_fn_c_try_link "$LINENO"; then :
4989  eval $cacheid=yes
4990else
4991  eval $cacheid=no
4992fi
4993rm -f core conftest.err conftest.$ac_objext \
4994    conftest$ac_exeext conftest.$ac_ext
4995fi
4996
4997
4998		CFLAGS="$xorg_testset_save_CFLAGS"
4999
5000		eval supported=\$$cacheid
5001		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5002$as_echo "$supported" >&6; }
5003		if test "$supported" = "yes" ; then
5004			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
5005			found="yes"
5006		fi
5007	fi
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023xorg_testset_save_CFLAGS="$CFLAGS"
5024
5025if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5026	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5027	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5028$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5029if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5030  $as_echo_n "(cached) " >&6
5031else
5032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033/* end confdefs.h.  */
5034int i;
5035_ACEOF
5036if ac_fn_c_try_compile "$LINENO"; then :
5037  xorg_cv_cc_flag_unknown_warning_option=yes
5038else
5039  xorg_cv_cc_flag_unknown_warning_option=no
5040fi
5041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042fi
5043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5044$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5045	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5046	CFLAGS="$xorg_testset_save_CFLAGS"
5047fi
5048
5049if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5050	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5051		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5052	fi
5053	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5054	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5055$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5056if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5057  $as_echo_n "(cached) " >&6
5058else
5059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060/* end confdefs.h.  */
5061int i;
5062_ACEOF
5063if ac_fn_c_try_compile "$LINENO"; then :
5064  xorg_cv_cc_flag_unused_command_line_argument=yes
5065else
5066  xorg_cv_cc_flag_unused_command_line_argument=no
5067fi
5068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5069fi
5070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5071$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5072	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5073	CFLAGS="$xorg_testset_save_CFLAGS"
5074fi
5075
5076found="no"
5077
5078	if test $found = "no" ; then
5079		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5080			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5081		fi
5082
5083		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5084			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5085		fi
5086
5087		CFLAGS="$CFLAGS -Wformat=2"
5088
5089		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5090$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5091		cacheid=xorg_cv_cc_flag__Wformat_2
5092		if eval \${$cacheid+:} false; then :
5093  $as_echo_n "(cached) " >&6
5094else
5095  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096/* end confdefs.h.  */
5097int i;
5098int
5099main ()
5100{
5101
5102  ;
5103  return 0;
5104}
5105_ACEOF
5106if ac_fn_c_try_link "$LINENO"; then :
5107  eval $cacheid=yes
5108else
5109  eval $cacheid=no
5110fi
5111rm -f core conftest.err conftest.$ac_objext \
5112    conftest$ac_exeext conftest.$ac_ext
5113fi
5114
5115
5116		CFLAGS="$xorg_testset_save_CFLAGS"
5117
5118		eval supported=\$$cacheid
5119		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5120$as_echo "$supported" >&6; }
5121		if test "$supported" = "yes" ; then
5122			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
5123			found="yes"
5124		fi
5125	fi
5126
5127	if test $found = "no" ; then
5128		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5129			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5130		fi
5131
5132		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5133			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5134		fi
5135
5136		CFLAGS="$CFLAGS -Wformat"
5137
5138		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5139$as_echo_n "checking if $CC supports -Wformat... " >&6; }
5140		cacheid=xorg_cv_cc_flag__Wformat
5141		if eval \${$cacheid+:} false; then :
5142  $as_echo_n "(cached) " >&6
5143else
5144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5145/* end confdefs.h.  */
5146int i;
5147int
5148main ()
5149{
5150
5151  ;
5152  return 0;
5153}
5154_ACEOF
5155if ac_fn_c_try_link "$LINENO"; then :
5156  eval $cacheid=yes
5157else
5158  eval $cacheid=no
5159fi
5160rm -f core conftest.err conftest.$ac_objext \
5161    conftest$ac_exeext conftest.$ac_ext
5162fi
5163
5164
5165		CFLAGS="$xorg_testset_save_CFLAGS"
5166
5167		eval supported=\$$cacheid
5168		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5169$as_echo "$supported" >&6; }
5170		if test "$supported" = "yes" ; then
5171			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5172			found="yes"
5173		fi
5174	fi
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192xorg_testset_save_CFLAGS="$CFLAGS"
5193
5194if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5195	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5196	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5197$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5198if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5199  $as_echo_n "(cached) " >&6
5200else
5201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202/* end confdefs.h.  */
5203int i;
5204_ACEOF
5205if ac_fn_c_try_compile "$LINENO"; then :
5206  xorg_cv_cc_flag_unknown_warning_option=yes
5207else
5208  xorg_cv_cc_flag_unknown_warning_option=no
5209fi
5210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5211fi
5212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5213$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5214	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5215	CFLAGS="$xorg_testset_save_CFLAGS"
5216fi
5217
5218if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5219	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5220		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5221	fi
5222	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5223	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5224$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5225if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5226  $as_echo_n "(cached) " >&6
5227else
5228  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229/* end confdefs.h.  */
5230int i;
5231_ACEOF
5232if ac_fn_c_try_compile "$LINENO"; then :
5233  xorg_cv_cc_flag_unused_command_line_argument=yes
5234else
5235  xorg_cv_cc_flag_unused_command_line_argument=no
5236fi
5237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5238fi
5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5240$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5241	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5242	CFLAGS="$xorg_testset_save_CFLAGS"
5243fi
5244
5245found="no"
5246
5247	if test $found = "no" ; then
5248		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5249			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5250		fi
5251
5252		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5253			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5254		fi
5255
5256		CFLAGS="$CFLAGS -Wstrict-prototypes"
5257
5258		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5259$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5260		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5261		if eval \${$cacheid+:} false; then :
5262  $as_echo_n "(cached) " >&6
5263else
5264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265/* end confdefs.h.  */
5266int i;
5267int
5268main ()
5269{
5270
5271  ;
5272  return 0;
5273}
5274_ACEOF
5275if ac_fn_c_try_link "$LINENO"; then :
5276  eval $cacheid=yes
5277else
5278  eval $cacheid=no
5279fi
5280rm -f core conftest.err conftest.$ac_objext \
5281    conftest$ac_exeext conftest.$ac_ext
5282fi
5283
5284
5285		CFLAGS="$xorg_testset_save_CFLAGS"
5286
5287		eval supported=\$$cacheid
5288		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5289$as_echo "$supported" >&6; }
5290		if test "$supported" = "yes" ; then
5291			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
5292			found="yes"
5293		fi
5294	fi
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310xorg_testset_save_CFLAGS="$CFLAGS"
5311
5312if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5313	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5314	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5315$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5316if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5317  $as_echo_n "(cached) " >&6
5318else
5319  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320/* end confdefs.h.  */
5321int i;
5322_ACEOF
5323if ac_fn_c_try_compile "$LINENO"; then :
5324  xorg_cv_cc_flag_unknown_warning_option=yes
5325else
5326  xorg_cv_cc_flag_unknown_warning_option=no
5327fi
5328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329fi
5330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5331$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5332	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5333	CFLAGS="$xorg_testset_save_CFLAGS"
5334fi
5335
5336if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5337	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5338		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5339	fi
5340	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5341	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5342$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5343if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5344  $as_echo_n "(cached) " >&6
5345else
5346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347/* end confdefs.h.  */
5348int i;
5349_ACEOF
5350if ac_fn_c_try_compile "$LINENO"; then :
5351  xorg_cv_cc_flag_unused_command_line_argument=yes
5352else
5353  xorg_cv_cc_flag_unused_command_line_argument=no
5354fi
5355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356fi
5357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5358$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5359	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5360	CFLAGS="$xorg_testset_save_CFLAGS"
5361fi
5362
5363found="no"
5364
5365	if test $found = "no" ; then
5366		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5367			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5368		fi
5369
5370		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5371			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5372		fi
5373
5374		CFLAGS="$CFLAGS -Wmissing-prototypes"
5375
5376		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5377$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
5378		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5379		if eval \${$cacheid+:} false; then :
5380  $as_echo_n "(cached) " >&6
5381else
5382  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383/* end confdefs.h.  */
5384int i;
5385int
5386main ()
5387{
5388
5389  ;
5390  return 0;
5391}
5392_ACEOF
5393if ac_fn_c_try_link "$LINENO"; then :
5394  eval $cacheid=yes
5395else
5396  eval $cacheid=no
5397fi
5398rm -f core conftest.err conftest.$ac_objext \
5399    conftest$ac_exeext conftest.$ac_ext
5400fi
5401
5402
5403		CFLAGS="$xorg_testset_save_CFLAGS"
5404
5405		eval supported=\$$cacheid
5406		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5407$as_echo "$supported" >&6; }
5408		if test "$supported" = "yes" ; then
5409			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
5410			found="yes"
5411		fi
5412	fi
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428xorg_testset_save_CFLAGS="$CFLAGS"
5429
5430if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5431	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5432	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5433$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5434if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5435  $as_echo_n "(cached) " >&6
5436else
5437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438/* end confdefs.h.  */
5439int i;
5440_ACEOF
5441if ac_fn_c_try_compile "$LINENO"; then :
5442  xorg_cv_cc_flag_unknown_warning_option=yes
5443else
5444  xorg_cv_cc_flag_unknown_warning_option=no
5445fi
5446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5447fi
5448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5449$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5450	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5451	CFLAGS="$xorg_testset_save_CFLAGS"
5452fi
5453
5454if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5455	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5456		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5457	fi
5458	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5459	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5460$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5461if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5462  $as_echo_n "(cached) " >&6
5463else
5464  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5465/* end confdefs.h.  */
5466int i;
5467_ACEOF
5468if ac_fn_c_try_compile "$LINENO"; then :
5469  xorg_cv_cc_flag_unused_command_line_argument=yes
5470else
5471  xorg_cv_cc_flag_unused_command_line_argument=no
5472fi
5473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5474fi
5475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5476$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5477	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5478	CFLAGS="$xorg_testset_save_CFLAGS"
5479fi
5480
5481found="no"
5482
5483	if test $found = "no" ; then
5484		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5485			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5486		fi
5487
5488		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5489			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5490		fi
5491
5492		CFLAGS="$CFLAGS -Wnested-externs"
5493
5494		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5495$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
5496		cacheid=xorg_cv_cc_flag__Wnested_externs
5497		if eval \${$cacheid+:} false; then :
5498  $as_echo_n "(cached) " >&6
5499else
5500  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501/* end confdefs.h.  */
5502int i;
5503int
5504main ()
5505{
5506
5507  ;
5508  return 0;
5509}
5510_ACEOF
5511if ac_fn_c_try_link "$LINENO"; then :
5512  eval $cacheid=yes
5513else
5514  eval $cacheid=no
5515fi
5516rm -f core conftest.err conftest.$ac_objext \
5517    conftest$ac_exeext conftest.$ac_ext
5518fi
5519
5520
5521		CFLAGS="$xorg_testset_save_CFLAGS"
5522
5523		eval supported=\$$cacheid
5524		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5525$as_echo "$supported" >&6; }
5526		if test "$supported" = "yes" ; then
5527			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
5528			found="yes"
5529		fi
5530	fi
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546xorg_testset_save_CFLAGS="$CFLAGS"
5547
5548if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5549	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5550	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5551$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5552if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5553  $as_echo_n "(cached) " >&6
5554else
5555  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556/* end confdefs.h.  */
5557int i;
5558_ACEOF
5559if ac_fn_c_try_compile "$LINENO"; then :
5560  xorg_cv_cc_flag_unknown_warning_option=yes
5561else
5562  xorg_cv_cc_flag_unknown_warning_option=no
5563fi
5564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5565fi
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5567$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5568	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5569	CFLAGS="$xorg_testset_save_CFLAGS"
5570fi
5571
5572if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5573	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5574		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5575	fi
5576	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5577	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5578$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5579if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5580  $as_echo_n "(cached) " >&6
5581else
5582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5583/* end confdefs.h.  */
5584int i;
5585_ACEOF
5586if ac_fn_c_try_compile "$LINENO"; then :
5587  xorg_cv_cc_flag_unused_command_line_argument=yes
5588else
5589  xorg_cv_cc_flag_unused_command_line_argument=no
5590fi
5591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592fi
5593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5594$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5595	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5596	CFLAGS="$xorg_testset_save_CFLAGS"
5597fi
5598
5599found="no"
5600
5601	if test $found = "no" ; then
5602		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5603			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5604		fi
5605
5606		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5607			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5608		fi
5609
5610		CFLAGS="$CFLAGS -Wbad-function-cast"
5611
5612		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5613$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5614		cacheid=xorg_cv_cc_flag__Wbad_function_cast
5615		if eval \${$cacheid+:} false; then :
5616  $as_echo_n "(cached) " >&6
5617else
5618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619/* end confdefs.h.  */
5620int i;
5621int
5622main ()
5623{
5624
5625  ;
5626  return 0;
5627}
5628_ACEOF
5629if ac_fn_c_try_link "$LINENO"; then :
5630  eval $cacheid=yes
5631else
5632  eval $cacheid=no
5633fi
5634rm -f core conftest.err conftest.$ac_objext \
5635    conftest$ac_exeext conftest.$ac_ext
5636fi
5637
5638
5639		CFLAGS="$xorg_testset_save_CFLAGS"
5640
5641		eval supported=\$$cacheid
5642		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5643$as_echo "$supported" >&6; }
5644		if test "$supported" = "yes" ; then
5645			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
5646			found="yes"
5647		fi
5648	fi
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664xorg_testset_save_CFLAGS="$CFLAGS"
5665
5666if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5667	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5668	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5669$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5670if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5671  $as_echo_n "(cached) " >&6
5672else
5673  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674/* end confdefs.h.  */
5675int i;
5676_ACEOF
5677if ac_fn_c_try_compile "$LINENO"; then :
5678  xorg_cv_cc_flag_unknown_warning_option=yes
5679else
5680  xorg_cv_cc_flag_unknown_warning_option=no
5681fi
5682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5683fi
5684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5685$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5686	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5687	CFLAGS="$xorg_testset_save_CFLAGS"
5688fi
5689
5690if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5691	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5692		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5693	fi
5694	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5695	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5696$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5697if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5698  $as_echo_n "(cached) " >&6
5699else
5700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701/* end confdefs.h.  */
5702int i;
5703_ACEOF
5704if ac_fn_c_try_compile "$LINENO"; then :
5705  xorg_cv_cc_flag_unused_command_line_argument=yes
5706else
5707  xorg_cv_cc_flag_unused_command_line_argument=no
5708fi
5709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5710fi
5711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5712$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5713	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5714	CFLAGS="$xorg_testset_save_CFLAGS"
5715fi
5716
5717found="no"
5718
5719	if test $found = "no" ; then
5720		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5721			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5722		fi
5723
5724		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5725			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5726		fi
5727
5728		CFLAGS="$CFLAGS -Wold-style-definition"
5729
5730		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5731$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5732		cacheid=xorg_cv_cc_flag__Wold_style_definition
5733		if eval \${$cacheid+:} false; then :
5734  $as_echo_n "(cached) " >&6
5735else
5736  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5737/* end confdefs.h.  */
5738int i;
5739int
5740main ()
5741{
5742
5743  ;
5744  return 0;
5745}
5746_ACEOF
5747if ac_fn_c_try_link "$LINENO"; then :
5748  eval $cacheid=yes
5749else
5750  eval $cacheid=no
5751fi
5752rm -f core conftest.err conftest.$ac_objext \
5753    conftest$ac_exeext conftest.$ac_ext
5754fi
5755
5756
5757		CFLAGS="$xorg_testset_save_CFLAGS"
5758
5759		eval supported=\$$cacheid
5760		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5761$as_echo "$supported" >&6; }
5762		if test "$supported" = "yes" ; then
5763			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
5764			found="yes"
5765		fi
5766	fi
5767
5768	if test $found = "no" ; then
5769		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5770			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5771		fi
5772
5773		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5774			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5775		fi
5776
5777		CFLAGS="$CFLAGS -fd"
5778
5779		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
5780$as_echo_n "checking if $CC supports -fd... " >&6; }
5781		cacheid=xorg_cv_cc_flag__fd
5782		if eval \${$cacheid+:} false; then :
5783  $as_echo_n "(cached) " >&6
5784else
5785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786/* end confdefs.h.  */
5787int i;
5788int
5789main ()
5790{
5791
5792  ;
5793  return 0;
5794}
5795_ACEOF
5796if ac_fn_c_try_link "$LINENO"; then :
5797  eval $cacheid=yes
5798else
5799  eval $cacheid=no
5800fi
5801rm -f core conftest.err conftest.$ac_objext \
5802    conftest$ac_exeext conftest.$ac_ext
5803fi
5804
5805
5806		CFLAGS="$xorg_testset_save_CFLAGS"
5807
5808		eval supported=\$$cacheid
5809		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5810$as_echo "$supported" >&6; }
5811		if test "$supported" = "yes" ; then
5812			BASE_CFLAGS="$BASE_CFLAGS -fd"
5813			found="yes"
5814		fi
5815	fi
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831xorg_testset_save_CFLAGS="$CFLAGS"
5832
5833if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5834	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5835	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5836$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5837if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5838  $as_echo_n "(cached) " >&6
5839else
5840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5841/* end confdefs.h.  */
5842int i;
5843_ACEOF
5844if ac_fn_c_try_compile "$LINENO"; then :
5845  xorg_cv_cc_flag_unknown_warning_option=yes
5846else
5847  xorg_cv_cc_flag_unknown_warning_option=no
5848fi
5849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850fi
5851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5852$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5853	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5854	CFLAGS="$xorg_testset_save_CFLAGS"
5855fi
5856
5857if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5858	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5859		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5860	fi
5861	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5862	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5863$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5864if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5865  $as_echo_n "(cached) " >&6
5866else
5867  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868/* end confdefs.h.  */
5869int i;
5870_ACEOF
5871if ac_fn_c_try_compile "$LINENO"; then :
5872  xorg_cv_cc_flag_unused_command_line_argument=yes
5873else
5874  xorg_cv_cc_flag_unused_command_line_argument=no
5875fi
5876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5877fi
5878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5879$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5880	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5881	CFLAGS="$xorg_testset_save_CFLAGS"
5882fi
5883
5884found="no"
5885
5886	if test $found = "no" ; then
5887		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5888			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5889		fi
5890
5891		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5892			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5893		fi
5894
5895		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5896
5897		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5898$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5899		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
5900		if eval \${$cacheid+:} false; then :
5901  $as_echo_n "(cached) " >&6
5902else
5903  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904/* end confdefs.h.  */
5905int i;
5906int
5907main ()
5908{
5909
5910  ;
5911  return 0;
5912}
5913_ACEOF
5914if ac_fn_c_try_link "$LINENO"; then :
5915  eval $cacheid=yes
5916else
5917  eval $cacheid=no
5918fi
5919rm -f core conftest.err conftest.$ac_objext \
5920    conftest$ac_exeext conftest.$ac_ext
5921fi
5922
5923
5924		CFLAGS="$xorg_testset_save_CFLAGS"
5925
5926		eval supported=\$$cacheid
5927		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5928$as_echo "$supported" >&6; }
5929		if test "$supported" = "yes" ; then
5930			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
5931			found="yes"
5932		fi
5933	fi
5934
5935
5936
5937
5938
5939# This chunk adds additional warnings that could catch undesired effects.
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953xorg_testset_save_CFLAGS="$CFLAGS"
5954
5955if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5956	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5957	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5958$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5959if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5960  $as_echo_n "(cached) " >&6
5961else
5962  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5963/* end confdefs.h.  */
5964int i;
5965_ACEOF
5966if ac_fn_c_try_compile "$LINENO"; then :
5967  xorg_cv_cc_flag_unknown_warning_option=yes
5968else
5969  xorg_cv_cc_flag_unknown_warning_option=no
5970fi
5971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5972fi
5973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5974$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5975	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5976	CFLAGS="$xorg_testset_save_CFLAGS"
5977fi
5978
5979if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5980	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5981		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5982	fi
5983	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5984	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5985$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5986if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5987  $as_echo_n "(cached) " >&6
5988else
5989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990/* end confdefs.h.  */
5991int i;
5992_ACEOF
5993if ac_fn_c_try_compile "$LINENO"; then :
5994  xorg_cv_cc_flag_unused_command_line_argument=yes
5995else
5996  xorg_cv_cc_flag_unused_command_line_argument=no
5997fi
5998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5999fi
6000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6001$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6002	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6003	CFLAGS="$xorg_testset_save_CFLAGS"
6004fi
6005
6006found="no"
6007
6008	if test $found = "no" ; then
6009		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6010			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6011		fi
6012
6013		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6014			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6015		fi
6016
6017		CFLAGS="$CFLAGS -Wunused"
6018
6019		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
6020$as_echo_n "checking if $CC supports -Wunused... " >&6; }
6021		cacheid=xorg_cv_cc_flag__Wunused
6022		if eval \${$cacheid+:} false; then :
6023  $as_echo_n "(cached) " >&6
6024else
6025  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6026/* end confdefs.h.  */
6027int i;
6028int
6029main ()
6030{
6031
6032  ;
6033  return 0;
6034}
6035_ACEOF
6036if ac_fn_c_try_link "$LINENO"; then :
6037  eval $cacheid=yes
6038else
6039  eval $cacheid=no
6040fi
6041rm -f core conftest.err conftest.$ac_objext \
6042    conftest$ac_exeext conftest.$ac_ext
6043fi
6044
6045
6046		CFLAGS="$xorg_testset_save_CFLAGS"
6047
6048		eval supported=\$$cacheid
6049		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6050$as_echo "$supported" >&6; }
6051		if test "$supported" = "yes" ; then
6052			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
6053			found="yes"
6054		fi
6055	fi
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071xorg_testset_save_CFLAGS="$CFLAGS"
6072
6073if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6074	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6075	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6076$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6077if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6078  $as_echo_n "(cached) " >&6
6079else
6080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6081/* end confdefs.h.  */
6082int i;
6083_ACEOF
6084if ac_fn_c_try_compile "$LINENO"; then :
6085  xorg_cv_cc_flag_unknown_warning_option=yes
6086else
6087  xorg_cv_cc_flag_unknown_warning_option=no
6088fi
6089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090fi
6091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6092$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6093	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6094	CFLAGS="$xorg_testset_save_CFLAGS"
6095fi
6096
6097if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6098	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6099		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6100	fi
6101	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6102	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6103$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6104if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6105  $as_echo_n "(cached) " >&6
6106else
6107  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108/* end confdefs.h.  */
6109int i;
6110_ACEOF
6111if ac_fn_c_try_compile "$LINENO"; then :
6112  xorg_cv_cc_flag_unused_command_line_argument=yes
6113else
6114  xorg_cv_cc_flag_unused_command_line_argument=no
6115fi
6116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6117fi
6118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6119$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6120	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6121	CFLAGS="$xorg_testset_save_CFLAGS"
6122fi
6123
6124found="no"
6125
6126	if test $found = "no" ; then
6127		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6128			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6129		fi
6130
6131		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6132			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6133		fi
6134
6135		CFLAGS="$CFLAGS -Wuninitialized"
6136
6137		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6138$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
6139		cacheid=xorg_cv_cc_flag__Wuninitialized
6140		if eval \${$cacheid+:} false; then :
6141  $as_echo_n "(cached) " >&6
6142else
6143  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144/* end confdefs.h.  */
6145int i;
6146int
6147main ()
6148{
6149
6150  ;
6151  return 0;
6152}
6153_ACEOF
6154if ac_fn_c_try_link "$LINENO"; then :
6155  eval $cacheid=yes
6156else
6157  eval $cacheid=no
6158fi
6159rm -f core conftest.err conftest.$ac_objext \
6160    conftest$ac_exeext conftest.$ac_ext
6161fi
6162
6163
6164		CFLAGS="$xorg_testset_save_CFLAGS"
6165
6166		eval supported=\$$cacheid
6167		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6168$as_echo "$supported" >&6; }
6169		if test "$supported" = "yes" ; then
6170			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6171			found="yes"
6172		fi
6173	fi
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189xorg_testset_save_CFLAGS="$CFLAGS"
6190
6191if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6192	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6193	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6194$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6195if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6196  $as_echo_n "(cached) " >&6
6197else
6198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199/* end confdefs.h.  */
6200int i;
6201_ACEOF
6202if ac_fn_c_try_compile "$LINENO"; then :
6203  xorg_cv_cc_flag_unknown_warning_option=yes
6204else
6205  xorg_cv_cc_flag_unknown_warning_option=no
6206fi
6207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208fi
6209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6210$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6211	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6212	CFLAGS="$xorg_testset_save_CFLAGS"
6213fi
6214
6215if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6216	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6217		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6218	fi
6219	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6220	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6221$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6222if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6223  $as_echo_n "(cached) " >&6
6224else
6225  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226/* end confdefs.h.  */
6227int i;
6228_ACEOF
6229if ac_fn_c_try_compile "$LINENO"; then :
6230  xorg_cv_cc_flag_unused_command_line_argument=yes
6231else
6232  xorg_cv_cc_flag_unused_command_line_argument=no
6233fi
6234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6235fi
6236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6237$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6238	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6239	CFLAGS="$xorg_testset_save_CFLAGS"
6240fi
6241
6242found="no"
6243
6244	if test $found = "no" ; then
6245		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6246			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6247		fi
6248
6249		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6250			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6251		fi
6252
6253		CFLAGS="$CFLAGS -Wshadow"
6254
6255		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6256$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6257		cacheid=xorg_cv_cc_flag__Wshadow
6258		if eval \${$cacheid+:} false; then :
6259  $as_echo_n "(cached) " >&6
6260else
6261  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262/* end confdefs.h.  */
6263int i;
6264int
6265main ()
6266{
6267
6268  ;
6269  return 0;
6270}
6271_ACEOF
6272if ac_fn_c_try_link "$LINENO"; then :
6273  eval $cacheid=yes
6274else
6275  eval $cacheid=no
6276fi
6277rm -f core conftest.err conftest.$ac_objext \
6278    conftest$ac_exeext conftest.$ac_ext
6279fi
6280
6281
6282		CFLAGS="$xorg_testset_save_CFLAGS"
6283
6284		eval supported=\$$cacheid
6285		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6286$as_echo "$supported" >&6; }
6287		if test "$supported" = "yes" ; then
6288			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
6289			found="yes"
6290		fi
6291	fi
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307xorg_testset_save_CFLAGS="$CFLAGS"
6308
6309if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6310	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6311	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6312$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6313if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6314  $as_echo_n "(cached) " >&6
6315else
6316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317/* end confdefs.h.  */
6318int i;
6319_ACEOF
6320if ac_fn_c_try_compile "$LINENO"; then :
6321  xorg_cv_cc_flag_unknown_warning_option=yes
6322else
6323  xorg_cv_cc_flag_unknown_warning_option=no
6324fi
6325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6326fi
6327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6328$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6329	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6330	CFLAGS="$xorg_testset_save_CFLAGS"
6331fi
6332
6333if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6334	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6335		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6336	fi
6337	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6338	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6339$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6340if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6341  $as_echo_n "(cached) " >&6
6342else
6343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344/* end confdefs.h.  */
6345int i;
6346_ACEOF
6347if ac_fn_c_try_compile "$LINENO"; then :
6348  xorg_cv_cc_flag_unused_command_line_argument=yes
6349else
6350  xorg_cv_cc_flag_unused_command_line_argument=no
6351fi
6352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6353fi
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6355$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6356	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6357	CFLAGS="$xorg_testset_save_CFLAGS"
6358fi
6359
6360found="no"
6361
6362	if test $found = "no" ; then
6363		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6364			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6365		fi
6366
6367		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6368			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6369		fi
6370
6371		CFLAGS="$CFLAGS -Wmissing-noreturn"
6372
6373		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6374$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
6375		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6376		if eval \${$cacheid+:} false; then :
6377  $as_echo_n "(cached) " >&6
6378else
6379  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380/* end confdefs.h.  */
6381int i;
6382int
6383main ()
6384{
6385
6386  ;
6387  return 0;
6388}
6389_ACEOF
6390if ac_fn_c_try_link "$LINENO"; then :
6391  eval $cacheid=yes
6392else
6393  eval $cacheid=no
6394fi
6395rm -f core conftest.err conftest.$ac_objext \
6396    conftest$ac_exeext conftest.$ac_ext
6397fi
6398
6399
6400		CFLAGS="$xorg_testset_save_CFLAGS"
6401
6402		eval supported=\$$cacheid
6403		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6404$as_echo "$supported" >&6; }
6405		if test "$supported" = "yes" ; then
6406			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
6407			found="yes"
6408		fi
6409	fi
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425xorg_testset_save_CFLAGS="$CFLAGS"
6426
6427if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6428	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6429	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6430$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6431if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6432  $as_echo_n "(cached) " >&6
6433else
6434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435/* end confdefs.h.  */
6436int i;
6437_ACEOF
6438if ac_fn_c_try_compile "$LINENO"; then :
6439  xorg_cv_cc_flag_unknown_warning_option=yes
6440else
6441  xorg_cv_cc_flag_unknown_warning_option=no
6442fi
6443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6444fi
6445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6446$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6447	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6448	CFLAGS="$xorg_testset_save_CFLAGS"
6449fi
6450
6451if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6452	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6453		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6454	fi
6455	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6456	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6457$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6458if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6459  $as_echo_n "(cached) " >&6
6460else
6461  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462/* end confdefs.h.  */
6463int i;
6464_ACEOF
6465if ac_fn_c_try_compile "$LINENO"; then :
6466  xorg_cv_cc_flag_unused_command_line_argument=yes
6467else
6468  xorg_cv_cc_flag_unused_command_line_argument=no
6469fi
6470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471fi
6472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6473$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6474	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6475	CFLAGS="$xorg_testset_save_CFLAGS"
6476fi
6477
6478found="no"
6479
6480	if test $found = "no" ; then
6481		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6482			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6483		fi
6484
6485		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6486			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6487		fi
6488
6489		CFLAGS="$CFLAGS -Wmissing-format-attribute"
6490
6491		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6492$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6493		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6494		if eval \${$cacheid+:} false; then :
6495  $as_echo_n "(cached) " >&6
6496else
6497  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498/* end confdefs.h.  */
6499int i;
6500int
6501main ()
6502{
6503
6504  ;
6505  return 0;
6506}
6507_ACEOF
6508if ac_fn_c_try_link "$LINENO"; then :
6509  eval $cacheid=yes
6510else
6511  eval $cacheid=no
6512fi
6513rm -f core conftest.err conftest.$ac_objext \
6514    conftest$ac_exeext conftest.$ac_ext
6515fi
6516
6517
6518		CFLAGS="$xorg_testset_save_CFLAGS"
6519
6520		eval supported=\$$cacheid
6521		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6522$as_echo "$supported" >&6; }
6523		if test "$supported" = "yes" ; then
6524			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
6525			found="yes"
6526		fi
6527	fi
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543xorg_testset_save_CFLAGS="$CFLAGS"
6544
6545if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6546	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6547	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6548$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6549if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6550  $as_echo_n "(cached) " >&6
6551else
6552  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553/* end confdefs.h.  */
6554int i;
6555_ACEOF
6556if ac_fn_c_try_compile "$LINENO"; then :
6557  xorg_cv_cc_flag_unknown_warning_option=yes
6558else
6559  xorg_cv_cc_flag_unknown_warning_option=no
6560fi
6561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6562fi
6563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6564$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6565	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6566	CFLAGS="$xorg_testset_save_CFLAGS"
6567fi
6568
6569if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6570	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6571		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6572	fi
6573	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6574	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6575$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6576if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6577  $as_echo_n "(cached) " >&6
6578else
6579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580/* end confdefs.h.  */
6581int i;
6582_ACEOF
6583if ac_fn_c_try_compile "$LINENO"; then :
6584  xorg_cv_cc_flag_unused_command_line_argument=yes
6585else
6586  xorg_cv_cc_flag_unused_command_line_argument=no
6587fi
6588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589fi
6590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6591$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6592	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6593	CFLAGS="$xorg_testset_save_CFLAGS"
6594fi
6595
6596found="no"
6597
6598	if test $found = "no" ; then
6599		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6600			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6601		fi
6602
6603		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6604			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6605		fi
6606
6607		CFLAGS="$CFLAGS -Wredundant-decls"
6608
6609		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6610$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6611		cacheid=xorg_cv_cc_flag__Wredundant_decls
6612		if eval \${$cacheid+:} false; then :
6613  $as_echo_n "(cached) " >&6
6614else
6615  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616/* end confdefs.h.  */
6617int i;
6618int
6619main ()
6620{
6621
6622  ;
6623  return 0;
6624}
6625_ACEOF
6626if ac_fn_c_try_link "$LINENO"; then :
6627  eval $cacheid=yes
6628else
6629  eval $cacheid=no
6630fi
6631rm -f core conftest.err conftest.$ac_objext \
6632    conftest$ac_exeext conftest.$ac_ext
6633fi
6634
6635
6636		CFLAGS="$xorg_testset_save_CFLAGS"
6637
6638		eval supported=\$$cacheid
6639		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6640$as_echo "$supported" >&6; }
6641		if test "$supported" = "yes" ; then
6642			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
6643			found="yes"
6644		fi
6645	fi
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661xorg_testset_save_CFLAGS="$CFLAGS"
6662
6663if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6664	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6665	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6666$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6667if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6668  $as_echo_n "(cached) " >&6
6669else
6670  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6671/* end confdefs.h.  */
6672int i;
6673_ACEOF
6674if ac_fn_c_try_compile "$LINENO"; then :
6675  xorg_cv_cc_flag_unknown_warning_option=yes
6676else
6677  xorg_cv_cc_flag_unknown_warning_option=no
6678fi
6679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6680fi
6681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6682$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6683	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6684	CFLAGS="$xorg_testset_save_CFLAGS"
6685fi
6686
6687if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6688	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6689		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6690	fi
6691	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6692	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6693$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6694if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6695  $as_echo_n "(cached) " >&6
6696else
6697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698/* end confdefs.h.  */
6699int i;
6700_ACEOF
6701if ac_fn_c_try_compile "$LINENO"; then :
6702  xorg_cv_cc_flag_unused_command_line_argument=yes
6703else
6704  xorg_cv_cc_flag_unused_command_line_argument=no
6705fi
6706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6707fi
6708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6709$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6710	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6711	CFLAGS="$xorg_testset_save_CFLAGS"
6712fi
6713
6714found="no"
6715
6716	if test $found = "no" ; then
6717		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6718			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6719		fi
6720
6721		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6722			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6723		fi
6724
6725		CFLAGS="$CFLAGS -Wlogical-op"
6726
6727		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
6728$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
6729		cacheid=xorg_cv_cc_flag__Wlogical_op
6730		if eval \${$cacheid+:} false; then :
6731  $as_echo_n "(cached) " >&6
6732else
6733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734/* end confdefs.h.  */
6735int i;
6736int
6737main ()
6738{
6739
6740  ;
6741  return 0;
6742}
6743_ACEOF
6744if ac_fn_c_try_link "$LINENO"; then :
6745  eval $cacheid=yes
6746else
6747  eval $cacheid=no
6748fi
6749rm -f core conftest.err conftest.$ac_objext \
6750    conftest$ac_exeext conftest.$ac_ext
6751fi
6752
6753
6754		CFLAGS="$xorg_testset_save_CFLAGS"
6755
6756		eval supported=\$$cacheid
6757		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6758$as_echo "$supported" >&6; }
6759		if test "$supported" = "yes" ; then
6760			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
6761			found="yes"
6762		fi
6763	fi
6764
6765
6766
6767# These are currently disabled because they are noisy.  They will be enabled
6768# in the future once the codebase is sufficiently modernized to silence
6769# them.  For now, I don't want them to drown out the other warnings.
6770# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
6771# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
6772# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6773
6774# Turn some warnings into errors, so we don't accidently get successful builds
6775# when there are problems that should be fixed.
6776
6777if test "x$SELECTIVE_WERROR" = "xyes" ; then
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791xorg_testset_save_CFLAGS="$CFLAGS"
6792
6793if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6794	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6795	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6796$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6797if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6798  $as_echo_n "(cached) " >&6
6799else
6800  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801/* end confdefs.h.  */
6802int i;
6803_ACEOF
6804if ac_fn_c_try_compile "$LINENO"; then :
6805  xorg_cv_cc_flag_unknown_warning_option=yes
6806else
6807  xorg_cv_cc_flag_unknown_warning_option=no
6808fi
6809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6810fi
6811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6812$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6813	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6814	CFLAGS="$xorg_testset_save_CFLAGS"
6815fi
6816
6817if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6818	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6819		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6820	fi
6821	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6822	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6823$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6824if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6825  $as_echo_n "(cached) " >&6
6826else
6827  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6828/* end confdefs.h.  */
6829int i;
6830_ACEOF
6831if ac_fn_c_try_compile "$LINENO"; then :
6832  xorg_cv_cc_flag_unused_command_line_argument=yes
6833else
6834  xorg_cv_cc_flag_unused_command_line_argument=no
6835fi
6836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6837fi
6838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6839$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6840	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6841	CFLAGS="$xorg_testset_save_CFLAGS"
6842fi
6843
6844found="no"
6845
6846	if test $found = "no" ; then
6847		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6848			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6849		fi
6850
6851		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6852			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6853		fi
6854
6855		CFLAGS="$CFLAGS -Werror=implicit"
6856
6857		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
6858$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
6859		cacheid=xorg_cv_cc_flag__Werror_implicit
6860		if eval \${$cacheid+:} false; then :
6861  $as_echo_n "(cached) " >&6
6862else
6863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6864/* end confdefs.h.  */
6865int i;
6866int
6867main ()
6868{
6869
6870  ;
6871  return 0;
6872}
6873_ACEOF
6874if ac_fn_c_try_link "$LINENO"; then :
6875  eval $cacheid=yes
6876else
6877  eval $cacheid=no
6878fi
6879rm -f core conftest.err conftest.$ac_objext \
6880    conftest$ac_exeext conftest.$ac_ext
6881fi
6882
6883
6884		CFLAGS="$xorg_testset_save_CFLAGS"
6885
6886		eval supported=\$$cacheid
6887		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6888$as_echo "$supported" >&6; }
6889		if test "$supported" = "yes" ; then
6890			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
6891			found="yes"
6892		fi
6893	fi
6894
6895	if test $found = "no" ; then
6896		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6897			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6898		fi
6899
6900		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6901			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6902		fi
6903
6904		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6905
6906		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6907$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6908		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
6909		if eval \${$cacheid+:} false; then :
6910  $as_echo_n "(cached) " >&6
6911else
6912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913/* end confdefs.h.  */
6914int i;
6915int
6916main ()
6917{
6918
6919  ;
6920  return 0;
6921}
6922_ACEOF
6923if ac_fn_c_try_link "$LINENO"; then :
6924  eval $cacheid=yes
6925else
6926  eval $cacheid=no
6927fi
6928rm -f core conftest.err conftest.$ac_objext \
6929    conftest$ac_exeext conftest.$ac_ext
6930fi
6931
6932
6933		CFLAGS="$xorg_testset_save_CFLAGS"
6934
6935		eval supported=\$$cacheid
6936		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6937$as_echo "$supported" >&6; }
6938		if test "$supported" = "yes" ; then
6939			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6940			found="yes"
6941		fi
6942	fi
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958xorg_testset_save_CFLAGS="$CFLAGS"
6959
6960if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6961	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6962	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6963$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6964if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6965  $as_echo_n "(cached) " >&6
6966else
6967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968/* end confdefs.h.  */
6969int i;
6970_ACEOF
6971if ac_fn_c_try_compile "$LINENO"; then :
6972  xorg_cv_cc_flag_unknown_warning_option=yes
6973else
6974  xorg_cv_cc_flag_unknown_warning_option=no
6975fi
6976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6977fi
6978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6979$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6980	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6981	CFLAGS="$xorg_testset_save_CFLAGS"
6982fi
6983
6984if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6985	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6986		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6987	fi
6988	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6989	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6990$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6991if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6992  $as_echo_n "(cached) " >&6
6993else
6994  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6995/* end confdefs.h.  */
6996int i;
6997_ACEOF
6998if ac_fn_c_try_compile "$LINENO"; then :
6999  xorg_cv_cc_flag_unused_command_line_argument=yes
7000else
7001  xorg_cv_cc_flag_unused_command_line_argument=no
7002fi
7003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004fi
7005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7006$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7007	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7008	CFLAGS="$xorg_testset_save_CFLAGS"
7009fi
7010
7011found="no"
7012
7013	if test $found = "no" ; then
7014		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7015			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7016		fi
7017
7018		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7019			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7020		fi
7021
7022		CFLAGS="$CFLAGS -Werror=nonnull"
7023
7024		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
7025$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
7026		cacheid=xorg_cv_cc_flag__Werror_nonnull
7027		if eval \${$cacheid+:} false; then :
7028  $as_echo_n "(cached) " >&6
7029else
7030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031/* end confdefs.h.  */
7032int i;
7033int
7034main ()
7035{
7036
7037  ;
7038  return 0;
7039}
7040_ACEOF
7041if ac_fn_c_try_link "$LINENO"; then :
7042  eval $cacheid=yes
7043else
7044  eval $cacheid=no
7045fi
7046rm -f core conftest.err conftest.$ac_objext \
7047    conftest$ac_exeext conftest.$ac_ext
7048fi
7049
7050
7051		CFLAGS="$xorg_testset_save_CFLAGS"
7052
7053		eval supported=\$$cacheid
7054		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7055$as_echo "$supported" >&6; }
7056		if test "$supported" = "yes" ; then
7057			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
7058			found="yes"
7059		fi
7060	fi
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076xorg_testset_save_CFLAGS="$CFLAGS"
7077
7078if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7079	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7080	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7081$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7082if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7083  $as_echo_n "(cached) " >&6
7084else
7085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7086/* end confdefs.h.  */
7087int i;
7088_ACEOF
7089if ac_fn_c_try_compile "$LINENO"; then :
7090  xorg_cv_cc_flag_unknown_warning_option=yes
7091else
7092  xorg_cv_cc_flag_unknown_warning_option=no
7093fi
7094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095fi
7096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7097$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7098	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7099	CFLAGS="$xorg_testset_save_CFLAGS"
7100fi
7101
7102if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7103	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7104		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7105	fi
7106	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7107	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7108$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7109if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7110  $as_echo_n "(cached) " >&6
7111else
7112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113/* end confdefs.h.  */
7114int i;
7115_ACEOF
7116if ac_fn_c_try_compile "$LINENO"; then :
7117  xorg_cv_cc_flag_unused_command_line_argument=yes
7118else
7119  xorg_cv_cc_flag_unused_command_line_argument=no
7120fi
7121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7122fi
7123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7124$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7125	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7126	CFLAGS="$xorg_testset_save_CFLAGS"
7127fi
7128
7129found="no"
7130
7131	if test $found = "no" ; then
7132		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7133			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7134		fi
7135
7136		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7137			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7138		fi
7139
7140		CFLAGS="$CFLAGS -Werror=init-self"
7141
7142		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7143$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
7144		cacheid=xorg_cv_cc_flag__Werror_init_self
7145		if eval \${$cacheid+:} false; then :
7146  $as_echo_n "(cached) " >&6
7147else
7148  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149/* end confdefs.h.  */
7150int i;
7151int
7152main ()
7153{
7154
7155  ;
7156  return 0;
7157}
7158_ACEOF
7159if ac_fn_c_try_link "$LINENO"; then :
7160  eval $cacheid=yes
7161else
7162  eval $cacheid=no
7163fi
7164rm -f core conftest.err conftest.$ac_objext \
7165    conftest$ac_exeext conftest.$ac_ext
7166fi
7167
7168
7169		CFLAGS="$xorg_testset_save_CFLAGS"
7170
7171		eval supported=\$$cacheid
7172		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7173$as_echo "$supported" >&6; }
7174		if test "$supported" = "yes" ; then
7175			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
7176			found="yes"
7177		fi
7178	fi
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194xorg_testset_save_CFLAGS="$CFLAGS"
7195
7196if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7197	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7198	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7199$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7200if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7201  $as_echo_n "(cached) " >&6
7202else
7203  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204/* end confdefs.h.  */
7205int i;
7206_ACEOF
7207if ac_fn_c_try_compile "$LINENO"; then :
7208  xorg_cv_cc_flag_unknown_warning_option=yes
7209else
7210  xorg_cv_cc_flag_unknown_warning_option=no
7211fi
7212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7213fi
7214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7215$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7216	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7217	CFLAGS="$xorg_testset_save_CFLAGS"
7218fi
7219
7220if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7221	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7222		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7223	fi
7224	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7225	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7226$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7227if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7228  $as_echo_n "(cached) " >&6
7229else
7230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231/* end confdefs.h.  */
7232int i;
7233_ACEOF
7234if ac_fn_c_try_compile "$LINENO"; then :
7235  xorg_cv_cc_flag_unused_command_line_argument=yes
7236else
7237  xorg_cv_cc_flag_unused_command_line_argument=no
7238fi
7239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240fi
7241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7242$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7243	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7244	CFLAGS="$xorg_testset_save_CFLAGS"
7245fi
7246
7247found="no"
7248
7249	if test $found = "no" ; then
7250		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7251			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7252		fi
7253
7254		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7255			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7256		fi
7257
7258		CFLAGS="$CFLAGS -Werror=main"
7259
7260		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7261$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
7262		cacheid=xorg_cv_cc_flag__Werror_main
7263		if eval \${$cacheid+:} false; then :
7264  $as_echo_n "(cached) " >&6
7265else
7266  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267/* end confdefs.h.  */
7268int i;
7269int
7270main ()
7271{
7272
7273  ;
7274  return 0;
7275}
7276_ACEOF
7277if ac_fn_c_try_link "$LINENO"; then :
7278  eval $cacheid=yes
7279else
7280  eval $cacheid=no
7281fi
7282rm -f core conftest.err conftest.$ac_objext \
7283    conftest$ac_exeext conftest.$ac_ext
7284fi
7285
7286
7287		CFLAGS="$xorg_testset_save_CFLAGS"
7288
7289		eval supported=\$$cacheid
7290		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7291$as_echo "$supported" >&6; }
7292		if test "$supported" = "yes" ; then
7293			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
7294			found="yes"
7295		fi
7296	fi
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312xorg_testset_save_CFLAGS="$CFLAGS"
7313
7314if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7315	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7316	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7317$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7318if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7319  $as_echo_n "(cached) " >&6
7320else
7321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7322/* end confdefs.h.  */
7323int i;
7324_ACEOF
7325if ac_fn_c_try_compile "$LINENO"; then :
7326  xorg_cv_cc_flag_unknown_warning_option=yes
7327else
7328  xorg_cv_cc_flag_unknown_warning_option=no
7329fi
7330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331fi
7332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7333$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7334	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7335	CFLAGS="$xorg_testset_save_CFLAGS"
7336fi
7337
7338if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7339	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7340		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7341	fi
7342	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7343	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7344$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7345if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7346  $as_echo_n "(cached) " >&6
7347else
7348  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349/* end confdefs.h.  */
7350int i;
7351_ACEOF
7352if ac_fn_c_try_compile "$LINENO"; then :
7353  xorg_cv_cc_flag_unused_command_line_argument=yes
7354else
7355  xorg_cv_cc_flag_unused_command_line_argument=no
7356fi
7357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358fi
7359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7360$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7361	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7362	CFLAGS="$xorg_testset_save_CFLAGS"
7363fi
7364
7365found="no"
7366
7367	if test $found = "no" ; then
7368		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7369			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7370		fi
7371
7372		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7373			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7374		fi
7375
7376		CFLAGS="$CFLAGS -Werror=missing-braces"
7377
7378		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7379$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
7380		cacheid=xorg_cv_cc_flag__Werror_missing_braces
7381		if eval \${$cacheid+:} false; then :
7382  $as_echo_n "(cached) " >&6
7383else
7384  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7385/* end confdefs.h.  */
7386int i;
7387int
7388main ()
7389{
7390
7391  ;
7392  return 0;
7393}
7394_ACEOF
7395if ac_fn_c_try_link "$LINENO"; then :
7396  eval $cacheid=yes
7397else
7398  eval $cacheid=no
7399fi
7400rm -f core conftest.err conftest.$ac_objext \
7401    conftest$ac_exeext conftest.$ac_ext
7402fi
7403
7404
7405		CFLAGS="$xorg_testset_save_CFLAGS"
7406
7407		eval supported=\$$cacheid
7408		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7409$as_echo "$supported" >&6; }
7410		if test "$supported" = "yes" ; then
7411			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
7412			found="yes"
7413		fi
7414	fi
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430xorg_testset_save_CFLAGS="$CFLAGS"
7431
7432if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7433	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7434	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7435$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7436if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7437  $as_echo_n "(cached) " >&6
7438else
7439  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7440/* end confdefs.h.  */
7441int i;
7442_ACEOF
7443if ac_fn_c_try_compile "$LINENO"; then :
7444  xorg_cv_cc_flag_unknown_warning_option=yes
7445else
7446  xorg_cv_cc_flag_unknown_warning_option=no
7447fi
7448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7449fi
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7451$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7452	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7453	CFLAGS="$xorg_testset_save_CFLAGS"
7454fi
7455
7456if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7457	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7458		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7459	fi
7460	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7461	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7462$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7463if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7464  $as_echo_n "(cached) " >&6
7465else
7466  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7467/* end confdefs.h.  */
7468int i;
7469_ACEOF
7470if ac_fn_c_try_compile "$LINENO"; then :
7471  xorg_cv_cc_flag_unused_command_line_argument=yes
7472else
7473  xorg_cv_cc_flag_unused_command_line_argument=no
7474fi
7475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7476fi
7477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7478$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7479	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7480	CFLAGS="$xorg_testset_save_CFLAGS"
7481fi
7482
7483found="no"
7484
7485	if test $found = "no" ; then
7486		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7487			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7488		fi
7489
7490		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7491			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7492		fi
7493
7494		CFLAGS="$CFLAGS -Werror=sequence-point"
7495
7496		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7497$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
7498		cacheid=xorg_cv_cc_flag__Werror_sequence_point
7499		if eval \${$cacheid+:} false; then :
7500  $as_echo_n "(cached) " >&6
7501else
7502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503/* end confdefs.h.  */
7504int i;
7505int
7506main ()
7507{
7508
7509  ;
7510  return 0;
7511}
7512_ACEOF
7513if ac_fn_c_try_link "$LINENO"; then :
7514  eval $cacheid=yes
7515else
7516  eval $cacheid=no
7517fi
7518rm -f core conftest.err conftest.$ac_objext \
7519    conftest$ac_exeext conftest.$ac_ext
7520fi
7521
7522
7523		CFLAGS="$xorg_testset_save_CFLAGS"
7524
7525		eval supported=\$$cacheid
7526		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7527$as_echo "$supported" >&6; }
7528		if test "$supported" = "yes" ; then
7529			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
7530			found="yes"
7531		fi
7532	fi
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548xorg_testset_save_CFLAGS="$CFLAGS"
7549
7550if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7551	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7552	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7553$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7554if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7555  $as_echo_n "(cached) " >&6
7556else
7557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558/* end confdefs.h.  */
7559int i;
7560_ACEOF
7561if ac_fn_c_try_compile "$LINENO"; then :
7562  xorg_cv_cc_flag_unknown_warning_option=yes
7563else
7564  xorg_cv_cc_flag_unknown_warning_option=no
7565fi
7566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7567fi
7568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7569$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7570	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7571	CFLAGS="$xorg_testset_save_CFLAGS"
7572fi
7573
7574if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7575	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7576		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7577	fi
7578	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7579	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7580$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7581if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7582  $as_echo_n "(cached) " >&6
7583else
7584  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585/* end confdefs.h.  */
7586int i;
7587_ACEOF
7588if ac_fn_c_try_compile "$LINENO"; then :
7589  xorg_cv_cc_flag_unused_command_line_argument=yes
7590else
7591  xorg_cv_cc_flag_unused_command_line_argument=no
7592fi
7593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7594fi
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7596$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7597	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7598	CFLAGS="$xorg_testset_save_CFLAGS"
7599fi
7600
7601found="no"
7602
7603	if test $found = "no" ; then
7604		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7605			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7606		fi
7607
7608		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7609			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7610		fi
7611
7612		CFLAGS="$CFLAGS -Werror=return-type"
7613
7614		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
7615$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
7616		cacheid=xorg_cv_cc_flag__Werror_return_type
7617		if eval \${$cacheid+:} false; then :
7618  $as_echo_n "(cached) " >&6
7619else
7620  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621/* end confdefs.h.  */
7622int i;
7623int
7624main ()
7625{
7626
7627  ;
7628  return 0;
7629}
7630_ACEOF
7631if ac_fn_c_try_link "$LINENO"; then :
7632  eval $cacheid=yes
7633else
7634  eval $cacheid=no
7635fi
7636rm -f core conftest.err conftest.$ac_objext \
7637    conftest$ac_exeext conftest.$ac_ext
7638fi
7639
7640
7641		CFLAGS="$xorg_testset_save_CFLAGS"
7642
7643		eval supported=\$$cacheid
7644		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7645$as_echo "$supported" >&6; }
7646		if test "$supported" = "yes" ; then
7647			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
7648			found="yes"
7649		fi
7650	fi
7651
7652	if test $found = "no" ; then
7653		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7654			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7655		fi
7656
7657		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7658			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7659		fi
7660
7661		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7662
7663		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7664$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7665		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
7666		if eval \${$cacheid+:} false; then :
7667  $as_echo_n "(cached) " >&6
7668else
7669  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7670/* end confdefs.h.  */
7671int i;
7672int
7673main ()
7674{
7675
7676  ;
7677  return 0;
7678}
7679_ACEOF
7680if ac_fn_c_try_link "$LINENO"; then :
7681  eval $cacheid=yes
7682else
7683  eval $cacheid=no
7684fi
7685rm -f core conftest.err conftest.$ac_objext \
7686    conftest$ac_exeext conftest.$ac_ext
7687fi
7688
7689
7690		CFLAGS="$xorg_testset_save_CFLAGS"
7691
7692		eval supported=\$$cacheid
7693		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7694$as_echo "$supported" >&6; }
7695		if test "$supported" = "yes" ; then
7696			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7697			found="yes"
7698		fi
7699	fi
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715xorg_testset_save_CFLAGS="$CFLAGS"
7716
7717if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7718	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7719	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7720$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7721if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7722  $as_echo_n "(cached) " >&6
7723else
7724  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7725/* end confdefs.h.  */
7726int i;
7727_ACEOF
7728if ac_fn_c_try_compile "$LINENO"; then :
7729  xorg_cv_cc_flag_unknown_warning_option=yes
7730else
7731  xorg_cv_cc_flag_unknown_warning_option=no
7732fi
7733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734fi
7735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7736$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7737	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7738	CFLAGS="$xorg_testset_save_CFLAGS"
7739fi
7740
7741if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7742	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7743		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7744	fi
7745	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7746	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7747$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7748if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7749  $as_echo_n "(cached) " >&6
7750else
7751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752/* end confdefs.h.  */
7753int i;
7754_ACEOF
7755if ac_fn_c_try_compile "$LINENO"; then :
7756  xorg_cv_cc_flag_unused_command_line_argument=yes
7757else
7758  xorg_cv_cc_flag_unused_command_line_argument=no
7759fi
7760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7761fi
7762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7763$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7764	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7765	CFLAGS="$xorg_testset_save_CFLAGS"
7766fi
7767
7768found="no"
7769
7770	if test $found = "no" ; then
7771		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7772			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7773		fi
7774
7775		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7776			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7777		fi
7778
7779		CFLAGS="$CFLAGS -Werror=trigraphs"
7780
7781		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
7782$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
7783		cacheid=xorg_cv_cc_flag__Werror_trigraphs
7784		if eval \${$cacheid+:} false; then :
7785  $as_echo_n "(cached) " >&6
7786else
7787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788/* end confdefs.h.  */
7789int i;
7790int
7791main ()
7792{
7793
7794  ;
7795  return 0;
7796}
7797_ACEOF
7798if ac_fn_c_try_link "$LINENO"; then :
7799  eval $cacheid=yes
7800else
7801  eval $cacheid=no
7802fi
7803rm -f core conftest.err conftest.$ac_objext \
7804    conftest$ac_exeext conftest.$ac_ext
7805fi
7806
7807
7808		CFLAGS="$xorg_testset_save_CFLAGS"
7809
7810		eval supported=\$$cacheid
7811		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7812$as_echo "$supported" >&6; }
7813		if test "$supported" = "yes" ; then
7814			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
7815			found="yes"
7816		fi
7817	fi
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833xorg_testset_save_CFLAGS="$CFLAGS"
7834
7835if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7836	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7837	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7838$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7839if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7840  $as_echo_n "(cached) " >&6
7841else
7842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7843/* end confdefs.h.  */
7844int i;
7845_ACEOF
7846if ac_fn_c_try_compile "$LINENO"; then :
7847  xorg_cv_cc_flag_unknown_warning_option=yes
7848else
7849  xorg_cv_cc_flag_unknown_warning_option=no
7850fi
7851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7852fi
7853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7854$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7855	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7856	CFLAGS="$xorg_testset_save_CFLAGS"
7857fi
7858
7859if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7860	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7861		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7862	fi
7863	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7864	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7865$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7866if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7867  $as_echo_n "(cached) " >&6
7868else
7869  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870/* end confdefs.h.  */
7871int i;
7872_ACEOF
7873if ac_fn_c_try_compile "$LINENO"; then :
7874  xorg_cv_cc_flag_unused_command_line_argument=yes
7875else
7876  xorg_cv_cc_flag_unused_command_line_argument=no
7877fi
7878rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7879fi
7880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7881$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7882	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7883	CFLAGS="$xorg_testset_save_CFLAGS"
7884fi
7885
7886found="no"
7887
7888	if test $found = "no" ; then
7889		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7890			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7891		fi
7892
7893		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7894			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7895		fi
7896
7897		CFLAGS="$CFLAGS -Werror=array-bounds"
7898
7899		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
7900$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
7901		cacheid=xorg_cv_cc_flag__Werror_array_bounds
7902		if eval \${$cacheid+:} false; then :
7903  $as_echo_n "(cached) " >&6
7904else
7905  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906/* end confdefs.h.  */
7907int i;
7908int
7909main ()
7910{
7911
7912  ;
7913  return 0;
7914}
7915_ACEOF
7916if ac_fn_c_try_link "$LINENO"; then :
7917  eval $cacheid=yes
7918else
7919  eval $cacheid=no
7920fi
7921rm -f core conftest.err conftest.$ac_objext \
7922    conftest$ac_exeext conftest.$ac_ext
7923fi
7924
7925
7926		CFLAGS="$xorg_testset_save_CFLAGS"
7927
7928		eval supported=\$$cacheid
7929		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7930$as_echo "$supported" >&6; }
7931		if test "$supported" = "yes" ; then
7932			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
7933			found="yes"
7934		fi
7935	fi
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951xorg_testset_save_CFLAGS="$CFLAGS"
7952
7953if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7954	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7955	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7956$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7957if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7961/* end confdefs.h.  */
7962int i;
7963_ACEOF
7964if ac_fn_c_try_compile "$LINENO"; then :
7965  xorg_cv_cc_flag_unknown_warning_option=yes
7966else
7967  xorg_cv_cc_flag_unknown_warning_option=no
7968fi
7969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7970fi
7971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7972$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7973	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7974	CFLAGS="$xorg_testset_save_CFLAGS"
7975fi
7976
7977if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7978	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7979		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7980	fi
7981	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7982	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7983$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7984if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7985  $as_echo_n "(cached) " >&6
7986else
7987  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7988/* end confdefs.h.  */
7989int i;
7990_ACEOF
7991if ac_fn_c_try_compile "$LINENO"; then :
7992  xorg_cv_cc_flag_unused_command_line_argument=yes
7993else
7994  xorg_cv_cc_flag_unused_command_line_argument=no
7995fi
7996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7997fi
7998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7999$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8000	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8001	CFLAGS="$xorg_testset_save_CFLAGS"
8002fi
8003
8004found="no"
8005
8006	if test $found = "no" ; then
8007		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8008			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8009		fi
8010
8011		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8012			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8013		fi
8014
8015		CFLAGS="$CFLAGS -Werror=write-strings"
8016
8017		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
8018$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
8019		cacheid=xorg_cv_cc_flag__Werror_write_strings
8020		if eval \${$cacheid+:} false; then :
8021  $as_echo_n "(cached) " >&6
8022else
8023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024/* end confdefs.h.  */
8025int i;
8026int
8027main ()
8028{
8029
8030  ;
8031  return 0;
8032}
8033_ACEOF
8034if ac_fn_c_try_link "$LINENO"; then :
8035  eval $cacheid=yes
8036else
8037  eval $cacheid=no
8038fi
8039rm -f core conftest.err conftest.$ac_objext \
8040    conftest$ac_exeext conftest.$ac_ext
8041fi
8042
8043
8044		CFLAGS="$xorg_testset_save_CFLAGS"
8045
8046		eval supported=\$$cacheid
8047		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8048$as_echo "$supported" >&6; }
8049		if test "$supported" = "yes" ; then
8050			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
8051			found="yes"
8052		fi
8053	fi
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069xorg_testset_save_CFLAGS="$CFLAGS"
8070
8071if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8072	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8073	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8074$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8075if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8076  $as_echo_n "(cached) " >&6
8077else
8078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079/* end confdefs.h.  */
8080int i;
8081_ACEOF
8082if ac_fn_c_try_compile "$LINENO"; then :
8083  xorg_cv_cc_flag_unknown_warning_option=yes
8084else
8085  xorg_cv_cc_flag_unknown_warning_option=no
8086fi
8087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8088fi
8089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8090$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8091	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8092	CFLAGS="$xorg_testset_save_CFLAGS"
8093fi
8094
8095if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8096	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8097		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8098	fi
8099	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8100	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8101$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8102if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8103  $as_echo_n "(cached) " >&6
8104else
8105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106/* end confdefs.h.  */
8107int i;
8108_ACEOF
8109if ac_fn_c_try_compile "$LINENO"; then :
8110  xorg_cv_cc_flag_unused_command_line_argument=yes
8111else
8112  xorg_cv_cc_flag_unused_command_line_argument=no
8113fi
8114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8115fi
8116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8117$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8118	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8119	CFLAGS="$xorg_testset_save_CFLAGS"
8120fi
8121
8122found="no"
8123
8124	if test $found = "no" ; then
8125		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8126			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8127		fi
8128
8129		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8130			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8131		fi
8132
8133		CFLAGS="$CFLAGS -Werror=address"
8134
8135		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8136$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
8137		cacheid=xorg_cv_cc_flag__Werror_address
8138		if eval \${$cacheid+:} false; then :
8139  $as_echo_n "(cached) " >&6
8140else
8141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8142/* end confdefs.h.  */
8143int i;
8144int
8145main ()
8146{
8147
8148  ;
8149  return 0;
8150}
8151_ACEOF
8152if ac_fn_c_try_link "$LINENO"; then :
8153  eval $cacheid=yes
8154else
8155  eval $cacheid=no
8156fi
8157rm -f core conftest.err conftest.$ac_objext \
8158    conftest$ac_exeext conftest.$ac_ext
8159fi
8160
8161
8162		CFLAGS="$xorg_testset_save_CFLAGS"
8163
8164		eval supported=\$$cacheid
8165		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8166$as_echo "$supported" >&6; }
8167		if test "$supported" = "yes" ; then
8168			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
8169			found="yes"
8170		fi
8171	fi
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187xorg_testset_save_CFLAGS="$CFLAGS"
8188
8189if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8190	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8191	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8192$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8193if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8194  $as_echo_n "(cached) " >&6
8195else
8196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197/* end confdefs.h.  */
8198int i;
8199_ACEOF
8200if ac_fn_c_try_compile "$LINENO"; then :
8201  xorg_cv_cc_flag_unknown_warning_option=yes
8202else
8203  xorg_cv_cc_flag_unknown_warning_option=no
8204fi
8205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8206fi
8207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8208$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8209	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8210	CFLAGS="$xorg_testset_save_CFLAGS"
8211fi
8212
8213if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8214	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8215		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8216	fi
8217	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8218	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8219$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8220if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8221  $as_echo_n "(cached) " >&6
8222else
8223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224/* end confdefs.h.  */
8225int i;
8226_ACEOF
8227if ac_fn_c_try_compile "$LINENO"; then :
8228  xorg_cv_cc_flag_unused_command_line_argument=yes
8229else
8230  xorg_cv_cc_flag_unused_command_line_argument=no
8231fi
8232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8233fi
8234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8235$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8236	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8237	CFLAGS="$xorg_testset_save_CFLAGS"
8238fi
8239
8240found="no"
8241
8242	if test $found = "no" ; then
8243		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8244			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8245		fi
8246
8247		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8248			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8249		fi
8250
8251		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8252
8253		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8254$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8255		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
8256		if eval \${$cacheid+:} false; then :
8257  $as_echo_n "(cached) " >&6
8258else
8259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260/* end confdefs.h.  */
8261int i;
8262int
8263main ()
8264{
8265
8266  ;
8267  return 0;
8268}
8269_ACEOF
8270if ac_fn_c_try_link "$LINENO"; then :
8271  eval $cacheid=yes
8272else
8273  eval $cacheid=no
8274fi
8275rm -f core conftest.err conftest.$ac_objext \
8276    conftest$ac_exeext conftest.$ac_ext
8277fi
8278
8279
8280		CFLAGS="$xorg_testset_save_CFLAGS"
8281
8282		eval supported=\$$cacheid
8283		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8284$as_echo "$supported" >&6; }
8285		if test "$supported" = "yes" ; then
8286			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
8287			found="yes"
8288		fi
8289	fi
8290
8291	if test $found = "no" ; then
8292		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8293			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8294		fi
8295
8296		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8297			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8298		fi
8299
8300		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8301
8302		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8303$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8304		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
8305		if eval \${$cacheid+:} false; then :
8306  $as_echo_n "(cached) " >&6
8307else
8308  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309/* end confdefs.h.  */
8310int i;
8311int
8312main ()
8313{
8314
8315  ;
8316  return 0;
8317}
8318_ACEOF
8319if ac_fn_c_try_link "$LINENO"; then :
8320  eval $cacheid=yes
8321else
8322  eval $cacheid=no
8323fi
8324rm -f core conftest.err conftest.$ac_objext \
8325    conftest$ac_exeext conftest.$ac_ext
8326fi
8327
8328
8329		CFLAGS="$xorg_testset_save_CFLAGS"
8330
8331		eval supported=\$$cacheid
8332		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8333$as_echo "$supported" >&6; }
8334		if test "$supported" = "yes" ; then
8335			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8336			found="yes"
8337		fi
8338	fi
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354xorg_testset_save_CFLAGS="$CFLAGS"
8355
8356if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8357	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8358	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8359$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8360if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8361  $as_echo_n "(cached) " >&6
8362else
8363  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364/* end confdefs.h.  */
8365int i;
8366_ACEOF
8367if ac_fn_c_try_compile "$LINENO"; then :
8368  xorg_cv_cc_flag_unknown_warning_option=yes
8369else
8370  xorg_cv_cc_flag_unknown_warning_option=no
8371fi
8372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8373fi
8374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8375$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8376	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8377	CFLAGS="$xorg_testset_save_CFLAGS"
8378fi
8379
8380if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8381	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8382		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8383	fi
8384	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8385	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8386$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8387if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8388  $as_echo_n "(cached) " >&6
8389else
8390  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391/* end confdefs.h.  */
8392int i;
8393_ACEOF
8394if ac_fn_c_try_compile "$LINENO"; then :
8395  xorg_cv_cc_flag_unused_command_line_argument=yes
8396else
8397  xorg_cv_cc_flag_unused_command_line_argument=no
8398fi
8399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8400fi
8401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8402$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8403	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8404	CFLAGS="$xorg_testset_save_CFLAGS"
8405fi
8406
8407found="no"
8408
8409	if test $found = "no" ; then
8410		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8411			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8412		fi
8413
8414		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8415			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8416		fi
8417
8418		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8419
8420		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8421$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8422		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
8423		if eval \${$cacheid+:} false; then :
8424  $as_echo_n "(cached) " >&6
8425else
8426  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427/* end confdefs.h.  */
8428int i;
8429int
8430main ()
8431{
8432
8433  ;
8434  return 0;
8435}
8436_ACEOF
8437if ac_fn_c_try_link "$LINENO"; then :
8438  eval $cacheid=yes
8439else
8440  eval $cacheid=no
8441fi
8442rm -f core conftest.err conftest.$ac_objext \
8443    conftest$ac_exeext conftest.$ac_ext
8444fi
8445
8446
8447		CFLAGS="$xorg_testset_save_CFLAGS"
8448
8449		eval supported=\$$cacheid
8450		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8451$as_echo "$supported" >&6; }
8452		if test "$supported" = "yes" ; then
8453			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
8454			found="yes"
8455		fi
8456	fi
8457
8458 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
8459else
8460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
8461$as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475xorg_testset_save_CFLAGS="$CFLAGS"
8476
8477if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8478	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8479	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8480$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8481if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8482  $as_echo_n "(cached) " >&6
8483else
8484  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485/* end confdefs.h.  */
8486int i;
8487_ACEOF
8488if ac_fn_c_try_compile "$LINENO"; then :
8489  xorg_cv_cc_flag_unknown_warning_option=yes
8490else
8491  xorg_cv_cc_flag_unknown_warning_option=no
8492fi
8493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8494fi
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8496$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8497	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8498	CFLAGS="$xorg_testset_save_CFLAGS"
8499fi
8500
8501if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8502	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8503		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8504	fi
8505	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8506	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8507$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8508if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8509  $as_echo_n "(cached) " >&6
8510else
8511  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512/* end confdefs.h.  */
8513int i;
8514_ACEOF
8515if ac_fn_c_try_compile "$LINENO"; then :
8516  xorg_cv_cc_flag_unused_command_line_argument=yes
8517else
8518  xorg_cv_cc_flag_unused_command_line_argument=no
8519fi
8520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8521fi
8522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8523$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8524	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8525	CFLAGS="$xorg_testset_save_CFLAGS"
8526fi
8527
8528found="no"
8529
8530	if test $found = "no" ; then
8531		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8532			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8533		fi
8534
8535		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8536			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8537		fi
8538
8539		CFLAGS="$CFLAGS -Wimplicit"
8540
8541		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
8542$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
8543		cacheid=xorg_cv_cc_flag__Wimplicit
8544		if eval \${$cacheid+:} false; then :
8545  $as_echo_n "(cached) " >&6
8546else
8547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548/* end confdefs.h.  */
8549int i;
8550int
8551main ()
8552{
8553
8554  ;
8555  return 0;
8556}
8557_ACEOF
8558if ac_fn_c_try_link "$LINENO"; then :
8559  eval $cacheid=yes
8560else
8561  eval $cacheid=no
8562fi
8563rm -f core conftest.err conftest.$ac_objext \
8564    conftest$ac_exeext conftest.$ac_ext
8565fi
8566
8567
8568		CFLAGS="$xorg_testset_save_CFLAGS"
8569
8570		eval supported=\$$cacheid
8571		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8572$as_echo "$supported" >&6; }
8573		if test "$supported" = "yes" ; then
8574			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
8575			found="yes"
8576		fi
8577	fi
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593xorg_testset_save_CFLAGS="$CFLAGS"
8594
8595if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8596	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8597	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8598$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8599if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8600  $as_echo_n "(cached) " >&6
8601else
8602  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603/* end confdefs.h.  */
8604int i;
8605_ACEOF
8606if ac_fn_c_try_compile "$LINENO"; then :
8607  xorg_cv_cc_flag_unknown_warning_option=yes
8608else
8609  xorg_cv_cc_flag_unknown_warning_option=no
8610fi
8611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8612fi
8613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8614$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8615	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8616	CFLAGS="$xorg_testset_save_CFLAGS"
8617fi
8618
8619if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8620	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8621		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8622	fi
8623	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8624	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8625$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8626if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8627  $as_echo_n "(cached) " >&6
8628else
8629  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630/* end confdefs.h.  */
8631int i;
8632_ACEOF
8633if ac_fn_c_try_compile "$LINENO"; then :
8634  xorg_cv_cc_flag_unused_command_line_argument=yes
8635else
8636  xorg_cv_cc_flag_unused_command_line_argument=no
8637fi
8638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8639fi
8640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8641$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8642	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8643	CFLAGS="$xorg_testset_save_CFLAGS"
8644fi
8645
8646found="no"
8647
8648	if test $found = "no" ; then
8649		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8650			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8651		fi
8652
8653		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8654			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8655		fi
8656
8657		CFLAGS="$CFLAGS -Wnonnull"
8658
8659		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
8660$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
8661		cacheid=xorg_cv_cc_flag__Wnonnull
8662		if eval \${$cacheid+:} false; then :
8663  $as_echo_n "(cached) " >&6
8664else
8665  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666/* end confdefs.h.  */
8667int i;
8668int
8669main ()
8670{
8671
8672  ;
8673  return 0;
8674}
8675_ACEOF
8676if ac_fn_c_try_link "$LINENO"; then :
8677  eval $cacheid=yes
8678else
8679  eval $cacheid=no
8680fi
8681rm -f core conftest.err conftest.$ac_objext \
8682    conftest$ac_exeext conftest.$ac_ext
8683fi
8684
8685
8686		CFLAGS="$xorg_testset_save_CFLAGS"
8687
8688		eval supported=\$$cacheid
8689		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8690$as_echo "$supported" >&6; }
8691		if test "$supported" = "yes" ; then
8692			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
8693			found="yes"
8694		fi
8695	fi
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711xorg_testset_save_CFLAGS="$CFLAGS"
8712
8713if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8714	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8715	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8716$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8717if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8718  $as_echo_n "(cached) " >&6
8719else
8720  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721/* end confdefs.h.  */
8722int i;
8723_ACEOF
8724if ac_fn_c_try_compile "$LINENO"; then :
8725  xorg_cv_cc_flag_unknown_warning_option=yes
8726else
8727  xorg_cv_cc_flag_unknown_warning_option=no
8728fi
8729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8730fi
8731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8732$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8733	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8734	CFLAGS="$xorg_testset_save_CFLAGS"
8735fi
8736
8737if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8738	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8739		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8740	fi
8741	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8742	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8743$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8744if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8745  $as_echo_n "(cached) " >&6
8746else
8747  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748/* end confdefs.h.  */
8749int i;
8750_ACEOF
8751if ac_fn_c_try_compile "$LINENO"; then :
8752  xorg_cv_cc_flag_unused_command_line_argument=yes
8753else
8754  xorg_cv_cc_flag_unused_command_line_argument=no
8755fi
8756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8757fi
8758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8759$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8760	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8761	CFLAGS="$xorg_testset_save_CFLAGS"
8762fi
8763
8764found="no"
8765
8766	if test $found = "no" ; then
8767		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8768			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8769		fi
8770
8771		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8772			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8773		fi
8774
8775		CFLAGS="$CFLAGS -Winit-self"
8776
8777		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
8778$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
8779		cacheid=xorg_cv_cc_flag__Winit_self
8780		if eval \${$cacheid+:} false; then :
8781  $as_echo_n "(cached) " >&6
8782else
8783  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784/* end confdefs.h.  */
8785int i;
8786int
8787main ()
8788{
8789
8790  ;
8791  return 0;
8792}
8793_ACEOF
8794if ac_fn_c_try_link "$LINENO"; then :
8795  eval $cacheid=yes
8796else
8797  eval $cacheid=no
8798fi
8799rm -f core conftest.err conftest.$ac_objext \
8800    conftest$ac_exeext conftest.$ac_ext
8801fi
8802
8803
8804		CFLAGS="$xorg_testset_save_CFLAGS"
8805
8806		eval supported=\$$cacheid
8807		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8808$as_echo "$supported" >&6; }
8809		if test "$supported" = "yes" ; then
8810			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
8811			found="yes"
8812		fi
8813	fi
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829xorg_testset_save_CFLAGS="$CFLAGS"
8830
8831if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8832	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8833	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8834$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8835if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8836  $as_echo_n "(cached) " >&6
8837else
8838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839/* end confdefs.h.  */
8840int i;
8841_ACEOF
8842if ac_fn_c_try_compile "$LINENO"; then :
8843  xorg_cv_cc_flag_unknown_warning_option=yes
8844else
8845  xorg_cv_cc_flag_unknown_warning_option=no
8846fi
8847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8848fi
8849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8850$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8851	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8852	CFLAGS="$xorg_testset_save_CFLAGS"
8853fi
8854
8855if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8856	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8857		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8858	fi
8859	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8860	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8861$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8862if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8863  $as_echo_n "(cached) " >&6
8864else
8865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866/* end confdefs.h.  */
8867int i;
8868_ACEOF
8869if ac_fn_c_try_compile "$LINENO"; then :
8870  xorg_cv_cc_flag_unused_command_line_argument=yes
8871else
8872  xorg_cv_cc_flag_unused_command_line_argument=no
8873fi
8874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875fi
8876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8877$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8878	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8879	CFLAGS="$xorg_testset_save_CFLAGS"
8880fi
8881
8882found="no"
8883
8884	if test $found = "no" ; then
8885		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8886			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8887		fi
8888
8889		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8890			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8891		fi
8892
8893		CFLAGS="$CFLAGS -Wmain"
8894
8895		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
8896$as_echo_n "checking if $CC supports -Wmain... " >&6; }
8897		cacheid=xorg_cv_cc_flag__Wmain
8898		if eval \${$cacheid+:} false; then :
8899  $as_echo_n "(cached) " >&6
8900else
8901  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902/* end confdefs.h.  */
8903int i;
8904int
8905main ()
8906{
8907
8908  ;
8909  return 0;
8910}
8911_ACEOF
8912if ac_fn_c_try_link "$LINENO"; then :
8913  eval $cacheid=yes
8914else
8915  eval $cacheid=no
8916fi
8917rm -f core conftest.err conftest.$ac_objext \
8918    conftest$ac_exeext conftest.$ac_ext
8919fi
8920
8921
8922		CFLAGS="$xorg_testset_save_CFLAGS"
8923
8924		eval supported=\$$cacheid
8925		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8926$as_echo "$supported" >&6; }
8927		if test "$supported" = "yes" ; then
8928			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
8929			found="yes"
8930		fi
8931	fi
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947xorg_testset_save_CFLAGS="$CFLAGS"
8948
8949if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8950	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8951	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8952$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8953if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8954  $as_echo_n "(cached) " >&6
8955else
8956  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957/* end confdefs.h.  */
8958int i;
8959_ACEOF
8960if ac_fn_c_try_compile "$LINENO"; then :
8961  xorg_cv_cc_flag_unknown_warning_option=yes
8962else
8963  xorg_cv_cc_flag_unknown_warning_option=no
8964fi
8965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8966fi
8967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8968$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8969	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8970	CFLAGS="$xorg_testset_save_CFLAGS"
8971fi
8972
8973if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8974	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8975		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8976	fi
8977	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8978	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8979$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8980if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8981  $as_echo_n "(cached) " >&6
8982else
8983  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984/* end confdefs.h.  */
8985int i;
8986_ACEOF
8987if ac_fn_c_try_compile "$LINENO"; then :
8988  xorg_cv_cc_flag_unused_command_line_argument=yes
8989else
8990  xorg_cv_cc_flag_unused_command_line_argument=no
8991fi
8992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8993fi
8994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8995$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8996	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8997	CFLAGS="$xorg_testset_save_CFLAGS"
8998fi
8999
9000found="no"
9001
9002	if test $found = "no" ; then
9003		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9004			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9005		fi
9006
9007		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9008			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9009		fi
9010
9011		CFLAGS="$CFLAGS -Wmissing-braces"
9012
9013		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
9014$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
9015		cacheid=xorg_cv_cc_flag__Wmissing_braces
9016		if eval \${$cacheid+:} false; then :
9017  $as_echo_n "(cached) " >&6
9018else
9019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020/* end confdefs.h.  */
9021int i;
9022int
9023main ()
9024{
9025
9026  ;
9027  return 0;
9028}
9029_ACEOF
9030if ac_fn_c_try_link "$LINENO"; then :
9031  eval $cacheid=yes
9032else
9033  eval $cacheid=no
9034fi
9035rm -f core conftest.err conftest.$ac_objext \
9036    conftest$ac_exeext conftest.$ac_ext
9037fi
9038
9039
9040		CFLAGS="$xorg_testset_save_CFLAGS"
9041
9042		eval supported=\$$cacheid
9043		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9044$as_echo "$supported" >&6; }
9045		if test "$supported" = "yes" ; then
9046			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
9047			found="yes"
9048		fi
9049	fi
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065xorg_testset_save_CFLAGS="$CFLAGS"
9066
9067if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9068	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9069	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9070$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9071if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9072  $as_echo_n "(cached) " >&6
9073else
9074  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075/* end confdefs.h.  */
9076int i;
9077_ACEOF
9078if ac_fn_c_try_compile "$LINENO"; then :
9079  xorg_cv_cc_flag_unknown_warning_option=yes
9080else
9081  xorg_cv_cc_flag_unknown_warning_option=no
9082fi
9083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9084fi
9085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9086$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9087	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9088	CFLAGS="$xorg_testset_save_CFLAGS"
9089fi
9090
9091if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9092	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9093		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9094	fi
9095	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9096	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9097$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9098if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9099  $as_echo_n "(cached) " >&6
9100else
9101  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102/* end confdefs.h.  */
9103int i;
9104_ACEOF
9105if ac_fn_c_try_compile "$LINENO"; then :
9106  xorg_cv_cc_flag_unused_command_line_argument=yes
9107else
9108  xorg_cv_cc_flag_unused_command_line_argument=no
9109fi
9110rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9111fi
9112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9113$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9114	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9115	CFLAGS="$xorg_testset_save_CFLAGS"
9116fi
9117
9118found="no"
9119
9120	if test $found = "no" ; then
9121		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9122			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9123		fi
9124
9125		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9126			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9127		fi
9128
9129		CFLAGS="$CFLAGS -Wsequence-point"
9130
9131		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9132$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
9133		cacheid=xorg_cv_cc_flag__Wsequence_point
9134		if eval \${$cacheid+:} false; then :
9135  $as_echo_n "(cached) " >&6
9136else
9137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138/* end confdefs.h.  */
9139int i;
9140int
9141main ()
9142{
9143
9144  ;
9145  return 0;
9146}
9147_ACEOF
9148if ac_fn_c_try_link "$LINENO"; then :
9149  eval $cacheid=yes
9150else
9151  eval $cacheid=no
9152fi
9153rm -f core conftest.err conftest.$ac_objext \
9154    conftest$ac_exeext conftest.$ac_ext
9155fi
9156
9157
9158		CFLAGS="$xorg_testset_save_CFLAGS"
9159
9160		eval supported=\$$cacheid
9161		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9162$as_echo "$supported" >&6; }
9163		if test "$supported" = "yes" ; then
9164			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
9165			found="yes"
9166		fi
9167	fi
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183xorg_testset_save_CFLAGS="$CFLAGS"
9184
9185if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9186	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9187	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9188$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9189if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9190  $as_echo_n "(cached) " >&6
9191else
9192  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193/* end confdefs.h.  */
9194int i;
9195_ACEOF
9196if ac_fn_c_try_compile "$LINENO"; then :
9197  xorg_cv_cc_flag_unknown_warning_option=yes
9198else
9199  xorg_cv_cc_flag_unknown_warning_option=no
9200fi
9201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9202fi
9203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9204$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9205	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9206	CFLAGS="$xorg_testset_save_CFLAGS"
9207fi
9208
9209if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9210	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9211		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9212	fi
9213	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9214	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9215$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9216if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9217  $as_echo_n "(cached) " >&6
9218else
9219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9220/* end confdefs.h.  */
9221int i;
9222_ACEOF
9223if ac_fn_c_try_compile "$LINENO"; then :
9224  xorg_cv_cc_flag_unused_command_line_argument=yes
9225else
9226  xorg_cv_cc_flag_unused_command_line_argument=no
9227fi
9228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9229fi
9230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9231$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9232	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9233	CFLAGS="$xorg_testset_save_CFLAGS"
9234fi
9235
9236found="no"
9237
9238	if test $found = "no" ; then
9239		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9240			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9241		fi
9242
9243		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9244			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9245		fi
9246
9247		CFLAGS="$CFLAGS -Wreturn-type"
9248
9249		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9250$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
9251		cacheid=xorg_cv_cc_flag__Wreturn_type
9252		if eval \${$cacheid+:} false; then :
9253  $as_echo_n "(cached) " >&6
9254else
9255  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256/* end confdefs.h.  */
9257int i;
9258int
9259main ()
9260{
9261
9262  ;
9263  return 0;
9264}
9265_ACEOF
9266if ac_fn_c_try_link "$LINENO"; then :
9267  eval $cacheid=yes
9268else
9269  eval $cacheid=no
9270fi
9271rm -f core conftest.err conftest.$ac_objext \
9272    conftest$ac_exeext conftest.$ac_ext
9273fi
9274
9275
9276		CFLAGS="$xorg_testset_save_CFLAGS"
9277
9278		eval supported=\$$cacheid
9279		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9280$as_echo "$supported" >&6; }
9281		if test "$supported" = "yes" ; then
9282			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
9283			found="yes"
9284		fi
9285	fi
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301xorg_testset_save_CFLAGS="$CFLAGS"
9302
9303if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9304	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9305	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9306$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9307if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9308  $as_echo_n "(cached) " >&6
9309else
9310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311/* end confdefs.h.  */
9312int i;
9313_ACEOF
9314if ac_fn_c_try_compile "$LINENO"; then :
9315  xorg_cv_cc_flag_unknown_warning_option=yes
9316else
9317  xorg_cv_cc_flag_unknown_warning_option=no
9318fi
9319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9320fi
9321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9322$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9323	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9324	CFLAGS="$xorg_testset_save_CFLAGS"
9325fi
9326
9327if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9328	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9329		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9330	fi
9331	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9332	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9333$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9334if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9335  $as_echo_n "(cached) " >&6
9336else
9337  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338/* end confdefs.h.  */
9339int i;
9340_ACEOF
9341if ac_fn_c_try_compile "$LINENO"; then :
9342  xorg_cv_cc_flag_unused_command_line_argument=yes
9343else
9344  xorg_cv_cc_flag_unused_command_line_argument=no
9345fi
9346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9347fi
9348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9349$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9350	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9351	CFLAGS="$xorg_testset_save_CFLAGS"
9352fi
9353
9354found="no"
9355
9356	if test $found = "no" ; then
9357		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9358			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9359		fi
9360
9361		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9362			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9363		fi
9364
9365		CFLAGS="$CFLAGS -Wtrigraphs"
9366
9367		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9368$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
9369		cacheid=xorg_cv_cc_flag__Wtrigraphs
9370		if eval \${$cacheid+:} false; then :
9371  $as_echo_n "(cached) " >&6
9372else
9373  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374/* end confdefs.h.  */
9375int i;
9376int
9377main ()
9378{
9379
9380  ;
9381  return 0;
9382}
9383_ACEOF
9384if ac_fn_c_try_link "$LINENO"; then :
9385  eval $cacheid=yes
9386else
9387  eval $cacheid=no
9388fi
9389rm -f core conftest.err conftest.$ac_objext \
9390    conftest$ac_exeext conftest.$ac_ext
9391fi
9392
9393
9394		CFLAGS="$xorg_testset_save_CFLAGS"
9395
9396		eval supported=\$$cacheid
9397		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9398$as_echo "$supported" >&6; }
9399		if test "$supported" = "yes" ; then
9400			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
9401			found="yes"
9402		fi
9403	fi
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419xorg_testset_save_CFLAGS="$CFLAGS"
9420
9421if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9422	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9423	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9424$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9425if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9426  $as_echo_n "(cached) " >&6
9427else
9428  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429/* end confdefs.h.  */
9430int i;
9431_ACEOF
9432if ac_fn_c_try_compile "$LINENO"; then :
9433  xorg_cv_cc_flag_unknown_warning_option=yes
9434else
9435  xorg_cv_cc_flag_unknown_warning_option=no
9436fi
9437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9438fi
9439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9440$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9441	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9442	CFLAGS="$xorg_testset_save_CFLAGS"
9443fi
9444
9445if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9446	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9447		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9448	fi
9449	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9450	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9451$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9452if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9453  $as_echo_n "(cached) " >&6
9454else
9455  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456/* end confdefs.h.  */
9457int i;
9458_ACEOF
9459if ac_fn_c_try_compile "$LINENO"; then :
9460  xorg_cv_cc_flag_unused_command_line_argument=yes
9461else
9462  xorg_cv_cc_flag_unused_command_line_argument=no
9463fi
9464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9465fi
9466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9467$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9468	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9469	CFLAGS="$xorg_testset_save_CFLAGS"
9470fi
9471
9472found="no"
9473
9474	if test $found = "no" ; then
9475		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9476			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9477		fi
9478
9479		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9480			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9481		fi
9482
9483		CFLAGS="$CFLAGS -Warray-bounds"
9484
9485		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
9486$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
9487		cacheid=xorg_cv_cc_flag__Warray_bounds
9488		if eval \${$cacheid+:} false; then :
9489  $as_echo_n "(cached) " >&6
9490else
9491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492/* end confdefs.h.  */
9493int i;
9494int
9495main ()
9496{
9497
9498  ;
9499  return 0;
9500}
9501_ACEOF
9502if ac_fn_c_try_link "$LINENO"; then :
9503  eval $cacheid=yes
9504else
9505  eval $cacheid=no
9506fi
9507rm -f core conftest.err conftest.$ac_objext \
9508    conftest$ac_exeext conftest.$ac_ext
9509fi
9510
9511
9512		CFLAGS="$xorg_testset_save_CFLAGS"
9513
9514		eval supported=\$$cacheid
9515		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9516$as_echo "$supported" >&6; }
9517		if test "$supported" = "yes" ; then
9518			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
9519			found="yes"
9520		fi
9521	fi
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537xorg_testset_save_CFLAGS="$CFLAGS"
9538
9539if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9540	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9541	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9542$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9543if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9544  $as_echo_n "(cached) " >&6
9545else
9546  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547/* end confdefs.h.  */
9548int i;
9549_ACEOF
9550if ac_fn_c_try_compile "$LINENO"; then :
9551  xorg_cv_cc_flag_unknown_warning_option=yes
9552else
9553  xorg_cv_cc_flag_unknown_warning_option=no
9554fi
9555rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9556fi
9557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9558$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9559	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9560	CFLAGS="$xorg_testset_save_CFLAGS"
9561fi
9562
9563if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9564	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9565		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9566	fi
9567	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9568	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9569$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9570if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9571  $as_echo_n "(cached) " >&6
9572else
9573  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574/* end confdefs.h.  */
9575int i;
9576_ACEOF
9577if ac_fn_c_try_compile "$LINENO"; then :
9578  xorg_cv_cc_flag_unused_command_line_argument=yes
9579else
9580  xorg_cv_cc_flag_unused_command_line_argument=no
9581fi
9582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9583fi
9584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9585$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9586	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9587	CFLAGS="$xorg_testset_save_CFLAGS"
9588fi
9589
9590found="no"
9591
9592	if test $found = "no" ; then
9593		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9594			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9595		fi
9596
9597		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9598			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9599		fi
9600
9601		CFLAGS="$CFLAGS -Wwrite-strings"
9602
9603		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
9604$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
9605		cacheid=xorg_cv_cc_flag__Wwrite_strings
9606		if eval \${$cacheid+:} false; then :
9607  $as_echo_n "(cached) " >&6
9608else
9609  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610/* end confdefs.h.  */
9611int i;
9612int
9613main ()
9614{
9615
9616  ;
9617  return 0;
9618}
9619_ACEOF
9620if ac_fn_c_try_link "$LINENO"; then :
9621  eval $cacheid=yes
9622else
9623  eval $cacheid=no
9624fi
9625rm -f core conftest.err conftest.$ac_objext \
9626    conftest$ac_exeext conftest.$ac_ext
9627fi
9628
9629
9630		CFLAGS="$xorg_testset_save_CFLAGS"
9631
9632		eval supported=\$$cacheid
9633		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9634$as_echo "$supported" >&6; }
9635		if test "$supported" = "yes" ; then
9636			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
9637			found="yes"
9638		fi
9639	fi
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655xorg_testset_save_CFLAGS="$CFLAGS"
9656
9657if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9658	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9659	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9660$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9661if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9662  $as_echo_n "(cached) " >&6
9663else
9664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665/* end confdefs.h.  */
9666int i;
9667_ACEOF
9668if ac_fn_c_try_compile "$LINENO"; then :
9669  xorg_cv_cc_flag_unknown_warning_option=yes
9670else
9671  xorg_cv_cc_flag_unknown_warning_option=no
9672fi
9673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9674fi
9675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9676$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9677	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9678	CFLAGS="$xorg_testset_save_CFLAGS"
9679fi
9680
9681if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9682	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9683		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9684	fi
9685	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9686	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9687$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9688if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9689  $as_echo_n "(cached) " >&6
9690else
9691  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692/* end confdefs.h.  */
9693int i;
9694_ACEOF
9695if ac_fn_c_try_compile "$LINENO"; then :
9696  xorg_cv_cc_flag_unused_command_line_argument=yes
9697else
9698  xorg_cv_cc_flag_unused_command_line_argument=no
9699fi
9700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9701fi
9702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9703$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9704	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9705	CFLAGS="$xorg_testset_save_CFLAGS"
9706fi
9707
9708found="no"
9709
9710	if test $found = "no" ; then
9711		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9712			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9713		fi
9714
9715		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9716			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9717		fi
9718
9719		CFLAGS="$CFLAGS -Waddress"
9720
9721		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
9722$as_echo_n "checking if $CC supports -Waddress... " >&6; }
9723		cacheid=xorg_cv_cc_flag__Waddress
9724		if eval \${$cacheid+:} false; then :
9725  $as_echo_n "(cached) " >&6
9726else
9727  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728/* end confdefs.h.  */
9729int i;
9730int
9731main ()
9732{
9733
9734  ;
9735  return 0;
9736}
9737_ACEOF
9738if ac_fn_c_try_link "$LINENO"; then :
9739  eval $cacheid=yes
9740else
9741  eval $cacheid=no
9742fi
9743rm -f core conftest.err conftest.$ac_objext \
9744    conftest$ac_exeext conftest.$ac_ext
9745fi
9746
9747
9748		CFLAGS="$xorg_testset_save_CFLAGS"
9749
9750		eval supported=\$$cacheid
9751		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9752$as_echo "$supported" >&6; }
9753		if test "$supported" = "yes" ; then
9754			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
9755			found="yes"
9756		fi
9757	fi
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773xorg_testset_save_CFLAGS="$CFLAGS"
9774
9775if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9776	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9777	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9778$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9779if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9780  $as_echo_n "(cached) " >&6
9781else
9782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783/* end confdefs.h.  */
9784int i;
9785_ACEOF
9786if ac_fn_c_try_compile "$LINENO"; then :
9787  xorg_cv_cc_flag_unknown_warning_option=yes
9788else
9789  xorg_cv_cc_flag_unknown_warning_option=no
9790fi
9791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9792fi
9793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9794$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9795	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9796	CFLAGS="$xorg_testset_save_CFLAGS"
9797fi
9798
9799if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9800	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9801		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9802	fi
9803	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9804	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9805$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9806if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9807  $as_echo_n "(cached) " >&6
9808else
9809  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810/* end confdefs.h.  */
9811int i;
9812_ACEOF
9813if ac_fn_c_try_compile "$LINENO"; then :
9814  xorg_cv_cc_flag_unused_command_line_argument=yes
9815else
9816  xorg_cv_cc_flag_unused_command_line_argument=no
9817fi
9818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9819fi
9820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9821$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9822	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9823	CFLAGS="$xorg_testset_save_CFLAGS"
9824fi
9825
9826found="no"
9827
9828	if test $found = "no" ; then
9829		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9830			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9831		fi
9832
9833		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9834			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9835		fi
9836
9837		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9838
9839		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
9840$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
9841		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
9842		if eval \${$cacheid+:} false; then :
9843  $as_echo_n "(cached) " >&6
9844else
9845  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846/* end confdefs.h.  */
9847int i;
9848int
9849main ()
9850{
9851
9852  ;
9853  return 0;
9854}
9855_ACEOF
9856if ac_fn_c_try_link "$LINENO"; then :
9857  eval $cacheid=yes
9858else
9859  eval $cacheid=no
9860fi
9861rm -f core conftest.err conftest.$ac_objext \
9862    conftest$ac_exeext conftest.$ac_ext
9863fi
9864
9865
9866		CFLAGS="$xorg_testset_save_CFLAGS"
9867
9868		eval supported=\$$cacheid
9869		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9870$as_echo "$supported" >&6; }
9871		if test "$supported" = "yes" ; then
9872			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
9873			found="yes"
9874		fi
9875	fi
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891xorg_testset_save_CFLAGS="$CFLAGS"
9892
9893if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9894	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9895	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9896$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9897if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9898  $as_echo_n "(cached) " >&6
9899else
9900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901/* end confdefs.h.  */
9902int i;
9903_ACEOF
9904if ac_fn_c_try_compile "$LINENO"; then :
9905  xorg_cv_cc_flag_unknown_warning_option=yes
9906else
9907  xorg_cv_cc_flag_unknown_warning_option=no
9908fi
9909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9910fi
9911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9912$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9913	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9914	CFLAGS="$xorg_testset_save_CFLAGS"
9915fi
9916
9917if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9918	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9919		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9920	fi
9921	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9922	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9923$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9924if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9925  $as_echo_n "(cached) " >&6
9926else
9927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928/* end confdefs.h.  */
9929int i;
9930_ACEOF
9931if ac_fn_c_try_compile "$LINENO"; then :
9932  xorg_cv_cc_flag_unused_command_line_argument=yes
9933else
9934  xorg_cv_cc_flag_unused_command_line_argument=no
9935fi
9936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9937fi
9938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9939$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9940	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9941	CFLAGS="$xorg_testset_save_CFLAGS"
9942fi
9943
9944found="no"
9945
9946	if test $found = "no" ; then
9947		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9948			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9949		fi
9950
9951		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9952			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9953		fi
9954
9955		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9956
9957		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
9958$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
9959		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
9960		if eval \${$cacheid+:} false; then :
9961  $as_echo_n "(cached) " >&6
9962else
9963  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964/* end confdefs.h.  */
9965int i;
9966int
9967main ()
9968{
9969
9970  ;
9971  return 0;
9972}
9973_ACEOF
9974if ac_fn_c_try_link "$LINENO"; then :
9975  eval $cacheid=yes
9976else
9977  eval $cacheid=no
9978fi
9979rm -f core conftest.err conftest.$ac_objext \
9980    conftest$ac_exeext conftest.$ac_ext
9981fi
9982
9983
9984		CFLAGS="$xorg_testset_save_CFLAGS"
9985
9986		eval supported=\$$cacheid
9987		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9988$as_echo "$supported" >&6; }
9989		if test "$supported" = "yes" ; then
9990			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
9991			found="yes"
9992		fi
9993	fi
9994
9995
9996fi
9997
9998
9999
10000
10001
10002
10003
10004		CWARNFLAGS="$BASE_CFLAGS"
10005		if  test "x$GCC" = xyes ; then
10006		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
10007		fi
10008
10009
10010
10011
10012
10013
10014
10015
10016# Check whether --enable-strict-compilation was given.
10017if test "${enable_strict_compilation+set}" = set; then :
10018  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
10019else
10020  STRICT_COMPILE=no
10021fi
10022
10023
10024
10025
10026
10027
10028STRICT_CFLAGS=""
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042xorg_testset_save_CFLAGS="$CFLAGS"
10043
10044if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10045	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10046	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10047$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10048if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10049  $as_echo_n "(cached) " >&6
10050else
10051  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052/* end confdefs.h.  */
10053int i;
10054_ACEOF
10055if ac_fn_c_try_compile "$LINENO"; then :
10056  xorg_cv_cc_flag_unknown_warning_option=yes
10057else
10058  xorg_cv_cc_flag_unknown_warning_option=no
10059fi
10060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10061fi
10062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10063$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10064	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10065	CFLAGS="$xorg_testset_save_CFLAGS"
10066fi
10067
10068if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10069	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10070		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10071	fi
10072	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10073	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10074$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10075if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10076  $as_echo_n "(cached) " >&6
10077else
10078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079/* end confdefs.h.  */
10080int i;
10081_ACEOF
10082if ac_fn_c_try_compile "$LINENO"; then :
10083  xorg_cv_cc_flag_unused_command_line_argument=yes
10084else
10085  xorg_cv_cc_flag_unused_command_line_argument=no
10086fi
10087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10088fi
10089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10090$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10091	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10092	CFLAGS="$xorg_testset_save_CFLAGS"
10093fi
10094
10095found="no"
10096
10097	if test $found = "no" ; then
10098		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10099			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10100		fi
10101
10102		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10103			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10104		fi
10105
10106		CFLAGS="$CFLAGS -pedantic"
10107
10108		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10109$as_echo_n "checking if $CC supports -pedantic... " >&6; }
10110		cacheid=xorg_cv_cc_flag__pedantic
10111		if eval \${$cacheid+:} false; then :
10112  $as_echo_n "(cached) " >&6
10113else
10114  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115/* end confdefs.h.  */
10116int i;
10117int
10118main ()
10119{
10120
10121  ;
10122  return 0;
10123}
10124_ACEOF
10125if ac_fn_c_try_link "$LINENO"; then :
10126  eval $cacheid=yes
10127else
10128  eval $cacheid=no
10129fi
10130rm -f core conftest.err conftest.$ac_objext \
10131    conftest$ac_exeext conftest.$ac_ext
10132fi
10133
10134
10135		CFLAGS="$xorg_testset_save_CFLAGS"
10136
10137		eval supported=\$$cacheid
10138		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10139$as_echo "$supported" >&6; }
10140		if test "$supported" = "yes" ; then
10141			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
10142			found="yes"
10143		fi
10144	fi
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160xorg_testset_save_CFLAGS="$CFLAGS"
10161
10162if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10163	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10164	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10165$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10166if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10167  $as_echo_n "(cached) " >&6
10168else
10169  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170/* end confdefs.h.  */
10171int i;
10172_ACEOF
10173if ac_fn_c_try_compile "$LINENO"; then :
10174  xorg_cv_cc_flag_unknown_warning_option=yes
10175else
10176  xorg_cv_cc_flag_unknown_warning_option=no
10177fi
10178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10179fi
10180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10181$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10182	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10183	CFLAGS="$xorg_testset_save_CFLAGS"
10184fi
10185
10186if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10187	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10188		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10189	fi
10190	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10191	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10192$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10193if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10194  $as_echo_n "(cached) " >&6
10195else
10196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10197/* end confdefs.h.  */
10198int i;
10199_ACEOF
10200if ac_fn_c_try_compile "$LINENO"; then :
10201  xorg_cv_cc_flag_unused_command_line_argument=yes
10202else
10203  xorg_cv_cc_flag_unused_command_line_argument=no
10204fi
10205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10206fi
10207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10208$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10209	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10210	CFLAGS="$xorg_testset_save_CFLAGS"
10211fi
10212
10213found="no"
10214
10215	if test $found = "no" ; then
10216		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10217			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10218		fi
10219
10220		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10221			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10222		fi
10223
10224		CFLAGS="$CFLAGS -Werror"
10225
10226		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10227$as_echo_n "checking if $CC supports -Werror... " >&6; }
10228		cacheid=xorg_cv_cc_flag__Werror
10229		if eval \${$cacheid+:} false; then :
10230  $as_echo_n "(cached) " >&6
10231else
10232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233/* end confdefs.h.  */
10234int i;
10235int
10236main ()
10237{
10238
10239  ;
10240  return 0;
10241}
10242_ACEOF
10243if ac_fn_c_try_link "$LINENO"; then :
10244  eval $cacheid=yes
10245else
10246  eval $cacheid=no
10247fi
10248rm -f core conftest.err conftest.$ac_objext \
10249    conftest$ac_exeext conftest.$ac_ext
10250fi
10251
10252
10253		CFLAGS="$xorg_testset_save_CFLAGS"
10254
10255		eval supported=\$$cacheid
10256		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10257$as_echo "$supported" >&6; }
10258		if test "$supported" = "yes" ; then
10259			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
10260			found="yes"
10261		fi
10262	fi
10263
10264	if test $found = "no" ; then
10265		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10266			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10267		fi
10268
10269		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10270			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10271		fi
10272
10273		CFLAGS="$CFLAGS -errwarn"
10274
10275		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10276$as_echo_n "checking if $CC supports -errwarn... " >&6; }
10277		cacheid=xorg_cv_cc_flag__errwarn
10278		if eval \${$cacheid+:} false; then :
10279  $as_echo_n "(cached) " >&6
10280else
10281  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282/* end confdefs.h.  */
10283int i;
10284int
10285main ()
10286{
10287
10288  ;
10289  return 0;
10290}
10291_ACEOF
10292if ac_fn_c_try_link "$LINENO"; then :
10293  eval $cacheid=yes
10294else
10295  eval $cacheid=no
10296fi
10297rm -f core conftest.err conftest.$ac_objext \
10298    conftest$ac_exeext conftest.$ac_ext
10299fi
10300
10301
10302		CFLAGS="$xorg_testset_save_CFLAGS"
10303
10304		eval supported=\$$cacheid
10305		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10306$as_echo "$supported" >&6; }
10307		if test "$supported" = "yes" ; then
10308			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
10309			found="yes"
10310		fi
10311	fi
10312
10313
10314
10315# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
10316# activate it with -Werror, so we add it here explicitly.
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330xorg_testset_save_CFLAGS="$CFLAGS"
10331
10332if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10333	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10334	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10335$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10336if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10337  $as_echo_n "(cached) " >&6
10338else
10339  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340/* end confdefs.h.  */
10341int i;
10342_ACEOF
10343if ac_fn_c_try_compile "$LINENO"; then :
10344  xorg_cv_cc_flag_unknown_warning_option=yes
10345else
10346  xorg_cv_cc_flag_unknown_warning_option=no
10347fi
10348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10349fi
10350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10351$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10352	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10353	CFLAGS="$xorg_testset_save_CFLAGS"
10354fi
10355
10356if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10357	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10358		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10359	fi
10360	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10361	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10362$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10363if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10364  $as_echo_n "(cached) " >&6
10365else
10366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367/* end confdefs.h.  */
10368int i;
10369_ACEOF
10370if ac_fn_c_try_compile "$LINENO"; then :
10371  xorg_cv_cc_flag_unused_command_line_argument=yes
10372else
10373  xorg_cv_cc_flag_unused_command_line_argument=no
10374fi
10375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376fi
10377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10378$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10379	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10380	CFLAGS="$xorg_testset_save_CFLAGS"
10381fi
10382
10383found="no"
10384
10385	if test $found = "no" ; then
10386		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10387			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10388		fi
10389
10390		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10391			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10392		fi
10393
10394		CFLAGS="$CFLAGS -Werror=attributes"
10395
10396		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10397$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
10398		cacheid=xorg_cv_cc_flag__Werror_attributes
10399		if eval \${$cacheid+:} false; then :
10400  $as_echo_n "(cached) " >&6
10401else
10402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403/* end confdefs.h.  */
10404int i;
10405int
10406main ()
10407{
10408
10409  ;
10410  return 0;
10411}
10412_ACEOF
10413if ac_fn_c_try_link "$LINENO"; then :
10414  eval $cacheid=yes
10415else
10416  eval $cacheid=no
10417fi
10418rm -f core conftest.err conftest.$ac_objext \
10419    conftest$ac_exeext conftest.$ac_ext
10420fi
10421
10422
10423		CFLAGS="$xorg_testset_save_CFLAGS"
10424
10425		eval supported=\$$cacheid
10426		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10427$as_echo "$supported" >&6; }
10428		if test "$supported" = "yes" ; then
10429			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
10430			found="yes"
10431		fi
10432	fi
10433
10434
10435
10436if test "x$STRICT_COMPILE" = "xyes"; then
10437    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
10438    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
10439fi
10440
10441
10442
10443
10444
10445
10446cat >>confdefs.h <<_ACEOF
10447#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
10448_ACEOF
10449
10450	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
10451	if test "x$PVM" = "x"; then
10452		PVM="0"
10453	fi
10454
10455cat >>confdefs.h <<_ACEOF
10456#define PACKAGE_VERSION_MINOR $PVM
10457_ACEOF
10458
10459	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
10460	if test "x$PVP" = "x"; then
10461		PVP="0"
10462	fi
10463
10464cat >>confdefs.h <<_ACEOF
10465#define PACKAGE_VERSION_PATCHLEVEL $PVP
10466_ACEOF
10467
10468
10469
10470CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
10471mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
10472|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
10473echo 'git directory not found: installing possibly empty changelog.' >&2)"
10474
10475
10476
10477
10478macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
10479INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
10480mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
10481|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
10482echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
10483
10484
10485
10486
10487
10488
10489if test x$APP_MAN_SUFFIX = x    ; then
10490    APP_MAN_SUFFIX=1
10491fi
10492if test x$APP_MAN_DIR = x    ; then
10493    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
10494fi
10495
10496if test x$LIB_MAN_SUFFIX = x    ; then
10497    LIB_MAN_SUFFIX=3
10498fi
10499if test x$LIB_MAN_DIR = x    ; then
10500    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
10501fi
10502
10503if test x$FILE_MAN_SUFFIX = x    ; then
10504    case $host_os in
10505	# Solaris 2.0 - 11 use SysV man page sections
10506	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
10507	*)				FILE_MAN_SUFFIX=5  ;;
10508    esac
10509fi
10510if test x$FILE_MAN_DIR = x    ; then
10511    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
10512fi
10513
10514if test x$MISC_MAN_SUFFIX = x    ; then
10515    case $host_os in
10516	# Solaris 2.0 - 11 use SysV man page sections
10517	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
10518	*)				MISC_MAN_SUFFIX=7  ;;
10519    esac
10520fi
10521if test x$MISC_MAN_DIR = x    ; then
10522    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
10523fi
10524
10525if test x$DRIVER_MAN_SUFFIX = x    ; then
10526    case $host_os in
10527	# Solaris 2.0 - 11 use SysV man page sections
10528	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
10529	*)				DRIVER_MAN_SUFFIX=4  ;;
10530    esac
10531fi
10532if test x$DRIVER_MAN_DIR = x    ; then
10533    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
10534fi
10535
10536if test x$ADMIN_MAN_SUFFIX = x    ; then
10537    case $host_os in
10538	# Solaris 2.0 - 11 use SysV man page sections
10539	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
10540	*)				ADMIN_MAN_SUFFIX=8  ;;
10541    esac
10542fi
10543if test x$ADMIN_MAN_DIR = x    ; then
10544    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
10545fi
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561XORG_MAN_PAGE="X Version 11"
10562
10563MAN_SUBSTS="\
10564	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10565	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10566	-e 's|__xservername__|Xorg|g' \
10567	-e 's|__xconfigfile__|xorg.conf|g' \
10568	-e 's|__projectroot__|\$(prefix)|g' \
10569	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
10570	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
10571	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
10572	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
10573	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
10574	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
10575	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
10576
10577
10578
10579# Check whether --enable-silent-rules was given.
10580if test "${enable_silent_rules+set}" = set; then :
10581  enableval=$enable_silent_rules;
10582fi
10583
10584case $enable_silent_rules in # (((
10585  yes) AM_DEFAULT_VERBOSITY=0;;
10586   no) AM_DEFAULT_VERBOSITY=1;;
10587    *) AM_DEFAULT_VERBOSITY=0;;
10588esac
10589am_make=${MAKE-make}
10590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
10591$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
10592if ${am_cv_make_support_nested_variables+:} false; then :
10593  $as_echo_n "(cached) " >&6
10594else
10595  if $as_echo 'TRUE=$(BAR$(V))
10596BAR0=false
10597BAR1=true
10598V=1
10599am__doit:
10600	@$(TRUE)
10601.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
10602  am_cv_make_support_nested_variables=yes
10603else
10604  am_cv_make_support_nested_variables=no
10605fi
10606fi
10607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
10608$as_echo "$am_cv_make_support_nested_variables" >&6; }
10609if test $am_cv_make_support_nested_variables = yes; then
10610    AM_V='$(V)'
10611  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
10612else
10613  AM_V=$AM_DEFAULT_VERBOSITY
10614  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
10615fi
10616AM_BACKSLASH='\'
10617
10618
10619
10620# Checks for pkg-config packages
10621
10622pkg_failed=no
10623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICEAUTH" >&5
10624$as_echo_n "checking for ICEAUTH... " >&6; }
10625
10626if test -n "$ICEAUTH_CFLAGS"; then
10627    pkg_cv_ICEAUTH_CFLAGS="$ICEAUTH_CFLAGS"
10628 elif test -n "$PKG_CONFIG"; then
10629    if test -n "$PKG_CONFIG" && \
10630    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
10631  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
10632  ac_status=$?
10633  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10634  test $ac_status = 0; }; then
10635  pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 ice" 2>/dev/null`
10636		      test "x$?" != "x0" && pkg_failed=yes
10637else
10638  pkg_failed=yes
10639fi
10640 else
10641    pkg_failed=untried
10642fi
10643if test -n "$ICEAUTH_LIBS"; then
10644    pkg_cv_ICEAUTH_LIBS="$ICEAUTH_LIBS"
10645 elif test -n "$PKG_CONFIG"; then
10646    if test -n "$PKG_CONFIG" && \
10647    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
10648  ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
10649  ac_status=$?
10650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10651  test $ac_status = 0; }; then
10652  pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 ice" 2>/dev/null`
10653		      test "x$?" != "x0" && pkg_failed=yes
10654else
10655  pkg_failed=yes
10656fi
10657 else
10658    pkg_failed=untried
10659fi
10660
10661
10662
10663if test $pkg_failed = yes; then
10664   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665$as_echo "no" >&6; }
10666
10667if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10668        _pkg_short_errors_supported=yes
10669else
10670        _pkg_short_errors_supported=no
10671fi
10672        if test $_pkg_short_errors_supported = yes; then
10673	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
10674        else
10675	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.22 ice" 2>&1`
10676        fi
10677	# Put the nasty error message in config.log where it belongs
10678	echo "$ICEAUTH_PKG_ERRORS" >&5
10679
10680	as_fn_error $? "Package requirements (xproto >= 7.0.22 ice) were not met:
10681
10682$ICEAUTH_PKG_ERRORS
10683
10684Consider adjusting the PKG_CONFIG_PATH environment variable if you
10685installed software in a non-standard prefix.
10686
10687Alternatively, you may set the environment variables ICEAUTH_CFLAGS
10688and ICEAUTH_LIBS to avoid the need to call pkg-config.
10689See the pkg-config man page for more details." "$LINENO" 5
10690elif test $pkg_failed = untried; then
10691     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10692$as_echo "no" >&6; }
10693	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10695as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10696is in your PATH or set the PKG_CONFIG environment variable to the full
10697path to pkg-config.
10698
10699Alternatively, you may set the environment variables ICEAUTH_CFLAGS
10700and ICEAUTH_LIBS to avoid the need to call pkg-config.
10701See the pkg-config man page for more details.
10702
10703To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10704See \`config.log' for more details" "$LINENO" 5; }
10705else
10706	ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
10707	ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
10708        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10709$as_echo "yes" >&6; }
10710
10711fi
10712
10713
10714
10715
10716
10717
10718# Check whether --with-lint was given.
10719if test "${with_lint+set}" = set; then :
10720  withval=$with_lint; use_lint=$withval
10721else
10722  use_lint=no
10723fi
10724
10725
10726# Obtain platform specific info like program name and options
10727# The lint program on FreeBSD and NetBSD is different from the one on Solaris
10728case $host_os in
10729  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
10730	lint_name=splint
10731	lint_options="-badflag"
10732	;;
10733  *freebsd* | *netbsd*)
10734	lint_name=lint
10735	lint_options="-u -b"
10736	;;
10737  *solaris*)
10738	lint_name=lint
10739	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
10740	;;
10741esac
10742
10743# Test for the presence of the program (either guessed by the code or spelled out by the user)
10744if test "x$use_lint" = x"yes" ; then
10745   # Extract the first word of "$lint_name", so it can be a program name with args.
10746set dummy $lint_name; ac_word=$2
10747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10748$as_echo_n "checking for $ac_word... " >&6; }
10749if ${ac_cv_path_LINT+:} false; then :
10750  $as_echo_n "(cached) " >&6
10751else
10752  case $LINT in
10753  [\\/]* | ?:[\\/]*)
10754  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
10755  ;;
10756  *)
10757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10758for as_dir in $PATH
10759do
10760  IFS=$as_save_IFS
10761  test -z "$as_dir" && as_dir=.
10762    for ac_exec_ext in '' $ac_executable_extensions; do
10763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10764    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
10765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10766    break 2
10767  fi
10768done
10769  done
10770IFS=$as_save_IFS
10771
10772  ;;
10773esac
10774fi
10775LINT=$ac_cv_path_LINT
10776if test -n "$LINT"; then
10777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
10778$as_echo "$LINT" >&6; }
10779else
10780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10781$as_echo "no" >&6; }
10782fi
10783
10784
10785   if test "x$LINT" = "x"; then
10786        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
10787   fi
10788elif test "x$use_lint" = x"no" ; then
10789   if test "x$LINT" != "x"; then
10790      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
10791$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
10792   fi
10793else
10794   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
10795fi
10796
10797# User supplied flags override default flags
10798if test "x$LINT_FLAGS" != "x"; then
10799   lint_options=$LINT_FLAGS
10800fi
10801
10802LINT_FLAGS=$lint_options
10803
10804 if test "x$LINT" != x; then
10805  LINT_TRUE=
10806  LINT_FALSE='#'
10807else
10808  LINT_TRUE='#'
10809  LINT_FALSE=
10810fi
10811
10812
10813
10814
10815ac_config_files="$ac_config_files Makefile man/Makefile"
10816
10817cat >confcache <<\_ACEOF
10818# This file is a shell script that caches the results of configure
10819# tests run on this system so they can be shared between configure
10820# scripts and configure runs, see configure's option --config-cache.
10821# It is not useful on other systems.  If it contains results you don't
10822# want to keep, you may remove or edit it.
10823#
10824# config.status only pays attention to the cache file if you give it
10825# the --recheck option to rerun configure.
10826#
10827# `ac_cv_env_foo' variables (set or unset) will be overridden when
10828# loading this file, other *unset* `ac_cv_foo' will be assigned the
10829# following values.
10830
10831_ACEOF
10832
10833# The following way of writing the cache mishandles newlines in values,
10834# but we know of no workaround that is simple, portable, and efficient.
10835# So, we kill variables containing newlines.
10836# Ultrix sh set writes to stderr and can't be redirected directly,
10837# and sets the high bit in the cache file unless we assign to the vars.
10838(
10839  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10840    eval ac_val=\$$ac_var
10841    case $ac_val in #(
10842    *${as_nl}*)
10843      case $ac_var in #(
10844      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10845$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10846      esac
10847      case $ac_var in #(
10848      _ | IFS | as_nl) ;; #(
10849      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10850      *) { eval $ac_var=; unset $ac_var;} ;;
10851      esac ;;
10852    esac
10853  done
10854
10855  (set) 2>&1 |
10856    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10857    *${as_nl}ac_space=\ *)
10858      # `set' does not quote correctly, so add quotes: double-quote
10859      # substitution turns \\\\ into \\, and sed turns \\ into \.
10860      sed -n \
10861	"s/'/'\\\\''/g;
10862	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10863      ;; #(
10864    *)
10865      # `set' quotes correctly as required by POSIX, so do not add quotes.
10866      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10867      ;;
10868    esac |
10869    sort
10870) |
10871  sed '
10872     /^ac_cv_env_/b end
10873     t clear
10874     :clear
10875     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10876     t end
10877     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10878     :end' >>confcache
10879if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10880  if test -w "$cache_file"; then
10881    if test "x$cache_file" != "x/dev/null"; then
10882      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10883$as_echo "$as_me: updating cache $cache_file" >&6;}
10884      if test ! -f "$cache_file" || test -h "$cache_file"; then
10885	cat confcache >"$cache_file"
10886      else
10887        case $cache_file in #(
10888        */* | ?:*)
10889	  mv -f confcache "$cache_file"$$ &&
10890	  mv -f "$cache_file"$$ "$cache_file" ;; #(
10891        *)
10892	  mv -f confcache "$cache_file" ;;
10893	esac
10894      fi
10895    fi
10896  else
10897    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10898$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10899  fi
10900fi
10901rm -f confcache
10902
10903test "x$prefix" = xNONE && prefix=$ac_default_prefix
10904# Let make expand exec_prefix.
10905test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10906
10907DEFS=-DHAVE_CONFIG_H
10908
10909ac_libobjs=
10910ac_ltlibobjs=
10911U=
10912for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10913  # 1. Remove the extension, and $U if already installed.
10914  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10915  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10916  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10917  #    will be set to the directory where LIBOBJS objects are built.
10918  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10919  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
10920done
10921LIBOBJS=$ac_libobjs
10922
10923LTLIBOBJS=$ac_ltlibobjs
10924
10925
10926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
10927$as_echo_n "checking that generated files are newer than configure... " >&6; }
10928   if test -n "$am_sleep_pid"; then
10929     # Hide warnings about reused PIDs.
10930     wait $am_sleep_pid 2>/dev/null
10931   fi
10932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
10933$as_echo "done" >&6; }
10934 if test -n "$EXEEXT"; then
10935  am__EXEEXT_TRUE=
10936  am__EXEEXT_FALSE='#'
10937else
10938  am__EXEEXT_TRUE='#'
10939  am__EXEEXT_FALSE=
10940fi
10941
10942if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10943  as_fn_error $? "conditional \"AMDEP\" was never defined.
10944Usually this means the macro was only invoked conditionally." "$LINENO" 5
10945fi
10946if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10947  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
10948Usually this means the macro was only invoked conditionally." "$LINENO" 5
10949fi
10950if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
10951  as_fn_error $? "conditional \"LINT\" was never defined.
10952Usually this means the macro was only invoked conditionally." "$LINENO" 5
10953fi
10954
10955: "${CONFIG_STATUS=./config.status}"
10956ac_write_fail=0
10957ac_clean_files_save=$ac_clean_files
10958ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10959{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10960$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10961as_write_fail=0
10962cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10963#! $SHELL
10964# Generated by $as_me.
10965# Run this file to recreate the current configuration.
10966# Compiler output produced by configure, useful for debugging
10967# configure, is in config.log if it exists.
10968
10969debug=false
10970ac_cs_recheck=false
10971ac_cs_silent=false
10972
10973SHELL=\${CONFIG_SHELL-$SHELL}
10974export SHELL
10975_ASEOF
10976cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
10977## -------------------- ##
10978## M4sh Initialization. ##
10979## -------------------- ##
10980
10981# Be more Bourne compatible
10982DUALCASE=1; export DUALCASE # for MKS sh
10983if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10984  emulate sh
10985  NULLCMD=:
10986  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10987  # is contrary to our usage.  Disable this feature.
10988  alias -g '${1+"$@"}'='"$@"'
10989  setopt NO_GLOB_SUBST
10990else
10991  case `(set -o) 2>/dev/null` in #(
10992  *posix*) :
10993    set -o posix ;; #(
10994  *) :
10995     ;;
10996esac
10997fi
10998
10999
11000as_nl='
11001'
11002export as_nl
11003# Printing a long string crashes Solaris 7 /usr/bin/printf.
11004as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11005as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11006as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11007# Prefer a ksh shell builtin over an external printf program on Solaris,
11008# but without wasting forks for bash or zsh.
11009if test -z "$BASH_VERSION$ZSH_VERSION" \
11010    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11011  as_echo='print -r --'
11012  as_echo_n='print -rn --'
11013elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11014  as_echo='printf %s\n'
11015  as_echo_n='printf %s'
11016else
11017  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11018    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11019    as_echo_n='/usr/ucb/echo -n'
11020  else
11021    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11022    as_echo_n_body='eval
11023      arg=$1;
11024      case $arg in #(
11025      *"$as_nl"*)
11026	expr "X$arg" : "X\\(.*\\)$as_nl";
11027	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11028      esac;
11029      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11030    '
11031    export as_echo_n_body
11032    as_echo_n='sh -c $as_echo_n_body as_echo'
11033  fi
11034  export as_echo_body
11035  as_echo='sh -c $as_echo_body as_echo'
11036fi
11037
11038# The user is always right.
11039if test "${PATH_SEPARATOR+set}" != set; then
11040  PATH_SEPARATOR=:
11041  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11042    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11043      PATH_SEPARATOR=';'
11044  }
11045fi
11046
11047
11048# IFS
11049# We need space, tab and new line, in precisely that order.  Quoting is
11050# there to prevent editors from complaining about space-tab.
11051# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11052# splitting by setting IFS to empty value.)
11053IFS=" ""	$as_nl"
11054
11055# Find who we are.  Look in the path if we contain no directory separator.
11056as_myself=
11057case $0 in #((
11058  *[\\/]* ) as_myself=$0 ;;
11059  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11060for as_dir in $PATH
11061do
11062  IFS=$as_save_IFS
11063  test -z "$as_dir" && as_dir=.
11064    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11065  done
11066IFS=$as_save_IFS
11067
11068     ;;
11069esac
11070# We did not find ourselves, most probably we were run as `sh COMMAND'
11071# in which case we are not to be found in the path.
11072if test "x$as_myself" = x; then
11073  as_myself=$0
11074fi
11075if test ! -f "$as_myself"; then
11076  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11077  exit 1
11078fi
11079
11080# Unset variables that we do not need and which cause bugs (e.g. in
11081# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11082# suppresses any "Segmentation fault" message there.  '((' could
11083# trigger a bug in pdksh 5.2.14.
11084for as_var in BASH_ENV ENV MAIL MAILPATH
11085do eval test x\${$as_var+set} = xset \
11086  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11087done
11088PS1='$ '
11089PS2='> '
11090PS4='+ '
11091
11092# NLS nuisances.
11093LC_ALL=C
11094export LC_ALL
11095LANGUAGE=C
11096export LANGUAGE
11097
11098# CDPATH.
11099(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11100
11101
11102# as_fn_error STATUS ERROR [LINENO LOG_FD]
11103# ----------------------------------------
11104# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11105# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11106# script with STATUS, using 1 if that was 0.
11107as_fn_error ()
11108{
11109  as_status=$1; test $as_status -eq 0 && as_status=1
11110  if test "$4"; then
11111    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11112    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11113  fi
11114  $as_echo "$as_me: error: $2" >&2
11115  as_fn_exit $as_status
11116} # as_fn_error
11117
11118
11119# as_fn_set_status STATUS
11120# -----------------------
11121# Set $? to STATUS, without forking.
11122as_fn_set_status ()
11123{
11124  return $1
11125} # as_fn_set_status
11126
11127# as_fn_exit STATUS
11128# -----------------
11129# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11130as_fn_exit ()
11131{
11132  set +e
11133  as_fn_set_status $1
11134  exit $1
11135} # as_fn_exit
11136
11137# as_fn_unset VAR
11138# ---------------
11139# Portably unset VAR.
11140as_fn_unset ()
11141{
11142  { eval $1=; unset $1;}
11143}
11144as_unset=as_fn_unset
11145# as_fn_append VAR VALUE
11146# ----------------------
11147# Append the text in VALUE to the end of the definition contained in VAR. Take
11148# advantage of any shell optimizations that allow amortized linear growth over
11149# repeated appends, instead of the typical quadratic growth present in naive
11150# implementations.
11151if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11152  eval 'as_fn_append ()
11153  {
11154    eval $1+=\$2
11155  }'
11156else
11157  as_fn_append ()
11158  {
11159    eval $1=\$$1\$2
11160  }
11161fi # as_fn_append
11162
11163# as_fn_arith ARG...
11164# ------------------
11165# Perform arithmetic evaluation on the ARGs, and store the result in the
11166# global $as_val. Take advantage of shells that can avoid forks. The arguments
11167# must be portable across $(()) and expr.
11168if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11169  eval 'as_fn_arith ()
11170  {
11171    as_val=$(( $* ))
11172  }'
11173else
11174  as_fn_arith ()
11175  {
11176    as_val=`expr "$@" || test $? -eq 1`
11177  }
11178fi # as_fn_arith
11179
11180
11181if expr a : '\(a\)' >/dev/null 2>&1 &&
11182   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11183  as_expr=expr
11184else
11185  as_expr=false
11186fi
11187
11188if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11189  as_basename=basename
11190else
11191  as_basename=false
11192fi
11193
11194if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11195  as_dirname=dirname
11196else
11197  as_dirname=false
11198fi
11199
11200as_me=`$as_basename -- "$0" ||
11201$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11202	 X"$0" : 'X\(//\)$' \| \
11203	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11204$as_echo X/"$0" |
11205    sed '/^.*\/\([^/][^/]*\)\/*$/{
11206	    s//\1/
11207	    q
11208	  }
11209	  /^X\/\(\/\/\)$/{
11210	    s//\1/
11211	    q
11212	  }
11213	  /^X\/\(\/\).*/{
11214	    s//\1/
11215	    q
11216	  }
11217	  s/.*/./; q'`
11218
11219# Avoid depending upon Character Ranges.
11220as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11221as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11222as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11223as_cr_digits='0123456789'
11224as_cr_alnum=$as_cr_Letters$as_cr_digits
11225
11226ECHO_C= ECHO_N= ECHO_T=
11227case `echo -n x` in #(((((
11228-n*)
11229  case `echo 'xy\c'` in
11230  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11231  xy)  ECHO_C='\c';;
11232  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11233       ECHO_T='	';;
11234  esac;;
11235*)
11236  ECHO_N='-n';;
11237esac
11238
11239rm -f conf$$ conf$$.exe conf$$.file
11240if test -d conf$$.dir; then
11241  rm -f conf$$.dir/conf$$.file
11242else
11243  rm -f conf$$.dir
11244  mkdir conf$$.dir 2>/dev/null
11245fi
11246if (echo >conf$$.file) 2>/dev/null; then
11247  if ln -s conf$$.file conf$$ 2>/dev/null; then
11248    as_ln_s='ln -s'
11249    # ... but there are two gotchas:
11250    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11251    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11252    # In both cases, we have to default to `cp -pR'.
11253    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11254      as_ln_s='cp -pR'
11255  elif ln conf$$.file conf$$ 2>/dev/null; then
11256    as_ln_s=ln
11257  else
11258    as_ln_s='cp -pR'
11259  fi
11260else
11261  as_ln_s='cp -pR'
11262fi
11263rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11264rmdir conf$$.dir 2>/dev/null
11265
11266
11267# as_fn_mkdir_p
11268# -------------
11269# Create "$as_dir" as a directory, including parents if necessary.
11270as_fn_mkdir_p ()
11271{
11272
11273  case $as_dir in #(
11274  -*) as_dir=./$as_dir;;
11275  esac
11276  test -d "$as_dir" || eval $as_mkdir_p || {
11277    as_dirs=
11278    while :; do
11279      case $as_dir in #(
11280      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11281      *) as_qdir=$as_dir;;
11282      esac
11283      as_dirs="'$as_qdir' $as_dirs"
11284      as_dir=`$as_dirname -- "$as_dir" ||
11285$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11286	 X"$as_dir" : 'X\(//\)[^/]' \| \
11287	 X"$as_dir" : 'X\(//\)$' \| \
11288	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11289$as_echo X"$as_dir" |
11290    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11291	    s//\1/
11292	    q
11293	  }
11294	  /^X\(\/\/\)[^/].*/{
11295	    s//\1/
11296	    q
11297	  }
11298	  /^X\(\/\/\)$/{
11299	    s//\1/
11300	    q
11301	  }
11302	  /^X\(\/\).*/{
11303	    s//\1/
11304	    q
11305	  }
11306	  s/.*/./; q'`
11307      test -d "$as_dir" && break
11308    done
11309    test -z "$as_dirs" || eval "mkdir $as_dirs"
11310  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11311
11312
11313} # as_fn_mkdir_p
11314if mkdir -p . 2>/dev/null; then
11315  as_mkdir_p='mkdir -p "$as_dir"'
11316else
11317  test -d ./-p && rmdir ./-p
11318  as_mkdir_p=false
11319fi
11320
11321
11322# as_fn_executable_p FILE
11323# -----------------------
11324# Test if FILE is an executable regular file.
11325as_fn_executable_p ()
11326{
11327  test -f "$1" && test -x "$1"
11328} # as_fn_executable_p
11329as_test_x='test -x'
11330as_executable_p=as_fn_executable_p
11331
11332# Sed expression to map a string onto a valid CPP name.
11333as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11334
11335# Sed expression to map a string onto a valid variable name.
11336as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11337
11338
11339exec 6>&1
11340## ----------------------------------- ##
11341## Main body of $CONFIG_STATUS script. ##
11342## ----------------------------------- ##
11343_ASEOF
11344test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11345
11346cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11347# Save the log message, to keep $0 and so on meaningful, and to
11348# report actual input values of CONFIG_FILES etc. instead of their
11349# values after options handling.
11350ac_log="
11351This file was extended by iceauth $as_me 1.0.8, which was
11352generated by GNU Autoconf 2.69.  Invocation command line was
11353
11354  CONFIG_FILES    = $CONFIG_FILES
11355  CONFIG_HEADERS  = $CONFIG_HEADERS
11356  CONFIG_LINKS    = $CONFIG_LINKS
11357  CONFIG_COMMANDS = $CONFIG_COMMANDS
11358  $ $0 $@
11359
11360on `(hostname || uname -n) 2>/dev/null | sed 1q`
11361"
11362
11363_ACEOF
11364
11365case $ac_config_files in *"
11366"*) set x $ac_config_files; shift; ac_config_files=$*;;
11367esac
11368
11369case $ac_config_headers in *"
11370"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11371esac
11372
11373
11374cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11375# Files that config.status was made for.
11376config_files="$ac_config_files"
11377config_headers="$ac_config_headers"
11378config_commands="$ac_config_commands"
11379
11380_ACEOF
11381
11382cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11383ac_cs_usage="\
11384\`$as_me' instantiates files and other configuration actions
11385from templates according to the current configuration.  Unless the files
11386and actions are specified as TAGs, all are instantiated by default.
11387
11388Usage: $0 [OPTION]... [TAG]...
11389
11390  -h, --help       print this help, then exit
11391  -V, --version    print version number and configuration settings, then exit
11392      --config     print configuration, then exit
11393  -q, --quiet, --silent
11394                   do not print progress messages
11395  -d, --debug      don't remove temporary files
11396      --recheck    update $as_me by reconfiguring in the same conditions
11397      --file=FILE[:TEMPLATE]
11398                   instantiate the configuration file FILE
11399      --header=FILE[:TEMPLATE]
11400                   instantiate the configuration header FILE
11401
11402Configuration files:
11403$config_files
11404
11405Configuration headers:
11406$config_headers
11407
11408Configuration commands:
11409$config_commands
11410
11411Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
11412
11413_ACEOF
11414cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11415ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11416ac_cs_version="\\
11417iceauth config.status 1.0.8
11418configured by $0, generated by GNU Autoconf 2.69,
11419  with options \\"\$ac_cs_config\\"
11420
11421Copyright (C) 2012 Free Software Foundation, Inc.
11422This config.status script is free software; the Free Software Foundation
11423gives unlimited permission to copy, distribute and modify it."
11424
11425ac_pwd='$ac_pwd'
11426srcdir='$srcdir'
11427INSTALL='$INSTALL'
11428MKDIR_P='$MKDIR_P'
11429AWK='$AWK'
11430test -n "\$AWK" || AWK=awk
11431_ACEOF
11432
11433cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11434# The default lists apply if the user does not specify any file.
11435ac_need_defaults=:
11436while test $# != 0
11437do
11438  case $1 in
11439  --*=?*)
11440    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11441    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11442    ac_shift=:
11443    ;;
11444  --*=)
11445    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11446    ac_optarg=
11447    ac_shift=:
11448    ;;
11449  *)
11450    ac_option=$1
11451    ac_optarg=$2
11452    ac_shift=shift
11453    ;;
11454  esac
11455
11456  case $ac_option in
11457  # Handling of the options.
11458  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11459    ac_cs_recheck=: ;;
11460  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11461    $as_echo "$ac_cs_version"; exit ;;
11462  --config | --confi | --conf | --con | --co | --c )
11463    $as_echo "$ac_cs_config"; exit ;;
11464  --debug | --debu | --deb | --de | --d | -d )
11465    debug=: ;;
11466  --file | --fil | --fi | --f )
11467    $ac_shift
11468    case $ac_optarg in
11469    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11470    '') as_fn_error $? "missing file argument" ;;
11471    esac
11472    as_fn_append CONFIG_FILES " '$ac_optarg'"
11473    ac_need_defaults=false;;
11474  --header | --heade | --head | --hea )
11475    $ac_shift
11476    case $ac_optarg in
11477    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11478    esac
11479    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11480    ac_need_defaults=false;;
11481  --he | --h)
11482    # Conflict between --help and --header
11483    as_fn_error $? "ambiguous option: \`$1'
11484Try \`$0 --help' for more information.";;
11485  --help | --hel | -h )
11486    $as_echo "$ac_cs_usage"; exit ;;
11487  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11488  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11489    ac_cs_silent=: ;;
11490
11491  # This is an error.
11492  -*) as_fn_error $? "unrecognized option: \`$1'
11493Try \`$0 --help' for more information." ;;
11494
11495  *) as_fn_append ac_config_targets " $1"
11496     ac_need_defaults=false ;;
11497
11498  esac
11499  shift
11500done
11501
11502ac_configure_extra_args=
11503
11504if $ac_cs_silent; then
11505  exec 6>/dev/null
11506  ac_configure_extra_args="$ac_configure_extra_args --silent"
11507fi
11508
11509_ACEOF
11510cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11511if \$ac_cs_recheck; then
11512  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11513  shift
11514  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11515  CONFIG_SHELL='$SHELL'
11516  export CONFIG_SHELL
11517  exec "\$@"
11518fi
11519
11520_ACEOF
11521cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11522exec 5>>config.log
11523{
11524  echo
11525  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11526## Running $as_me. ##
11527_ASBOX
11528  $as_echo "$ac_log"
11529} >&5
11530
11531_ACEOF
11532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11533#
11534# INIT-COMMANDS
11535#
11536AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11537
11538_ACEOF
11539
11540cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11541
11542# Handling of arguments.
11543for ac_config_target in $ac_config_targets
11544do
11545  case $ac_config_target in
11546    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11547    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11548    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11549    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
11550
11551  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11552  esac
11553done
11554
11555
11556# If the user did not use the arguments to specify the items to instantiate,
11557# then the envvar interface is used.  Set only those that are not.
11558# We use the long form for the default assignment because of an extremely
11559# bizarre bug on SunOS 4.1.3.
11560if $ac_need_defaults; then
11561  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11562  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11563  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11564fi
11565
11566# Have a temporary directory for convenience.  Make it in the build tree
11567# simply because there is no reason against having it here, and in addition,
11568# creating and moving files from /tmp can sometimes cause problems.
11569# Hook for its removal unless debugging.
11570# Note that there is a small window in which the directory will not be cleaned:
11571# after its creation but before its name has been assigned to `$tmp'.
11572$debug ||
11573{
11574  tmp= ac_tmp=
11575  trap 'exit_status=$?
11576  : "${ac_tmp:=$tmp}"
11577  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11578' 0
11579  trap 'as_fn_exit 1' 1 2 13 15
11580}
11581# Create a (secure) tmp directory for tmp files.
11582
11583{
11584  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11585  test -d "$tmp"
11586}  ||
11587{
11588  tmp=./conf$$-$RANDOM
11589  (umask 077 && mkdir "$tmp")
11590} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11591ac_tmp=$tmp
11592
11593# Set up the scripts for CONFIG_FILES section.
11594# No need to generate them if there are no CONFIG_FILES.
11595# This happens for instance with `./config.status config.h'.
11596if test -n "$CONFIG_FILES"; then
11597
11598
11599ac_cr=`echo X | tr X '\015'`
11600# On cygwin, bash can eat \r inside `` if the user requested igncr.
11601# But we know of no other shell where ac_cr would be empty at this
11602# point, so we can use a bashism as a fallback.
11603if test "x$ac_cr" = x; then
11604  eval ac_cr=\$\'\\r\'
11605fi
11606ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11607if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11608  ac_cs_awk_cr='\\r'
11609else
11610  ac_cs_awk_cr=$ac_cr
11611fi
11612
11613echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11614_ACEOF
11615
11616
11617{
11618  echo "cat >conf$$subs.awk <<_ACEOF" &&
11619  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11620  echo "_ACEOF"
11621} >conf$$subs.sh ||
11622  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11623ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11624ac_delim='%!_!# '
11625for ac_last_try in false false false false false :; do
11626  . ./conf$$subs.sh ||
11627    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11628
11629  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11630  if test $ac_delim_n = $ac_delim_num; then
11631    break
11632  elif $ac_last_try; then
11633    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11634  else
11635    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11636  fi
11637done
11638rm -f conf$$subs.sh
11639
11640cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11641cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
11642_ACEOF
11643sed -n '
11644h
11645s/^/S["/; s/!.*/"]=/
11646p
11647g
11648s/^[^!]*!//
11649:repl
11650t repl
11651s/'"$ac_delim"'$//
11652t delim
11653:nl
11654h
11655s/\(.\{148\}\)..*/\1/
11656t more1
11657s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11658p
11659n
11660b repl
11661:more1
11662s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11663p
11664g
11665s/.\{148\}//
11666t nl
11667:delim
11668h
11669s/\(.\{148\}\)..*/\1/
11670t more2
11671s/["\\]/\\&/g; s/^/"/; s/$/"/
11672p
11673b
11674:more2
11675s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11676p
11677g
11678s/.\{148\}//
11679t delim
11680' <conf$$subs.awk | sed '
11681/^[^""]/{
11682  N
11683  s/\n//
11684}
11685' >>$CONFIG_STATUS || ac_write_fail=1
11686rm -f conf$$subs.awk
11687cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11688_ACAWK
11689cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
11690  for (key in S) S_is_set[key] = 1
11691  FS = ""
11692
11693}
11694{
11695  line = $ 0
11696  nfields = split(line, field, "@")
11697  substed = 0
11698  len = length(field[1])
11699  for (i = 2; i < nfields; i++) {
11700    key = field[i]
11701    keylen = length(key)
11702    if (S_is_set[key]) {
11703      value = S[key]
11704      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11705      len += length(value) + length(field[++i])
11706      substed = 1
11707    } else
11708      len += 1 + keylen
11709  }
11710
11711  print line
11712}
11713
11714_ACAWK
11715_ACEOF
11716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11717if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11718  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11719else
11720  cat
11721fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
11722  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
11723_ACEOF
11724
11725# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11726# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11727# trailing colons and then remove the whole line if VPATH becomes empty
11728# (actually we leave an empty line to preserve line numbers).
11729if test "x$srcdir" = x.; then
11730  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
11731h
11732s///
11733s/^/:/
11734s/[	 ]*$/:/
11735s/:\$(srcdir):/:/g
11736s/:\${srcdir}:/:/g
11737s/:@srcdir@:/:/g
11738s/^:*//
11739s/:*$//
11740x
11741s/\(=[	 ]*\).*/\1/
11742G
11743s/\n//
11744s/^[^=]*=[	 ]*$//
11745}'
11746fi
11747
11748cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11749fi # test -n "$CONFIG_FILES"
11750
11751# Set up the scripts for CONFIG_HEADERS section.
11752# No need to generate them if there are no CONFIG_HEADERS.
11753# This happens for instance with `./config.status Makefile'.
11754if test -n "$CONFIG_HEADERS"; then
11755cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
11756BEGIN {
11757_ACEOF
11758
11759# Transform confdefs.h into an awk script `defines.awk', embedded as
11760# here-document in config.status, that substitutes the proper values into
11761# config.h.in to produce config.h.
11762
11763# Create a delimiter string that does not exist in confdefs.h, to ease
11764# handling of long lines.
11765ac_delim='%!_!# '
11766for ac_last_try in false false :; do
11767  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
11768  if test -z "$ac_tt"; then
11769    break
11770  elif $ac_last_try; then
11771    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
11772  else
11773    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11774  fi
11775done
11776
11777# For the awk script, D is an array of macro values keyed by name,
11778# likewise P contains macro parameters if any.  Preserve backslash
11779# newline sequences.
11780
11781ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11782sed -n '
11783s/.\{148\}/&'"$ac_delim"'/g
11784t rset
11785:rset
11786s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
11787t def
11788d
11789:def
11790s/\\$//
11791t bsnl
11792s/["\\]/\\&/g
11793s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11794D["\1"]=" \3"/p
11795s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
11796d
11797:bsnl
11798s/["\\]/\\&/g
11799s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11800D["\1"]=" \3\\\\\\n"\\/p
11801t cont
11802s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11803t cont
11804d
11805:cont
11806n
11807s/.\{148\}/&'"$ac_delim"'/g
11808t clear
11809:clear
11810s/\\$//
11811t bsnlc
11812s/["\\]/\\&/g; s/^/"/; s/$/"/p
11813d
11814:bsnlc
11815s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11816b cont
11817' <confdefs.h | sed '
11818s/'"$ac_delim"'/"\\\
11819"/g' >>$CONFIG_STATUS || ac_write_fail=1
11820
11821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11822  for (key in D) D_is_set[key] = 1
11823  FS = ""
11824}
11825/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11826  line = \$ 0
11827  split(line, arg, " ")
11828  if (arg[1] == "#") {
11829    defundef = arg[2]
11830    mac1 = arg[3]
11831  } else {
11832    defundef = substr(arg[1], 2)
11833    mac1 = arg[2]
11834  }
11835  split(mac1, mac2, "(") #)
11836  macro = mac2[1]
11837  prefix = substr(line, 1, index(line, defundef) - 1)
11838  if (D_is_set[macro]) {
11839    # Preserve the white space surrounding the "#".
11840    print prefix "define", macro P[macro] D[macro]
11841    next
11842  } else {
11843    # Replace #undef with comments.  This is necessary, for example,
11844    # in the case of _POSIX_SOURCE, which is predefined and required
11845    # on some systems where configure will not decide to define it.
11846    if (defundef == "undef") {
11847      print "/*", prefix defundef, macro, "*/"
11848      next
11849    }
11850  }
11851}
11852{ print }
11853_ACAWK
11854_ACEOF
11855cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11856  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
11857fi # test -n "$CONFIG_HEADERS"
11858
11859
11860eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
11861shift
11862for ac_tag
11863do
11864  case $ac_tag in
11865  :[FHLC]) ac_mode=$ac_tag; continue;;
11866  esac
11867  case $ac_mode$ac_tag in
11868  :[FHL]*:*);;
11869  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
11870  :[FH]-) ac_tag=-:-;;
11871  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11872  esac
11873  ac_save_IFS=$IFS
11874  IFS=:
11875  set x $ac_tag
11876  IFS=$ac_save_IFS
11877  shift
11878  ac_file=$1
11879  shift
11880
11881  case $ac_mode in
11882  :L) ac_source=$1;;
11883  :[FH])
11884    ac_file_inputs=
11885    for ac_f
11886    do
11887      case $ac_f in
11888      -) ac_f="$ac_tmp/stdin";;
11889      *) # Look for the file first in the build tree, then in the source tree
11890	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11891	 # because $ac_f cannot contain `:'.
11892	 test -f "$ac_f" ||
11893	   case $ac_f in
11894	   [\\/$]*) false;;
11895	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11896	   esac ||
11897	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11898      esac
11899      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11900      as_fn_append ac_file_inputs " '$ac_f'"
11901    done
11902
11903    # Let's still pretend it is `configure' which instantiates (i.e., don't
11904    # use $as_me), people would be surprised to read:
11905    #    /* config.h.  Generated by config.status.  */
11906    configure_input='Generated from '`
11907	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11908	`' by configure.'
11909    if test x"$ac_file" != x-; then
11910      configure_input="$ac_file.  $configure_input"
11911      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11912$as_echo "$as_me: creating $ac_file" >&6;}
11913    fi
11914    # Neutralize special characters interpreted by sed in replacement strings.
11915    case $configure_input in #(
11916    *\&* | *\|* | *\\* )
11917       ac_sed_conf_input=`$as_echo "$configure_input" |
11918       sed 's/[\\\\&|]/\\\\&/g'`;; #(
11919    *) ac_sed_conf_input=$configure_input;;
11920    esac
11921
11922    case $ac_tag in
11923    *:-:* | *:-) cat >"$ac_tmp/stdin" \
11924      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
11925    esac
11926    ;;
11927  esac
11928
11929  ac_dir=`$as_dirname -- "$ac_file" ||
11930$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11931	 X"$ac_file" : 'X\(//\)[^/]' \| \
11932	 X"$ac_file" : 'X\(//\)$' \| \
11933	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11934$as_echo X"$ac_file" |
11935    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11936	    s//\1/
11937	    q
11938	  }
11939	  /^X\(\/\/\)[^/].*/{
11940	    s//\1/
11941	    q
11942	  }
11943	  /^X\(\/\/\)$/{
11944	    s//\1/
11945	    q
11946	  }
11947	  /^X\(\/\).*/{
11948	    s//\1/
11949	    q
11950	  }
11951	  s/.*/./; q'`
11952  as_dir="$ac_dir"; as_fn_mkdir_p
11953  ac_builddir=.
11954
11955case "$ac_dir" in
11956.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11957*)
11958  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11959  # A ".." for each directory in $ac_dir_suffix.
11960  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11961  case $ac_top_builddir_sub in
11962  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11963  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11964  esac ;;
11965esac
11966ac_abs_top_builddir=$ac_pwd
11967ac_abs_builddir=$ac_pwd$ac_dir_suffix
11968# for backward compatibility:
11969ac_top_builddir=$ac_top_build_prefix
11970
11971case $srcdir in
11972  .)  # We are building in place.
11973    ac_srcdir=.
11974    ac_top_srcdir=$ac_top_builddir_sub
11975    ac_abs_top_srcdir=$ac_pwd ;;
11976  [\\/]* | ?:[\\/]* )  # Absolute name.
11977    ac_srcdir=$srcdir$ac_dir_suffix;
11978    ac_top_srcdir=$srcdir
11979    ac_abs_top_srcdir=$srcdir ;;
11980  *) # Relative name.
11981    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11982    ac_top_srcdir=$ac_top_build_prefix$srcdir
11983    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11984esac
11985ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11986
11987
11988  case $ac_mode in
11989  :F)
11990  #
11991  # CONFIG_FILE
11992  #
11993
11994  case $INSTALL in
11995  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11996  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11997  esac
11998  ac_MKDIR_P=$MKDIR_P
11999  case $MKDIR_P in
12000  [\\/$]* | ?:[\\/]* ) ;;
12001  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12002  esac
12003_ACEOF
12004
12005cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12006# If the template does not know about datarootdir, expand it.
12007# FIXME: This hack should be removed a few years after 2.60.
12008ac_datarootdir_hack=; ac_datarootdir_seen=
12009ac_sed_dataroot='
12010/datarootdir/ {
12011  p
12012  q
12013}
12014/@datadir@/p
12015/@docdir@/p
12016/@infodir@/p
12017/@localedir@/p
12018/@mandir@/p'
12019case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12020*datarootdir*) ac_datarootdir_seen=yes;;
12021*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12022  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12023$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12024_ACEOF
12025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12026  ac_datarootdir_hack='
12027  s&@datadir@&$datadir&g
12028  s&@docdir@&$docdir&g
12029  s&@infodir@&$infodir&g
12030  s&@localedir@&$localedir&g
12031  s&@mandir@&$mandir&g
12032  s&\\\${datarootdir}&$datarootdir&g' ;;
12033esac
12034_ACEOF
12035
12036# Neutralize VPATH when `$srcdir' = `.'.
12037# Shell code in configure.ac might set extrasub.
12038# FIXME: do we really want to maintain this feature?
12039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12040ac_sed_extra="$ac_vpsub
12041$extrasub
12042_ACEOF
12043cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12044:t
12045/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12046s|@configure_input@|$ac_sed_conf_input|;t t
12047s&@top_builddir@&$ac_top_builddir_sub&;t t
12048s&@top_build_prefix@&$ac_top_build_prefix&;t t
12049s&@srcdir@&$ac_srcdir&;t t
12050s&@abs_srcdir@&$ac_abs_srcdir&;t t
12051s&@top_srcdir@&$ac_top_srcdir&;t t
12052s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12053s&@builddir@&$ac_builddir&;t t
12054s&@abs_builddir@&$ac_abs_builddir&;t t
12055s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12056s&@INSTALL@&$ac_INSTALL&;t t
12057s&@MKDIR_P@&$ac_MKDIR_P&;t t
12058$ac_datarootdir_hack
12059"
12060eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12061  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12062
12063test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12064  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12065  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
12066      "$ac_tmp/out"`; test -z "$ac_out"; } &&
12067  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12068which seems to be undefined.  Please make sure it is defined" >&5
12069$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12070which seems to be undefined.  Please make sure it is defined" >&2;}
12071
12072  rm -f "$ac_tmp/stdin"
12073  case $ac_file in
12074  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12075  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12076  esac \
12077  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12078 ;;
12079  :H)
12080  #
12081  # CONFIG_HEADER
12082  #
12083  if test x"$ac_file" != x-; then
12084    {
12085      $as_echo "/* $configure_input  */" \
12086      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12087    } >"$ac_tmp/config.h" \
12088      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12089    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12090      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12091$as_echo "$as_me: $ac_file is unchanged" >&6;}
12092    else
12093      rm -f "$ac_file"
12094      mv "$ac_tmp/config.h" "$ac_file" \
12095	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
12096    fi
12097  else
12098    $as_echo "/* $configure_input  */" \
12099      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12100      || as_fn_error $? "could not create -" "$LINENO" 5
12101  fi
12102# Compute "$ac_file"'s index in $config_headers.
12103_am_arg="$ac_file"
12104_am_stamp_count=1
12105for _am_header in $config_headers :; do
12106  case $_am_header in
12107    $_am_arg | $_am_arg:* )
12108      break ;;
12109    * )
12110      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12111  esac
12112done
12113echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12114$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12115	 X"$_am_arg" : 'X\(//\)[^/]' \| \
12116	 X"$_am_arg" : 'X\(//\)$' \| \
12117	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12118$as_echo X"$_am_arg" |
12119    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12120	    s//\1/
12121	    q
12122	  }
12123	  /^X\(\/\/\)[^/].*/{
12124	    s//\1/
12125	    q
12126	  }
12127	  /^X\(\/\/\)$/{
12128	    s//\1/
12129	    q
12130	  }
12131	  /^X\(\/\).*/{
12132	    s//\1/
12133	    q
12134	  }
12135	  s/.*/./; q'`/stamp-h$_am_stamp_count
12136 ;;
12137
12138  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12139$as_echo "$as_me: executing $ac_file commands" >&6;}
12140 ;;
12141  esac
12142
12143
12144  case $ac_file$ac_mode in
12145    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12146  # Older Autoconf quotes --file arguments for eval, but not when files
12147  # are listed without --file.  Let's play safe and only enable the eval
12148  # if we detect the quoting.
12149  case $CONFIG_FILES in
12150  *\'*) eval set x "$CONFIG_FILES" ;;
12151  *)   set x $CONFIG_FILES ;;
12152  esac
12153  shift
12154  for mf
12155  do
12156    # Strip MF so we end up with the name of the file.
12157    mf=`echo "$mf" | sed -e 's/:.*$//'`
12158    # Check whether this is an Automake generated Makefile or not.
12159    # We used to match only the files named 'Makefile.in', but
12160    # some people rename them; so instead we look at the file content.
12161    # Grep'ing the first line is not enough: some people post-process
12162    # each Makefile.in and add a new line on top of each file to say so.
12163    # Grep'ing the whole file is not good either: AIX grep has a line
12164    # limit of 2048, but all sed's we know have understand at least 4000.
12165    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12166      dirpart=`$as_dirname -- "$mf" ||
12167$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12168	 X"$mf" : 'X\(//\)[^/]' \| \
12169	 X"$mf" : 'X\(//\)$' \| \
12170	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12171$as_echo X"$mf" |
12172    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12173	    s//\1/
12174	    q
12175	  }
12176	  /^X\(\/\/\)[^/].*/{
12177	    s//\1/
12178	    q
12179	  }
12180	  /^X\(\/\/\)$/{
12181	    s//\1/
12182	    q
12183	  }
12184	  /^X\(\/\).*/{
12185	    s//\1/
12186	    q
12187	  }
12188	  s/.*/./; q'`
12189    else
12190      continue
12191    fi
12192    # Extract the definition of DEPDIR, am__include, and am__quote
12193    # from the Makefile without running 'make'.
12194    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12195    test -z "$DEPDIR" && continue
12196    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12197    test -z "$am__include" && continue
12198    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12199    # Find all dependency output files, they are included files with
12200    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12201    # simplest approach to changing $(DEPDIR) to its actual value in the
12202    # expansion.
12203    for file in `sed -n "
12204      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12205	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12206      # Make sure the directory exists.
12207      test -f "$dirpart/$file" && continue
12208      fdir=`$as_dirname -- "$file" ||
12209$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12210	 X"$file" : 'X\(//\)[^/]' \| \
12211	 X"$file" : 'X\(//\)$' \| \
12212	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12213$as_echo X"$file" |
12214    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12215	    s//\1/
12216	    q
12217	  }
12218	  /^X\(\/\/\)[^/].*/{
12219	    s//\1/
12220	    q
12221	  }
12222	  /^X\(\/\/\)$/{
12223	    s//\1/
12224	    q
12225	  }
12226	  /^X\(\/\).*/{
12227	    s//\1/
12228	    q
12229	  }
12230	  s/.*/./; q'`
12231      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12232      # echo "creating $dirpart/$file"
12233      echo '# dummy' > "$dirpart/$file"
12234    done
12235  done
12236}
12237 ;;
12238
12239  esac
12240done # for ac_tag
12241
12242
12243as_fn_exit 0
12244_ACEOF
12245ac_clean_files=$ac_clean_files_save
12246
12247test $ac_write_fail = 0 ||
12248  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12249
12250
12251# configure is writing to config.log, and then calls config.status.
12252# config.status does its own redirection, appending to config.log.
12253# Unfortunately, on DOS this fails, as config.log is still kept open
12254# by configure, so config.status won't be able to write to it; its
12255# output is simply discarded.  So we exec the FD to /dev/null,
12256# effectively closing config.log, so it can be properly (re)opened and
12257# appended to by config.status.  When coming back to configure, we
12258# need to make the FD available again.
12259if test "$no_create" != yes; then
12260  ac_cs_success=:
12261  ac_config_status_args=
12262  test "$silent" = yes &&
12263    ac_config_status_args="$ac_config_status_args --quiet"
12264  exec 5>/dev/null
12265  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12266  exec 5>>config.log
12267  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12268  # would make configure fail if this is the last instruction.
12269  $ac_cs_success || as_fn_exit 1
12270fi
12271if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12272  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12273$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12274fi
12275
12276