1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for xgamma 1.0.6.
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='xgamma'
583PACKAGE_TARNAME='xgamma'
584PACKAGE_VERSION='1.0.6'
585PACKAGE_STRING='xgamma 1.0.6'
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
630XGAMMA_LIBS
631XGAMMA_CFLAGS
632MAN_SUBSTS
633XORG_MAN_PAGE
634ADMIN_MAN_DIR
635DRIVER_MAN_DIR
636MISC_MAN_DIR
637FILE_MAN_DIR
638LIB_MAN_DIR
639APP_MAN_DIR
640ADMIN_MAN_SUFFIX
641DRIVER_MAN_SUFFIX
642MISC_MAN_SUFFIX
643FILE_MAN_SUFFIX
644LIB_MAN_SUFFIX
645APP_MAN_SUFFIX
646SED
647host_os
648host_vendor
649host_cpu
650host
651build_os
652build_vendor
653build_cpu
654build
655INSTALL_CMD
656PKG_CONFIG
657CHANGELOG_CMD
658STRICT_CFLAGS
659CWARNFLAGS
660BASE_CFLAGS
661EGREP
662GREP
663CPP
664am__fastdepCC_FALSE
665am__fastdepCC_TRUE
666CCDEPMODE
667am__nodep
668AMDEPBACKSLASH
669AMDEP_FALSE
670AMDEP_TRUE
671am__quote
672am__include
673DEPDIR
674OBJEXT
675EXEEXT
676ac_ct_CC
677CPPFLAGS
678LDFLAGS
679CFLAGS
680CC
681AM_BACKSLASH
682AM_DEFAULT_VERBOSITY
683AM_DEFAULT_V
684AM_V
685am__untar
686am__tar
687AMTAR
688am__leading_dot
689SET_MAKE
690AWK
691mkdir_p
692MKDIR_P
693INSTALL_STRIP_PROGRAM
694STRIP
695install_sh
696MAKEINFO
697AUTOHEADER
698AUTOMAKE
699AUTOCONF
700ACLOCAL
701VERSION
702PACKAGE
703CYGPATH_W
704am__isrc
705INSTALL_DATA
706INSTALL_SCRIPT
707INSTALL_PROGRAM
708target_alias
709host_alias
710build_alias
711LIBS
712ECHO_T
713ECHO_N
714ECHO_C
715DEFS
716mandir
717localedir
718libdir
719psdir
720pdfdir
721dvidir
722htmldir
723infodir
724docdir
725oldincludedir
726includedir
727localstatedir
728sharedstatedir
729sysconfdir
730datadir
731datarootdir
732libexecdir
733sbindir
734bindir
735program_transform_name
736prefix
737exec_prefix
738PACKAGE_URL
739PACKAGE_BUGREPORT
740PACKAGE_STRING
741PACKAGE_VERSION
742PACKAGE_TARNAME
743PACKAGE_NAME
744PATH_SEPARATOR
745SHELL'
746ac_subst_files=''
747ac_user_opts='
748enable_option_checking
749enable_silent_rules
750enable_dependency_tracking
751enable_selective_werror
752enable_strict_compilation
753'
754      ac_precious_vars='build_alias
755host_alias
756target_alias
757CC
758CFLAGS
759LDFLAGS
760LIBS
761CPPFLAGS
762CPP
763PKG_CONFIG
764XGAMMA_CFLAGS
765XGAMMA_LIBS'
766
767
768# Initialize some variables set by options.
769ac_init_help=
770ac_init_version=false
771ac_unrecognized_opts=
772ac_unrecognized_sep=
773# The variables have the same names as the options, with
774# dashes changed to underlines.
775cache_file=/dev/null
776exec_prefix=NONE
777no_create=
778no_recursion=
779prefix=NONE
780program_prefix=NONE
781program_suffix=NONE
782program_transform_name=s,x,x,
783silent=
784site=
785srcdir=
786verbose=
787x_includes=NONE
788x_libraries=NONE
789
790# Installation directory options.
791# These are left unexpanded so users can "make install exec_prefix=/foo"
792# and all the variables that are supposed to be based on exec_prefix
793# by default will actually change.
794# Use braces instead of parens because sh, perl, etc. also accept them.
795# (The list follows the same order as the GNU Coding Standards.)
796bindir='${exec_prefix}/bin'
797sbindir='${exec_prefix}/sbin'
798libexecdir='${exec_prefix}/libexec'
799datarootdir='${prefix}/share'
800datadir='${datarootdir}'
801sysconfdir='${prefix}/etc'
802sharedstatedir='${prefix}/com'
803localstatedir='${prefix}/var'
804includedir='${prefix}/include'
805oldincludedir='/usr/include'
806docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
807infodir='${datarootdir}/info'
808htmldir='${docdir}'
809dvidir='${docdir}'
810pdfdir='${docdir}'
811psdir='${docdir}'
812libdir='${exec_prefix}/lib'
813localedir='${datarootdir}/locale'
814mandir='${datarootdir}/man'
815
816ac_prev=
817ac_dashdash=
818for ac_option
819do
820  # If the previous option needs an argument, assign it.
821  if test -n "$ac_prev"; then
822    eval $ac_prev=\$ac_option
823    ac_prev=
824    continue
825  fi
826
827  case $ac_option in
828  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829  *=)   ac_optarg= ;;
830  *)    ac_optarg=yes ;;
831  esac
832
833  # Accept the important Cygnus configure options, so we can diagnose typos.
834
835  case $ac_dashdash$ac_option in
836  --)
837    ac_dashdash=yes ;;
838
839  -bindir | --bindir | --bindi | --bind | --bin | --bi)
840    ac_prev=bindir ;;
841  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
842    bindir=$ac_optarg ;;
843
844  -build | --build | --buil | --bui | --bu)
845    ac_prev=build_alias ;;
846  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
847    build_alias=$ac_optarg ;;
848
849  -cache-file | --cache-file | --cache-fil | --cache-fi \
850  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
851    ac_prev=cache_file ;;
852  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
853  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
854    cache_file=$ac_optarg ;;
855
856  --config-cache | -C)
857    cache_file=config.cache ;;
858
859  -datadir | --datadir | --datadi | --datad)
860    ac_prev=datadir ;;
861  -datadir=* | --datadir=* | --datadi=* | --datad=*)
862    datadir=$ac_optarg ;;
863
864  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
865  | --dataroo | --dataro | --datar)
866    ac_prev=datarootdir ;;
867  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
868  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
869    datarootdir=$ac_optarg ;;
870
871  -disable-* | --disable-*)
872    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
873    # Reject names that are not valid shell variable names.
874    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875      as_fn_error $? "invalid feature name: $ac_useropt"
876    ac_useropt_orig=$ac_useropt
877    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
878    case $ac_user_opts in
879      *"
880"enable_$ac_useropt"
881"*) ;;
882      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
883	 ac_unrecognized_sep=', ';;
884    esac
885    eval enable_$ac_useropt=no ;;
886
887  -docdir | --docdir | --docdi | --doc | --do)
888    ac_prev=docdir ;;
889  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
890    docdir=$ac_optarg ;;
891
892  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
893    ac_prev=dvidir ;;
894  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
895    dvidir=$ac_optarg ;;
896
897  -enable-* | --enable-*)
898    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
899    # Reject names that are not valid shell variable names.
900    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901      as_fn_error $? "invalid feature name: $ac_useropt"
902    ac_useropt_orig=$ac_useropt
903    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904    case $ac_user_opts in
905      *"
906"enable_$ac_useropt"
907"*) ;;
908      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909	 ac_unrecognized_sep=', ';;
910    esac
911    eval enable_$ac_useropt=\$ac_optarg ;;
912
913  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
914  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
915  | --exec | --exe | --ex)
916    ac_prev=exec_prefix ;;
917  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
918  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
919  | --exec=* | --exe=* | --ex=*)
920    exec_prefix=$ac_optarg ;;
921
922  -gas | --gas | --ga | --g)
923    # Obsolete; use --with-gas.
924    with_gas=yes ;;
925
926  -help | --help | --hel | --he | -h)
927    ac_init_help=long ;;
928  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
929    ac_init_help=recursive ;;
930  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
931    ac_init_help=short ;;
932
933  -host | --host | --hos | --ho)
934    ac_prev=host_alias ;;
935  -host=* | --host=* | --hos=* | --ho=*)
936    host_alias=$ac_optarg ;;
937
938  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
939    ac_prev=htmldir ;;
940  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
941  | --ht=*)
942    htmldir=$ac_optarg ;;
943
944  -includedir | --includedir | --includedi | --included | --include \
945  | --includ | --inclu | --incl | --inc)
946    ac_prev=includedir ;;
947  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
948  | --includ=* | --inclu=* | --incl=* | --inc=*)
949    includedir=$ac_optarg ;;
950
951  -infodir | --infodir | --infodi | --infod | --info | --inf)
952    ac_prev=infodir ;;
953  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
954    infodir=$ac_optarg ;;
955
956  -libdir | --libdir | --libdi | --libd)
957    ac_prev=libdir ;;
958  -libdir=* | --libdir=* | --libdi=* | --libd=*)
959    libdir=$ac_optarg ;;
960
961  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
962  | --libexe | --libex | --libe)
963    ac_prev=libexecdir ;;
964  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
965  | --libexe=* | --libex=* | --libe=*)
966    libexecdir=$ac_optarg ;;
967
968  -localedir | --localedir | --localedi | --localed | --locale)
969    ac_prev=localedir ;;
970  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
971    localedir=$ac_optarg ;;
972
973  -localstatedir | --localstatedir | --localstatedi | --localstated \
974  | --localstate | --localstat | --localsta | --localst | --locals)
975    ac_prev=localstatedir ;;
976  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
977  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
978    localstatedir=$ac_optarg ;;
979
980  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
981    ac_prev=mandir ;;
982  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983    mandir=$ac_optarg ;;
984
985  -nfp | --nfp | --nf)
986    # Obsolete; use --without-fp.
987    with_fp=no ;;
988
989  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
990  | --no-cr | --no-c | -n)
991    no_create=yes ;;
992
993  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
994  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995    no_recursion=yes ;;
996
997  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
998  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
999  | --oldin | --oldi | --old | --ol | --o)
1000    ac_prev=oldincludedir ;;
1001  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1002  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1003  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1004    oldincludedir=$ac_optarg ;;
1005
1006  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1007    ac_prev=prefix ;;
1008  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1009    prefix=$ac_optarg ;;
1010
1011  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1012  | --program-pre | --program-pr | --program-p)
1013    ac_prev=program_prefix ;;
1014  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1015  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1016    program_prefix=$ac_optarg ;;
1017
1018  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1019  | --program-suf | --program-su | --program-s)
1020    ac_prev=program_suffix ;;
1021  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1022  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1023    program_suffix=$ac_optarg ;;
1024
1025  -program-transform-name | --program-transform-name \
1026  | --program-transform-nam | --program-transform-na \
1027  | --program-transform-n | --program-transform- \
1028  | --program-transform | --program-transfor \
1029  | --program-transfo | --program-transf \
1030  | --program-trans | --program-tran \
1031  | --progr-tra | --program-tr | --program-t)
1032    ac_prev=program_transform_name ;;
1033  -program-transform-name=* | --program-transform-name=* \
1034  | --program-transform-nam=* | --program-transform-na=* \
1035  | --program-transform-n=* | --program-transform-=* \
1036  | --program-transform=* | --program-transfor=* \
1037  | --program-transfo=* | --program-transf=* \
1038  | --program-trans=* | --program-tran=* \
1039  | --progr-tra=* | --program-tr=* | --program-t=*)
1040    program_transform_name=$ac_optarg ;;
1041
1042  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1043    ac_prev=pdfdir ;;
1044  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1045    pdfdir=$ac_optarg ;;
1046
1047  -psdir | --psdir | --psdi | --psd | --ps)
1048    ac_prev=psdir ;;
1049  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1050    psdir=$ac_optarg ;;
1051
1052  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1053  | -silent | --silent | --silen | --sile | --sil)
1054    silent=yes ;;
1055
1056  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1057    ac_prev=sbindir ;;
1058  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1059  | --sbi=* | --sb=*)
1060    sbindir=$ac_optarg ;;
1061
1062  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1063  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1064  | --sharedst | --shareds | --shared | --share | --shar \
1065  | --sha | --sh)
1066    ac_prev=sharedstatedir ;;
1067  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1068  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1069  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1070  | --sha=* | --sh=*)
1071    sharedstatedir=$ac_optarg ;;
1072
1073  -site | --site | --sit)
1074    ac_prev=site ;;
1075  -site=* | --site=* | --sit=*)
1076    site=$ac_optarg ;;
1077
1078  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1079    ac_prev=srcdir ;;
1080  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1081    srcdir=$ac_optarg ;;
1082
1083  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1084  | --syscon | --sysco | --sysc | --sys | --sy)
1085    ac_prev=sysconfdir ;;
1086  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1087  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1088    sysconfdir=$ac_optarg ;;
1089
1090  -target | --target | --targe | --targ | --tar | --ta | --t)
1091    ac_prev=target_alias ;;
1092  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1093    target_alias=$ac_optarg ;;
1094
1095  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1096    verbose=yes ;;
1097
1098  -version | --version | --versio | --versi | --vers | -V)
1099    ac_init_version=: ;;
1100
1101  -with-* | --with-*)
1102    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103    # Reject names that are not valid shell variable names.
1104    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105      as_fn_error $? "invalid package name: $ac_useropt"
1106    ac_useropt_orig=$ac_useropt
1107    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108    case $ac_user_opts in
1109      *"
1110"with_$ac_useropt"
1111"*) ;;
1112      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113	 ac_unrecognized_sep=', ';;
1114    esac
1115    eval with_$ac_useropt=\$ac_optarg ;;
1116
1117  -without-* | --without-*)
1118    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119    # Reject names that are not valid shell variable names.
1120    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121      as_fn_error $? "invalid package name: $ac_useropt"
1122    ac_useropt_orig=$ac_useropt
1123    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124    case $ac_user_opts in
1125      *"
1126"with_$ac_useropt"
1127"*) ;;
1128      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129	 ac_unrecognized_sep=', ';;
1130    esac
1131    eval with_$ac_useropt=no ;;
1132
1133  --x)
1134    # Obsolete; use --with-x.
1135    with_x=yes ;;
1136
1137  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1138  | --x-incl | --x-inc | --x-in | --x-i)
1139    ac_prev=x_includes ;;
1140  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1141  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1142    x_includes=$ac_optarg ;;
1143
1144  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1145  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1146    ac_prev=x_libraries ;;
1147  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1148  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1149    x_libraries=$ac_optarg ;;
1150
1151  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1152Try \`$0 --help' for more information"
1153    ;;
1154
1155  *=*)
1156    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157    # Reject names that are not valid shell variable names.
1158    case $ac_envvar in #(
1159      '' | [0-9]* | *[!_$as_cr_alnum]* )
1160      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1161    esac
1162    eval $ac_envvar=\$ac_optarg
1163    export $ac_envvar ;;
1164
1165  *)
1166    # FIXME: should be removed in autoconf 3.0.
1167    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1171    ;;
1172
1173  esac
1174done
1175
1176if test -n "$ac_prev"; then
1177  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1178  as_fn_error $? "missing argument to $ac_option"
1179fi
1180
1181if test -n "$ac_unrecognized_opts"; then
1182  case $enable_option_checking in
1183    no) ;;
1184    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1185    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186  esac
1187fi
1188
1189# Check all directory arguments for consistency.
1190for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191		datadir sysconfdir sharedstatedir localstatedir includedir \
1192		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193		libdir localedir mandir
1194do
1195  eval ac_val=\$$ac_var
1196  # Remove trailing slashes.
1197  case $ac_val in
1198    */ )
1199      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200      eval $ac_var=\$ac_val;;
1201  esac
1202  # Be sure to have absolute directory names.
1203  case $ac_val in
1204    [\\/$]* | ?:[\\/]* )  continue;;
1205    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1206  esac
1207  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1208done
1209
1210# There might be people who depend on the old broken behavior: `$host'
1211# used to hold the argument of --host etc.
1212# FIXME: To remove some day.
1213build=$build_alias
1214host=$host_alias
1215target=$target_alias
1216
1217# FIXME: To remove some day.
1218if test "x$host_alias" != x; then
1219  if test "x$build_alias" = x; then
1220    cross_compiling=maybe
1221  elif test "x$build_alias" != "x$host_alias"; then
1222    cross_compiling=yes
1223  fi
1224fi
1225
1226ac_tool_prefix=
1227test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228
1229test "$silent" = yes && exec 6>/dev/null
1230
1231
1232ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233ac_ls_di=`ls -di .` &&
1234ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235  as_fn_error $? "working directory cannot be determined"
1236test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237  as_fn_error $? "pwd does not report name of working directory"
1238
1239
1240# Find the source files, if location was not specified.
1241if test -z "$srcdir"; then
1242  ac_srcdir_defaulted=yes
1243  # Try the directory containing this script, then the parent directory.
1244  ac_confdir=`$as_dirname -- "$as_myself" ||
1245$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246	 X"$as_myself" : 'X\(//\)[^/]' \| \
1247	 X"$as_myself" : 'X\(//\)$' \| \
1248	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249$as_echo X"$as_myself" |
1250    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251	    s//\1/
1252	    q
1253	  }
1254	  /^X\(\/\/\)[^/].*/{
1255	    s//\1/
1256	    q
1257	  }
1258	  /^X\(\/\/\)$/{
1259	    s//\1/
1260	    q
1261	  }
1262	  /^X\(\/\).*/{
1263	    s//\1/
1264	    q
1265	  }
1266	  s/.*/./; q'`
1267  srcdir=$ac_confdir
1268  if test ! -r "$srcdir/$ac_unique_file"; then
1269    srcdir=..
1270  fi
1271else
1272  ac_srcdir_defaulted=no
1273fi
1274if test ! -r "$srcdir/$ac_unique_file"; then
1275  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277fi
1278ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279ac_abs_confdir=`(
1280	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281	pwd)`
1282# When building in place, set srcdir=.
1283if test "$ac_abs_confdir" = "$ac_pwd"; then
1284  srcdir=.
1285fi
1286# Remove unnecessary trailing slashes from srcdir.
1287# Double slashes in file names in object file debugging info
1288# mess up M-x gdb in Emacs.
1289case $srcdir in
1290*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291esac
1292for ac_var in $ac_precious_vars; do
1293  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294  eval ac_env_${ac_var}_value=\$${ac_var}
1295  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297done
1298
1299#
1300# Report the --help message.
1301#
1302if test "$ac_init_help" = "long"; then
1303  # Omit some internal or obsolete options to make the list less imposing.
1304  # This message is too long to be a string in the A/UX 3.1 sh.
1305  cat <<_ACEOF
1306\`configure' configures xgamma 1.0.6 to adapt to many kinds of systems.
1307
1308Usage: $0 [OPTION]... [VAR=VALUE]...
1309
1310To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311VAR=VALUE.  See below for descriptions of some of the useful variables.
1312
1313Defaults for the options are specified in brackets.
1314
1315Configuration:
1316  -h, --help              display this help and exit
1317      --help=short        display options specific to this package
1318      --help=recursive    display the short help of all the included packages
1319  -V, --version           display version information and exit
1320  -q, --quiet, --silent   do not print \`checking ...' messages
1321      --cache-file=FILE   cache test results in FILE [disabled]
1322  -C, --config-cache      alias for \`--cache-file=config.cache'
1323  -n, --no-create         do not create output files
1324      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1325
1326Installation directories:
1327  --prefix=PREFIX         install architecture-independent files in PREFIX
1328                          [$ac_default_prefix]
1329  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1330                          [PREFIX]
1331
1332By default, \`make install' will install all the files in
1333\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1334an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335for instance \`--prefix=\$HOME'.
1336
1337For better control, use the options below.
1338
1339Fine tuning of the installation directories:
1340  --bindir=DIR            user executables [EPREFIX/bin]
1341  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1342  --libexecdir=DIR        program executables [EPREFIX/libexec]
1343  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1344  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1345  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1346  --libdir=DIR            object code libraries [EPREFIX/lib]
1347  --includedir=DIR        C header files [PREFIX/include]
1348  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1349  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1350  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1351  --infodir=DIR           info documentation [DATAROOTDIR/info]
1352  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1353  --mandir=DIR            man documentation [DATAROOTDIR/man]
1354  --docdir=DIR            documentation root [DATAROOTDIR/doc/xgamma]
1355  --htmldir=DIR           html documentation [DOCDIR]
1356  --dvidir=DIR            dvi documentation [DOCDIR]
1357  --pdfdir=DIR            pdf documentation [DOCDIR]
1358  --psdir=DIR             ps documentation [DOCDIR]
1359_ACEOF
1360
1361  cat <<\_ACEOF
1362
1363Program names:
1364  --program-prefix=PREFIX            prepend PREFIX to installed program names
1365  --program-suffix=SUFFIX            append SUFFIX to installed program names
1366  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1367
1368System types:
1369  --build=BUILD     configure for building on BUILD [guessed]
1370  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1371_ACEOF
1372fi
1373
1374if test -n "$ac_init_help"; then
1375  case $ac_init_help in
1376     short | recursive ) echo "Configuration of xgamma 1.0.6:";;
1377   esac
1378  cat <<\_ACEOF
1379
1380Optional Features:
1381  --disable-option-checking  ignore unrecognized --enable/--with options
1382  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1383  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1384  --enable-silent-rules   less verbose build output (undo: "make V=1")
1385  --disable-silent-rules  verbose build output (undo: "make V=0")
1386  --enable-dependency-tracking
1387                          do not reject slow dependency extractors
1388  --disable-dependency-tracking
1389                          speeds up one-time build
1390  --disable-selective-werror
1391                          Turn off selective compiler errors. (default:
1392                          enabled)
1393  --enable-strict-compilation
1394                          Enable all warnings from compiler and make them
1395                          errors (default: disabled)
1396
1397Some influential environment variables:
1398  CC          C compiler command
1399  CFLAGS      C compiler flags
1400  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1401              nonstandard directory <lib dir>
1402  LIBS        libraries to pass to the linker, e.g. -l<library>
1403  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404              you have headers in a nonstandard directory <include dir>
1405  CPP         C preprocessor
1406  PKG_CONFIG  path to pkg-config utility
1407  XGAMMA_CFLAGS
1408              C compiler flags for XGAMMA, overriding pkg-config
1409  XGAMMA_LIBS linker flags for XGAMMA, overriding pkg-config
1410
1411Use these variables to override the choices made by `configure' or to help
1412it to find libraries and programs with nonstandard names/locations.
1413
1414Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1415_ACEOF
1416ac_status=$?
1417fi
1418
1419if test "$ac_init_help" = "recursive"; then
1420  # If there are subdirs, report their specific --help.
1421  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422    test -d "$ac_dir" ||
1423      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424      continue
1425    ac_builddir=.
1426
1427case "$ac_dir" in
1428.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429*)
1430  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431  # A ".." for each directory in $ac_dir_suffix.
1432  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433  case $ac_top_builddir_sub in
1434  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436  esac ;;
1437esac
1438ac_abs_top_builddir=$ac_pwd
1439ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440# for backward compatibility:
1441ac_top_builddir=$ac_top_build_prefix
1442
1443case $srcdir in
1444  .)  # We are building in place.
1445    ac_srcdir=.
1446    ac_top_srcdir=$ac_top_builddir_sub
1447    ac_abs_top_srcdir=$ac_pwd ;;
1448  [\\/]* | ?:[\\/]* )  # Absolute name.
1449    ac_srcdir=$srcdir$ac_dir_suffix;
1450    ac_top_srcdir=$srcdir
1451    ac_abs_top_srcdir=$srcdir ;;
1452  *) # Relative name.
1453    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454    ac_top_srcdir=$ac_top_build_prefix$srcdir
1455    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456esac
1457ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
1459    cd "$ac_dir" || { ac_status=$?; continue; }
1460    # Check for guested configure.
1461    if test -f "$ac_srcdir/configure.gnu"; then
1462      echo &&
1463      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464    elif test -f "$ac_srcdir/configure"; then
1465      echo &&
1466      $SHELL "$ac_srcdir/configure" --help=recursive
1467    else
1468      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469    fi || ac_status=$?
1470    cd "$ac_pwd" || { ac_status=$?; break; }
1471  done
1472fi
1473
1474test -n "$ac_init_help" && exit $ac_status
1475if $ac_init_version; then
1476  cat <<\_ACEOF
1477xgamma configure 1.0.6
1478generated by GNU Autoconf 2.69
1479
1480Copyright (C) 2012 Free Software Foundation, Inc.
1481This configure script is free software; the Free Software Foundation
1482gives unlimited permission to copy, distribute and modify it.
1483_ACEOF
1484  exit
1485fi
1486
1487## ------------------------ ##
1488## Autoconf initialization. ##
1489## ------------------------ ##
1490
1491# ac_fn_c_try_compile LINENO
1492# --------------------------
1493# Try to compile conftest.$ac_ext, and return whether this succeeded.
1494ac_fn_c_try_compile ()
1495{
1496  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497  rm -f conftest.$ac_objext
1498  if { { ac_try="$ac_compile"
1499case "(($ac_try" in
1500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501  *) ac_try_echo=$ac_try;;
1502esac
1503eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504$as_echo "$ac_try_echo"; } >&5
1505  (eval "$ac_compile") 2>conftest.err
1506  ac_status=$?
1507  if test -s conftest.err; then
1508    grep -v '^ *+' conftest.err >conftest.er1
1509    cat conftest.er1 >&5
1510    mv -f conftest.er1 conftest.err
1511  fi
1512  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513  test $ac_status = 0; } && {
1514	 test -z "$ac_c_werror_flag" ||
1515	 test ! -s conftest.err
1516       } && test -s conftest.$ac_objext; then :
1517  ac_retval=0
1518else
1519  $as_echo "$as_me: failed program was:" >&5
1520sed 's/^/| /' conftest.$ac_ext >&5
1521
1522	ac_retval=1
1523fi
1524  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525  as_fn_set_status $ac_retval
1526
1527} # ac_fn_c_try_compile
1528
1529# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1530# ---------------------------------------------
1531# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1532# accordingly.
1533ac_fn_c_check_decl ()
1534{
1535  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536  as_decl_name=`echo $2|sed 's/ *(.*//'`
1537  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1538  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1539$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1540if eval \${$3+:} false; then :
1541  $as_echo_n "(cached) " >&6
1542else
1543  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1544/* end confdefs.h.  */
1545$4
1546int
1547main ()
1548{
1549#ifndef $as_decl_name
1550#ifdef __cplusplus
1551  (void) $as_decl_use;
1552#else
1553  (void) $as_decl_name;
1554#endif
1555#endif
1556
1557  ;
1558  return 0;
1559}
1560_ACEOF
1561if ac_fn_c_try_compile "$LINENO"; then :
1562  eval "$3=yes"
1563else
1564  eval "$3=no"
1565fi
1566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1567fi
1568eval ac_res=\$$3
1569	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570$as_echo "$ac_res" >&6; }
1571  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572
1573} # ac_fn_c_check_decl
1574
1575# ac_fn_c_try_cpp LINENO
1576# ----------------------
1577# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578ac_fn_c_try_cpp ()
1579{
1580  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581  if { { ac_try="$ac_cpp conftest.$ac_ext"
1582case "(($ac_try" in
1583  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584  *) ac_try_echo=$ac_try;;
1585esac
1586eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587$as_echo "$ac_try_echo"; } >&5
1588  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589  ac_status=$?
1590  if test -s conftest.err; then
1591    grep -v '^ *+' conftest.err >conftest.er1
1592    cat conftest.er1 >&5
1593    mv -f conftest.er1 conftest.err
1594  fi
1595  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596  test $ac_status = 0; } > conftest.i && {
1597	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598	 test ! -s conftest.err
1599       }; then :
1600  ac_retval=0
1601else
1602  $as_echo "$as_me: failed program was:" >&5
1603sed 's/^/| /' conftest.$ac_ext >&5
1604
1605    ac_retval=1
1606fi
1607  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608  as_fn_set_status $ac_retval
1609
1610} # ac_fn_c_try_cpp
1611
1612# ac_fn_c_try_run LINENO
1613# ----------------------
1614# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615# that executables *can* be run.
1616ac_fn_c_try_run ()
1617{
1618  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619  if { { ac_try="$ac_link"
1620case "(($ac_try" in
1621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622  *) ac_try_echo=$ac_try;;
1623esac
1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625$as_echo "$ac_try_echo"; } >&5
1626  (eval "$ac_link") 2>&5
1627  ac_status=$?
1628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630  { { case "(($ac_try" in
1631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632  *) ac_try_echo=$ac_try;;
1633esac
1634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635$as_echo "$ac_try_echo"; } >&5
1636  (eval "$ac_try") 2>&5
1637  ac_status=$?
1638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639  test $ac_status = 0; }; }; then :
1640  ac_retval=0
1641else
1642  $as_echo "$as_me: program exited with status $ac_status" >&5
1643       $as_echo "$as_me: failed program was:" >&5
1644sed 's/^/| /' conftest.$ac_ext >&5
1645
1646       ac_retval=$ac_status
1647fi
1648  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650  as_fn_set_status $ac_retval
1651
1652} # ac_fn_c_try_run
1653
1654# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655# -------------------------------------------------------
1656# Tests whether HEADER exists and can be compiled using the include files in
1657# INCLUDES, setting the cache variable VAR accordingly.
1658ac_fn_c_check_header_compile ()
1659{
1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662$as_echo_n "checking for $2... " >&6; }
1663if eval \${$3+:} false; then :
1664  $as_echo_n "(cached) " >&6
1665else
1666  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667/* end confdefs.h.  */
1668$4
1669#include <$2>
1670_ACEOF
1671if ac_fn_c_try_compile "$LINENO"; then :
1672  eval "$3=yes"
1673else
1674  eval "$3=no"
1675fi
1676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677fi
1678eval ac_res=\$$3
1679	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680$as_echo "$ac_res" >&6; }
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
1683} # ac_fn_c_check_header_compile
1684
1685# ac_fn_c_try_link LINENO
1686# -----------------------
1687# Try to link conftest.$ac_ext, and return whether this succeeded.
1688ac_fn_c_try_link ()
1689{
1690  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691  rm -f conftest.$ac_objext conftest$ac_exeext
1692  if { { ac_try="$ac_link"
1693case "(($ac_try" in
1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695  *) ac_try_echo=$ac_try;;
1696esac
1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698$as_echo "$ac_try_echo"; } >&5
1699  (eval "$ac_link") 2>conftest.err
1700  ac_status=$?
1701  if test -s conftest.err; then
1702    grep -v '^ *+' conftest.err >conftest.er1
1703    cat conftest.er1 >&5
1704    mv -f conftest.er1 conftest.err
1705  fi
1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707  test $ac_status = 0; } && {
1708	 test -z "$ac_c_werror_flag" ||
1709	 test ! -s conftest.err
1710       } && test -s conftest$ac_exeext && {
1711	 test "$cross_compiling" = yes ||
1712	 test -x conftest$ac_exeext
1713       }; then :
1714  ac_retval=0
1715else
1716  $as_echo "$as_me: failed program was:" >&5
1717sed 's/^/| /' conftest.$ac_ext >&5
1718
1719	ac_retval=1
1720fi
1721  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723  # interfere with the next link command; also delete a directory that is
1724  # left behind by Apple's compiler.  We do this before executing the actions.
1725  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727  as_fn_set_status $ac_retval
1728
1729} # ac_fn_c_try_link
1730cat >config.log <<_ACEOF
1731This file contains any messages produced by compilers while
1732running configure, to aid debugging if configure makes a mistake.
1733
1734It was created by xgamma $as_me 1.0.6, which was
1735generated by GNU Autoconf 2.69.  Invocation command line was
1736
1737  $ $0 $@
1738
1739_ACEOF
1740exec 5>>config.log
1741{
1742cat <<_ASUNAME
1743## --------- ##
1744## Platform. ##
1745## --------- ##
1746
1747hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1748uname -m = `(uname -m) 2>/dev/null || echo unknown`
1749uname -r = `(uname -r) 2>/dev/null || echo unknown`
1750uname -s = `(uname -s) 2>/dev/null || echo unknown`
1751uname -v = `(uname -v) 2>/dev/null || echo unknown`
1752
1753/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1754/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1755
1756/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1757/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1758/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1759/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1760/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1761/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1762/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1763
1764_ASUNAME
1765
1766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767for as_dir in $PATH
1768do
1769  IFS=$as_save_IFS
1770  test -z "$as_dir" && as_dir=.
1771    $as_echo "PATH: $as_dir"
1772  done
1773IFS=$as_save_IFS
1774
1775} >&5
1776
1777cat >&5 <<_ACEOF
1778
1779
1780## ----------- ##
1781## Core tests. ##
1782## ----------- ##
1783
1784_ACEOF
1785
1786
1787# Keep a trace of the command line.
1788# Strip out --no-create and --no-recursion so they do not pile up.
1789# Strip out --silent because we don't want to record it for future runs.
1790# Also quote any args containing shell meta-characters.
1791# Make two passes to allow for proper duplicate-argument suppression.
1792ac_configure_args=
1793ac_configure_args0=
1794ac_configure_args1=
1795ac_must_keep_next=false
1796for ac_pass in 1 2
1797do
1798  for ac_arg
1799  do
1800    case $ac_arg in
1801    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1802    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1803    | -silent | --silent | --silen | --sile | --sil)
1804      continue ;;
1805    *\'*)
1806      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1807    esac
1808    case $ac_pass in
1809    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1810    2)
1811      as_fn_append ac_configure_args1 " '$ac_arg'"
1812      if test $ac_must_keep_next = true; then
1813	ac_must_keep_next=false # Got value, back to normal.
1814      else
1815	case $ac_arg in
1816	  *=* | --config-cache | -C | -disable-* | --disable-* \
1817	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1818	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1819	  | -with-* | --with-* | -without-* | --without-* | --x)
1820	    case "$ac_configure_args0 " in
1821	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1822	    esac
1823	    ;;
1824	  -* ) ac_must_keep_next=true ;;
1825	esac
1826      fi
1827      as_fn_append ac_configure_args " '$ac_arg'"
1828      ;;
1829    esac
1830  done
1831done
1832{ ac_configure_args0=; unset ac_configure_args0;}
1833{ ac_configure_args1=; unset ac_configure_args1;}
1834
1835# When interrupted or exit'd, cleanup temporary files, and complete
1836# config.log.  We remove comments because anyway the quotes in there
1837# would cause problems or look ugly.
1838# WARNING: Use '\'' to represent an apostrophe within the trap.
1839# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1840trap 'exit_status=$?
1841  # Save into config.log some information that might help in debugging.
1842  {
1843    echo
1844
1845    $as_echo "## ---------------- ##
1846## Cache variables. ##
1847## ---------------- ##"
1848    echo
1849    # The following way of writing the cache mishandles newlines in values,
1850(
1851  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1852    eval ac_val=\$$ac_var
1853    case $ac_val in #(
1854    *${as_nl}*)
1855      case $ac_var in #(
1856      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1857$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1858      esac
1859      case $ac_var in #(
1860      _ | IFS | as_nl) ;; #(
1861      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1862      *) { eval $ac_var=; unset $ac_var;} ;;
1863      esac ;;
1864    esac
1865  done
1866  (set) 2>&1 |
1867    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1868    *${as_nl}ac_space=\ *)
1869      sed -n \
1870	"s/'\''/'\''\\\\'\'''\''/g;
1871	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1872      ;; #(
1873    *)
1874      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1875      ;;
1876    esac |
1877    sort
1878)
1879    echo
1880
1881    $as_echo "## ----------------- ##
1882## Output variables. ##
1883## ----------------- ##"
1884    echo
1885    for ac_var in $ac_subst_vars
1886    do
1887      eval ac_val=\$$ac_var
1888      case $ac_val in
1889      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890      esac
1891      $as_echo "$ac_var='\''$ac_val'\''"
1892    done | sort
1893    echo
1894
1895    if test -n "$ac_subst_files"; then
1896      $as_echo "## ------------------- ##
1897## File substitutions. ##
1898## ------------------- ##"
1899      echo
1900      for ac_var in $ac_subst_files
1901      do
1902	eval ac_val=\$$ac_var
1903	case $ac_val in
1904	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905	esac
1906	$as_echo "$ac_var='\''$ac_val'\''"
1907      done | sort
1908      echo
1909    fi
1910
1911    if test -s confdefs.h; then
1912      $as_echo "## ----------- ##
1913## confdefs.h. ##
1914## ----------- ##"
1915      echo
1916      cat confdefs.h
1917      echo
1918    fi
1919    test "$ac_signal" != 0 &&
1920      $as_echo "$as_me: caught signal $ac_signal"
1921    $as_echo "$as_me: exit $exit_status"
1922  } >&5
1923  rm -f core *.core core.conftest.* &&
1924    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1925    exit $exit_status
1926' 0
1927for ac_signal in 1 2 13 15; do
1928  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1929done
1930ac_signal=0
1931
1932# confdefs.h avoids OS command line length limits that DEFS can exceed.
1933rm -f -r conftest* confdefs.h
1934
1935$as_echo "/* confdefs.h */" > confdefs.h
1936
1937# Predefined preprocessor variables.
1938
1939cat >>confdefs.h <<_ACEOF
1940#define PACKAGE_NAME "$PACKAGE_NAME"
1941_ACEOF
1942
1943cat >>confdefs.h <<_ACEOF
1944#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1945_ACEOF
1946
1947cat >>confdefs.h <<_ACEOF
1948#define PACKAGE_VERSION "$PACKAGE_VERSION"
1949_ACEOF
1950
1951cat >>confdefs.h <<_ACEOF
1952#define PACKAGE_STRING "$PACKAGE_STRING"
1953_ACEOF
1954
1955cat >>confdefs.h <<_ACEOF
1956#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1957_ACEOF
1958
1959cat >>confdefs.h <<_ACEOF
1960#define PACKAGE_URL "$PACKAGE_URL"
1961_ACEOF
1962
1963
1964# Let the site file select an alternate cache file if it wants to.
1965# Prefer an explicitly selected file to automatically selected ones.
1966ac_site_file1=NONE
1967ac_site_file2=NONE
1968if test -n "$CONFIG_SITE"; then
1969  # We do not want a PATH search for config.site.
1970  case $CONFIG_SITE in #((
1971    -*)  ac_site_file1=./$CONFIG_SITE;;
1972    */*) ac_site_file1=$CONFIG_SITE;;
1973    *)   ac_site_file1=./$CONFIG_SITE;;
1974  esac
1975elif test "x$prefix" != xNONE; then
1976  ac_site_file1=$prefix/share/config.site
1977  ac_site_file2=$prefix/etc/config.site
1978else
1979  ac_site_file1=$ac_default_prefix/share/config.site
1980  ac_site_file2=$ac_default_prefix/etc/config.site
1981fi
1982for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1983do
1984  test "x$ac_site_file" = xNONE && continue
1985  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1986    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1987$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1988    sed 's/^/| /' "$ac_site_file" >&5
1989    . "$ac_site_file" \
1990      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1991$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1992as_fn_error $? "failed to load site script $ac_site_file
1993See \`config.log' for more details" "$LINENO" 5; }
1994  fi
1995done
1996
1997if test -r "$cache_file"; then
1998  # Some versions of bash will fail to source /dev/null (special files
1999  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2000  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2001    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2002$as_echo "$as_me: loading cache $cache_file" >&6;}
2003    case $cache_file in
2004      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2005      *)                      . "./$cache_file";;
2006    esac
2007  fi
2008else
2009  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2010$as_echo "$as_me: creating cache $cache_file" >&6;}
2011  >$cache_file
2012fi
2013
2014# Check that the precious variables saved in the cache have kept the same
2015# value.
2016ac_cache_corrupted=false
2017for ac_var in $ac_precious_vars; do
2018  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2019  eval ac_new_set=\$ac_env_${ac_var}_set
2020  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2021  eval ac_new_val=\$ac_env_${ac_var}_value
2022  case $ac_old_set,$ac_new_set in
2023    set,)
2024      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2025$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2026      ac_cache_corrupted=: ;;
2027    ,set)
2028      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2029$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2030      ac_cache_corrupted=: ;;
2031    ,);;
2032    *)
2033      if test "x$ac_old_val" != "x$ac_new_val"; then
2034	# differences in whitespace do not lead to failure.
2035	ac_old_val_w=`echo x $ac_old_val`
2036	ac_new_val_w=`echo x $ac_new_val`
2037	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2038	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2039$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2040	  ac_cache_corrupted=:
2041	else
2042	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2043$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2044	  eval $ac_var=\$ac_old_val
2045	fi
2046	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2047$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2048	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2049$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2050      fi;;
2051  esac
2052  # Pass precious variables to config.status.
2053  if test "$ac_new_set" = set; then
2054    case $ac_new_val in
2055    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2056    *) ac_arg=$ac_var=$ac_new_val ;;
2057    esac
2058    case " $ac_configure_args " in
2059      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2060      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2061    esac
2062  fi
2063done
2064if $ac_cache_corrupted; then
2065  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2068$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2069  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2070fi
2071## -------------------- ##
2072## Main body of script. ##
2073## -------------------- ##
2074
2075ac_ext=c
2076ac_cpp='$CPP $CPPFLAGS'
2077ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2078ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2079ac_compiler_gnu=$ac_cv_c_compiler_gnu
2080
2081
2082
2083ac_config_headers="$ac_config_headers config.h"
2084
2085
2086# Initialize Automake
2087am__api_version='1.15'
2088
2089ac_aux_dir=
2090for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2091  if test -f "$ac_dir/install-sh"; then
2092    ac_aux_dir=$ac_dir
2093    ac_install_sh="$ac_aux_dir/install-sh -c"
2094    break
2095  elif test -f "$ac_dir/install.sh"; then
2096    ac_aux_dir=$ac_dir
2097    ac_install_sh="$ac_aux_dir/install.sh -c"
2098    break
2099  elif test -f "$ac_dir/shtool"; then
2100    ac_aux_dir=$ac_dir
2101    ac_install_sh="$ac_aux_dir/shtool install -c"
2102    break
2103  fi
2104done
2105if test -z "$ac_aux_dir"; then
2106  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2107fi
2108
2109# These three variables are undocumented and unsupported,
2110# and are intended to be withdrawn in a future Autoconf release.
2111# They can cause serious problems if a builder's source tree is in a directory
2112# whose full name contains unusual characters.
2113ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2114ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2115ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2116
2117
2118# Find a good install program.  We prefer a C program (faster),
2119# so one script is as good as another.  But avoid the broken or
2120# incompatible versions:
2121# SysV /etc/install, /usr/sbin/install
2122# SunOS /usr/etc/install
2123# IRIX /sbin/install
2124# AIX /bin/install
2125# AmigaOS /C/install, which installs bootblocks on floppy discs
2126# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2127# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2128# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2129# OS/2's system install, which has a completely different semantic
2130# ./install, which can be erroneously created by make from ./install.sh.
2131# Reject install programs that cannot install multiple files.
2132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2133$as_echo_n "checking for a BSD-compatible install... " >&6; }
2134if test -z "$INSTALL"; then
2135if ${ac_cv_path_install+:} false; then :
2136  $as_echo_n "(cached) " >&6
2137else
2138  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139for as_dir in $PATH
2140do
2141  IFS=$as_save_IFS
2142  test -z "$as_dir" && as_dir=.
2143    # Account for people who put trailing slashes in PATH elements.
2144case $as_dir/ in #((
2145  ./ | .// | /[cC]/* | \
2146  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2147  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2148  /usr/ucb/* ) ;;
2149  *)
2150    # OSF1 and SCO ODT 3.0 have their own names for install.
2151    # Don't use installbsd from OSF since it installs stuff as root
2152    # by default.
2153    for ac_prog in ginstall scoinst install; do
2154      for ac_exec_ext in '' $ac_executable_extensions; do
2155	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2156	  if test $ac_prog = install &&
2157	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2158	    # AIX install.  It has an incompatible calling convention.
2159	    :
2160	  elif test $ac_prog = install &&
2161	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2162	    # program-specific install script used by HP pwplus--don't use.
2163	    :
2164	  else
2165	    rm -rf conftest.one conftest.two conftest.dir
2166	    echo one > conftest.one
2167	    echo two > conftest.two
2168	    mkdir conftest.dir
2169	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2170	      test -s conftest.one && test -s conftest.two &&
2171	      test -s conftest.dir/conftest.one &&
2172	      test -s conftest.dir/conftest.two
2173	    then
2174	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2175	      break 3
2176	    fi
2177	  fi
2178	fi
2179      done
2180    done
2181    ;;
2182esac
2183
2184  done
2185IFS=$as_save_IFS
2186
2187rm -rf conftest.one conftest.two conftest.dir
2188
2189fi
2190  if test "${ac_cv_path_install+set}" = set; then
2191    INSTALL=$ac_cv_path_install
2192  else
2193    # As a last resort, use the slow shell script.  Don't cache a
2194    # value for INSTALL within a source directory, because that will
2195    # break other packages using the cache if that directory is
2196    # removed, or if the value is a relative name.
2197    INSTALL=$ac_install_sh
2198  fi
2199fi
2200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2201$as_echo "$INSTALL" >&6; }
2202
2203# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2204# It thinks the first close brace ends the variable substitution.
2205test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2206
2207test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2208
2209test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2210
2211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2212$as_echo_n "checking whether build environment is sane... " >&6; }
2213# Reject unsafe characters in $srcdir or the absolute working directory
2214# name.  Accept space and tab only in the latter.
2215am_lf='
2216'
2217case `pwd` in
2218  *[\\\"\#\$\&\'\`$am_lf]*)
2219    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2220esac
2221case $srcdir in
2222  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2223    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2224esac
2225
2226# Do 'set' in a subshell so we don't clobber the current shell's
2227# arguments.  Must try -L first in case configure is actually a
2228# symlink; some systems play weird games with the mod time of symlinks
2229# (eg FreeBSD returns the mod time of the symlink's containing
2230# directory).
2231if (
2232   am_has_slept=no
2233   for am_try in 1 2; do
2234     echo "timestamp, slept: $am_has_slept" > conftest.file
2235     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2236     if test "$*" = "X"; then
2237	# -L didn't work.
2238	set X `ls -t "$srcdir/configure" conftest.file`
2239     fi
2240     if test "$*" != "X $srcdir/configure conftest.file" \
2241	&& test "$*" != "X conftest.file $srcdir/configure"; then
2242
2243	# If neither matched, then we have a broken ls.  This can happen
2244	# if, for instance, CONFIG_SHELL is bash and it inherits a
2245	# broken ls alias from the environment.  This has actually
2246	# happened.  Such a system could not be considered "sane".
2247	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2248  alias in your environment" "$LINENO" 5
2249     fi
2250     if test "$2" = conftest.file || test $am_try -eq 2; then
2251       break
2252     fi
2253     # Just in case.
2254     sleep 1
2255     am_has_slept=yes
2256   done
2257   test "$2" = conftest.file
2258   )
2259then
2260   # Ok.
2261   :
2262else
2263   as_fn_error $? "newly created file is older than distributed files!
2264Check your system clock" "$LINENO" 5
2265fi
2266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2267$as_echo "yes" >&6; }
2268# If we didn't sleep, we still need to ensure time stamps of config.status and
2269# generated files are strictly newer.
2270am_sleep_pid=
2271if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2272  ( sleep 1 ) &
2273  am_sleep_pid=$!
2274fi
2275
2276rm -f conftest.file
2277
2278test "$program_prefix" != NONE &&
2279  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2280# Use a double $ so make ignores it.
2281test "$program_suffix" != NONE &&
2282  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2283# Double any \ or $.
2284# By default was `s,x,x', remove it if useless.
2285ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2286program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2287
2288# Expand $ac_aux_dir to an absolute path.
2289am_aux_dir=`cd "$ac_aux_dir" && pwd`
2290
2291if test x"${MISSING+set}" != xset; then
2292  case $am_aux_dir in
2293  *\ * | *\	*)
2294    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2295  *)
2296    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2297  esac
2298fi
2299# Use eval to expand $SHELL
2300if eval "$MISSING --is-lightweight"; then
2301  am_missing_run="$MISSING "
2302else
2303  am_missing_run=
2304  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2305$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2306fi
2307
2308if test x"${install_sh+set}" != xset; then
2309  case $am_aux_dir in
2310  *\ * | *\	*)
2311    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2312  *)
2313    install_sh="\${SHELL} $am_aux_dir/install-sh"
2314  esac
2315fi
2316
2317# Installed binaries are usually stripped using 'strip' when the user
2318# run "make install-strip".  However 'strip' might not be the right
2319# tool to use in cross-compilation environments, therefore Automake
2320# will honor the 'STRIP' environment variable to overrule this program.
2321if test "$cross_compiling" != no; then
2322  if test -n "$ac_tool_prefix"; then
2323  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2324set dummy ${ac_tool_prefix}strip; ac_word=$2
2325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2326$as_echo_n "checking for $ac_word... " >&6; }
2327if ${ac_cv_prog_STRIP+:} false; then :
2328  $as_echo_n "(cached) " >&6
2329else
2330  if test -n "$STRIP"; then
2331  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2332else
2333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334for as_dir in $PATH
2335do
2336  IFS=$as_save_IFS
2337  test -z "$as_dir" && as_dir=.
2338    for ac_exec_ext in '' $ac_executable_extensions; do
2339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2342    break 2
2343  fi
2344done
2345  done
2346IFS=$as_save_IFS
2347
2348fi
2349fi
2350STRIP=$ac_cv_prog_STRIP
2351if test -n "$STRIP"; then
2352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2353$as_echo "$STRIP" >&6; }
2354else
2355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2356$as_echo "no" >&6; }
2357fi
2358
2359
2360fi
2361if test -z "$ac_cv_prog_STRIP"; then
2362  ac_ct_STRIP=$STRIP
2363  # Extract the first word of "strip", so it can be a program name with args.
2364set dummy strip; ac_word=$2
2365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2366$as_echo_n "checking for $ac_word... " >&6; }
2367if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2368  $as_echo_n "(cached) " >&6
2369else
2370  if test -n "$ac_ct_STRIP"; then
2371  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2372else
2373as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374for as_dir in $PATH
2375do
2376  IFS=$as_save_IFS
2377  test -z "$as_dir" && as_dir=.
2378    for ac_exec_ext in '' $ac_executable_extensions; do
2379  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380    ac_cv_prog_ac_ct_STRIP="strip"
2381    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2382    break 2
2383  fi
2384done
2385  done
2386IFS=$as_save_IFS
2387
2388fi
2389fi
2390ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2391if test -n "$ac_ct_STRIP"; then
2392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2393$as_echo "$ac_ct_STRIP" >&6; }
2394else
2395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2396$as_echo "no" >&6; }
2397fi
2398
2399  if test "x$ac_ct_STRIP" = x; then
2400    STRIP=":"
2401  else
2402    case $cross_compiling:$ac_tool_warned in
2403yes:)
2404{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2405$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2406ac_tool_warned=yes ;;
2407esac
2408    STRIP=$ac_ct_STRIP
2409  fi
2410else
2411  STRIP="$ac_cv_prog_STRIP"
2412fi
2413
2414fi
2415INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2416
2417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2418$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2419if test -z "$MKDIR_P"; then
2420  if ${ac_cv_path_mkdir+:} false; then :
2421  $as_echo_n "(cached) " >&6
2422else
2423  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2425do
2426  IFS=$as_save_IFS
2427  test -z "$as_dir" && as_dir=.
2428    for ac_prog in mkdir gmkdir; do
2429	 for ac_exec_ext in '' $ac_executable_extensions; do
2430	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2431	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2432	     'mkdir (GNU coreutils) '* | \
2433	     'mkdir (coreutils) '* | \
2434	     'mkdir (fileutils) '4.1*)
2435	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2436	       break 3;;
2437	   esac
2438	 done
2439       done
2440  done
2441IFS=$as_save_IFS
2442
2443fi
2444
2445  test -d ./--version && rmdir ./--version
2446  if test "${ac_cv_path_mkdir+set}" = set; then
2447    MKDIR_P="$ac_cv_path_mkdir -p"
2448  else
2449    # As a last resort, use the slow shell script.  Don't cache a
2450    # value for MKDIR_P within a source directory, because that will
2451    # break other packages using the cache if that directory is
2452    # removed, or if the value is a relative name.
2453    MKDIR_P="$ac_install_sh -d"
2454  fi
2455fi
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2457$as_echo "$MKDIR_P" >&6; }
2458
2459for ac_prog in gawk mawk nawk awk
2460do
2461  # Extract the first word of "$ac_prog", so it can be a program name with args.
2462set dummy $ac_prog; ac_word=$2
2463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464$as_echo_n "checking for $ac_word... " >&6; }
2465if ${ac_cv_prog_AWK+:} false; then :
2466  $as_echo_n "(cached) " >&6
2467else
2468  if test -n "$AWK"; then
2469  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2470else
2471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472for as_dir in $PATH
2473do
2474  IFS=$as_save_IFS
2475  test -z "$as_dir" && as_dir=.
2476    for ac_exec_ext in '' $ac_executable_extensions; do
2477  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2478    ac_cv_prog_AWK="$ac_prog"
2479    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480    break 2
2481  fi
2482done
2483  done
2484IFS=$as_save_IFS
2485
2486fi
2487fi
2488AWK=$ac_cv_prog_AWK
2489if test -n "$AWK"; then
2490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2491$as_echo "$AWK" >&6; }
2492else
2493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494$as_echo "no" >&6; }
2495fi
2496
2497
2498  test -n "$AWK" && break
2499done
2500
2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2503set x ${MAKE-make}
2504ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2505if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2506  $as_echo_n "(cached) " >&6
2507else
2508  cat >conftest.make <<\_ACEOF
2509SHELL = /bin/sh
2510all:
2511	@echo '@@@%%%=$(MAKE)=@@@%%%'
2512_ACEOF
2513# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2514case `${MAKE-make} -f conftest.make 2>/dev/null` in
2515  *@@@%%%=?*=@@@%%%*)
2516    eval ac_cv_prog_make_${ac_make}_set=yes;;
2517  *)
2518    eval ac_cv_prog_make_${ac_make}_set=no;;
2519esac
2520rm -f conftest.make
2521fi
2522if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524$as_echo "yes" >&6; }
2525  SET_MAKE=
2526else
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528$as_echo "no" >&6; }
2529  SET_MAKE="MAKE=${MAKE-make}"
2530fi
2531
2532rm -rf .tst 2>/dev/null
2533mkdir .tst 2>/dev/null
2534if test -d .tst; then
2535  am__leading_dot=.
2536else
2537  am__leading_dot=_
2538fi
2539rmdir .tst 2>/dev/null
2540
2541# Check whether --enable-silent-rules was given.
2542if test "${enable_silent_rules+set}" = set; then :
2543  enableval=$enable_silent_rules;
2544fi
2545
2546case $enable_silent_rules in # (((
2547  yes) AM_DEFAULT_VERBOSITY=0;;
2548   no) AM_DEFAULT_VERBOSITY=1;;
2549    *) AM_DEFAULT_VERBOSITY=1;;
2550esac
2551am_make=${MAKE-make}
2552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2553$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2554if ${am_cv_make_support_nested_variables+:} false; then :
2555  $as_echo_n "(cached) " >&6
2556else
2557  if $as_echo 'TRUE=$(BAR$(V))
2558BAR0=false
2559BAR1=true
2560V=1
2561am__doit:
2562	@$(TRUE)
2563.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2564  am_cv_make_support_nested_variables=yes
2565else
2566  am_cv_make_support_nested_variables=no
2567fi
2568fi
2569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2570$as_echo "$am_cv_make_support_nested_variables" >&6; }
2571if test $am_cv_make_support_nested_variables = yes; then
2572    AM_V='$(V)'
2573  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2574else
2575  AM_V=$AM_DEFAULT_VERBOSITY
2576  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2577fi
2578AM_BACKSLASH='\'
2579
2580if test "`cd $srcdir && pwd`" != "`pwd`"; then
2581  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2582  # is not polluted with repeated "-I."
2583  am__isrc=' -I$(srcdir)'
2584  # test to see if srcdir already configured
2585  if test -f $srcdir/config.status; then
2586    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2587  fi
2588fi
2589
2590# test whether we have cygpath
2591if test -z "$CYGPATH_W"; then
2592  if (cygpath --version) >/dev/null 2>/dev/null; then
2593    CYGPATH_W='cygpath -w'
2594  else
2595    CYGPATH_W=echo
2596  fi
2597fi
2598
2599
2600# Define the identity of the package.
2601 PACKAGE='xgamma'
2602 VERSION='1.0.6'
2603
2604
2605cat >>confdefs.h <<_ACEOF
2606#define PACKAGE "$PACKAGE"
2607_ACEOF
2608
2609
2610cat >>confdefs.h <<_ACEOF
2611#define VERSION "$VERSION"
2612_ACEOF
2613
2614# Some tools Automake needs.
2615
2616ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2617
2618
2619AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2620
2621
2622AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2623
2624
2625AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2626
2627
2628MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2629
2630# For better backward compatibility.  To be removed once Automake 1.9.x
2631# dies out for good.  For more background, see:
2632# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2633# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2634mkdir_p='$(MKDIR_P)'
2635
2636# We need awk for the "check" target (and possibly the TAP driver).  The
2637# system "awk" is bad on some platforms.
2638# Always define AMTAR for backward compatibility.  Yes, it's still used
2639# in the wild :-(  We should find a proper way to deprecate it ...
2640AMTAR='$${TAR-tar}'
2641
2642
2643# We'll loop over all known methods to create a tar archive until one works.
2644_am_tools='gnutar  pax cpio none'
2645
2646am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2647
2648
2649
2650
2651
2652
2653# POSIX will say in a future version that running "rm -f" with no argument
2654# is OK; and we want to be able to make that assumption in our Makefile
2655# recipes.  So use an aggressive probe to check that the usage we want is
2656# actually supported "in the wild" to an acceptable degree.
2657# See automake bug#10828.
2658# To make any issue more visible, cause the running configure to be aborted
2659# by default if the 'rm' program in use doesn't match our expectations; the
2660# user can still override this though.
2661if rm -f && rm -fr && rm -rf; then : OK; else
2662  cat >&2 <<'END'
2663Oops!
2664
2665Your 'rm' program seems unable to run without file operands specified
2666on the command line, even when the '-f' option is present.  This is contrary
2667to the behaviour of most rm programs out there, and not conforming with
2668the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2669
2670Please tell bug-automake@gnu.org about your system, including the value
2671of your $PATH and any error possibly output before this message.  This
2672can help us improve future automake versions.
2673
2674END
2675  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2676    echo 'Configuration will proceed anyway, since you have set the' >&2
2677    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2678    echo >&2
2679  else
2680    cat >&2 <<'END'
2681Aborting the configuration process, to ensure you take notice of the issue.
2682
2683You can download and install GNU coreutils to get an 'rm' implementation
2684that behaves properly: <http://www.gnu.org/software/coreutils/>.
2685
2686If you want to complete the configuration process using your problematic
2687'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2688to "yes", and re-run configure.
2689
2690END
2691    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2692  fi
2693fi
2694
2695
2696# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708DEPDIR="${am__leading_dot}deps"
2709
2710ac_config_commands="$ac_config_commands depfiles"
2711
2712
2713am_make=${MAKE-make}
2714cat > confinc << 'END'
2715am__doit:
2716	@echo this is the am__doit target
2717.PHONY: am__doit
2718END
2719# If we don't find an include directive, just comment out the code.
2720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2721$as_echo_n "checking for style of include used by $am_make... " >&6; }
2722am__include="#"
2723am__quote=
2724_am_result=none
2725# First try GNU make style include.
2726echo "include confinc" > confmf
2727# Ignore all kinds of additional output from 'make'.
2728case `$am_make -s -f confmf 2> /dev/null` in #(
2729*the\ am__doit\ target*)
2730  am__include=include
2731  am__quote=
2732  _am_result=GNU
2733  ;;
2734esac
2735# Now try BSD make style include.
2736if test "$am__include" = "#"; then
2737   echo '.include "confinc"' > confmf
2738   case `$am_make -s -f confmf 2> /dev/null` in #(
2739   *the\ am__doit\ target*)
2740     am__include=.include
2741     am__quote="\""
2742     _am_result=BSD
2743     ;;
2744   esac
2745fi
2746
2747
2748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2749$as_echo "$_am_result" >&6; }
2750rm -f confinc confmf
2751
2752# Check whether --enable-dependency-tracking was given.
2753if test "${enable_dependency_tracking+set}" = set; then :
2754  enableval=$enable_dependency_tracking;
2755fi
2756
2757if test "x$enable_dependency_tracking" != xno; then
2758  am_depcomp="$ac_aux_dir/depcomp"
2759  AMDEPBACKSLASH='\'
2760  am__nodep='_no'
2761fi
2762 if test "x$enable_dependency_tracking" != xno; then
2763  AMDEP_TRUE=
2764  AMDEP_FALSE='#'
2765else
2766  AMDEP_TRUE='#'
2767  AMDEP_FALSE=
2768fi
2769
2770
2771ac_ext=c
2772ac_cpp='$CPP $CPPFLAGS'
2773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776if test -n "$ac_tool_prefix"; then
2777  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2778set dummy ${ac_tool_prefix}gcc; ac_word=$2
2779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780$as_echo_n "checking for $ac_word... " >&6; }
2781if ${ac_cv_prog_CC+:} false; then :
2782  $as_echo_n "(cached) " >&6
2783else
2784  if test -n "$CC"; then
2785  ac_cv_prog_CC="$CC" # Let the user override the test.
2786else
2787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788for as_dir in $PATH
2789do
2790  IFS=$as_save_IFS
2791  test -z "$as_dir" && as_dir=.
2792    for ac_exec_ext in '' $ac_executable_extensions; do
2793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796    break 2
2797  fi
2798done
2799  done
2800IFS=$as_save_IFS
2801
2802fi
2803fi
2804CC=$ac_cv_prog_CC
2805if test -n "$CC"; then
2806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2807$as_echo "$CC" >&6; }
2808else
2809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810$as_echo "no" >&6; }
2811fi
2812
2813
2814fi
2815if test -z "$ac_cv_prog_CC"; then
2816  ac_ct_CC=$CC
2817  # Extract the first word of "gcc", so it can be a program name with args.
2818set dummy gcc; ac_word=$2
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820$as_echo_n "checking for $ac_word... " >&6; }
2821if ${ac_cv_prog_ac_ct_CC+:} false; then :
2822  $as_echo_n "(cached) " >&6
2823else
2824  if test -n "$ac_ct_CC"; then
2825  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2826else
2827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828for as_dir in $PATH
2829do
2830  IFS=$as_save_IFS
2831  test -z "$as_dir" && as_dir=.
2832    for ac_exec_ext in '' $ac_executable_extensions; do
2833  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834    ac_cv_prog_ac_ct_CC="gcc"
2835    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836    break 2
2837  fi
2838done
2839  done
2840IFS=$as_save_IFS
2841
2842fi
2843fi
2844ac_ct_CC=$ac_cv_prog_ac_ct_CC
2845if test -n "$ac_ct_CC"; then
2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2847$as_echo "$ac_ct_CC" >&6; }
2848else
2849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850$as_echo "no" >&6; }
2851fi
2852
2853  if test "x$ac_ct_CC" = x; then
2854    CC=""
2855  else
2856    case $cross_compiling:$ac_tool_warned in
2857yes:)
2858{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2859$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2860ac_tool_warned=yes ;;
2861esac
2862    CC=$ac_ct_CC
2863  fi
2864else
2865  CC="$ac_cv_prog_CC"
2866fi
2867
2868if test -z "$CC"; then
2869          if test -n "$ac_tool_prefix"; then
2870    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2871set dummy ${ac_tool_prefix}cc; ac_word=$2
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873$as_echo_n "checking for $ac_word... " >&6; }
2874if ${ac_cv_prog_CC+:} false; then :
2875  $as_echo_n "(cached) " >&6
2876else
2877  if test -n "$CC"; then
2878  ac_cv_prog_CC="$CC" # Let the user override the test.
2879else
2880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881for as_dir in $PATH
2882do
2883  IFS=$as_save_IFS
2884  test -z "$as_dir" && as_dir=.
2885    for ac_exec_ext in '' $ac_executable_extensions; do
2886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887    ac_cv_prog_CC="${ac_tool_prefix}cc"
2888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889    break 2
2890  fi
2891done
2892  done
2893IFS=$as_save_IFS
2894
2895fi
2896fi
2897CC=$ac_cv_prog_CC
2898if test -n "$CC"; then
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900$as_echo "$CC" >&6; }
2901else
2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903$as_echo "no" >&6; }
2904fi
2905
2906
2907  fi
2908fi
2909if test -z "$CC"; then
2910  # Extract the first word of "cc", so it can be a program name with args.
2911set dummy cc; ac_word=$2
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913$as_echo_n "checking for $ac_word... " >&6; }
2914if ${ac_cv_prog_CC+:} false; then :
2915  $as_echo_n "(cached) " >&6
2916else
2917  if test -n "$CC"; then
2918  ac_cv_prog_CC="$CC" # Let the user override the test.
2919else
2920  ac_prog_rejected=no
2921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922for as_dir in $PATH
2923do
2924  IFS=$as_save_IFS
2925  test -z "$as_dir" && as_dir=.
2926    for ac_exec_ext in '' $ac_executable_extensions; do
2927  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2929       ac_prog_rejected=yes
2930       continue
2931     fi
2932    ac_cv_prog_CC="cc"
2933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934    break 2
2935  fi
2936done
2937  done
2938IFS=$as_save_IFS
2939
2940if test $ac_prog_rejected = yes; then
2941  # We found a bogon in the path, so make sure we never use it.
2942  set dummy $ac_cv_prog_CC
2943  shift
2944  if test $# != 0; then
2945    # We chose a different compiler from the bogus one.
2946    # However, it has the same basename, so the bogon will be chosen
2947    # first if we set CC to just the basename; use the full file name.
2948    shift
2949    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2950  fi
2951fi
2952fi
2953fi
2954CC=$ac_cv_prog_CC
2955if test -n "$CC"; then
2956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2957$as_echo "$CC" >&6; }
2958else
2959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960$as_echo "no" >&6; }
2961fi
2962
2963
2964fi
2965if test -z "$CC"; then
2966  if test -n "$ac_tool_prefix"; then
2967  for ac_prog in cl.exe
2968  do
2969    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972$as_echo_n "checking for $ac_word... " >&6; }
2973if ${ac_cv_prog_CC+:} false; then :
2974  $as_echo_n "(cached) " >&6
2975else
2976  if test -n "$CC"; then
2977  ac_cv_prog_CC="$CC" # Let the user override the test.
2978else
2979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980for as_dir in $PATH
2981do
2982  IFS=$as_save_IFS
2983  test -z "$as_dir" && as_dir=.
2984    for ac_exec_ext in '' $ac_executable_extensions; do
2985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2986    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988    break 2
2989  fi
2990done
2991  done
2992IFS=$as_save_IFS
2993
2994fi
2995fi
2996CC=$ac_cv_prog_CC
2997if test -n "$CC"; then
2998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2999$as_echo "$CC" >&6; }
3000else
3001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3002$as_echo "no" >&6; }
3003fi
3004
3005
3006    test -n "$CC" && break
3007  done
3008fi
3009if test -z "$CC"; then
3010  ac_ct_CC=$CC
3011  for ac_prog in cl.exe
3012do
3013  # Extract the first word of "$ac_prog", so it can be a program name with args.
3014set dummy $ac_prog; ac_word=$2
3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016$as_echo_n "checking for $ac_word... " >&6; }
3017if ${ac_cv_prog_ac_ct_CC+:} false; then :
3018  $as_echo_n "(cached) " >&6
3019else
3020  if test -n "$ac_ct_CC"; then
3021  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3022else
3023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024for as_dir in $PATH
3025do
3026  IFS=$as_save_IFS
3027  test -z "$as_dir" && as_dir=.
3028    for ac_exec_ext in '' $ac_executable_extensions; do
3029  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030    ac_cv_prog_ac_ct_CC="$ac_prog"
3031    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032    break 2
3033  fi
3034done
3035  done
3036IFS=$as_save_IFS
3037
3038fi
3039fi
3040ac_ct_CC=$ac_cv_prog_ac_ct_CC
3041if test -n "$ac_ct_CC"; then
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3043$as_echo "$ac_ct_CC" >&6; }
3044else
3045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046$as_echo "no" >&6; }
3047fi
3048
3049
3050  test -n "$ac_ct_CC" && break
3051done
3052
3053  if test "x$ac_ct_CC" = x; then
3054    CC=""
3055  else
3056    case $cross_compiling:$ac_tool_warned in
3057yes:)
3058{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3059$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3060ac_tool_warned=yes ;;
3061esac
3062    CC=$ac_ct_CC
3063  fi
3064fi
3065
3066fi
3067
3068
3069test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3070$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3071as_fn_error $? "no acceptable C compiler found in \$PATH
3072See \`config.log' for more details" "$LINENO" 5; }
3073
3074# Provide some information about the compiler.
3075$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3076set X $ac_compile
3077ac_compiler=$2
3078for ac_option in --version -v -V -qversion; do
3079  { { ac_try="$ac_compiler $ac_option >&5"
3080case "(($ac_try" in
3081  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082  *) ac_try_echo=$ac_try;;
3083esac
3084eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085$as_echo "$ac_try_echo"; } >&5
3086  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3087  ac_status=$?
3088  if test -s conftest.err; then
3089    sed '10a\
3090... rest of stderr output deleted ...
3091         10q' conftest.err >conftest.er1
3092    cat conftest.er1 >&5
3093  fi
3094  rm -f conftest.er1 conftest.err
3095  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3096  test $ac_status = 0; }
3097done
3098
3099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100/* end confdefs.h.  */
3101
3102int
3103main ()
3104{
3105
3106  ;
3107  return 0;
3108}
3109_ACEOF
3110ac_clean_files_save=$ac_clean_files
3111ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3112# Try to create an executable without -o first, disregard a.out.
3113# It will help us diagnose broken compilers, and finding out an intuition
3114# of exeext.
3115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3116$as_echo_n "checking whether the C compiler works... " >&6; }
3117ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3118
3119# The possible output files:
3120ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3121
3122ac_rmfiles=
3123for ac_file in $ac_files
3124do
3125  case $ac_file in
3126    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3127    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3128  esac
3129done
3130rm -f $ac_rmfiles
3131
3132if { { ac_try="$ac_link_default"
3133case "(($ac_try" in
3134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135  *) ac_try_echo=$ac_try;;
3136esac
3137eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138$as_echo "$ac_try_echo"; } >&5
3139  (eval "$ac_link_default") 2>&5
3140  ac_status=$?
3141  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142  test $ac_status = 0; }; then :
3143  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3144# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3145# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3146# so that the user can short-circuit this test for compilers unknown to
3147# Autoconf.
3148for ac_file in $ac_files ''
3149do
3150  test -f "$ac_file" || continue
3151  case $ac_file in
3152    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3153	;;
3154    [ab].out )
3155	# We found the default executable, but exeext='' is most
3156	# certainly right.
3157	break;;
3158    *.* )
3159	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3160	then :; else
3161	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3162	fi
3163	# We set ac_cv_exeext here because the later test for it is not
3164	# safe: cross compilers may not add the suffix if given an `-o'
3165	# argument, so we may need to know it at that point already.
3166	# Even if this section looks crufty: it has the advantage of
3167	# actually working.
3168	break;;
3169    * )
3170	break;;
3171  esac
3172done
3173test "$ac_cv_exeext" = no && ac_cv_exeext=
3174
3175else
3176  ac_file=''
3177fi
3178if test -z "$ac_file"; then :
3179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180$as_echo "no" >&6; }
3181$as_echo "$as_me: failed program was:" >&5
3182sed 's/^/| /' conftest.$ac_ext >&5
3183
3184{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186as_fn_error 77 "C compiler cannot create executables
3187See \`config.log' for more details" "$LINENO" 5; }
3188else
3189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3190$as_echo "yes" >&6; }
3191fi
3192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3193$as_echo_n "checking for C compiler default output file name... " >&6; }
3194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3195$as_echo "$ac_file" >&6; }
3196ac_exeext=$ac_cv_exeext
3197
3198rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3199ac_clean_files=$ac_clean_files_save
3200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3201$as_echo_n "checking for suffix of executables... " >&6; }
3202if { { ac_try="$ac_link"
3203case "(($ac_try" in
3204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205  *) ac_try_echo=$ac_try;;
3206esac
3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208$as_echo "$ac_try_echo"; } >&5
3209  (eval "$ac_link") 2>&5
3210  ac_status=$?
3211  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212  test $ac_status = 0; }; then :
3213  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3214# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3215# work properly (i.e., refer to `conftest.exe'), while it won't with
3216# `rm'.
3217for ac_file in conftest.exe conftest conftest.*; do
3218  test -f "$ac_file" || continue
3219  case $ac_file in
3220    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3221    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3222	  break;;
3223    * ) break;;
3224  esac
3225done
3226else
3227  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3230See \`config.log' for more details" "$LINENO" 5; }
3231fi
3232rm -f conftest conftest$ac_cv_exeext
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3234$as_echo "$ac_cv_exeext" >&6; }
3235
3236rm -f conftest.$ac_ext
3237EXEEXT=$ac_cv_exeext
3238ac_exeext=$EXEEXT
3239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240/* end confdefs.h.  */
3241#include <stdio.h>
3242int
3243main ()
3244{
3245FILE *f = fopen ("conftest.out", "w");
3246 return ferror (f) || fclose (f) != 0;
3247
3248  ;
3249  return 0;
3250}
3251_ACEOF
3252ac_clean_files="$ac_clean_files conftest.out"
3253# Check that the compiler produces executables we can run.  If not, either
3254# the compiler is broken, or we cross compile.
3255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3256$as_echo_n "checking whether we are cross compiling... " >&6; }
3257if test "$cross_compiling" != yes; then
3258  { { ac_try="$ac_link"
3259case "(($ac_try" in
3260  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261  *) ac_try_echo=$ac_try;;
3262esac
3263eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264$as_echo "$ac_try_echo"; } >&5
3265  (eval "$ac_link") 2>&5
3266  ac_status=$?
3267  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268  test $ac_status = 0; }
3269  if { ac_try='./conftest$ac_cv_exeext'
3270  { { case "(($ac_try" in
3271  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272  *) ac_try_echo=$ac_try;;
3273esac
3274eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3275$as_echo "$ac_try_echo"; } >&5
3276  (eval "$ac_try") 2>&5
3277  ac_status=$?
3278  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279  test $ac_status = 0; }; }; then
3280    cross_compiling=no
3281  else
3282    if test "$cross_compiling" = maybe; then
3283	cross_compiling=yes
3284    else
3285	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287as_fn_error $? "cannot run C compiled programs.
3288If you meant to cross compile, use \`--host'.
3289See \`config.log' for more details" "$LINENO" 5; }
3290    fi
3291  fi
3292fi
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3294$as_echo "$cross_compiling" >&6; }
3295
3296rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3297ac_clean_files=$ac_clean_files_save
3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3299$as_echo_n "checking for suffix of object files... " >&6; }
3300if ${ac_cv_objext+:} false; then :
3301  $as_echo_n "(cached) " >&6
3302else
3303  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304/* end confdefs.h.  */
3305
3306int
3307main ()
3308{
3309
3310  ;
3311  return 0;
3312}
3313_ACEOF
3314rm -f conftest.o conftest.obj
3315if { { ac_try="$ac_compile"
3316case "(($ac_try" in
3317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318  *) ac_try_echo=$ac_try;;
3319esac
3320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321$as_echo "$ac_try_echo"; } >&5
3322  (eval "$ac_compile") 2>&5
3323  ac_status=$?
3324  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325  test $ac_status = 0; }; then :
3326  for ac_file in conftest.o conftest.obj conftest.*; do
3327  test -f "$ac_file" || continue;
3328  case $ac_file in
3329    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3330    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3331       break;;
3332  esac
3333done
3334else
3335  $as_echo "$as_me: failed program was:" >&5
3336sed 's/^/| /' conftest.$ac_ext >&5
3337
3338{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3340as_fn_error $? "cannot compute suffix of object files: cannot compile
3341See \`config.log' for more details" "$LINENO" 5; }
3342fi
3343rm -f conftest.$ac_cv_objext conftest.$ac_ext
3344fi
3345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3346$as_echo "$ac_cv_objext" >&6; }
3347OBJEXT=$ac_cv_objext
3348ac_objext=$OBJEXT
3349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3350$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3351if ${ac_cv_c_compiler_gnu+:} false; then :
3352  $as_echo_n "(cached) " >&6
3353else
3354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355/* end confdefs.h.  */
3356
3357int
3358main ()
3359{
3360#ifndef __GNUC__
3361       choke me
3362#endif
3363
3364  ;
3365  return 0;
3366}
3367_ACEOF
3368if ac_fn_c_try_compile "$LINENO"; then :
3369  ac_compiler_gnu=yes
3370else
3371  ac_compiler_gnu=no
3372fi
3373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374ac_cv_c_compiler_gnu=$ac_compiler_gnu
3375
3376fi
3377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3378$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3379if test $ac_compiler_gnu = yes; then
3380  GCC=yes
3381else
3382  GCC=
3383fi
3384ac_test_CFLAGS=${CFLAGS+set}
3385ac_save_CFLAGS=$CFLAGS
3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3387$as_echo_n "checking whether $CC accepts -g... " >&6; }
3388if ${ac_cv_prog_cc_g+:} false; then :
3389  $as_echo_n "(cached) " >&6
3390else
3391  ac_save_c_werror_flag=$ac_c_werror_flag
3392   ac_c_werror_flag=yes
3393   ac_cv_prog_cc_g=no
3394   CFLAGS="-g"
3395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396/* end confdefs.h.  */
3397
3398int
3399main ()
3400{
3401
3402  ;
3403  return 0;
3404}
3405_ACEOF
3406if ac_fn_c_try_compile "$LINENO"; then :
3407  ac_cv_prog_cc_g=yes
3408else
3409  CFLAGS=""
3410      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411/* end confdefs.h.  */
3412
3413int
3414main ()
3415{
3416
3417  ;
3418  return 0;
3419}
3420_ACEOF
3421if ac_fn_c_try_compile "$LINENO"; then :
3422
3423else
3424  ac_c_werror_flag=$ac_save_c_werror_flag
3425	 CFLAGS="-g"
3426	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427/* end confdefs.h.  */
3428
3429int
3430main ()
3431{
3432
3433  ;
3434  return 0;
3435}
3436_ACEOF
3437if ac_fn_c_try_compile "$LINENO"; then :
3438  ac_cv_prog_cc_g=yes
3439fi
3440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441fi
3442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443fi
3444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445   ac_c_werror_flag=$ac_save_c_werror_flag
3446fi
3447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3448$as_echo "$ac_cv_prog_cc_g" >&6; }
3449if test "$ac_test_CFLAGS" = set; then
3450  CFLAGS=$ac_save_CFLAGS
3451elif test $ac_cv_prog_cc_g = yes; then
3452  if test "$GCC" = yes; then
3453    CFLAGS="-g -O2"
3454  else
3455    CFLAGS="-g"
3456  fi
3457else
3458  if test "$GCC" = yes; then
3459    CFLAGS="-O2"
3460  else
3461    CFLAGS=
3462  fi
3463fi
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3465$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3466if ${ac_cv_prog_cc_c89+:} false; then :
3467  $as_echo_n "(cached) " >&6
3468else
3469  ac_cv_prog_cc_c89=no
3470ac_save_CC=$CC
3471cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472/* end confdefs.h.  */
3473#include <stdarg.h>
3474#include <stdio.h>
3475struct stat;
3476/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3477struct buf { int x; };
3478FILE * (*rcsopen) (struct buf *, struct stat *, int);
3479static char *e (p, i)
3480     char **p;
3481     int i;
3482{
3483  return p[i];
3484}
3485static char *f (char * (*g) (char **, int), char **p, ...)
3486{
3487  char *s;
3488  va_list v;
3489  va_start (v,p);
3490  s = g (p, va_arg (v,int));
3491  va_end (v);
3492  return s;
3493}
3494
3495/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3496   function prototypes and stuff, but not '\xHH' hex character constants.
3497   These don't provoke an error unfortunately, instead are silently treated
3498   as 'x'.  The following induces an error, until -std is added to get
3499   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3500   array size at least.  It's necessary to write '\x00'==0 to get something
3501   that's true only with -std.  */
3502int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3503
3504/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3505   inside strings and character constants.  */
3506#define FOO(x) 'x'
3507int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3508
3509int test (int i, double x);
3510struct s1 {int (*f) (int a);};
3511struct s2 {int (*f) (double a);};
3512int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3513int argc;
3514char **argv;
3515int
3516main ()
3517{
3518return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3519  ;
3520  return 0;
3521}
3522_ACEOF
3523for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3524	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3525do
3526  CC="$ac_save_CC $ac_arg"
3527  if ac_fn_c_try_compile "$LINENO"; then :
3528  ac_cv_prog_cc_c89=$ac_arg
3529fi
3530rm -f core conftest.err conftest.$ac_objext
3531  test "x$ac_cv_prog_cc_c89" != "xno" && break
3532done
3533rm -f conftest.$ac_ext
3534CC=$ac_save_CC
3535
3536fi
3537# AC_CACHE_VAL
3538case "x$ac_cv_prog_cc_c89" in
3539  x)
3540    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3541$as_echo "none needed" >&6; } ;;
3542  xno)
3543    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3544$as_echo "unsupported" >&6; } ;;
3545  *)
3546    CC="$CC $ac_cv_prog_cc_c89"
3547    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3548$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3549esac
3550if test "x$ac_cv_prog_cc_c89" != xno; then :
3551
3552fi
3553
3554ac_ext=c
3555ac_cpp='$CPP $CPPFLAGS'
3556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3558ac_compiler_gnu=$ac_cv_c_compiler_gnu
3559
3560ac_ext=c
3561ac_cpp='$CPP $CPPFLAGS'
3562ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3563ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3564ac_compiler_gnu=$ac_cv_c_compiler_gnu
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3566$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3567if ${am_cv_prog_cc_c_o+:} false; then :
3568  $as_echo_n "(cached) " >&6
3569else
3570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571/* end confdefs.h.  */
3572
3573int
3574main ()
3575{
3576
3577  ;
3578  return 0;
3579}
3580_ACEOF
3581  # Make sure it works both with $CC and with simple cc.
3582  # Following AC_PROG_CC_C_O, we do the test twice because some
3583  # compilers refuse to overwrite an existing .o file with -o,
3584  # though they will create one.
3585  am_cv_prog_cc_c_o=yes
3586  for am_i in 1 2; do
3587    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3588   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3589   ac_status=$?
3590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591   (exit $ac_status); } \
3592         && test -f conftest2.$ac_objext; then
3593      : OK
3594    else
3595      am_cv_prog_cc_c_o=no
3596      break
3597    fi
3598  done
3599  rm -f core conftest*
3600  unset am_i
3601fi
3602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3603$as_echo "$am_cv_prog_cc_c_o" >&6; }
3604if test "$am_cv_prog_cc_c_o" != yes; then
3605   # Losing compiler, so override with the script.
3606   # FIXME: It is wrong to rewrite CC.
3607   # But if we don't then we get into trouble of one sort or another.
3608   # A longer-term fix would be to have automake use am__CC in this case,
3609   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3610   CC="$am_aux_dir/compile $CC"
3611fi
3612ac_ext=c
3613ac_cpp='$CPP $CPPFLAGS'
3614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616ac_compiler_gnu=$ac_cv_c_compiler_gnu
3617
3618
3619depcc="$CC"   am_compiler_list=
3620
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3622$as_echo_n "checking dependency style of $depcc... " >&6; }
3623if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3624  $as_echo_n "(cached) " >&6
3625else
3626  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3627  # We make a subdir and do the tests there.  Otherwise we can end up
3628  # making bogus files that we don't know about and never remove.  For
3629  # instance it was reported that on HP-UX the gcc test will end up
3630  # making a dummy file named 'D' -- because '-MD' means "put the output
3631  # in D".
3632  rm -rf conftest.dir
3633  mkdir conftest.dir
3634  # Copy depcomp to subdir because otherwise we won't find it if we're
3635  # using a relative directory.
3636  cp "$am_depcomp" conftest.dir
3637  cd conftest.dir
3638  # We will build objects and dependencies in a subdirectory because
3639  # it helps to detect inapplicable dependency modes.  For instance
3640  # both Tru64's cc and ICC support -MD to output dependencies as a
3641  # side effect of compilation, but ICC will put the dependencies in
3642  # the current directory while Tru64 will put them in the object
3643  # directory.
3644  mkdir sub
3645
3646  am_cv_CC_dependencies_compiler_type=none
3647  if test "$am_compiler_list" = ""; then
3648     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3649  fi
3650  am__universal=false
3651  case " $depcc " in #(
3652     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3653     esac
3654
3655  for depmode in $am_compiler_list; do
3656    # Setup a source with many dependencies, because some compilers
3657    # like to wrap large dependency lists on column 80 (with \), and
3658    # we should not choose a depcomp mode which is confused by this.
3659    #
3660    # We need to recreate these files for each test, as the compiler may
3661    # overwrite some of them when testing with obscure command lines.
3662    # This happens at least with the AIX C compiler.
3663    : > sub/conftest.c
3664    for i in 1 2 3 4 5 6; do
3665      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3666      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3667      # Solaris 10 /bin/sh.
3668      echo '/* dummy */' > sub/conftst$i.h
3669    done
3670    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3671
3672    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3673    # mode.  It turns out that the SunPro C++ compiler does not properly
3674    # handle '-M -o', and we need to detect this.  Also, some Intel
3675    # versions had trouble with output in subdirs.
3676    am__obj=sub/conftest.${OBJEXT-o}
3677    am__minus_obj="-o $am__obj"
3678    case $depmode in
3679    gcc)
3680      # This depmode causes a compiler race in universal mode.
3681      test "$am__universal" = false || continue
3682      ;;
3683    nosideeffect)
3684      # After this tag, mechanisms are not by side-effect, so they'll
3685      # only be used when explicitly requested.
3686      if test "x$enable_dependency_tracking" = xyes; then
3687	continue
3688      else
3689	break
3690      fi
3691      ;;
3692    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3693      # This compiler won't grok '-c -o', but also, the minuso test has
3694      # not run yet.  These depmodes are late enough in the game, and
3695      # so weak that their functioning should not be impacted.
3696      am__obj=conftest.${OBJEXT-o}
3697      am__minus_obj=
3698      ;;
3699    none) break ;;
3700    esac
3701    if depmode=$depmode \
3702       source=sub/conftest.c object=$am__obj \
3703       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3704       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3705         >/dev/null 2>conftest.err &&
3706       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3707       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3708       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3709       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3710      # icc doesn't choke on unknown options, it will just issue warnings
3711      # or remarks (even with -Werror).  So we grep stderr for any message
3712      # that says an option was ignored or not supported.
3713      # When given -MP, icc 7.0 and 7.1 complain thusly:
3714      #   icc: Command line warning: ignoring option '-M'; no argument required
3715      # The diagnosis changed in icc 8.0:
3716      #   icc: Command line remark: option '-MP' not supported
3717      if (grep 'ignoring option' conftest.err ||
3718          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3719        am_cv_CC_dependencies_compiler_type=$depmode
3720        break
3721      fi
3722    fi
3723  done
3724
3725  cd ..
3726  rm -rf conftest.dir
3727else
3728  am_cv_CC_dependencies_compiler_type=none
3729fi
3730
3731fi
3732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3733$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3734CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3735
3736 if
3737  test "x$enable_dependency_tracking" != xno \
3738  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3739  am__fastdepCC_TRUE=
3740  am__fastdepCC_FALSE='#'
3741else
3742  am__fastdepCC_TRUE='#'
3743  am__fastdepCC_FALSE=
3744fi
3745
3746
3747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3748$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3749if ${ac_cv_prog_cc_c99+:} false; then :
3750  $as_echo_n "(cached) " >&6
3751else
3752  ac_cv_prog_cc_c99=no
3753ac_save_CC=$CC
3754cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755/* end confdefs.h.  */
3756#include <stdarg.h>
3757#include <stdbool.h>
3758#include <stdlib.h>
3759#include <wchar.h>
3760#include <stdio.h>
3761
3762// Check varargs macros.  These examples are taken from C99 6.10.3.5.
3763#define debug(...) fprintf (stderr, __VA_ARGS__)
3764#define showlist(...) puts (#__VA_ARGS__)
3765#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3766static void
3767test_varargs_macros (void)
3768{
3769  int x = 1234;
3770  int y = 5678;
3771  debug ("Flag");
3772  debug ("X = %d\n", x);
3773  showlist (The first, second, and third items.);
3774  report (x>y, "x is %d but y is %d", x, y);
3775}
3776
3777// Check long long types.
3778#define BIG64 18446744073709551615ull
3779#define BIG32 4294967295ul
3780#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3781#if !BIG_OK
3782  your preprocessor is broken;
3783#endif
3784#if BIG_OK
3785#else
3786  your preprocessor is broken;
3787#endif
3788static long long int bignum = -9223372036854775807LL;
3789static unsigned long long int ubignum = BIG64;
3790
3791struct incomplete_array
3792{
3793  int datasize;
3794  double data[];
3795};
3796
3797struct named_init {
3798  int number;
3799  const wchar_t *name;
3800  double average;
3801};
3802
3803typedef const char *ccp;
3804
3805static inline int
3806test_restrict (ccp restrict text)
3807{
3808  // See if C++-style comments work.
3809  // Iterate through items via the restricted pointer.
3810  // Also check for declarations in for loops.
3811  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3812    continue;
3813  return 0;
3814}
3815
3816// Check varargs and va_copy.
3817static void
3818test_varargs (const char *format, ...)
3819{
3820  va_list args;
3821  va_start (args, format);
3822  va_list args_copy;
3823  va_copy (args_copy, args);
3824
3825  const char *str;
3826  int number;
3827  float fnumber;
3828
3829  while (*format)
3830    {
3831      switch (*format++)
3832	{
3833	case 's': // string
3834	  str = va_arg (args_copy, const char *);
3835	  break;
3836	case 'd': // int
3837	  number = va_arg (args_copy, int);
3838	  break;
3839	case 'f': // float
3840	  fnumber = va_arg (args_copy, double);
3841	  break;
3842	default:
3843	  break;
3844	}
3845    }
3846  va_end (args_copy);
3847  va_end (args);
3848}
3849
3850int
3851main ()
3852{
3853
3854  // Check bool.
3855  _Bool success = false;
3856
3857  // Check restrict.
3858  if (test_restrict ("String literal") == 0)
3859    success = true;
3860  char *restrict newvar = "Another string";
3861
3862  // Check varargs.
3863  test_varargs ("s, d' f .", "string", 65, 34.234);
3864  test_varargs_macros ();
3865
3866  // Check flexible array members.
3867  struct incomplete_array *ia =
3868    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3869  ia->datasize = 10;
3870  for (int i = 0; i < ia->datasize; ++i)
3871    ia->data[i] = i * 1.234;
3872
3873  // Check named initializers.
3874  struct named_init ni = {
3875    .number = 34,
3876    .name = L"Test wide string",
3877    .average = 543.34343,
3878  };
3879
3880  ni.number = 58;
3881
3882  int dynamic_array[ni.number];
3883  dynamic_array[ni.number - 1] = 543;
3884
3885  // work around unused variable warnings
3886  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3887	  || dynamic_array[ni.number - 1] != 543);
3888
3889  ;
3890  return 0;
3891}
3892_ACEOF
3893for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3894do
3895  CC="$ac_save_CC $ac_arg"
3896  if ac_fn_c_try_compile "$LINENO"; then :
3897  ac_cv_prog_cc_c99=$ac_arg
3898fi
3899rm -f core conftest.err conftest.$ac_objext
3900  test "x$ac_cv_prog_cc_c99" != "xno" && break
3901done
3902rm -f conftest.$ac_ext
3903CC=$ac_save_CC
3904
3905fi
3906# AC_CACHE_VAL
3907case "x$ac_cv_prog_cc_c99" in
3908  x)
3909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3910$as_echo "none needed" >&6; } ;;
3911  xno)
3912    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3913$as_echo "unsupported" >&6; } ;;
3914  *)
3915    CC="$CC $ac_cv_prog_cc_c99"
3916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3917$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3918esac
3919if test "x$ac_cv_prog_cc_c99" != xno; then :
3920
3921fi
3922
3923
3924
3925ac_ext=c
3926ac_cpp='$CPP $CPPFLAGS'
3927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3931$as_echo_n "checking how to run the C preprocessor... " >&6; }
3932# On Suns, sometimes $CPP names a directory.
3933if test -n "$CPP" && test -d "$CPP"; then
3934  CPP=
3935fi
3936if test -z "$CPP"; then
3937  if ${ac_cv_prog_CPP+:} false; then :
3938  $as_echo_n "(cached) " >&6
3939else
3940      # Double quotes because CPP needs to be expanded
3941    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3942    do
3943      ac_preproc_ok=false
3944for ac_c_preproc_warn_flag in '' yes
3945do
3946  # Use a header file that comes with gcc, so configuring glibc
3947  # with a fresh cross-compiler works.
3948  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3949  # <limits.h> exists even on freestanding compilers.
3950  # On the NeXT, cc -E runs the code through the compiler's parser,
3951  # not just through cpp. "Syntax error" is here to catch this case.
3952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953/* end confdefs.h.  */
3954#ifdef __STDC__
3955# include <limits.h>
3956#else
3957# include <assert.h>
3958#endif
3959		     Syntax error
3960_ACEOF
3961if ac_fn_c_try_cpp "$LINENO"; then :
3962
3963else
3964  # Broken: fails on valid input.
3965continue
3966fi
3967rm -f conftest.err conftest.i conftest.$ac_ext
3968
3969  # OK, works on sane cases.  Now check whether nonexistent headers
3970  # can be detected and how.
3971  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972/* end confdefs.h.  */
3973#include <ac_nonexistent.h>
3974_ACEOF
3975if ac_fn_c_try_cpp "$LINENO"; then :
3976  # Broken: success on invalid input.
3977continue
3978else
3979  # Passes both tests.
3980ac_preproc_ok=:
3981break
3982fi
3983rm -f conftest.err conftest.i conftest.$ac_ext
3984
3985done
3986# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3987rm -f conftest.i conftest.err conftest.$ac_ext
3988if $ac_preproc_ok; then :
3989  break
3990fi
3991
3992    done
3993    ac_cv_prog_CPP=$CPP
3994
3995fi
3996  CPP=$ac_cv_prog_CPP
3997else
3998  ac_cv_prog_CPP=$CPP
3999fi
4000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4001$as_echo "$CPP" >&6; }
4002ac_preproc_ok=false
4003for ac_c_preproc_warn_flag in '' yes
4004do
4005  # Use a header file that comes with gcc, so configuring glibc
4006  # with a fresh cross-compiler works.
4007  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4008  # <limits.h> exists even on freestanding compilers.
4009  # On the NeXT, cc -E runs the code through the compiler's parser,
4010  # not just through cpp. "Syntax error" is here to catch this case.
4011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012/* end confdefs.h.  */
4013#ifdef __STDC__
4014# include <limits.h>
4015#else
4016# include <assert.h>
4017#endif
4018		     Syntax error
4019_ACEOF
4020if ac_fn_c_try_cpp "$LINENO"; then :
4021
4022else
4023  # Broken: fails on valid input.
4024continue
4025fi
4026rm -f conftest.err conftest.i conftest.$ac_ext
4027
4028  # OK, works on sane cases.  Now check whether nonexistent headers
4029  # can be detected and how.
4030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031/* end confdefs.h.  */
4032#include <ac_nonexistent.h>
4033_ACEOF
4034if ac_fn_c_try_cpp "$LINENO"; then :
4035  # Broken: success on invalid input.
4036continue
4037else
4038  # Passes both tests.
4039ac_preproc_ok=:
4040break
4041fi
4042rm -f conftest.err conftest.i conftest.$ac_ext
4043
4044done
4045# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4046rm -f conftest.i conftest.err conftest.$ac_ext
4047if $ac_preproc_ok; then :
4048
4049else
4050  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4053See \`config.log' for more details" "$LINENO" 5; }
4054fi
4055
4056ac_ext=c
4057ac_cpp='$CPP $CPPFLAGS'
4058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060ac_compiler_gnu=$ac_cv_c_compiler_gnu
4061
4062
4063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4064$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4065if ${ac_cv_path_GREP+:} false; then :
4066  $as_echo_n "(cached) " >&6
4067else
4068  if test -z "$GREP"; then
4069  ac_path_GREP_found=false
4070  # Loop through the user's path and test for each of PROGNAME-LIST
4071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4073do
4074  IFS=$as_save_IFS
4075  test -z "$as_dir" && as_dir=.
4076    for ac_prog in grep ggrep; do
4077    for ac_exec_ext in '' $ac_executable_extensions; do
4078      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4079      as_fn_executable_p "$ac_path_GREP" || continue
4080# Check for GNU ac_path_GREP and select it if it is found.
4081  # Check for GNU $ac_path_GREP
4082case `"$ac_path_GREP" --version 2>&1` in
4083*GNU*)
4084  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4085*)
4086  ac_count=0
4087  $as_echo_n 0123456789 >"conftest.in"
4088  while :
4089  do
4090    cat "conftest.in" "conftest.in" >"conftest.tmp"
4091    mv "conftest.tmp" "conftest.in"
4092    cp "conftest.in" "conftest.nl"
4093    $as_echo 'GREP' >> "conftest.nl"
4094    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4095    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4096    as_fn_arith $ac_count + 1 && ac_count=$as_val
4097    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4098      # Best one so far, save it but keep looking for a better one
4099      ac_cv_path_GREP="$ac_path_GREP"
4100      ac_path_GREP_max=$ac_count
4101    fi
4102    # 10*(2^10) chars as input seems more than enough
4103    test $ac_count -gt 10 && break
4104  done
4105  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4106esac
4107
4108      $ac_path_GREP_found && break 3
4109    done
4110  done
4111  done
4112IFS=$as_save_IFS
4113  if test -z "$ac_cv_path_GREP"; then
4114    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4115  fi
4116else
4117  ac_cv_path_GREP=$GREP
4118fi
4119
4120fi
4121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4122$as_echo "$ac_cv_path_GREP" >&6; }
4123 GREP="$ac_cv_path_GREP"
4124
4125
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4127$as_echo_n "checking for egrep... " >&6; }
4128if ${ac_cv_path_EGREP+:} false; then :
4129  $as_echo_n "(cached) " >&6
4130else
4131  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4132   then ac_cv_path_EGREP="$GREP -E"
4133   else
4134     if test -z "$EGREP"; then
4135  ac_path_EGREP_found=false
4136  # Loop through the user's path and test for each of PROGNAME-LIST
4137  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4139do
4140  IFS=$as_save_IFS
4141  test -z "$as_dir" && as_dir=.
4142    for ac_prog in egrep; do
4143    for ac_exec_ext in '' $ac_executable_extensions; do
4144      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4145      as_fn_executable_p "$ac_path_EGREP" || continue
4146# Check for GNU ac_path_EGREP and select it if it is found.
4147  # Check for GNU $ac_path_EGREP
4148case `"$ac_path_EGREP" --version 2>&1` in
4149*GNU*)
4150  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4151*)
4152  ac_count=0
4153  $as_echo_n 0123456789 >"conftest.in"
4154  while :
4155  do
4156    cat "conftest.in" "conftest.in" >"conftest.tmp"
4157    mv "conftest.tmp" "conftest.in"
4158    cp "conftest.in" "conftest.nl"
4159    $as_echo 'EGREP' >> "conftest.nl"
4160    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4162    as_fn_arith $ac_count + 1 && ac_count=$as_val
4163    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4164      # Best one so far, save it but keep looking for a better one
4165      ac_cv_path_EGREP="$ac_path_EGREP"
4166      ac_path_EGREP_max=$ac_count
4167    fi
4168    # 10*(2^10) chars as input seems more than enough
4169    test $ac_count -gt 10 && break
4170  done
4171  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172esac
4173
4174      $ac_path_EGREP_found && break 3
4175    done
4176  done
4177  done
4178IFS=$as_save_IFS
4179  if test -z "$ac_cv_path_EGREP"; then
4180    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4181  fi
4182else
4183  ac_cv_path_EGREP=$EGREP
4184fi
4185
4186   fi
4187fi
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4189$as_echo "$ac_cv_path_EGREP" >&6; }
4190 EGREP="$ac_cv_path_EGREP"
4191
4192
4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4194$as_echo_n "checking for ANSI C header files... " >&6; }
4195if ${ac_cv_header_stdc+:} false; then :
4196  $as_echo_n "(cached) " >&6
4197else
4198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199/* end confdefs.h.  */
4200#include <stdlib.h>
4201#include <stdarg.h>
4202#include <string.h>
4203#include <float.h>
4204
4205int
4206main ()
4207{
4208
4209  ;
4210  return 0;
4211}
4212_ACEOF
4213if ac_fn_c_try_compile "$LINENO"; then :
4214  ac_cv_header_stdc=yes
4215else
4216  ac_cv_header_stdc=no
4217fi
4218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219
4220if test $ac_cv_header_stdc = yes; then
4221  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223/* end confdefs.h.  */
4224#include <string.h>
4225
4226_ACEOF
4227if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4228  $EGREP "memchr" >/dev/null 2>&1; then :
4229
4230else
4231  ac_cv_header_stdc=no
4232fi
4233rm -f conftest*
4234
4235fi
4236
4237if test $ac_cv_header_stdc = yes; then
4238  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4239  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240/* end confdefs.h.  */
4241#include <stdlib.h>
4242
4243_ACEOF
4244if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4245  $EGREP "free" >/dev/null 2>&1; then :
4246
4247else
4248  ac_cv_header_stdc=no
4249fi
4250rm -f conftest*
4251
4252fi
4253
4254if test $ac_cv_header_stdc = yes; then
4255  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4256  if test "$cross_compiling" = yes; then :
4257  :
4258else
4259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4260/* end confdefs.h.  */
4261#include <ctype.h>
4262#include <stdlib.h>
4263#if ((' ' & 0x0FF) == 0x020)
4264# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4265# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4266#else
4267# define ISLOWER(c) \
4268		   (('a' <= (c) && (c) <= 'i') \
4269		     || ('j' <= (c) && (c) <= 'r') \
4270		     || ('s' <= (c) && (c) <= 'z'))
4271# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4272#endif
4273
4274#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4275int
4276main ()
4277{
4278  int i;
4279  for (i = 0; i < 256; i++)
4280    if (XOR (islower (i), ISLOWER (i))
4281	|| toupper (i) != TOUPPER (i))
4282      return 2;
4283  return 0;
4284}
4285_ACEOF
4286if ac_fn_c_try_run "$LINENO"; then :
4287
4288else
4289  ac_cv_header_stdc=no
4290fi
4291rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4292  conftest.$ac_objext conftest.beam conftest.$ac_ext
4293fi
4294
4295fi
4296fi
4297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4298$as_echo "$ac_cv_header_stdc" >&6; }
4299if test $ac_cv_header_stdc = yes; then
4300
4301$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4302
4303fi
4304
4305# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4306for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4307		  inttypes.h stdint.h unistd.h
4308do :
4309  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4310ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4311"
4312if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4313  cat >>confdefs.h <<_ACEOF
4314#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4315_ACEOF
4316
4317fi
4318
4319done
4320
4321
4322
4323
4324
4325
4326ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
4327if test "x$ac_cv_have_decl___clang__" = xyes; then :
4328  CLANGCC="yes"
4329else
4330  CLANGCC="no"
4331fi
4332
4333ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4334if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4335  INTELCC="yes"
4336else
4337  INTELCC="no"
4338fi
4339
4340ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4341if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4342  SUNCC="yes"
4343else
4344  SUNCC="no"
4345fi
4346
4347
4348
4349
4350if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4351	if test -n "$ac_tool_prefix"; then
4352  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4353set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355$as_echo_n "checking for $ac_word... " >&6; }
4356if ${ac_cv_path_PKG_CONFIG+:} false; then :
4357  $as_echo_n "(cached) " >&6
4358else
4359  case $PKG_CONFIG in
4360  [\\/]* | ?:[\\/]*)
4361  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4362  ;;
4363  *)
4364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365for as_dir in $PATH
4366do
4367  IFS=$as_save_IFS
4368  test -z "$as_dir" && as_dir=.
4369    for ac_exec_ext in '' $ac_executable_extensions; do
4370  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4372    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373    break 2
4374  fi
4375done
4376  done
4377IFS=$as_save_IFS
4378
4379  ;;
4380esac
4381fi
4382PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4383if test -n "$PKG_CONFIG"; then
4384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4385$as_echo "$PKG_CONFIG" >&6; }
4386else
4387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388$as_echo "no" >&6; }
4389fi
4390
4391
4392fi
4393if test -z "$ac_cv_path_PKG_CONFIG"; then
4394  ac_pt_PKG_CONFIG=$PKG_CONFIG
4395  # Extract the first word of "pkg-config", so it can be a program name with args.
4396set dummy pkg-config; ac_word=$2
4397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398$as_echo_n "checking for $ac_word... " >&6; }
4399if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4400  $as_echo_n "(cached) " >&6
4401else
4402  case $ac_pt_PKG_CONFIG in
4403  [\\/]* | ?:[\\/]*)
4404  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4405  ;;
4406  *)
4407  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408for as_dir in $PATH
4409do
4410  IFS=$as_save_IFS
4411  test -z "$as_dir" && as_dir=.
4412    for ac_exec_ext in '' $ac_executable_extensions; do
4413  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4416    break 2
4417  fi
4418done
4419  done
4420IFS=$as_save_IFS
4421
4422  ;;
4423esac
4424fi
4425ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4426if test -n "$ac_pt_PKG_CONFIG"; then
4427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4428$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4429else
4430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431$as_echo "no" >&6; }
4432fi
4433
4434  if test "x$ac_pt_PKG_CONFIG" = x; then
4435    PKG_CONFIG=""
4436  else
4437    case $cross_compiling:$ac_tool_warned in
4438yes:)
4439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441ac_tool_warned=yes ;;
4442esac
4443    PKG_CONFIG=$ac_pt_PKG_CONFIG
4444  fi
4445else
4446  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4447fi
4448
4449fi
4450if test -n "$PKG_CONFIG"; then
4451	_pkg_min_version=0.9.0
4452	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4453$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4454	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4455		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456$as_echo "yes" >&6; }
4457	else
4458		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459$as_echo "no" >&6; }
4460		PKG_CONFIG=""
4461	fi
4462
4463fi
4464# Make sure we can run config.sub.
4465$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4466  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4467
4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4469$as_echo_n "checking build system type... " >&6; }
4470if ${ac_cv_build+:} false; then :
4471  $as_echo_n "(cached) " >&6
4472else
4473  ac_build_alias=$build_alias
4474test "x$ac_build_alias" = x &&
4475  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4476test "x$ac_build_alias" = x &&
4477  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4478ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4479  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4480
4481fi
4482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4483$as_echo "$ac_cv_build" >&6; }
4484case $ac_cv_build in
4485*-*-*) ;;
4486*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4487esac
4488build=$ac_cv_build
4489ac_save_IFS=$IFS; IFS='-'
4490set x $ac_cv_build
4491shift
4492build_cpu=$1
4493build_vendor=$2
4494shift; shift
4495# Remember, the first character of IFS is used to create $*,
4496# except with old shells:
4497build_os=$*
4498IFS=$ac_save_IFS
4499case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4500
4501
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4503$as_echo_n "checking host system type... " >&6; }
4504if ${ac_cv_host+:} false; then :
4505  $as_echo_n "(cached) " >&6
4506else
4507  if test "x$host_alias" = x; then
4508  ac_cv_host=$ac_cv_build
4509else
4510  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4511    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4512fi
4513
4514fi
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4516$as_echo "$ac_cv_host" >&6; }
4517case $ac_cv_host in
4518*-*-*) ;;
4519*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4520esac
4521host=$ac_cv_host
4522ac_save_IFS=$IFS; IFS='-'
4523set x $ac_cv_host
4524shift
4525host_cpu=$1
4526host_vendor=$2
4527shift; shift
4528# Remember, the first character of IFS is used to create $*,
4529# except with old shells:
4530host_os=$*
4531IFS=$ac_save_IFS
4532case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4533
4534
4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4536$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4537if ${ac_cv_path_SED+:} false; then :
4538  $as_echo_n "(cached) " >&6
4539else
4540            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4541     for ac_i in 1 2 3 4 5 6 7; do
4542       ac_script="$ac_script$as_nl$ac_script"
4543     done
4544     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4545     { ac_script=; unset ac_script;}
4546     if test -z "$SED"; then
4547  ac_path_SED_found=false
4548  # Loop through the user's path and test for each of PROGNAME-LIST
4549  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550for as_dir in $PATH
4551do
4552  IFS=$as_save_IFS
4553  test -z "$as_dir" && as_dir=.
4554    for ac_prog in sed gsed; do
4555    for ac_exec_ext in '' $ac_executable_extensions; do
4556      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4557      as_fn_executable_p "$ac_path_SED" || continue
4558# Check for GNU ac_path_SED and select it if it is found.
4559  # Check for GNU $ac_path_SED
4560case `"$ac_path_SED" --version 2>&1` in
4561*GNU*)
4562  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4563*)
4564  ac_count=0
4565  $as_echo_n 0123456789 >"conftest.in"
4566  while :
4567  do
4568    cat "conftest.in" "conftest.in" >"conftest.tmp"
4569    mv "conftest.tmp" "conftest.in"
4570    cp "conftest.in" "conftest.nl"
4571    $as_echo '' >> "conftest.nl"
4572    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4573    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4574    as_fn_arith $ac_count + 1 && ac_count=$as_val
4575    if test $ac_count -gt ${ac_path_SED_max-0}; then
4576      # Best one so far, save it but keep looking for a better one
4577      ac_cv_path_SED="$ac_path_SED"
4578      ac_path_SED_max=$ac_count
4579    fi
4580    # 10*(2^10) chars as input seems more than enough
4581    test $ac_count -gt 10 && break
4582  done
4583  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4584esac
4585
4586      $ac_path_SED_found && break 3
4587    done
4588  done
4589  done
4590IFS=$as_save_IFS
4591  if test -z "$ac_cv_path_SED"; then
4592    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4593  fi
4594else
4595  ac_cv_path_SED=$SED
4596fi
4597
4598fi
4599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4600$as_echo "$ac_cv_path_SED" >&6; }
4601 SED="$ac_cv_path_SED"
4602  rm -f conftest.sed
4603
4604
4605
4606
4607
4608
4609# Check whether --enable-selective-werror was given.
4610if test "${enable_selective_werror+set}" = set; then :
4611  enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
4612else
4613  SELECTIVE_WERROR=yes
4614fi
4615
4616
4617
4618
4619
4620# -v is too short to test reliably with XORG_TESTSET_CFLAG
4621if test "x$SUNCC" = "xyes"; then
4622    BASE_CFLAGS="-v"
4623else
4624    BASE_CFLAGS=""
4625fi
4626
4627# This chunk of warnings were those that existed in the legacy CWARNFLAGS
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641xorg_testset_save_CFLAGS="$CFLAGS"
4642
4643if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4644	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4645	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4646$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4647if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4648  $as_echo_n "(cached) " >&6
4649else
4650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651/* end confdefs.h.  */
4652int i;
4653_ACEOF
4654if ac_fn_c_try_compile "$LINENO"; then :
4655  xorg_cv_cc_flag_unknown_warning_option=yes
4656else
4657  xorg_cv_cc_flag_unknown_warning_option=no
4658fi
4659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4660fi
4661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4662$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4663	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4664	CFLAGS="$xorg_testset_save_CFLAGS"
4665fi
4666
4667if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4668	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4669		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4670	fi
4671	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4672	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4673$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4674if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4675  $as_echo_n "(cached) " >&6
4676else
4677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678/* end confdefs.h.  */
4679int i;
4680_ACEOF
4681if ac_fn_c_try_compile "$LINENO"; then :
4682  xorg_cv_cc_flag_unused_command_line_argument=yes
4683else
4684  xorg_cv_cc_flag_unused_command_line_argument=no
4685fi
4686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687fi
4688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4689$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4690	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4691	CFLAGS="$xorg_testset_save_CFLAGS"
4692fi
4693
4694found="no"
4695
4696	if test $found = "no" ; then
4697		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4698			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4699		fi
4700
4701		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4702			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4703		fi
4704
4705		CFLAGS="$CFLAGS -Wall"
4706
4707		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
4708$as_echo_n "checking if $CC supports -Wall... " >&6; }
4709		cacheid=xorg_cv_cc_flag__Wall
4710		if eval \${$cacheid+:} false; then :
4711  $as_echo_n "(cached) " >&6
4712else
4713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714/* end confdefs.h.  */
4715int i;
4716int
4717main ()
4718{
4719
4720  ;
4721  return 0;
4722}
4723_ACEOF
4724if ac_fn_c_try_link "$LINENO"; then :
4725  eval $cacheid=yes
4726else
4727  eval $cacheid=no
4728fi
4729rm -f core conftest.err conftest.$ac_objext \
4730    conftest$ac_exeext conftest.$ac_ext
4731fi
4732
4733
4734		CFLAGS="$xorg_testset_save_CFLAGS"
4735
4736		eval supported=\$$cacheid
4737		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4738$as_echo "$supported" >&6; }
4739		if test "$supported" = "yes" ; then
4740			BASE_CFLAGS="$BASE_CFLAGS -Wall"
4741			found="yes"
4742		fi
4743	fi
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759xorg_testset_save_CFLAGS="$CFLAGS"
4760
4761if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4762	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4763	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4764$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4765if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4766  $as_echo_n "(cached) " >&6
4767else
4768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769/* end confdefs.h.  */
4770int i;
4771_ACEOF
4772if ac_fn_c_try_compile "$LINENO"; then :
4773  xorg_cv_cc_flag_unknown_warning_option=yes
4774else
4775  xorg_cv_cc_flag_unknown_warning_option=no
4776fi
4777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778fi
4779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4780$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4781	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4782	CFLAGS="$xorg_testset_save_CFLAGS"
4783fi
4784
4785if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4786	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4787		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4788	fi
4789	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4790	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4791$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4792if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4793  $as_echo_n "(cached) " >&6
4794else
4795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796/* end confdefs.h.  */
4797int i;
4798_ACEOF
4799if ac_fn_c_try_compile "$LINENO"; then :
4800  xorg_cv_cc_flag_unused_command_line_argument=yes
4801else
4802  xorg_cv_cc_flag_unused_command_line_argument=no
4803fi
4804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805fi
4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4807$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4808	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4809	CFLAGS="$xorg_testset_save_CFLAGS"
4810fi
4811
4812found="no"
4813
4814	if test $found = "no" ; then
4815		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4816			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4817		fi
4818
4819		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4820			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4821		fi
4822
4823		CFLAGS="$CFLAGS -Wpointer-arith"
4824
4825		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
4826$as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
4827		cacheid=xorg_cv_cc_flag__Wpointer_arith
4828		if eval \${$cacheid+:} false; then :
4829  $as_echo_n "(cached) " >&6
4830else
4831  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832/* end confdefs.h.  */
4833int i;
4834int
4835main ()
4836{
4837
4838  ;
4839  return 0;
4840}
4841_ACEOF
4842if ac_fn_c_try_link "$LINENO"; then :
4843  eval $cacheid=yes
4844else
4845  eval $cacheid=no
4846fi
4847rm -f core conftest.err conftest.$ac_objext \
4848    conftest$ac_exeext conftest.$ac_ext
4849fi
4850
4851
4852		CFLAGS="$xorg_testset_save_CFLAGS"
4853
4854		eval supported=\$$cacheid
4855		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4856$as_echo "$supported" >&6; }
4857		if test "$supported" = "yes" ; then
4858			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
4859			found="yes"
4860		fi
4861	fi
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877xorg_testset_save_CFLAGS="$CFLAGS"
4878
4879if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4880	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4881	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
4882$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
4883if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
4884  $as_echo_n "(cached) " >&6
4885else
4886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887/* end confdefs.h.  */
4888int i;
4889_ACEOF
4890if ac_fn_c_try_compile "$LINENO"; then :
4891  xorg_cv_cc_flag_unknown_warning_option=yes
4892else
4893  xorg_cv_cc_flag_unknown_warning_option=no
4894fi
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896fi
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
4898$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
4899	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
4900	CFLAGS="$xorg_testset_save_CFLAGS"
4901fi
4902
4903if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
4904	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4905		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4906	fi
4907	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4908	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
4909$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
4910if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
4911  $as_echo_n "(cached) " >&6
4912else
4913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914/* end confdefs.h.  */
4915int i;
4916_ACEOF
4917if ac_fn_c_try_compile "$LINENO"; then :
4918  xorg_cv_cc_flag_unused_command_line_argument=yes
4919else
4920  xorg_cv_cc_flag_unused_command_line_argument=no
4921fi
4922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4923fi
4924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
4925$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
4926	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
4927	CFLAGS="$xorg_testset_save_CFLAGS"
4928fi
4929
4930found="no"
4931
4932	if test $found = "no" ; then
4933		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
4934			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4935		fi
4936
4937		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
4938			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
4939		fi
4940
4941		CFLAGS="$CFLAGS -Wmissing-declarations"
4942
4943		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
4944$as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
4945		cacheid=xorg_cv_cc_flag__Wmissing_declarations
4946		if eval \${$cacheid+:} false; then :
4947  $as_echo_n "(cached) " >&6
4948else
4949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950/* end confdefs.h.  */
4951int i;
4952int
4953main ()
4954{
4955
4956  ;
4957  return 0;
4958}
4959_ACEOF
4960if ac_fn_c_try_link "$LINENO"; then :
4961  eval $cacheid=yes
4962else
4963  eval $cacheid=no
4964fi
4965rm -f core conftest.err conftest.$ac_objext \
4966    conftest$ac_exeext conftest.$ac_ext
4967fi
4968
4969
4970		CFLAGS="$xorg_testset_save_CFLAGS"
4971
4972		eval supported=\$$cacheid
4973		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
4974$as_echo "$supported" >&6; }
4975		if test "$supported" = "yes" ; then
4976			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
4977			found="yes"
4978		fi
4979	fi
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995xorg_testset_save_CFLAGS="$CFLAGS"
4996
4997if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
4998	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
4999	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5000$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5001if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5002  $as_echo_n "(cached) " >&6
5003else
5004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005/* end confdefs.h.  */
5006int i;
5007_ACEOF
5008if ac_fn_c_try_compile "$LINENO"; then :
5009  xorg_cv_cc_flag_unknown_warning_option=yes
5010else
5011  xorg_cv_cc_flag_unknown_warning_option=no
5012fi
5013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014fi
5015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5016$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5017	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5018	CFLAGS="$xorg_testset_save_CFLAGS"
5019fi
5020
5021if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5022	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5023		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5024	fi
5025	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5026	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5027$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5028if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5029  $as_echo_n "(cached) " >&6
5030else
5031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033int i;
5034_ACEOF
5035if ac_fn_c_try_compile "$LINENO"; then :
5036  xorg_cv_cc_flag_unused_command_line_argument=yes
5037else
5038  xorg_cv_cc_flag_unused_command_line_argument=no
5039fi
5040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041fi
5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5043$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5044	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5045	CFLAGS="$xorg_testset_save_CFLAGS"
5046fi
5047
5048found="no"
5049
5050	if test $found = "no" ; then
5051		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5052			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5053		fi
5054
5055		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5056			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5057		fi
5058
5059		CFLAGS="$CFLAGS -Wformat=2"
5060
5061		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5062$as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5063		cacheid=xorg_cv_cc_flag__Wformat_2
5064		if eval \${$cacheid+:} false; then :
5065  $as_echo_n "(cached) " >&6
5066else
5067  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068/* end confdefs.h.  */
5069int i;
5070int
5071main ()
5072{
5073
5074  ;
5075  return 0;
5076}
5077_ACEOF
5078if ac_fn_c_try_link "$LINENO"; then :
5079  eval $cacheid=yes
5080else
5081  eval $cacheid=no
5082fi
5083rm -f core conftest.err conftest.$ac_objext \
5084    conftest$ac_exeext conftest.$ac_ext
5085fi
5086
5087
5088		CFLAGS="$xorg_testset_save_CFLAGS"
5089
5090		eval supported=\$$cacheid
5091		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5092$as_echo "$supported" >&6; }
5093		if test "$supported" = "yes" ; then
5094			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
5095			found="yes"
5096		fi
5097	fi
5098
5099	if test $found = "no" ; then
5100		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5101			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5102		fi
5103
5104		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5105			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5106		fi
5107
5108		CFLAGS="$CFLAGS -Wformat"
5109
5110		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
5111$as_echo_n "checking if $CC supports -Wformat... " >&6; }
5112		cacheid=xorg_cv_cc_flag__Wformat
5113		if eval \${$cacheid+:} false; then :
5114  $as_echo_n "(cached) " >&6
5115else
5116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117/* end confdefs.h.  */
5118int i;
5119int
5120main ()
5121{
5122
5123  ;
5124  return 0;
5125}
5126_ACEOF
5127if ac_fn_c_try_link "$LINENO"; then :
5128  eval $cacheid=yes
5129else
5130  eval $cacheid=no
5131fi
5132rm -f core conftest.err conftest.$ac_objext \
5133    conftest$ac_exeext conftest.$ac_ext
5134fi
5135
5136
5137		CFLAGS="$xorg_testset_save_CFLAGS"
5138
5139		eval supported=\$$cacheid
5140		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5141$as_echo "$supported" >&6; }
5142		if test "$supported" = "yes" ; then
5143			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
5144			found="yes"
5145		fi
5146	fi
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164xorg_testset_save_CFLAGS="$CFLAGS"
5165
5166if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5167	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5168	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5169$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5170if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5171  $as_echo_n "(cached) " >&6
5172else
5173  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174/* end confdefs.h.  */
5175int i;
5176_ACEOF
5177if ac_fn_c_try_compile "$LINENO"; then :
5178  xorg_cv_cc_flag_unknown_warning_option=yes
5179else
5180  xorg_cv_cc_flag_unknown_warning_option=no
5181fi
5182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183fi
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5185$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5186	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5187	CFLAGS="$xorg_testset_save_CFLAGS"
5188fi
5189
5190if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5191	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5192		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5193	fi
5194	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5195	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5196$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5197if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5198  $as_echo_n "(cached) " >&6
5199else
5200  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201/* end confdefs.h.  */
5202int i;
5203_ACEOF
5204if ac_fn_c_try_compile "$LINENO"; then :
5205  xorg_cv_cc_flag_unused_command_line_argument=yes
5206else
5207  xorg_cv_cc_flag_unused_command_line_argument=no
5208fi
5209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5210fi
5211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5212$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5213	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5214	CFLAGS="$xorg_testset_save_CFLAGS"
5215fi
5216
5217found="no"
5218
5219	if test $found = "no" ; then
5220		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5221			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5222		fi
5223
5224		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5225			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5226		fi
5227
5228		CFLAGS="$CFLAGS -Wstrict-prototypes"
5229
5230		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5231$as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5232		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
5233		if eval \${$cacheid+:} false; then :
5234  $as_echo_n "(cached) " >&6
5235else
5236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237/* end confdefs.h.  */
5238int i;
5239int
5240main ()
5241{
5242
5243  ;
5244  return 0;
5245}
5246_ACEOF
5247if ac_fn_c_try_link "$LINENO"; then :
5248  eval $cacheid=yes
5249else
5250  eval $cacheid=no
5251fi
5252rm -f core conftest.err conftest.$ac_objext \
5253    conftest$ac_exeext conftest.$ac_ext
5254fi
5255
5256
5257		CFLAGS="$xorg_testset_save_CFLAGS"
5258
5259		eval supported=\$$cacheid
5260		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5261$as_echo "$supported" >&6; }
5262		if test "$supported" = "yes" ; then
5263			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
5264			found="yes"
5265		fi
5266	fi
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282xorg_testset_save_CFLAGS="$CFLAGS"
5283
5284if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5285	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5286	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5287$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5288if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5289  $as_echo_n "(cached) " >&6
5290else
5291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292/* end confdefs.h.  */
5293int i;
5294_ACEOF
5295if ac_fn_c_try_compile "$LINENO"; then :
5296  xorg_cv_cc_flag_unknown_warning_option=yes
5297else
5298  xorg_cv_cc_flag_unknown_warning_option=no
5299fi
5300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5301fi
5302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5303$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5304	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5305	CFLAGS="$xorg_testset_save_CFLAGS"
5306fi
5307
5308if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5309	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5310		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5311	fi
5312	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5313	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5314$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5315if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5316  $as_echo_n "(cached) " >&6
5317else
5318  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319/* end confdefs.h.  */
5320int i;
5321_ACEOF
5322if ac_fn_c_try_compile "$LINENO"; then :
5323  xorg_cv_cc_flag_unused_command_line_argument=yes
5324else
5325  xorg_cv_cc_flag_unused_command_line_argument=no
5326fi
5327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5328fi
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5330$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5331	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5332	CFLAGS="$xorg_testset_save_CFLAGS"
5333fi
5334
5335found="no"
5336
5337	if test $found = "no" ; then
5338		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5339			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5340		fi
5341
5342		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5343			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5344		fi
5345
5346		CFLAGS="$CFLAGS -Wmissing-prototypes"
5347
5348		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
5349$as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
5350		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
5351		if eval \${$cacheid+:} false; then :
5352  $as_echo_n "(cached) " >&6
5353else
5354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355/* end confdefs.h.  */
5356int i;
5357int
5358main ()
5359{
5360
5361  ;
5362  return 0;
5363}
5364_ACEOF
5365if ac_fn_c_try_link "$LINENO"; then :
5366  eval $cacheid=yes
5367else
5368  eval $cacheid=no
5369fi
5370rm -f core conftest.err conftest.$ac_objext \
5371    conftest$ac_exeext conftest.$ac_ext
5372fi
5373
5374
5375		CFLAGS="$xorg_testset_save_CFLAGS"
5376
5377		eval supported=\$$cacheid
5378		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5379$as_echo "$supported" >&6; }
5380		if test "$supported" = "yes" ; then
5381			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
5382			found="yes"
5383		fi
5384	fi
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400xorg_testset_save_CFLAGS="$CFLAGS"
5401
5402if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5403	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5404	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5405$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5406if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5407  $as_echo_n "(cached) " >&6
5408else
5409  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410/* end confdefs.h.  */
5411int i;
5412_ACEOF
5413if ac_fn_c_try_compile "$LINENO"; then :
5414  xorg_cv_cc_flag_unknown_warning_option=yes
5415else
5416  xorg_cv_cc_flag_unknown_warning_option=no
5417fi
5418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5419fi
5420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5421$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5422	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5423	CFLAGS="$xorg_testset_save_CFLAGS"
5424fi
5425
5426if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5427	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5428		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5429	fi
5430	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5431	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5432$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5433if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5434  $as_echo_n "(cached) " >&6
5435else
5436  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437/* end confdefs.h.  */
5438int i;
5439_ACEOF
5440if ac_fn_c_try_compile "$LINENO"; then :
5441  xorg_cv_cc_flag_unused_command_line_argument=yes
5442else
5443  xorg_cv_cc_flag_unused_command_line_argument=no
5444fi
5445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446fi
5447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5448$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5449	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5450	CFLAGS="$xorg_testset_save_CFLAGS"
5451fi
5452
5453found="no"
5454
5455	if test $found = "no" ; then
5456		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5457			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5458		fi
5459
5460		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5461			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5462		fi
5463
5464		CFLAGS="$CFLAGS -Wnested-externs"
5465
5466		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
5467$as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
5468		cacheid=xorg_cv_cc_flag__Wnested_externs
5469		if eval \${$cacheid+:} false; then :
5470  $as_echo_n "(cached) " >&6
5471else
5472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473/* end confdefs.h.  */
5474int i;
5475int
5476main ()
5477{
5478
5479  ;
5480  return 0;
5481}
5482_ACEOF
5483if ac_fn_c_try_link "$LINENO"; then :
5484  eval $cacheid=yes
5485else
5486  eval $cacheid=no
5487fi
5488rm -f core conftest.err conftest.$ac_objext \
5489    conftest$ac_exeext conftest.$ac_ext
5490fi
5491
5492
5493		CFLAGS="$xorg_testset_save_CFLAGS"
5494
5495		eval supported=\$$cacheid
5496		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5497$as_echo "$supported" >&6; }
5498		if test "$supported" = "yes" ; then
5499			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
5500			found="yes"
5501		fi
5502	fi
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518xorg_testset_save_CFLAGS="$CFLAGS"
5519
5520if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5521	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5522	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5523$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5524if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5525  $as_echo_n "(cached) " >&6
5526else
5527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5528/* end confdefs.h.  */
5529int i;
5530_ACEOF
5531if ac_fn_c_try_compile "$LINENO"; then :
5532  xorg_cv_cc_flag_unknown_warning_option=yes
5533else
5534  xorg_cv_cc_flag_unknown_warning_option=no
5535fi
5536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537fi
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5539$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5540	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5541	CFLAGS="$xorg_testset_save_CFLAGS"
5542fi
5543
5544if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5545	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5546		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5547	fi
5548	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5549	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5550$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5551if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5552  $as_echo_n "(cached) " >&6
5553else
5554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555/* end confdefs.h.  */
5556int i;
5557_ACEOF
5558if ac_fn_c_try_compile "$LINENO"; then :
5559  xorg_cv_cc_flag_unused_command_line_argument=yes
5560else
5561  xorg_cv_cc_flag_unused_command_line_argument=no
5562fi
5563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5564fi
5565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5566$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5567	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5568	CFLAGS="$xorg_testset_save_CFLAGS"
5569fi
5570
5571found="no"
5572
5573	if test $found = "no" ; then
5574		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5575			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5576		fi
5577
5578		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5579			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5580		fi
5581
5582		CFLAGS="$CFLAGS -Wbad-function-cast"
5583
5584		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5585$as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5586		cacheid=xorg_cv_cc_flag__Wbad_function_cast
5587		if eval \${$cacheid+:} false; then :
5588  $as_echo_n "(cached) " >&6
5589else
5590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591/* end confdefs.h.  */
5592int i;
5593int
5594main ()
5595{
5596
5597  ;
5598  return 0;
5599}
5600_ACEOF
5601if ac_fn_c_try_link "$LINENO"; then :
5602  eval $cacheid=yes
5603else
5604  eval $cacheid=no
5605fi
5606rm -f core conftest.err conftest.$ac_objext \
5607    conftest$ac_exeext conftest.$ac_ext
5608fi
5609
5610
5611		CFLAGS="$xorg_testset_save_CFLAGS"
5612
5613		eval supported=\$$cacheid
5614		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5615$as_echo "$supported" >&6; }
5616		if test "$supported" = "yes" ; then
5617			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
5618			found="yes"
5619		fi
5620	fi
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636xorg_testset_save_CFLAGS="$CFLAGS"
5637
5638if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5639	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5640	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5641$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5642if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5643  $as_echo_n "(cached) " >&6
5644else
5645  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646/* end confdefs.h.  */
5647int i;
5648_ACEOF
5649if ac_fn_c_try_compile "$LINENO"; then :
5650  xorg_cv_cc_flag_unknown_warning_option=yes
5651else
5652  xorg_cv_cc_flag_unknown_warning_option=no
5653fi
5654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5655fi
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5657$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5658	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5659	CFLAGS="$xorg_testset_save_CFLAGS"
5660fi
5661
5662if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5663	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5664		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5665	fi
5666	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5667	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5668$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5669if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5670  $as_echo_n "(cached) " >&6
5671else
5672  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5673/* end confdefs.h.  */
5674int i;
5675_ACEOF
5676if ac_fn_c_try_compile "$LINENO"; then :
5677  xorg_cv_cc_flag_unused_command_line_argument=yes
5678else
5679  xorg_cv_cc_flag_unused_command_line_argument=no
5680fi
5681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5682fi
5683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5684$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5685	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5686	CFLAGS="$xorg_testset_save_CFLAGS"
5687fi
5688
5689found="no"
5690
5691	if test $found = "no" ; then
5692		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5693			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5694		fi
5695
5696		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5697			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5698		fi
5699
5700		CFLAGS="$CFLAGS -Wold-style-definition"
5701
5702		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5703$as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5704		cacheid=xorg_cv_cc_flag__Wold_style_definition
5705		if eval \${$cacheid+:} false; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709/* end confdefs.h.  */
5710int i;
5711int
5712main ()
5713{
5714
5715  ;
5716  return 0;
5717}
5718_ACEOF
5719if ac_fn_c_try_link "$LINENO"; then :
5720  eval $cacheid=yes
5721else
5722  eval $cacheid=no
5723fi
5724rm -f core conftest.err conftest.$ac_objext \
5725    conftest$ac_exeext conftest.$ac_ext
5726fi
5727
5728
5729		CFLAGS="$xorg_testset_save_CFLAGS"
5730
5731		eval supported=\$$cacheid
5732		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5733$as_echo "$supported" >&6; }
5734		if test "$supported" = "yes" ; then
5735			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
5736			found="yes"
5737		fi
5738	fi
5739
5740	if test $found = "no" ; then
5741		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5742			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5743		fi
5744
5745		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5746			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5747		fi
5748
5749		CFLAGS="$CFLAGS -fd"
5750
5751		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
5752$as_echo_n "checking if $CC supports -fd... " >&6; }
5753		cacheid=xorg_cv_cc_flag__fd
5754		if eval \${$cacheid+:} false; then :
5755  $as_echo_n "(cached) " >&6
5756else
5757  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758/* end confdefs.h.  */
5759int i;
5760int
5761main ()
5762{
5763
5764  ;
5765  return 0;
5766}
5767_ACEOF
5768if ac_fn_c_try_link "$LINENO"; then :
5769  eval $cacheid=yes
5770else
5771  eval $cacheid=no
5772fi
5773rm -f core conftest.err conftest.$ac_objext \
5774    conftest$ac_exeext conftest.$ac_ext
5775fi
5776
5777
5778		CFLAGS="$xorg_testset_save_CFLAGS"
5779
5780		eval supported=\$$cacheid
5781		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5782$as_echo "$supported" >&6; }
5783		if test "$supported" = "yes" ; then
5784			BASE_CFLAGS="$BASE_CFLAGS -fd"
5785			found="yes"
5786		fi
5787	fi
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803xorg_testset_save_CFLAGS="$CFLAGS"
5804
5805if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5806	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5807	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5808$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5809if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5810  $as_echo_n "(cached) " >&6
5811else
5812  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813/* end confdefs.h.  */
5814int i;
5815_ACEOF
5816if ac_fn_c_try_compile "$LINENO"; then :
5817  xorg_cv_cc_flag_unknown_warning_option=yes
5818else
5819  xorg_cv_cc_flag_unknown_warning_option=no
5820fi
5821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5822fi
5823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5824$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5825	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5826	CFLAGS="$xorg_testset_save_CFLAGS"
5827fi
5828
5829if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5830	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5831		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5832	fi
5833	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5834	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5835$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5836if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5837  $as_echo_n "(cached) " >&6
5838else
5839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840/* end confdefs.h.  */
5841int i;
5842_ACEOF
5843if ac_fn_c_try_compile "$LINENO"; then :
5844  xorg_cv_cc_flag_unused_command_line_argument=yes
5845else
5846  xorg_cv_cc_flag_unused_command_line_argument=no
5847fi
5848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5849fi
5850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5851$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5852	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5853	CFLAGS="$xorg_testset_save_CFLAGS"
5854fi
5855
5856found="no"
5857
5858	if test $found = "no" ; then
5859		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5860			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5861		fi
5862
5863		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5864			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5865		fi
5866
5867		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
5868
5869		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5870$as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5871		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
5872		if eval \${$cacheid+:} false; then :
5873  $as_echo_n "(cached) " >&6
5874else
5875  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5876/* end confdefs.h.  */
5877int i;
5878int
5879main ()
5880{
5881
5882  ;
5883  return 0;
5884}
5885_ACEOF
5886if ac_fn_c_try_link "$LINENO"; then :
5887  eval $cacheid=yes
5888else
5889  eval $cacheid=no
5890fi
5891rm -f core conftest.err conftest.$ac_objext \
5892    conftest$ac_exeext conftest.$ac_ext
5893fi
5894
5895
5896		CFLAGS="$xorg_testset_save_CFLAGS"
5897
5898		eval supported=\$$cacheid
5899		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
5900$as_echo "$supported" >&6; }
5901		if test "$supported" = "yes" ; then
5902			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
5903			found="yes"
5904		fi
5905	fi
5906
5907
5908
5909
5910
5911# This chunk adds additional warnings that could catch undesired effects.
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925xorg_testset_save_CFLAGS="$CFLAGS"
5926
5927if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
5928	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5929	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
5930$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
5931if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
5932  $as_echo_n "(cached) " >&6
5933else
5934  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935/* end confdefs.h.  */
5936int i;
5937_ACEOF
5938if ac_fn_c_try_compile "$LINENO"; then :
5939  xorg_cv_cc_flag_unknown_warning_option=yes
5940else
5941  xorg_cv_cc_flag_unknown_warning_option=no
5942fi
5943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5944fi
5945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
5946$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
5947	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
5948	CFLAGS="$xorg_testset_save_CFLAGS"
5949fi
5950
5951if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
5952	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5953		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5954	fi
5955	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5956	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
5957$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
5958if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
5959  $as_echo_n "(cached) " >&6
5960else
5961  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962/* end confdefs.h.  */
5963int i;
5964_ACEOF
5965if ac_fn_c_try_compile "$LINENO"; then :
5966  xorg_cv_cc_flag_unused_command_line_argument=yes
5967else
5968  xorg_cv_cc_flag_unused_command_line_argument=no
5969fi
5970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971fi
5972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
5973$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
5974	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
5975	CFLAGS="$xorg_testset_save_CFLAGS"
5976fi
5977
5978found="no"
5979
5980	if test $found = "no" ; then
5981		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
5982			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
5983		fi
5984
5985		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
5986			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
5987		fi
5988
5989		CFLAGS="$CFLAGS -Wunused"
5990
5991		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
5992$as_echo_n "checking if $CC supports -Wunused... " >&6; }
5993		cacheid=xorg_cv_cc_flag__Wunused
5994		if eval \${$cacheid+:} false; then :
5995  $as_echo_n "(cached) " >&6
5996else
5997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5998/* end confdefs.h.  */
5999int i;
6000int
6001main ()
6002{
6003
6004  ;
6005  return 0;
6006}
6007_ACEOF
6008if ac_fn_c_try_link "$LINENO"; then :
6009  eval $cacheid=yes
6010else
6011  eval $cacheid=no
6012fi
6013rm -f core conftest.err conftest.$ac_objext \
6014    conftest$ac_exeext conftest.$ac_ext
6015fi
6016
6017
6018		CFLAGS="$xorg_testset_save_CFLAGS"
6019
6020		eval supported=\$$cacheid
6021		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6022$as_echo "$supported" >&6; }
6023		if test "$supported" = "yes" ; then
6024			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
6025			found="yes"
6026		fi
6027	fi
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043xorg_testset_save_CFLAGS="$CFLAGS"
6044
6045if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6046	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6047	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6048$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6049if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6050  $as_echo_n "(cached) " >&6
6051else
6052  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6053/* end confdefs.h.  */
6054int i;
6055_ACEOF
6056if ac_fn_c_try_compile "$LINENO"; then :
6057  xorg_cv_cc_flag_unknown_warning_option=yes
6058else
6059  xorg_cv_cc_flag_unknown_warning_option=no
6060fi
6061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062fi
6063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6064$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6065	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6066	CFLAGS="$xorg_testset_save_CFLAGS"
6067fi
6068
6069if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6070	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6071		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6072	fi
6073	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6074	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6075$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6076if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6077  $as_echo_n "(cached) " >&6
6078else
6079  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080/* end confdefs.h.  */
6081int i;
6082_ACEOF
6083if ac_fn_c_try_compile "$LINENO"; then :
6084  xorg_cv_cc_flag_unused_command_line_argument=yes
6085else
6086  xorg_cv_cc_flag_unused_command_line_argument=no
6087fi
6088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6089fi
6090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6091$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6092	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6093	CFLAGS="$xorg_testset_save_CFLAGS"
6094fi
6095
6096found="no"
6097
6098	if test $found = "no" ; then
6099		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6100			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6101		fi
6102
6103		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6104			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6105		fi
6106
6107		CFLAGS="$CFLAGS -Wuninitialized"
6108
6109		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
6110$as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
6111		cacheid=xorg_cv_cc_flag__Wuninitialized
6112		if eval \${$cacheid+:} false; then :
6113  $as_echo_n "(cached) " >&6
6114else
6115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116/* end confdefs.h.  */
6117int i;
6118int
6119main ()
6120{
6121
6122  ;
6123  return 0;
6124}
6125_ACEOF
6126if ac_fn_c_try_link "$LINENO"; then :
6127  eval $cacheid=yes
6128else
6129  eval $cacheid=no
6130fi
6131rm -f core conftest.err conftest.$ac_objext \
6132    conftest$ac_exeext conftest.$ac_ext
6133fi
6134
6135
6136		CFLAGS="$xorg_testset_save_CFLAGS"
6137
6138		eval supported=\$$cacheid
6139		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6140$as_echo "$supported" >&6; }
6141		if test "$supported" = "yes" ; then
6142			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
6143			found="yes"
6144		fi
6145	fi
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161xorg_testset_save_CFLAGS="$CFLAGS"
6162
6163if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6164	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6165	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6166$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6167if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6168  $as_echo_n "(cached) " >&6
6169else
6170  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6171/* end confdefs.h.  */
6172int i;
6173_ACEOF
6174if ac_fn_c_try_compile "$LINENO"; then :
6175  xorg_cv_cc_flag_unknown_warning_option=yes
6176else
6177  xorg_cv_cc_flag_unknown_warning_option=no
6178fi
6179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180fi
6181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6182$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6183	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6184	CFLAGS="$xorg_testset_save_CFLAGS"
6185fi
6186
6187if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6188	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6189		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6190	fi
6191	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6192	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6193$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6194if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6195  $as_echo_n "(cached) " >&6
6196else
6197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198/* end confdefs.h.  */
6199int i;
6200_ACEOF
6201if ac_fn_c_try_compile "$LINENO"; then :
6202  xorg_cv_cc_flag_unused_command_line_argument=yes
6203else
6204  xorg_cv_cc_flag_unused_command_line_argument=no
6205fi
6206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207fi
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6209$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6210	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6211	CFLAGS="$xorg_testset_save_CFLAGS"
6212fi
6213
6214found="no"
6215
6216	if test $found = "no" ; then
6217		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6218			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6219		fi
6220
6221		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6222			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6223		fi
6224
6225		CFLAGS="$CFLAGS -Wshadow"
6226
6227		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6228$as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6229		cacheid=xorg_cv_cc_flag__Wshadow
6230		if eval \${$cacheid+:} false; then :
6231  $as_echo_n "(cached) " >&6
6232else
6233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234/* end confdefs.h.  */
6235int i;
6236int
6237main ()
6238{
6239
6240  ;
6241  return 0;
6242}
6243_ACEOF
6244if ac_fn_c_try_link "$LINENO"; then :
6245  eval $cacheid=yes
6246else
6247  eval $cacheid=no
6248fi
6249rm -f core conftest.err conftest.$ac_objext \
6250    conftest$ac_exeext conftest.$ac_ext
6251fi
6252
6253
6254		CFLAGS="$xorg_testset_save_CFLAGS"
6255
6256		eval supported=\$$cacheid
6257		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6258$as_echo "$supported" >&6; }
6259		if test "$supported" = "yes" ; then
6260			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
6261			found="yes"
6262		fi
6263	fi
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279xorg_testset_save_CFLAGS="$CFLAGS"
6280
6281if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6282	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6283	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6284$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6285if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6286  $as_echo_n "(cached) " >&6
6287else
6288  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289/* end confdefs.h.  */
6290int i;
6291_ACEOF
6292if ac_fn_c_try_compile "$LINENO"; then :
6293  xorg_cv_cc_flag_unknown_warning_option=yes
6294else
6295  xorg_cv_cc_flag_unknown_warning_option=no
6296fi
6297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298fi
6299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6300$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6301	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6302	CFLAGS="$xorg_testset_save_CFLAGS"
6303fi
6304
6305if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6306	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6307		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6308	fi
6309	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6310	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6311$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6312if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6313  $as_echo_n "(cached) " >&6
6314else
6315  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316/* end confdefs.h.  */
6317int i;
6318_ACEOF
6319if ac_fn_c_try_compile "$LINENO"; then :
6320  xorg_cv_cc_flag_unused_command_line_argument=yes
6321else
6322  xorg_cv_cc_flag_unused_command_line_argument=no
6323fi
6324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325fi
6326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6327$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6328	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6329	CFLAGS="$xorg_testset_save_CFLAGS"
6330fi
6331
6332found="no"
6333
6334	if test $found = "no" ; then
6335		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6336			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6337		fi
6338
6339		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6340			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6341		fi
6342
6343		CFLAGS="$CFLAGS -Wmissing-noreturn"
6344
6345		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
6346$as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
6347		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
6348		if eval \${$cacheid+:} false; then :
6349  $as_echo_n "(cached) " >&6
6350else
6351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352/* end confdefs.h.  */
6353int i;
6354int
6355main ()
6356{
6357
6358  ;
6359  return 0;
6360}
6361_ACEOF
6362if ac_fn_c_try_link "$LINENO"; then :
6363  eval $cacheid=yes
6364else
6365  eval $cacheid=no
6366fi
6367rm -f core conftest.err conftest.$ac_objext \
6368    conftest$ac_exeext conftest.$ac_ext
6369fi
6370
6371
6372		CFLAGS="$xorg_testset_save_CFLAGS"
6373
6374		eval supported=\$$cacheid
6375		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6376$as_echo "$supported" >&6; }
6377		if test "$supported" = "yes" ; then
6378			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
6379			found="yes"
6380		fi
6381	fi
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397xorg_testset_save_CFLAGS="$CFLAGS"
6398
6399if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6400	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6401	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6402$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6403if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6404  $as_echo_n "(cached) " >&6
6405else
6406  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407/* end confdefs.h.  */
6408int i;
6409_ACEOF
6410if ac_fn_c_try_compile "$LINENO"; then :
6411  xorg_cv_cc_flag_unknown_warning_option=yes
6412else
6413  xorg_cv_cc_flag_unknown_warning_option=no
6414fi
6415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416fi
6417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6418$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6419	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6420	CFLAGS="$xorg_testset_save_CFLAGS"
6421fi
6422
6423if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6424	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6425		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6426	fi
6427	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6428	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6429$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6430if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6431  $as_echo_n "(cached) " >&6
6432else
6433  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434/* end confdefs.h.  */
6435int i;
6436_ACEOF
6437if ac_fn_c_try_compile "$LINENO"; then :
6438  xorg_cv_cc_flag_unused_command_line_argument=yes
6439else
6440  xorg_cv_cc_flag_unused_command_line_argument=no
6441fi
6442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6443fi
6444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6445$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6446	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6447	CFLAGS="$xorg_testset_save_CFLAGS"
6448fi
6449
6450found="no"
6451
6452	if test $found = "no" ; then
6453		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6454			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6455		fi
6456
6457		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6458			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6459		fi
6460
6461		CFLAGS="$CFLAGS -Wmissing-format-attribute"
6462
6463		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
6464$as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
6465		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
6466		if eval \${$cacheid+:} false; then :
6467  $as_echo_n "(cached) " >&6
6468else
6469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470/* end confdefs.h.  */
6471int i;
6472int
6473main ()
6474{
6475
6476  ;
6477  return 0;
6478}
6479_ACEOF
6480if ac_fn_c_try_link "$LINENO"; then :
6481  eval $cacheid=yes
6482else
6483  eval $cacheid=no
6484fi
6485rm -f core conftest.err conftest.$ac_objext \
6486    conftest$ac_exeext conftest.$ac_ext
6487fi
6488
6489
6490		CFLAGS="$xorg_testset_save_CFLAGS"
6491
6492		eval supported=\$$cacheid
6493		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6494$as_echo "$supported" >&6; }
6495		if test "$supported" = "yes" ; then
6496			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
6497			found="yes"
6498		fi
6499	fi
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515xorg_testset_save_CFLAGS="$CFLAGS"
6516
6517if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6518	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6519	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6520$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6521if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6522  $as_echo_n "(cached) " >&6
6523else
6524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525/* end confdefs.h.  */
6526int i;
6527_ACEOF
6528if ac_fn_c_try_compile "$LINENO"; then :
6529  xorg_cv_cc_flag_unknown_warning_option=yes
6530else
6531  xorg_cv_cc_flag_unknown_warning_option=no
6532fi
6533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6534fi
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6536$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6537	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6538	CFLAGS="$xorg_testset_save_CFLAGS"
6539fi
6540
6541if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6542	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6543		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6544	fi
6545	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6546	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6547$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6548if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6549  $as_echo_n "(cached) " >&6
6550else
6551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6552/* end confdefs.h.  */
6553int i;
6554_ACEOF
6555if ac_fn_c_try_compile "$LINENO"; then :
6556  xorg_cv_cc_flag_unused_command_line_argument=yes
6557else
6558  xorg_cv_cc_flag_unused_command_line_argument=no
6559fi
6560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6561fi
6562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6563$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6564	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6565	CFLAGS="$xorg_testset_save_CFLAGS"
6566fi
6567
6568found="no"
6569
6570	if test $found = "no" ; then
6571		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6572			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6573		fi
6574
6575		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6576			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6577		fi
6578
6579		CFLAGS="$CFLAGS -Wredundant-decls"
6580
6581		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6582$as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6583		cacheid=xorg_cv_cc_flag__Wredundant_decls
6584		if eval \${$cacheid+:} false; then :
6585  $as_echo_n "(cached) " >&6
6586else
6587  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588/* end confdefs.h.  */
6589int i;
6590int
6591main ()
6592{
6593
6594  ;
6595  return 0;
6596}
6597_ACEOF
6598if ac_fn_c_try_link "$LINENO"; then :
6599  eval $cacheid=yes
6600else
6601  eval $cacheid=no
6602fi
6603rm -f core conftest.err conftest.$ac_objext \
6604    conftest$ac_exeext conftest.$ac_ext
6605fi
6606
6607
6608		CFLAGS="$xorg_testset_save_CFLAGS"
6609
6610		eval supported=\$$cacheid
6611		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6612$as_echo "$supported" >&6; }
6613		if test "$supported" = "yes" ; then
6614			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
6615			found="yes"
6616		fi
6617	fi
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633xorg_testset_save_CFLAGS="$CFLAGS"
6634
6635if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6636	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6637	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6638$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6639if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6640  $as_echo_n "(cached) " >&6
6641else
6642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643/* end confdefs.h.  */
6644int i;
6645_ACEOF
6646if ac_fn_c_try_compile "$LINENO"; then :
6647  xorg_cv_cc_flag_unknown_warning_option=yes
6648else
6649  xorg_cv_cc_flag_unknown_warning_option=no
6650fi
6651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652fi
6653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6654$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6655	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6656	CFLAGS="$xorg_testset_save_CFLAGS"
6657fi
6658
6659if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6660	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6661		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6662	fi
6663	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6664	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6665$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6666if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6667  $as_echo_n "(cached) " >&6
6668else
6669  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6670/* end confdefs.h.  */
6671int i;
6672_ACEOF
6673if ac_fn_c_try_compile "$LINENO"; then :
6674  xorg_cv_cc_flag_unused_command_line_argument=yes
6675else
6676  xorg_cv_cc_flag_unused_command_line_argument=no
6677fi
6678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6679fi
6680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6681$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6682	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6683	CFLAGS="$xorg_testset_save_CFLAGS"
6684fi
6685
6686found="no"
6687
6688	if test $found = "no" ; then
6689		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6690			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6691		fi
6692
6693		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6694			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6695		fi
6696
6697		CFLAGS="$CFLAGS -Wlogical-op"
6698
6699		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
6700$as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
6701		cacheid=xorg_cv_cc_flag__Wlogical_op
6702		if eval \${$cacheid+:} false; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706/* end confdefs.h.  */
6707int i;
6708int
6709main ()
6710{
6711
6712  ;
6713  return 0;
6714}
6715_ACEOF
6716if ac_fn_c_try_link "$LINENO"; then :
6717  eval $cacheid=yes
6718else
6719  eval $cacheid=no
6720fi
6721rm -f core conftest.err conftest.$ac_objext \
6722    conftest$ac_exeext conftest.$ac_ext
6723fi
6724
6725
6726		CFLAGS="$xorg_testset_save_CFLAGS"
6727
6728		eval supported=\$$cacheid
6729		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6730$as_echo "$supported" >&6; }
6731		if test "$supported" = "yes" ; then
6732			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
6733			found="yes"
6734		fi
6735	fi
6736
6737
6738
6739# These are currently disabled because they are noisy.  They will be enabled
6740# in the future once the codebase is sufficiently modernized to silence
6741# them.  For now, I don't want them to drown out the other warnings.
6742# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
6743# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
6744# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
6745
6746# Turn some warnings into errors, so we don't accidently get successful builds
6747# when there are problems that should be fixed.
6748
6749if test "x$SELECTIVE_WERROR" = "xyes" ; then
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763xorg_testset_save_CFLAGS="$CFLAGS"
6764
6765if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6766	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6767	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6768$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6769if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6770  $as_echo_n "(cached) " >&6
6771else
6772  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773/* end confdefs.h.  */
6774int i;
6775_ACEOF
6776if ac_fn_c_try_compile "$LINENO"; then :
6777  xorg_cv_cc_flag_unknown_warning_option=yes
6778else
6779  xorg_cv_cc_flag_unknown_warning_option=no
6780fi
6781rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6782fi
6783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6784$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6785	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6786	CFLAGS="$xorg_testset_save_CFLAGS"
6787fi
6788
6789if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6790	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6791		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6792	fi
6793	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6794	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6795$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6796if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6797  $as_echo_n "(cached) " >&6
6798else
6799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800/* end confdefs.h.  */
6801int i;
6802_ACEOF
6803if ac_fn_c_try_compile "$LINENO"; then :
6804  xorg_cv_cc_flag_unused_command_line_argument=yes
6805else
6806  xorg_cv_cc_flag_unused_command_line_argument=no
6807fi
6808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6809fi
6810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6811$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6812	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6813	CFLAGS="$xorg_testset_save_CFLAGS"
6814fi
6815
6816found="no"
6817
6818	if test $found = "no" ; then
6819		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6820			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6821		fi
6822
6823		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6824			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6825		fi
6826
6827		CFLAGS="$CFLAGS -Werror=implicit"
6828
6829		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
6830$as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
6831		cacheid=xorg_cv_cc_flag__Werror_implicit
6832		if eval \${$cacheid+:} false; then :
6833  $as_echo_n "(cached) " >&6
6834else
6835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836/* end confdefs.h.  */
6837int i;
6838int
6839main ()
6840{
6841
6842  ;
6843  return 0;
6844}
6845_ACEOF
6846if ac_fn_c_try_link "$LINENO"; then :
6847  eval $cacheid=yes
6848else
6849  eval $cacheid=no
6850fi
6851rm -f core conftest.err conftest.$ac_objext \
6852    conftest$ac_exeext conftest.$ac_ext
6853fi
6854
6855
6856		CFLAGS="$xorg_testset_save_CFLAGS"
6857
6858		eval supported=\$$cacheid
6859		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6860$as_echo "$supported" >&6; }
6861		if test "$supported" = "yes" ; then
6862			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
6863			found="yes"
6864		fi
6865	fi
6866
6867	if test $found = "no" ; then
6868		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6869			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6870		fi
6871
6872		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6873			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6874		fi
6875
6876		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6877
6878		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
6879$as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
6880		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
6881		if eval \${$cacheid+:} false; then :
6882  $as_echo_n "(cached) " >&6
6883else
6884  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6885/* end confdefs.h.  */
6886int i;
6887int
6888main ()
6889{
6890
6891  ;
6892  return 0;
6893}
6894_ACEOF
6895if ac_fn_c_try_link "$LINENO"; then :
6896  eval $cacheid=yes
6897else
6898  eval $cacheid=no
6899fi
6900rm -f core conftest.err conftest.$ac_objext \
6901    conftest$ac_exeext conftest.$ac_ext
6902fi
6903
6904
6905		CFLAGS="$xorg_testset_save_CFLAGS"
6906
6907		eval supported=\$$cacheid
6908		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
6909$as_echo "$supported" >&6; }
6910		if test "$supported" = "yes" ; then
6911			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
6912			found="yes"
6913		fi
6914	fi
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930xorg_testset_save_CFLAGS="$CFLAGS"
6931
6932if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
6933	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6934	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
6935$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
6936if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
6937  $as_echo_n "(cached) " >&6
6938else
6939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940/* end confdefs.h.  */
6941int i;
6942_ACEOF
6943if ac_fn_c_try_compile "$LINENO"; then :
6944  xorg_cv_cc_flag_unknown_warning_option=yes
6945else
6946  xorg_cv_cc_flag_unknown_warning_option=no
6947fi
6948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6949fi
6950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
6951$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
6952	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
6953	CFLAGS="$xorg_testset_save_CFLAGS"
6954fi
6955
6956if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
6957	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6958		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6959	fi
6960	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6961	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
6962$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
6963if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
6964  $as_echo_n "(cached) " >&6
6965else
6966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6967/* end confdefs.h.  */
6968int i;
6969_ACEOF
6970if ac_fn_c_try_compile "$LINENO"; then :
6971  xorg_cv_cc_flag_unused_command_line_argument=yes
6972else
6973  xorg_cv_cc_flag_unused_command_line_argument=no
6974fi
6975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976fi
6977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
6978$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
6979	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
6980	CFLAGS="$xorg_testset_save_CFLAGS"
6981fi
6982
6983found="no"
6984
6985	if test $found = "no" ; then
6986		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
6987			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
6988		fi
6989
6990		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
6991			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
6992		fi
6993
6994		CFLAGS="$CFLAGS -Werror=nonnull"
6995
6996		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
6997$as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
6998		cacheid=xorg_cv_cc_flag__Werror_nonnull
6999		if eval \${$cacheid+:} false; then :
7000  $as_echo_n "(cached) " >&6
7001else
7002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003/* end confdefs.h.  */
7004int i;
7005int
7006main ()
7007{
7008
7009  ;
7010  return 0;
7011}
7012_ACEOF
7013if ac_fn_c_try_link "$LINENO"; then :
7014  eval $cacheid=yes
7015else
7016  eval $cacheid=no
7017fi
7018rm -f core conftest.err conftest.$ac_objext \
7019    conftest$ac_exeext conftest.$ac_ext
7020fi
7021
7022
7023		CFLAGS="$xorg_testset_save_CFLAGS"
7024
7025		eval supported=\$$cacheid
7026		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7027$as_echo "$supported" >&6; }
7028		if test "$supported" = "yes" ; then
7029			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
7030			found="yes"
7031		fi
7032	fi
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048xorg_testset_save_CFLAGS="$CFLAGS"
7049
7050if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7051	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7052	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7053$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7054if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7055  $as_echo_n "(cached) " >&6
7056else
7057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7058/* end confdefs.h.  */
7059int i;
7060_ACEOF
7061if ac_fn_c_try_compile "$LINENO"; then :
7062  xorg_cv_cc_flag_unknown_warning_option=yes
7063else
7064  xorg_cv_cc_flag_unknown_warning_option=no
7065fi
7066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067fi
7068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7069$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7070	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7071	CFLAGS="$xorg_testset_save_CFLAGS"
7072fi
7073
7074if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7075	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7076		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7077	fi
7078	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7079	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7080$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7081if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7082  $as_echo_n "(cached) " >&6
7083else
7084  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085/* end confdefs.h.  */
7086int i;
7087_ACEOF
7088if ac_fn_c_try_compile "$LINENO"; then :
7089  xorg_cv_cc_flag_unused_command_line_argument=yes
7090else
7091  xorg_cv_cc_flag_unused_command_line_argument=no
7092fi
7093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7094fi
7095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7096$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7097	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7098	CFLAGS="$xorg_testset_save_CFLAGS"
7099fi
7100
7101found="no"
7102
7103	if test $found = "no" ; then
7104		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7105			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7106		fi
7107
7108		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7109			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7110		fi
7111
7112		CFLAGS="$CFLAGS -Werror=init-self"
7113
7114		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
7115$as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
7116		cacheid=xorg_cv_cc_flag__Werror_init_self
7117		if eval \${$cacheid+:} false; then :
7118  $as_echo_n "(cached) " >&6
7119else
7120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121/* end confdefs.h.  */
7122int i;
7123int
7124main ()
7125{
7126
7127  ;
7128  return 0;
7129}
7130_ACEOF
7131if ac_fn_c_try_link "$LINENO"; then :
7132  eval $cacheid=yes
7133else
7134  eval $cacheid=no
7135fi
7136rm -f core conftest.err conftest.$ac_objext \
7137    conftest$ac_exeext conftest.$ac_ext
7138fi
7139
7140
7141		CFLAGS="$xorg_testset_save_CFLAGS"
7142
7143		eval supported=\$$cacheid
7144		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7145$as_echo "$supported" >&6; }
7146		if test "$supported" = "yes" ; then
7147			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
7148			found="yes"
7149		fi
7150	fi
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166xorg_testset_save_CFLAGS="$CFLAGS"
7167
7168if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7169	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7170	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7171$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7172if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7173  $as_echo_n "(cached) " >&6
7174else
7175  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176/* end confdefs.h.  */
7177int i;
7178_ACEOF
7179if ac_fn_c_try_compile "$LINENO"; then :
7180  xorg_cv_cc_flag_unknown_warning_option=yes
7181else
7182  xorg_cv_cc_flag_unknown_warning_option=no
7183fi
7184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7185fi
7186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7187$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7188	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7189	CFLAGS="$xorg_testset_save_CFLAGS"
7190fi
7191
7192if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7193	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7194		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7195	fi
7196	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7197	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7198$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7199if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7200  $as_echo_n "(cached) " >&6
7201else
7202  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7203/* end confdefs.h.  */
7204int i;
7205_ACEOF
7206if ac_fn_c_try_compile "$LINENO"; then :
7207  xorg_cv_cc_flag_unused_command_line_argument=yes
7208else
7209  xorg_cv_cc_flag_unused_command_line_argument=no
7210fi
7211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7212fi
7213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7214$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7215	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7216	CFLAGS="$xorg_testset_save_CFLAGS"
7217fi
7218
7219found="no"
7220
7221	if test $found = "no" ; then
7222		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7223			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7224		fi
7225
7226		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7227			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7228		fi
7229
7230		CFLAGS="$CFLAGS -Werror=main"
7231
7232		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
7233$as_echo_n "checking if $CC supports -Werror=main... " >&6; }
7234		cacheid=xorg_cv_cc_flag__Werror_main
7235		if eval \${$cacheid+:} false; then :
7236  $as_echo_n "(cached) " >&6
7237else
7238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239/* end confdefs.h.  */
7240int i;
7241int
7242main ()
7243{
7244
7245  ;
7246  return 0;
7247}
7248_ACEOF
7249if ac_fn_c_try_link "$LINENO"; then :
7250  eval $cacheid=yes
7251else
7252  eval $cacheid=no
7253fi
7254rm -f core conftest.err conftest.$ac_objext \
7255    conftest$ac_exeext conftest.$ac_ext
7256fi
7257
7258
7259		CFLAGS="$xorg_testset_save_CFLAGS"
7260
7261		eval supported=\$$cacheid
7262		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7263$as_echo "$supported" >&6; }
7264		if test "$supported" = "yes" ; then
7265			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
7266			found="yes"
7267		fi
7268	fi
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284xorg_testset_save_CFLAGS="$CFLAGS"
7285
7286if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7287	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7288	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7289$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7290if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7291  $as_echo_n "(cached) " >&6
7292else
7293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7294/* end confdefs.h.  */
7295int i;
7296_ACEOF
7297if ac_fn_c_try_compile "$LINENO"; then :
7298  xorg_cv_cc_flag_unknown_warning_option=yes
7299else
7300  xorg_cv_cc_flag_unknown_warning_option=no
7301fi
7302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7303fi
7304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7305$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7306	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7307	CFLAGS="$xorg_testset_save_CFLAGS"
7308fi
7309
7310if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7311	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7312		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7313	fi
7314	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7315	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7316$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7317if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7318  $as_echo_n "(cached) " >&6
7319else
7320  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7321/* end confdefs.h.  */
7322int i;
7323_ACEOF
7324if ac_fn_c_try_compile "$LINENO"; then :
7325  xorg_cv_cc_flag_unused_command_line_argument=yes
7326else
7327  xorg_cv_cc_flag_unused_command_line_argument=no
7328fi
7329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330fi
7331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7332$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7333	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7334	CFLAGS="$xorg_testset_save_CFLAGS"
7335fi
7336
7337found="no"
7338
7339	if test $found = "no" ; then
7340		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7341			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7342		fi
7343
7344		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7345			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7346		fi
7347
7348		CFLAGS="$CFLAGS -Werror=missing-braces"
7349
7350		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
7351$as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
7352		cacheid=xorg_cv_cc_flag__Werror_missing_braces
7353		if eval \${$cacheid+:} false; then :
7354  $as_echo_n "(cached) " >&6
7355else
7356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7357/* end confdefs.h.  */
7358int i;
7359int
7360main ()
7361{
7362
7363  ;
7364  return 0;
7365}
7366_ACEOF
7367if ac_fn_c_try_link "$LINENO"; then :
7368  eval $cacheid=yes
7369else
7370  eval $cacheid=no
7371fi
7372rm -f core conftest.err conftest.$ac_objext \
7373    conftest$ac_exeext conftest.$ac_ext
7374fi
7375
7376
7377		CFLAGS="$xorg_testset_save_CFLAGS"
7378
7379		eval supported=\$$cacheid
7380		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7381$as_echo "$supported" >&6; }
7382		if test "$supported" = "yes" ; then
7383			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
7384			found="yes"
7385		fi
7386	fi
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402xorg_testset_save_CFLAGS="$CFLAGS"
7403
7404if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7405	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7406	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7407$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7408if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7409  $as_echo_n "(cached) " >&6
7410else
7411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412/* end confdefs.h.  */
7413int i;
7414_ACEOF
7415if ac_fn_c_try_compile "$LINENO"; then :
7416  xorg_cv_cc_flag_unknown_warning_option=yes
7417else
7418  xorg_cv_cc_flag_unknown_warning_option=no
7419fi
7420rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7421fi
7422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7423$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7424	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7425	CFLAGS="$xorg_testset_save_CFLAGS"
7426fi
7427
7428if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7429	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7430		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7431	fi
7432	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7433	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7434$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7435if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7436  $as_echo_n "(cached) " >&6
7437else
7438  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439/* end confdefs.h.  */
7440int i;
7441_ACEOF
7442if ac_fn_c_try_compile "$LINENO"; then :
7443  xorg_cv_cc_flag_unused_command_line_argument=yes
7444else
7445  xorg_cv_cc_flag_unused_command_line_argument=no
7446fi
7447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7448fi
7449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7450$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7451	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7452	CFLAGS="$xorg_testset_save_CFLAGS"
7453fi
7454
7455found="no"
7456
7457	if test $found = "no" ; then
7458		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7459			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7460		fi
7461
7462		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7463			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7464		fi
7465
7466		CFLAGS="$CFLAGS -Werror=sequence-point"
7467
7468		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
7469$as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
7470		cacheid=xorg_cv_cc_flag__Werror_sequence_point
7471		if eval \${$cacheid+:} false; then :
7472  $as_echo_n "(cached) " >&6
7473else
7474  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475/* end confdefs.h.  */
7476int i;
7477int
7478main ()
7479{
7480
7481  ;
7482  return 0;
7483}
7484_ACEOF
7485if ac_fn_c_try_link "$LINENO"; then :
7486  eval $cacheid=yes
7487else
7488  eval $cacheid=no
7489fi
7490rm -f core conftest.err conftest.$ac_objext \
7491    conftest$ac_exeext conftest.$ac_ext
7492fi
7493
7494
7495		CFLAGS="$xorg_testset_save_CFLAGS"
7496
7497		eval supported=\$$cacheid
7498		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7499$as_echo "$supported" >&6; }
7500		if test "$supported" = "yes" ; then
7501			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
7502			found="yes"
7503		fi
7504	fi
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520xorg_testset_save_CFLAGS="$CFLAGS"
7521
7522if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7523	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7524	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7525$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7526if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7527  $as_echo_n "(cached) " >&6
7528else
7529  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530/* end confdefs.h.  */
7531int i;
7532_ACEOF
7533if ac_fn_c_try_compile "$LINENO"; then :
7534  xorg_cv_cc_flag_unknown_warning_option=yes
7535else
7536  xorg_cv_cc_flag_unknown_warning_option=no
7537fi
7538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7539fi
7540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7541$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7542	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7543	CFLAGS="$xorg_testset_save_CFLAGS"
7544fi
7545
7546if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7547	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7548		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7549	fi
7550	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7551	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7552$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7553if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7554  $as_echo_n "(cached) " >&6
7555else
7556  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557/* end confdefs.h.  */
7558int i;
7559_ACEOF
7560if ac_fn_c_try_compile "$LINENO"; then :
7561  xorg_cv_cc_flag_unused_command_line_argument=yes
7562else
7563  xorg_cv_cc_flag_unused_command_line_argument=no
7564fi
7565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7566fi
7567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7568$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7569	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7570	CFLAGS="$xorg_testset_save_CFLAGS"
7571fi
7572
7573found="no"
7574
7575	if test $found = "no" ; then
7576		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7577			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7578		fi
7579
7580		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7581			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7582		fi
7583
7584		CFLAGS="$CFLAGS -Werror=return-type"
7585
7586		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
7587$as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
7588		cacheid=xorg_cv_cc_flag__Werror_return_type
7589		if eval \${$cacheid+:} false; then :
7590  $as_echo_n "(cached) " >&6
7591else
7592  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593/* end confdefs.h.  */
7594int i;
7595int
7596main ()
7597{
7598
7599  ;
7600  return 0;
7601}
7602_ACEOF
7603if ac_fn_c_try_link "$LINENO"; then :
7604  eval $cacheid=yes
7605else
7606  eval $cacheid=no
7607fi
7608rm -f core conftest.err conftest.$ac_objext \
7609    conftest$ac_exeext conftest.$ac_ext
7610fi
7611
7612
7613		CFLAGS="$xorg_testset_save_CFLAGS"
7614
7615		eval supported=\$$cacheid
7616		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7617$as_echo "$supported" >&6; }
7618		if test "$supported" = "yes" ; then
7619			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
7620			found="yes"
7621		fi
7622	fi
7623
7624	if test $found = "no" ; then
7625		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7626			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7627		fi
7628
7629		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7630			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7631		fi
7632
7633		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7634
7635		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
7636$as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
7637		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
7638		if eval \${$cacheid+:} false; then :
7639  $as_echo_n "(cached) " >&6
7640else
7641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642/* end confdefs.h.  */
7643int i;
7644int
7645main ()
7646{
7647
7648  ;
7649  return 0;
7650}
7651_ACEOF
7652if ac_fn_c_try_link "$LINENO"; then :
7653  eval $cacheid=yes
7654else
7655  eval $cacheid=no
7656fi
7657rm -f core conftest.err conftest.$ac_objext \
7658    conftest$ac_exeext conftest.$ac_ext
7659fi
7660
7661
7662		CFLAGS="$xorg_testset_save_CFLAGS"
7663
7664		eval supported=\$$cacheid
7665		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7666$as_echo "$supported" >&6; }
7667		if test "$supported" = "yes" ; then
7668			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
7669			found="yes"
7670		fi
7671	fi
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687xorg_testset_save_CFLAGS="$CFLAGS"
7688
7689if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7690	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7691	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7692$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7693if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7694  $as_echo_n "(cached) " >&6
7695else
7696  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697/* end confdefs.h.  */
7698int i;
7699_ACEOF
7700if ac_fn_c_try_compile "$LINENO"; then :
7701  xorg_cv_cc_flag_unknown_warning_option=yes
7702else
7703  xorg_cv_cc_flag_unknown_warning_option=no
7704fi
7705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7706fi
7707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7708$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7709	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7710	CFLAGS="$xorg_testset_save_CFLAGS"
7711fi
7712
7713if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7714	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7715		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7716	fi
7717	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7718	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7719$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7720if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7721  $as_echo_n "(cached) " >&6
7722else
7723  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724/* end confdefs.h.  */
7725int i;
7726_ACEOF
7727if ac_fn_c_try_compile "$LINENO"; then :
7728  xorg_cv_cc_flag_unused_command_line_argument=yes
7729else
7730  xorg_cv_cc_flag_unused_command_line_argument=no
7731fi
7732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7733fi
7734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7735$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7736	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7737	CFLAGS="$xorg_testset_save_CFLAGS"
7738fi
7739
7740found="no"
7741
7742	if test $found = "no" ; then
7743		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7744			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7745		fi
7746
7747		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7748			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7749		fi
7750
7751		CFLAGS="$CFLAGS -Werror=trigraphs"
7752
7753		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
7754$as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
7755		cacheid=xorg_cv_cc_flag__Werror_trigraphs
7756		if eval \${$cacheid+:} false; then :
7757  $as_echo_n "(cached) " >&6
7758else
7759  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760/* end confdefs.h.  */
7761int i;
7762int
7763main ()
7764{
7765
7766  ;
7767  return 0;
7768}
7769_ACEOF
7770if ac_fn_c_try_link "$LINENO"; then :
7771  eval $cacheid=yes
7772else
7773  eval $cacheid=no
7774fi
7775rm -f core conftest.err conftest.$ac_objext \
7776    conftest$ac_exeext conftest.$ac_ext
7777fi
7778
7779
7780		CFLAGS="$xorg_testset_save_CFLAGS"
7781
7782		eval supported=\$$cacheid
7783		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7784$as_echo "$supported" >&6; }
7785		if test "$supported" = "yes" ; then
7786			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
7787			found="yes"
7788		fi
7789	fi
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805xorg_testset_save_CFLAGS="$CFLAGS"
7806
7807if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7808	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7809	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7810$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7811if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7812  $as_echo_n "(cached) " >&6
7813else
7814  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815/* end confdefs.h.  */
7816int i;
7817_ACEOF
7818if ac_fn_c_try_compile "$LINENO"; then :
7819  xorg_cv_cc_flag_unknown_warning_option=yes
7820else
7821  xorg_cv_cc_flag_unknown_warning_option=no
7822fi
7823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824fi
7825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7826$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7827	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7828	CFLAGS="$xorg_testset_save_CFLAGS"
7829fi
7830
7831if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7832	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7833		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7834	fi
7835	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7836	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7837$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7838if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7839  $as_echo_n "(cached) " >&6
7840else
7841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7842/* end confdefs.h.  */
7843int i;
7844_ACEOF
7845if ac_fn_c_try_compile "$LINENO"; then :
7846  xorg_cv_cc_flag_unused_command_line_argument=yes
7847else
7848  xorg_cv_cc_flag_unused_command_line_argument=no
7849fi
7850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7851fi
7852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7853$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7854	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7855	CFLAGS="$xorg_testset_save_CFLAGS"
7856fi
7857
7858found="no"
7859
7860	if test $found = "no" ; then
7861		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7862			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7863		fi
7864
7865		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7866			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7867		fi
7868
7869		CFLAGS="$CFLAGS -Werror=array-bounds"
7870
7871		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
7872$as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
7873		cacheid=xorg_cv_cc_flag__Werror_array_bounds
7874		if eval \${$cacheid+:} false; then :
7875  $as_echo_n "(cached) " >&6
7876else
7877  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7878/* end confdefs.h.  */
7879int i;
7880int
7881main ()
7882{
7883
7884  ;
7885  return 0;
7886}
7887_ACEOF
7888if ac_fn_c_try_link "$LINENO"; then :
7889  eval $cacheid=yes
7890else
7891  eval $cacheid=no
7892fi
7893rm -f core conftest.err conftest.$ac_objext \
7894    conftest$ac_exeext conftest.$ac_ext
7895fi
7896
7897
7898		CFLAGS="$xorg_testset_save_CFLAGS"
7899
7900		eval supported=\$$cacheid
7901		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
7902$as_echo "$supported" >&6; }
7903		if test "$supported" = "yes" ; then
7904			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
7905			found="yes"
7906		fi
7907	fi
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923xorg_testset_save_CFLAGS="$CFLAGS"
7924
7925if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
7926	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7927	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
7928$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
7929if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
7930  $as_echo_n "(cached) " >&6
7931else
7932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933/* end confdefs.h.  */
7934int i;
7935_ACEOF
7936if ac_fn_c_try_compile "$LINENO"; then :
7937  xorg_cv_cc_flag_unknown_warning_option=yes
7938else
7939  xorg_cv_cc_flag_unknown_warning_option=no
7940fi
7941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7942fi
7943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
7944$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
7945	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
7946	CFLAGS="$xorg_testset_save_CFLAGS"
7947fi
7948
7949if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
7950	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7951		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7952	fi
7953	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7954	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
7955$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
7956if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
7957  $as_echo_n "(cached) " >&6
7958else
7959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960/* end confdefs.h.  */
7961int i;
7962_ACEOF
7963if ac_fn_c_try_compile "$LINENO"; then :
7964  xorg_cv_cc_flag_unused_command_line_argument=yes
7965else
7966  xorg_cv_cc_flag_unused_command_line_argument=no
7967fi
7968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7969fi
7970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
7971$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
7972	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
7973	CFLAGS="$xorg_testset_save_CFLAGS"
7974fi
7975
7976found="no"
7977
7978	if test $found = "no" ; then
7979		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
7980			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
7981		fi
7982
7983		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
7984			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
7985		fi
7986
7987		CFLAGS="$CFLAGS -Werror=write-strings"
7988
7989		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
7990$as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
7991		cacheid=xorg_cv_cc_flag__Werror_write_strings
7992		if eval \${$cacheid+:} false; then :
7993  $as_echo_n "(cached) " >&6
7994else
7995  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996/* end confdefs.h.  */
7997int i;
7998int
7999main ()
8000{
8001
8002  ;
8003  return 0;
8004}
8005_ACEOF
8006if ac_fn_c_try_link "$LINENO"; then :
8007  eval $cacheid=yes
8008else
8009  eval $cacheid=no
8010fi
8011rm -f core conftest.err conftest.$ac_objext \
8012    conftest$ac_exeext conftest.$ac_ext
8013fi
8014
8015
8016		CFLAGS="$xorg_testset_save_CFLAGS"
8017
8018		eval supported=\$$cacheid
8019		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8020$as_echo "$supported" >&6; }
8021		if test "$supported" = "yes" ; then
8022			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
8023			found="yes"
8024		fi
8025	fi
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041xorg_testset_save_CFLAGS="$CFLAGS"
8042
8043if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8044	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8045	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8046$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8047if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8048  $as_echo_n "(cached) " >&6
8049else
8050  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051/* end confdefs.h.  */
8052int i;
8053_ACEOF
8054if ac_fn_c_try_compile "$LINENO"; then :
8055  xorg_cv_cc_flag_unknown_warning_option=yes
8056else
8057  xorg_cv_cc_flag_unknown_warning_option=no
8058fi
8059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8060fi
8061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8062$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8063	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8064	CFLAGS="$xorg_testset_save_CFLAGS"
8065fi
8066
8067if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8068	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8069		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8070	fi
8071	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8072	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8073$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8074if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8075  $as_echo_n "(cached) " >&6
8076else
8077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078/* end confdefs.h.  */
8079int i;
8080_ACEOF
8081if ac_fn_c_try_compile "$LINENO"; then :
8082  xorg_cv_cc_flag_unused_command_line_argument=yes
8083else
8084  xorg_cv_cc_flag_unused_command_line_argument=no
8085fi
8086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8087fi
8088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8089$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8090	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8091	CFLAGS="$xorg_testset_save_CFLAGS"
8092fi
8093
8094found="no"
8095
8096	if test $found = "no" ; then
8097		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8098			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8099		fi
8100
8101		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8102			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8103		fi
8104
8105		CFLAGS="$CFLAGS -Werror=address"
8106
8107		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
8108$as_echo_n "checking if $CC supports -Werror=address... " >&6; }
8109		cacheid=xorg_cv_cc_flag__Werror_address
8110		if eval \${$cacheid+:} false; then :
8111  $as_echo_n "(cached) " >&6
8112else
8113  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114/* end confdefs.h.  */
8115int i;
8116int
8117main ()
8118{
8119
8120  ;
8121  return 0;
8122}
8123_ACEOF
8124if ac_fn_c_try_link "$LINENO"; then :
8125  eval $cacheid=yes
8126else
8127  eval $cacheid=no
8128fi
8129rm -f core conftest.err conftest.$ac_objext \
8130    conftest$ac_exeext conftest.$ac_ext
8131fi
8132
8133
8134		CFLAGS="$xorg_testset_save_CFLAGS"
8135
8136		eval supported=\$$cacheid
8137		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8138$as_echo "$supported" >&6; }
8139		if test "$supported" = "yes" ; then
8140			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
8141			found="yes"
8142		fi
8143	fi
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159xorg_testset_save_CFLAGS="$CFLAGS"
8160
8161if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8162	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8163	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8164$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8165if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8166  $as_echo_n "(cached) " >&6
8167else
8168  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169/* end confdefs.h.  */
8170int i;
8171_ACEOF
8172if ac_fn_c_try_compile "$LINENO"; then :
8173  xorg_cv_cc_flag_unknown_warning_option=yes
8174else
8175  xorg_cv_cc_flag_unknown_warning_option=no
8176fi
8177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8178fi
8179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8180$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8181	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8182	CFLAGS="$xorg_testset_save_CFLAGS"
8183fi
8184
8185if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8186	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8187		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8188	fi
8189	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8190	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8191$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8192if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8193  $as_echo_n "(cached) " >&6
8194else
8195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196/* end confdefs.h.  */
8197int i;
8198_ACEOF
8199if ac_fn_c_try_compile "$LINENO"; then :
8200  xorg_cv_cc_flag_unused_command_line_argument=yes
8201else
8202  xorg_cv_cc_flag_unused_command_line_argument=no
8203fi
8204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8205fi
8206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8207$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8208	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8209	CFLAGS="$xorg_testset_save_CFLAGS"
8210fi
8211
8212found="no"
8213
8214	if test $found = "no" ; then
8215		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8216			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8217		fi
8218
8219		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8220			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8221		fi
8222
8223		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
8224
8225		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
8226$as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
8227		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
8228		if eval \${$cacheid+:} false; then :
8229  $as_echo_n "(cached) " >&6
8230else
8231  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232/* end confdefs.h.  */
8233int i;
8234int
8235main ()
8236{
8237
8238  ;
8239  return 0;
8240}
8241_ACEOF
8242if ac_fn_c_try_link "$LINENO"; then :
8243  eval $cacheid=yes
8244else
8245  eval $cacheid=no
8246fi
8247rm -f core conftest.err conftest.$ac_objext \
8248    conftest$ac_exeext conftest.$ac_ext
8249fi
8250
8251
8252		CFLAGS="$xorg_testset_save_CFLAGS"
8253
8254		eval supported=\$$cacheid
8255		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8256$as_echo "$supported" >&6; }
8257		if test "$supported" = "yes" ; then
8258			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
8259			found="yes"
8260		fi
8261	fi
8262
8263	if test $found = "no" ; then
8264		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8265			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8266		fi
8267
8268		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8269			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8270		fi
8271
8272		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8273
8274		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
8275$as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
8276		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
8277		if eval \${$cacheid+:} false; then :
8278  $as_echo_n "(cached) " >&6
8279else
8280  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8281/* end confdefs.h.  */
8282int i;
8283int
8284main ()
8285{
8286
8287  ;
8288  return 0;
8289}
8290_ACEOF
8291if ac_fn_c_try_link "$LINENO"; then :
8292  eval $cacheid=yes
8293else
8294  eval $cacheid=no
8295fi
8296rm -f core conftest.err conftest.$ac_objext \
8297    conftest$ac_exeext conftest.$ac_ext
8298fi
8299
8300
8301		CFLAGS="$xorg_testset_save_CFLAGS"
8302
8303		eval supported=\$$cacheid
8304		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8305$as_echo "$supported" >&6; }
8306		if test "$supported" = "yes" ; then
8307			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
8308			found="yes"
8309		fi
8310	fi
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326xorg_testset_save_CFLAGS="$CFLAGS"
8327
8328if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8329	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8330	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8331$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8332if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8333  $as_echo_n "(cached) " >&6
8334else
8335  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336/* end confdefs.h.  */
8337int i;
8338_ACEOF
8339if ac_fn_c_try_compile "$LINENO"; then :
8340  xorg_cv_cc_flag_unknown_warning_option=yes
8341else
8342  xorg_cv_cc_flag_unknown_warning_option=no
8343fi
8344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8345fi
8346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8347$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8348	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8349	CFLAGS="$xorg_testset_save_CFLAGS"
8350fi
8351
8352if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8353	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8354		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8355	fi
8356	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8357	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8358$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8359if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8360  $as_echo_n "(cached) " >&6
8361else
8362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363/* end confdefs.h.  */
8364int i;
8365_ACEOF
8366if ac_fn_c_try_compile "$LINENO"; then :
8367  xorg_cv_cc_flag_unused_command_line_argument=yes
8368else
8369  xorg_cv_cc_flag_unused_command_line_argument=no
8370fi
8371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8372fi
8373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8374$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8375	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8376	CFLAGS="$xorg_testset_save_CFLAGS"
8377fi
8378
8379found="no"
8380
8381	if test $found = "no" ; then
8382		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8383			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8384		fi
8385
8386		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8387			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8388		fi
8389
8390		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
8391
8392		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
8393$as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
8394		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
8395		if eval \${$cacheid+:} false; then :
8396  $as_echo_n "(cached) " >&6
8397else
8398  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399/* end confdefs.h.  */
8400int i;
8401int
8402main ()
8403{
8404
8405  ;
8406  return 0;
8407}
8408_ACEOF
8409if ac_fn_c_try_link "$LINENO"; then :
8410  eval $cacheid=yes
8411else
8412  eval $cacheid=no
8413fi
8414rm -f core conftest.err conftest.$ac_objext \
8415    conftest$ac_exeext conftest.$ac_ext
8416fi
8417
8418
8419		CFLAGS="$xorg_testset_save_CFLAGS"
8420
8421		eval supported=\$$cacheid
8422		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8423$as_echo "$supported" >&6; }
8424		if test "$supported" = "yes" ; then
8425			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
8426			found="yes"
8427		fi
8428	fi
8429
8430 # Also -errwarn=E_BAD_PTR_INT_COMBINATION
8431else
8432{ $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
8433$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;}
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447xorg_testset_save_CFLAGS="$CFLAGS"
8448
8449if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8450	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8451	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8452$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8453if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8454  $as_echo_n "(cached) " >&6
8455else
8456  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457/* end confdefs.h.  */
8458int i;
8459_ACEOF
8460if ac_fn_c_try_compile "$LINENO"; then :
8461  xorg_cv_cc_flag_unknown_warning_option=yes
8462else
8463  xorg_cv_cc_flag_unknown_warning_option=no
8464fi
8465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466fi
8467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8468$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8469	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8470	CFLAGS="$xorg_testset_save_CFLAGS"
8471fi
8472
8473if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8474	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8475		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8476	fi
8477	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8478	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8479$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8480if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8481  $as_echo_n "(cached) " >&6
8482else
8483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484/* end confdefs.h.  */
8485int i;
8486_ACEOF
8487if ac_fn_c_try_compile "$LINENO"; then :
8488  xorg_cv_cc_flag_unused_command_line_argument=yes
8489else
8490  xorg_cv_cc_flag_unused_command_line_argument=no
8491fi
8492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8493fi
8494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8495$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8496	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8497	CFLAGS="$xorg_testset_save_CFLAGS"
8498fi
8499
8500found="no"
8501
8502	if test $found = "no" ; then
8503		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8504			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8505		fi
8506
8507		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8508			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8509		fi
8510
8511		CFLAGS="$CFLAGS -Wimplicit"
8512
8513		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
8514$as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
8515		cacheid=xorg_cv_cc_flag__Wimplicit
8516		if eval \${$cacheid+:} false; then :
8517  $as_echo_n "(cached) " >&6
8518else
8519  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520/* end confdefs.h.  */
8521int i;
8522int
8523main ()
8524{
8525
8526  ;
8527  return 0;
8528}
8529_ACEOF
8530if ac_fn_c_try_link "$LINENO"; then :
8531  eval $cacheid=yes
8532else
8533  eval $cacheid=no
8534fi
8535rm -f core conftest.err conftest.$ac_objext \
8536    conftest$ac_exeext conftest.$ac_ext
8537fi
8538
8539
8540		CFLAGS="$xorg_testset_save_CFLAGS"
8541
8542		eval supported=\$$cacheid
8543		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8544$as_echo "$supported" >&6; }
8545		if test "$supported" = "yes" ; then
8546			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
8547			found="yes"
8548		fi
8549	fi
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565xorg_testset_save_CFLAGS="$CFLAGS"
8566
8567if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8568	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8569	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8570$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8571if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8572  $as_echo_n "(cached) " >&6
8573else
8574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575/* end confdefs.h.  */
8576int i;
8577_ACEOF
8578if ac_fn_c_try_compile "$LINENO"; then :
8579  xorg_cv_cc_flag_unknown_warning_option=yes
8580else
8581  xorg_cv_cc_flag_unknown_warning_option=no
8582fi
8583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584fi
8585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8586$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8587	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8588	CFLAGS="$xorg_testset_save_CFLAGS"
8589fi
8590
8591if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8592	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8593		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8594	fi
8595	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8596	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8597$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8598if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8599  $as_echo_n "(cached) " >&6
8600else
8601  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602/* end confdefs.h.  */
8603int i;
8604_ACEOF
8605if ac_fn_c_try_compile "$LINENO"; then :
8606  xorg_cv_cc_flag_unused_command_line_argument=yes
8607else
8608  xorg_cv_cc_flag_unused_command_line_argument=no
8609fi
8610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8611fi
8612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8613$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8614	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8615	CFLAGS="$xorg_testset_save_CFLAGS"
8616fi
8617
8618found="no"
8619
8620	if test $found = "no" ; then
8621		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8622			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8623		fi
8624
8625		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8626			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8627		fi
8628
8629		CFLAGS="$CFLAGS -Wnonnull"
8630
8631		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
8632$as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
8633		cacheid=xorg_cv_cc_flag__Wnonnull
8634		if eval \${$cacheid+:} false; then :
8635  $as_echo_n "(cached) " >&6
8636else
8637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8638/* end confdefs.h.  */
8639int i;
8640int
8641main ()
8642{
8643
8644  ;
8645  return 0;
8646}
8647_ACEOF
8648if ac_fn_c_try_link "$LINENO"; then :
8649  eval $cacheid=yes
8650else
8651  eval $cacheid=no
8652fi
8653rm -f core conftest.err conftest.$ac_objext \
8654    conftest$ac_exeext conftest.$ac_ext
8655fi
8656
8657
8658		CFLAGS="$xorg_testset_save_CFLAGS"
8659
8660		eval supported=\$$cacheid
8661		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8662$as_echo "$supported" >&6; }
8663		if test "$supported" = "yes" ; then
8664			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
8665			found="yes"
8666		fi
8667	fi
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683xorg_testset_save_CFLAGS="$CFLAGS"
8684
8685if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8686	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8687	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8688$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8689if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8690  $as_echo_n "(cached) " >&6
8691else
8692  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693/* end confdefs.h.  */
8694int i;
8695_ACEOF
8696if ac_fn_c_try_compile "$LINENO"; then :
8697  xorg_cv_cc_flag_unknown_warning_option=yes
8698else
8699  xorg_cv_cc_flag_unknown_warning_option=no
8700fi
8701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8702fi
8703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8704$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8705	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8706	CFLAGS="$xorg_testset_save_CFLAGS"
8707fi
8708
8709if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8710	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8711		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8712	fi
8713	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8714	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8715$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8716if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8717  $as_echo_n "(cached) " >&6
8718else
8719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720/* end confdefs.h.  */
8721int i;
8722_ACEOF
8723if ac_fn_c_try_compile "$LINENO"; then :
8724  xorg_cv_cc_flag_unused_command_line_argument=yes
8725else
8726  xorg_cv_cc_flag_unused_command_line_argument=no
8727fi
8728rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8729fi
8730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8731$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8732	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8733	CFLAGS="$xorg_testset_save_CFLAGS"
8734fi
8735
8736found="no"
8737
8738	if test $found = "no" ; then
8739		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8740			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8741		fi
8742
8743		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8744			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8745		fi
8746
8747		CFLAGS="$CFLAGS -Winit-self"
8748
8749		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
8750$as_echo_n "checking if $CC supports -Winit-self... " >&6; }
8751		cacheid=xorg_cv_cc_flag__Winit_self
8752		if eval \${$cacheid+:} false; then :
8753  $as_echo_n "(cached) " >&6
8754else
8755  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756/* end confdefs.h.  */
8757int i;
8758int
8759main ()
8760{
8761
8762  ;
8763  return 0;
8764}
8765_ACEOF
8766if ac_fn_c_try_link "$LINENO"; then :
8767  eval $cacheid=yes
8768else
8769  eval $cacheid=no
8770fi
8771rm -f core conftest.err conftest.$ac_objext \
8772    conftest$ac_exeext conftest.$ac_ext
8773fi
8774
8775
8776		CFLAGS="$xorg_testset_save_CFLAGS"
8777
8778		eval supported=\$$cacheid
8779		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8780$as_echo "$supported" >&6; }
8781		if test "$supported" = "yes" ; then
8782			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
8783			found="yes"
8784		fi
8785	fi
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801xorg_testset_save_CFLAGS="$CFLAGS"
8802
8803if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8804	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8805	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8806$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8807if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8808  $as_echo_n "(cached) " >&6
8809else
8810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811/* end confdefs.h.  */
8812int i;
8813_ACEOF
8814if ac_fn_c_try_compile "$LINENO"; then :
8815  xorg_cv_cc_flag_unknown_warning_option=yes
8816else
8817  xorg_cv_cc_flag_unknown_warning_option=no
8818fi
8819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8820fi
8821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8822$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8823	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8824	CFLAGS="$xorg_testset_save_CFLAGS"
8825fi
8826
8827if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8828	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8829		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8830	fi
8831	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8832	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8833$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8834if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8835  $as_echo_n "(cached) " >&6
8836else
8837  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838/* end confdefs.h.  */
8839int i;
8840_ACEOF
8841if ac_fn_c_try_compile "$LINENO"; then :
8842  xorg_cv_cc_flag_unused_command_line_argument=yes
8843else
8844  xorg_cv_cc_flag_unused_command_line_argument=no
8845fi
8846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8847fi
8848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8849$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8850	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8851	CFLAGS="$xorg_testset_save_CFLAGS"
8852fi
8853
8854found="no"
8855
8856	if test $found = "no" ; then
8857		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8858			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8859		fi
8860
8861		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8862			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8863		fi
8864
8865		CFLAGS="$CFLAGS -Wmain"
8866
8867		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
8868$as_echo_n "checking if $CC supports -Wmain... " >&6; }
8869		cacheid=xorg_cv_cc_flag__Wmain
8870		if eval \${$cacheid+:} false; then :
8871  $as_echo_n "(cached) " >&6
8872else
8873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874/* end confdefs.h.  */
8875int i;
8876int
8877main ()
8878{
8879
8880  ;
8881  return 0;
8882}
8883_ACEOF
8884if ac_fn_c_try_link "$LINENO"; then :
8885  eval $cacheid=yes
8886else
8887  eval $cacheid=no
8888fi
8889rm -f core conftest.err conftest.$ac_objext \
8890    conftest$ac_exeext conftest.$ac_ext
8891fi
8892
8893
8894		CFLAGS="$xorg_testset_save_CFLAGS"
8895
8896		eval supported=\$$cacheid
8897		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
8898$as_echo "$supported" >&6; }
8899		if test "$supported" = "yes" ; then
8900			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
8901			found="yes"
8902		fi
8903	fi
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919xorg_testset_save_CFLAGS="$CFLAGS"
8920
8921if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
8922	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8923	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
8924$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
8925if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
8926  $as_echo_n "(cached) " >&6
8927else
8928  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929/* end confdefs.h.  */
8930int i;
8931_ACEOF
8932if ac_fn_c_try_compile "$LINENO"; then :
8933  xorg_cv_cc_flag_unknown_warning_option=yes
8934else
8935  xorg_cv_cc_flag_unknown_warning_option=no
8936fi
8937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8938fi
8939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
8940$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
8941	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
8942	CFLAGS="$xorg_testset_save_CFLAGS"
8943fi
8944
8945if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
8946	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8947		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8948	fi
8949	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8950	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
8951$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
8952if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
8953  $as_echo_n "(cached) " >&6
8954else
8955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8956/* end confdefs.h.  */
8957int i;
8958_ACEOF
8959if ac_fn_c_try_compile "$LINENO"; then :
8960  xorg_cv_cc_flag_unused_command_line_argument=yes
8961else
8962  xorg_cv_cc_flag_unused_command_line_argument=no
8963fi
8964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965fi
8966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
8967$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
8968	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
8969	CFLAGS="$xorg_testset_save_CFLAGS"
8970fi
8971
8972found="no"
8973
8974	if test $found = "no" ; then
8975		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
8976			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
8977		fi
8978
8979		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
8980			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
8981		fi
8982
8983		CFLAGS="$CFLAGS -Wmissing-braces"
8984
8985		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
8986$as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
8987		cacheid=xorg_cv_cc_flag__Wmissing_braces
8988		if eval \${$cacheid+:} false; then :
8989  $as_echo_n "(cached) " >&6
8990else
8991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8992/* end confdefs.h.  */
8993int i;
8994int
8995main ()
8996{
8997
8998  ;
8999  return 0;
9000}
9001_ACEOF
9002if ac_fn_c_try_link "$LINENO"; then :
9003  eval $cacheid=yes
9004else
9005  eval $cacheid=no
9006fi
9007rm -f core conftest.err conftest.$ac_objext \
9008    conftest$ac_exeext conftest.$ac_ext
9009fi
9010
9011
9012		CFLAGS="$xorg_testset_save_CFLAGS"
9013
9014		eval supported=\$$cacheid
9015		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9016$as_echo "$supported" >&6; }
9017		if test "$supported" = "yes" ; then
9018			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
9019			found="yes"
9020		fi
9021	fi
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037xorg_testset_save_CFLAGS="$CFLAGS"
9038
9039if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9040	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9041	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9042$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9043if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9044  $as_echo_n "(cached) " >&6
9045else
9046  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047/* end confdefs.h.  */
9048int i;
9049_ACEOF
9050if ac_fn_c_try_compile "$LINENO"; then :
9051  xorg_cv_cc_flag_unknown_warning_option=yes
9052else
9053  xorg_cv_cc_flag_unknown_warning_option=no
9054fi
9055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9056fi
9057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9058$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9059	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9060	CFLAGS="$xorg_testset_save_CFLAGS"
9061fi
9062
9063if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9064	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9065		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9066	fi
9067	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9068	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9069$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9070if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9071  $as_echo_n "(cached) " >&6
9072else
9073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074/* end confdefs.h.  */
9075int i;
9076_ACEOF
9077if ac_fn_c_try_compile "$LINENO"; then :
9078  xorg_cv_cc_flag_unused_command_line_argument=yes
9079else
9080  xorg_cv_cc_flag_unused_command_line_argument=no
9081fi
9082rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9083fi
9084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9085$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9086	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9087	CFLAGS="$xorg_testset_save_CFLAGS"
9088fi
9089
9090found="no"
9091
9092	if test $found = "no" ; then
9093		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9094			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9095		fi
9096
9097		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9098			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9099		fi
9100
9101		CFLAGS="$CFLAGS -Wsequence-point"
9102
9103		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
9104$as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
9105		cacheid=xorg_cv_cc_flag__Wsequence_point
9106		if eval \${$cacheid+:} false; then :
9107  $as_echo_n "(cached) " >&6
9108else
9109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110/* end confdefs.h.  */
9111int i;
9112int
9113main ()
9114{
9115
9116  ;
9117  return 0;
9118}
9119_ACEOF
9120if ac_fn_c_try_link "$LINENO"; then :
9121  eval $cacheid=yes
9122else
9123  eval $cacheid=no
9124fi
9125rm -f core conftest.err conftest.$ac_objext \
9126    conftest$ac_exeext conftest.$ac_ext
9127fi
9128
9129
9130		CFLAGS="$xorg_testset_save_CFLAGS"
9131
9132		eval supported=\$$cacheid
9133		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9134$as_echo "$supported" >&6; }
9135		if test "$supported" = "yes" ; then
9136			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
9137			found="yes"
9138		fi
9139	fi
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155xorg_testset_save_CFLAGS="$CFLAGS"
9156
9157if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9158	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9159	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9160$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9161if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9162  $as_echo_n "(cached) " >&6
9163else
9164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165/* end confdefs.h.  */
9166int i;
9167_ACEOF
9168if ac_fn_c_try_compile "$LINENO"; then :
9169  xorg_cv_cc_flag_unknown_warning_option=yes
9170else
9171  xorg_cv_cc_flag_unknown_warning_option=no
9172fi
9173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9174fi
9175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9176$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9177	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9178	CFLAGS="$xorg_testset_save_CFLAGS"
9179fi
9180
9181if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9182	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9183		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9184	fi
9185	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9186	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9187$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9188if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9189  $as_echo_n "(cached) " >&6
9190else
9191  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9192/* end confdefs.h.  */
9193int i;
9194_ACEOF
9195if ac_fn_c_try_compile "$LINENO"; then :
9196  xorg_cv_cc_flag_unused_command_line_argument=yes
9197else
9198  xorg_cv_cc_flag_unused_command_line_argument=no
9199fi
9200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9201fi
9202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9203$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9204	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9205	CFLAGS="$xorg_testset_save_CFLAGS"
9206fi
9207
9208found="no"
9209
9210	if test $found = "no" ; then
9211		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9212			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9213		fi
9214
9215		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9216			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9217		fi
9218
9219		CFLAGS="$CFLAGS -Wreturn-type"
9220
9221		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
9222$as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
9223		cacheid=xorg_cv_cc_flag__Wreturn_type
9224		if eval \${$cacheid+:} false; then :
9225  $as_echo_n "(cached) " >&6
9226else
9227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228/* end confdefs.h.  */
9229int i;
9230int
9231main ()
9232{
9233
9234  ;
9235  return 0;
9236}
9237_ACEOF
9238if ac_fn_c_try_link "$LINENO"; then :
9239  eval $cacheid=yes
9240else
9241  eval $cacheid=no
9242fi
9243rm -f core conftest.err conftest.$ac_objext \
9244    conftest$ac_exeext conftest.$ac_ext
9245fi
9246
9247
9248		CFLAGS="$xorg_testset_save_CFLAGS"
9249
9250		eval supported=\$$cacheid
9251		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9252$as_echo "$supported" >&6; }
9253		if test "$supported" = "yes" ; then
9254			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
9255			found="yes"
9256		fi
9257	fi
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273xorg_testset_save_CFLAGS="$CFLAGS"
9274
9275if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9276	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9277	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9278$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9279if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9280  $as_echo_n "(cached) " >&6
9281else
9282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283/* end confdefs.h.  */
9284int i;
9285_ACEOF
9286if ac_fn_c_try_compile "$LINENO"; then :
9287  xorg_cv_cc_flag_unknown_warning_option=yes
9288else
9289  xorg_cv_cc_flag_unknown_warning_option=no
9290fi
9291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9292fi
9293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9294$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9295	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9296	CFLAGS="$xorg_testset_save_CFLAGS"
9297fi
9298
9299if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9300	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9301		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9302	fi
9303	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9304	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9305$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9306if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9307  $as_echo_n "(cached) " >&6
9308else
9309  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310/* end confdefs.h.  */
9311int i;
9312_ACEOF
9313if ac_fn_c_try_compile "$LINENO"; then :
9314  xorg_cv_cc_flag_unused_command_line_argument=yes
9315else
9316  xorg_cv_cc_flag_unused_command_line_argument=no
9317fi
9318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9319fi
9320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9321$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9322	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9323	CFLAGS="$xorg_testset_save_CFLAGS"
9324fi
9325
9326found="no"
9327
9328	if test $found = "no" ; then
9329		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9330			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9331		fi
9332
9333		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9334			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9335		fi
9336
9337		CFLAGS="$CFLAGS -Wtrigraphs"
9338
9339		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
9340$as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
9341		cacheid=xorg_cv_cc_flag__Wtrigraphs
9342		if eval \${$cacheid+:} false; then :
9343  $as_echo_n "(cached) " >&6
9344else
9345  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346/* end confdefs.h.  */
9347int i;
9348int
9349main ()
9350{
9351
9352  ;
9353  return 0;
9354}
9355_ACEOF
9356if ac_fn_c_try_link "$LINENO"; then :
9357  eval $cacheid=yes
9358else
9359  eval $cacheid=no
9360fi
9361rm -f core conftest.err conftest.$ac_objext \
9362    conftest$ac_exeext conftest.$ac_ext
9363fi
9364
9365
9366		CFLAGS="$xorg_testset_save_CFLAGS"
9367
9368		eval supported=\$$cacheid
9369		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9370$as_echo "$supported" >&6; }
9371		if test "$supported" = "yes" ; then
9372			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
9373			found="yes"
9374		fi
9375	fi
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391xorg_testset_save_CFLAGS="$CFLAGS"
9392
9393if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9394	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9395	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9396$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9397if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9398  $as_echo_n "(cached) " >&6
9399else
9400  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401/* end confdefs.h.  */
9402int i;
9403_ACEOF
9404if ac_fn_c_try_compile "$LINENO"; then :
9405  xorg_cv_cc_flag_unknown_warning_option=yes
9406else
9407  xorg_cv_cc_flag_unknown_warning_option=no
9408fi
9409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9410fi
9411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9412$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9413	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9414	CFLAGS="$xorg_testset_save_CFLAGS"
9415fi
9416
9417if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9418	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9419		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9420	fi
9421	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9422	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9423$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9424if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9425  $as_echo_n "(cached) " >&6
9426else
9427  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428/* end confdefs.h.  */
9429int i;
9430_ACEOF
9431if ac_fn_c_try_compile "$LINENO"; then :
9432  xorg_cv_cc_flag_unused_command_line_argument=yes
9433else
9434  xorg_cv_cc_flag_unused_command_line_argument=no
9435fi
9436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9437fi
9438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9439$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9440	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9441	CFLAGS="$xorg_testset_save_CFLAGS"
9442fi
9443
9444found="no"
9445
9446	if test $found = "no" ; then
9447		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9448			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9449		fi
9450
9451		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9452			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9453		fi
9454
9455		CFLAGS="$CFLAGS -Warray-bounds"
9456
9457		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
9458$as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
9459		cacheid=xorg_cv_cc_flag__Warray_bounds
9460		if eval \${$cacheid+:} false; then :
9461  $as_echo_n "(cached) " >&6
9462else
9463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464/* end confdefs.h.  */
9465int i;
9466int
9467main ()
9468{
9469
9470  ;
9471  return 0;
9472}
9473_ACEOF
9474if ac_fn_c_try_link "$LINENO"; then :
9475  eval $cacheid=yes
9476else
9477  eval $cacheid=no
9478fi
9479rm -f core conftest.err conftest.$ac_objext \
9480    conftest$ac_exeext conftest.$ac_ext
9481fi
9482
9483
9484		CFLAGS="$xorg_testset_save_CFLAGS"
9485
9486		eval supported=\$$cacheid
9487		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9488$as_echo "$supported" >&6; }
9489		if test "$supported" = "yes" ; then
9490			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
9491			found="yes"
9492		fi
9493	fi
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509xorg_testset_save_CFLAGS="$CFLAGS"
9510
9511if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9512	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9513	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9514$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9515if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9516  $as_echo_n "(cached) " >&6
9517else
9518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519/* end confdefs.h.  */
9520int i;
9521_ACEOF
9522if ac_fn_c_try_compile "$LINENO"; then :
9523  xorg_cv_cc_flag_unknown_warning_option=yes
9524else
9525  xorg_cv_cc_flag_unknown_warning_option=no
9526fi
9527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9528fi
9529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9530$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9531	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9532	CFLAGS="$xorg_testset_save_CFLAGS"
9533fi
9534
9535if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9536	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9537		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9538	fi
9539	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9540	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9541$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9542if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9543  $as_echo_n "(cached) " >&6
9544else
9545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9546/* end confdefs.h.  */
9547int i;
9548_ACEOF
9549if ac_fn_c_try_compile "$LINENO"; then :
9550  xorg_cv_cc_flag_unused_command_line_argument=yes
9551else
9552  xorg_cv_cc_flag_unused_command_line_argument=no
9553fi
9554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9555fi
9556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9557$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9558	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9559	CFLAGS="$xorg_testset_save_CFLAGS"
9560fi
9561
9562found="no"
9563
9564	if test $found = "no" ; then
9565		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9566			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9567		fi
9568
9569		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9570			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9571		fi
9572
9573		CFLAGS="$CFLAGS -Wwrite-strings"
9574
9575		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
9576$as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
9577		cacheid=xorg_cv_cc_flag__Wwrite_strings
9578		if eval \${$cacheid+:} false; then :
9579  $as_echo_n "(cached) " >&6
9580else
9581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582/* end confdefs.h.  */
9583int i;
9584int
9585main ()
9586{
9587
9588  ;
9589  return 0;
9590}
9591_ACEOF
9592if ac_fn_c_try_link "$LINENO"; then :
9593  eval $cacheid=yes
9594else
9595  eval $cacheid=no
9596fi
9597rm -f core conftest.err conftest.$ac_objext \
9598    conftest$ac_exeext conftest.$ac_ext
9599fi
9600
9601
9602		CFLAGS="$xorg_testset_save_CFLAGS"
9603
9604		eval supported=\$$cacheid
9605		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9606$as_echo "$supported" >&6; }
9607		if test "$supported" = "yes" ; then
9608			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
9609			found="yes"
9610		fi
9611	fi
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627xorg_testset_save_CFLAGS="$CFLAGS"
9628
9629if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9630	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9631	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9632$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9633if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9634  $as_echo_n "(cached) " >&6
9635else
9636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9637/* end confdefs.h.  */
9638int i;
9639_ACEOF
9640if ac_fn_c_try_compile "$LINENO"; then :
9641  xorg_cv_cc_flag_unknown_warning_option=yes
9642else
9643  xorg_cv_cc_flag_unknown_warning_option=no
9644fi
9645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9646fi
9647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9648$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9649	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9650	CFLAGS="$xorg_testset_save_CFLAGS"
9651fi
9652
9653if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9654	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9655		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9656	fi
9657	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9658	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9659$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9660if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9661  $as_echo_n "(cached) " >&6
9662else
9663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9664/* end confdefs.h.  */
9665int i;
9666_ACEOF
9667if ac_fn_c_try_compile "$LINENO"; then :
9668  xorg_cv_cc_flag_unused_command_line_argument=yes
9669else
9670  xorg_cv_cc_flag_unused_command_line_argument=no
9671fi
9672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9673fi
9674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9675$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9676	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9677	CFLAGS="$xorg_testset_save_CFLAGS"
9678fi
9679
9680found="no"
9681
9682	if test $found = "no" ; then
9683		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9684			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9685		fi
9686
9687		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9688			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9689		fi
9690
9691		CFLAGS="$CFLAGS -Waddress"
9692
9693		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
9694$as_echo_n "checking if $CC supports -Waddress... " >&6; }
9695		cacheid=xorg_cv_cc_flag__Waddress
9696		if eval \${$cacheid+:} false; then :
9697  $as_echo_n "(cached) " >&6
9698else
9699  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700/* end confdefs.h.  */
9701int i;
9702int
9703main ()
9704{
9705
9706  ;
9707  return 0;
9708}
9709_ACEOF
9710if ac_fn_c_try_link "$LINENO"; then :
9711  eval $cacheid=yes
9712else
9713  eval $cacheid=no
9714fi
9715rm -f core conftest.err conftest.$ac_objext \
9716    conftest$ac_exeext conftest.$ac_ext
9717fi
9718
9719
9720		CFLAGS="$xorg_testset_save_CFLAGS"
9721
9722		eval supported=\$$cacheid
9723		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9724$as_echo "$supported" >&6; }
9725		if test "$supported" = "yes" ; then
9726			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
9727			found="yes"
9728		fi
9729	fi
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745xorg_testset_save_CFLAGS="$CFLAGS"
9746
9747if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9748	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9749	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9750$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9751if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9752  $as_echo_n "(cached) " >&6
9753else
9754  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755/* end confdefs.h.  */
9756int i;
9757_ACEOF
9758if ac_fn_c_try_compile "$LINENO"; then :
9759  xorg_cv_cc_flag_unknown_warning_option=yes
9760else
9761  xorg_cv_cc_flag_unknown_warning_option=no
9762fi
9763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9764fi
9765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9766$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9767	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9768	CFLAGS="$xorg_testset_save_CFLAGS"
9769fi
9770
9771if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9772	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9773		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9774	fi
9775	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9776	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9777$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9778if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9779  $as_echo_n "(cached) " >&6
9780else
9781  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9782/* end confdefs.h.  */
9783int i;
9784_ACEOF
9785if ac_fn_c_try_compile "$LINENO"; then :
9786  xorg_cv_cc_flag_unused_command_line_argument=yes
9787else
9788  xorg_cv_cc_flag_unused_command_line_argument=no
9789fi
9790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9791fi
9792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9793$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9794	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9795	CFLAGS="$xorg_testset_save_CFLAGS"
9796fi
9797
9798found="no"
9799
9800	if test $found = "no" ; then
9801		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9802			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9803		fi
9804
9805		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9806			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9807		fi
9808
9809		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
9810
9811		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
9812$as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
9813		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
9814		if eval \${$cacheid+:} false; then :
9815  $as_echo_n "(cached) " >&6
9816else
9817  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818/* end confdefs.h.  */
9819int i;
9820int
9821main ()
9822{
9823
9824  ;
9825  return 0;
9826}
9827_ACEOF
9828if ac_fn_c_try_link "$LINENO"; then :
9829  eval $cacheid=yes
9830else
9831  eval $cacheid=no
9832fi
9833rm -f core conftest.err conftest.$ac_objext \
9834    conftest$ac_exeext conftest.$ac_ext
9835fi
9836
9837
9838		CFLAGS="$xorg_testset_save_CFLAGS"
9839
9840		eval supported=\$$cacheid
9841		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9842$as_echo "$supported" >&6; }
9843		if test "$supported" = "yes" ; then
9844			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
9845			found="yes"
9846		fi
9847	fi
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863xorg_testset_save_CFLAGS="$CFLAGS"
9864
9865if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
9866	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9867	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
9868$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
9869if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
9870  $as_echo_n "(cached) " >&6
9871else
9872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873/* end confdefs.h.  */
9874int i;
9875_ACEOF
9876if ac_fn_c_try_compile "$LINENO"; then :
9877  xorg_cv_cc_flag_unknown_warning_option=yes
9878else
9879  xorg_cv_cc_flag_unknown_warning_option=no
9880fi
9881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9882fi
9883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
9884$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
9885	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
9886	CFLAGS="$xorg_testset_save_CFLAGS"
9887fi
9888
9889if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
9890	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9891		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9892	fi
9893	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9894	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
9895$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
9896if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
9897  $as_echo_n "(cached) " >&6
9898else
9899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900/* end confdefs.h.  */
9901int i;
9902_ACEOF
9903if ac_fn_c_try_compile "$LINENO"; then :
9904  xorg_cv_cc_flag_unused_command_line_argument=yes
9905else
9906  xorg_cv_cc_flag_unused_command_line_argument=no
9907fi
9908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9909fi
9910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
9911$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
9912	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
9913	CFLAGS="$xorg_testset_save_CFLAGS"
9914fi
9915
9916found="no"
9917
9918	if test $found = "no" ; then
9919		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
9920			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9921		fi
9922
9923		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
9924			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
9925		fi
9926
9927		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
9928
9929		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
9930$as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
9931		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
9932		if eval \${$cacheid+:} false; then :
9933  $as_echo_n "(cached) " >&6
9934else
9935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936/* end confdefs.h.  */
9937int i;
9938int
9939main ()
9940{
9941
9942  ;
9943  return 0;
9944}
9945_ACEOF
9946if ac_fn_c_try_link "$LINENO"; then :
9947  eval $cacheid=yes
9948else
9949  eval $cacheid=no
9950fi
9951rm -f core conftest.err conftest.$ac_objext \
9952    conftest$ac_exeext conftest.$ac_ext
9953fi
9954
9955
9956		CFLAGS="$xorg_testset_save_CFLAGS"
9957
9958		eval supported=\$$cacheid
9959		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
9960$as_echo "$supported" >&6; }
9961		if test "$supported" = "yes" ; then
9962			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
9963			found="yes"
9964		fi
9965	fi
9966
9967
9968fi
9969
9970
9971
9972
9973
9974
9975
9976		CWARNFLAGS="$BASE_CFLAGS"
9977		if  test "x$GCC" = xyes ; then
9978		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
9979		fi
9980
9981
9982
9983
9984
9985
9986
9987
9988# Check whether --enable-strict-compilation was given.
9989if test "${enable_strict_compilation+set}" = set; then :
9990  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
9991else
9992  STRICT_COMPILE=no
9993fi
9994
9995
9996
9997
9998
9999
10000STRICT_CFLAGS=""
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014xorg_testset_save_CFLAGS="$CFLAGS"
10015
10016if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10017	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10018	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10019$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10020if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10021  $as_echo_n "(cached) " >&6
10022else
10023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024/* end confdefs.h.  */
10025int i;
10026_ACEOF
10027if ac_fn_c_try_compile "$LINENO"; then :
10028  xorg_cv_cc_flag_unknown_warning_option=yes
10029else
10030  xorg_cv_cc_flag_unknown_warning_option=no
10031fi
10032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10033fi
10034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10035$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10036	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10037	CFLAGS="$xorg_testset_save_CFLAGS"
10038fi
10039
10040if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10041	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10042		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10043	fi
10044	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10045	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10046$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10047if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10048  $as_echo_n "(cached) " >&6
10049else
10050  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051/* end confdefs.h.  */
10052int i;
10053_ACEOF
10054if ac_fn_c_try_compile "$LINENO"; then :
10055  xorg_cv_cc_flag_unused_command_line_argument=yes
10056else
10057  xorg_cv_cc_flag_unused_command_line_argument=no
10058fi
10059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10060fi
10061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10062$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10063	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10064	CFLAGS="$xorg_testset_save_CFLAGS"
10065fi
10066
10067found="no"
10068
10069	if test $found = "no" ; then
10070		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10071			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10072		fi
10073
10074		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10075			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10076		fi
10077
10078		CFLAGS="$CFLAGS -pedantic"
10079
10080		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
10081$as_echo_n "checking if $CC supports -pedantic... " >&6; }
10082		cacheid=xorg_cv_cc_flag__pedantic
10083		if eval \${$cacheid+:} false; then :
10084  $as_echo_n "(cached) " >&6
10085else
10086  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087/* end confdefs.h.  */
10088int i;
10089int
10090main ()
10091{
10092
10093  ;
10094  return 0;
10095}
10096_ACEOF
10097if ac_fn_c_try_link "$LINENO"; then :
10098  eval $cacheid=yes
10099else
10100  eval $cacheid=no
10101fi
10102rm -f core conftest.err conftest.$ac_objext \
10103    conftest$ac_exeext conftest.$ac_ext
10104fi
10105
10106
10107		CFLAGS="$xorg_testset_save_CFLAGS"
10108
10109		eval supported=\$$cacheid
10110		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10111$as_echo "$supported" >&6; }
10112		if test "$supported" = "yes" ; then
10113			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
10114			found="yes"
10115		fi
10116	fi
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132xorg_testset_save_CFLAGS="$CFLAGS"
10133
10134if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10135	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10136	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10137$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10138if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10139  $as_echo_n "(cached) " >&6
10140else
10141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142/* end confdefs.h.  */
10143int i;
10144_ACEOF
10145if ac_fn_c_try_compile "$LINENO"; then :
10146  xorg_cv_cc_flag_unknown_warning_option=yes
10147else
10148  xorg_cv_cc_flag_unknown_warning_option=no
10149fi
10150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10151fi
10152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10153$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10154	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10155	CFLAGS="$xorg_testset_save_CFLAGS"
10156fi
10157
10158if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10159	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10160		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10161	fi
10162	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10163	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10164$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10165if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10166  $as_echo_n "(cached) " >&6
10167else
10168  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169/* end confdefs.h.  */
10170int i;
10171_ACEOF
10172if ac_fn_c_try_compile "$LINENO"; then :
10173  xorg_cv_cc_flag_unused_command_line_argument=yes
10174else
10175  xorg_cv_cc_flag_unused_command_line_argument=no
10176fi
10177rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10178fi
10179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10180$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10181	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10182	CFLAGS="$xorg_testset_save_CFLAGS"
10183fi
10184
10185found="no"
10186
10187	if test $found = "no" ; then
10188		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10189			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10190		fi
10191
10192		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10193			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10194		fi
10195
10196		CFLAGS="$CFLAGS -Werror"
10197
10198		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
10199$as_echo_n "checking if $CC supports -Werror... " >&6; }
10200		cacheid=xorg_cv_cc_flag__Werror
10201		if eval \${$cacheid+:} false; then :
10202  $as_echo_n "(cached) " >&6
10203else
10204  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205/* end confdefs.h.  */
10206int i;
10207int
10208main ()
10209{
10210
10211  ;
10212  return 0;
10213}
10214_ACEOF
10215if ac_fn_c_try_link "$LINENO"; then :
10216  eval $cacheid=yes
10217else
10218  eval $cacheid=no
10219fi
10220rm -f core conftest.err conftest.$ac_objext \
10221    conftest$ac_exeext conftest.$ac_ext
10222fi
10223
10224
10225		CFLAGS="$xorg_testset_save_CFLAGS"
10226
10227		eval supported=\$$cacheid
10228		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10229$as_echo "$supported" >&6; }
10230		if test "$supported" = "yes" ; then
10231			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
10232			found="yes"
10233		fi
10234	fi
10235
10236	if test $found = "no" ; then
10237		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10238			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10239		fi
10240
10241		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10242			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10243		fi
10244
10245		CFLAGS="$CFLAGS -errwarn"
10246
10247		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
10248$as_echo_n "checking if $CC supports -errwarn... " >&6; }
10249		cacheid=xorg_cv_cc_flag__errwarn
10250		if eval \${$cacheid+:} false; then :
10251  $as_echo_n "(cached) " >&6
10252else
10253  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254/* end confdefs.h.  */
10255int i;
10256int
10257main ()
10258{
10259
10260  ;
10261  return 0;
10262}
10263_ACEOF
10264if ac_fn_c_try_link "$LINENO"; then :
10265  eval $cacheid=yes
10266else
10267  eval $cacheid=no
10268fi
10269rm -f core conftest.err conftest.$ac_objext \
10270    conftest$ac_exeext conftest.$ac_ext
10271fi
10272
10273
10274		CFLAGS="$xorg_testset_save_CFLAGS"
10275
10276		eval supported=\$$cacheid
10277		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10278$as_echo "$supported" >&6; }
10279		if test "$supported" = "yes" ; then
10280			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
10281			found="yes"
10282		fi
10283	fi
10284
10285
10286
10287# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
10288# activate it with -Werror, so we add it here explicitly.
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302xorg_testset_save_CFLAGS="$CFLAGS"
10303
10304if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
10305	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10306	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
10307$as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
10308if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
10309  $as_echo_n "(cached) " >&6
10310else
10311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312/* end confdefs.h.  */
10313int i;
10314_ACEOF
10315if ac_fn_c_try_compile "$LINENO"; then :
10316  xorg_cv_cc_flag_unknown_warning_option=yes
10317else
10318  xorg_cv_cc_flag_unknown_warning_option=no
10319fi
10320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10321fi
10322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
10323$as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
10324	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
10325	CFLAGS="$xorg_testset_save_CFLAGS"
10326fi
10327
10328if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
10329	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10330		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10331	fi
10332	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10333	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
10334$as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
10335if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
10336  $as_echo_n "(cached) " >&6
10337else
10338  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339/* end confdefs.h.  */
10340int i;
10341_ACEOF
10342if ac_fn_c_try_compile "$LINENO"; then :
10343  xorg_cv_cc_flag_unused_command_line_argument=yes
10344else
10345  xorg_cv_cc_flag_unused_command_line_argument=no
10346fi
10347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10348fi
10349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
10350$as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
10351	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
10352	CFLAGS="$xorg_testset_save_CFLAGS"
10353fi
10354
10355found="no"
10356
10357	if test $found = "no" ; then
10358		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
10359			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10360		fi
10361
10362		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
10363			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
10364		fi
10365
10366		CFLAGS="$CFLAGS -Werror=attributes"
10367
10368		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
10369$as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
10370		cacheid=xorg_cv_cc_flag__Werror_attributes
10371		if eval \${$cacheid+:} false; then :
10372  $as_echo_n "(cached) " >&6
10373else
10374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375/* end confdefs.h.  */
10376int i;
10377int
10378main ()
10379{
10380
10381  ;
10382  return 0;
10383}
10384_ACEOF
10385if ac_fn_c_try_link "$LINENO"; then :
10386  eval $cacheid=yes
10387else
10388  eval $cacheid=no
10389fi
10390rm -f core conftest.err conftest.$ac_objext \
10391    conftest$ac_exeext conftest.$ac_ext
10392fi
10393
10394
10395		CFLAGS="$xorg_testset_save_CFLAGS"
10396
10397		eval supported=\$$cacheid
10398		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
10399$as_echo "$supported" >&6; }
10400		if test "$supported" = "yes" ; then
10401			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
10402			found="yes"
10403		fi
10404	fi
10405
10406
10407
10408if test "x$STRICT_COMPILE" = "xyes"; then
10409    BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
10410    CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
10411fi
10412
10413
10414
10415
10416
10417
10418cat >>confdefs.h <<_ACEOF
10419#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
10420_ACEOF
10421
10422	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
10423	if test "x$PVM" = "x"; then
10424		PVM="0"
10425	fi
10426
10427cat >>confdefs.h <<_ACEOF
10428#define PACKAGE_VERSION_MINOR $PVM
10429_ACEOF
10430
10431	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
10432	if test "x$PVP" = "x"; then
10433		PVP="0"
10434	fi
10435
10436cat >>confdefs.h <<_ACEOF
10437#define PACKAGE_VERSION_PATCHLEVEL $PVP
10438_ACEOF
10439
10440
10441
10442CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
10443mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
10444|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
10445echo 'git directory not found: installing possibly empty changelog.' >&2)"
10446
10447
10448
10449
10450macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
10451INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
10452mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
10453|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
10454echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
10455
10456
10457
10458
10459
10460
10461if test x$APP_MAN_SUFFIX = x    ; then
10462    APP_MAN_SUFFIX=1
10463fi
10464if test x$APP_MAN_DIR = x    ; then
10465    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
10466fi
10467
10468if test x$LIB_MAN_SUFFIX = x    ; then
10469    LIB_MAN_SUFFIX=3
10470fi
10471if test x$LIB_MAN_DIR = x    ; then
10472    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
10473fi
10474
10475if test x$FILE_MAN_SUFFIX = x    ; then
10476    case $host_os in
10477	solaris*)	FILE_MAN_SUFFIX=4  ;;
10478	*)		FILE_MAN_SUFFIX=5  ;;
10479    esac
10480fi
10481if test x$FILE_MAN_DIR = x    ; then
10482    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
10483fi
10484
10485if test x$MISC_MAN_SUFFIX = x    ; then
10486    case $host_os in
10487	solaris*)	MISC_MAN_SUFFIX=5  ;;
10488	*)		MISC_MAN_SUFFIX=7  ;;
10489    esac
10490fi
10491if test x$MISC_MAN_DIR = x    ; then
10492    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
10493fi
10494
10495if test x$DRIVER_MAN_SUFFIX = x    ; then
10496    case $host_os in
10497	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
10498	*)		DRIVER_MAN_SUFFIX=4  ;;
10499    esac
10500fi
10501if test x$DRIVER_MAN_DIR = x    ; then
10502    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
10503fi
10504
10505if test x$ADMIN_MAN_SUFFIX = x    ; then
10506    case $host_os in
10507	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
10508	*)		ADMIN_MAN_SUFFIX=8  ;;
10509    esac
10510fi
10511if test x$ADMIN_MAN_DIR = x    ; then
10512    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
10513fi
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529XORG_MAN_PAGE="X Version 11"
10530
10531MAN_SUBSTS="\
10532	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10533	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
10534	-e 's|__xservername__|Xorg|g' \
10535	-e 's|__xconfigfile__|xorg.conf|g' \
10536	-e 's|__projectroot__|\$(prefix)|g' \
10537	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
10538	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
10539	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
10540	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
10541	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
10542	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
10543	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
10544
10545
10546
10547# Check whether --enable-silent-rules was given.
10548if test "${enable_silent_rules+set}" = set; then :
10549  enableval=$enable_silent_rules;
10550fi
10551
10552case $enable_silent_rules in # (((
10553  yes) AM_DEFAULT_VERBOSITY=0;;
10554   no) AM_DEFAULT_VERBOSITY=1;;
10555    *) AM_DEFAULT_VERBOSITY=0;;
10556esac
10557am_make=${MAKE-make}
10558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
10559$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
10560if ${am_cv_make_support_nested_variables+:} false; then :
10561  $as_echo_n "(cached) " >&6
10562else
10563  if $as_echo 'TRUE=$(BAR$(V))
10564BAR0=false
10565BAR1=true
10566V=1
10567am__doit:
10568	@$(TRUE)
10569.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
10570  am_cv_make_support_nested_variables=yes
10571else
10572  am_cv_make_support_nested_variables=no
10573fi
10574fi
10575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
10576$as_echo "$am_cv_make_support_nested_variables" >&6; }
10577if test $am_cv_make_support_nested_variables = yes; then
10578    AM_V='$(V)'
10579  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
10580else
10581  AM_V=$AM_DEFAULT_VERBOSITY
10582  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
10583fi
10584AM_BACKSLASH='\'
10585
10586
10587
10588# Checks for pkg-config packages
10589
10590pkg_failed=no
10591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGAMMA" >&5
10592$as_echo_n "checking for XGAMMA... " >&6; }
10593
10594if test -n "$XGAMMA_CFLAGS"; then
10595    pkg_cv_XGAMMA_CFLAGS="$XGAMMA_CFLAGS"
10596 elif test -n "$PKG_CONFIG"; then
10597    if test -n "$PKG_CONFIG" && \
10598    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm xproto >= 7.0.17\""; } >&5
10599  ($PKG_CONFIG --exists --print-errors "x11 xxf86vm xproto >= 7.0.17") 2>&5
10600  ac_status=$?
10601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10602  test $ac_status = 0; }; then
10603  pkg_cv_XGAMMA_CFLAGS=`$PKG_CONFIG --cflags "x11 xxf86vm xproto >= 7.0.17" 2>/dev/null`
10604else
10605  pkg_failed=yes
10606fi
10607 else
10608    pkg_failed=untried
10609fi
10610if test -n "$XGAMMA_LIBS"; then
10611    pkg_cv_XGAMMA_LIBS="$XGAMMA_LIBS"
10612 elif test -n "$PKG_CONFIG"; then
10613    if test -n "$PKG_CONFIG" && \
10614    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xxf86vm xproto >= 7.0.17\""; } >&5
10615  ($PKG_CONFIG --exists --print-errors "x11 xxf86vm xproto >= 7.0.17") 2>&5
10616  ac_status=$?
10617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10618  test $ac_status = 0; }; then
10619  pkg_cv_XGAMMA_LIBS=`$PKG_CONFIG --libs "x11 xxf86vm xproto >= 7.0.17" 2>/dev/null`
10620else
10621  pkg_failed=yes
10622fi
10623 else
10624    pkg_failed=untried
10625fi
10626
10627
10628
10629if test $pkg_failed = yes; then
10630
10631if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10632        _pkg_short_errors_supported=yes
10633else
10634        _pkg_short_errors_supported=no
10635fi
10636        if test $_pkg_short_errors_supported = yes; then
10637	        XGAMMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xxf86vm xproto >= 7.0.17" 2>&1`
10638        else
10639	        XGAMMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xxf86vm xproto >= 7.0.17" 2>&1`
10640        fi
10641	# Put the nasty error message in config.log where it belongs
10642	echo "$XGAMMA_PKG_ERRORS" >&5
10643
10644	as_fn_error $? "Package requirements (x11 xxf86vm xproto >= 7.0.17) were not met:
10645
10646$XGAMMA_PKG_ERRORS
10647
10648Consider adjusting the PKG_CONFIG_PATH environment variable if you
10649installed software in a non-standard prefix.
10650
10651Alternatively, you may set the environment variables XGAMMA_CFLAGS
10652and XGAMMA_LIBS to avoid the need to call pkg-config.
10653See the pkg-config man page for more details.
10654" "$LINENO" 5
10655elif test $pkg_failed = untried; then
10656	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10658as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
10659is in your PATH or set the PKG_CONFIG environment variable to the full
10660path to pkg-config.
10661
10662Alternatively, you may set the environment variables XGAMMA_CFLAGS
10663and XGAMMA_LIBS to avoid the need to call pkg-config.
10664See the pkg-config man page for more details.
10665
10666To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10667See \`config.log' for more details" "$LINENO" 5; }
10668else
10669	XGAMMA_CFLAGS=$pkg_cv_XGAMMA_CFLAGS
10670	XGAMMA_LIBS=$pkg_cv_XGAMMA_LIBS
10671        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10672$as_echo "yes" >&6; }
10673	:
10674fi
10675
10676ac_config_files="$ac_config_files Makefile man/Makefile"
10677
10678cat >confcache <<\_ACEOF
10679# This file is a shell script that caches the results of configure
10680# tests run on this system so they can be shared between configure
10681# scripts and configure runs, see configure's option --config-cache.
10682# It is not useful on other systems.  If it contains results you don't
10683# want to keep, you may remove or edit it.
10684#
10685# config.status only pays attention to the cache file if you give it
10686# the --recheck option to rerun configure.
10687#
10688# `ac_cv_env_foo' variables (set or unset) will be overridden when
10689# loading this file, other *unset* `ac_cv_foo' will be assigned the
10690# following values.
10691
10692_ACEOF
10693
10694# The following way of writing the cache mishandles newlines in values,
10695# but we know of no workaround that is simple, portable, and efficient.
10696# So, we kill variables containing newlines.
10697# Ultrix sh set writes to stderr and can't be redirected directly,
10698# and sets the high bit in the cache file unless we assign to the vars.
10699(
10700  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10701    eval ac_val=\$$ac_var
10702    case $ac_val in #(
10703    *${as_nl}*)
10704      case $ac_var in #(
10705      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10706$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10707      esac
10708      case $ac_var in #(
10709      _ | IFS | as_nl) ;; #(
10710      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
10711      *) { eval $ac_var=; unset $ac_var;} ;;
10712      esac ;;
10713    esac
10714  done
10715
10716  (set) 2>&1 |
10717    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10718    *${as_nl}ac_space=\ *)
10719      # `set' does not quote correctly, so add quotes: double-quote
10720      # substitution turns \\\\ into \\, and sed turns \\ into \.
10721      sed -n \
10722	"s/'/'\\\\''/g;
10723	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10724      ;; #(
10725    *)
10726      # `set' quotes correctly as required by POSIX, so do not add quotes.
10727      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10728      ;;
10729    esac |
10730    sort
10731) |
10732  sed '
10733     /^ac_cv_env_/b end
10734     t clear
10735     :clear
10736     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10737     t end
10738     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10739     :end' >>confcache
10740if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10741  if test -w "$cache_file"; then
10742    if test "x$cache_file" != "x/dev/null"; then
10743      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10744$as_echo "$as_me: updating cache $cache_file" >&6;}
10745      if test ! -f "$cache_file" || test -h "$cache_file"; then
10746	cat confcache >"$cache_file"
10747      else
10748        case $cache_file in #(
10749        */* | ?:*)
10750	  mv -f confcache "$cache_file"$$ &&
10751	  mv -f "$cache_file"$$ "$cache_file" ;; #(
10752        *)
10753	  mv -f confcache "$cache_file" ;;
10754	esac
10755      fi
10756    fi
10757  else
10758    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10759$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10760  fi
10761fi
10762rm -f confcache
10763
10764test "x$prefix" = xNONE && prefix=$ac_default_prefix
10765# Let make expand exec_prefix.
10766test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10767
10768DEFS=-DHAVE_CONFIG_H
10769
10770ac_libobjs=
10771ac_ltlibobjs=
10772U=
10773for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10774  # 1. Remove the extension, and $U if already installed.
10775  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10776  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10777  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10778  #    will be set to the directory where LIBOBJS objects are built.
10779  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10780  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
10781done
10782LIBOBJS=$ac_libobjs
10783
10784LTLIBOBJS=$ac_ltlibobjs
10785
10786
10787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
10788$as_echo_n "checking that generated files are newer than configure... " >&6; }
10789   if test -n "$am_sleep_pid"; then
10790     # Hide warnings about reused PIDs.
10791     wait $am_sleep_pid 2>/dev/null
10792   fi
10793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
10794$as_echo "done" >&6; }
10795 if test -n "$EXEEXT"; then
10796  am__EXEEXT_TRUE=
10797  am__EXEEXT_FALSE='#'
10798else
10799  am__EXEEXT_TRUE='#'
10800  am__EXEEXT_FALSE=
10801fi
10802
10803if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10804  as_fn_error $? "conditional \"AMDEP\" was never defined.
10805Usually this means the macro was only invoked conditionally." "$LINENO" 5
10806fi
10807if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10808  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
10809Usually this means the macro was only invoked conditionally." "$LINENO" 5
10810fi
10811
10812: "${CONFIG_STATUS=./config.status}"
10813ac_write_fail=0
10814ac_clean_files_save=$ac_clean_files
10815ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10816{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10817$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10818as_write_fail=0
10819cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10820#! $SHELL
10821# Generated by $as_me.
10822# Run this file to recreate the current configuration.
10823# Compiler output produced by configure, useful for debugging
10824# configure, is in config.log if it exists.
10825
10826debug=false
10827ac_cs_recheck=false
10828ac_cs_silent=false
10829
10830SHELL=\${CONFIG_SHELL-$SHELL}
10831export SHELL
10832_ASEOF
10833cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
10834## -------------------- ##
10835## M4sh Initialization. ##
10836## -------------------- ##
10837
10838# Be more Bourne compatible
10839DUALCASE=1; export DUALCASE # for MKS sh
10840if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
10841  emulate sh
10842  NULLCMD=:
10843  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10844  # is contrary to our usage.  Disable this feature.
10845  alias -g '${1+"$@"}'='"$@"'
10846  setopt NO_GLOB_SUBST
10847else
10848  case `(set -o) 2>/dev/null` in #(
10849  *posix*) :
10850    set -o posix ;; #(
10851  *) :
10852     ;;
10853esac
10854fi
10855
10856
10857as_nl='
10858'
10859export as_nl
10860# Printing a long string crashes Solaris 7 /usr/bin/printf.
10861as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10862as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10863as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10864# Prefer a ksh shell builtin over an external printf program on Solaris,
10865# but without wasting forks for bash or zsh.
10866if test -z "$BASH_VERSION$ZSH_VERSION" \
10867    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10868  as_echo='print -r --'
10869  as_echo_n='print -rn --'
10870elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10871  as_echo='printf %s\n'
10872  as_echo_n='printf %s'
10873else
10874  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10875    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
10876    as_echo_n='/usr/ucb/echo -n'
10877  else
10878    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10879    as_echo_n_body='eval
10880      arg=$1;
10881      case $arg in #(
10882      *"$as_nl"*)
10883	expr "X$arg" : "X\\(.*\\)$as_nl";
10884	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10885      esac;
10886      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
10887    '
10888    export as_echo_n_body
10889    as_echo_n='sh -c $as_echo_n_body as_echo'
10890  fi
10891  export as_echo_body
10892  as_echo='sh -c $as_echo_body as_echo'
10893fi
10894
10895# The user is always right.
10896if test "${PATH_SEPARATOR+set}" != set; then
10897  PATH_SEPARATOR=:
10898  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10899    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10900      PATH_SEPARATOR=';'
10901  }
10902fi
10903
10904
10905# IFS
10906# We need space, tab and new line, in precisely that order.  Quoting is
10907# there to prevent editors from complaining about space-tab.
10908# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10909# splitting by setting IFS to empty value.)
10910IFS=" ""	$as_nl"
10911
10912# Find who we are.  Look in the path if we contain no directory separator.
10913as_myself=
10914case $0 in #((
10915  *[\\/]* ) as_myself=$0 ;;
10916  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10917for as_dir in $PATH
10918do
10919  IFS=$as_save_IFS
10920  test -z "$as_dir" && as_dir=.
10921    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10922  done
10923IFS=$as_save_IFS
10924
10925     ;;
10926esac
10927# We did not find ourselves, most probably we were run as `sh COMMAND'
10928# in which case we are not to be found in the path.
10929if test "x$as_myself" = x; then
10930  as_myself=$0
10931fi
10932if test ! -f "$as_myself"; then
10933  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10934  exit 1
10935fi
10936
10937# Unset variables that we do not need and which cause bugs (e.g. in
10938# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10939# suppresses any "Segmentation fault" message there.  '((' could
10940# trigger a bug in pdksh 5.2.14.
10941for as_var in BASH_ENV ENV MAIL MAILPATH
10942do eval test x\${$as_var+set} = xset \
10943  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10944done
10945PS1='$ '
10946PS2='> '
10947PS4='+ '
10948
10949# NLS nuisances.
10950LC_ALL=C
10951export LC_ALL
10952LANGUAGE=C
10953export LANGUAGE
10954
10955# CDPATH.
10956(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10957
10958
10959# as_fn_error STATUS ERROR [LINENO LOG_FD]
10960# ----------------------------------------
10961# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10962# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10963# script with STATUS, using 1 if that was 0.
10964as_fn_error ()
10965{
10966  as_status=$1; test $as_status -eq 0 && as_status=1
10967  if test "$4"; then
10968    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10969    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10970  fi
10971  $as_echo "$as_me: error: $2" >&2
10972  as_fn_exit $as_status
10973} # as_fn_error
10974
10975
10976# as_fn_set_status STATUS
10977# -----------------------
10978# Set $? to STATUS, without forking.
10979as_fn_set_status ()
10980{
10981  return $1
10982} # as_fn_set_status
10983
10984# as_fn_exit STATUS
10985# -----------------
10986# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10987as_fn_exit ()
10988{
10989  set +e
10990  as_fn_set_status $1
10991  exit $1
10992} # as_fn_exit
10993
10994# as_fn_unset VAR
10995# ---------------
10996# Portably unset VAR.
10997as_fn_unset ()
10998{
10999  { eval $1=; unset $1;}
11000}
11001as_unset=as_fn_unset
11002# as_fn_append VAR VALUE
11003# ----------------------
11004# Append the text in VALUE to the end of the definition contained in VAR. Take
11005# advantage of any shell optimizations that allow amortized linear growth over
11006# repeated appends, instead of the typical quadratic growth present in naive
11007# implementations.
11008if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11009  eval 'as_fn_append ()
11010  {
11011    eval $1+=\$2
11012  }'
11013else
11014  as_fn_append ()
11015  {
11016    eval $1=\$$1\$2
11017  }
11018fi # as_fn_append
11019
11020# as_fn_arith ARG...
11021# ------------------
11022# Perform arithmetic evaluation on the ARGs, and store the result in the
11023# global $as_val. Take advantage of shells that can avoid forks. The arguments
11024# must be portable across $(()) and expr.
11025if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11026  eval 'as_fn_arith ()
11027  {
11028    as_val=$(( $* ))
11029  }'
11030else
11031  as_fn_arith ()
11032  {
11033    as_val=`expr "$@" || test $? -eq 1`
11034  }
11035fi # as_fn_arith
11036
11037
11038if expr a : '\(a\)' >/dev/null 2>&1 &&
11039   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11040  as_expr=expr
11041else
11042  as_expr=false
11043fi
11044
11045if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11046  as_basename=basename
11047else
11048  as_basename=false
11049fi
11050
11051if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11052  as_dirname=dirname
11053else
11054  as_dirname=false
11055fi
11056
11057as_me=`$as_basename -- "$0" ||
11058$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11059	 X"$0" : 'X\(//\)$' \| \
11060	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11061$as_echo X/"$0" |
11062    sed '/^.*\/\([^/][^/]*\)\/*$/{
11063	    s//\1/
11064	    q
11065	  }
11066	  /^X\/\(\/\/\)$/{
11067	    s//\1/
11068	    q
11069	  }
11070	  /^X\/\(\/\).*/{
11071	    s//\1/
11072	    q
11073	  }
11074	  s/.*/./; q'`
11075
11076# Avoid depending upon Character Ranges.
11077as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11078as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11079as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11080as_cr_digits='0123456789'
11081as_cr_alnum=$as_cr_Letters$as_cr_digits
11082
11083ECHO_C= ECHO_N= ECHO_T=
11084case `echo -n x` in #(((((
11085-n*)
11086  case `echo 'xy\c'` in
11087  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11088  xy)  ECHO_C='\c';;
11089  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11090       ECHO_T='	';;
11091  esac;;
11092*)
11093  ECHO_N='-n';;
11094esac
11095
11096rm -f conf$$ conf$$.exe conf$$.file
11097if test -d conf$$.dir; then
11098  rm -f conf$$.dir/conf$$.file
11099else
11100  rm -f conf$$.dir
11101  mkdir conf$$.dir 2>/dev/null
11102fi
11103if (echo >conf$$.file) 2>/dev/null; then
11104  if ln -s conf$$.file conf$$ 2>/dev/null; then
11105    as_ln_s='ln -s'
11106    # ... but there are two gotchas:
11107    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11108    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11109    # In both cases, we have to default to `cp -pR'.
11110    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11111      as_ln_s='cp -pR'
11112  elif ln conf$$.file conf$$ 2>/dev/null; then
11113    as_ln_s=ln
11114  else
11115    as_ln_s='cp -pR'
11116  fi
11117else
11118  as_ln_s='cp -pR'
11119fi
11120rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11121rmdir conf$$.dir 2>/dev/null
11122
11123
11124# as_fn_mkdir_p
11125# -------------
11126# Create "$as_dir" as a directory, including parents if necessary.
11127as_fn_mkdir_p ()
11128{
11129
11130  case $as_dir in #(
11131  -*) as_dir=./$as_dir;;
11132  esac
11133  test -d "$as_dir" || eval $as_mkdir_p || {
11134    as_dirs=
11135    while :; do
11136      case $as_dir in #(
11137      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11138      *) as_qdir=$as_dir;;
11139      esac
11140      as_dirs="'$as_qdir' $as_dirs"
11141      as_dir=`$as_dirname -- "$as_dir" ||
11142$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11143	 X"$as_dir" : 'X\(//\)[^/]' \| \
11144	 X"$as_dir" : 'X\(//\)$' \| \
11145	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11146$as_echo X"$as_dir" |
11147    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11148	    s//\1/
11149	    q
11150	  }
11151	  /^X\(\/\/\)[^/].*/{
11152	    s//\1/
11153	    q
11154	  }
11155	  /^X\(\/\/\)$/{
11156	    s//\1/
11157	    q
11158	  }
11159	  /^X\(\/\).*/{
11160	    s//\1/
11161	    q
11162	  }
11163	  s/.*/./; q'`
11164      test -d "$as_dir" && break
11165    done
11166    test -z "$as_dirs" || eval "mkdir $as_dirs"
11167  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11168
11169
11170} # as_fn_mkdir_p
11171if mkdir -p . 2>/dev/null; then
11172  as_mkdir_p='mkdir -p "$as_dir"'
11173else
11174  test -d ./-p && rmdir ./-p
11175  as_mkdir_p=false
11176fi
11177
11178
11179# as_fn_executable_p FILE
11180# -----------------------
11181# Test if FILE is an executable regular file.
11182as_fn_executable_p ()
11183{
11184  test -f "$1" && test -x "$1"
11185} # as_fn_executable_p
11186as_test_x='test -x'
11187as_executable_p=as_fn_executable_p
11188
11189# Sed expression to map a string onto a valid CPP name.
11190as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11191
11192# Sed expression to map a string onto a valid variable name.
11193as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11194
11195
11196exec 6>&1
11197## ----------------------------------- ##
11198## Main body of $CONFIG_STATUS script. ##
11199## ----------------------------------- ##
11200_ASEOF
11201test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11202
11203cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11204# Save the log message, to keep $0 and so on meaningful, and to
11205# report actual input values of CONFIG_FILES etc. instead of their
11206# values after options handling.
11207ac_log="
11208This file was extended by xgamma $as_me 1.0.6, which was
11209generated by GNU Autoconf 2.69.  Invocation command line was
11210
11211  CONFIG_FILES    = $CONFIG_FILES
11212  CONFIG_HEADERS  = $CONFIG_HEADERS
11213  CONFIG_LINKS    = $CONFIG_LINKS
11214  CONFIG_COMMANDS = $CONFIG_COMMANDS
11215  $ $0 $@
11216
11217on `(hostname || uname -n) 2>/dev/null | sed 1q`
11218"
11219
11220_ACEOF
11221
11222case $ac_config_files in *"
11223"*) set x $ac_config_files; shift; ac_config_files=$*;;
11224esac
11225
11226case $ac_config_headers in *"
11227"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11228esac
11229
11230
11231cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11232# Files that config.status was made for.
11233config_files="$ac_config_files"
11234config_headers="$ac_config_headers"
11235config_commands="$ac_config_commands"
11236
11237_ACEOF
11238
11239cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11240ac_cs_usage="\
11241\`$as_me' instantiates files and other configuration actions
11242from templates according to the current configuration.  Unless the files
11243and actions are specified as TAGs, all are instantiated by default.
11244
11245Usage: $0 [OPTION]... [TAG]...
11246
11247  -h, --help       print this help, then exit
11248  -V, --version    print version number and configuration settings, then exit
11249      --config     print configuration, then exit
11250  -q, --quiet, --silent
11251                   do not print progress messages
11252  -d, --debug      don't remove temporary files
11253      --recheck    update $as_me by reconfiguring in the same conditions
11254      --file=FILE[:TEMPLATE]
11255                   instantiate the configuration file FILE
11256      --header=FILE[:TEMPLATE]
11257                   instantiate the configuration header FILE
11258
11259Configuration files:
11260$config_files
11261
11262Configuration headers:
11263$config_headers
11264
11265Configuration commands:
11266$config_commands
11267
11268Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
11269
11270_ACEOF
11271cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11272ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11273ac_cs_version="\\
11274xgamma config.status 1.0.6
11275configured by $0, generated by GNU Autoconf 2.69,
11276  with options \\"\$ac_cs_config\\"
11277
11278Copyright (C) 2012 Free Software Foundation, Inc.
11279This config.status script is free software; the Free Software Foundation
11280gives unlimited permission to copy, distribute and modify it."
11281
11282ac_pwd='$ac_pwd'
11283srcdir='$srcdir'
11284INSTALL='$INSTALL'
11285MKDIR_P='$MKDIR_P'
11286AWK='$AWK'
11287test -n "\$AWK" || AWK=awk
11288_ACEOF
11289
11290cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11291# The default lists apply if the user does not specify any file.
11292ac_need_defaults=:
11293while test $# != 0
11294do
11295  case $1 in
11296  --*=?*)
11297    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11298    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11299    ac_shift=:
11300    ;;
11301  --*=)
11302    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11303    ac_optarg=
11304    ac_shift=:
11305    ;;
11306  *)
11307    ac_option=$1
11308    ac_optarg=$2
11309    ac_shift=shift
11310    ;;
11311  esac
11312
11313  case $ac_option in
11314  # Handling of the options.
11315  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11316    ac_cs_recheck=: ;;
11317  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11318    $as_echo "$ac_cs_version"; exit ;;
11319  --config | --confi | --conf | --con | --co | --c )
11320    $as_echo "$ac_cs_config"; exit ;;
11321  --debug | --debu | --deb | --de | --d | -d )
11322    debug=: ;;
11323  --file | --fil | --fi | --f )
11324    $ac_shift
11325    case $ac_optarg in
11326    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11327    '') as_fn_error $? "missing file argument" ;;
11328    esac
11329    as_fn_append CONFIG_FILES " '$ac_optarg'"
11330    ac_need_defaults=false;;
11331  --header | --heade | --head | --hea )
11332    $ac_shift
11333    case $ac_optarg in
11334    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11335    esac
11336    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11337    ac_need_defaults=false;;
11338  --he | --h)
11339    # Conflict between --help and --header
11340    as_fn_error $? "ambiguous option: \`$1'
11341Try \`$0 --help' for more information.";;
11342  --help | --hel | -h )
11343    $as_echo "$ac_cs_usage"; exit ;;
11344  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11345  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11346    ac_cs_silent=: ;;
11347
11348  # This is an error.
11349  -*) as_fn_error $? "unrecognized option: \`$1'
11350Try \`$0 --help' for more information." ;;
11351
11352  *) as_fn_append ac_config_targets " $1"
11353     ac_need_defaults=false ;;
11354
11355  esac
11356  shift
11357done
11358
11359ac_configure_extra_args=
11360
11361if $ac_cs_silent; then
11362  exec 6>/dev/null
11363  ac_configure_extra_args="$ac_configure_extra_args --silent"
11364fi
11365
11366_ACEOF
11367cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11368if \$ac_cs_recheck; then
11369  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11370  shift
11371  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11372  CONFIG_SHELL='$SHELL'
11373  export CONFIG_SHELL
11374  exec "\$@"
11375fi
11376
11377_ACEOF
11378cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11379exec 5>>config.log
11380{
11381  echo
11382  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11383## Running $as_me. ##
11384_ASBOX
11385  $as_echo "$ac_log"
11386} >&5
11387
11388_ACEOF
11389cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11390#
11391# INIT-COMMANDS
11392#
11393AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11394
11395_ACEOF
11396
11397cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11398
11399# Handling of arguments.
11400for ac_config_target in $ac_config_targets
11401do
11402  case $ac_config_target in
11403    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11404    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11405    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11406    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
11407
11408  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11409  esac
11410done
11411
11412
11413# If the user did not use the arguments to specify the items to instantiate,
11414# then the envvar interface is used.  Set only those that are not.
11415# We use the long form for the default assignment because of an extremely
11416# bizarre bug on SunOS 4.1.3.
11417if $ac_need_defaults; then
11418  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11419  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11420  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11421fi
11422
11423# Have a temporary directory for convenience.  Make it in the build tree
11424# simply because there is no reason against having it here, and in addition,
11425# creating and moving files from /tmp can sometimes cause problems.
11426# Hook for its removal unless debugging.
11427# Note that there is a small window in which the directory will not be cleaned:
11428# after its creation but before its name has been assigned to `$tmp'.
11429$debug ||
11430{
11431  tmp= ac_tmp=
11432  trap 'exit_status=$?
11433  : "${ac_tmp:=$tmp}"
11434  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11435' 0
11436  trap 'as_fn_exit 1' 1 2 13 15
11437}
11438# Create a (secure) tmp directory for tmp files.
11439
11440{
11441  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11442  test -d "$tmp"
11443}  ||
11444{
11445  tmp=./conf$$-$RANDOM
11446  (umask 077 && mkdir "$tmp")
11447} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11448ac_tmp=$tmp
11449
11450# Set up the scripts for CONFIG_FILES section.
11451# No need to generate them if there are no CONFIG_FILES.
11452# This happens for instance with `./config.status config.h'.
11453if test -n "$CONFIG_FILES"; then
11454
11455
11456ac_cr=`echo X | tr X '\015'`
11457# On cygwin, bash can eat \r inside `` if the user requested igncr.
11458# But we know of no other shell where ac_cr would be empty at this
11459# point, so we can use a bashism as a fallback.
11460if test "x$ac_cr" = x; then
11461  eval ac_cr=\$\'\\r\'
11462fi
11463ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11464if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11465  ac_cs_awk_cr='\\r'
11466else
11467  ac_cs_awk_cr=$ac_cr
11468fi
11469
11470echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11471_ACEOF
11472
11473
11474{
11475  echo "cat >conf$$subs.awk <<_ACEOF" &&
11476  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11477  echo "_ACEOF"
11478} >conf$$subs.sh ||
11479  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11480ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11481ac_delim='%!_!# '
11482for ac_last_try in false false false false false :; do
11483  . ./conf$$subs.sh ||
11484    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11485
11486  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11487  if test $ac_delim_n = $ac_delim_num; then
11488    break
11489  elif $ac_last_try; then
11490    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11491  else
11492    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11493  fi
11494done
11495rm -f conf$$subs.sh
11496
11497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11498cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
11499_ACEOF
11500sed -n '
11501h
11502s/^/S["/; s/!.*/"]=/
11503p
11504g
11505s/^[^!]*!//
11506:repl
11507t repl
11508s/'"$ac_delim"'$//
11509t delim
11510:nl
11511h
11512s/\(.\{148\}\)..*/\1/
11513t more1
11514s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
11515p
11516n
11517b repl
11518:more1
11519s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11520p
11521g
11522s/.\{148\}//
11523t nl
11524:delim
11525h
11526s/\(.\{148\}\)..*/\1/
11527t more2
11528s/["\\]/\\&/g; s/^/"/; s/$/"/
11529p
11530b
11531:more2
11532s/["\\]/\\&/g; s/^/"/; s/$/"\\/
11533p
11534g
11535s/.\{148\}//
11536t delim
11537' <conf$$subs.awk | sed '
11538/^[^""]/{
11539  N
11540  s/\n//
11541}
11542' >>$CONFIG_STATUS || ac_write_fail=1
11543rm -f conf$$subs.awk
11544cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11545_ACAWK
11546cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
11547  for (key in S) S_is_set[key] = 1
11548  FS = ""
11549
11550}
11551{
11552  line = $ 0
11553  nfields = split(line, field, "@")
11554  substed = 0
11555  len = length(field[1])
11556  for (i = 2; i < nfields; i++) {
11557    key = field[i]
11558    keylen = length(key)
11559    if (S_is_set[key]) {
11560      value = S[key]
11561      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11562      len += length(value) + length(field[++i])
11563      substed = 1
11564    } else
11565      len += 1 + keylen
11566  }
11567
11568  print line
11569}
11570
11571_ACAWK
11572_ACEOF
11573cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11574if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11575  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11576else
11577  cat
11578fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
11579  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
11580_ACEOF
11581
11582# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11583# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11584# trailing colons and then remove the whole line if VPATH becomes empty
11585# (actually we leave an empty line to preserve line numbers).
11586if test "x$srcdir" = x.; then
11587  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
11588h
11589s///
11590s/^/:/
11591s/[	 ]*$/:/
11592s/:\$(srcdir):/:/g
11593s/:\${srcdir}:/:/g
11594s/:@srcdir@:/:/g
11595s/^:*//
11596s/:*$//
11597x
11598s/\(=[	 ]*\).*/\1/
11599G
11600s/\n//
11601s/^[^=]*=[	 ]*$//
11602}'
11603fi
11604
11605cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11606fi # test -n "$CONFIG_FILES"
11607
11608# Set up the scripts for CONFIG_HEADERS section.
11609# No need to generate them if there are no CONFIG_HEADERS.
11610# This happens for instance with `./config.status Makefile'.
11611if test -n "$CONFIG_HEADERS"; then
11612cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
11613BEGIN {
11614_ACEOF
11615
11616# Transform confdefs.h into an awk script `defines.awk', embedded as
11617# here-document in config.status, that substitutes the proper values into
11618# config.h.in to produce config.h.
11619
11620# Create a delimiter string that does not exist in confdefs.h, to ease
11621# handling of long lines.
11622ac_delim='%!_!# '
11623for ac_last_try in false false :; do
11624  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
11625  if test -z "$ac_tt"; then
11626    break
11627  elif $ac_last_try; then
11628    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
11629  else
11630    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11631  fi
11632done
11633
11634# For the awk script, D is an array of macro values keyed by name,
11635# likewise P contains macro parameters if any.  Preserve backslash
11636# newline sequences.
11637
11638ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11639sed -n '
11640s/.\{148\}/&'"$ac_delim"'/g
11641t rset
11642:rset
11643s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
11644t def
11645d
11646:def
11647s/\\$//
11648t bsnl
11649s/["\\]/\\&/g
11650s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11651D["\1"]=" \3"/p
11652s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
11653d
11654:bsnl
11655s/["\\]/\\&/g
11656s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
11657D["\1"]=" \3\\\\\\n"\\/p
11658t cont
11659s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
11660t cont
11661d
11662:cont
11663n
11664s/.\{148\}/&'"$ac_delim"'/g
11665t clear
11666:clear
11667s/\\$//
11668t bsnlc
11669s/["\\]/\\&/g; s/^/"/; s/$/"/p
11670d
11671:bsnlc
11672s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
11673b cont
11674' <confdefs.h | sed '
11675s/'"$ac_delim"'/"\\\
11676"/g' >>$CONFIG_STATUS || ac_write_fail=1
11677
11678cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11679  for (key in D) D_is_set[key] = 1
11680  FS = ""
11681}
11682/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11683  line = \$ 0
11684  split(line, arg, " ")
11685  if (arg[1] == "#") {
11686    defundef = arg[2]
11687    mac1 = arg[3]
11688  } else {
11689    defundef = substr(arg[1], 2)
11690    mac1 = arg[2]
11691  }
11692  split(mac1, mac2, "(") #)
11693  macro = mac2[1]
11694  prefix = substr(line, 1, index(line, defundef) - 1)
11695  if (D_is_set[macro]) {
11696    # Preserve the white space surrounding the "#".
11697    print prefix "define", macro P[macro] D[macro]
11698    next
11699  } else {
11700    # Replace #undef with comments.  This is necessary, for example,
11701    # in the case of _POSIX_SOURCE, which is predefined and required
11702    # on some systems where configure will not decide to define it.
11703    if (defundef == "undef") {
11704      print "/*", prefix defundef, macro, "*/"
11705      next
11706    }
11707  }
11708}
11709{ print }
11710_ACAWK
11711_ACEOF
11712cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11713  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
11714fi # test -n "$CONFIG_HEADERS"
11715
11716
11717eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
11718shift
11719for ac_tag
11720do
11721  case $ac_tag in
11722  :[FHLC]) ac_mode=$ac_tag; continue;;
11723  esac
11724  case $ac_mode$ac_tag in
11725  :[FHL]*:*);;
11726  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
11727  :[FH]-) ac_tag=-:-;;
11728  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11729  esac
11730  ac_save_IFS=$IFS
11731  IFS=:
11732  set x $ac_tag
11733  IFS=$ac_save_IFS
11734  shift
11735  ac_file=$1
11736  shift
11737
11738  case $ac_mode in
11739  :L) ac_source=$1;;
11740  :[FH])
11741    ac_file_inputs=
11742    for ac_f
11743    do
11744      case $ac_f in
11745      -) ac_f="$ac_tmp/stdin";;
11746      *) # Look for the file first in the build tree, then in the source tree
11747	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11748	 # because $ac_f cannot contain `:'.
11749	 test -f "$ac_f" ||
11750	   case $ac_f in
11751	   [\\/$]*) false;;
11752	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11753	   esac ||
11754	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
11755      esac
11756      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11757      as_fn_append ac_file_inputs " '$ac_f'"
11758    done
11759
11760    # Let's still pretend it is `configure' which instantiates (i.e., don't
11761    # use $as_me), people would be surprised to read:
11762    #    /* config.h.  Generated by config.status.  */
11763    configure_input='Generated from '`
11764	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11765	`' by configure.'
11766    if test x"$ac_file" != x-; then
11767      configure_input="$ac_file.  $configure_input"
11768      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11769$as_echo "$as_me: creating $ac_file" >&6;}
11770    fi
11771    # Neutralize special characters interpreted by sed in replacement strings.
11772    case $configure_input in #(
11773    *\&* | *\|* | *\\* )
11774       ac_sed_conf_input=`$as_echo "$configure_input" |
11775       sed 's/[\\\\&|]/\\\\&/g'`;; #(
11776    *) ac_sed_conf_input=$configure_input;;
11777    esac
11778
11779    case $ac_tag in
11780    *:-:* | *:-) cat >"$ac_tmp/stdin" \
11781      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
11782    esac
11783    ;;
11784  esac
11785
11786  ac_dir=`$as_dirname -- "$ac_file" ||
11787$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11788	 X"$ac_file" : 'X\(//\)[^/]' \| \
11789	 X"$ac_file" : 'X\(//\)$' \| \
11790	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11791$as_echo X"$ac_file" |
11792    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11793	    s//\1/
11794	    q
11795	  }
11796	  /^X\(\/\/\)[^/].*/{
11797	    s//\1/
11798	    q
11799	  }
11800	  /^X\(\/\/\)$/{
11801	    s//\1/
11802	    q
11803	  }
11804	  /^X\(\/\).*/{
11805	    s//\1/
11806	    q
11807	  }
11808	  s/.*/./; q'`
11809  as_dir="$ac_dir"; as_fn_mkdir_p
11810  ac_builddir=.
11811
11812case "$ac_dir" in
11813.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11814*)
11815  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11816  # A ".." for each directory in $ac_dir_suffix.
11817  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11818  case $ac_top_builddir_sub in
11819  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11820  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11821  esac ;;
11822esac
11823ac_abs_top_builddir=$ac_pwd
11824ac_abs_builddir=$ac_pwd$ac_dir_suffix
11825# for backward compatibility:
11826ac_top_builddir=$ac_top_build_prefix
11827
11828case $srcdir in
11829  .)  # We are building in place.
11830    ac_srcdir=.
11831    ac_top_srcdir=$ac_top_builddir_sub
11832    ac_abs_top_srcdir=$ac_pwd ;;
11833  [\\/]* | ?:[\\/]* )  # Absolute name.
11834    ac_srcdir=$srcdir$ac_dir_suffix;
11835    ac_top_srcdir=$srcdir
11836    ac_abs_top_srcdir=$srcdir ;;
11837  *) # Relative name.
11838    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11839    ac_top_srcdir=$ac_top_build_prefix$srcdir
11840    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11841esac
11842ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11843
11844
11845  case $ac_mode in
11846  :F)
11847  #
11848  # CONFIG_FILE
11849  #
11850
11851  case $INSTALL in
11852  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11853  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11854  esac
11855  ac_MKDIR_P=$MKDIR_P
11856  case $MKDIR_P in
11857  [\\/$]* | ?:[\\/]* ) ;;
11858  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11859  esac
11860_ACEOF
11861
11862cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11863# If the template does not know about datarootdir, expand it.
11864# FIXME: This hack should be removed a few years after 2.60.
11865ac_datarootdir_hack=; ac_datarootdir_seen=
11866ac_sed_dataroot='
11867/datarootdir/ {
11868  p
11869  q
11870}
11871/@datadir@/p
11872/@docdir@/p
11873/@infodir@/p
11874/@localedir@/p
11875/@mandir@/p'
11876case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11877*datarootdir*) ac_datarootdir_seen=yes;;
11878*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11879  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11880$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11881_ACEOF
11882cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11883  ac_datarootdir_hack='
11884  s&@datadir@&$datadir&g
11885  s&@docdir@&$docdir&g
11886  s&@infodir@&$infodir&g
11887  s&@localedir@&$localedir&g
11888  s&@mandir@&$mandir&g
11889  s&\\\${datarootdir}&$datarootdir&g' ;;
11890esac
11891_ACEOF
11892
11893# Neutralize VPATH when `$srcdir' = `.'.
11894# Shell code in configure.ac might set extrasub.
11895# FIXME: do we really want to maintain this feature?
11896cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11897ac_sed_extra="$ac_vpsub
11898$extrasub
11899_ACEOF
11900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11901:t
11902/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11903s|@configure_input@|$ac_sed_conf_input|;t t
11904s&@top_builddir@&$ac_top_builddir_sub&;t t
11905s&@top_build_prefix@&$ac_top_build_prefix&;t t
11906s&@srcdir@&$ac_srcdir&;t t
11907s&@abs_srcdir@&$ac_abs_srcdir&;t t
11908s&@top_srcdir@&$ac_top_srcdir&;t t
11909s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11910s&@builddir@&$ac_builddir&;t t
11911s&@abs_builddir@&$ac_abs_builddir&;t t
11912s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11913s&@INSTALL@&$ac_INSTALL&;t t
11914s&@MKDIR_P@&$ac_MKDIR_P&;t t
11915$ac_datarootdir_hack
11916"
11917eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
11918  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11919
11920test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11921  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
11922  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
11923      "$ac_tmp/out"`; test -z "$ac_out"; } &&
11924  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11925which seems to be undefined.  Please make sure it is defined" >&5
11926$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11927which seems to be undefined.  Please make sure it is defined" >&2;}
11928
11929  rm -f "$ac_tmp/stdin"
11930  case $ac_file in
11931  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
11932  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
11933  esac \
11934  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11935 ;;
11936  :H)
11937  #
11938  # CONFIG_HEADER
11939  #
11940  if test x"$ac_file" != x-; then
11941    {
11942      $as_echo "/* $configure_input  */" \
11943      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
11944    } >"$ac_tmp/config.h" \
11945      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
11946    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
11947      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11948$as_echo "$as_me: $ac_file is unchanged" >&6;}
11949    else
11950      rm -f "$ac_file"
11951      mv "$ac_tmp/config.h" "$ac_file" \
11952	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
11953    fi
11954  else
11955    $as_echo "/* $configure_input  */" \
11956      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
11957      || as_fn_error $? "could not create -" "$LINENO" 5
11958  fi
11959# Compute "$ac_file"'s index in $config_headers.
11960_am_arg="$ac_file"
11961_am_stamp_count=1
11962for _am_header in $config_headers :; do
11963  case $_am_header in
11964    $_am_arg | $_am_arg:* )
11965      break ;;
11966    * )
11967      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11968  esac
11969done
11970echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
11971$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11972	 X"$_am_arg" : 'X\(//\)[^/]' \| \
11973	 X"$_am_arg" : 'X\(//\)$' \| \
11974	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
11975$as_echo X"$_am_arg" |
11976    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11977	    s//\1/
11978	    q
11979	  }
11980	  /^X\(\/\/\)[^/].*/{
11981	    s//\1/
11982	    q
11983	  }
11984	  /^X\(\/\/\)$/{
11985	    s//\1/
11986	    q
11987	  }
11988	  /^X\(\/\).*/{
11989	    s//\1/
11990	    q
11991	  }
11992	  s/.*/./; q'`/stamp-h$_am_stamp_count
11993 ;;
11994
11995  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11996$as_echo "$as_me: executing $ac_file commands" >&6;}
11997 ;;
11998  esac
11999
12000
12001  case $ac_file$ac_mode in
12002    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12003  # Older Autoconf quotes --file arguments for eval, but not when files
12004  # are listed without --file.  Let's play safe and only enable the eval
12005  # if we detect the quoting.
12006  case $CONFIG_FILES in
12007  *\'*) eval set x "$CONFIG_FILES" ;;
12008  *)   set x $CONFIG_FILES ;;
12009  esac
12010  shift
12011  for mf
12012  do
12013    # Strip MF so we end up with the name of the file.
12014    mf=`echo "$mf" | sed -e 's/:.*$//'`
12015    # Check whether this is an Automake generated Makefile or not.
12016    # We used to match only the files named 'Makefile.in', but
12017    # some people rename them; so instead we look at the file content.
12018    # Grep'ing the first line is not enough: some people post-process
12019    # each Makefile.in and add a new line on top of each file to say so.
12020    # Grep'ing the whole file is not good either: AIX grep has a line
12021    # limit of 2048, but all sed's we know have understand at least 4000.
12022    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12023      dirpart=`$as_dirname -- "$mf" ||
12024$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12025	 X"$mf" : 'X\(//\)[^/]' \| \
12026	 X"$mf" : 'X\(//\)$' \| \
12027	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12028$as_echo X"$mf" |
12029    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12030	    s//\1/
12031	    q
12032	  }
12033	  /^X\(\/\/\)[^/].*/{
12034	    s//\1/
12035	    q
12036	  }
12037	  /^X\(\/\/\)$/{
12038	    s//\1/
12039	    q
12040	  }
12041	  /^X\(\/\).*/{
12042	    s//\1/
12043	    q
12044	  }
12045	  s/.*/./; q'`
12046    else
12047      continue
12048    fi
12049    # Extract the definition of DEPDIR, am__include, and am__quote
12050    # from the Makefile without running 'make'.
12051    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12052    test -z "$DEPDIR" && continue
12053    am__include=`sed -n 's/^am__include = //p' < "$mf"`
12054    test -z "$am__include" && continue
12055    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12056    # Find all dependency output files, they are included files with
12057    # $(DEPDIR) in their names.  We invoke sed twice because it is the
12058    # simplest approach to changing $(DEPDIR) to its actual value in the
12059    # expansion.
12060    for file in `sed -n "
12061      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12062	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
12063      # Make sure the directory exists.
12064      test -f "$dirpart/$file" && continue
12065      fdir=`$as_dirname -- "$file" ||
12066$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12067	 X"$file" : 'X\(//\)[^/]' \| \
12068	 X"$file" : 'X\(//\)$' \| \
12069	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12070$as_echo X"$file" |
12071    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12072	    s//\1/
12073	    q
12074	  }
12075	  /^X\(\/\/\)[^/].*/{
12076	    s//\1/
12077	    q
12078	  }
12079	  /^X\(\/\/\)$/{
12080	    s//\1/
12081	    q
12082	  }
12083	  /^X\(\/\).*/{
12084	    s//\1/
12085	    q
12086	  }
12087	  s/.*/./; q'`
12088      as_dir=$dirpart/$fdir; as_fn_mkdir_p
12089      # echo "creating $dirpart/$file"
12090      echo '# dummy' > "$dirpart/$file"
12091    done
12092  done
12093}
12094 ;;
12095
12096  esac
12097done # for ac_tag
12098
12099
12100as_fn_exit 0
12101_ACEOF
12102ac_clean_files=$ac_clean_files_save
12103
12104test $ac_write_fail = 0 ||
12105  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12106
12107
12108# configure is writing to config.log, and then calls config.status.
12109# config.status does its own redirection, appending to config.log.
12110# Unfortunately, on DOS this fails, as config.log is still kept open
12111# by configure, so config.status won't be able to write to it; its
12112# output is simply discarded.  So we exec the FD to /dev/null,
12113# effectively closing config.log, so it can be properly (re)opened and
12114# appended to by config.status.  When coming back to configure, we
12115# need to make the FD available again.
12116if test "$no_create" != yes; then
12117  ac_cs_success=:
12118  ac_config_status_args=
12119  test "$silent" = yes &&
12120    ac_config_status_args="$ac_config_status_args --quiet"
12121  exec 5>/dev/null
12122  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12123  exec 5>>config.log
12124  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12125  # would make configure fail if this is the last instruction.
12126  $ac_cs_success || as_fn_exit 1
12127fi
12128if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12129  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12130$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12131fi
12132
12133