Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for iceauth 1.0.6.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='iceauth'
    563 PACKAGE_TARNAME='iceauth'
    564 PACKAGE_VERSION='1.0.6'
    565 PACKAGE_STRING='iceauth 1.0.6'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 LINT_FALSE
    610 LINT_TRUE
    611 LINT_FLAGS
    612 LINT
    613 ICEAUTH_LIBS
    614 ICEAUTH_CFLAGS
    615 MAN_SUBSTS
    616 XORG_MAN_PAGE
    617 ADMIN_MAN_DIR
    618 DRIVER_MAN_DIR
    619 MISC_MAN_DIR
    620 FILE_MAN_DIR
    621 LIB_MAN_DIR
    622 APP_MAN_DIR
    623 ADMIN_MAN_SUFFIX
    624 DRIVER_MAN_SUFFIX
    625 MISC_MAN_SUFFIX
    626 FILE_MAN_SUFFIX
    627 LIB_MAN_SUFFIX
    628 APP_MAN_SUFFIX
    629 SED
    630 host_os
    631 host_vendor
    632 host_cpu
    633 host
    634 build_os
    635 build_vendor
    636 build_cpu
    637 build
    638 INSTALL_CMD
    639 PKG_CONFIG
    640 CHANGELOG_CMD
    641 STRICT_CFLAGS
    642 CWARNFLAGS
    643 BASE_CFLAGS
    644 EGREP
    645 GREP
    646 CPP
    647 am__fastdepCC_FALSE
    648 am__fastdepCC_TRUE
    649 CCDEPMODE
    650 am__nodep
    651 AMDEPBACKSLASH
    652 AMDEP_FALSE
    653 AMDEP_TRUE
    654 am__quote
    655 am__include
    656 DEPDIR
    657 OBJEXT
    658 EXEEXT
    659 ac_ct_CC
    660 CPPFLAGS
    661 LDFLAGS
    662 CFLAGS
    663 CC
    664 MAINT
    665 MAINTAINER_MODE_FALSE
    666 MAINTAINER_MODE_TRUE
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__untar
    672 am__tar
    673 AMTAR
    674 am__leading_dot
    675 SET_MAKE
    676 AWK
    677 mkdir_p
    678 MKDIR_P
    679 INSTALL_STRIP_PROGRAM
    680 STRIP
    681 install_sh
    682 MAKEINFO
    683 AUTOHEADER
    684 AUTOMAKE
    685 AUTOCONF
    686 ACLOCAL
    687 VERSION
    688 PACKAGE
    689 CYGPATH_W
    690 am__isrc
    691 INSTALL_DATA
    692 INSTALL_SCRIPT
    693 INSTALL_PROGRAM
    694 target_alias
    695 host_alias
    696 build_alias
    697 LIBS
    698 ECHO_T
    699 ECHO_N
    700 ECHO_C
    701 DEFS
    702 mandir
    703 localedir
    704 libdir
    705 psdir
    706 pdfdir
    707 dvidir
    708 htmldir
    709 infodir
    710 docdir
    711 oldincludedir
    712 includedir
    713 localstatedir
    714 sharedstatedir
    715 sysconfdir
    716 datadir
    717 datarootdir
    718 libexecdir
    719 sbindir
    720 bindir
    721 program_transform_name
    722 prefix
    723 exec_prefix
    724 PACKAGE_URL
    725 PACKAGE_BUGREPORT
    726 PACKAGE_STRING
    727 PACKAGE_VERSION
    728 PACKAGE_TARNAME
    729 PACKAGE_NAME
    730 PATH_SEPARATOR
    731 SHELL'
    732 ac_subst_files=''
    733 ac_user_opts='
    734 enable_option_checking
    735 enable_silent_rules
    736 enable_maintainer_mode
    737 enable_dependency_tracking
    738 enable_selective_werror
    739 enable_strict_compilation
    740 with_lint
    741 '
    742       ac_precious_vars='build_alias
    743 host_alias
    744 target_alias
    745 CC
    746 CFLAGS
    747 LDFLAGS
    748 LIBS
    749 CPPFLAGS
    750 CPP
    751 PKG_CONFIG
    752 ICEAUTH_CFLAGS
    753 ICEAUTH_LIBS
    754 LINT
    755 LINT_FLAGS'
    756 
    757 
    758 # Initialize some variables set by options.
    759 ac_init_help=
    760 ac_init_version=false
    761 ac_unrecognized_opts=
    762 ac_unrecognized_sep=
    763 # The variables have the same names as the options, with
    764 # dashes changed to underlines.
    765 cache_file=/dev/null
    766 exec_prefix=NONE
    767 no_create=
    768 no_recursion=
    769 prefix=NONE
    770 program_prefix=NONE
    771 program_suffix=NONE
    772 program_transform_name=s,x,x,
    773 silent=
    774 site=
    775 srcdir=
    776 verbose=
    777 x_includes=NONE
    778 x_libraries=NONE
    779 
    780 # Installation directory options.
    781 # These are left unexpanded so users can "make install exec_prefix=/foo"
    782 # and all the variables that are supposed to be based on exec_prefix
    783 # by default will actually change.
    784 # Use braces instead of parens because sh, perl, etc. also accept them.
    785 # (The list follows the same order as the GNU Coding Standards.)
    786 bindir='${exec_prefix}/bin'
    787 sbindir='${exec_prefix}/sbin'
    788 libexecdir='${exec_prefix}/libexec'
    789 datarootdir='${prefix}/share'
    790 datadir='${datarootdir}'
    791 sysconfdir='${prefix}/etc'
    792 sharedstatedir='${prefix}/com'
    793 localstatedir='${prefix}/var'
    794 includedir='${prefix}/include'
    795 oldincludedir='/usr/include'
    796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    797 infodir='${datarootdir}/info'
    798 htmldir='${docdir}'
    799 dvidir='${docdir}'
    800 pdfdir='${docdir}'
    801 psdir='${docdir}'
    802 libdir='${exec_prefix}/lib'
    803 localedir='${datarootdir}/locale'
    804 mandir='${datarootdir}/man'
    805 
    806 ac_prev=
    807 ac_dashdash=
    808 for ac_option
    809 do
    810   # If the previous option needs an argument, assign it.
    811   if test -n "$ac_prev"; then
    812     eval $ac_prev=\$ac_option
    813     ac_prev=
    814     continue
    815   fi
    816 
    817   case $ac_option in
    818   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    819   *=)   ac_optarg= ;;
    820   *)    ac_optarg=yes ;;
    821   esac
    822 
    823   # Accept the important Cygnus configure options, so we can diagnose typos.
    824 
    825   case $ac_dashdash$ac_option in
    826   --)
    827     ac_dashdash=yes ;;
    828 
    829   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    830     ac_prev=bindir ;;
    831   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    832     bindir=$ac_optarg ;;
    833 
    834   -build | --build | --buil | --bui | --bu)
    835     ac_prev=build_alias ;;
    836   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    837     build_alias=$ac_optarg ;;
    838 
    839   -cache-file | --cache-file | --cache-fil | --cache-fi \
    840   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    841     ac_prev=cache_file ;;
    842   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    843   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    844     cache_file=$ac_optarg ;;
    845 
    846   --config-cache | -C)
    847     cache_file=config.cache ;;
    848 
    849   -datadir | --datadir | --datadi | --datad)
    850     ac_prev=datadir ;;
    851   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    852     datadir=$ac_optarg ;;
    853 
    854   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    855   | --dataroo | --dataro | --datar)
    856     ac_prev=datarootdir ;;
    857   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    858   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    859     datarootdir=$ac_optarg ;;
    860 
    861   -disable-* | --disable-*)
    862     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    863     # Reject names that are not valid shell variable names.
    864     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    865       as_fn_error $? "invalid feature name: $ac_useropt"
    866     ac_useropt_orig=$ac_useropt
    867     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    868     case $ac_user_opts in
    869       *"
    870 "enable_$ac_useropt"
    871 "*) ;;
    872       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    873 	 ac_unrecognized_sep=', ';;
    874     esac
    875     eval enable_$ac_useropt=no ;;
    876 
    877   -docdir | --docdir | --docdi | --doc | --do)
    878     ac_prev=docdir ;;
    879   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    880     docdir=$ac_optarg ;;
    881 
    882   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    883     ac_prev=dvidir ;;
    884   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    885     dvidir=$ac_optarg ;;
    886 
    887   -enable-* | --enable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
    902 
    903   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    904   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    905   | --exec | --exe | --ex)
    906     ac_prev=exec_prefix ;;
    907   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    908   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    909   | --exec=* | --exe=* | --ex=*)
    910     exec_prefix=$ac_optarg ;;
    911 
    912   -gas | --gas | --ga | --g)
    913     # Obsolete; use --with-gas.
    914     with_gas=yes ;;
    915 
    916   -help | --help | --hel | --he | -h)
    917     ac_init_help=long ;;
    918   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    919     ac_init_help=recursive ;;
    920   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    921     ac_init_help=short ;;
    922 
    923   -host | --host | --hos | --ho)
    924     ac_prev=host_alias ;;
    925   -host=* | --host=* | --hos=* | --ho=*)
    926     host_alias=$ac_optarg ;;
    927 
    928   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    929     ac_prev=htmldir ;;
    930   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    931   | --ht=*)
    932     htmldir=$ac_optarg ;;
    933 
    934   -includedir | --includedir | --includedi | --included | --include \
    935   | --includ | --inclu | --incl | --inc)
    936     ac_prev=includedir ;;
    937   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    938   | --includ=* | --inclu=* | --incl=* | --inc=*)
    939     includedir=$ac_optarg ;;
    940 
    941   -infodir | --infodir | --infodi | --infod | --info | --inf)
    942     ac_prev=infodir ;;
    943   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    944     infodir=$ac_optarg ;;
    945 
    946   -libdir | --libdir | --libdi | --libd)
    947     ac_prev=libdir ;;
    948   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    949     libdir=$ac_optarg ;;
    950 
    951   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    952   | --libexe | --libex | --libe)
    953     ac_prev=libexecdir ;;
    954   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    955   | --libexe=* | --libex=* | --libe=*)
    956     libexecdir=$ac_optarg ;;
    957 
    958   -localedir | --localedir | --localedi | --localed | --locale)
    959     ac_prev=localedir ;;
    960   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    961     localedir=$ac_optarg ;;
    962 
    963   -localstatedir | --localstatedir | --localstatedi | --localstated \
    964   | --localstate | --localstat | --localsta | --localst | --locals)
    965     ac_prev=localstatedir ;;
    966   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    967   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    968     localstatedir=$ac_optarg ;;
    969 
    970   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    971     ac_prev=mandir ;;
    972   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    973     mandir=$ac_optarg ;;
    974 
    975   -nfp | --nfp | --nf)
    976     # Obsolete; use --without-fp.
    977     with_fp=no ;;
    978 
    979   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    980   | --no-cr | --no-c | -n)
    981     no_create=yes ;;
    982 
    983   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    984   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    985     no_recursion=yes ;;
    986 
    987   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    988   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    989   | --oldin | --oldi | --old | --ol | --o)
    990     ac_prev=oldincludedir ;;
    991   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    992   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    993   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    994     oldincludedir=$ac_optarg ;;
    995 
    996   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    997     ac_prev=prefix ;;
    998   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    999     prefix=$ac_optarg ;;
   1000 
   1001   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1002   | --program-pre | --program-pr | --program-p)
   1003     ac_prev=program_prefix ;;
   1004   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1005   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1006     program_prefix=$ac_optarg ;;
   1007 
   1008   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1009   | --program-suf | --program-su | --program-s)
   1010     ac_prev=program_suffix ;;
   1011   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1012   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1013     program_suffix=$ac_optarg ;;
   1014 
   1015   -program-transform-name | --program-transform-name \
   1016   | --program-transform-nam | --program-transform-na \
   1017   | --program-transform-n | --program-transform- \
   1018   | --program-transform | --program-transfor \
   1019   | --program-transfo | --program-transf \
   1020   | --program-trans | --program-tran \
   1021   | --progr-tra | --program-tr | --program-t)
   1022     ac_prev=program_transform_name ;;
   1023   -program-transform-name=* | --program-transform-name=* \
   1024   | --program-transform-nam=* | --program-transform-na=* \
   1025   | --program-transform-n=* | --program-transform-=* \
   1026   | --program-transform=* | --program-transfor=* \
   1027   | --program-transfo=* | --program-transf=* \
   1028   | --program-trans=* | --program-tran=* \
   1029   | --progr-tra=* | --program-tr=* | --program-t=*)
   1030     program_transform_name=$ac_optarg ;;
   1031 
   1032   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1033     ac_prev=pdfdir ;;
   1034   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1035     pdfdir=$ac_optarg ;;
   1036 
   1037   -psdir | --psdir | --psdi | --psd | --ps)
   1038     ac_prev=psdir ;;
   1039   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1040     psdir=$ac_optarg ;;
   1041 
   1042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1043   | -silent | --silent | --silen | --sile | --sil)
   1044     silent=yes ;;
   1045 
   1046   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1047     ac_prev=sbindir ;;
   1048   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1049   | --sbi=* | --sb=*)
   1050     sbindir=$ac_optarg ;;
   1051 
   1052   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1053   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1054   | --sharedst | --shareds | --shared | --share | --shar \
   1055   | --sha | --sh)
   1056     ac_prev=sharedstatedir ;;
   1057   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1058   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1059   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1060   | --sha=* | --sh=*)
   1061     sharedstatedir=$ac_optarg ;;
   1062 
   1063   -site | --site | --sit)
   1064     ac_prev=site ;;
   1065   -site=* | --site=* | --sit=*)
   1066     site=$ac_optarg ;;
   1067 
   1068   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1069     ac_prev=srcdir ;;
   1070   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1071     srcdir=$ac_optarg ;;
   1072 
   1073   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1074   | --syscon | --sysco | --sysc | --sys | --sy)
   1075     ac_prev=sysconfdir ;;
   1076   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1077   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1078     sysconfdir=$ac_optarg ;;
   1079 
   1080   -target | --target | --targe | --targ | --tar | --ta | --t)
   1081     ac_prev=target_alias ;;
   1082   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1083     target_alias=$ac_optarg ;;
   1084 
   1085   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1086     verbose=yes ;;
   1087 
   1088   -version | --version | --versio | --versi | --vers | -V)
   1089     ac_init_version=: ;;
   1090 
   1091   -with-* | --with-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error $? "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -without-* | --without-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=no ;;
   1122 
   1123   --x)
   1124     # Obsolete; use --with-x.
   1125     with_x=yes ;;
   1126 
   1127   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1128   | --x-incl | --x-inc | --x-in | --x-i)
   1129     ac_prev=x_includes ;;
   1130   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1131   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1132     x_includes=$ac_optarg ;;
   1133 
   1134   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1135   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1136     ac_prev=x_libraries ;;
   1137   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1138   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1139     x_libraries=$ac_optarg ;;
   1140 
   1141   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1142 Try \`$0 --help' for more information"
   1143     ;;
   1144 
   1145   *=*)
   1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1147     # Reject names that are not valid shell variable names.
   1148     case $ac_envvar in #(
   1149       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1150       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1151     esac
   1152     eval $ac_envvar=\$ac_optarg
   1153     export $ac_envvar ;;
   1154 
   1155   *)
   1156     # FIXME: should be removed in autoconf 3.0.
   1157     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1158     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1159       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1160     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1161     ;;
   1162 
   1163   esac
   1164 done
   1165 
   1166 if test -n "$ac_prev"; then
   1167   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1168   as_fn_error $? "missing argument to $ac_option"
   1169 fi
   1170 
   1171 if test -n "$ac_unrecognized_opts"; then
   1172   case $enable_option_checking in
   1173     no) ;;
   1174     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1175     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1176   esac
   1177 fi
   1178 
   1179 # Check all directory arguments for consistency.
   1180 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1181 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1182 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1183 		libdir localedir mandir
   1184 do
   1185   eval ac_val=\$$ac_var
   1186   # Remove trailing slashes.
   1187   case $ac_val in
   1188     */ )
   1189       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1190       eval $ac_var=\$ac_val;;
   1191   esac
   1192   # Be sure to have absolute directory names.
   1193   case $ac_val in
   1194     [\\/$]* | ?:[\\/]* )  continue;;
   1195     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1196   esac
   1197   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1198 done
   1199 
   1200 # There might be people who depend on the old broken behavior: `$host'
   1201 # used to hold the argument of --host etc.
   1202 # FIXME: To remove some day.
   1203 build=$build_alias
   1204 host=$host_alias
   1205 target=$target_alias
   1206 
   1207 # FIXME: To remove some day.
   1208 if test "x$host_alias" != x; then
   1209   if test "x$build_alias" = x; then
   1210     cross_compiling=maybe
   1211     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1212     If a cross compiler is detected then cross compile mode will be used" >&2
   1213   elif test "x$build_alias" != "x$host_alias"; then
   1214     cross_compiling=yes
   1215   fi
   1216 fi
   1217 
   1218 ac_tool_prefix=
   1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1220 
   1221 test "$silent" = yes && exec 6>/dev/null
   1222 
   1223 
   1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1225 ac_ls_di=`ls -di .` &&
   1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1227   as_fn_error $? "working directory cannot be determined"
   1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1229   as_fn_error $? "pwd does not report name of working directory"
   1230 
   1231 
   1232 # Find the source files, if location was not specified.
   1233 if test -z "$srcdir"; then
   1234   ac_srcdir_defaulted=yes
   1235   # Try the directory containing this script, then the parent directory.
   1236   ac_confdir=`$as_dirname -- "$as_myself" ||
   1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1238 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1239 	 X"$as_myself" : 'X\(//\)$' \| \
   1240 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1241 $as_echo X"$as_myself" |
   1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\/\)[^/].*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\).*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  s/.*/./; q'`
   1259   srcdir=$ac_confdir
   1260   if test ! -r "$srcdir/$ac_unique_file"; then
   1261     srcdir=..
   1262   fi
   1263 else
   1264   ac_srcdir_defaulted=no
   1265 fi
   1266 if test ! -r "$srcdir/$ac_unique_file"; then
   1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1269 fi
   1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1271 ac_abs_confdir=`(
   1272 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1273 	pwd)`
   1274 # When building in place, set srcdir=.
   1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1276   srcdir=.
   1277 fi
   1278 # Remove unnecessary trailing slashes from srcdir.
   1279 # Double slashes in file names in object file debugging info
   1280 # mess up M-x gdb in Emacs.
   1281 case $srcdir in
   1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1283 esac
   1284 for ac_var in $ac_precious_vars; do
   1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_env_${ac_var}_value=\$${ac_var}
   1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1289 done
   1290 
   1291 #
   1292 # Report the --help message.
   1293 #
   1294 if test "$ac_init_help" = "long"; then
   1295   # Omit some internal or obsolete options to make the list less imposing.
   1296   # This message is too long to be a string in the A/UX 3.1 sh.
   1297   cat <<_ACEOF
   1298 \`configure' configures iceauth 1.0.6 to adapt to many kinds of systems.
   1299 
   1300 Usage: $0 [OPTION]... [VAR=VALUE]...
   1301 
   1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1304 
   1305 Defaults for the options are specified in brackets.
   1306 
   1307 Configuration:
   1308   -h, --help              display this help and exit
   1309       --help=short        display options specific to this package
   1310       --help=recursive    display the short help of all the included packages
   1311   -V, --version           display version information and exit
   1312   -q, --quiet, --silent   do not print \`checking ...' messages
   1313       --cache-file=FILE   cache test results in FILE [disabled]
   1314   -C, --config-cache      alias for \`--cache-file=config.cache'
   1315   -n, --no-create         do not create output files
   1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1317 
   1318 Installation directories:
   1319   --prefix=PREFIX         install architecture-independent files in PREFIX
   1320                           [$ac_default_prefix]
   1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1322                           [PREFIX]
   1323 
   1324 By default, \`make install' will install all the files in
   1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1327 for instance \`--prefix=\$HOME'.
   1328 
   1329 For better control, use the options below.
   1330 
   1331 Fine tuning of the installation directories:
   1332   --bindir=DIR            user executables [EPREFIX/bin]
   1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1338   --libdir=DIR            object code libraries [EPREFIX/lib]
   1339   --includedir=DIR        C header files [PREFIX/include]
   1340   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1341   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1342   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1343   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1344   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1345   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1346   --docdir=DIR            documentation root [DATAROOTDIR/doc/iceauth]
   1347   --htmldir=DIR           html documentation [DOCDIR]
   1348   --dvidir=DIR            dvi documentation [DOCDIR]
   1349   --pdfdir=DIR            pdf documentation [DOCDIR]
   1350   --psdir=DIR             ps documentation [DOCDIR]
   1351 _ACEOF
   1352 
   1353   cat <<\_ACEOF
   1354 
   1355 Program names:
   1356   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1357   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1358   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1359 
   1360 System types:
   1361   --build=BUILD     configure for building on BUILD [guessed]
   1362   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1363 _ACEOF
   1364 fi
   1365 
   1366 if test -n "$ac_init_help"; then
   1367   case $ac_init_help in
   1368      short | recursive ) echo "Configuration of iceauth 1.0.6:";;
   1369    esac
   1370   cat <<\_ACEOF
   1371 
   1372 Optional Features:
   1373   --disable-option-checking  ignore unrecognized --enable/--with options
   1374   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1375   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1376   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1377   --disable-silent-rules  verbose build output (undo: "make V=0")
   1378   --enable-maintainer-mode
   1379                           enable make rules and dependencies not useful (and
   1380                           sometimes confusing) to the casual installer
   1381   --enable-dependency-tracking
   1382                           do not reject slow dependency extractors
   1383   --disable-dependency-tracking
   1384                           speeds up one-time build
   1385   --disable-selective-werror
   1386                           Turn off selective compiler errors. (default:
   1387                           enabled)
   1388   --enable-strict-compilation
   1389                           Enable all warnings from compiler and make them
   1390                           errors (default: disabled)
   1391 
   1392 Optional Packages:
   1393   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1394   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1395   --with-lint             Use a lint-style source code checker (default:
   1396                           disabled)
   1397 
   1398 Some influential environment variables:
   1399   CC          C compiler command
   1400   CFLAGS      C compiler flags
   1401   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1402               nonstandard directory <lib dir>
   1403   LIBS        libraries to pass to the linker, e.g. -l<library>
   1404   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1405               you have headers in a nonstandard directory <include dir>
   1406   CPP         C preprocessor
   1407   PKG_CONFIG  path to pkg-config utility
   1408   ICEAUTH_CFLAGS
   1409               C compiler flags for ICEAUTH, overriding pkg-config
   1410   ICEAUTH_LIBS
   1411               linker flags for ICEAUTH, overriding pkg-config
   1412   LINT        Path to a lint-style command
   1413   LINT_FLAGS  Flags for the lint-style command
   1414 
   1415 Use these variables to override the choices made by `configure' or to help
   1416 it to find libraries and programs with nonstandard names/locations.
   1417 
   1418 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1419 _ACEOF
   1420 ac_status=$?
   1421 fi
   1422 
   1423 if test "$ac_init_help" = "recursive"; then
   1424   # If there are subdirs, report their specific --help.
   1425   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1426     test -d "$ac_dir" ||
   1427       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1428       continue
   1429     ac_builddir=.
   1430 
   1431 case "$ac_dir" in
   1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1433 *)
   1434   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1435   # A ".." for each directory in $ac_dir_suffix.
   1436   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1437   case $ac_top_builddir_sub in
   1438   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1439   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1440   esac ;;
   1441 esac
   1442 ac_abs_top_builddir=$ac_pwd
   1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1444 # for backward compatibility:
   1445 ac_top_builddir=$ac_top_build_prefix
   1446 
   1447 case $srcdir in
   1448   .)  # We are building in place.
   1449     ac_srcdir=.
   1450     ac_top_srcdir=$ac_top_builddir_sub
   1451     ac_abs_top_srcdir=$ac_pwd ;;
   1452   [\\/]* | ?:[\\/]* )  # Absolute name.
   1453     ac_srcdir=$srcdir$ac_dir_suffix;
   1454     ac_top_srcdir=$srcdir
   1455     ac_abs_top_srcdir=$srcdir ;;
   1456   *) # Relative name.
   1457     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1458     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1459     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1460 esac
   1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1462 
   1463     cd "$ac_dir" || { ac_status=$?; continue; }
   1464     # Check for guested configure.
   1465     if test -f "$ac_srcdir/configure.gnu"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1468     elif test -f "$ac_srcdir/configure"; then
   1469       echo &&
   1470       $SHELL "$ac_srcdir/configure" --help=recursive
   1471     else
   1472       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1473     fi || ac_status=$?
   1474     cd "$ac_pwd" || { ac_status=$?; break; }
   1475   done
   1476 fi
   1477 
   1478 test -n "$ac_init_help" && exit $ac_status
   1479 if $ac_init_version; then
   1480   cat <<\_ACEOF
   1481 iceauth configure 1.0.6
   1482 generated by GNU Autoconf 2.68
   1483 
   1484 Copyright (C) 2010 Free Software Foundation, Inc.
   1485 This configure script is free software; the Free Software Foundation
   1486 gives unlimited permission to copy, distribute and modify it.
   1487 _ACEOF
   1488   exit
   1489 fi
   1490 
   1491 ## ------------------------ ##
   1492 ## Autoconf initialization. ##
   1493 ## ------------------------ ##
   1494 
   1495 # ac_fn_c_try_compile LINENO
   1496 # --------------------------
   1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1498 ac_fn_c_try_compile ()
   1499 {
   1500   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1501   rm -f conftest.$ac_objext
   1502   if { { ac_try="$ac_compile"
   1503 case "(($ac_try" in
   1504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1505   *) ac_try_echo=$ac_try;;
   1506 esac
   1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1508 $as_echo "$ac_try_echo"; } >&5
   1509   (eval "$ac_compile") 2>conftest.err
   1510   ac_status=$?
   1511   if test -s conftest.err; then
   1512     grep -v '^ *+' conftest.err >conftest.er1
   1513     cat conftest.er1 >&5
   1514     mv -f conftest.er1 conftest.err
   1515   fi
   1516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1517   test $ac_status = 0; } && {
   1518 	 test -z "$ac_c_werror_flag" ||
   1519 	 test ! -s conftest.err
   1520        } && test -s conftest.$ac_objext; then :
   1521   ac_retval=0
   1522 else
   1523   $as_echo "$as_me: failed program was:" >&5
   1524 sed 's/^/| /' conftest.$ac_ext >&5
   1525 
   1526 	ac_retval=1
   1527 fi
   1528   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1529   as_fn_set_status $ac_retval
   1530 
   1531 } # ac_fn_c_try_compile
   1532 
   1533 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1534 # ---------------------------------------------
   1535 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1536 # accordingly.
   1537 ac_fn_c_check_decl ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1541   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1543 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1544 if eval \${$3+:} false; then :
   1545   $as_echo_n "(cached) " >&6
   1546 else
   1547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1548 /* end confdefs.h.  */
   1549 $4
   1550 int
   1551 main ()
   1552 {
   1553 #ifndef $as_decl_name
   1554 #ifdef __cplusplus
   1555   (void) $as_decl_use;
   1556 #else
   1557   (void) $as_decl_name;
   1558 #endif
   1559 #endif
   1560 
   1561   ;
   1562   return 0;
   1563 }
   1564 _ACEOF
   1565 if ac_fn_c_try_compile "$LINENO"; then :
   1566   eval "$3=yes"
   1567 else
   1568   eval "$3=no"
   1569 fi
   1570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1571 fi
   1572 eval ac_res=\$$3
   1573 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1574 $as_echo "$ac_res" >&6; }
   1575   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1576 
   1577 } # ac_fn_c_check_decl
   1578 
   1579 # ac_fn_c_try_cpp LINENO
   1580 # ----------------------
   1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1582 ac_fn_c_try_cpp ()
   1583 {
   1584   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1585   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } > conftest.i && {
   1601 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        }; then :
   1604   ac_retval=0
   1605 else
   1606   $as_echo "$as_me: failed program was:" >&5
   1607 sed 's/^/| /' conftest.$ac_ext >&5
   1608 
   1609     ac_retval=1
   1610 fi
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_cpp
   1615 
   1616 # ac_fn_c_try_run LINENO
   1617 # ----------------------
   1618 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1619 # that executables *can* be run.
   1620 ac_fn_c_try_run ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   if { { ac_try="$ac_link"
   1624 case "(($ac_try" in
   1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1626   *) ac_try_echo=$ac_try;;
   1627 esac
   1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1629 $as_echo "$ac_try_echo"; } >&5
   1630   (eval "$ac_link") 2>&5
   1631   ac_status=$?
   1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1634   { { case "(($ac_try" in
   1635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1636   *) ac_try_echo=$ac_try;;
   1637 esac
   1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1639 $as_echo "$ac_try_echo"; } >&5
   1640   (eval "$ac_try") 2>&5
   1641   ac_status=$?
   1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1643   test $ac_status = 0; }; }; then :
   1644   ac_retval=0
   1645 else
   1646   $as_echo "$as_me: program exited with status $ac_status" >&5
   1647        $as_echo "$as_me: failed program was:" >&5
   1648 sed 's/^/| /' conftest.$ac_ext >&5
   1649 
   1650        ac_retval=$ac_status
   1651 fi
   1652   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1654   as_fn_set_status $ac_retval
   1655 
   1656 } # ac_fn_c_try_run
   1657 
   1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1659 # -------------------------------------------------------
   1660 # Tests whether HEADER exists and can be compiled using the include files in
   1661 # INCLUDES, setting the cache variable VAR accordingly.
   1662 ac_fn_c_check_header_compile ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1666 $as_echo_n "checking for $2... " >&6; }
   1667 if eval \${$3+:} false; then :
   1668   $as_echo_n "(cached) " >&6
   1669 else
   1670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1671 /* end confdefs.h.  */
   1672 $4
   1673 #include <$2>
   1674 _ACEOF
   1675 if ac_fn_c_try_compile "$LINENO"; then :
   1676   eval "$3=yes"
   1677 else
   1678   eval "$3=no"
   1679 fi
   1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1681 fi
   1682 eval ac_res=\$$3
   1683 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1684 $as_echo "$ac_res" >&6; }
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686 
   1687 } # ac_fn_c_check_header_compile
   1688 
   1689 # ac_fn_c_try_link LINENO
   1690 # -----------------------
   1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1692 ac_fn_c_try_link ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   rm -f conftest.$ac_objext conftest$ac_exeext
   1696   if { { ac_try="$ac_link"
   1697 case "(($ac_try" in
   1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1699   *) ac_try_echo=$ac_try;;
   1700 esac
   1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1702 $as_echo "$ac_try_echo"; } >&5
   1703   (eval "$ac_link") 2>conftest.err
   1704   ac_status=$?
   1705   if test -s conftest.err; then
   1706     grep -v '^ *+' conftest.err >conftest.er1
   1707     cat conftest.er1 >&5
   1708     mv -f conftest.er1 conftest.err
   1709   fi
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; } && {
   1712 	 test -z "$ac_c_werror_flag" ||
   1713 	 test ! -s conftest.err
   1714        } && test -s conftest$ac_exeext && {
   1715 	 test "$cross_compiling" = yes ||
   1716 	 $as_test_x conftest$ac_exeext
   1717        }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: failed program was:" >&5
   1721 sed 's/^/| /' conftest.$ac_ext >&5
   1722 
   1723 	ac_retval=1
   1724 fi
   1725   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1726   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1727   # interfere with the next link command; also delete a directory that is
   1728   # left behind by Apple's compiler.  We do this before executing the actions.
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_link
   1734 cat >config.log <<_ACEOF
   1735 This file contains any messages produced by compilers while
   1736 running configure, to aid debugging if configure makes a mistake.
   1737 
   1738 It was created by iceauth $as_me 1.0.6, which was
   1739 generated by GNU Autoconf 2.68.  Invocation command line was
   1740 
   1741   $ $0 $@
   1742 
   1743 _ACEOF
   1744 exec 5>>config.log
   1745 {
   1746 cat <<_ASUNAME
   1747 ## --------- ##
   1748 ## Platform. ##
   1749 ## --------- ##
   1750 
   1751 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1752 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1753 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1754 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1755 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1756 
   1757 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1758 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1759 
   1760 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1761 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1762 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1763 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1764 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1765 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1766 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1767 
   1768 _ASUNAME
   1769 
   1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1771 for as_dir in $PATH
   1772 do
   1773   IFS=$as_save_IFS
   1774   test -z "$as_dir" && as_dir=.
   1775     $as_echo "PATH: $as_dir"
   1776   done
   1777 IFS=$as_save_IFS
   1778 
   1779 } >&5
   1780 
   1781 cat >&5 <<_ACEOF
   1782 
   1783 
   1784 ## ----------- ##
   1785 ## Core tests. ##
   1786 ## ----------- ##
   1787 
   1788 _ACEOF
   1789 
   1790 
   1791 # Keep a trace of the command line.
   1792 # Strip out --no-create and --no-recursion so they do not pile up.
   1793 # Strip out --silent because we don't want to record it for future runs.
   1794 # Also quote any args containing shell meta-characters.
   1795 # Make two passes to allow for proper duplicate-argument suppression.
   1796 ac_configure_args=
   1797 ac_configure_args0=
   1798 ac_configure_args1=
   1799 ac_must_keep_next=false
   1800 for ac_pass in 1 2
   1801 do
   1802   for ac_arg
   1803   do
   1804     case $ac_arg in
   1805     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1806     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1807     | -silent | --silent | --silen | --sile | --sil)
   1808       continue ;;
   1809     *\'*)
   1810       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1811     esac
   1812     case $ac_pass in
   1813     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1814     2)
   1815       as_fn_append ac_configure_args1 " '$ac_arg'"
   1816       if test $ac_must_keep_next = true; then
   1817 	ac_must_keep_next=false # Got value, back to normal.
   1818       else
   1819 	case $ac_arg in
   1820 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1821 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1822 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1823 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1824 	    case "$ac_configure_args0 " in
   1825 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1826 	    esac
   1827 	    ;;
   1828 	  -* ) ac_must_keep_next=true ;;
   1829 	esac
   1830       fi
   1831       as_fn_append ac_configure_args " '$ac_arg'"
   1832       ;;
   1833     esac
   1834   done
   1835 done
   1836 { ac_configure_args0=; unset ac_configure_args0;}
   1837 { ac_configure_args1=; unset ac_configure_args1;}
   1838 
   1839 # When interrupted or exit'd, cleanup temporary files, and complete
   1840 # config.log.  We remove comments because anyway the quotes in there
   1841 # would cause problems or look ugly.
   1842 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1843 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1844 trap 'exit_status=$?
   1845   # Save into config.log some information that might help in debugging.
   1846   {
   1847     echo
   1848 
   1849     $as_echo "## ---------------- ##
   1850 ## Cache variables. ##
   1851 ## ---------------- ##"
   1852     echo
   1853     # The following way of writing the cache mishandles newlines in values,
   1854 (
   1855   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1856     eval ac_val=\$$ac_var
   1857     case $ac_val in #(
   1858     *${as_nl}*)
   1859       case $ac_var in #(
   1860       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1862       esac
   1863       case $ac_var in #(
   1864       _ | IFS | as_nl) ;; #(
   1865       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1866       *) { eval $ac_var=; unset $ac_var;} ;;
   1867       esac ;;
   1868     esac
   1869   done
   1870   (set) 2>&1 |
   1871     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1872     *${as_nl}ac_space=\ *)
   1873       sed -n \
   1874 	"s/'\''/'\''\\\\'\'''\''/g;
   1875 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1876       ;; #(
   1877     *)
   1878       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1879       ;;
   1880     esac |
   1881     sort
   1882 )
   1883     echo
   1884 
   1885     $as_echo "## ----------------- ##
   1886 ## Output variables. ##
   1887 ## ----------------- ##"
   1888     echo
   1889     for ac_var in $ac_subst_vars
   1890     do
   1891       eval ac_val=\$$ac_var
   1892       case $ac_val in
   1893       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894       esac
   1895       $as_echo "$ac_var='\''$ac_val'\''"
   1896     done | sort
   1897     echo
   1898 
   1899     if test -n "$ac_subst_files"; then
   1900       $as_echo "## ------------------- ##
   1901 ## File substitutions. ##
   1902 ## ------------------- ##"
   1903       echo
   1904       for ac_var in $ac_subst_files
   1905       do
   1906 	eval ac_val=\$$ac_var
   1907 	case $ac_val in
   1908 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1909 	esac
   1910 	$as_echo "$ac_var='\''$ac_val'\''"
   1911       done | sort
   1912       echo
   1913     fi
   1914 
   1915     if test -s confdefs.h; then
   1916       $as_echo "## ----------- ##
   1917 ## confdefs.h. ##
   1918 ## ----------- ##"
   1919       echo
   1920       cat confdefs.h
   1921       echo
   1922     fi
   1923     test "$ac_signal" != 0 &&
   1924       $as_echo "$as_me: caught signal $ac_signal"
   1925     $as_echo "$as_me: exit $exit_status"
   1926   } >&5
   1927   rm -f core *.core core.conftest.* &&
   1928     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1929     exit $exit_status
   1930 ' 0
   1931 for ac_signal in 1 2 13 15; do
   1932   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1933 done
   1934 ac_signal=0
   1935 
   1936 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1937 rm -f -r conftest* confdefs.h
   1938 
   1939 $as_echo "/* confdefs.h */" > confdefs.h
   1940 
   1941 # Predefined preprocessor variables.
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_NAME "$PACKAGE_NAME"
   1945 _ACEOF
   1946 
   1947 cat >>confdefs.h <<_ACEOF
   1948 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1949 _ACEOF
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1953 _ACEOF
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_STRING "$PACKAGE_STRING"
   1957 _ACEOF
   1958 
   1959 cat >>confdefs.h <<_ACEOF
   1960 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1961 _ACEOF
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_URL "$PACKAGE_URL"
   1965 _ACEOF
   1966 
   1967 
   1968 # Let the site file select an alternate cache file if it wants to.
   1969 # Prefer an explicitly selected file to automatically selected ones.
   1970 ac_site_file1=NONE
   1971 ac_site_file2=NONE
   1972 if test -n "$CONFIG_SITE"; then
   1973   # We do not want a PATH search for config.site.
   1974   case $CONFIG_SITE in #((
   1975     -*)  ac_site_file1=./$CONFIG_SITE;;
   1976     */*) ac_site_file1=$CONFIG_SITE;;
   1977     *)   ac_site_file1=./$CONFIG_SITE;;
   1978   esac
   1979 elif test "x$prefix" != xNONE; then
   1980   ac_site_file1=$prefix/share/config.site
   1981   ac_site_file2=$prefix/etc/config.site
   1982 else
   1983   ac_site_file1=$ac_default_prefix/share/config.site
   1984   ac_site_file2=$ac_default_prefix/etc/config.site
   1985 fi
   1986 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1987 do
   1988   test "x$ac_site_file" = xNONE && continue
   1989   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1990     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1991 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1992     sed 's/^/| /' "$ac_site_file" >&5
   1993     . "$ac_site_file" \
   1994       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1996 as_fn_error $? "failed to load site script $ac_site_file
   1997 See \`config.log' for more details" "$LINENO" 5; }
   1998   fi
   1999 done
   2000 
   2001 if test -r "$cache_file"; then
   2002   # Some versions of bash will fail to source /dev/null (special files
   2003   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2004   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2005     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2006 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2007     case $cache_file in
   2008       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2009       *)                      . "./$cache_file";;
   2010     esac
   2011   fi
   2012 else
   2013   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2014 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2015   >$cache_file
   2016 fi
   2017 
   2018 # Check that the precious variables saved in the cache have kept the same
   2019 # value.
   2020 ac_cache_corrupted=false
   2021 for ac_var in $ac_precious_vars; do
   2022   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2023   eval ac_new_set=\$ac_env_${ac_var}_set
   2024   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2025   eval ac_new_val=\$ac_env_${ac_var}_value
   2026   case $ac_old_set,$ac_new_set in
   2027     set,)
   2028       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2029 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2030       ac_cache_corrupted=: ;;
   2031     ,set)
   2032       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2033 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2034       ac_cache_corrupted=: ;;
   2035     ,);;
   2036     *)
   2037       if test "x$ac_old_val" != "x$ac_new_val"; then
   2038 	# differences in whitespace do not lead to failure.
   2039 	ac_old_val_w=`echo x $ac_old_val`
   2040 	ac_new_val_w=`echo x $ac_new_val`
   2041 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2042 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2043 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2044 	  ac_cache_corrupted=:
   2045 	else
   2046 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2047 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2048 	  eval $ac_var=\$ac_old_val
   2049 	fi
   2050 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2051 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2052 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2053 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2054       fi;;
   2055   esac
   2056   # Pass precious variables to config.status.
   2057   if test "$ac_new_set" = set; then
   2058     case $ac_new_val in
   2059     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2060     *) ac_arg=$ac_var=$ac_new_val ;;
   2061     esac
   2062     case " $ac_configure_args " in
   2063       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2064       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2065     esac
   2066   fi
   2067 done
   2068 if $ac_cache_corrupted; then
   2069   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2071   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2072 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2073   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2074 fi
   2075 ## -------------------- ##
   2076 ## Main body of script. ##
   2077 ## -------------------- ##
   2078 
   2079 ac_ext=c
   2080 ac_cpp='$CPP $CPPFLAGS'
   2081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2084 
   2085 
   2086 am__api_version='1.14'
   2087 
   2088 ac_aux_dir=
   2089 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2090   if test -f "$ac_dir/install-sh"; then
   2091     ac_aux_dir=$ac_dir
   2092     ac_install_sh="$ac_aux_dir/install-sh -c"
   2093     break
   2094   elif test -f "$ac_dir/install.sh"; then
   2095     ac_aux_dir=$ac_dir
   2096     ac_install_sh="$ac_aux_dir/install.sh -c"
   2097     break
   2098   elif test -f "$ac_dir/shtool"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/shtool install -c"
   2101     break
   2102   fi
   2103 done
   2104 if test -z "$ac_aux_dir"; then
   2105   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2106 fi
   2107 
   2108 # These three variables are undocumented and unsupported,
   2109 # and are intended to be withdrawn in a future Autoconf release.
   2110 # They can cause serious problems if a builder's source tree is in a directory
   2111 # whose full name contains unusual characters.
   2112 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2113 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2114 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2115 
   2116 
   2117 # Find a good install program.  We prefer a C program (faster),
   2118 # so one script is as good as another.  But avoid the broken or
   2119 # incompatible versions:
   2120 # SysV /etc/install, /usr/sbin/install
   2121 # SunOS /usr/etc/install
   2122 # IRIX /sbin/install
   2123 # AIX /bin/install
   2124 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2125 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2126 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2127 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2128 # OS/2's system install, which has a completely different semantic
   2129 # ./install, which can be erroneously created by make from ./install.sh.
   2130 # Reject install programs that cannot install multiple files.
   2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2132 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2133 if test -z "$INSTALL"; then
   2134 if ${ac_cv_path_install+:} false; then :
   2135   $as_echo_n "(cached) " >&6
   2136 else
   2137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2138 for as_dir in $PATH
   2139 do
   2140   IFS=$as_save_IFS
   2141   test -z "$as_dir" && as_dir=.
   2142     # Account for people who put trailing slashes in PATH elements.
   2143 case $as_dir/ in #((
   2144   ./ | .// | /[cC]/* | \
   2145   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2146   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2147   /usr/ucb/* ) ;;
   2148   *)
   2149     # OSF1 and SCO ODT 3.0 have their own names for install.
   2150     # Don't use installbsd from OSF since it installs stuff as root
   2151     # by default.
   2152     for ac_prog in ginstall scoinst install; do
   2153       for ac_exec_ext in '' $ac_executable_extensions; do
   2154 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2155 	  if test $ac_prog = install &&
   2156 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2157 	    # AIX install.  It has an incompatible calling convention.
   2158 	    :
   2159 	  elif test $ac_prog = install &&
   2160 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2161 	    # program-specific install script used by HP pwplus--don't use.
   2162 	    :
   2163 	  else
   2164 	    rm -rf conftest.one conftest.two conftest.dir
   2165 	    echo one > conftest.one
   2166 	    echo two > conftest.two
   2167 	    mkdir conftest.dir
   2168 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2169 	      test -s conftest.one && test -s conftest.two &&
   2170 	      test -s conftest.dir/conftest.one &&
   2171 	      test -s conftest.dir/conftest.two
   2172 	    then
   2173 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2174 	      break 3
   2175 	    fi
   2176 	  fi
   2177 	fi
   2178       done
   2179     done
   2180     ;;
   2181 esac
   2182 
   2183   done
   2184 IFS=$as_save_IFS
   2185 
   2186 rm -rf conftest.one conftest.two conftest.dir
   2187 
   2188 fi
   2189   if test "${ac_cv_path_install+set}" = set; then
   2190     INSTALL=$ac_cv_path_install
   2191   else
   2192     # As a last resort, use the slow shell script.  Don't cache a
   2193     # value for INSTALL within a source directory, because that will
   2194     # break other packages using the cache if that directory is
   2195     # removed, or if the value is a relative name.
   2196     INSTALL=$ac_install_sh
   2197   fi
   2198 fi
   2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2200 $as_echo "$INSTALL" >&6; }
   2201 
   2202 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2203 # It thinks the first close brace ends the variable substitution.
   2204 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2205 
   2206 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2207 
   2208 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2209 
   2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2211 $as_echo_n "checking whether build environment is sane... " >&6; }
   2212 # Reject unsafe characters in $srcdir or the absolute working directory
   2213 # name.  Accept space and tab only in the latter.
   2214 am_lf='
   2215 '
   2216 case `pwd` in
   2217   *[\\\"\#\$\&\'\`$am_lf]*)
   2218     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2219 esac
   2220 case $srcdir in
   2221   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2222     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2223 esac
   2224 
   2225 # Do 'set' in a subshell so we don't clobber the current shell's
   2226 # arguments.  Must try -L first in case configure is actually a
   2227 # symlink; some systems play weird games with the mod time of symlinks
   2228 # (eg FreeBSD returns the mod time of the symlink's containing
   2229 # directory).
   2230 if (
   2231    am_has_slept=no
   2232    for am_try in 1 2; do
   2233      echo "timestamp, slept: $am_has_slept" > conftest.file
   2234      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2235      if test "$*" = "X"; then
   2236 	# -L didn't work.
   2237 	set X `ls -t "$srcdir/configure" conftest.file`
   2238      fi
   2239      if test "$*" != "X $srcdir/configure conftest.file" \
   2240 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2241 
   2242 	# If neither matched, then we have a broken ls.  This can happen
   2243 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2244 	# broken ls alias from the environment.  This has actually
   2245 	# happened.  Such a system could not be considered "sane".
   2246 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2247   alias in your environment" "$LINENO" 5
   2248      fi
   2249      if test "$2" = conftest.file || test $am_try -eq 2; then
   2250        break
   2251      fi
   2252      # Just in case.
   2253      sleep 1
   2254      am_has_slept=yes
   2255    done
   2256    test "$2" = conftest.file
   2257    )
   2258 then
   2259    # Ok.
   2260    :
   2261 else
   2262    as_fn_error $? "newly created file is older than distributed files!
   2263 Check your system clock" "$LINENO" 5
   2264 fi
   2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2266 $as_echo "yes" >&6; }
   2267 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2268 # generated files are strictly newer.
   2269 am_sleep_pid=
   2270 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2271   ( sleep 1 ) &
   2272   am_sleep_pid=$!
   2273 fi
   2274 
   2275 rm -f conftest.file
   2276 
   2277 test "$program_prefix" != NONE &&
   2278   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2279 # Use a double $ so make ignores it.
   2280 test "$program_suffix" != NONE &&
   2281   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2282 # Double any \ or $.
   2283 # By default was `s,x,x', remove it if useless.
   2284 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2285 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2286 
   2287 # expand $ac_aux_dir to an absolute path
   2288 am_aux_dir=`cd $ac_aux_dir && pwd`
   2289 
   2290 if test x"${MISSING+set}" != xset; then
   2291   case $am_aux_dir in
   2292   *\ * | *\	*)
   2293     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2294   *)
   2295     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2296   esac
   2297 fi
   2298 # Use eval to expand $SHELL
   2299 if eval "$MISSING --is-lightweight"; then
   2300   am_missing_run="$MISSING "
   2301 else
   2302   am_missing_run=
   2303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2304 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2305 fi
   2306 
   2307 if test x"${install_sh}" != xset; then
   2308   case $am_aux_dir in
   2309   *\ * | *\	*)
   2310     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2311   *)
   2312     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2313   esac
   2314 fi
   2315 
   2316 # Installed binaries are usually stripped using 'strip' when the user
   2317 # run "make install-strip".  However 'strip' might not be the right
   2318 # tool to use in cross-compilation environments, therefore Automake
   2319 # will honor the 'STRIP' environment variable to overrule this program.
   2320 if test "$cross_compiling" != no; then
   2321   if test -n "$ac_tool_prefix"; then
   2322   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2323 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2325 $as_echo_n "checking for $ac_word... " >&6; }
   2326 if ${ac_cv_prog_STRIP+:} false; then :
   2327   $as_echo_n "(cached) " >&6
   2328 else
   2329   if test -n "$STRIP"; then
   2330   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2331 else
   2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2333 for as_dir in $PATH
   2334 do
   2335   IFS=$as_save_IFS
   2336   test -z "$as_dir" && as_dir=.
   2337     for ac_exec_ext in '' $ac_executable_extensions; do
   2338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2339     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2341     break 2
   2342   fi
   2343 done
   2344   done
   2345 IFS=$as_save_IFS
   2346 
   2347 fi
   2348 fi
   2349 STRIP=$ac_cv_prog_STRIP
   2350 if test -n "$STRIP"; then
   2351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2352 $as_echo "$STRIP" >&6; }
   2353 else
   2354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2355 $as_echo "no" >&6; }
   2356 fi
   2357 
   2358 
   2359 fi
   2360 if test -z "$ac_cv_prog_STRIP"; then
   2361   ac_ct_STRIP=$STRIP
   2362   # Extract the first word of "strip", so it can be a program name with args.
   2363 set dummy strip; ac_word=$2
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2365 $as_echo_n "checking for $ac_word... " >&6; }
   2366 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2367   $as_echo_n "(cached) " >&6
   2368 else
   2369   if test -n "$ac_ct_STRIP"; then
   2370   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2371 else
   2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2373 for as_dir in $PATH
   2374 do
   2375   IFS=$as_save_IFS
   2376   test -z "$as_dir" && as_dir=.
   2377     for ac_exec_ext in '' $ac_executable_extensions; do
   2378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2379     ac_cv_prog_ac_ct_STRIP="strip"
   2380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2381     break 2
   2382   fi
   2383 done
   2384   done
   2385 IFS=$as_save_IFS
   2386 
   2387 fi
   2388 fi
   2389 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2390 if test -n "$ac_ct_STRIP"; then
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2392 $as_echo "$ac_ct_STRIP" >&6; }
   2393 else
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2395 $as_echo "no" >&6; }
   2396 fi
   2397 
   2398   if test "x$ac_ct_STRIP" = x; then
   2399     STRIP=":"
   2400   else
   2401     case $cross_compiling:$ac_tool_warned in
   2402 yes:)
   2403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2405 ac_tool_warned=yes ;;
   2406 esac
   2407     STRIP=$ac_ct_STRIP
   2408   fi
   2409 else
   2410   STRIP="$ac_cv_prog_STRIP"
   2411 fi
   2412 
   2413 fi
   2414 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2415 
   2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2417 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2418 if test -z "$MKDIR_P"; then
   2419   if ${ac_cv_path_mkdir+:} false; then :
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2424 do
   2425   IFS=$as_save_IFS
   2426   test -z "$as_dir" && as_dir=.
   2427     for ac_prog in mkdir gmkdir; do
   2428 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2429 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2430 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2431 	     'mkdir (GNU coreutils) '* | \
   2432 	     'mkdir (coreutils) '* | \
   2433 	     'mkdir (fileutils) '4.1*)
   2434 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2435 	       break 3;;
   2436 	   esac
   2437 	 done
   2438        done
   2439   done
   2440 IFS=$as_save_IFS
   2441 
   2442 fi
   2443 
   2444   test -d ./--version && rmdir ./--version
   2445   if test "${ac_cv_path_mkdir+set}" = set; then
   2446     MKDIR_P="$ac_cv_path_mkdir -p"
   2447   else
   2448     # As a last resort, use the slow shell script.  Don't cache a
   2449     # value for MKDIR_P within a source directory, because that will
   2450     # break other packages using the cache if that directory is
   2451     # removed, or if the value is a relative name.
   2452     MKDIR_P="$ac_install_sh -d"
   2453   fi
   2454 fi
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2456 $as_echo "$MKDIR_P" >&6; }
   2457 
   2458 for ac_prog in gawk mawk nawk awk
   2459 do
   2460   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2461 set dummy $ac_prog; ac_word=$2
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2463 $as_echo_n "checking for $ac_word... " >&6; }
   2464 if ${ac_cv_prog_AWK+:} false; then :
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test -n "$AWK"; then
   2468   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2469 else
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 for as_dir in $PATH
   2472 do
   2473   IFS=$as_save_IFS
   2474   test -z "$as_dir" && as_dir=.
   2475     for ac_exec_ext in '' $ac_executable_extensions; do
   2476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2477     ac_cv_prog_AWK="$ac_prog"
   2478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2479     break 2
   2480   fi
   2481 done
   2482   done
   2483 IFS=$as_save_IFS
   2484 
   2485 fi
   2486 fi
   2487 AWK=$ac_cv_prog_AWK
   2488 if test -n "$AWK"; then
   2489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2490 $as_echo "$AWK" >&6; }
   2491 else
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2493 $as_echo "no" >&6; }
   2494 fi
   2495 
   2496 
   2497   test -n "$AWK" && break
   2498 done
   2499 
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2501 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2502 set x ${MAKE-make}
   2503 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2504 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2505   $as_echo_n "(cached) " >&6
   2506 else
   2507   cat >conftest.make <<\_ACEOF
   2508 SHELL = /bin/sh
   2509 all:
   2510 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2511 _ACEOF
   2512 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2513 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2514   *@@@%%%=?*=@@@%%%*)
   2515     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2516   *)
   2517     eval ac_cv_prog_make_${ac_make}_set=no;;
   2518 esac
   2519 rm -f conftest.make
   2520 fi
   2521 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2523 $as_echo "yes" >&6; }
   2524   SET_MAKE=
   2525 else
   2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2527 $as_echo "no" >&6; }
   2528   SET_MAKE="MAKE=${MAKE-make}"
   2529 fi
   2530 
   2531 rm -rf .tst 2>/dev/null
   2532 mkdir .tst 2>/dev/null
   2533 if test -d .tst; then
   2534   am__leading_dot=.
   2535 else
   2536   am__leading_dot=_
   2537 fi
   2538 rmdir .tst 2>/dev/null
   2539 
   2540 # Check whether --enable-silent-rules was given.
   2541 if test "${enable_silent_rules+set}" = set; then :
   2542   enableval=$enable_silent_rules;
   2543 fi
   2544 
   2545 case $enable_silent_rules in # (((
   2546   yes) AM_DEFAULT_VERBOSITY=0;;
   2547    no) AM_DEFAULT_VERBOSITY=1;;
   2548     *) AM_DEFAULT_VERBOSITY=1;;
   2549 esac
   2550 am_make=${MAKE-make}
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2552 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2553 if ${am_cv_make_support_nested_variables+:} false; then :
   2554   $as_echo_n "(cached) " >&6
   2555 else
   2556   if $as_echo 'TRUE=$(BAR$(V))
   2557 BAR0=false
   2558 BAR1=true
   2559 V=1
   2560 am__doit:
   2561 	@$(TRUE)
   2562 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2563   am_cv_make_support_nested_variables=yes
   2564 else
   2565   am_cv_make_support_nested_variables=no
   2566 fi
   2567 fi
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2569 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2570 if test $am_cv_make_support_nested_variables = yes; then
   2571     AM_V='$(V)'
   2572   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2573 else
   2574   AM_V=$AM_DEFAULT_VERBOSITY
   2575   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2576 fi
   2577 AM_BACKSLASH='\'
   2578 
   2579 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2580   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2581   # is not polluted with repeated "-I."
   2582   am__isrc=' -I$(srcdir)'
   2583   # test to see if srcdir already configured
   2584   if test -f $srcdir/config.status; then
   2585     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2586   fi
   2587 fi
   2588 
   2589 # test whether we have cygpath
   2590 if test -z "$CYGPATH_W"; then
   2591   if (cygpath --version) >/dev/null 2>/dev/null; then
   2592     CYGPATH_W='cygpath -w'
   2593   else
   2594     CYGPATH_W=echo
   2595   fi
   2596 fi
   2597 
   2598 
   2599 # Define the identity of the package.
   2600  PACKAGE='iceauth'
   2601  VERSION='1.0.6'
   2602 
   2603 
   2604 cat >>confdefs.h <<_ACEOF
   2605 #define PACKAGE "$PACKAGE"
   2606 _ACEOF
   2607 
   2608 
   2609 cat >>confdefs.h <<_ACEOF
   2610 #define VERSION "$VERSION"
   2611 _ACEOF
   2612 
   2613 # Some tools Automake needs.
   2614 
   2615 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2616 
   2617 
   2618 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2619 
   2620 
   2621 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2622 
   2623 
   2624 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2625 
   2626 
   2627 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2628 
   2629 # For better backward compatibility.  To be removed once Automake 1.9.x
   2630 # dies out for good.  For more background, see:
   2631 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2632 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2633 mkdir_p='$(MKDIR_P)'
   2634 
   2635 # We need awk for the "check" target.  The system "awk" is bad on
   2636 # some platforms.
   2637 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2638 # in the wild :-(  We should find a proper way to deprecate it ...
   2639 AMTAR='$${TAR-tar}'
   2640 
   2641 
   2642 # We'll loop over all known methods to create a tar archive until one works.
   2643 _am_tools='gnutar  pax cpio none'
   2644 
   2645 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2646 
   2647 
   2648 
   2649 
   2650 
   2651 
   2652 # POSIX will say in a future version that running "rm -f" with no argument
   2653 # is OK; and we want to be able to make that assumption in our Makefile
   2654 # recipes.  So use an aggressive probe to check that the usage we want is
   2655 # actually supported "in the wild" to an acceptable degree.
   2656 # See automake bug#10828.
   2657 # To make any issue more visible, cause the running configure to be aborted
   2658 # by default if the 'rm' program in use doesn't match our expectations; the
   2659 # user can still override this though.
   2660 if rm -f && rm -fr && rm -rf; then : OK; else
   2661   cat >&2 <<'END'
   2662 Oops!
   2663 
   2664 Your 'rm' program seems unable to run without file operands specified
   2665 on the command line, even when the '-f' option is present.  This is contrary
   2666 to the behaviour of most rm programs out there, and not conforming with
   2667 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2668 
   2669 Please tell bug-automake@gnu.org about your system, including the value
   2670 of your $PATH and any error possibly output before this message.  This
   2671 can help us improve future automake versions.
   2672 
   2673 END
   2674   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2675     echo 'Configuration will proceed anyway, since you have set the' >&2
   2676     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2677     echo >&2
   2678   else
   2679     cat >&2 <<'END'
   2680 Aborting the configuration process, to ensure you take notice of the issue.
   2681 
   2682 You can download and install GNU coreutils to get an 'rm' implementation
   2683 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2684 
   2685 If you want to complete the configuration process using your problematic
   2686 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2687 to "yes", and re-run configure.
   2688 
   2689 END
   2690     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2691   fi
   2692 fi
   2693 
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2695 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2696     # Check whether --enable-maintainer-mode was given.
   2697 if test "${enable_maintainer_mode+set}" = set; then :
   2698   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2699 else
   2700   USE_MAINTAINER_MODE=no
   2701 fi
   2702 
   2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2704 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2705    if test $USE_MAINTAINER_MODE = yes; then
   2706   MAINTAINER_MODE_TRUE=
   2707   MAINTAINER_MODE_FALSE='#'
   2708 else
   2709   MAINTAINER_MODE_TRUE='#'
   2710   MAINTAINER_MODE_FALSE=
   2711 fi
   2712 
   2713   MAINT=$MAINTAINER_MODE_TRUE
   2714 
   2715 
   2716 
   2717 ac_config_headers="$ac_config_headers config.h"
   2718 
   2719 
   2720 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2721 
   2722 
   2723 
   2724 
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 DEPDIR="${am__leading_dot}deps"
   2733 
   2734 ac_config_commands="$ac_config_commands depfiles"
   2735 
   2736 
   2737 am_make=${MAKE-make}
   2738 cat > confinc << 'END'
   2739 am__doit:
   2740 	@echo this is the am__doit target
   2741 .PHONY: am__doit
   2742 END
   2743 # If we don't find an include directive, just comment out the code.
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2745 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2746 am__include="#"
   2747 am__quote=
   2748 _am_result=none
   2749 # First try GNU make style include.
   2750 echo "include confinc" > confmf
   2751 # Ignore all kinds of additional output from 'make'.
   2752 case `$am_make -s -f confmf 2> /dev/null` in #(
   2753 *the\ am__doit\ target*)
   2754   am__include=include
   2755   am__quote=
   2756   _am_result=GNU
   2757   ;;
   2758 esac
   2759 # Now try BSD make style include.
   2760 if test "$am__include" = "#"; then
   2761    echo '.include "confinc"' > confmf
   2762    case `$am_make -s -f confmf 2> /dev/null` in #(
   2763    *the\ am__doit\ target*)
   2764      am__include=.include
   2765      am__quote="\""
   2766      _am_result=BSD
   2767      ;;
   2768    esac
   2769 fi
   2770 
   2771 
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2773 $as_echo "$_am_result" >&6; }
   2774 rm -f confinc confmf
   2775 
   2776 # Check whether --enable-dependency-tracking was given.
   2777 if test "${enable_dependency_tracking+set}" = set; then :
   2778   enableval=$enable_dependency_tracking;
   2779 fi
   2780 
   2781 if test "x$enable_dependency_tracking" != xno; then
   2782   am_depcomp="$ac_aux_dir/depcomp"
   2783   AMDEPBACKSLASH='\'
   2784   am__nodep='_no'
   2785 fi
   2786  if test "x$enable_dependency_tracking" != xno; then
   2787   AMDEP_TRUE=
   2788   AMDEP_FALSE='#'
   2789 else
   2790   AMDEP_TRUE='#'
   2791   AMDEP_FALSE=
   2792 fi
   2793 
   2794 
   2795 ac_ext=c
   2796 ac_cpp='$CPP $CPPFLAGS'
   2797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2800 if test -n "$ac_tool_prefix"; then
   2801   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2804 $as_echo_n "checking for $ac_word... " >&6; }
   2805 if ${ac_cv_prog_CC+:} false; then :
   2806   $as_echo_n "(cached) " >&6
   2807 else
   2808   if test -n "$CC"; then
   2809   ac_cv_prog_CC="$CC" # Let the user override the test.
   2810 else
   2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH
   2813 do
   2814   IFS=$as_save_IFS
   2815   test -z "$as_dir" && as_dir=.
   2816     for ac_exec_ext in '' $ac_executable_extensions; do
   2817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2818     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2820     break 2
   2821   fi
   2822 done
   2823   done
   2824 IFS=$as_save_IFS
   2825 
   2826 fi
   2827 fi
   2828 CC=$ac_cv_prog_CC
   2829 if test -n "$CC"; then
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2831 $as_echo "$CC" >&6; }
   2832 else
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2834 $as_echo "no" >&6; }
   2835 fi
   2836 
   2837 
   2838 fi
   2839 if test -z "$ac_cv_prog_CC"; then
   2840   ac_ct_CC=$CC
   2841   # Extract the first word of "gcc", so it can be a program name with args.
   2842 set dummy gcc; ac_word=$2
   2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2844 $as_echo_n "checking for $ac_word... " >&6; }
   2845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test -n "$ac_ct_CC"; then
   2849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   test -z "$as_dir" && as_dir=.
   2856     for ac_exec_ext in '' $ac_executable_extensions; do
   2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2858     ac_cv_prog_ac_ct_CC="gcc"
   2859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2860     break 2
   2861   fi
   2862 done
   2863   done
   2864 IFS=$as_save_IFS
   2865 
   2866 fi
   2867 fi
   2868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2869 if test -n "$ac_ct_CC"; then
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2871 $as_echo "$ac_ct_CC" >&6; }
   2872 else
   2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2874 $as_echo "no" >&6; }
   2875 fi
   2876 
   2877   if test "x$ac_ct_CC" = x; then
   2878     CC=""
   2879   else
   2880     case $cross_compiling:$ac_tool_warned in
   2881 yes:)
   2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2884 ac_tool_warned=yes ;;
   2885 esac
   2886     CC=$ac_ct_CC
   2887   fi
   2888 else
   2889   CC="$ac_cv_prog_CC"
   2890 fi
   2891 
   2892 if test -z "$CC"; then
   2893           if test -n "$ac_tool_prefix"; then
   2894     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 $as_echo_n "checking for $ac_word... " >&6; }
   2898 if ${ac_cv_prog_CC+:} false; then :
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   if test -n "$CC"; then
   2902   ac_cv_prog_CC="$CC" # Let the user override the test.
   2903 else
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   test -z "$as_dir" && as_dir=.
   2909     for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2911     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2913     break 2
   2914   fi
   2915 done
   2916   done
   2917 IFS=$as_save_IFS
   2918 
   2919 fi
   2920 fi
   2921 CC=$ac_cv_prog_CC
   2922 if test -n "$CC"; then
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2924 $as_echo "$CC" >&6; }
   2925 else
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2927 $as_echo "no" >&6; }
   2928 fi
   2929 
   2930 
   2931   fi
   2932 fi
   2933 if test -z "$CC"; then
   2934   # Extract the first word of "cc", so it can be a program name with args.
   2935 set dummy cc; ac_word=$2
   2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2937 $as_echo_n "checking for $ac_word... " >&6; }
   2938 if ${ac_cv_prog_CC+:} false; then :
   2939   $as_echo_n "(cached) " >&6
   2940 else
   2941   if test -n "$CC"; then
   2942   ac_cv_prog_CC="$CC" # Let the user override the test.
   2943 else
   2944   ac_prog_rejected=no
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950     for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2952     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2953        ac_prog_rejected=yes
   2954        continue
   2955      fi
   2956     ac_cv_prog_CC="cc"
   2957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2958     break 2
   2959   fi
   2960 done
   2961   done
   2962 IFS=$as_save_IFS
   2963 
   2964 if test $ac_prog_rejected = yes; then
   2965   # We found a bogon in the path, so make sure we never use it.
   2966   set dummy $ac_cv_prog_CC
   2967   shift
   2968   if test $# != 0; then
   2969     # We chose a different compiler from the bogus one.
   2970     # However, it has the same basename, so the bogon will be chosen
   2971     # first if we set CC to just the basename; use the full file name.
   2972     shift
   2973     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2974   fi
   2975 fi
   2976 fi
   2977 fi
   2978 CC=$ac_cv_prog_CC
   2979 if test -n "$CC"; then
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2981 $as_echo "$CC" >&6; }
   2982 else
   2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2984 $as_echo "no" >&6; }
   2985 fi
   2986 
   2987 
   2988 fi
   2989 if test -z "$CC"; then
   2990   if test -n "$ac_tool_prefix"; then
   2991   for ac_prog in cl.exe
   2992   do
   2993     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2996 $as_echo_n "checking for $ac_word... " >&6; }
   2997 if ${ac_cv_prog_CC+:} false; then :
   2998   $as_echo_n "(cached) " >&6
   2999 else
   3000   if test -n "$CC"; then
   3001   ac_cv_prog_CC="$CC" # Let the user override the test.
   3002 else
   3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH
   3005 do
   3006   IFS=$as_save_IFS
   3007   test -z "$as_dir" && as_dir=.
   3008     for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3010     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015   done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi
   3019 fi
   3020 CC=$ac_cv_prog_CC
   3021 if test -n "$CC"; then
   3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3023 $as_echo "$CC" >&6; }
   3024 else
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3026 $as_echo "no" >&6; }
   3027 fi
   3028 
   3029 
   3030     test -n "$CC" && break
   3031   done
   3032 fi
   3033 if test -z "$CC"; then
   3034   ac_ct_CC=$CC
   3035   for ac_prog in cl.exe
   3036 do
   3037   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3038 set dummy $ac_prog; ac_word=$2
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3040 $as_echo_n "checking for $ac_word... " >&6; }
   3041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   if test -n "$ac_ct_CC"; then
   3045   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3046 else
   3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3048 for as_dir in $PATH
   3049 do
   3050   IFS=$as_save_IFS
   3051   test -z "$as_dir" && as_dir=.
   3052     for ac_exec_ext in '' $ac_executable_extensions; do
   3053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3054     ac_cv_prog_ac_ct_CC="$ac_prog"
   3055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3056     break 2
   3057   fi
   3058 done
   3059   done
   3060 IFS=$as_save_IFS
   3061 
   3062 fi
   3063 fi
   3064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3065 if test -n "$ac_ct_CC"; then
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3067 $as_echo "$ac_ct_CC" >&6; }
   3068 else
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 $as_echo "no" >&6; }
   3071 fi
   3072 
   3073 
   3074   test -n "$ac_ct_CC" && break
   3075 done
   3076 
   3077   if test "x$ac_ct_CC" = x; then
   3078     CC=""
   3079   else
   3080     case $cross_compiling:$ac_tool_warned in
   3081 yes:)
   3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3084 ac_tool_warned=yes ;;
   3085 esac
   3086     CC=$ac_ct_CC
   3087   fi
   3088 fi
   3089 
   3090 fi
   3091 
   3092 
   3093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3095 as_fn_error $? "no acceptable C compiler found in \$PATH
   3096 See \`config.log' for more details" "$LINENO" 5; }
   3097 
   3098 # Provide some information about the compiler.
   3099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3100 set X $ac_compile
   3101 ac_compiler=$2
   3102 for ac_option in --version -v -V -qversion; do
   3103   { { ac_try="$ac_compiler $ac_option >&5"
   3104 case "(($ac_try" in
   3105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3106   *) ac_try_echo=$ac_try;;
   3107 esac
   3108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3109 $as_echo "$ac_try_echo"; } >&5
   3110   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3111   ac_status=$?
   3112   if test -s conftest.err; then
   3113     sed '10a\
   3114 ... rest of stderr output deleted ...
   3115          10q' conftest.err >conftest.er1
   3116     cat conftest.er1 >&5
   3117   fi
   3118   rm -f conftest.er1 conftest.err
   3119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3120   test $ac_status = 0; }
   3121 done
   3122 
   3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3124 /* end confdefs.h.  */
   3125 
   3126 int
   3127 main ()
   3128 {
   3129 
   3130   ;
   3131   return 0;
   3132 }
   3133 _ACEOF
   3134 ac_clean_files_save=$ac_clean_files
   3135 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3136 # Try to create an executable without -o first, disregard a.out.
   3137 # It will help us diagnose broken compilers, and finding out an intuition
   3138 # of exeext.
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3140 $as_echo_n "checking whether the C compiler works... " >&6; }
   3141 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3142 
   3143 # The possible output files:
   3144 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3145 
   3146 ac_rmfiles=
   3147 for ac_file in $ac_files
   3148 do
   3149   case $ac_file in
   3150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3151     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3152   esac
   3153 done
   3154 rm -f $ac_rmfiles
   3155 
   3156 if { { ac_try="$ac_link_default"
   3157 case "(($ac_try" in
   3158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3159   *) ac_try_echo=$ac_try;;
   3160 esac
   3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3162 $as_echo "$ac_try_echo"; } >&5
   3163   (eval "$ac_link_default") 2>&5
   3164   ac_status=$?
   3165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3166   test $ac_status = 0; }; then :
   3167   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3169 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3170 # so that the user can short-circuit this test for compilers unknown to
   3171 # Autoconf.
   3172 for ac_file in $ac_files ''
   3173 do
   3174   test -f "$ac_file" || continue
   3175   case $ac_file in
   3176     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3177 	;;
   3178     [ab].out )
   3179 	# We found the default executable, but exeext='' is most
   3180 	# certainly right.
   3181 	break;;
   3182     *.* )
   3183 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3184 	then :; else
   3185 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3186 	fi
   3187 	# We set ac_cv_exeext here because the later test for it is not
   3188 	# safe: cross compilers may not add the suffix if given an `-o'
   3189 	# argument, so we may need to know it at that point already.
   3190 	# Even if this section looks crufty: it has the advantage of
   3191 	# actually working.
   3192 	break;;
   3193     * )
   3194 	break;;
   3195   esac
   3196 done
   3197 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3198 
   3199 else
   3200   ac_file=''
   3201 fi
   3202 if test -z "$ac_file"; then :
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3204 $as_echo "no" >&6; }
   3205 $as_echo "$as_me: failed program was:" >&5
   3206 sed 's/^/| /' conftest.$ac_ext >&5
   3207 
   3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3210 as_fn_error 77 "C compiler cannot create executables
   3211 See \`config.log' for more details" "$LINENO" 5; }
   3212 else
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3214 $as_echo "yes" >&6; }
   3215 fi
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3217 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3219 $as_echo "$ac_file" >&6; }
   3220 ac_exeext=$ac_cv_exeext
   3221 
   3222 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3223 ac_clean_files=$ac_clean_files_save
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3225 $as_echo_n "checking for suffix of executables... " >&6; }
   3226 if { { ac_try="$ac_link"
   3227 case "(($ac_try" in
   3228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3229   *) ac_try_echo=$ac_try;;
   3230 esac
   3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3232 $as_echo "$ac_try_echo"; } >&5
   3233   (eval "$ac_link") 2>&5
   3234   ac_status=$?
   3235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3236   test $ac_status = 0; }; then :
   3237   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3238 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3239 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3240 # `rm'.
   3241 for ac_file in conftest.exe conftest conftest.*; do
   3242   test -f "$ac_file" || continue
   3243   case $ac_file in
   3244     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3245     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3246 	  break;;
   3247     * ) break;;
   3248   esac
   3249 done
   3250 else
   3251   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3254 See \`config.log' for more details" "$LINENO" 5; }
   3255 fi
   3256 rm -f conftest conftest$ac_cv_exeext
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3258 $as_echo "$ac_cv_exeext" >&6; }
   3259 
   3260 rm -f conftest.$ac_ext
   3261 EXEEXT=$ac_cv_exeext
   3262 ac_exeext=$EXEEXT
   3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3264 /* end confdefs.h.  */
   3265 #include <stdio.h>
   3266 int
   3267 main ()
   3268 {
   3269 FILE *f = fopen ("conftest.out", "w");
   3270  return ferror (f) || fclose (f) != 0;
   3271 
   3272   ;
   3273   return 0;
   3274 }
   3275 _ACEOF
   3276 ac_clean_files="$ac_clean_files conftest.out"
   3277 # Check that the compiler produces executables we can run.  If not, either
   3278 # the compiler is broken, or we cross compile.
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3280 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3281 if test "$cross_compiling" != yes; then
   3282   { { ac_try="$ac_link"
   3283 case "(($ac_try" in
   3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3285   *) ac_try_echo=$ac_try;;
   3286 esac
   3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3288 $as_echo "$ac_try_echo"; } >&5
   3289   (eval "$ac_link") 2>&5
   3290   ac_status=$?
   3291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3292   test $ac_status = 0; }
   3293   if { ac_try='./conftest$ac_cv_exeext'
   3294   { { case "(($ac_try" in
   3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3296   *) ac_try_echo=$ac_try;;
   3297 esac
   3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3299 $as_echo "$ac_try_echo"; } >&5
   3300   (eval "$ac_try") 2>&5
   3301   ac_status=$?
   3302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3303   test $ac_status = 0; }; }; then
   3304     cross_compiling=no
   3305   else
   3306     if test "$cross_compiling" = maybe; then
   3307 	cross_compiling=yes
   3308     else
   3309 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3311 as_fn_error $? "cannot run C compiled programs.
   3312 If you meant to cross compile, use \`--host'.
   3313 See \`config.log' for more details" "$LINENO" 5; }
   3314     fi
   3315   fi
   3316 fi
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3318 $as_echo "$cross_compiling" >&6; }
   3319 
   3320 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3321 ac_clean_files=$ac_clean_files_save
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3323 $as_echo_n "checking for suffix of object files... " >&6; }
   3324 if ${ac_cv_objext+:} false; then :
   3325   $as_echo_n "(cached) " >&6
   3326 else
   3327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 rm -f conftest.o conftest.obj
   3339 if { { ac_try="$ac_compile"
   3340 case "(($ac_try" in
   3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3342   *) ac_try_echo=$ac_try;;
   3343 esac
   3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3345 $as_echo "$ac_try_echo"; } >&5
   3346   (eval "$ac_compile") 2>&5
   3347   ac_status=$?
   3348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3349   test $ac_status = 0; }; then :
   3350   for ac_file in conftest.o conftest.obj conftest.*; do
   3351   test -f "$ac_file" || continue;
   3352   case $ac_file in
   3353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3354     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3355        break;;
   3356   esac
   3357 done
   3358 else
   3359   $as_echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3364 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3365 See \`config.log' for more details" "$LINENO" 5; }
   3366 fi
   3367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3368 fi
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3370 $as_echo "$ac_cv_objext" >&6; }
   3371 OBJEXT=$ac_cv_objext
   3372 ac_objext=$OBJEXT
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3374 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3375 if ${ac_cv_c_compiler_gnu+:} false; then :
   3376   $as_echo_n "(cached) " >&6
   3377 else
   3378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 
   3381 int
   3382 main ()
   3383 {
   3384 #ifndef __GNUC__
   3385        choke me
   3386 #endif
   3387 
   3388   ;
   3389   return 0;
   3390 }
   3391 _ACEOF
   3392 if ac_fn_c_try_compile "$LINENO"; then :
   3393   ac_compiler_gnu=yes
   3394 else
   3395   ac_compiler_gnu=no
   3396 fi
   3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3399 
   3400 fi
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3402 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3403 if test $ac_compiler_gnu = yes; then
   3404   GCC=yes
   3405 else
   3406   GCC=
   3407 fi
   3408 ac_test_CFLAGS=${CFLAGS+set}
   3409 ac_save_CFLAGS=$CFLAGS
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3411 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3412 if ${ac_cv_prog_cc_g+:} false; then :
   3413   $as_echo_n "(cached) " >&6
   3414 else
   3415   ac_save_c_werror_flag=$ac_c_werror_flag
   3416    ac_c_werror_flag=yes
   3417    ac_cv_prog_cc_g=no
   3418    CFLAGS="-g"
   3419    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 
   3422 int
   3423 main ()
   3424 {
   3425 
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 if ac_fn_c_try_compile "$LINENO"; then :
   3431   ac_cv_prog_cc_g=yes
   3432 else
   3433   CFLAGS=""
   3434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3435 /* end confdefs.h.  */
   3436 
   3437 int
   3438 main ()
   3439 {
   3440 
   3441   ;
   3442   return 0;
   3443 }
   3444 _ACEOF
   3445 if ac_fn_c_try_compile "$LINENO"; then :
   3446 
   3447 else
   3448   ac_c_werror_flag=$ac_save_c_werror_flag
   3449 	 CFLAGS="-g"
   3450 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3451 /* end confdefs.h.  */
   3452 
   3453 int
   3454 main ()
   3455 {
   3456 
   3457   ;
   3458   return 0;
   3459 }
   3460 _ACEOF
   3461 if ac_fn_c_try_compile "$LINENO"; then :
   3462   ac_cv_prog_cc_g=yes
   3463 fi
   3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467 fi
   3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3469    ac_c_werror_flag=$ac_save_c_werror_flag
   3470 fi
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3472 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3473 if test "$ac_test_CFLAGS" = set; then
   3474   CFLAGS=$ac_save_CFLAGS
   3475 elif test $ac_cv_prog_cc_g = yes; then
   3476   if test "$GCC" = yes; then
   3477     CFLAGS="-g -O2"
   3478   else
   3479     CFLAGS="-g"
   3480   fi
   3481 else
   3482   if test "$GCC" = yes; then
   3483     CFLAGS="-O2"
   3484   else
   3485     CFLAGS=
   3486   fi
   3487 fi
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3489 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3490 if ${ac_cv_prog_cc_c89+:} false; then :
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   ac_cv_prog_cc_c89=no
   3494 ac_save_CC=$CC
   3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 #include <stdarg.h>
   3498 #include <stdio.h>
   3499 #include <sys/types.h>
   3500 #include <sys/stat.h>
   3501 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3502 struct buf { int x; };
   3503 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3504 static char *e (p, i)
   3505      char **p;
   3506      int i;
   3507 {
   3508   return p[i];
   3509 }
   3510 static char *f (char * (*g) (char **, int), char **p, ...)
   3511 {
   3512   char *s;
   3513   va_list v;
   3514   va_start (v,p);
   3515   s = g (p, va_arg (v,int));
   3516   va_end (v);
   3517   return s;
   3518 }
   3519 
   3520 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3521    function prototypes and stuff, but not '\xHH' hex character constants.
   3522    These don't provoke an error unfortunately, instead are silently treated
   3523    as 'x'.  The following induces an error, until -std is added to get
   3524    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3525    array size at least.  It's necessary to write '\x00'==0 to get something
   3526    that's true only with -std.  */
   3527 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3528 
   3529 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3530    inside strings and character constants.  */
   3531 #define FOO(x) 'x'
   3532 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3533 
   3534 int test (int i, double x);
   3535 struct s1 {int (*f) (int a);};
   3536 struct s2 {int (*f) (double a);};
   3537 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3538 int argc;
   3539 char **argv;
   3540 int
   3541 main ()
   3542 {
   3543 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3544   ;
   3545   return 0;
   3546 }
   3547 _ACEOF
   3548 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3549 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3550 do
   3551   CC="$ac_save_CC $ac_arg"
   3552   if ac_fn_c_try_compile "$LINENO"; then :
   3553   ac_cv_prog_cc_c89=$ac_arg
   3554 fi
   3555 rm -f core conftest.err conftest.$ac_objext
   3556   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3557 done
   3558 rm -f conftest.$ac_ext
   3559 CC=$ac_save_CC
   3560 
   3561 fi
   3562 # AC_CACHE_VAL
   3563 case "x$ac_cv_prog_cc_c89" in
   3564   x)
   3565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3566 $as_echo "none needed" >&6; } ;;
   3567   xno)
   3568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3569 $as_echo "unsupported" >&6; } ;;
   3570   *)
   3571     CC="$CC $ac_cv_prog_cc_c89"
   3572     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3573 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3574 esac
   3575 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3576 
   3577 fi
   3578 
   3579 ac_ext=c
   3580 ac_cpp='$CPP $CPPFLAGS'
   3581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3584 
   3585 ac_ext=c
   3586 ac_cpp='$CPP $CPPFLAGS'
   3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3591 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3592 if ${am_cv_prog_cc_c_o+:} false; then :
   3593   $as_echo_n "(cached) " >&6
   3594 else
   3595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 
   3598 int
   3599 main ()
   3600 {
   3601 
   3602   ;
   3603   return 0;
   3604 }
   3605 _ACEOF
   3606   # Make sure it works both with $CC and with simple cc.
   3607   # Following AC_PROG_CC_C_O, we do the test twice because some
   3608   # compilers refuse to overwrite an existing .o file with -o,
   3609   # though they will create one.
   3610   am_cv_prog_cc_c_o=yes
   3611   for am_i in 1 2; do
   3612     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3613    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3614    ac_status=$?
   3615    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3616    (exit $ac_status); } \
   3617          && test -f conftest2.$ac_objext; then
   3618       : OK
   3619     else
   3620       am_cv_prog_cc_c_o=no
   3621       break
   3622     fi
   3623   done
   3624   rm -f core conftest*
   3625   unset am_i
   3626 fi
   3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3628 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3629 if test "$am_cv_prog_cc_c_o" != yes; then
   3630    # Losing compiler, so override with the script.
   3631    # FIXME: It is wrong to rewrite CC.
   3632    # But if we don't then we get into trouble of one sort or another.
   3633    # A longer-term fix would be to have automake use am__CC in this case,
   3634    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3635    CC="$am_aux_dir/compile $CC"
   3636 fi
   3637 ac_ext=c
   3638 ac_cpp='$CPP $CPPFLAGS'
   3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3642 
   3643 
   3644 depcc="$CC"   am_compiler_list=
   3645 
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3647 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3648 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3649   $as_echo_n "(cached) " >&6
   3650 else
   3651   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3652   # We make a subdir and do the tests there.  Otherwise we can end up
   3653   # making bogus files that we don't know about and never remove.  For
   3654   # instance it was reported that on HP-UX the gcc test will end up
   3655   # making a dummy file named 'D' -- because '-MD' means "put the output
   3656   # in D".
   3657   rm -rf conftest.dir
   3658   mkdir conftest.dir
   3659   # Copy depcomp to subdir because otherwise we won't find it if we're
   3660   # using a relative directory.
   3661   cp "$am_depcomp" conftest.dir
   3662   cd conftest.dir
   3663   # We will build objects and dependencies in a subdirectory because
   3664   # it helps to detect inapplicable dependency modes.  For instance
   3665   # both Tru64's cc and ICC support -MD to output dependencies as a
   3666   # side effect of compilation, but ICC will put the dependencies in
   3667   # the current directory while Tru64 will put them in the object
   3668   # directory.
   3669   mkdir sub
   3670 
   3671   am_cv_CC_dependencies_compiler_type=none
   3672   if test "$am_compiler_list" = ""; then
   3673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3674   fi
   3675   am__universal=false
   3676   case " $depcc " in #(
   3677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3678      esac
   3679 
   3680   for depmode in $am_compiler_list; do
   3681     # Setup a source with many dependencies, because some compilers
   3682     # like to wrap large dependency lists on column 80 (with \), and
   3683     # we should not choose a depcomp mode which is confused by this.
   3684     #
   3685     # We need to recreate these files for each test, as the compiler may
   3686     # overwrite some of them when testing with obscure command lines.
   3687     # This happens at least with the AIX C compiler.
   3688     : > sub/conftest.c
   3689     for i in 1 2 3 4 5 6; do
   3690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3691       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3692       # Solaris 10 /bin/sh.
   3693       echo '/* dummy */' > sub/conftst$i.h
   3694     done
   3695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3696 
   3697     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3698     # mode.  It turns out that the SunPro C++ compiler does not properly
   3699     # handle '-M -o', and we need to detect this.  Also, some Intel
   3700     # versions had trouble with output in subdirs.
   3701     am__obj=sub/conftest.${OBJEXT-o}
   3702     am__minus_obj="-o $am__obj"
   3703     case $depmode in
   3704     gcc)
   3705       # This depmode causes a compiler race in universal mode.
   3706       test "$am__universal" = false || continue
   3707       ;;
   3708     nosideeffect)
   3709       # After this tag, mechanisms are not by side-effect, so they'll
   3710       # only be used when explicitly requested.
   3711       if test "x$enable_dependency_tracking" = xyes; then
   3712 	continue
   3713       else
   3714 	break
   3715       fi
   3716       ;;
   3717     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3718       # This compiler won't grok '-c -o', but also, the minuso test has
   3719       # not run yet.  These depmodes are late enough in the game, and
   3720       # so weak that their functioning should not be impacted.
   3721       am__obj=conftest.${OBJEXT-o}
   3722       am__minus_obj=
   3723       ;;
   3724     none) break ;;
   3725     esac
   3726     if depmode=$depmode \
   3727        source=sub/conftest.c object=$am__obj \
   3728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3730          >/dev/null 2>conftest.err &&
   3731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3735       # icc doesn't choke on unknown options, it will just issue warnings
   3736       # or remarks (even with -Werror).  So we grep stderr for any message
   3737       # that says an option was ignored or not supported.
   3738       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3739       #   icc: Command line warning: ignoring option '-M'; no argument required
   3740       # The diagnosis changed in icc 8.0:
   3741       #   icc: Command line remark: option '-MP' not supported
   3742       if (grep 'ignoring option' conftest.err ||
   3743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3744         am_cv_CC_dependencies_compiler_type=$depmode
   3745         break
   3746       fi
   3747     fi
   3748   done
   3749 
   3750   cd ..
   3751   rm -rf conftest.dir
   3752 else
   3753   am_cv_CC_dependencies_compiler_type=none
   3754 fi
   3755 
   3756 fi
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3760 
   3761  if
   3762   test "x$enable_dependency_tracking" != xno \
   3763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3764   am__fastdepCC_TRUE=
   3765   am__fastdepCC_FALSE='#'
   3766 else
   3767   am__fastdepCC_TRUE='#'
   3768   am__fastdepCC_FALSE=
   3769 fi
   3770 
   3771 
   3772    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3773 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3774 if ${ac_cv_prog_cc_c99+:} false; then :
   3775   $as_echo_n "(cached) " >&6
   3776 else
   3777   ac_cv_prog_cc_c99=no
   3778 ac_save_CC=$CC
   3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3780 /* end confdefs.h.  */
   3781 #include <stdarg.h>
   3782 #include <stdbool.h>
   3783 #include <stdlib.h>
   3784 #include <wchar.h>
   3785 #include <stdio.h>
   3786 
   3787 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3788 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3789 #define showlist(...) puts (#__VA_ARGS__)
   3790 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3791 static void
   3792 test_varargs_macros (void)
   3793 {
   3794   int x = 1234;
   3795   int y = 5678;
   3796   debug ("Flag");
   3797   debug ("X = %d\n", x);
   3798   showlist (The first, second, and third items.);
   3799   report (x>y, "x is %d but y is %d", x, y);
   3800 }
   3801 
   3802 // Check long long types.
   3803 #define BIG64 18446744073709551615ull
   3804 #define BIG32 4294967295ul
   3805 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3806 #if !BIG_OK
   3807   your preprocessor is broken;
   3808 #endif
   3809 #if BIG_OK
   3810 #else
   3811   your preprocessor is broken;
   3812 #endif
   3813 static long long int bignum = -9223372036854775807LL;
   3814 static unsigned long long int ubignum = BIG64;
   3815 
   3816 struct incomplete_array
   3817 {
   3818   int datasize;
   3819   double data[];
   3820 };
   3821 
   3822 struct named_init {
   3823   int number;
   3824   const wchar_t *name;
   3825   double average;
   3826 };
   3827 
   3828 typedef const char *ccp;
   3829 
   3830 static inline int
   3831 test_restrict (ccp restrict text)
   3832 {
   3833   // See if C++-style comments work.
   3834   // Iterate through items via the restricted pointer.
   3835   // Also check for declarations in for loops.
   3836   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3837     continue;
   3838   return 0;
   3839 }
   3840 
   3841 // Check varargs and va_copy.
   3842 static void
   3843 test_varargs (const char *format, ...)
   3844 {
   3845   va_list args;
   3846   va_start (args, format);
   3847   va_list args_copy;
   3848   va_copy (args_copy, args);
   3849 
   3850   const char *str;
   3851   int number;
   3852   float fnumber;
   3853 
   3854   while (*format)
   3855     {
   3856       switch (*format++)
   3857 	{
   3858 	case 's': // string
   3859 	  str = va_arg (args_copy, const char *);
   3860 	  break;
   3861 	case 'd': // int
   3862 	  number = va_arg (args_copy, int);
   3863 	  break;
   3864 	case 'f': // float
   3865 	  fnumber = va_arg (args_copy, double);
   3866 	  break;
   3867 	default:
   3868 	  break;
   3869 	}
   3870     }
   3871   va_end (args_copy);
   3872   va_end (args);
   3873 }
   3874 
   3875 int
   3876 main ()
   3877 {
   3878 
   3879   // Check bool.
   3880   _Bool success = false;
   3881 
   3882   // Check restrict.
   3883   if (test_restrict ("String literal") == 0)
   3884     success = true;
   3885   char *restrict newvar = "Another string";
   3886 
   3887   // Check varargs.
   3888   test_varargs ("s, d' f .", "string", 65, 34.234);
   3889   test_varargs_macros ();
   3890 
   3891   // Check flexible array members.
   3892   struct incomplete_array *ia =
   3893     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3894   ia->datasize = 10;
   3895   for (int i = 0; i < ia->datasize; ++i)
   3896     ia->data[i] = i * 1.234;
   3897 
   3898   // Check named initializers.
   3899   struct named_init ni = {
   3900     .number = 34,
   3901     .name = L"Test wide string",
   3902     .average = 543.34343,
   3903   };
   3904 
   3905   ni.number = 58;
   3906 
   3907   int dynamic_array[ni.number];
   3908   dynamic_array[ni.number - 1] = 543;
   3909 
   3910   // work around unused variable warnings
   3911   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3912 	  || dynamic_array[ni.number - 1] != 543);
   3913 
   3914   ;
   3915   return 0;
   3916 }
   3917 _ACEOF
   3918 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3919 do
   3920   CC="$ac_save_CC $ac_arg"
   3921   if ac_fn_c_try_compile "$LINENO"; then :
   3922   ac_cv_prog_cc_c99=$ac_arg
   3923 fi
   3924 rm -f core conftest.err conftest.$ac_objext
   3925   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3926 done
   3927 rm -f conftest.$ac_ext
   3928 CC=$ac_save_CC
   3929 
   3930 fi
   3931 # AC_CACHE_VAL
   3932 case "x$ac_cv_prog_cc_c99" in
   3933   x)
   3934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3935 $as_echo "none needed" >&6; } ;;
   3936   xno)
   3937     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3938 $as_echo "unsupported" >&6; } ;;
   3939   *)
   3940     CC="$CC $ac_cv_prog_cc_c99"
   3941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3942 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3943 esac
   3944 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3945 
   3946 fi
   3947 
   3948 
   3949 
   3950 ac_ext=c
   3951 ac_cpp='$CPP $CPPFLAGS'
   3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3956 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3957 # On Suns, sometimes $CPP names a directory.
   3958 if test -n "$CPP" && test -d "$CPP"; then
   3959   CPP=
   3960 fi
   3961 if test -z "$CPP"; then
   3962   if ${ac_cv_prog_CPP+:} false; then :
   3963   $as_echo_n "(cached) " >&6
   3964 else
   3965       # Double quotes because CPP needs to be expanded
   3966     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3967     do
   3968       ac_preproc_ok=false
   3969 for ac_c_preproc_warn_flag in '' yes
   3970 do
   3971   # Use a header file that comes with gcc, so configuring glibc
   3972   # with a fresh cross-compiler works.
   3973   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3974   # <limits.h> exists even on freestanding compilers.
   3975   # On the NeXT, cc -E runs the code through the compiler's parser,
   3976   # not just through cpp. "Syntax error" is here to catch this case.
   3977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3978 /* end confdefs.h.  */
   3979 #ifdef __STDC__
   3980 # include <limits.h>
   3981 #else
   3982 # include <assert.h>
   3983 #endif
   3984 		     Syntax error
   3985 _ACEOF
   3986 if ac_fn_c_try_cpp "$LINENO"; then :
   3987 
   3988 else
   3989   # Broken: fails on valid input.
   3990 continue
   3991 fi
   3992 rm -f conftest.err conftest.i conftest.$ac_ext
   3993 
   3994   # OK, works on sane cases.  Now check whether nonexistent headers
   3995   # can be detected and how.
   3996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3997 /* end confdefs.h.  */
   3998 #include <ac_nonexistent.h>
   3999 _ACEOF
   4000 if ac_fn_c_try_cpp "$LINENO"; then :
   4001   # Broken: success on invalid input.
   4002 continue
   4003 else
   4004   # Passes both tests.
   4005 ac_preproc_ok=:
   4006 break
   4007 fi
   4008 rm -f conftest.err conftest.i conftest.$ac_ext
   4009 
   4010 done
   4011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4012 rm -f conftest.i conftest.err conftest.$ac_ext
   4013 if $ac_preproc_ok; then :
   4014   break
   4015 fi
   4016 
   4017     done
   4018     ac_cv_prog_CPP=$CPP
   4019 
   4020 fi
   4021   CPP=$ac_cv_prog_CPP
   4022 else
   4023   ac_cv_prog_CPP=$CPP
   4024 fi
   4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4026 $as_echo "$CPP" >&6; }
   4027 ac_preproc_ok=false
   4028 for ac_c_preproc_warn_flag in '' yes
   4029 do
   4030   # Use a header file that comes with gcc, so configuring glibc
   4031   # with a fresh cross-compiler works.
   4032   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4033   # <limits.h> exists even on freestanding compilers.
   4034   # On the NeXT, cc -E runs the code through the compiler's parser,
   4035   # not just through cpp. "Syntax error" is here to catch this case.
   4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4037 /* end confdefs.h.  */
   4038 #ifdef __STDC__
   4039 # include <limits.h>
   4040 #else
   4041 # include <assert.h>
   4042 #endif
   4043 		     Syntax error
   4044 _ACEOF
   4045 if ac_fn_c_try_cpp "$LINENO"; then :
   4046 
   4047 else
   4048   # Broken: fails on valid input.
   4049 continue
   4050 fi
   4051 rm -f conftest.err conftest.i conftest.$ac_ext
   4052 
   4053   # OK, works on sane cases.  Now check whether nonexistent headers
   4054   # can be detected and how.
   4055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4056 /* end confdefs.h.  */
   4057 #include <ac_nonexistent.h>
   4058 _ACEOF
   4059 if ac_fn_c_try_cpp "$LINENO"; then :
   4060   # Broken: success on invalid input.
   4061 continue
   4062 else
   4063   # Passes both tests.
   4064 ac_preproc_ok=:
   4065 break
   4066 fi
   4067 rm -f conftest.err conftest.i conftest.$ac_ext
   4068 
   4069 done
   4070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4071 rm -f conftest.i conftest.err conftest.$ac_ext
   4072 if $ac_preproc_ok; then :
   4073 
   4074 else
   4075   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4077 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4078 See \`config.log' for more details" "$LINENO" 5; }
   4079 fi
   4080 
   4081 ac_ext=c
   4082 ac_cpp='$CPP $CPPFLAGS'
   4083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4086 
   4087 
   4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4090 if ${ac_cv_path_GREP+:} false; then :
   4091   $as_echo_n "(cached) " >&6
   4092 else
   4093   if test -z "$GREP"; then
   4094   ac_path_GREP_found=false
   4095   # Loop through the user's path and test for each of PROGNAME-LIST
   4096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4097 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4098 do
   4099   IFS=$as_save_IFS
   4100   test -z "$as_dir" && as_dir=.
   4101     for ac_prog in grep ggrep; do
   4102     for ac_exec_ext in '' $ac_executable_extensions; do
   4103       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4104       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4105 # Check for GNU ac_path_GREP and select it if it is found.
   4106   # Check for GNU $ac_path_GREP
   4107 case `"$ac_path_GREP" --version 2>&1` in
   4108 *GNU*)
   4109   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4110 *)
   4111   ac_count=0
   4112   $as_echo_n 0123456789 >"conftest.in"
   4113   while :
   4114   do
   4115     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4116     mv "conftest.tmp" "conftest.in"
   4117     cp "conftest.in" "conftest.nl"
   4118     $as_echo 'GREP' >> "conftest.nl"
   4119     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4120     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4121     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4122     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4123       # Best one so far, save it but keep looking for a better one
   4124       ac_cv_path_GREP="$ac_path_GREP"
   4125       ac_path_GREP_max=$ac_count
   4126     fi
   4127     # 10*(2^10) chars as input seems more than enough
   4128     test $ac_count -gt 10 && break
   4129   done
   4130   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4131 esac
   4132 
   4133       $ac_path_GREP_found && break 3
   4134     done
   4135   done
   4136   done
   4137 IFS=$as_save_IFS
   4138   if test -z "$ac_cv_path_GREP"; then
   4139     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4140   fi
   4141 else
   4142   ac_cv_path_GREP=$GREP
   4143 fi
   4144 
   4145 fi
   4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4147 $as_echo "$ac_cv_path_GREP" >&6; }
   4148  GREP="$ac_cv_path_GREP"
   4149 
   4150 
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4152 $as_echo_n "checking for egrep... " >&6; }
   4153 if ${ac_cv_path_EGREP+:} false; then :
   4154   $as_echo_n "(cached) " >&6
   4155 else
   4156   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4157    then ac_cv_path_EGREP="$GREP -E"
   4158    else
   4159      if test -z "$EGREP"; then
   4160   ac_path_EGREP_found=false
   4161   # Loop through the user's path and test for each of PROGNAME-LIST
   4162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4163 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4164 do
   4165   IFS=$as_save_IFS
   4166   test -z "$as_dir" && as_dir=.
   4167     for ac_prog in egrep; do
   4168     for ac_exec_ext in '' $ac_executable_extensions; do
   4169       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4170       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4171 # Check for GNU ac_path_EGREP and select it if it is found.
   4172   # Check for GNU $ac_path_EGREP
   4173 case `"$ac_path_EGREP" --version 2>&1` in
   4174 *GNU*)
   4175   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4176 *)
   4177   ac_count=0
   4178   $as_echo_n 0123456789 >"conftest.in"
   4179   while :
   4180   do
   4181     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4182     mv "conftest.tmp" "conftest.in"
   4183     cp "conftest.in" "conftest.nl"
   4184     $as_echo 'EGREP' >> "conftest.nl"
   4185     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4186     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4187     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4188     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4189       # Best one so far, save it but keep looking for a better one
   4190       ac_cv_path_EGREP="$ac_path_EGREP"
   4191       ac_path_EGREP_max=$ac_count
   4192     fi
   4193     # 10*(2^10) chars as input seems more than enough
   4194     test $ac_count -gt 10 && break
   4195   done
   4196   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4197 esac
   4198 
   4199       $ac_path_EGREP_found && break 3
   4200     done
   4201   done
   4202   done
   4203 IFS=$as_save_IFS
   4204   if test -z "$ac_cv_path_EGREP"; then
   4205     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4206   fi
   4207 else
   4208   ac_cv_path_EGREP=$EGREP
   4209 fi
   4210 
   4211    fi
   4212 fi
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4214 $as_echo "$ac_cv_path_EGREP" >&6; }
   4215  EGREP="$ac_cv_path_EGREP"
   4216 
   4217 
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4219 $as_echo_n "checking for ANSI C header files... " >&6; }
   4220 if ${ac_cv_header_stdc+:} false; then :
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4224 /* end confdefs.h.  */
   4225 #include <stdlib.h>
   4226 #include <stdarg.h>
   4227 #include <string.h>
   4228 #include <float.h>
   4229 
   4230 int
   4231 main ()
   4232 {
   4233 
   4234   ;
   4235   return 0;
   4236 }
   4237 _ACEOF
   4238 if ac_fn_c_try_compile "$LINENO"; then :
   4239   ac_cv_header_stdc=yes
   4240 else
   4241   ac_cv_header_stdc=no
   4242 fi
   4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4244 
   4245 if test $ac_cv_header_stdc = yes; then
   4246   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4248 /* end confdefs.h.  */
   4249 #include <string.h>
   4250 
   4251 _ACEOF
   4252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4253   $EGREP "memchr" >/dev/null 2>&1; then :
   4254 
   4255 else
   4256   ac_cv_header_stdc=no
   4257 fi
   4258 rm -f conftest*
   4259 
   4260 fi
   4261 
   4262 if test $ac_cv_header_stdc = yes; then
   4263   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 #include <stdlib.h>
   4267 
   4268 _ACEOF
   4269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4270   $EGREP "free" >/dev/null 2>&1; then :
   4271 
   4272 else
   4273   ac_cv_header_stdc=no
   4274 fi
   4275 rm -f conftest*
   4276 
   4277 fi
   4278 
   4279 if test $ac_cv_header_stdc = yes; then
   4280   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4281   if test "$cross_compiling" = yes; then :
   4282   :
   4283 else
   4284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4285 /* end confdefs.h.  */
   4286 #include <ctype.h>
   4287 #include <stdlib.h>
   4288 #if ((' ' & 0x0FF) == 0x020)
   4289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4291 #else
   4292 # define ISLOWER(c) \
   4293 		   (('a' <= (c) && (c) <= 'i') \
   4294 		     || ('j' <= (c) && (c) <= 'r') \
   4295 		     || ('s' <= (c) && (c) <= 'z'))
   4296 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4297 #endif
   4298 
   4299 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4300 int
   4301 main ()
   4302 {
   4303   int i;
   4304   for (i = 0; i < 256; i++)
   4305     if (XOR (islower (i), ISLOWER (i))
   4306 	|| toupper (i) != TOUPPER (i))
   4307       return 2;
   4308   return 0;
   4309 }
   4310 _ACEOF
   4311 if ac_fn_c_try_run "$LINENO"; then :
   4312 
   4313 else
   4314   ac_cv_header_stdc=no
   4315 fi
   4316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4317   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4318 fi
   4319 
   4320 fi
   4321 fi
   4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4323 $as_echo "$ac_cv_header_stdc" >&6; }
   4324 if test $ac_cv_header_stdc = yes; then
   4325 
   4326 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4327 
   4328 fi
   4329 
   4330 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4331 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4332 		  inttypes.h stdint.h unistd.h
   4333 do :
   4334   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4335 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4336 "
   4337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4338   cat >>confdefs.h <<_ACEOF
   4339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4340 _ACEOF
   4341 
   4342 fi
   4343 
   4344 done
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 
   4351 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4352 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4353   CLANGCC="yes"
   4354 else
   4355   CLANGCC="no"
   4356 fi
   4357 
   4358 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4359 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4360   INTELCC="yes"
   4361 else
   4362   INTELCC="no"
   4363 fi
   4364 
   4365 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4366 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4367   SUNCC="yes"
   4368 else
   4369   SUNCC="no"
   4370 fi
   4371 
   4372 
   4373 
   4374 
   4375 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4376 	if test -n "$ac_tool_prefix"; then
   4377   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4378 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4380 $as_echo_n "checking for $ac_word... " >&6; }
   4381 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4382   $as_echo_n "(cached) " >&6
   4383 else
   4384   case $PKG_CONFIG in
   4385   [\\/]* | ?:[\\/]*)
   4386   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4387   ;;
   4388   *)
   4389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4390 for as_dir in $PATH
   4391 do
   4392   IFS=$as_save_IFS
   4393   test -z "$as_dir" && as_dir=.
   4394     for ac_exec_ext in '' $ac_executable_extensions; do
   4395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4396     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4398     break 2
   4399   fi
   4400 done
   4401   done
   4402 IFS=$as_save_IFS
   4403 
   4404   ;;
   4405 esac
   4406 fi
   4407 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4408 if test -n "$PKG_CONFIG"; then
   4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4410 $as_echo "$PKG_CONFIG" >&6; }
   4411 else
   4412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4413 $as_echo "no" >&6; }
   4414 fi
   4415 
   4416 
   4417 fi
   4418 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4419   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4420   # Extract the first word of "pkg-config", so it can be a program name with args.
   4421 set dummy pkg-config; ac_word=$2
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4423 $as_echo_n "checking for $ac_word... " >&6; }
   4424 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   case $ac_pt_PKG_CONFIG in
   4428   [\\/]* | ?:[\\/]*)
   4429   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4430   ;;
   4431   *)
   4432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4433 for as_dir in $PATH
   4434 do
   4435   IFS=$as_save_IFS
   4436   test -z "$as_dir" && as_dir=.
   4437     for ac_exec_ext in '' $ac_executable_extensions; do
   4438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4439     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4441     break 2
   4442   fi
   4443 done
   4444   done
   4445 IFS=$as_save_IFS
   4446 
   4447   ;;
   4448 esac
   4449 fi
   4450 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4451 if test -n "$ac_pt_PKG_CONFIG"; then
   4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4453 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4454 else
   4455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4456 $as_echo "no" >&6; }
   4457 fi
   4458 
   4459   if test "x$ac_pt_PKG_CONFIG" = x; then
   4460     PKG_CONFIG=""
   4461   else
   4462     case $cross_compiling:$ac_tool_warned in
   4463 yes:)
   4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4466 ac_tool_warned=yes ;;
   4467 esac
   4468     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4469   fi
   4470 else
   4471   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4472 fi
   4473 
   4474 fi
   4475 if test -n "$PKG_CONFIG"; then
   4476 	_pkg_min_version=0.9.0
   4477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4478 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4479 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4481 $as_echo "yes" >&6; }
   4482 	else
   4483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4484 $as_echo "no" >&6; }
   4485 		PKG_CONFIG=""
   4486 	fi
   4487 
   4488 fi
   4489 # Make sure we can run config.sub.
   4490 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4491   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4492 
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4494 $as_echo_n "checking build system type... " >&6; }
   4495 if ${ac_cv_build+:} false; then :
   4496   $as_echo_n "(cached) " >&6
   4497 else
   4498   ac_build_alias=$build_alias
   4499 test "x$ac_build_alias" = x &&
   4500   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4501 test "x$ac_build_alias" = x &&
   4502   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4503 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4504   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4505 
   4506 fi
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4508 $as_echo "$ac_cv_build" >&6; }
   4509 case $ac_cv_build in
   4510 *-*-*) ;;
   4511 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4512 esac
   4513 build=$ac_cv_build
   4514 ac_save_IFS=$IFS; IFS='-'
   4515 set x $ac_cv_build
   4516 shift
   4517 build_cpu=$1
   4518 build_vendor=$2
   4519 shift; shift
   4520 # Remember, the first character of IFS is used to create $*,
   4521 # except with old shells:
   4522 build_os=$*
   4523 IFS=$ac_save_IFS
   4524 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4525 
   4526 
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4528 $as_echo_n "checking host system type... " >&6; }
   4529 if ${ac_cv_host+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   if test "x$host_alias" = x; then
   4533   ac_cv_host=$ac_cv_build
   4534 else
   4535   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4536     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4537 fi
   4538 
   4539 fi
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4541 $as_echo "$ac_cv_host" >&6; }
   4542 case $ac_cv_host in
   4543 *-*-*) ;;
   4544 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4545 esac
   4546 host=$ac_cv_host
   4547 ac_save_IFS=$IFS; IFS='-'
   4548 set x $ac_cv_host
   4549 shift
   4550 host_cpu=$1
   4551 host_vendor=$2
   4552 shift; shift
   4553 # Remember, the first character of IFS is used to create $*,
   4554 # except with old shells:
   4555 host_os=$*
   4556 IFS=$ac_save_IFS
   4557 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4558 
   4559 
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4561 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4562 if ${ac_cv_path_SED+:} false; then :
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4566      for ac_i in 1 2 3 4 5 6 7; do
   4567        ac_script="$ac_script$as_nl$ac_script"
   4568      done
   4569      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4570      { ac_script=; unset ac_script;}
   4571      if test -z "$SED"; then
   4572   ac_path_SED_found=false
   4573   # Loop through the user's path and test for each of PROGNAME-LIST
   4574   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4575 for as_dir in $PATH
   4576 do
   4577   IFS=$as_save_IFS
   4578   test -z "$as_dir" && as_dir=.
   4579     for ac_prog in sed gsed; do
   4580     for ac_exec_ext in '' $ac_executable_extensions; do
   4581       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4582       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4583 # Check for GNU ac_path_SED and select it if it is found.
   4584   # Check for GNU $ac_path_SED
   4585 case `"$ac_path_SED" --version 2>&1` in
   4586 *GNU*)
   4587   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4588 *)
   4589   ac_count=0
   4590   $as_echo_n 0123456789 >"conftest.in"
   4591   while :
   4592   do
   4593     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4594     mv "conftest.tmp" "conftest.in"
   4595     cp "conftest.in" "conftest.nl"
   4596     $as_echo '' >> "conftest.nl"
   4597     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4598     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4599     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4600     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4601       # Best one so far, save it but keep looking for a better one
   4602       ac_cv_path_SED="$ac_path_SED"
   4603       ac_path_SED_max=$ac_count
   4604     fi
   4605     # 10*(2^10) chars as input seems more than enough
   4606     test $ac_count -gt 10 && break
   4607   done
   4608   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4609 esac
   4610 
   4611       $ac_path_SED_found && break 3
   4612     done
   4613   done
   4614   done
   4615 IFS=$as_save_IFS
   4616   if test -z "$ac_cv_path_SED"; then
   4617     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4618   fi
   4619 else
   4620   ac_cv_path_SED=$SED
   4621 fi
   4622 
   4623 fi
   4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4625 $as_echo "$ac_cv_path_SED" >&6; }
   4626  SED="$ac_cv_path_SED"
   4627   rm -f conftest.sed
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 # Check whether --enable-selective-werror was given.
   4635 if test "${enable_selective_werror+set}" = set; then :
   4636   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4637 else
   4638   SELECTIVE_WERROR=yes
   4639 fi
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4646 if test "x$SUNCC" = "xyes"; then
   4647     BASE_CFLAGS="-v"
   4648 else
   4649     BASE_CFLAGS=""
   4650 fi
   4651 
   4652 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4653 
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 xorg_testset_save_CFLAGS="$CFLAGS"
   4667 
   4668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4671 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4672 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4676 /* end confdefs.h.  */
   4677 int i;
   4678 _ACEOF
   4679 if ac_fn_c_try_compile "$LINENO"; then :
   4680   xorg_cv_cc_flag_unknown_warning_option=yes
   4681 else
   4682   xorg_cv_cc_flag_unknown_warning_option=no
   4683 fi
   4684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4685 fi
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4687 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4689 	CFLAGS="$xorg_testset_save_CFLAGS"
   4690 fi
   4691 
   4692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4695 	fi
   4696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4698 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4699 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4700   $as_echo_n "(cached) " >&6
   4701 else
   4702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4703 /* end confdefs.h.  */
   4704 int i;
   4705 _ACEOF
   4706 if ac_fn_c_try_compile "$LINENO"; then :
   4707   xorg_cv_cc_flag_unused_command_line_argument=yes
   4708 else
   4709   xorg_cv_cc_flag_unused_command_line_argument=no
   4710 fi
   4711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4712 fi
   4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4714 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4716 	CFLAGS="$xorg_testset_save_CFLAGS"
   4717 fi
   4718 
   4719 found="no"
   4720 
   4721 	if test $found = "no" ; then
   4722 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4724 		fi
   4725 
   4726 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4728 		fi
   4729 
   4730 		CFLAGS="$CFLAGS -Wall"
   4731 
   4732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4733 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4734 		cacheid=xorg_cv_cc_flag__Wall
   4735 		if eval \${$cacheid+:} false; then :
   4736   $as_echo_n "(cached) " >&6
   4737 else
   4738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 int i;
   4741 int
   4742 main ()
   4743 {
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_link "$LINENO"; then :
   4750   eval $cacheid=yes
   4751 else
   4752   eval $cacheid=no
   4753 fi
   4754 rm -f core conftest.err conftest.$ac_objext \
   4755     conftest$ac_exeext conftest.$ac_ext
   4756 fi
   4757 
   4758 
   4759 		CFLAGS="$xorg_testset_save_CFLAGS"
   4760 
   4761 		eval supported=\$$cacheid
   4762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4763 $as_echo "$supported" >&6; }
   4764 		if test "$supported" = "yes" ; then
   4765 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4766 			found="yes"
   4767 		fi
   4768 	fi
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 xorg_testset_save_CFLAGS="$CFLAGS"
   4785 
   4786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4789 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4790 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4791   $as_echo_n "(cached) " >&6
   4792 else
   4793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4794 /* end confdefs.h.  */
   4795 int i;
   4796 _ACEOF
   4797 if ac_fn_c_try_compile "$LINENO"; then :
   4798   xorg_cv_cc_flag_unknown_warning_option=yes
   4799 else
   4800   xorg_cv_cc_flag_unknown_warning_option=no
   4801 fi
   4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4803 fi
   4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4805 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4807 	CFLAGS="$xorg_testset_save_CFLAGS"
   4808 fi
   4809 
   4810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4813 	fi
   4814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4816 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4817 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4818   $as_echo_n "(cached) " >&6
   4819 else
   4820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4821 /* end confdefs.h.  */
   4822 int i;
   4823 _ACEOF
   4824 if ac_fn_c_try_compile "$LINENO"; then :
   4825   xorg_cv_cc_flag_unused_command_line_argument=yes
   4826 else
   4827   xorg_cv_cc_flag_unused_command_line_argument=no
   4828 fi
   4829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4830 fi
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4832 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4833 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4834 	CFLAGS="$xorg_testset_save_CFLAGS"
   4835 fi
   4836 
   4837 found="no"
   4838 
   4839 	if test $found = "no" ; then
   4840 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4842 		fi
   4843 
   4844 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4846 		fi
   4847 
   4848 		CFLAGS="$CFLAGS -Wpointer-arith"
   4849 
   4850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4851 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4852 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4853 		if eval \${$cacheid+:} false; then :
   4854   $as_echo_n "(cached) " >&6
   4855 else
   4856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4857 /* end confdefs.h.  */
   4858 int i;
   4859 int
   4860 main ()
   4861 {
   4862 
   4863   ;
   4864   return 0;
   4865 }
   4866 _ACEOF
   4867 if ac_fn_c_try_link "$LINENO"; then :
   4868   eval $cacheid=yes
   4869 else
   4870   eval $cacheid=no
   4871 fi
   4872 rm -f core conftest.err conftest.$ac_objext \
   4873     conftest$ac_exeext conftest.$ac_ext
   4874 fi
   4875 
   4876 
   4877 		CFLAGS="$xorg_testset_save_CFLAGS"
   4878 
   4879 		eval supported=\$$cacheid
   4880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4881 $as_echo "$supported" >&6; }
   4882 		if test "$supported" = "yes" ; then
   4883 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4884 			found="yes"
   4885 		fi
   4886 	fi
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 xorg_testset_save_CFLAGS="$CFLAGS"
   4903 
   4904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4907 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4908 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4909   $as_echo_n "(cached) " >&6
   4910 else
   4911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4912 /* end confdefs.h.  */
   4913 int i;
   4914 _ACEOF
   4915 if ac_fn_c_try_compile "$LINENO"; then :
   4916   xorg_cv_cc_flag_unknown_warning_option=yes
   4917 else
   4918   xorg_cv_cc_flag_unknown_warning_option=no
   4919 fi
   4920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4921 fi
   4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4923 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4925 	CFLAGS="$xorg_testset_save_CFLAGS"
   4926 fi
   4927 
   4928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4931 	fi
   4932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4934 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4935 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4936   $as_echo_n "(cached) " >&6
   4937 else
   4938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4939 /* end confdefs.h.  */
   4940 int i;
   4941 _ACEOF
   4942 if ac_fn_c_try_compile "$LINENO"; then :
   4943   xorg_cv_cc_flag_unused_command_line_argument=yes
   4944 else
   4945   xorg_cv_cc_flag_unused_command_line_argument=no
   4946 fi
   4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4948 fi
   4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4950 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4952 	CFLAGS="$xorg_testset_save_CFLAGS"
   4953 fi
   4954 
   4955 found="no"
   4956 
   4957 	if test $found = "no" ; then
   4958 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4960 		fi
   4961 
   4962 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4964 		fi
   4965 
   4966 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4967 
   4968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4969 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4970 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4971 		if eval \${$cacheid+:} false; then :
   4972   $as_echo_n "(cached) " >&6
   4973 else
   4974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4975 /* end confdefs.h.  */
   4976 int i;
   4977 int
   4978 main ()
   4979 {
   4980 
   4981   ;
   4982   return 0;
   4983 }
   4984 _ACEOF
   4985 if ac_fn_c_try_link "$LINENO"; then :
   4986   eval $cacheid=yes
   4987 else
   4988   eval $cacheid=no
   4989 fi
   4990 rm -f core conftest.err conftest.$ac_objext \
   4991     conftest$ac_exeext conftest.$ac_ext
   4992 fi
   4993 
   4994 
   4995 		CFLAGS="$xorg_testset_save_CFLAGS"
   4996 
   4997 		eval supported=\$$cacheid
   4998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4999 $as_echo "$supported" >&6; }
   5000 		if test "$supported" = "yes" ; then
   5001 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5002 			found="yes"
   5003 		fi
   5004 	fi
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 xorg_testset_save_CFLAGS="$CFLAGS"
   5021 
   5022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5025 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5026 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5027   $as_echo_n "(cached) " >&6
   5028 else
   5029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5030 /* end confdefs.h.  */
   5031 int i;
   5032 _ACEOF
   5033 if ac_fn_c_try_compile "$LINENO"; then :
   5034   xorg_cv_cc_flag_unknown_warning_option=yes
   5035 else
   5036   xorg_cv_cc_flag_unknown_warning_option=no
   5037 fi
   5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5039 fi
   5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5041 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5042 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5043 	CFLAGS="$xorg_testset_save_CFLAGS"
   5044 fi
   5045 
   5046 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5047 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5048 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 	fi
   5050 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5052 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5053 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5054   $as_echo_n "(cached) " >&6
   5055 else
   5056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5057 /* end confdefs.h.  */
   5058 int i;
   5059 _ACEOF
   5060 if ac_fn_c_try_compile "$LINENO"; then :
   5061   xorg_cv_cc_flag_unused_command_line_argument=yes
   5062 else
   5063   xorg_cv_cc_flag_unused_command_line_argument=no
   5064 fi
   5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5066 fi
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5068 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5069 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5070 	CFLAGS="$xorg_testset_save_CFLAGS"
   5071 fi
   5072 
   5073 found="no"
   5074 
   5075 	if test $found = "no" ; then
   5076 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5078 		fi
   5079 
   5080 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5082 		fi
   5083 
   5084 		CFLAGS="$CFLAGS -Wformat=2"
   5085 
   5086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5087 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5088 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5089 		if eval \${$cacheid+:} false; then :
   5090   $as_echo_n "(cached) " >&6
   5091 else
   5092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5093 /* end confdefs.h.  */
   5094 int i;
   5095 int
   5096 main ()
   5097 {
   5098 
   5099   ;
   5100   return 0;
   5101 }
   5102 _ACEOF
   5103 if ac_fn_c_try_link "$LINENO"; then :
   5104   eval $cacheid=yes
   5105 else
   5106   eval $cacheid=no
   5107 fi
   5108 rm -f core conftest.err conftest.$ac_objext \
   5109     conftest$ac_exeext conftest.$ac_ext
   5110 fi
   5111 
   5112 
   5113 		CFLAGS="$xorg_testset_save_CFLAGS"
   5114 
   5115 		eval supported=\$$cacheid
   5116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5117 $as_echo "$supported" >&6; }
   5118 		if test "$supported" = "yes" ; then
   5119 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5120 			found="yes"
   5121 		fi
   5122 	fi
   5123 
   5124 	if test $found = "no" ; then
   5125 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5127 		fi
   5128 
   5129 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5131 		fi
   5132 
   5133 		CFLAGS="$CFLAGS -Wformat"
   5134 
   5135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5136 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5137 		cacheid=xorg_cv_cc_flag__Wformat
   5138 		if eval \${$cacheid+:} false; then :
   5139   $as_echo_n "(cached) " >&6
   5140 else
   5141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5142 /* end confdefs.h.  */
   5143 int i;
   5144 int
   5145 main ()
   5146 {
   5147 
   5148   ;
   5149   return 0;
   5150 }
   5151 _ACEOF
   5152 if ac_fn_c_try_link "$LINENO"; then :
   5153   eval $cacheid=yes
   5154 else
   5155   eval $cacheid=no
   5156 fi
   5157 rm -f core conftest.err conftest.$ac_objext \
   5158     conftest$ac_exeext conftest.$ac_ext
   5159 fi
   5160 
   5161 
   5162 		CFLAGS="$xorg_testset_save_CFLAGS"
   5163 
   5164 		eval supported=\$$cacheid
   5165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5166 $as_echo "$supported" >&6; }
   5167 		if test "$supported" = "yes" ; then
   5168 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5169 			found="yes"
   5170 		fi
   5171 	fi
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 xorg_testset_save_CFLAGS="$CFLAGS"
   5190 
   5191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 int i;
   5201 _ACEOF
   5202 if ac_fn_c_try_compile "$LINENO"; then :
   5203   xorg_cv_cc_flag_unknown_warning_option=yes
   5204 else
   5205   xorg_cv_cc_flag_unknown_warning_option=no
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5208 fi
   5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5212 	CFLAGS="$xorg_testset_save_CFLAGS"
   5213 fi
   5214 
   5215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5218 	fi
   5219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 int i;
   5228 _ACEOF
   5229 if ac_fn_c_try_compile "$LINENO"; then :
   5230   xorg_cv_cc_flag_unused_command_line_argument=yes
   5231 else
   5232   xorg_cv_cc_flag_unused_command_line_argument=no
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5235 fi
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5239 	CFLAGS="$xorg_testset_save_CFLAGS"
   5240 fi
   5241 
   5242 found="no"
   5243 
   5244 	if test $found = "no" ; then
   5245 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5247 		fi
   5248 
   5249 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5251 		fi
   5252 
   5253 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5254 
   5255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5256 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5257 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5258 		if eval \${$cacheid+:} false; then :
   5259   $as_echo_n "(cached) " >&6
   5260 else
   5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5262 /* end confdefs.h.  */
   5263 int i;
   5264 int
   5265 main ()
   5266 {
   5267 
   5268   ;
   5269   return 0;
   5270 }
   5271 _ACEOF
   5272 if ac_fn_c_try_link "$LINENO"; then :
   5273   eval $cacheid=yes
   5274 else
   5275   eval $cacheid=no
   5276 fi
   5277 rm -f core conftest.err conftest.$ac_objext \
   5278     conftest$ac_exeext conftest.$ac_ext
   5279 fi
   5280 
   5281 
   5282 		CFLAGS="$xorg_testset_save_CFLAGS"
   5283 
   5284 		eval supported=\$$cacheid
   5285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5286 $as_echo "$supported" >&6; }
   5287 		if test "$supported" = "yes" ; then
   5288 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5289 			found="yes"
   5290 		fi
   5291 	fi
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 xorg_testset_save_CFLAGS="$CFLAGS"
   5308 
   5309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 int i;
   5319 _ACEOF
   5320 if ac_fn_c_try_compile "$LINENO"; then :
   5321   xorg_cv_cc_flag_unknown_warning_option=yes
   5322 else
   5323   xorg_cv_cc_flag_unknown_warning_option=no
   5324 fi
   5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5326 fi
   5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5330 	CFLAGS="$xorg_testset_save_CFLAGS"
   5331 fi
   5332 
   5333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5336 	fi
   5337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5344 /* end confdefs.h.  */
   5345 int i;
   5346 _ACEOF
   5347 if ac_fn_c_try_compile "$LINENO"; then :
   5348   xorg_cv_cc_flag_unused_command_line_argument=yes
   5349 else
   5350   xorg_cv_cc_flag_unused_command_line_argument=no
   5351 fi
   5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5353 fi
   5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5357 	CFLAGS="$xorg_testset_save_CFLAGS"
   5358 fi
   5359 
   5360 found="no"
   5361 
   5362 	if test $found = "no" ; then
   5363 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5365 		fi
   5366 
   5367 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5369 		fi
   5370 
   5371 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5372 
   5373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5374 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5375 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5376 		if eval \${$cacheid+:} false; then :
   5377   $as_echo_n "(cached) " >&6
   5378 else
   5379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5380 /* end confdefs.h.  */
   5381 int i;
   5382 int
   5383 main ()
   5384 {
   5385 
   5386   ;
   5387   return 0;
   5388 }
   5389 _ACEOF
   5390 if ac_fn_c_try_link "$LINENO"; then :
   5391   eval $cacheid=yes
   5392 else
   5393   eval $cacheid=no
   5394 fi
   5395 rm -f core conftest.err conftest.$ac_objext \
   5396     conftest$ac_exeext conftest.$ac_ext
   5397 fi
   5398 
   5399 
   5400 		CFLAGS="$xorg_testset_save_CFLAGS"
   5401 
   5402 		eval supported=\$$cacheid
   5403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5404 $as_echo "$supported" >&6; }
   5405 		if test "$supported" = "yes" ; then
   5406 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5407 			found="yes"
   5408 		fi
   5409 	fi
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 xorg_testset_save_CFLAGS="$CFLAGS"
   5426 
   5427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"; then :
   5439   xorg_cv_cc_flag_unknown_warning_option=yes
   5440 else
   5441   xorg_cv_cc_flag_unknown_warning_option=no
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5444 fi
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5448 	CFLAGS="$xorg_testset_save_CFLAGS"
   5449 fi
   5450 
   5451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	fi
   5455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 _ACEOF
   5465 if ac_fn_c_try_compile "$LINENO"; then :
   5466   xorg_cv_cc_flag_unused_command_line_argument=yes
   5467 else
   5468   xorg_cv_cc_flag_unused_command_line_argument=no
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5471 fi
   5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5475 	CFLAGS="$xorg_testset_save_CFLAGS"
   5476 fi
   5477 
   5478 found="no"
   5479 
   5480 	if test $found = "no" ; then
   5481 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5483 		fi
   5484 
   5485 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5487 		fi
   5488 
   5489 		CFLAGS="$CFLAGS -Wnested-externs"
   5490 
   5491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5492 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5493 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5494 		if eval \${$cacheid+:} false; then :
   5495   $as_echo_n "(cached) " >&6
   5496 else
   5497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5498 /* end confdefs.h.  */
   5499 int i;
   5500 int
   5501 main ()
   5502 {
   5503 
   5504   ;
   5505   return 0;
   5506 }
   5507 _ACEOF
   5508 if ac_fn_c_try_link "$LINENO"; then :
   5509   eval $cacheid=yes
   5510 else
   5511   eval $cacheid=no
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext \
   5514     conftest$ac_exeext conftest.$ac_ext
   5515 fi
   5516 
   5517 
   5518 		CFLAGS="$xorg_testset_save_CFLAGS"
   5519 
   5520 		eval supported=\$$cacheid
   5521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5522 $as_echo "$supported" >&6; }
   5523 		if test "$supported" = "yes" ; then
   5524 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5525 			found="yes"
   5526 		fi
   5527 	fi
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 xorg_testset_save_CFLAGS="$CFLAGS"
   5544 
   5545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 int i;
   5555 _ACEOF
   5556 if ac_fn_c_try_compile "$LINENO"; then :
   5557   xorg_cv_cc_flag_unknown_warning_option=yes
   5558 else
   5559   xorg_cv_cc_flag_unknown_warning_option=no
   5560 fi
   5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5562 fi
   5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5566 	CFLAGS="$xorg_testset_save_CFLAGS"
   5567 fi
   5568 
   5569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 	fi
   5573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5580 /* end confdefs.h.  */
   5581 int i;
   5582 _ACEOF
   5583 if ac_fn_c_try_compile "$LINENO"; then :
   5584   xorg_cv_cc_flag_unused_command_line_argument=yes
   5585 else
   5586   xorg_cv_cc_flag_unused_command_line_argument=no
   5587 fi
   5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5589 fi
   5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5593 	CFLAGS="$xorg_testset_save_CFLAGS"
   5594 fi
   5595 
   5596 found="no"
   5597 
   5598 	if test $found = "no" ; then
   5599 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5601 		fi
   5602 
   5603 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5605 		fi
   5606 
   5607 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5608 
   5609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5610 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5611 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5612 		if eval \${$cacheid+:} false; then :
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5616 /* end confdefs.h.  */
   5617 int i;
   5618 int
   5619 main ()
   5620 {
   5621 
   5622   ;
   5623   return 0;
   5624 }
   5625 _ACEOF
   5626 if ac_fn_c_try_link "$LINENO"; then :
   5627   eval $cacheid=yes
   5628 else
   5629   eval $cacheid=no
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext \
   5632     conftest$ac_exeext conftest.$ac_ext
   5633 fi
   5634 
   5635 
   5636 		CFLAGS="$xorg_testset_save_CFLAGS"
   5637 
   5638 		eval supported=\$$cacheid
   5639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5640 $as_echo "$supported" >&6; }
   5641 		if test "$supported" = "yes" ; then
   5642 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5643 			found="yes"
   5644 		fi
   5645 	fi
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 xorg_testset_save_CFLAGS="$CFLAGS"
   5662 
   5663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5668   $as_echo_n "(cached) " >&6
   5669 else
   5670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5671 /* end confdefs.h.  */
   5672 int i;
   5673 _ACEOF
   5674 if ac_fn_c_try_compile "$LINENO"; then :
   5675   xorg_cv_cc_flag_unknown_warning_option=yes
   5676 else
   5677   xorg_cv_cc_flag_unknown_warning_option=no
   5678 fi
   5679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5680 fi
   5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5684 	CFLAGS="$xorg_testset_save_CFLAGS"
   5685 fi
   5686 
   5687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 	fi
   5691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5695   $as_echo_n "(cached) " >&6
   5696 else
   5697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5698 /* end confdefs.h.  */
   5699 int i;
   5700 _ACEOF
   5701 if ac_fn_c_try_compile "$LINENO"; then :
   5702   xorg_cv_cc_flag_unused_command_line_argument=yes
   5703 else
   5704   xorg_cv_cc_flag_unused_command_line_argument=no
   5705 fi
   5706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5707 fi
   5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5711 	CFLAGS="$xorg_testset_save_CFLAGS"
   5712 fi
   5713 
   5714 found="no"
   5715 
   5716 	if test $found = "no" ; then
   5717 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5719 		fi
   5720 
   5721 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5723 		fi
   5724 
   5725 		CFLAGS="$CFLAGS -Wold-style-definition"
   5726 
   5727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5728 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5729 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5730 		if eval \${$cacheid+:} false; then :
   5731   $as_echo_n "(cached) " >&6
   5732 else
   5733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5734 /* end confdefs.h.  */
   5735 int i;
   5736 int
   5737 main ()
   5738 {
   5739 
   5740   ;
   5741   return 0;
   5742 }
   5743 _ACEOF
   5744 if ac_fn_c_try_link "$LINENO"; then :
   5745   eval $cacheid=yes
   5746 else
   5747   eval $cacheid=no
   5748 fi
   5749 rm -f core conftest.err conftest.$ac_objext \
   5750     conftest$ac_exeext conftest.$ac_ext
   5751 fi
   5752 
   5753 
   5754 		CFLAGS="$xorg_testset_save_CFLAGS"
   5755 
   5756 		eval supported=\$$cacheid
   5757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5758 $as_echo "$supported" >&6; }
   5759 		if test "$supported" = "yes" ; then
   5760 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5761 			found="yes"
   5762 		fi
   5763 	fi
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 xorg_testset_save_CFLAGS="$CFLAGS"
   5780 
   5781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5785 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5786   $as_echo_n "(cached) " >&6
   5787 else
   5788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5789 /* end confdefs.h.  */
   5790 int i;
   5791 _ACEOF
   5792 if ac_fn_c_try_compile "$LINENO"; then :
   5793   xorg_cv_cc_flag_unknown_warning_option=yes
   5794 else
   5795   xorg_cv_cc_flag_unknown_warning_option=no
   5796 fi
   5797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5798 fi
   5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5800 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5802 	CFLAGS="$xorg_testset_save_CFLAGS"
   5803 fi
   5804 
   5805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 	fi
   5809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5811 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5812 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5813   $as_echo_n "(cached) " >&6
   5814 else
   5815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5816 /* end confdefs.h.  */
   5817 int i;
   5818 _ACEOF
   5819 if ac_fn_c_try_compile "$LINENO"; then :
   5820   xorg_cv_cc_flag_unused_command_line_argument=yes
   5821 else
   5822   xorg_cv_cc_flag_unused_command_line_argument=no
   5823 fi
   5824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5825 fi
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5827 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5829 	CFLAGS="$xorg_testset_save_CFLAGS"
   5830 fi
   5831 
   5832 found="no"
   5833 
   5834 	if test $found = "no" ; then
   5835 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5837 		fi
   5838 
   5839 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5841 		fi
   5842 
   5843 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5844 
   5845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5846 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5847 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5848 		if eval \${$cacheid+:} false; then :
   5849   $as_echo_n "(cached) " >&6
   5850 else
   5851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5852 /* end confdefs.h.  */
   5853 int i;
   5854 int
   5855 main ()
   5856 {
   5857 
   5858   ;
   5859   return 0;
   5860 }
   5861 _ACEOF
   5862 if ac_fn_c_try_link "$LINENO"; then :
   5863   eval $cacheid=yes
   5864 else
   5865   eval $cacheid=no
   5866 fi
   5867 rm -f core conftest.err conftest.$ac_objext \
   5868     conftest$ac_exeext conftest.$ac_ext
   5869 fi
   5870 
   5871 
   5872 		CFLAGS="$xorg_testset_save_CFLAGS"
   5873 
   5874 		eval supported=\$$cacheid
   5875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5876 $as_echo "$supported" >&6; }
   5877 		if test "$supported" = "yes" ; then
   5878 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5879 			found="yes"
   5880 		fi
   5881 	fi
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 # This chunk adds additional warnings that could catch undesired effects.
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 xorg_testset_save_CFLAGS="$CFLAGS"
   5902 
   5903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5911 /* end confdefs.h.  */
   5912 int i;
   5913 _ACEOF
   5914 if ac_fn_c_try_compile "$LINENO"; then :
   5915   xorg_cv_cc_flag_unknown_warning_option=yes
   5916 else
   5917   xorg_cv_cc_flag_unknown_warning_option=no
   5918 fi
   5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5920 fi
   5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5924 	CFLAGS="$xorg_testset_save_CFLAGS"
   5925 fi
   5926 
   5927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5930 	fi
   5931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5935   $as_echo_n "(cached) " >&6
   5936 else
   5937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5938 /* end confdefs.h.  */
   5939 int i;
   5940 _ACEOF
   5941 if ac_fn_c_try_compile "$LINENO"; then :
   5942   xorg_cv_cc_flag_unused_command_line_argument=yes
   5943 else
   5944   xorg_cv_cc_flag_unused_command_line_argument=no
   5945 fi
   5946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5947 fi
   5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5951 	CFLAGS="$xorg_testset_save_CFLAGS"
   5952 fi
   5953 
   5954 found="no"
   5955 
   5956 	if test $found = "no" ; then
   5957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 		fi
   5960 
   5961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5963 		fi
   5964 
   5965 		CFLAGS="$CFLAGS -Wunused"
   5966 
   5967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5968 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5969 		cacheid=xorg_cv_cc_flag__Wunused
   5970 		if eval \${$cacheid+:} false; then :
   5971   $as_echo_n "(cached) " >&6
   5972 else
   5973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5974 /* end confdefs.h.  */
   5975 int i;
   5976 int
   5977 main ()
   5978 {
   5979 
   5980   ;
   5981   return 0;
   5982 }
   5983 _ACEOF
   5984 if ac_fn_c_try_link "$LINENO"; then :
   5985   eval $cacheid=yes
   5986 else
   5987   eval $cacheid=no
   5988 fi
   5989 rm -f core conftest.err conftest.$ac_objext \
   5990     conftest$ac_exeext conftest.$ac_ext
   5991 fi
   5992 
   5993 
   5994 		CFLAGS="$xorg_testset_save_CFLAGS"
   5995 
   5996 		eval supported=\$$cacheid
   5997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5998 $as_echo "$supported" >&6; }
   5999 		if test "$supported" = "yes" ; then
   6000 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6001 			found="yes"
   6002 		fi
   6003 	fi
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 xorg_testset_save_CFLAGS="$CFLAGS"
   6020 
   6021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 int i;
   6031 _ACEOF
   6032 if ac_fn_c_try_compile "$LINENO"; then :
   6033   xorg_cv_cc_flag_unknown_warning_option=yes
   6034 else
   6035   xorg_cv_cc_flag_unknown_warning_option=no
   6036 fi
   6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6038 fi
   6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6042 	CFLAGS="$xorg_testset_save_CFLAGS"
   6043 fi
   6044 
   6045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6048 	fi
   6049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6056 /* end confdefs.h.  */
   6057 int i;
   6058 _ACEOF
   6059 if ac_fn_c_try_compile "$LINENO"; then :
   6060   xorg_cv_cc_flag_unused_command_line_argument=yes
   6061 else
   6062   xorg_cv_cc_flag_unused_command_line_argument=no
   6063 fi
   6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6069 	CFLAGS="$xorg_testset_save_CFLAGS"
   6070 fi
   6071 
   6072 found="no"
   6073 
   6074 	if test $found = "no" ; then
   6075 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 		fi
   6078 
   6079 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6081 		fi
   6082 
   6083 		CFLAGS="$CFLAGS -Wuninitialized"
   6084 
   6085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6086 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6087 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6088 		if eval \${$cacheid+:} false; then :
   6089   $as_echo_n "(cached) " >&6
   6090 else
   6091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6092 /* end confdefs.h.  */
   6093 int i;
   6094 int
   6095 main ()
   6096 {
   6097 
   6098   ;
   6099   return 0;
   6100 }
   6101 _ACEOF
   6102 if ac_fn_c_try_link "$LINENO"; then :
   6103   eval $cacheid=yes
   6104 else
   6105   eval $cacheid=no
   6106 fi
   6107 rm -f core conftest.err conftest.$ac_objext \
   6108     conftest$ac_exeext conftest.$ac_ext
   6109 fi
   6110 
   6111 
   6112 		CFLAGS="$xorg_testset_save_CFLAGS"
   6113 
   6114 		eval supported=\$$cacheid
   6115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6116 $as_echo "$supported" >&6; }
   6117 		if test "$supported" = "yes" ; then
   6118 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6119 			found="yes"
   6120 		fi
   6121 	fi
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 xorg_testset_save_CFLAGS="$CFLAGS"
   6138 
   6139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6144   $as_echo_n "(cached) " >&6
   6145 else
   6146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6147 /* end confdefs.h.  */
   6148 int i;
   6149 _ACEOF
   6150 if ac_fn_c_try_compile "$LINENO"; then :
   6151   xorg_cv_cc_flag_unknown_warning_option=yes
   6152 else
   6153   xorg_cv_cc_flag_unknown_warning_option=no
   6154 fi
   6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6156 fi
   6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6160 	CFLAGS="$xorg_testset_save_CFLAGS"
   6161 fi
   6162 
   6163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6166 	fi
   6167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6171   $as_echo_n "(cached) " >&6
   6172 else
   6173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6174 /* end confdefs.h.  */
   6175 int i;
   6176 _ACEOF
   6177 if ac_fn_c_try_compile "$LINENO"; then :
   6178   xorg_cv_cc_flag_unused_command_line_argument=yes
   6179 else
   6180   xorg_cv_cc_flag_unused_command_line_argument=no
   6181 fi
   6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6183 fi
   6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6187 	CFLAGS="$xorg_testset_save_CFLAGS"
   6188 fi
   6189 
   6190 found="no"
   6191 
   6192 	if test $found = "no" ; then
   6193 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6195 		fi
   6196 
   6197 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6199 		fi
   6200 
   6201 		CFLAGS="$CFLAGS -Wshadow"
   6202 
   6203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6204 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6205 		cacheid=xorg_cv_cc_flag__Wshadow
   6206 		if eval \${$cacheid+:} false; then :
   6207   $as_echo_n "(cached) " >&6
   6208 else
   6209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 int
   6213 main ()
   6214 {
   6215 
   6216   ;
   6217   return 0;
   6218 }
   6219 _ACEOF
   6220 if ac_fn_c_try_link "$LINENO"; then :
   6221   eval $cacheid=yes
   6222 else
   6223   eval $cacheid=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext \
   6226     conftest$ac_exeext conftest.$ac_ext
   6227 fi
   6228 
   6229 
   6230 		CFLAGS="$xorg_testset_save_CFLAGS"
   6231 
   6232 		eval supported=\$$cacheid
   6233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6234 $as_echo "$supported" >&6; }
   6235 		if test "$supported" = "yes" ; then
   6236 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6237 			found="yes"
   6238 		fi
   6239 	fi
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 xorg_testset_save_CFLAGS="$CFLAGS"
   6256 
   6257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6265 /* end confdefs.h.  */
   6266 int i;
   6267 _ACEOF
   6268 if ac_fn_c_try_compile "$LINENO"; then :
   6269   xorg_cv_cc_flag_unknown_warning_option=yes
   6270 else
   6271   xorg_cv_cc_flag_unknown_warning_option=no
   6272 fi
   6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6274 fi
   6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6278 	CFLAGS="$xorg_testset_save_CFLAGS"
   6279 fi
   6280 
   6281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6284 	fi
   6285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6289   $as_echo_n "(cached) " >&6
   6290 else
   6291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 int i;
   6294 _ACEOF
   6295 if ac_fn_c_try_compile "$LINENO"; then :
   6296   xorg_cv_cc_flag_unused_command_line_argument=yes
   6297 else
   6298   xorg_cv_cc_flag_unused_command_line_argument=no
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6301 fi
   6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6305 	CFLAGS="$xorg_testset_save_CFLAGS"
   6306 fi
   6307 
   6308 found="no"
   6309 
   6310 	if test $found = "no" ; then
   6311 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6313 		fi
   6314 
   6315 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6317 		fi
   6318 
   6319 		CFLAGS="$CFLAGS -Wcast-qual"
   6320 
   6321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6322 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6323 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6324 		if eval \${$cacheid+:} false; then :
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6328 /* end confdefs.h.  */
   6329 int i;
   6330 int
   6331 main ()
   6332 {
   6333 
   6334   ;
   6335   return 0;
   6336 }
   6337 _ACEOF
   6338 if ac_fn_c_try_link "$LINENO"; then :
   6339   eval $cacheid=yes
   6340 else
   6341   eval $cacheid=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext \
   6344     conftest$ac_exeext conftest.$ac_ext
   6345 fi
   6346 
   6347 
   6348 		CFLAGS="$xorg_testset_save_CFLAGS"
   6349 
   6350 		eval supported=\$$cacheid
   6351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6352 $as_echo "$supported" >&6; }
   6353 		if test "$supported" = "yes" ; then
   6354 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6355 			found="yes"
   6356 		fi
   6357 	fi
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 xorg_testset_save_CFLAGS="$CFLAGS"
   6374 
   6375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6378 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6379 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6380   $as_echo_n "(cached) " >&6
   6381 else
   6382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6383 /* end confdefs.h.  */
   6384 int i;
   6385 _ACEOF
   6386 if ac_fn_c_try_compile "$LINENO"; then :
   6387   xorg_cv_cc_flag_unknown_warning_option=yes
   6388 else
   6389   xorg_cv_cc_flag_unknown_warning_option=no
   6390 fi
   6391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6392 fi
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6394 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6396 	CFLAGS="$xorg_testset_save_CFLAGS"
   6397 fi
   6398 
   6399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6402 	fi
   6403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6405 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6406 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6407   $as_echo_n "(cached) " >&6
   6408 else
   6409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6410 /* end confdefs.h.  */
   6411 int i;
   6412 _ACEOF
   6413 if ac_fn_c_try_compile "$LINENO"; then :
   6414   xorg_cv_cc_flag_unused_command_line_argument=yes
   6415 else
   6416   xorg_cv_cc_flag_unused_command_line_argument=no
   6417 fi
   6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6419 fi
   6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6421 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6423 	CFLAGS="$xorg_testset_save_CFLAGS"
   6424 fi
   6425 
   6426 found="no"
   6427 
   6428 	if test $found = "no" ; then
   6429 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6431 		fi
   6432 
   6433 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6435 		fi
   6436 
   6437 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6438 
   6439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6440 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6441 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6442 		if eval \${$cacheid+:} false; then :
   6443   $as_echo_n "(cached) " >&6
   6444 else
   6445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6446 /* end confdefs.h.  */
   6447 int i;
   6448 int
   6449 main ()
   6450 {
   6451 
   6452   ;
   6453   return 0;
   6454 }
   6455 _ACEOF
   6456 if ac_fn_c_try_link "$LINENO"; then :
   6457   eval $cacheid=yes
   6458 else
   6459   eval $cacheid=no
   6460 fi
   6461 rm -f core conftest.err conftest.$ac_objext \
   6462     conftest$ac_exeext conftest.$ac_ext
   6463 fi
   6464 
   6465 
   6466 		CFLAGS="$xorg_testset_save_CFLAGS"
   6467 
   6468 		eval supported=\$$cacheid
   6469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6470 $as_echo "$supported" >&6; }
   6471 		if test "$supported" = "yes" ; then
   6472 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6473 			found="yes"
   6474 		fi
   6475 	fi
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 xorg_testset_save_CFLAGS="$CFLAGS"
   6492 
   6493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6501 /* end confdefs.h.  */
   6502 int i;
   6503 _ACEOF
   6504 if ac_fn_c_try_compile "$LINENO"; then :
   6505   xorg_cv_cc_flag_unknown_warning_option=yes
   6506 else
   6507   xorg_cv_cc_flag_unknown_warning_option=no
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6510 fi
   6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6514 	CFLAGS="$xorg_testset_save_CFLAGS"
   6515 fi
   6516 
   6517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6520 	fi
   6521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"; then :
   6532   xorg_cv_cc_flag_unused_command_line_argument=yes
   6533 else
   6534   xorg_cv_cc_flag_unused_command_line_argument=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6537 fi
   6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 found="no"
   6545 
   6546 	if test $found = "no" ; then
   6547 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6549 		fi
   6550 
   6551 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6553 		fi
   6554 
   6555 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6556 
   6557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6558 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6559 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6560 		if eval \${$cacheid+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6564 /* end confdefs.h.  */
   6565 int i;
   6566 int
   6567 main ()
   6568 {
   6569 
   6570   ;
   6571   return 0;
   6572 }
   6573 _ACEOF
   6574 if ac_fn_c_try_link "$LINENO"; then :
   6575   eval $cacheid=yes
   6576 else
   6577   eval $cacheid=no
   6578 fi
   6579 rm -f core conftest.err conftest.$ac_objext \
   6580     conftest$ac_exeext conftest.$ac_ext
   6581 fi
   6582 
   6583 
   6584 		CFLAGS="$xorg_testset_save_CFLAGS"
   6585 
   6586 		eval supported=\$$cacheid
   6587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6588 $as_echo "$supported" >&6; }
   6589 		if test "$supported" = "yes" ; then
   6590 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6591 			found="yes"
   6592 		fi
   6593 	fi
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 xorg_testset_save_CFLAGS="$CFLAGS"
   6610 
   6611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6614 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6615 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6616   $as_echo_n "(cached) " >&6
   6617 else
   6618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6619 /* end confdefs.h.  */
   6620 int i;
   6621 _ACEOF
   6622 if ac_fn_c_try_compile "$LINENO"; then :
   6623   xorg_cv_cc_flag_unknown_warning_option=yes
   6624 else
   6625   xorg_cv_cc_flag_unknown_warning_option=no
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6628 fi
   6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6630 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6632 	CFLAGS="$xorg_testset_save_CFLAGS"
   6633 fi
   6634 
   6635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6638 	fi
   6639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6641 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6642 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6646 /* end confdefs.h.  */
   6647 int i;
   6648 _ACEOF
   6649 if ac_fn_c_try_compile "$LINENO"; then :
   6650   xorg_cv_cc_flag_unused_command_line_argument=yes
   6651 else
   6652   xorg_cv_cc_flag_unused_command_line_argument=no
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6655 fi
   6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6657 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6659 	CFLAGS="$xorg_testset_save_CFLAGS"
   6660 fi
   6661 
   6662 found="no"
   6663 
   6664 	if test $found = "no" ; then
   6665 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 		fi
   6668 
   6669 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 		fi
   6672 
   6673 		CFLAGS="$CFLAGS -Wredundant-decls"
   6674 
   6675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6676 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6677 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6678 		if eval \${$cacheid+:} false; then :
   6679   $as_echo_n "(cached) " >&6
   6680 else
   6681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 int i;
   6684 int
   6685 main ()
   6686 {
   6687 
   6688   ;
   6689   return 0;
   6690 }
   6691 _ACEOF
   6692 if ac_fn_c_try_link "$LINENO"; then :
   6693   eval $cacheid=yes
   6694 else
   6695   eval $cacheid=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext \
   6698     conftest$ac_exeext conftest.$ac_ext
   6699 fi
   6700 
   6701 
   6702 		CFLAGS="$xorg_testset_save_CFLAGS"
   6703 
   6704 		eval supported=\$$cacheid
   6705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6706 $as_echo "$supported" >&6; }
   6707 		if test "$supported" = "yes" ; then
   6708 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6709 			found="yes"
   6710 		fi
   6711 	fi
   6712 
   6713 
   6714 
   6715 # These are currently disabled because they are noisy.  They will be enabled
   6716 # in the future once the codebase is sufficiently modernized to silence
   6717 # them.  For now, I don't want them to drown out the other warnings.
   6718 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6719 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6720 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6721 
   6722 # Turn some warnings into errors, so we don't accidently get successful builds
   6723 # when there are problems that should be fixed.
   6724 
   6725 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 xorg_testset_save_CFLAGS="$CFLAGS"
   6740 
   6741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6749 /* end confdefs.h.  */
   6750 int i;
   6751 _ACEOF
   6752 if ac_fn_c_try_compile "$LINENO"; then :
   6753   xorg_cv_cc_flag_unknown_warning_option=yes
   6754 else
   6755   xorg_cv_cc_flag_unknown_warning_option=no
   6756 fi
   6757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6758 fi
   6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6762 	CFLAGS="$xorg_testset_save_CFLAGS"
   6763 fi
   6764 
   6765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 	fi
   6769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6773   $as_echo_n "(cached) " >&6
   6774 else
   6775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6776 /* end confdefs.h.  */
   6777 int i;
   6778 _ACEOF
   6779 if ac_fn_c_try_compile "$LINENO"; then :
   6780   xorg_cv_cc_flag_unused_command_line_argument=yes
   6781 else
   6782   xorg_cv_cc_flag_unused_command_line_argument=no
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6785 fi
   6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6789 	CFLAGS="$xorg_testset_save_CFLAGS"
   6790 fi
   6791 
   6792 found="no"
   6793 
   6794 	if test $found = "no" ; then
   6795 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 		fi
   6798 
   6799 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 		fi
   6802 
   6803 		CFLAGS="$CFLAGS -Werror=implicit"
   6804 
   6805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6806 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6807 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6808 		if eval \${$cacheid+:} false; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6812 /* end confdefs.h.  */
   6813 int i;
   6814 int
   6815 main ()
   6816 {
   6817 
   6818   ;
   6819   return 0;
   6820 }
   6821 _ACEOF
   6822 if ac_fn_c_try_link "$LINENO"; then :
   6823   eval $cacheid=yes
   6824 else
   6825   eval $cacheid=no
   6826 fi
   6827 rm -f core conftest.err conftest.$ac_objext \
   6828     conftest$ac_exeext conftest.$ac_ext
   6829 fi
   6830 
   6831 
   6832 		CFLAGS="$xorg_testset_save_CFLAGS"
   6833 
   6834 		eval supported=\$$cacheid
   6835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6836 $as_echo "$supported" >&6; }
   6837 		if test "$supported" = "yes" ; then
   6838 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6839 			found="yes"
   6840 		fi
   6841 	fi
   6842 
   6843 	if test $found = "no" ; then
   6844 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6846 		fi
   6847 
   6848 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6850 		fi
   6851 
   6852 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6853 
   6854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6855 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6856 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6857 		if eval \${$cacheid+:} false; then :
   6858   $as_echo_n "(cached) " >&6
   6859 else
   6860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6861 /* end confdefs.h.  */
   6862 int i;
   6863 int
   6864 main ()
   6865 {
   6866 
   6867   ;
   6868   return 0;
   6869 }
   6870 _ACEOF
   6871 if ac_fn_c_try_link "$LINENO"; then :
   6872   eval $cacheid=yes
   6873 else
   6874   eval $cacheid=no
   6875 fi
   6876 rm -f core conftest.err conftest.$ac_objext \
   6877     conftest$ac_exeext conftest.$ac_ext
   6878 fi
   6879 
   6880 
   6881 		CFLAGS="$xorg_testset_save_CFLAGS"
   6882 
   6883 		eval supported=\$$cacheid
   6884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6885 $as_echo "$supported" >&6; }
   6886 		if test "$supported" = "yes" ; then
   6887 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6888 			found="yes"
   6889 		fi
   6890 	fi
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 xorg_testset_save_CFLAGS="$CFLAGS"
   6907 
   6908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6916 /* end confdefs.h.  */
   6917 int i;
   6918 _ACEOF
   6919 if ac_fn_c_try_compile "$LINENO"; then :
   6920   xorg_cv_cc_flag_unknown_warning_option=yes
   6921 else
   6922   xorg_cv_cc_flag_unknown_warning_option=no
   6923 fi
   6924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6925 fi
   6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6929 	CFLAGS="$xorg_testset_save_CFLAGS"
   6930 fi
   6931 
   6932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6935 	fi
   6936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6940   $as_echo_n "(cached) " >&6
   6941 else
   6942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6943 /* end confdefs.h.  */
   6944 int i;
   6945 _ACEOF
   6946 if ac_fn_c_try_compile "$LINENO"; then :
   6947   xorg_cv_cc_flag_unused_command_line_argument=yes
   6948 else
   6949   xorg_cv_cc_flag_unused_command_line_argument=no
   6950 fi
   6951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6952 fi
   6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6956 	CFLAGS="$xorg_testset_save_CFLAGS"
   6957 fi
   6958 
   6959 found="no"
   6960 
   6961 	if test $found = "no" ; then
   6962 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6964 		fi
   6965 
   6966 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6968 		fi
   6969 
   6970 		CFLAGS="$CFLAGS -Werror=nonnull"
   6971 
   6972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6973 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6974 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6975 		if eval \${$cacheid+:} false; then :
   6976   $as_echo_n "(cached) " >&6
   6977 else
   6978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6979 /* end confdefs.h.  */
   6980 int i;
   6981 int
   6982 main ()
   6983 {
   6984 
   6985   ;
   6986   return 0;
   6987 }
   6988 _ACEOF
   6989 if ac_fn_c_try_link "$LINENO"; then :
   6990   eval $cacheid=yes
   6991 else
   6992   eval $cacheid=no
   6993 fi
   6994 rm -f core conftest.err conftest.$ac_objext \
   6995     conftest$ac_exeext conftest.$ac_ext
   6996 fi
   6997 
   6998 
   6999 		CFLAGS="$xorg_testset_save_CFLAGS"
   7000 
   7001 		eval supported=\$$cacheid
   7002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7003 $as_echo "$supported" >&6; }
   7004 		if test "$supported" = "yes" ; then
   7005 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7006 			found="yes"
   7007 		fi
   7008 	fi
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 xorg_testset_save_CFLAGS="$CFLAGS"
   7025 
   7026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7031   $as_echo_n "(cached) " >&6
   7032 else
   7033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7034 /* end confdefs.h.  */
   7035 int i;
   7036 _ACEOF
   7037 if ac_fn_c_try_compile "$LINENO"; then :
   7038   xorg_cv_cc_flag_unknown_warning_option=yes
   7039 else
   7040   xorg_cv_cc_flag_unknown_warning_option=no
   7041 fi
   7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7043 fi
   7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7047 	CFLAGS="$xorg_testset_save_CFLAGS"
   7048 fi
   7049 
   7050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7053 	fi
   7054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7058   $as_echo_n "(cached) " >&6
   7059 else
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"; then :
   7065   xorg_cv_cc_flag_unused_command_line_argument=yes
   7066 else
   7067   xorg_cv_cc_flag_unused_command_line_argument=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7070 fi
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7074 	CFLAGS="$xorg_testset_save_CFLAGS"
   7075 fi
   7076 
   7077 found="no"
   7078 
   7079 	if test $found = "no" ; then
   7080 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7082 		fi
   7083 
   7084 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7086 		fi
   7087 
   7088 		CFLAGS="$CFLAGS -Werror=init-self"
   7089 
   7090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7091 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7092 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7093 		if eval \${$cacheid+:} false; then :
   7094   $as_echo_n "(cached) " >&6
   7095 else
   7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7097 /* end confdefs.h.  */
   7098 int i;
   7099 int
   7100 main ()
   7101 {
   7102 
   7103   ;
   7104   return 0;
   7105 }
   7106 _ACEOF
   7107 if ac_fn_c_try_link "$LINENO"; then :
   7108   eval $cacheid=yes
   7109 else
   7110   eval $cacheid=no
   7111 fi
   7112 rm -f core conftest.err conftest.$ac_objext \
   7113     conftest$ac_exeext conftest.$ac_ext
   7114 fi
   7115 
   7116 
   7117 		CFLAGS="$xorg_testset_save_CFLAGS"
   7118 
   7119 		eval supported=\$$cacheid
   7120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7121 $as_echo "$supported" >&6; }
   7122 		if test "$supported" = "yes" ; then
   7123 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7124 			found="yes"
   7125 		fi
   7126 	fi
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 xorg_testset_save_CFLAGS="$CFLAGS"
   7143 
   7144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7149   $as_echo_n "(cached) " >&6
   7150 else
   7151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7152 /* end confdefs.h.  */
   7153 int i;
   7154 _ACEOF
   7155 if ac_fn_c_try_compile "$LINENO"; then :
   7156   xorg_cv_cc_flag_unknown_warning_option=yes
   7157 else
   7158   xorg_cv_cc_flag_unknown_warning_option=no
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7161 fi
   7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7165 	CFLAGS="$xorg_testset_save_CFLAGS"
   7166 fi
   7167 
   7168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7171 	fi
   7172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7176   $as_echo_n "(cached) " >&6
   7177 else
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 int i;
   7181 _ACEOF
   7182 if ac_fn_c_try_compile "$LINENO"; then :
   7183   xorg_cv_cc_flag_unused_command_line_argument=yes
   7184 else
   7185   xorg_cv_cc_flag_unused_command_line_argument=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7188 fi
   7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7192 	CFLAGS="$xorg_testset_save_CFLAGS"
   7193 fi
   7194 
   7195 found="no"
   7196 
   7197 	if test $found = "no" ; then
   7198 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7200 		fi
   7201 
   7202 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7204 		fi
   7205 
   7206 		CFLAGS="$CFLAGS -Werror=main"
   7207 
   7208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7209 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7210 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7211 		if eval \${$cacheid+:} false; then :
   7212   $as_echo_n "(cached) " >&6
   7213 else
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 int i;
   7217 int
   7218 main ()
   7219 {
   7220 
   7221   ;
   7222   return 0;
   7223 }
   7224 _ACEOF
   7225 if ac_fn_c_try_link "$LINENO"; then :
   7226   eval $cacheid=yes
   7227 else
   7228   eval $cacheid=no
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext \
   7231     conftest$ac_exeext conftest.$ac_ext
   7232 fi
   7233 
   7234 
   7235 		CFLAGS="$xorg_testset_save_CFLAGS"
   7236 
   7237 		eval supported=\$$cacheid
   7238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7239 $as_echo "$supported" >&6; }
   7240 		if test "$supported" = "yes" ; then
   7241 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7242 			found="yes"
   7243 		fi
   7244 	fi
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 xorg_testset_save_CFLAGS="$CFLAGS"
   7261 
   7262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7267   $as_echo_n "(cached) " >&6
   7268 else
   7269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7270 /* end confdefs.h.  */
   7271 int i;
   7272 _ACEOF
   7273 if ac_fn_c_try_compile "$LINENO"; then :
   7274   xorg_cv_cc_flag_unknown_warning_option=yes
   7275 else
   7276   xorg_cv_cc_flag_unknown_warning_option=no
   7277 fi
   7278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7279 fi
   7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7283 	CFLAGS="$xorg_testset_save_CFLAGS"
   7284 fi
   7285 
   7286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7289 	fi
   7290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 int i;
   7299 _ACEOF
   7300 if ac_fn_c_try_compile "$LINENO"; then :
   7301   xorg_cv_cc_flag_unused_command_line_argument=yes
   7302 else
   7303   xorg_cv_cc_flag_unused_command_line_argument=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7306 fi
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7310 	CFLAGS="$xorg_testset_save_CFLAGS"
   7311 fi
   7312 
   7313 found="no"
   7314 
   7315 	if test $found = "no" ; then
   7316 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7318 		fi
   7319 
   7320 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7322 		fi
   7323 
   7324 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7325 
   7326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7327 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7328 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7329 		if eval \${$cacheid+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 int
   7336 main ()
   7337 {
   7338 
   7339   ;
   7340   return 0;
   7341 }
   7342 _ACEOF
   7343 if ac_fn_c_try_link "$LINENO"; then :
   7344   eval $cacheid=yes
   7345 else
   7346   eval $cacheid=no
   7347 fi
   7348 rm -f core conftest.err conftest.$ac_objext \
   7349     conftest$ac_exeext conftest.$ac_ext
   7350 fi
   7351 
   7352 
   7353 		CFLAGS="$xorg_testset_save_CFLAGS"
   7354 
   7355 		eval supported=\$$cacheid
   7356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7357 $as_echo "$supported" >&6; }
   7358 		if test "$supported" = "yes" ; then
   7359 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7360 			found="yes"
   7361 		fi
   7362 	fi
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 xorg_testset_save_CFLAGS="$CFLAGS"
   7379 
   7380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7383 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7384 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7385   $as_echo_n "(cached) " >&6
   7386 else
   7387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7388 /* end confdefs.h.  */
   7389 int i;
   7390 _ACEOF
   7391 if ac_fn_c_try_compile "$LINENO"; then :
   7392   xorg_cv_cc_flag_unknown_warning_option=yes
   7393 else
   7394   xorg_cv_cc_flag_unknown_warning_option=no
   7395 fi
   7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7397 fi
   7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7399 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7400 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7401 	CFLAGS="$xorg_testset_save_CFLAGS"
   7402 fi
   7403 
   7404 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7405 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7407 	fi
   7408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7410 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7411 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7412   $as_echo_n "(cached) " >&6
   7413 else
   7414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7415 /* end confdefs.h.  */
   7416 int i;
   7417 _ACEOF
   7418 if ac_fn_c_try_compile "$LINENO"; then :
   7419   xorg_cv_cc_flag_unused_command_line_argument=yes
   7420 else
   7421   xorg_cv_cc_flag_unused_command_line_argument=no
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7424 fi
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7426 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7428 	CFLAGS="$xorg_testset_save_CFLAGS"
   7429 fi
   7430 
   7431 found="no"
   7432 
   7433 	if test $found = "no" ; then
   7434 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7436 		fi
   7437 
   7438 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7440 		fi
   7441 
   7442 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7443 
   7444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7445 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7446 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7447 		if eval \${$cacheid+:} false; then :
   7448   $as_echo_n "(cached) " >&6
   7449 else
   7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 int
   7454 main ()
   7455 {
   7456 
   7457   ;
   7458   return 0;
   7459 }
   7460 _ACEOF
   7461 if ac_fn_c_try_link "$LINENO"; then :
   7462   eval $cacheid=yes
   7463 else
   7464   eval $cacheid=no
   7465 fi
   7466 rm -f core conftest.err conftest.$ac_objext \
   7467     conftest$ac_exeext conftest.$ac_ext
   7468 fi
   7469 
   7470 
   7471 		CFLAGS="$xorg_testset_save_CFLAGS"
   7472 
   7473 		eval supported=\$$cacheid
   7474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7475 $as_echo "$supported" >&6; }
   7476 		if test "$supported" = "yes" ; then
   7477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7478 			found="yes"
   7479 		fi
   7480 	fi
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 xorg_testset_save_CFLAGS="$CFLAGS"
   7497 
   7498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7503   $as_echo_n "(cached) " >&6
   7504 else
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 int i;
   7508 _ACEOF
   7509 if ac_fn_c_try_compile "$LINENO"; then :
   7510   xorg_cv_cc_flag_unknown_warning_option=yes
   7511 else
   7512   xorg_cv_cc_flag_unknown_warning_option=no
   7513 fi
   7514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7515 fi
   7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7519 	CFLAGS="$xorg_testset_save_CFLAGS"
   7520 fi
   7521 
   7522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7525 	fi
   7526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7530   $as_echo_n "(cached) " >&6
   7531 else
   7532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7533 /* end confdefs.h.  */
   7534 int i;
   7535 _ACEOF
   7536 if ac_fn_c_try_compile "$LINENO"; then :
   7537   xorg_cv_cc_flag_unused_command_line_argument=yes
   7538 else
   7539   xorg_cv_cc_flag_unused_command_line_argument=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7542 fi
   7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7546 	CFLAGS="$xorg_testset_save_CFLAGS"
   7547 fi
   7548 
   7549 found="no"
   7550 
   7551 	if test $found = "no" ; then
   7552 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 		fi
   7555 
   7556 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7558 		fi
   7559 
   7560 		CFLAGS="$CFLAGS -Werror=return-type"
   7561 
   7562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7563 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7564 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7565 		if eval \${$cacheid+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7569 /* end confdefs.h.  */
   7570 int i;
   7571 int
   7572 main ()
   7573 {
   7574 
   7575   ;
   7576   return 0;
   7577 }
   7578 _ACEOF
   7579 if ac_fn_c_try_link "$LINENO"; then :
   7580   eval $cacheid=yes
   7581 else
   7582   eval $cacheid=no
   7583 fi
   7584 rm -f core conftest.err conftest.$ac_objext \
   7585     conftest$ac_exeext conftest.$ac_ext
   7586 fi
   7587 
   7588 
   7589 		CFLAGS="$xorg_testset_save_CFLAGS"
   7590 
   7591 		eval supported=\$$cacheid
   7592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7593 $as_echo "$supported" >&6; }
   7594 		if test "$supported" = "yes" ; then
   7595 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7596 			found="yes"
   7597 		fi
   7598 	fi
   7599 
   7600 	if test $found = "no" ; then
   7601 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 		fi
   7604 
   7605 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7607 		fi
   7608 
   7609 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7610 
   7611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7612 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7613 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7614 		if eval \${$cacheid+:} false; then :
   7615   $as_echo_n "(cached) " >&6
   7616 else
   7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 int i;
   7620 int
   7621 main ()
   7622 {
   7623 
   7624   ;
   7625   return 0;
   7626 }
   7627 _ACEOF
   7628 if ac_fn_c_try_link "$LINENO"; then :
   7629   eval $cacheid=yes
   7630 else
   7631   eval $cacheid=no
   7632 fi
   7633 rm -f core conftest.err conftest.$ac_objext \
   7634     conftest$ac_exeext conftest.$ac_ext
   7635 fi
   7636 
   7637 
   7638 		CFLAGS="$xorg_testset_save_CFLAGS"
   7639 
   7640 		eval supported=\$$cacheid
   7641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7642 $as_echo "$supported" >&6; }
   7643 		if test "$supported" = "yes" ; then
   7644 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7645 			found="yes"
   7646 		fi
   7647 	fi
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 xorg_testset_save_CFLAGS="$CFLAGS"
   7664 
   7665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7673 /* end confdefs.h.  */
   7674 int i;
   7675 _ACEOF
   7676 if ac_fn_c_try_compile "$LINENO"; then :
   7677   xorg_cv_cc_flag_unknown_warning_option=yes
   7678 else
   7679   xorg_cv_cc_flag_unknown_warning_option=no
   7680 fi
   7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7682 fi
   7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7686 	CFLAGS="$xorg_testset_save_CFLAGS"
   7687 fi
   7688 
   7689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7692 	fi
   7693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7697   $as_echo_n "(cached) " >&6
   7698 else
   7699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7700 /* end confdefs.h.  */
   7701 int i;
   7702 _ACEOF
   7703 if ac_fn_c_try_compile "$LINENO"; then :
   7704   xorg_cv_cc_flag_unused_command_line_argument=yes
   7705 else
   7706   xorg_cv_cc_flag_unused_command_line_argument=no
   7707 fi
   7708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7709 fi
   7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7713 	CFLAGS="$xorg_testset_save_CFLAGS"
   7714 fi
   7715 
   7716 found="no"
   7717 
   7718 	if test $found = "no" ; then
   7719 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7721 		fi
   7722 
   7723 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7725 		fi
   7726 
   7727 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7728 
   7729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7730 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7731 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7732 		if eval \${$cacheid+:} false; then :
   7733   $as_echo_n "(cached) " >&6
   7734 else
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 int
   7739 main ()
   7740 {
   7741 
   7742   ;
   7743   return 0;
   7744 }
   7745 _ACEOF
   7746 if ac_fn_c_try_link "$LINENO"; then :
   7747   eval $cacheid=yes
   7748 else
   7749   eval $cacheid=no
   7750 fi
   7751 rm -f core conftest.err conftest.$ac_objext \
   7752     conftest$ac_exeext conftest.$ac_ext
   7753 fi
   7754 
   7755 
   7756 		CFLAGS="$xorg_testset_save_CFLAGS"
   7757 
   7758 		eval supported=\$$cacheid
   7759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7760 $as_echo "$supported" >&6; }
   7761 		if test "$supported" = "yes" ; then
   7762 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7763 			found="yes"
   7764 		fi
   7765 	fi
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 xorg_testset_save_CFLAGS="$CFLAGS"
   7782 
   7783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7788   $as_echo_n "(cached) " >&6
   7789 else
   7790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7791 /* end confdefs.h.  */
   7792 int i;
   7793 _ACEOF
   7794 if ac_fn_c_try_compile "$LINENO"; then :
   7795   xorg_cv_cc_flag_unknown_warning_option=yes
   7796 else
   7797   xorg_cv_cc_flag_unknown_warning_option=no
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7800 fi
   7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7804 	CFLAGS="$xorg_testset_save_CFLAGS"
   7805 fi
   7806 
   7807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 	fi
   7811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7815   $as_echo_n "(cached) " >&6
   7816 else
   7817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 int i;
   7820 _ACEOF
   7821 if ac_fn_c_try_compile "$LINENO"; then :
   7822   xorg_cv_cc_flag_unused_command_line_argument=yes
   7823 else
   7824   xorg_cv_cc_flag_unused_command_line_argument=no
   7825 fi
   7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7827 fi
   7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7831 	CFLAGS="$xorg_testset_save_CFLAGS"
   7832 fi
   7833 
   7834 found="no"
   7835 
   7836 	if test $found = "no" ; then
   7837 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 		fi
   7840 
   7841 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7843 		fi
   7844 
   7845 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7846 
   7847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7848 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7849 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7850 		if eval \${$cacheid+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7854 /* end confdefs.h.  */
   7855 int i;
   7856 int
   7857 main ()
   7858 {
   7859 
   7860   ;
   7861   return 0;
   7862 }
   7863 _ACEOF
   7864 if ac_fn_c_try_link "$LINENO"; then :
   7865   eval $cacheid=yes
   7866 else
   7867   eval $cacheid=no
   7868 fi
   7869 rm -f core conftest.err conftest.$ac_objext \
   7870     conftest$ac_exeext conftest.$ac_ext
   7871 fi
   7872 
   7873 
   7874 		CFLAGS="$xorg_testset_save_CFLAGS"
   7875 
   7876 		eval supported=\$$cacheid
   7877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7878 $as_echo "$supported" >&6; }
   7879 		if test "$supported" = "yes" ; then
   7880 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7881 			found="yes"
   7882 		fi
   7883 	fi
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 xorg_testset_save_CFLAGS="$CFLAGS"
   7900 
   7901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7906   $as_echo_n "(cached) " >&6
   7907 else
   7908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7909 /* end confdefs.h.  */
   7910 int i;
   7911 _ACEOF
   7912 if ac_fn_c_try_compile "$LINENO"; then :
   7913   xorg_cv_cc_flag_unknown_warning_option=yes
   7914 else
   7915   xorg_cv_cc_flag_unknown_warning_option=no
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7918 fi
   7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7922 	CFLAGS="$xorg_testset_save_CFLAGS"
   7923 fi
   7924 
   7925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7928 	fi
   7929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7933   $as_echo_n "(cached) " >&6
   7934 else
   7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7936 /* end confdefs.h.  */
   7937 int i;
   7938 _ACEOF
   7939 if ac_fn_c_try_compile "$LINENO"; then :
   7940   xorg_cv_cc_flag_unused_command_line_argument=yes
   7941 else
   7942   xorg_cv_cc_flag_unused_command_line_argument=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7945 fi
   7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7949 	CFLAGS="$xorg_testset_save_CFLAGS"
   7950 fi
   7951 
   7952 found="no"
   7953 
   7954 	if test $found = "no" ; then
   7955 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7957 		fi
   7958 
   7959 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7961 		fi
   7962 
   7963 		CFLAGS="$CFLAGS -Werror=write-strings"
   7964 
   7965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7966 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7967 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7968 		if eval \${$cacheid+:} false; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 int
   7975 main ()
   7976 {
   7977 
   7978   ;
   7979   return 0;
   7980 }
   7981 _ACEOF
   7982 if ac_fn_c_try_link "$LINENO"; then :
   7983   eval $cacheid=yes
   7984 else
   7985   eval $cacheid=no
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext \
   7988     conftest$ac_exeext conftest.$ac_ext
   7989 fi
   7990 
   7991 
   7992 		CFLAGS="$xorg_testset_save_CFLAGS"
   7993 
   7994 		eval supported=\$$cacheid
   7995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7996 $as_echo "$supported" >&6; }
   7997 		if test "$supported" = "yes" ; then
   7998 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7999 			found="yes"
   8000 		fi
   8001 	fi
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 xorg_testset_save_CFLAGS="$CFLAGS"
   8018 
   8019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8024   $as_echo_n "(cached) " >&6
   8025 else
   8026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8027 /* end confdefs.h.  */
   8028 int i;
   8029 _ACEOF
   8030 if ac_fn_c_try_compile "$LINENO"; then :
   8031   xorg_cv_cc_flag_unknown_warning_option=yes
   8032 else
   8033   xorg_cv_cc_flag_unknown_warning_option=no
   8034 fi
   8035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8036 fi
   8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8040 	CFLAGS="$xorg_testset_save_CFLAGS"
   8041 fi
   8042 
   8043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8046 	fi
   8047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8051   $as_echo_n "(cached) " >&6
   8052 else
   8053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 _ACEOF
   8057 if ac_fn_c_try_compile "$LINENO"; then :
   8058   xorg_cv_cc_flag_unused_command_line_argument=yes
   8059 else
   8060   xorg_cv_cc_flag_unused_command_line_argument=no
   8061 fi
   8062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8063 fi
   8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8067 	CFLAGS="$xorg_testset_save_CFLAGS"
   8068 fi
   8069 
   8070 found="no"
   8071 
   8072 	if test $found = "no" ; then
   8073 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 		fi
   8076 
   8077 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8079 		fi
   8080 
   8081 		CFLAGS="$CFLAGS -Werror=address"
   8082 
   8083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8084 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8085 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8086 		if eval \${$cacheid+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8090 /* end confdefs.h.  */
   8091 int i;
   8092 int
   8093 main ()
   8094 {
   8095 
   8096   ;
   8097   return 0;
   8098 }
   8099 _ACEOF
   8100 if ac_fn_c_try_link "$LINENO"; then :
   8101   eval $cacheid=yes
   8102 else
   8103   eval $cacheid=no
   8104 fi
   8105 rm -f core conftest.err conftest.$ac_objext \
   8106     conftest$ac_exeext conftest.$ac_ext
   8107 fi
   8108 
   8109 
   8110 		CFLAGS="$xorg_testset_save_CFLAGS"
   8111 
   8112 		eval supported=\$$cacheid
   8113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8114 $as_echo "$supported" >&6; }
   8115 		if test "$supported" = "yes" ; then
   8116 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8117 			found="yes"
   8118 		fi
   8119 	fi
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 xorg_testset_save_CFLAGS="$CFLAGS"
   8136 
   8137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8140 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8141 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8145 /* end confdefs.h.  */
   8146 int i;
   8147 _ACEOF
   8148 if ac_fn_c_try_compile "$LINENO"; then :
   8149   xorg_cv_cc_flag_unknown_warning_option=yes
   8150 else
   8151   xorg_cv_cc_flag_unknown_warning_option=no
   8152 fi
   8153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8154 fi
   8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8156 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8158 	CFLAGS="$xorg_testset_save_CFLAGS"
   8159 fi
   8160 
   8161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8164 	fi
   8165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8167 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8168 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8169   $as_echo_n "(cached) " >&6
   8170 else
   8171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 _ACEOF
   8175 if ac_fn_c_try_compile "$LINENO"; then :
   8176   xorg_cv_cc_flag_unused_command_line_argument=yes
   8177 else
   8178   xorg_cv_cc_flag_unused_command_line_argument=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8181 fi
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8183 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8185 	CFLAGS="$xorg_testset_save_CFLAGS"
   8186 fi
   8187 
   8188 found="no"
   8189 
   8190 	if test $found = "no" ; then
   8191 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8193 		fi
   8194 
   8195 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8197 		fi
   8198 
   8199 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8200 
   8201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8202 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8203 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8204 		if eval \${$cacheid+:} false; then :
   8205   $as_echo_n "(cached) " >&6
   8206 else
   8207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 int
   8211 main ()
   8212 {
   8213 
   8214   ;
   8215   return 0;
   8216 }
   8217 _ACEOF
   8218 if ac_fn_c_try_link "$LINENO"; then :
   8219   eval $cacheid=yes
   8220 else
   8221   eval $cacheid=no
   8222 fi
   8223 rm -f core conftest.err conftest.$ac_objext \
   8224     conftest$ac_exeext conftest.$ac_ext
   8225 fi
   8226 
   8227 
   8228 		CFLAGS="$xorg_testset_save_CFLAGS"
   8229 
   8230 		eval supported=\$$cacheid
   8231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8232 $as_echo "$supported" >&6; }
   8233 		if test "$supported" = "yes" ; then
   8234 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8235 			found="yes"
   8236 		fi
   8237 	fi
   8238 
   8239 	if test $found = "no" ; then
   8240 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8242 		fi
   8243 
   8244 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8246 		fi
   8247 
   8248 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8249 
   8250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8251 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8252 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8253 		if eval \${$cacheid+:} false; then :
   8254   $as_echo_n "(cached) " >&6
   8255 else
   8256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8257 /* end confdefs.h.  */
   8258 int i;
   8259 int
   8260 main ()
   8261 {
   8262 
   8263   ;
   8264   return 0;
   8265 }
   8266 _ACEOF
   8267 if ac_fn_c_try_link "$LINENO"; then :
   8268   eval $cacheid=yes
   8269 else
   8270   eval $cacheid=no
   8271 fi
   8272 rm -f core conftest.err conftest.$ac_objext \
   8273     conftest$ac_exeext conftest.$ac_ext
   8274 fi
   8275 
   8276 
   8277 		CFLAGS="$xorg_testset_save_CFLAGS"
   8278 
   8279 		eval supported=\$$cacheid
   8280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8281 $as_echo "$supported" >&6; }
   8282 		if test "$supported" = "yes" ; then
   8283 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8284 			found="yes"
   8285 		fi
   8286 	fi
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 xorg_testset_save_CFLAGS="$CFLAGS"
   8303 
   8304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8309   $as_echo_n "(cached) " >&6
   8310 else
   8311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8312 /* end confdefs.h.  */
   8313 int i;
   8314 _ACEOF
   8315 if ac_fn_c_try_compile "$LINENO"; then :
   8316   xorg_cv_cc_flag_unknown_warning_option=yes
   8317 else
   8318   xorg_cv_cc_flag_unknown_warning_option=no
   8319 fi
   8320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8321 fi
   8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8325 	CFLAGS="$xorg_testset_save_CFLAGS"
   8326 fi
   8327 
   8328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 	fi
   8332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8336   $as_echo_n "(cached) " >&6
   8337 else
   8338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8339 /* end confdefs.h.  */
   8340 int i;
   8341 _ACEOF
   8342 if ac_fn_c_try_compile "$LINENO"; then :
   8343   xorg_cv_cc_flag_unused_command_line_argument=yes
   8344 else
   8345   xorg_cv_cc_flag_unused_command_line_argument=no
   8346 fi
   8347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8348 fi
   8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8352 	CFLAGS="$xorg_testset_save_CFLAGS"
   8353 fi
   8354 
   8355 found="no"
   8356 
   8357 	if test $found = "no" ; then
   8358 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 		fi
   8361 
   8362 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8364 		fi
   8365 
   8366 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8367 
   8368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8369 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8370 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8371 		if eval \${$cacheid+:} false; then :
   8372   $as_echo_n "(cached) " >&6
   8373 else
   8374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8375 /* end confdefs.h.  */
   8376 int i;
   8377 int
   8378 main ()
   8379 {
   8380 
   8381   ;
   8382   return 0;
   8383 }
   8384 _ACEOF
   8385 if ac_fn_c_try_link "$LINENO"; then :
   8386   eval $cacheid=yes
   8387 else
   8388   eval $cacheid=no
   8389 fi
   8390 rm -f core conftest.err conftest.$ac_objext \
   8391     conftest$ac_exeext conftest.$ac_ext
   8392 fi
   8393 
   8394 
   8395 		CFLAGS="$xorg_testset_save_CFLAGS"
   8396 
   8397 		eval supported=\$$cacheid
   8398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8399 $as_echo "$supported" >&6; }
   8400 		if test "$supported" = "yes" ; then
   8401 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8402 			found="yes"
   8403 		fi
   8404 	fi
   8405 
   8406  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8407 else
   8408 { $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
   8409 $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;}
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 xorg_testset_save_CFLAGS="$CFLAGS"
   8424 
   8425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8430   $as_echo_n "(cached) " >&6
   8431 else
   8432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8433 /* end confdefs.h.  */
   8434 int i;
   8435 _ACEOF
   8436 if ac_fn_c_try_compile "$LINENO"; then :
   8437   xorg_cv_cc_flag_unknown_warning_option=yes
   8438 else
   8439   xorg_cv_cc_flag_unknown_warning_option=no
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8442 fi
   8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8446 	CFLAGS="$xorg_testset_save_CFLAGS"
   8447 fi
   8448 
   8449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8452 	fi
   8453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8457   $as_echo_n "(cached) " >&6
   8458 else
   8459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8460 /* end confdefs.h.  */
   8461 int i;
   8462 _ACEOF
   8463 if ac_fn_c_try_compile "$LINENO"; then :
   8464   xorg_cv_cc_flag_unused_command_line_argument=yes
   8465 else
   8466   xorg_cv_cc_flag_unused_command_line_argument=no
   8467 fi
   8468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8469 fi
   8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8473 	CFLAGS="$xorg_testset_save_CFLAGS"
   8474 fi
   8475 
   8476 found="no"
   8477 
   8478 	if test $found = "no" ; then
   8479 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8481 		fi
   8482 
   8483 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8485 		fi
   8486 
   8487 		CFLAGS="$CFLAGS -Wimplicit"
   8488 
   8489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8490 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8491 		cacheid=xorg_cv_cc_flag__Wimplicit
   8492 		if eval \${$cacheid+:} false; then :
   8493   $as_echo_n "(cached) " >&6
   8494 else
   8495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8496 /* end confdefs.h.  */
   8497 int i;
   8498 int
   8499 main ()
   8500 {
   8501 
   8502   ;
   8503   return 0;
   8504 }
   8505 _ACEOF
   8506 if ac_fn_c_try_link "$LINENO"; then :
   8507   eval $cacheid=yes
   8508 else
   8509   eval $cacheid=no
   8510 fi
   8511 rm -f core conftest.err conftest.$ac_objext \
   8512     conftest$ac_exeext conftest.$ac_ext
   8513 fi
   8514 
   8515 
   8516 		CFLAGS="$xorg_testset_save_CFLAGS"
   8517 
   8518 		eval supported=\$$cacheid
   8519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8520 $as_echo "$supported" >&6; }
   8521 		if test "$supported" = "yes" ; then
   8522 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8523 			found="yes"
   8524 		fi
   8525 	fi
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 xorg_testset_save_CFLAGS="$CFLAGS"
   8542 
   8543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8548   $as_echo_n "(cached) " >&6
   8549 else
   8550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"; then :
   8555   xorg_cv_cc_flag_unknown_warning_option=yes
   8556 else
   8557   xorg_cv_cc_flag_unknown_warning_option=no
   8558 fi
   8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8560 fi
   8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8564 	CFLAGS="$xorg_testset_save_CFLAGS"
   8565 fi
   8566 
   8567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8570 	fi
   8571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8575   $as_echo_n "(cached) " >&6
   8576 else
   8577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8578 /* end confdefs.h.  */
   8579 int i;
   8580 _ACEOF
   8581 if ac_fn_c_try_compile "$LINENO"; then :
   8582   xorg_cv_cc_flag_unused_command_line_argument=yes
   8583 else
   8584   xorg_cv_cc_flag_unused_command_line_argument=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8587 fi
   8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 found="no"
   8595 
   8596 	if test $found = "no" ; then
   8597 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 		fi
   8600 
   8601 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8603 		fi
   8604 
   8605 		CFLAGS="$CFLAGS -Wnonnull"
   8606 
   8607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8608 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8609 		cacheid=xorg_cv_cc_flag__Wnonnull
   8610 		if eval \${$cacheid+:} false; then :
   8611   $as_echo_n "(cached) " >&6
   8612 else
   8613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8614 /* end confdefs.h.  */
   8615 int i;
   8616 int
   8617 main ()
   8618 {
   8619 
   8620   ;
   8621   return 0;
   8622 }
   8623 _ACEOF
   8624 if ac_fn_c_try_link "$LINENO"; then :
   8625   eval $cacheid=yes
   8626 else
   8627   eval $cacheid=no
   8628 fi
   8629 rm -f core conftest.err conftest.$ac_objext \
   8630     conftest$ac_exeext conftest.$ac_ext
   8631 fi
   8632 
   8633 
   8634 		CFLAGS="$xorg_testset_save_CFLAGS"
   8635 
   8636 		eval supported=\$$cacheid
   8637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8638 $as_echo "$supported" >&6; }
   8639 		if test "$supported" = "yes" ; then
   8640 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8641 			found="yes"
   8642 		fi
   8643 	fi
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 xorg_testset_save_CFLAGS="$CFLAGS"
   8660 
   8661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8666   $as_echo_n "(cached) " >&6
   8667 else
   8668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 _ACEOF
   8672 if ac_fn_c_try_compile "$LINENO"; then :
   8673   xorg_cv_cc_flag_unknown_warning_option=yes
   8674 else
   8675   xorg_cv_cc_flag_unknown_warning_option=no
   8676 fi
   8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8678 fi
   8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8682 	CFLAGS="$xorg_testset_save_CFLAGS"
   8683 fi
   8684 
   8685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8688 	fi
   8689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8693   $as_echo_n "(cached) " >&6
   8694 else
   8695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8696 /* end confdefs.h.  */
   8697 int i;
   8698 _ACEOF
   8699 if ac_fn_c_try_compile "$LINENO"; then :
   8700   xorg_cv_cc_flag_unused_command_line_argument=yes
   8701 else
   8702   xorg_cv_cc_flag_unused_command_line_argument=no
   8703 fi
   8704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8705 fi
   8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8709 	CFLAGS="$xorg_testset_save_CFLAGS"
   8710 fi
   8711 
   8712 found="no"
   8713 
   8714 	if test $found = "no" ; then
   8715 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8717 		fi
   8718 
   8719 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8721 		fi
   8722 
   8723 		CFLAGS="$CFLAGS -Winit-self"
   8724 
   8725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8726 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8727 		cacheid=xorg_cv_cc_flag__Winit_self
   8728 		if eval \${$cacheid+:} false; then :
   8729   $as_echo_n "(cached) " >&6
   8730 else
   8731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8732 /* end confdefs.h.  */
   8733 int i;
   8734 int
   8735 main ()
   8736 {
   8737 
   8738   ;
   8739   return 0;
   8740 }
   8741 _ACEOF
   8742 if ac_fn_c_try_link "$LINENO"; then :
   8743   eval $cacheid=yes
   8744 else
   8745   eval $cacheid=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext \
   8748     conftest$ac_exeext conftest.$ac_ext
   8749 fi
   8750 
   8751 
   8752 		CFLAGS="$xorg_testset_save_CFLAGS"
   8753 
   8754 		eval supported=\$$cacheid
   8755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8756 $as_echo "$supported" >&6; }
   8757 		if test "$supported" = "yes" ; then
   8758 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8759 			found="yes"
   8760 		fi
   8761 	fi
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 xorg_testset_save_CFLAGS="$CFLAGS"
   8778 
   8779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8784   $as_echo_n "(cached) " >&6
   8785 else
   8786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8787 /* end confdefs.h.  */
   8788 int i;
   8789 _ACEOF
   8790 if ac_fn_c_try_compile "$LINENO"; then :
   8791   xorg_cv_cc_flag_unknown_warning_option=yes
   8792 else
   8793   xorg_cv_cc_flag_unknown_warning_option=no
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8796 fi
   8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8800 	CFLAGS="$xorg_testset_save_CFLAGS"
   8801 fi
   8802 
   8803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8806 	fi
   8807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8811   $as_echo_n "(cached) " >&6
   8812 else
   8813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 int i;
   8816 _ACEOF
   8817 if ac_fn_c_try_compile "$LINENO"; then :
   8818   xorg_cv_cc_flag_unused_command_line_argument=yes
   8819 else
   8820   xorg_cv_cc_flag_unused_command_line_argument=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8823 fi
   8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8827 	CFLAGS="$xorg_testset_save_CFLAGS"
   8828 fi
   8829 
   8830 found="no"
   8831 
   8832 	if test $found = "no" ; then
   8833 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8835 		fi
   8836 
   8837 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8839 		fi
   8840 
   8841 		CFLAGS="$CFLAGS -Wmain"
   8842 
   8843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8844 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8845 		cacheid=xorg_cv_cc_flag__Wmain
   8846 		if eval \${$cacheid+:} false; then :
   8847   $as_echo_n "(cached) " >&6
   8848 else
   8849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8850 /* end confdefs.h.  */
   8851 int i;
   8852 int
   8853 main ()
   8854 {
   8855 
   8856   ;
   8857   return 0;
   8858 }
   8859 _ACEOF
   8860 if ac_fn_c_try_link "$LINENO"; then :
   8861   eval $cacheid=yes
   8862 else
   8863   eval $cacheid=no
   8864 fi
   8865 rm -f core conftest.err conftest.$ac_objext \
   8866     conftest$ac_exeext conftest.$ac_ext
   8867 fi
   8868 
   8869 
   8870 		CFLAGS="$xorg_testset_save_CFLAGS"
   8871 
   8872 		eval supported=\$$cacheid
   8873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8874 $as_echo "$supported" >&6; }
   8875 		if test "$supported" = "yes" ; then
   8876 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8877 			found="yes"
   8878 		fi
   8879 	fi
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 xorg_testset_save_CFLAGS="$CFLAGS"
   8896 
   8897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8902   $as_echo_n "(cached) " >&6
   8903 else
   8904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8905 /* end confdefs.h.  */
   8906 int i;
   8907 _ACEOF
   8908 if ac_fn_c_try_compile "$LINENO"; then :
   8909   xorg_cv_cc_flag_unknown_warning_option=yes
   8910 else
   8911   xorg_cv_cc_flag_unknown_warning_option=no
   8912 fi
   8913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8914 fi
   8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8918 	CFLAGS="$xorg_testset_save_CFLAGS"
   8919 fi
   8920 
   8921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8924 	fi
   8925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"; then :
   8936   xorg_cv_cc_flag_unused_command_line_argument=yes
   8937 else
   8938   xorg_cv_cc_flag_unused_command_line_argument=no
   8939 fi
   8940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8941 fi
   8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8945 	CFLAGS="$xorg_testset_save_CFLAGS"
   8946 fi
   8947 
   8948 found="no"
   8949 
   8950 	if test $found = "no" ; then
   8951 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8953 		fi
   8954 
   8955 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8957 		fi
   8958 
   8959 		CFLAGS="$CFLAGS -Wmissing-braces"
   8960 
   8961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8962 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8963 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8964 		if eval \${$cacheid+:} false; then :
   8965   $as_echo_n "(cached) " >&6
   8966 else
   8967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8968 /* end confdefs.h.  */
   8969 int i;
   8970 int
   8971 main ()
   8972 {
   8973 
   8974   ;
   8975   return 0;
   8976 }
   8977 _ACEOF
   8978 if ac_fn_c_try_link "$LINENO"; then :
   8979   eval $cacheid=yes
   8980 else
   8981   eval $cacheid=no
   8982 fi
   8983 rm -f core conftest.err conftest.$ac_objext \
   8984     conftest$ac_exeext conftest.$ac_ext
   8985 fi
   8986 
   8987 
   8988 		CFLAGS="$xorg_testset_save_CFLAGS"
   8989 
   8990 		eval supported=\$$cacheid
   8991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8992 $as_echo "$supported" >&6; }
   8993 		if test "$supported" = "yes" ; then
   8994 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8995 			found="yes"
   8996 		fi
   8997 	fi
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 xorg_testset_save_CFLAGS="$CFLAGS"
   9014 
   9015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9020   $as_echo_n "(cached) " >&6
   9021 else
   9022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9023 /* end confdefs.h.  */
   9024 int i;
   9025 _ACEOF
   9026 if ac_fn_c_try_compile "$LINENO"; then :
   9027   xorg_cv_cc_flag_unknown_warning_option=yes
   9028 else
   9029   xorg_cv_cc_flag_unknown_warning_option=no
   9030 fi
   9031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9032 fi
   9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9036 	CFLAGS="$xorg_testset_save_CFLAGS"
   9037 fi
   9038 
   9039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9042 	fi
   9043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9047   $as_echo_n "(cached) " >&6
   9048 else
   9049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9050 /* end confdefs.h.  */
   9051 int i;
   9052 _ACEOF
   9053 if ac_fn_c_try_compile "$LINENO"; then :
   9054   xorg_cv_cc_flag_unused_command_line_argument=yes
   9055 else
   9056   xorg_cv_cc_flag_unused_command_line_argument=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9059 fi
   9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9063 	CFLAGS="$xorg_testset_save_CFLAGS"
   9064 fi
   9065 
   9066 found="no"
   9067 
   9068 	if test $found = "no" ; then
   9069 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9071 		fi
   9072 
   9073 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9075 		fi
   9076 
   9077 		CFLAGS="$CFLAGS -Wsequence-point"
   9078 
   9079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9080 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9081 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9082 		if eval \${$cacheid+:} false; then :
   9083   $as_echo_n "(cached) " >&6
   9084 else
   9085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9086 /* end confdefs.h.  */
   9087 int i;
   9088 int
   9089 main ()
   9090 {
   9091 
   9092   ;
   9093   return 0;
   9094 }
   9095 _ACEOF
   9096 if ac_fn_c_try_link "$LINENO"; then :
   9097   eval $cacheid=yes
   9098 else
   9099   eval $cacheid=no
   9100 fi
   9101 rm -f core conftest.err conftest.$ac_objext \
   9102     conftest$ac_exeext conftest.$ac_ext
   9103 fi
   9104 
   9105 
   9106 		CFLAGS="$xorg_testset_save_CFLAGS"
   9107 
   9108 		eval supported=\$$cacheid
   9109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9110 $as_echo "$supported" >&6; }
   9111 		if test "$supported" = "yes" ; then
   9112 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9113 			found="yes"
   9114 		fi
   9115 	fi
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 xorg_testset_save_CFLAGS="$CFLAGS"
   9132 
   9133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9138   $as_echo_n "(cached) " >&6
   9139 else
   9140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9141 /* end confdefs.h.  */
   9142 int i;
   9143 _ACEOF
   9144 if ac_fn_c_try_compile "$LINENO"; then :
   9145   xorg_cv_cc_flag_unknown_warning_option=yes
   9146 else
   9147   xorg_cv_cc_flag_unknown_warning_option=no
   9148 fi
   9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9150 fi
   9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9154 	CFLAGS="$xorg_testset_save_CFLAGS"
   9155 fi
   9156 
   9157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9160 	fi
   9161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9165   $as_echo_n "(cached) " >&6
   9166 else
   9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 _ACEOF
   9171 if ac_fn_c_try_compile "$LINENO"; then :
   9172   xorg_cv_cc_flag_unused_command_line_argument=yes
   9173 else
   9174   xorg_cv_cc_flag_unused_command_line_argument=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9177 fi
   9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9181 	CFLAGS="$xorg_testset_save_CFLAGS"
   9182 fi
   9183 
   9184 found="no"
   9185 
   9186 	if test $found = "no" ; then
   9187 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 		fi
   9190 
   9191 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9193 		fi
   9194 
   9195 		CFLAGS="$CFLAGS -Wreturn-type"
   9196 
   9197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9198 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9199 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9200 		if eval \${$cacheid+:} false; then :
   9201   $as_echo_n "(cached) " >&6
   9202 else
   9203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9204 /* end confdefs.h.  */
   9205 int i;
   9206 int
   9207 main ()
   9208 {
   9209 
   9210   ;
   9211   return 0;
   9212 }
   9213 _ACEOF
   9214 if ac_fn_c_try_link "$LINENO"; then :
   9215   eval $cacheid=yes
   9216 else
   9217   eval $cacheid=no
   9218 fi
   9219 rm -f core conftest.err conftest.$ac_objext \
   9220     conftest$ac_exeext conftest.$ac_ext
   9221 fi
   9222 
   9223 
   9224 		CFLAGS="$xorg_testset_save_CFLAGS"
   9225 
   9226 		eval supported=\$$cacheid
   9227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9228 $as_echo "$supported" >&6; }
   9229 		if test "$supported" = "yes" ; then
   9230 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9231 			found="yes"
   9232 		fi
   9233 	fi
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 xorg_testset_save_CFLAGS="$CFLAGS"
   9250 
   9251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9256   $as_echo_n "(cached) " >&6
   9257 else
   9258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9259 /* end confdefs.h.  */
   9260 int i;
   9261 _ACEOF
   9262 if ac_fn_c_try_compile "$LINENO"; then :
   9263   xorg_cv_cc_flag_unknown_warning_option=yes
   9264 else
   9265   xorg_cv_cc_flag_unknown_warning_option=no
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9268 fi
   9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9272 	CFLAGS="$xorg_testset_save_CFLAGS"
   9273 fi
   9274 
   9275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9278 	fi
   9279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9283   $as_echo_n "(cached) " >&6
   9284 else
   9285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9286 /* end confdefs.h.  */
   9287 int i;
   9288 _ACEOF
   9289 if ac_fn_c_try_compile "$LINENO"; then :
   9290   xorg_cv_cc_flag_unused_command_line_argument=yes
   9291 else
   9292   xorg_cv_cc_flag_unused_command_line_argument=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9295 fi
   9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9299 	CFLAGS="$xorg_testset_save_CFLAGS"
   9300 fi
   9301 
   9302 found="no"
   9303 
   9304 	if test $found = "no" ; then
   9305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9307 		fi
   9308 
   9309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9311 		fi
   9312 
   9313 		CFLAGS="$CFLAGS -Wtrigraphs"
   9314 
   9315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9316 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9317 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9318 		if eval \${$cacheid+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 int
   9325 main ()
   9326 {
   9327 
   9328   ;
   9329   return 0;
   9330 }
   9331 _ACEOF
   9332 if ac_fn_c_try_link "$LINENO"; then :
   9333   eval $cacheid=yes
   9334 else
   9335   eval $cacheid=no
   9336 fi
   9337 rm -f core conftest.err conftest.$ac_objext \
   9338     conftest$ac_exeext conftest.$ac_ext
   9339 fi
   9340 
   9341 
   9342 		CFLAGS="$xorg_testset_save_CFLAGS"
   9343 
   9344 		eval supported=\$$cacheid
   9345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9346 $as_echo "$supported" >&6; }
   9347 		if test "$supported" = "yes" ; then
   9348 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9349 			found="yes"
   9350 		fi
   9351 	fi
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 xorg_testset_save_CFLAGS="$CFLAGS"
   9368 
   9369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9374   $as_echo_n "(cached) " >&6
   9375 else
   9376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9377 /* end confdefs.h.  */
   9378 int i;
   9379 _ACEOF
   9380 if ac_fn_c_try_compile "$LINENO"; then :
   9381   xorg_cv_cc_flag_unknown_warning_option=yes
   9382 else
   9383   xorg_cv_cc_flag_unknown_warning_option=no
   9384 fi
   9385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9386 fi
   9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9390 	CFLAGS="$xorg_testset_save_CFLAGS"
   9391 fi
   9392 
   9393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9396 	fi
   9397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9401   $as_echo_n "(cached) " >&6
   9402 else
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"; then :
   9408   xorg_cv_cc_flag_unused_command_line_argument=yes
   9409 else
   9410   xorg_cv_cc_flag_unused_command_line_argument=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9413 fi
   9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9417 	CFLAGS="$xorg_testset_save_CFLAGS"
   9418 fi
   9419 
   9420 found="no"
   9421 
   9422 	if test $found = "no" ; then
   9423 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 		fi
   9426 
   9427 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9429 		fi
   9430 
   9431 		CFLAGS="$CFLAGS -Warray-bounds"
   9432 
   9433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9434 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9435 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9436 		if eval \${$cacheid+:} false; then :
   9437   $as_echo_n "(cached) " >&6
   9438 else
   9439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9440 /* end confdefs.h.  */
   9441 int i;
   9442 int
   9443 main ()
   9444 {
   9445 
   9446   ;
   9447   return 0;
   9448 }
   9449 _ACEOF
   9450 if ac_fn_c_try_link "$LINENO"; then :
   9451   eval $cacheid=yes
   9452 else
   9453   eval $cacheid=no
   9454 fi
   9455 rm -f core conftest.err conftest.$ac_objext \
   9456     conftest$ac_exeext conftest.$ac_ext
   9457 fi
   9458 
   9459 
   9460 		CFLAGS="$xorg_testset_save_CFLAGS"
   9461 
   9462 		eval supported=\$$cacheid
   9463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9464 $as_echo "$supported" >&6; }
   9465 		if test "$supported" = "yes" ; then
   9466 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9467 			found="yes"
   9468 		fi
   9469 	fi
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 xorg_testset_save_CFLAGS="$CFLAGS"
   9486 
   9487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9492   $as_echo_n "(cached) " >&6
   9493 else
   9494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9495 /* end confdefs.h.  */
   9496 int i;
   9497 _ACEOF
   9498 if ac_fn_c_try_compile "$LINENO"; then :
   9499   xorg_cv_cc_flag_unknown_warning_option=yes
   9500 else
   9501   xorg_cv_cc_flag_unknown_warning_option=no
   9502 fi
   9503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9504 fi
   9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9508 	CFLAGS="$xorg_testset_save_CFLAGS"
   9509 fi
   9510 
   9511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9514 	fi
   9515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9519   $as_echo_n "(cached) " >&6
   9520 else
   9521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int i;
   9524 _ACEOF
   9525 if ac_fn_c_try_compile "$LINENO"; then :
   9526   xorg_cv_cc_flag_unused_command_line_argument=yes
   9527 else
   9528   xorg_cv_cc_flag_unused_command_line_argument=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9531 fi
   9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9535 	CFLAGS="$xorg_testset_save_CFLAGS"
   9536 fi
   9537 
   9538 found="no"
   9539 
   9540 	if test $found = "no" ; then
   9541 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9543 		fi
   9544 
   9545 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9547 		fi
   9548 
   9549 		CFLAGS="$CFLAGS -Wwrite-strings"
   9550 
   9551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9552 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9553 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9554 		if eval \${$cacheid+:} false; then :
   9555   $as_echo_n "(cached) " >&6
   9556 else
   9557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 int
   9561 main ()
   9562 {
   9563 
   9564   ;
   9565   return 0;
   9566 }
   9567 _ACEOF
   9568 if ac_fn_c_try_link "$LINENO"; then :
   9569   eval $cacheid=yes
   9570 else
   9571   eval $cacheid=no
   9572 fi
   9573 rm -f core conftest.err conftest.$ac_objext \
   9574     conftest$ac_exeext conftest.$ac_ext
   9575 fi
   9576 
   9577 
   9578 		CFLAGS="$xorg_testset_save_CFLAGS"
   9579 
   9580 		eval supported=\$$cacheid
   9581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9582 $as_echo "$supported" >&6; }
   9583 		if test "$supported" = "yes" ; then
   9584 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9585 			found="yes"
   9586 		fi
   9587 	fi
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 xorg_testset_save_CFLAGS="$CFLAGS"
   9604 
   9605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9610   $as_echo_n "(cached) " >&6
   9611 else
   9612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9613 /* end confdefs.h.  */
   9614 int i;
   9615 _ACEOF
   9616 if ac_fn_c_try_compile "$LINENO"; then :
   9617   xorg_cv_cc_flag_unknown_warning_option=yes
   9618 else
   9619   xorg_cv_cc_flag_unknown_warning_option=no
   9620 fi
   9621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9622 fi
   9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9626 	CFLAGS="$xorg_testset_save_CFLAGS"
   9627 fi
   9628 
   9629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9632 	fi
   9633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9637   $as_echo_n "(cached) " >&6
   9638 else
   9639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 _ACEOF
   9643 if ac_fn_c_try_compile "$LINENO"; then :
   9644   xorg_cv_cc_flag_unused_command_line_argument=yes
   9645 else
   9646   xorg_cv_cc_flag_unused_command_line_argument=no
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9649 fi
   9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9653 	CFLAGS="$xorg_testset_save_CFLAGS"
   9654 fi
   9655 
   9656 found="no"
   9657 
   9658 	if test $found = "no" ; then
   9659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9661 		fi
   9662 
   9663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9665 		fi
   9666 
   9667 		CFLAGS="$CFLAGS -Waddress"
   9668 
   9669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9670 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9671 		cacheid=xorg_cv_cc_flag__Waddress
   9672 		if eval \${$cacheid+:} false; then :
   9673   $as_echo_n "(cached) " >&6
   9674 else
   9675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9676 /* end confdefs.h.  */
   9677 int i;
   9678 int
   9679 main ()
   9680 {
   9681 
   9682   ;
   9683   return 0;
   9684 }
   9685 _ACEOF
   9686 if ac_fn_c_try_link "$LINENO"; then :
   9687   eval $cacheid=yes
   9688 else
   9689   eval $cacheid=no
   9690 fi
   9691 rm -f core conftest.err conftest.$ac_objext \
   9692     conftest$ac_exeext conftest.$ac_ext
   9693 fi
   9694 
   9695 
   9696 		CFLAGS="$xorg_testset_save_CFLAGS"
   9697 
   9698 		eval supported=\$$cacheid
   9699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9700 $as_echo "$supported" >&6; }
   9701 		if test "$supported" = "yes" ; then
   9702 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9703 			found="yes"
   9704 		fi
   9705 	fi
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 xorg_testset_save_CFLAGS="$CFLAGS"
   9722 
   9723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9728   $as_echo_n "(cached) " >&6
   9729 else
   9730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9731 /* end confdefs.h.  */
   9732 int i;
   9733 _ACEOF
   9734 if ac_fn_c_try_compile "$LINENO"; then :
   9735   xorg_cv_cc_flag_unknown_warning_option=yes
   9736 else
   9737   xorg_cv_cc_flag_unknown_warning_option=no
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9740 fi
   9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9744 	CFLAGS="$xorg_testset_save_CFLAGS"
   9745 fi
   9746 
   9747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9750 	fi
   9751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9755   $as_echo_n "(cached) " >&6
   9756 else
   9757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 _ACEOF
   9761 if ac_fn_c_try_compile "$LINENO"; then :
   9762   xorg_cv_cc_flag_unused_command_line_argument=yes
   9763 else
   9764   xorg_cv_cc_flag_unused_command_line_argument=no
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9767 fi
   9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9771 	CFLAGS="$xorg_testset_save_CFLAGS"
   9772 fi
   9773 
   9774 found="no"
   9775 
   9776 	if test $found = "no" ; then
   9777 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9779 		fi
   9780 
   9781 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9783 		fi
   9784 
   9785 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9786 
   9787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9788 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9789 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9790 		if eval \${$cacheid+:} false; then :
   9791   $as_echo_n "(cached) " >&6
   9792 else
   9793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9794 /* end confdefs.h.  */
   9795 int i;
   9796 int
   9797 main ()
   9798 {
   9799 
   9800   ;
   9801   return 0;
   9802 }
   9803 _ACEOF
   9804 if ac_fn_c_try_link "$LINENO"; then :
   9805   eval $cacheid=yes
   9806 else
   9807   eval $cacheid=no
   9808 fi
   9809 rm -f core conftest.err conftest.$ac_objext \
   9810     conftest$ac_exeext conftest.$ac_ext
   9811 fi
   9812 
   9813 
   9814 		CFLAGS="$xorg_testset_save_CFLAGS"
   9815 
   9816 		eval supported=\$$cacheid
   9817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9818 $as_echo "$supported" >&6; }
   9819 		if test "$supported" = "yes" ; then
   9820 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9821 			found="yes"
   9822 		fi
   9823 	fi
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 xorg_testset_save_CFLAGS="$CFLAGS"
   9840 
   9841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9846   $as_echo_n "(cached) " >&6
   9847 else
   9848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9849 /* end confdefs.h.  */
   9850 int i;
   9851 _ACEOF
   9852 if ac_fn_c_try_compile "$LINENO"; then :
   9853   xorg_cv_cc_flag_unknown_warning_option=yes
   9854 else
   9855   xorg_cv_cc_flag_unknown_warning_option=no
   9856 fi
   9857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9858 fi
   9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9862 	CFLAGS="$xorg_testset_save_CFLAGS"
   9863 fi
   9864 
   9865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9868 	fi
   9869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9873   $as_echo_n "(cached) " >&6
   9874 else
   9875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9876 /* end confdefs.h.  */
   9877 int i;
   9878 _ACEOF
   9879 if ac_fn_c_try_compile "$LINENO"; then :
   9880   xorg_cv_cc_flag_unused_command_line_argument=yes
   9881 else
   9882   xorg_cv_cc_flag_unused_command_line_argument=no
   9883 fi
   9884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9885 fi
   9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9889 	CFLAGS="$xorg_testset_save_CFLAGS"
   9890 fi
   9891 
   9892 found="no"
   9893 
   9894 	if test $found = "no" ; then
   9895 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9897 		fi
   9898 
   9899 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9901 		fi
   9902 
   9903 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9904 
   9905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9906 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9907 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9908 		if eval \${$cacheid+:} false; then :
   9909   $as_echo_n "(cached) " >&6
   9910 else
   9911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9912 /* end confdefs.h.  */
   9913 int i;
   9914 int
   9915 main ()
   9916 {
   9917 
   9918   ;
   9919   return 0;
   9920 }
   9921 _ACEOF
   9922 if ac_fn_c_try_link "$LINENO"; then :
   9923   eval $cacheid=yes
   9924 else
   9925   eval $cacheid=no
   9926 fi
   9927 rm -f core conftest.err conftest.$ac_objext \
   9928     conftest$ac_exeext conftest.$ac_ext
   9929 fi
   9930 
   9931 
   9932 		CFLAGS="$xorg_testset_save_CFLAGS"
   9933 
   9934 		eval supported=\$$cacheid
   9935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9936 $as_echo "$supported" >&6; }
   9937 		if test "$supported" = "yes" ; then
   9938 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9939 			found="yes"
   9940 		fi
   9941 	fi
   9942 
   9943 
   9944 fi
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 		CWARNFLAGS="$BASE_CFLAGS"
   9953 		if  test "x$GCC" = xyes ; then
   9954 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9955 		fi
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 # Check whether --enable-strict-compilation was given.
   9965 if test "${enable_strict_compilation+set}" = set; then :
   9966   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9967 else
   9968   STRICT_COMPILE=no
   9969 fi
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 STRICT_CFLAGS=""
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 xorg_testset_save_CFLAGS="$CFLAGS"
   9991 
   9992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9995 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9996 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9997   $as_echo_n "(cached) " >&6
   9998 else
   9999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10000 /* end confdefs.h.  */
   10001 int i;
   10002 _ACEOF
   10003 if ac_fn_c_try_compile "$LINENO"; then :
   10004   xorg_cv_cc_flag_unknown_warning_option=yes
   10005 else
   10006   xorg_cv_cc_flag_unknown_warning_option=no
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10009 fi
   10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10011 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10013 	CFLAGS="$xorg_testset_save_CFLAGS"
   10014 fi
   10015 
   10016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 	fi
   10020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10022 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10023 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10024   $as_echo_n "(cached) " >&6
   10025 else
   10026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10027 /* end confdefs.h.  */
   10028 int i;
   10029 _ACEOF
   10030 if ac_fn_c_try_compile "$LINENO"; then :
   10031   xorg_cv_cc_flag_unused_command_line_argument=yes
   10032 else
   10033   xorg_cv_cc_flag_unused_command_line_argument=no
   10034 fi
   10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10036 fi
   10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10038 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10040 	CFLAGS="$xorg_testset_save_CFLAGS"
   10041 fi
   10042 
   10043 found="no"
   10044 
   10045 	if test $found = "no" ; then
   10046 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10048 		fi
   10049 
   10050 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 		fi
   10053 
   10054 		CFLAGS="$CFLAGS -pedantic"
   10055 
   10056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10057 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10058 		cacheid=xorg_cv_cc_flag__pedantic
   10059 		if eval \${$cacheid+:} false; then :
   10060   $as_echo_n "(cached) " >&6
   10061 else
   10062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10063 /* end confdefs.h.  */
   10064 int i;
   10065 int
   10066 main ()
   10067 {
   10068 
   10069   ;
   10070   return 0;
   10071 }
   10072 _ACEOF
   10073 if ac_fn_c_try_link "$LINENO"; then :
   10074   eval $cacheid=yes
   10075 else
   10076   eval $cacheid=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext \
   10079     conftest$ac_exeext conftest.$ac_ext
   10080 fi
   10081 
   10082 
   10083 		CFLAGS="$xorg_testset_save_CFLAGS"
   10084 
   10085 		eval supported=\$$cacheid
   10086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10087 $as_echo "$supported" >&6; }
   10088 		if test "$supported" = "yes" ; then
   10089 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10090 			found="yes"
   10091 		fi
   10092 	fi
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 xorg_testset_save_CFLAGS="$CFLAGS"
   10109 
   10110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10113 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10114 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10115   $as_echo_n "(cached) " >&6
   10116 else
   10117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10118 /* end confdefs.h.  */
   10119 int i;
   10120 _ACEOF
   10121 if ac_fn_c_try_compile "$LINENO"; then :
   10122   xorg_cv_cc_flag_unknown_warning_option=yes
   10123 else
   10124   xorg_cv_cc_flag_unknown_warning_option=no
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10127 fi
   10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10129 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10131 	CFLAGS="$xorg_testset_save_CFLAGS"
   10132 fi
   10133 
   10134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	fi
   10138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10140 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10141 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10142   $as_echo_n "(cached) " >&6
   10143 else
   10144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10145 /* end confdefs.h.  */
   10146 int i;
   10147 _ACEOF
   10148 if ac_fn_c_try_compile "$LINENO"; then :
   10149   xorg_cv_cc_flag_unused_command_line_argument=yes
   10150 else
   10151   xorg_cv_cc_flag_unused_command_line_argument=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10154 fi
   10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10156 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10158 	CFLAGS="$xorg_testset_save_CFLAGS"
   10159 fi
   10160 
   10161 found="no"
   10162 
   10163 	if test $found = "no" ; then
   10164 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10166 		fi
   10167 
   10168 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10170 		fi
   10171 
   10172 		CFLAGS="$CFLAGS -Werror"
   10173 
   10174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10175 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10176 		cacheid=xorg_cv_cc_flag__Werror
   10177 		if eval \${$cacheid+:} false; then :
   10178   $as_echo_n "(cached) " >&6
   10179 else
   10180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 int i;
   10183 int
   10184 main ()
   10185 {
   10186 
   10187   ;
   10188   return 0;
   10189 }
   10190 _ACEOF
   10191 if ac_fn_c_try_link "$LINENO"; then :
   10192   eval $cacheid=yes
   10193 else
   10194   eval $cacheid=no
   10195 fi
   10196 rm -f core conftest.err conftest.$ac_objext \
   10197     conftest$ac_exeext conftest.$ac_ext
   10198 fi
   10199 
   10200 
   10201 		CFLAGS="$xorg_testset_save_CFLAGS"
   10202 
   10203 		eval supported=\$$cacheid
   10204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10205 $as_echo "$supported" >&6; }
   10206 		if test "$supported" = "yes" ; then
   10207 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10208 			found="yes"
   10209 		fi
   10210 	fi
   10211 
   10212 	if test $found = "no" ; then
   10213 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 		fi
   10216 
   10217 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10219 		fi
   10220 
   10221 		CFLAGS="$CFLAGS -errwarn"
   10222 
   10223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10224 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10225 		cacheid=xorg_cv_cc_flag__errwarn
   10226 		if eval \${$cacheid+:} false; then :
   10227   $as_echo_n "(cached) " >&6
   10228 else
   10229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10230 /* end confdefs.h.  */
   10231 int i;
   10232 int
   10233 main ()
   10234 {
   10235 
   10236   ;
   10237   return 0;
   10238 }
   10239 _ACEOF
   10240 if ac_fn_c_try_link "$LINENO"; then :
   10241   eval $cacheid=yes
   10242 else
   10243   eval $cacheid=no
   10244 fi
   10245 rm -f core conftest.err conftest.$ac_objext \
   10246     conftest$ac_exeext conftest.$ac_ext
   10247 fi
   10248 
   10249 
   10250 		CFLAGS="$xorg_testset_save_CFLAGS"
   10251 
   10252 		eval supported=\$$cacheid
   10253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10254 $as_echo "$supported" >&6; }
   10255 		if test "$supported" = "yes" ; then
   10256 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10257 			found="yes"
   10258 		fi
   10259 	fi
   10260 
   10261 
   10262 
   10263 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10264 # activate it with -Werror, so we add it here explicitly.
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 xorg_testset_save_CFLAGS="$CFLAGS"
   10279 
   10280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10283 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10284 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10285   $as_echo_n "(cached) " >&6
   10286 else
   10287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10288 /* end confdefs.h.  */
   10289 int i;
   10290 _ACEOF
   10291 if ac_fn_c_try_compile "$LINENO"; then :
   10292   xorg_cv_cc_flag_unknown_warning_option=yes
   10293 else
   10294   xorg_cv_cc_flag_unknown_warning_option=no
   10295 fi
   10296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10297 fi
   10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10299 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10301 	CFLAGS="$xorg_testset_save_CFLAGS"
   10302 fi
   10303 
   10304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10307 	fi
   10308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10310 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10311 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10312   $as_echo_n "(cached) " >&6
   10313 else
   10314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10315 /* end confdefs.h.  */
   10316 int i;
   10317 _ACEOF
   10318 if ac_fn_c_try_compile "$LINENO"; then :
   10319   xorg_cv_cc_flag_unused_command_line_argument=yes
   10320 else
   10321   xorg_cv_cc_flag_unused_command_line_argument=no
   10322 fi
   10323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10324 fi
   10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10326 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10328 	CFLAGS="$xorg_testset_save_CFLAGS"
   10329 fi
   10330 
   10331 found="no"
   10332 
   10333 	if test $found = "no" ; then
   10334 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10336 		fi
   10337 
   10338 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10340 		fi
   10341 
   10342 		CFLAGS="$CFLAGS -Werror=attributes"
   10343 
   10344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10345 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10346 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10347 		if eval \${$cacheid+:} false; then :
   10348   $as_echo_n "(cached) " >&6
   10349 else
   10350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10351 /* end confdefs.h.  */
   10352 int i;
   10353 int
   10354 main ()
   10355 {
   10356 
   10357   ;
   10358   return 0;
   10359 }
   10360 _ACEOF
   10361 if ac_fn_c_try_link "$LINENO"; then :
   10362   eval $cacheid=yes
   10363 else
   10364   eval $cacheid=no
   10365 fi
   10366 rm -f core conftest.err conftest.$ac_objext \
   10367     conftest$ac_exeext conftest.$ac_ext
   10368 fi
   10369 
   10370 
   10371 		CFLAGS="$xorg_testset_save_CFLAGS"
   10372 
   10373 		eval supported=\$$cacheid
   10374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10375 $as_echo "$supported" >&6; }
   10376 		if test "$supported" = "yes" ; then
   10377 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10378 			found="yes"
   10379 		fi
   10380 	fi
   10381 
   10382 
   10383 
   10384 if test "x$STRICT_COMPILE" = "xyes"; then
   10385     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10386     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10387 fi
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 cat >>confdefs.h <<_ACEOF
   10395 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10396 _ACEOF
   10397 
   10398 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10399 	if test "x$PVM" = "x"; then
   10400 		PVM="0"
   10401 	fi
   10402 
   10403 cat >>confdefs.h <<_ACEOF
   10404 #define PACKAGE_VERSION_MINOR $PVM
   10405 _ACEOF
   10406 
   10407 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10408 	if test "x$PVP" = "x"; then
   10409 		PVP="0"
   10410 	fi
   10411 
   10412 cat >>confdefs.h <<_ACEOF
   10413 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10414 _ACEOF
   10415 
   10416 
   10417 
   10418 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10419 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10420 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10421 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10422 
   10423 
   10424 
   10425 
   10426 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10427 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10428 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10429 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10430 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 if test x$APP_MAN_SUFFIX = x    ; then
   10438     APP_MAN_SUFFIX=1
   10439 fi
   10440 if test x$APP_MAN_DIR = x    ; then
   10441     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10442 fi
   10443 
   10444 if test x$LIB_MAN_SUFFIX = x    ; then
   10445     LIB_MAN_SUFFIX=3
   10446 fi
   10447 if test x$LIB_MAN_DIR = x    ; then
   10448     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10449 fi
   10450 
   10451 if test x$FILE_MAN_SUFFIX = x    ; then
   10452     case $host_os in
   10453 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10454 	*)		FILE_MAN_SUFFIX=5  ;;
   10455     esac
   10456 fi
   10457 if test x$FILE_MAN_DIR = x    ; then
   10458     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10459 fi
   10460 
   10461 if test x$MISC_MAN_SUFFIX = x    ; then
   10462     case $host_os in
   10463 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10464 	*)		MISC_MAN_SUFFIX=7  ;;
   10465     esac
   10466 fi
   10467 if test x$MISC_MAN_DIR = x    ; then
   10468     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10469 fi
   10470 
   10471 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10472     case $host_os in
   10473 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10474 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10475     esac
   10476 fi
   10477 if test x$DRIVER_MAN_DIR = x    ; then
   10478     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10479 fi
   10480 
   10481 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10482     case $host_os in
   10483 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10484 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10485     esac
   10486 fi
   10487 if test x$ADMIN_MAN_DIR = x    ; then
   10488     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10489 fi
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 XORG_MAN_PAGE="X Version 11"
   10506 
   10507 MAN_SUBSTS="\
   10508 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10509 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10510 	-e 's|__xservername__|Xorg|g' \
   10511 	-e 's|__xconfigfile__|xorg.conf|g' \
   10512 	-e 's|__projectroot__|\$(prefix)|g' \
   10513 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10514 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10515 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10516 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10517 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10518 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10519 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10520 
   10521 
   10522 
   10523 # Check whether --enable-silent-rules was given.
   10524 if test "${enable_silent_rules+set}" = set; then :
   10525   enableval=$enable_silent_rules;
   10526 fi
   10527 
   10528 case $enable_silent_rules in # (((
   10529   yes) AM_DEFAULT_VERBOSITY=0;;
   10530    no) AM_DEFAULT_VERBOSITY=1;;
   10531     *) AM_DEFAULT_VERBOSITY=0;;
   10532 esac
   10533 am_make=${MAKE-make}
   10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10535 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10536 if ${am_cv_make_support_nested_variables+:} false; then :
   10537   $as_echo_n "(cached) " >&6
   10538 else
   10539   if $as_echo 'TRUE=$(BAR$(V))
   10540 BAR0=false
   10541 BAR1=true
   10542 V=1
   10543 am__doit:
   10544 	@$(TRUE)
   10545 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10546   am_cv_make_support_nested_variables=yes
   10547 else
   10548   am_cv_make_support_nested_variables=no
   10549 fi
   10550 fi
   10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10552 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10553 if test $am_cv_make_support_nested_variables = yes; then
   10554     AM_V='$(V)'
   10555   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10556 else
   10557   AM_V=$AM_DEFAULT_VERBOSITY
   10558   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10559 fi
   10560 AM_BACKSLASH='\'
   10561 
   10562 
   10563 
   10564 # Checks for pkg-config packages
   10565 
   10566 pkg_failed=no
   10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICEAUTH" >&5
   10568 $as_echo_n "checking for ICEAUTH... " >&6; }
   10569 
   10570 if test -n "$ICEAUTH_CFLAGS"; then
   10571     pkg_cv_ICEAUTH_CFLAGS="$ICEAUTH_CFLAGS"
   10572  elif test -n "$PKG_CONFIG"; then
   10573     if test -n "$PKG_CONFIG" && \
   10574     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   10575   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   10576   ac_status=$?
   10577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10578   test $ac_status = 0; }; then
   10579   pkg_cv_ICEAUTH_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 ice" 2>/dev/null`
   10580 else
   10581   pkg_failed=yes
   10582 fi
   10583  else
   10584     pkg_failed=untried
   10585 fi
   10586 if test -n "$ICEAUTH_LIBS"; then
   10587     pkg_cv_ICEAUTH_LIBS="$ICEAUTH_LIBS"
   10588  elif test -n "$PKG_CONFIG"; then
   10589     if test -n "$PKG_CONFIG" && \
   10590     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 ice\""; } >&5
   10591   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 ice") 2>&5
   10592   ac_status=$?
   10593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10594   test $ac_status = 0; }; then
   10595   pkg_cv_ICEAUTH_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 ice" 2>/dev/null`
   10596 else
   10597   pkg_failed=yes
   10598 fi
   10599  else
   10600     pkg_failed=untried
   10601 fi
   10602 
   10603 
   10604 
   10605 if test $pkg_failed = yes; then
   10606 
   10607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10608         _pkg_short_errors_supported=yes
   10609 else
   10610         _pkg_short_errors_supported=no
   10611 fi
   10612         if test $_pkg_short_errors_supported = yes; then
   10613 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.22 ice" 2>&1`
   10614         else
   10615 	        ICEAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.22 ice" 2>&1`
   10616         fi
   10617 	# Put the nasty error message in config.log where it belongs
   10618 	echo "$ICEAUTH_PKG_ERRORS" >&5
   10619 
   10620 	as_fn_error $? "Package requirements (xproto >= 7.0.22 ice) were not met:
   10621 
   10622 $ICEAUTH_PKG_ERRORS
   10623 
   10624 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10625 installed software in a non-standard prefix.
   10626 
   10627 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   10628 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   10629 See the pkg-config man page for more details.
   10630 " "$LINENO" 5
   10631 elif test $pkg_failed = untried; then
   10632 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10634 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10635 is in your PATH or set the PKG_CONFIG environment variable to the full
   10636 path to pkg-config.
   10637 
   10638 Alternatively, you may set the environment variables ICEAUTH_CFLAGS
   10639 and ICEAUTH_LIBS to avoid the need to call pkg-config.
   10640 See the pkg-config man page for more details.
   10641 
   10642 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10643 See \`config.log' for more details" "$LINENO" 5; }
   10644 else
   10645 	ICEAUTH_CFLAGS=$pkg_cv_ICEAUTH_CFLAGS
   10646 	ICEAUTH_LIBS=$pkg_cv_ICEAUTH_LIBS
   10647         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10648 $as_echo "yes" >&6; }
   10649 	:
   10650 fi
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 # Check whether --with-lint was given.
   10658 if test "${with_lint+set}" = set; then :
   10659   withval=$with_lint; use_lint=$withval
   10660 else
   10661   use_lint=no
   10662 fi
   10663 
   10664 
   10665 # Obtain platform specific info like program name and options
   10666 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10667 case $host_os in
   10668   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10669 	lint_name=splint
   10670 	lint_options="-badflag"
   10671 	;;
   10672   *freebsd* | *netbsd*)
   10673 	lint_name=lint
   10674 	lint_options="-u -b"
   10675 	;;
   10676   *solaris*)
   10677 	lint_name=lint
   10678 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10679 	;;
   10680 esac
   10681 
   10682 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10683 if test "x$use_lint" = x"yes" ; then
   10684    # Extract the first word of "$lint_name", so it can be a program name with args.
   10685 set dummy $lint_name; ac_word=$2
   10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10687 $as_echo_n "checking for $ac_word... " >&6; }
   10688 if ${ac_cv_path_LINT+:} false; then :
   10689   $as_echo_n "(cached) " >&6
   10690 else
   10691   case $LINT in
   10692   [\\/]* | ?:[\\/]*)
   10693   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10694   ;;
   10695   *)
   10696   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10697 for as_dir in $PATH
   10698 do
   10699   IFS=$as_save_IFS
   10700   test -z "$as_dir" && as_dir=.
   10701     for ac_exec_ext in '' $ac_executable_extensions; do
   10702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10703     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10705     break 2
   10706   fi
   10707 done
   10708   done
   10709 IFS=$as_save_IFS
   10710 
   10711   ;;
   10712 esac
   10713 fi
   10714 LINT=$ac_cv_path_LINT
   10715 if test -n "$LINT"; then
   10716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10717 $as_echo "$LINT" >&6; }
   10718 else
   10719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10720 $as_echo "no" >&6; }
   10721 fi
   10722 
   10723 
   10724    if test "x$LINT" = "x"; then
   10725         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10726    fi
   10727 elif test "x$use_lint" = x"no" ; then
   10728    if test "x$LINT" != "x"; then
   10729       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10730 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10731    fi
   10732 else
   10733    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10734 fi
   10735 
   10736 # User supplied flags override default flags
   10737 if test "x$LINT_FLAGS" != "x"; then
   10738    lint_options=$LINT_FLAGS
   10739 fi
   10740 
   10741 LINT_FLAGS=$lint_options
   10742 
   10743  if test "x$LINT" != x; then
   10744   LINT_TRUE=
   10745   LINT_FALSE='#'
   10746 else
   10747   LINT_TRUE='#'
   10748   LINT_FALSE=
   10749 fi
   10750 
   10751 
   10752 
   10753 
   10754 ac_config_files="$ac_config_files Makefile man/Makefile"
   10755 
   10756 cat >confcache <<\_ACEOF
   10757 # This file is a shell script that caches the results of configure
   10758 # tests run on this system so they can be shared between configure
   10759 # scripts and configure runs, see configure's option --config-cache.
   10760 # It is not useful on other systems.  If it contains results you don't
   10761 # want to keep, you may remove or edit it.
   10762 #
   10763 # config.status only pays attention to the cache file if you give it
   10764 # the --recheck option to rerun configure.
   10765 #
   10766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10768 # following values.
   10769 
   10770 _ACEOF
   10771 
   10772 # The following way of writing the cache mishandles newlines in values,
   10773 # but we know of no workaround that is simple, portable, and efficient.
   10774 # So, we kill variables containing newlines.
   10775 # Ultrix sh set writes to stderr and can't be redirected directly,
   10776 # and sets the high bit in the cache file unless we assign to the vars.
   10777 (
   10778   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10779     eval ac_val=\$$ac_var
   10780     case $ac_val in #(
   10781     *${as_nl}*)
   10782       case $ac_var in #(
   10783       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10784 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10785       esac
   10786       case $ac_var in #(
   10787       _ | IFS | as_nl) ;; #(
   10788       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10789       *) { eval $ac_var=; unset $ac_var;} ;;
   10790       esac ;;
   10791     esac
   10792   done
   10793 
   10794   (set) 2>&1 |
   10795     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10796     *${as_nl}ac_space=\ *)
   10797       # `set' does not quote correctly, so add quotes: double-quote
   10798       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10799       sed -n \
   10800 	"s/'/'\\\\''/g;
   10801 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10802       ;; #(
   10803     *)
   10804       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10805       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10806       ;;
   10807     esac |
   10808     sort
   10809 ) |
   10810   sed '
   10811      /^ac_cv_env_/b end
   10812      t clear
   10813      :clear
   10814      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10815      t end
   10816      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10817      :end' >>confcache
   10818 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10819   if test -w "$cache_file"; then
   10820     if test "x$cache_file" != "x/dev/null"; then
   10821       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10822 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10823       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10824 	cat confcache >"$cache_file"
   10825       else
   10826         case $cache_file in #(
   10827         */* | ?:*)
   10828 	  mv -f confcache "$cache_file"$$ &&
   10829 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10830         *)
   10831 	  mv -f confcache "$cache_file" ;;
   10832 	esac
   10833       fi
   10834     fi
   10835   else
   10836     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10837 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10838   fi
   10839 fi
   10840 rm -f confcache
   10841 
   10842 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10843 # Let make expand exec_prefix.
   10844 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10845 
   10846 DEFS=-DHAVE_CONFIG_H
   10847 
   10848 ac_libobjs=
   10849 ac_ltlibobjs=
   10850 U=
   10851 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10852   # 1. Remove the extension, and $U if already installed.
   10853   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10854   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10855   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10856   #    will be set to the directory where LIBOBJS objects are built.
   10857   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10858   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10859 done
   10860 LIBOBJS=$ac_libobjs
   10861 
   10862 LTLIBOBJS=$ac_ltlibobjs
   10863 
   10864 
   10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10866 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10867    if test -n "$am_sleep_pid"; then
   10868      # Hide warnings about reused PIDs.
   10869      wait $am_sleep_pid 2>/dev/null
   10870    fi
   10871    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10872 $as_echo "done" >&6; }
   10873  if test -n "$EXEEXT"; then
   10874   am__EXEEXT_TRUE=
   10875   am__EXEEXT_FALSE='#'
   10876 else
   10877   am__EXEEXT_TRUE='#'
   10878   am__EXEEXT_FALSE=
   10879 fi
   10880 
   10881 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10882   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10884 fi
   10885 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10886   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10888 fi
   10889 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10890   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10892 fi
   10893 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   10894   as_fn_error $? "conditional \"LINT\" was never defined.
   10895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10896 fi
   10897 
   10898 : "${CONFIG_STATUS=./config.status}"
   10899 ac_write_fail=0
   10900 ac_clean_files_save=$ac_clean_files
   10901 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10902 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10903 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10904 as_write_fail=0
   10905 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10906 #! $SHELL
   10907 # Generated by $as_me.
   10908 # Run this file to recreate the current configuration.
   10909 # Compiler output produced by configure, useful for debugging
   10910 # configure, is in config.log if it exists.
   10911 
   10912 debug=false
   10913 ac_cs_recheck=false
   10914 ac_cs_silent=false
   10915 
   10916 SHELL=\${CONFIG_SHELL-$SHELL}
   10917 export SHELL
   10918 _ASEOF
   10919 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10920 ## -------------------- ##
   10921 ## M4sh Initialization. ##
   10922 ## -------------------- ##
   10923 
   10924 # Be more Bourne compatible
   10925 DUALCASE=1; export DUALCASE # for MKS sh
   10926 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10927   emulate sh
   10928   NULLCMD=:
   10929   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10930   # is contrary to our usage.  Disable this feature.
   10931   alias -g '${1+"$@"}'='"$@"'
   10932   setopt NO_GLOB_SUBST
   10933 else
   10934   case `(set -o) 2>/dev/null` in #(
   10935   *posix*) :
   10936     set -o posix ;; #(
   10937   *) :
   10938      ;;
   10939 esac
   10940 fi
   10941 
   10942 
   10943 as_nl='
   10944 '
   10945 export as_nl
   10946 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10947 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10948 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10949 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10950 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10951 # but without wasting forks for bash or zsh.
   10952 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10953     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10954   as_echo='print -r --'
   10955   as_echo_n='print -rn --'
   10956 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10957   as_echo='printf %s\n'
   10958   as_echo_n='printf %s'
   10959 else
   10960   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10961     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10962     as_echo_n='/usr/ucb/echo -n'
   10963   else
   10964     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10965     as_echo_n_body='eval
   10966       arg=$1;
   10967       case $arg in #(
   10968       *"$as_nl"*)
   10969 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10970 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10971       esac;
   10972       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10973     '
   10974     export as_echo_n_body
   10975     as_echo_n='sh -c $as_echo_n_body as_echo'
   10976   fi
   10977   export as_echo_body
   10978   as_echo='sh -c $as_echo_body as_echo'
   10979 fi
   10980 
   10981 # The user is always right.
   10982 if test "${PATH_SEPARATOR+set}" != set; then
   10983   PATH_SEPARATOR=:
   10984   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10985     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10986       PATH_SEPARATOR=';'
   10987   }
   10988 fi
   10989 
   10990 
   10991 # IFS
   10992 # We need space, tab and new line, in precisely that order.  Quoting is
   10993 # there to prevent editors from complaining about space-tab.
   10994 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10995 # splitting by setting IFS to empty value.)
   10996 IFS=" ""	$as_nl"
   10997 
   10998 # Find who we are.  Look in the path if we contain no directory separator.
   10999 as_myself=
   11000 case $0 in #((
   11001   *[\\/]* ) as_myself=$0 ;;
   11002   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11003 for as_dir in $PATH
   11004 do
   11005   IFS=$as_save_IFS
   11006   test -z "$as_dir" && as_dir=.
   11007     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11008   done
   11009 IFS=$as_save_IFS
   11010 
   11011      ;;
   11012 esac
   11013 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11014 # in which case we are not to be found in the path.
   11015 if test "x$as_myself" = x; then
   11016   as_myself=$0
   11017 fi
   11018 if test ! -f "$as_myself"; then
   11019   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11020   exit 1
   11021 fi
   11022 
   11023 # Unset variables that we do not need and which cause bugs (e.g. in
   11024 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11025 # suppresses any "Segmentation fault" message there.  '((' could
   11026 # trigger a bug in pdksh 5.2.14.
   11027 for as_var in BASH_ENV ENV MAIL MAILPATH
   11028 do eval test x\${$as_var+set} = xset \
   11029   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11030 done
   11031 PS1='$ '
   11032 PS2='> '
   11033 PS4='+ '
   11034 
   11035 # NLS nuisances.
   11036 LC_ALL=C
   11037 export LC_ALL
   11038 LANGUAGE=C
   11039 export LANGUAGE
   11040 
   11041 # CDPATH.
   11042 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11043 
   11044 
   11045 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11046 # ----------------------------------------
   11047 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11048 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11049 # script with STATUS, using 1 if that was 0.
   11050 as_fn_error ()
   11051 {
   11052   as_status=$1; test $as_status -eq 0 && as_status=1
   11053   if test "$4"; then
   11054     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11055     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11056   fi
   11057   $as_echo "$as_me: error: $2" >&2
   11058   as_fn_exit $as_status
   11059 } # as_fn_error
   11060 
   11061 
   11062 # as_fn_set_status STATUS
   11063 # -----------------------
   11064 # Set $? to STATUS, without forking.
   11065 as_fn_set_status ()
   11066 {
   11067   return $1
   11068 } # as_fn_set_status
   11069 
   11070 # as_fn_exit STATUS
   11071 # -----------------
   11072 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11073 as_fn_exit ()
   11074 {
   11075   set +e
   11076   as_fn_set_status $1
   11077   exit $1
   11078 } # as_fn_exit
   11079 
   11080 # as_fn_unset VAR
   11081 # ---------------
   11082 # Portably unset VAR.
   11083 as_fn_unset ()
   11084 {
   11085   { eval $1=; unset $1;}
   11086 }
   11087 as_unset=as_fn_unset
   11088 # as_fn_append VAR VALUE
   11089 # ----------------------
   11090 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11091 # advantage of any shell optimizations that allow amortized linear growth over
   11092 # repeated appends, instead of the typical quadratic growth present in naive
   11093 # implementations.
   11094 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11095   eval 'as_fn_append ()
   11096   {
   11097     eval $1+=\$2
   11098   }'
   11099 else
   11100   as_fn_append ()
   11101   {
   11102     eval $1=\$$1\$2
   11103   }
   11104 fi # as_fn_append
   11105 
   11106 # as_fn_arith ARG...
   11107 # ------------------
   11108 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11109 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11110 # must be portable across $(()) and expr.
   11111 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11112   eval 'as_fn_arith ()
   11113   {
   11114     as_val=$(( $* ))
   11115   }'
   11116 else
   11117   as_fn_arith ()
   11118   {
   11119     as_val=`expr "$@" || test $? -eq 1`
   11120   }
   11121 fi # as_fn_arith
   11122 
   11123 
   11124 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11125    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11126   as_expr=expr
   11127 else
   11128   as_expr=false
   11129 fi
   11130 
   11131 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11132   as_basename=basename
   11133 else
   11134   as_basename=false
   11135 fi
   11136 
   11137 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11138   as_dirname=dirname
   11139 else
   11140   as_dirname=false
   11141 fi
   11142 
   11143 as_me=`$as_basename -- "$0" ||
   11144 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11145 	 X"$0" : 'X\(//\)$' \| \
   11146 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11147 $as_echo X/"$0" |
   11148     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11149 	    s//\1/
   11150 	    q
   11151 	  }
   11152 	  /^X\/\(\/\/\)$/{
   11153 	    s//\1/
   11154 	    q
   11155 	  }
   11156 	  /^X\/\(\/\).*/{
   11157 	    s//\1/
   11158 	    q
   11159 	  }
   11160 	  s/.*/./; q'`
   11161 
   11162 # Avoid depending upon Character Ranges.
   11163 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11164 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11165 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11166 as_cr_digits='0123456789'
   11167 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11168 
   11169 ECHO_C= ECHO_N= ECHO_T=
   11170 case `echo -n x` in #(((((
   11171 -n*)
   11172   case `echo 'xy\c'` in
   11173   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11174   xy)  ECHO_C='\c';;
   11175   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11176        ECHO_T='	';;
   11177   esac;;
   11178 *)
   11179   ECHO_N='-n';;
   11180 esac
   11181 
   11182 rm -f conf$$ conf$$.exe conf$$.file
   11183 if test -d conf$$.dir; then
   11184   rm -f conf$$.dir/conf$$.file
   11185 else
   11186   rm -f conf$$.dir
   11187   mkdir conf$$.dir 2>/dev/null
   11188 fi
   11189 if (echo >conf$$.file) 2>/dev/null; then
   11190   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11191     as_ln_s='ln -s'
   11192     # ... but there are two gotchas:
   11193     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11194     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11195     # In both cases, we have to default to `cp -p'.
   11196     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11197       as_ln_s='cp -p'
   11198   elif ln conf$$.file conf$$ 2>/dev/null; then
   11199     as_ln_s=ln
   11200   else
   11201     as_ln_s='cp -p'
   11202   fi
   11203 else
   11204   as_ln_s='cp -p'
   11205 fi
   11206 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11207 rmdir conf$$.dir 2>/dev/null
   11208 
   11209 
   11210 # as_fn_mkdir_p
   11211 # -------------
   11212 # Create "$as_dir" as a directory, including parents if necessary.
   11213 as_fn_mkdir_p ()
   11214 {
   11215 
   11216   case $as_dir in #(
   11217   -*) as_dir=./$as_dir;;
   11218   esac
   11219   test -d "$as_dir" || eval $as_mkdir_p || {
   11220     as_dirs=
   11221     while :; do
   11222       case $as_dir in #(
   11223       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11224       *) as_qdir=$as_dir;;
   11225       esac
   11226       as_dirs="'$as_qdir' $as_dirs"
   11227       as_dir=`$as_dirname -- "$as_dir" ||
   11228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11229 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11230 	 X"$as_dir" : 'X\(//\)$' \| \
   11231 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11232 $as_echo X"$as_dir" |
   11233     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11234 	    s//\1/
   11235 	    q
   11236 	  }
   11237 	  /^X\(\/\/\)[^/].*/{
   11238 	    s//\1/
   11239 	    q
   11240 	  }
   11241 	  /^X\(\/\/\)$/{
   11242 	    s//\1/
   11243 	    q
   11244 	  }
   11245 	  /^X\(\/\).*/{
   11246 	    s//\1/
   11247 	    q
   11248 	  }
   11249 	  s/.*/./; q'`
   11250       test -d "$as_dir" && break
   11251     done
   11252     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11253   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11254 
   11255 
   11256 } # as_fn_mkdir_p
   11257 if mkdir -p . 2>/dev/null; then
   11258   as_mkdir_p='mkdir -p "$as_dir"'
   11259 else
   11260   test -d ./-p && rmdir ./-p
   11261   as_mkdir_p=false
   11262 fi
   11263 
   11264 if test -x / >/dev/null 2>&1; then
   11265   as_test_x='test -x'
   11266 else
   11267   if ls -dL / >/dev/null 2>&1; then
   11268     as_ls_L_option=L
   11269   else
   11270     as_ls_L_option=
   11271   fi
   11272   as_test_x='
   11273     eval sh -c '\''
   11274       if test -d "$1"; then
   11275 	test -d "$1/.";
   11276       else
   11277 	case $1 in #(
   11278 	-*)set "./$1";;
   11279 	esac;
   11280 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11281 	???[sx]*):;;*)false;;esac;fi
   11282     '\'' sh
   11283   '
   11284 fi
   11285 as_executable_p=$as_test_x
   11286 
   11287 # Sed expression to map a string onto a valid CPP name.
   11288 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11289 
   11290 # Sed expression to map a string onto a valid variable name.
   11291 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11292 
   11293 
   11294 exec 6>&1
   11295 ## ----------------------------------- ##
   11296 ## Main body of $CONFIG_STATUS script. ##
   11297 ## ----------------------------------- ##
   11298 _ASEOF
   11299 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11300 
   11301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11302 # Save the log message, to keep $0 and so on meaningful, and to
   11303 # report actual input values of CONFIG_FILES etc. instead of their
   11304 # values after options handling.
   11305 ac_log="
   11306 This file was extended by iceauth $as_me 1.0.6, which was
   11307 generated by GNU Autoconf 2.68.  Invocation command line was
   11308 
   11309   CONFIG_FILES    = $CONFIG_FILES
   11310   CONFIG_HEADERS  = $CONFIG_HEADERS
   11311   CONFIG_LINKS    = $CONFIG_LINKS
   11312   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11313   $ $0 $@
   11314 
   11315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11316 "
   11317 
   11318 _ACEOF
   11319 
   11320 case $ac_config_files in *"
   11321 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11322 esac
   11323 
   11324 case $ac_config_headers in *"
   11325 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11326 esac
   11327 
   11328 
   11329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11330 # Files that config.status was made for.
   11331 config_files="$ac_config_files"
   11332 config_headers="$ac_config_headers"
   11333 config_commands="$ac_config_commands"
   11334 
   11335 _ACEOF
   11336 
   11337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11338 ac_cs_usage="\
   11339 \`$as_me' instantiates files and other configuration actions
   11340 from templates according to the current configuration.  Unless the files
   11341 and actions are specified as TAGs, all are instantiated by default.
   11342 
   11343 Usage: $0 [OPTION]... [TAG]...
   11344 
   11345   -h, --help       print this help, then exit
   11346   -V, --version    print version number and configuration settings, then exit
   11347       --config     print configuration, then exit
   11348   -q, --quiet, --silent
   11349                    do not print progress messages
   11350   -d, --debug      don't remove temporary files
   11351       --recheck    update $as_me by reconfiguring in the same conditions
   11352       --file=FILE[:TEMPLATE]
   11353                    instantiate the configuration file FILE
   11354       --header=FILE[:TEMPLATE]
   11355                    instantiate the configuration header FILE
   11356 
   11357 Configuration files:
   11358 $config_files
   11359 
   11360 Configuration headers:
   11361 $config_headers
   11362 
   11363 Configuration commands:
   11364 $config_commands
   11365 
   11366 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11367 
   11368 _ACEOF
   11369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11370 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11371 ac_cs_version="\\
   11372 iceauth config.status 1.0.6
   11373 configured by $0, generated by GNU Autoconf 2.68,
   11374   with options \\"\$ac_cs_config\\"
   11375 
   11376 Copyright (C) 2010 Free Software Foundation, Inc.
   11377 This config.status script is free software; the Free Software Foundation
   11378 gives unlimited permission to copy, distribute and modify it."
   11379 
   11380 ac_pwd='$ac_pwd'
   11381 srcdir='$srcdir'
   11382 INSTALL='$INSTALL'
   11383 MKDIR_P='$MKDIR_P'
   11384 AWK='$AWK'
   11385 test -n "\$AWK" || AWK=awk
   11386 _ACEOF
   11387 
   11388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11389 # The default lists apply if the user does not specify any file.
   11390 ac_need_defaults=:
   11391 while test $# != 0
   11392 do
   11393   case $1 in
   11394   --*=?*)
   11395     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11396     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11397     ac_shift=:
   11398     ;;
   11399   --*=)
   11400     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11401     ac_optarg=
   11402     ac_shift=:
   11403     ;;
   11404   *)
   11405     ac_option=$1
   11406     ac_optarg=$2
   11407     ac_shift=shift
   11408     ;;
   11409   esac
   11410 
   11411   case $ac_option in
   11412   # Handling of the options.
   11413   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11414     ac_cs_recheck=: ;;
   11415   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11416     $as_echo "$ac_cs_version"; exit ;;
   11417   --config | --confi | --conf | --con | --co | --c )
   11418     $as_echo "$ac_cs_config"; exit ;;
   11419   --debug | --debu | --deb | --de | --d | -d )
   11420     debug=: ;;
   11421   --file | --fil | --fi | --f )
   11422     $ac_shift
   11423     case $ac_optarg in
   11424     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11425     '') as_fn_error $? "missing file argument" ;;
   11426     esac
   11427     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11428     ac_need_defaults=false;;
   11429   --header | --heade | --head | --hea )
   11430     $ac_shift
   11431     case $ac_optarg in
   11432     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11433     esac
   11434     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11435     ac_need_defaults=false;;
   11436   --he | --h)
   11437     # Conflict between --help and --header
   11438     as_fn_error $? "ambiguous option: \`$1'
   11439 Try \`$0 --help' for more information.";;
   11440   --help | --hel | -h )
   11441     $as_echo "$ac_cs_usage"; exit ;;
   11442   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11443   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11444     ac_cs_silent=: ;;
   11445 
   11446   # This is an error.
   11447   -*) as_fn_error $? "unrecognized option: \`$1'
   11448 Try \`$0 --help' for more information." ;;
   11449 
   11450   *) as_fn_append ac_config_targets " $1"
   11451      ac_need_defaults=false ;;
   11452 
   11453   esac
   11454   shift
   11455 done
   11456 
   11457 ac_configure_extra_args=
   11458 
   11459 if $ac_cs_silent; then
   11460   exec 6>/dev/null
   11461   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11462 fi
   11463 
   11464 _ACEOF
   11465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11466 if \$ac_cs_recheck; then
   11467   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11468   shift
   11469   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11470   CONFIG_SHELL='$SHELL'
   11471   export CONFIG_SHELL
   11472   exec "\$@"
   11473 fi
   11474 
   11475 _ACEOF
   11476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11477 exec 5>>config.log
   11478 {
   11479   echo
   11480   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11481 ## Running $as_me. ##
   11482 _ASBOX
   11483   $as_echo "$ac_log"
   11484 } >&5
   11485 
   11486 _ACEOF
   11487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11488 #
   11489 # INIT-COMMANDS
   11490 #
   11491 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11492 
   11493 _ACEOF
   11494 
   11495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11496 
   11497 # Handling of arguments.
   11498 for ac_config_target in $ac_config_targets
   11499 do
   11500   case $ac_config_target in
   11501     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11502     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11503     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11504     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11505 
   11506   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11507   esac
   11508 done
   11509 
   11510 
   11511 # If the user did not use the arguments to specify the items to instantiate,
   11512 # then the envvar interface is used.  Set only those that are not.
   11513 # We use the long form for the default assignment because of an extremely
   11514 # bizarre bug on SunOS 4.1.3.
   11515 if $ac_need_defaults; then
   11516   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11517   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11518   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11519 fi
   11520 
   11521 # Have a temporary directory for convenience.  Make it in the build tree
   11522 # simply because there is no reason against having it here, and in addition,
   11523 # creating and moving files from /tmp can sometimes cause problems.
   11524 # Hook for its removal unless debugging.
   11525 # Note that there is a small window in which the directory will not be cleaned:
   11526 # after its creation but before its name has been assigned to `$tmp'.
   11527 $debug ||
   11528 {
   11529   tmp= ac_tmp=
   11530   trap 'exit_status=$?
   11531   : "${ac_tmp:=$tmp}"
   11532   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11533 ' 0
   11534   trap 'as_fn_exit 1' 1 2 13 15
   11535 }
   11536 # Create a (secure) tmp directory for tmp files.
   11537 
   11538 {
   11539   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11540   test -d "$tmp"
   11541 }  ||
   11542 {
   11543   tmp=./conf$$-$RANDOM
   11544   (umask 077 && mkdir "$tmp")
   11545 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11546 ac_tmp=$tmp
   11547 
   11548 # Set up the scripts for CONFIG_FILES section.
   11549 # No need to generate them if there are no CONFIG_FILES.
   11550 # This happens for instance with `./config.status config.h'.
   11551 if test -n "$CONFIG_FILES"; then
   11552 
   11553 
   11554 ac_cr=`echo X | tr X '\015'`
   11555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11556 # But we know of no other shell where ac_cr would be empty at this
   11557 # point, so we can use a bashism as a fallback.
   11558 if test "x$ac_cr" = x; then
   11559   eval ac_cr=\$\'\\r\'
   11560 fi
   11561 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11563   ac_cs_awk_cr='\\r'
   11564 else
   11565   ac_cs_awk_cr=$ac_cr
   11566 fi
   11567 
   11568 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11569 _ACEOF
   11570 
   11571 
   11572 {
   11573   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11574   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11575   echo "_ACEOF"
   11576 } >conf$$subs.sh ||
   11577   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11579 ac_delim='%!_!# '
   11580 for ac_last_try in false false false false false :; do
   11581   . ./conf$$subs.sh ||
   11582     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11583 
   11584   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11585   if test $ac_delim_n = $ac_delim_num; then
   11586     break
   11587   elif $ac_last_try; then
   11588     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11589   else
   11590     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11591   fi
   11592 done
   11593 rm -f conf$$subs.sh
   11594 
   11595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11596 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11597 _ACEOF
   11598 sed -n '
   11599 h
   11600 s/^/S["/; s/!.*/"]=/
   11601 p
   11602 g
   11603 s/^[^!]*!//
   11604 :repl
   11605 t repl
   11606 s/'"$ac_delim"'$//
   11607 t delim
   11608 :nl
   11609 h
   11610 s/\(.\{148\}\)..*/\1/
   11611 t more1
   11612 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11613 p
   11614 n
   11615 b repl
   11616 :more1
   11617 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11618 p
   11619 g
   11620 s/.\{148\}//
   11621 t nl
   11622 :delim
   11623 h
   11624 s/\(.\{148\}\)..*/\1/
   11625 t more2
   11626 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11627 p
   11628 b
   11629 :more2
   11630 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11631 p
   11632 g
   11633 s/.\{148\}//
   11634 t delim
   11635 ' <conf$$subs.awk | sed '
   11636 /^[^""]/{
   11637   N
   11638   s/\n//
   11639 }
   11640 ' >>$CONFIG_STATUS || ac_write_fail=1
   11641 rm -f conf$$subs.awk
   11642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11643 _ACAWK
   11644 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11645   for (key in S) S_is_set[key] = 1
   11646   FS = ""
   11647 
   11648 }
   11649 {
   11650   line = $ 0
   11651   nfields = split(line, field, "@")
   11652   substed = 0
   11653   len = length(field[1])
   11654   for (i = 2; i < nfields; i++) {
   11655     key = field[i]
   11656     keylen = length(key)
   11657     if (S_is_set[key]) {
   11658       value = S[key]
   11659       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11660       len += length(value) + length(field[++i])
   11661       substed = 1
   11662     } else
   11663       len += 1 + keylen
   11664   }
   11665 
   11666   print line
   11667 }
   11668 
   11669 _ACAWK
   11670 _ACEOF
   11671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11672 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11673   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11674 else
   11675   cat
   11676 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11677   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11678 _ACEOF
   11679 
   11680 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11681 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11682 # trailing colons and then remove the whole line if VPATH becomes empty
   11683 # (actually we leave an empty line to preserve line numbers).
   11684 if test "x$srcdir" = x.; then
   11685   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11686 h
   11687 s///
   11688 s/^/:/
   11689 s/[	 ]*$/:/
   11690 s/:\$(srcdir):/:/g
   11691 s/:\${srcdir}:/:/g
   11692 s/:@srcdir@:/:/g
   11693 s/^:*//
   11694 s/:*$//
   11695 x
   11696 s/\(=[	 ]*\).*/\1/
   11697 G
   11698 s/\n//
   11699 s/^[^=]*=[	 ]*$//
   11700 }'
   11701 fi
   11702 
   11703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11704 fi # test -n "$CONFIG_FILES"
   11705 
   11706 # Set up the scripts for CONFIG_HEADERS section.
   11707 # No need to generate them if there are no CONFIG_HEADERS.
   11708 # This happens for instance with `./config.status Makefile'.
   11709 if test -n "$CONFIG_HEADERS"; then
   11710 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11711 BEGIN {
   11712 _ACEOF
   11713 
   11714 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11715 # here-document in config.status, that substitutes the proper values into
   11716 # config.h.in to produce config.h.
   11717 
   11718 # Create a delimiter string that does not exist in confdefs.h, to ease
   11719 # handling of long lines.
   11720 ac_delim='%!_!# '
   11721 for ac_last_try in false false :; do
   11722   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11723   if test -z "$ac_tt"; then
   11724     break
   11725   elif $ac_last_try; then
   11726     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11727   else
   11728     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11729   fi
   11730 done
   11731 
   11732 # For the awk script, D is an array of macro values keyed by name,
   11733 # likewise P contains macro parameters if any.  Preserve backslash
   11734 # newline sequences.
   11735 
   11736 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11737 sed -n '
   11738 s/.\{148\}/&'"$ac_delim"'/g
   11739 t rset
   11740 :rset
   11741 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11742 t def
   11743 d
   11744 :def
   11745 s/\\$//
   11746 t bsnl
   11747 s/["\\]/\\&/g
   11748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11749 D["\1"]=" \3"/p
   11750 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11751 d
   11752 :bsnl
   11753 s/["\\]/\\&/g
   11754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11755 D["\1"]=" \3\\\\\\n"\\/p
   11756 t cont
   11757 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11758 t cont
   11759 d
   11760 :cont
   11761 n
   11762 s/.\{148\}/&'"$ac_delim"'/g
   11763 t clear
   11764 :clear
   11765 s/\\$//
   11766 t bsnlc
   11767 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11768 d
   11769 :bsnlc
   11770 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11771 b cont
   11772 ' <confdefs.h | sed '
   11773 s/'"$ac_delim"'/"\\\
   11774 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11775 
   11776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11777   for (key in D) D_is_set[key] = 1
   11778   FS = ""
   11779 }
   11780 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11781   line = \$ 0
   11782   split(line, arg, " ")
   11783   if (arg[1] == "#") {
   11784     defundef = arg[2]
   11785     mac1 = arg[3]
   11786   } else {
   11787     defundef = substr(arg[1], 2)
   11788     mac1 = arg[2]
   11789   }
   11790   split(mac1, mac2, "(") #)
   11791   macro = mac2[1]
   11792   prefix = substr(line, 1, index(line, defundef) - 1)
   11793   if (D_is_set[macro]) {
   11794     # Preserve the white space surrounding the "#".
   11795     print prefix "define", macro P[macro] D[macro]
   11796     next
   11797   } else {
   11798     # Replace #undef with comments.  This is necessary, for example,
   11799     # in the case of _POSIX_SOURCE, which is predefined and required
   11800     # on some systems where configure will not decide to define it.
   11801     if (defundef == "undef") {
   11802       print "/*", prefix defundef, macro, "*/"
   11803       next
   11804     }
   11805   }
   11806 }
   11807 { print }
   11808 _ACAWK
   11809 _ACEOF
   11810 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11811   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11812 fi # test -n "$CONFIG_HEADERS"
   11813 
   11814 
   11815 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11816 shift
   11817 for ac_tag
   11818 do
   11819   case $ac_tag in
   11820   :[FHLC]) ac_mode=$ac_tag; continue;;
   11821   esac
   11822   case $ac_mode$ac_tag in
   11823   :[FHL]*:*);;
   11824   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11825   :[FH]-) ac_tag=-:-;;
   11826   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11827   esac
   11828   ac_save_IFS=$IFS
   11829   IFS=:
   11830   set x $ac_tag
   11831   IFS=$ac_save_IFS
   11832   shift
   11833   ac_file=$1
   11834   shift
   11835 
   11836   case $ac_mode in
   11837   :L) ac_source=$1;;
   11838   :[FH])
   11839     ac_file_inputs=
   11840     for ac_f
   11841     do
   11842       case $ac_f in
   11843       -) ac_f="$ac_tmp/stdin";;
   11844       *) # Look for the file first in the build tree, then in the source tree
   11845 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11846 	 # because $ac_f cannot contain `:'.
   11847 	 test -f "$ac_f" ||
   11848 	   case $ac_f in
   11849 	   [\\/$]*) false;;
   11850 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11851 	   esac ||
   11852 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11853       esac
   11854       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11855       as_fn_append ac_file_inputs " '$ac_f'"
   11856     done
   11857 
   11858     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11859     # use $as_me), people would be surprised to read:
   11860     #    /* config.h.  Generated by config.status.  */
   11861     configure_input='Generated from '`
   11862 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11863 	`' by configure.'
   11864     if test x"$ac_file" != x-; then
   11865       configure_input="$ac_file.  $configure_input"
   11866       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11867 $as_echo "$as_me: creating $ac_file" >&6;}
   11868     fi
   11869     # Neutralize special characters interpreted by sed in replacement strings.
   11870     case $configure_input in #(
   11871     *\&* | *\|* | *\\* )
   11872        ac_sed_conf_input=`$as_echo "$configure_input" |
   11873        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11874     *) ac_sed_conf_input=$configure_input;;
   11875     esac
   11876 
   11877     case $ac_tag in
   11878     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11879       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11880     esac
   11881     ;;
   11882   esac
   11883 
   11884   ac_dir=`$as_dirname -- "$ac_file" ||
   11885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11886 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11887 	 X"$ac_file" : 'X\(//\)$' \| \
   11888 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11889 $as_echo X"$ac_file" |
   11890     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11891 	    s//\1/
   11892 	    q
   11893 	  }
   11894 	  /^X\(\/\/\)[^/].*/{
   11895 	    s//\1/
   11896 	    q
   11897 	  }
   11898 	  /^X\(\/\/\)$/{
   11899 	    s//\1/
   11900 	    q
   11901 	  }
   11902 	  /^X\(\/\).*/{
   11903 	    s//\1/
   11904 	    q
   11905 	  }
   11906 	  s/.*/./; q'`
   11907   as_dir="$ac_dir"; as_fn_mkdir_p
   11908   ac_builddir=.
   11909 
   11910 case "$ac_dir" in
   11911 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11912 *)
   11913   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11914   # A ".." for each directory in $ac_dir_suffix.
   11915   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11916   case $ac_top_builddir_sub in
   11917   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11918   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11919   esac ;;
   11920 esac
   11921 ac_abs_top_builddir=$ac_pwd
   11922 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11923 # for backward compatibility:
   11924 ac_top_builddir=$ac_top_build_prefix
   11925 
   11926 case $srcdir in
   11927   .)  # We are building in place.
   11928     ac_srcdir=.
   11929     ac_top_srcdir=$ac_top_builddir_sub
   11930     ac_abs_top_srcdir=$ac_pwd ;;
   11931   [\\/]* | ?:[\\/]* )  # Absolute name.
   11932     ac_srcdir=$srcdir$ac_dir_suffix;
   11933     ac_top_srcdir=$srcdir
   11934     ac_abs_top_srcdir=$srcdir ;;
   11935   *) # Relative name.
   11936     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11937     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11938     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11939 esac
   11940 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11941 
   11942 
   11943   case $ac_mode in
   11944   :F)
   11945   #
   11946   # CONFIG_FILE
   11947   #
   11948 
   11949   case $INSTALL in
   11950   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11951   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11952   esac
   11953   ac_MKDIR_P=$MKDIR_P
   11954   case $MKDIR_P in
   11955   [\\/$]* | ?:[\\/]* ) ;;
   11956   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11957   esac
   11958 _ACEOF
   11959 
   11960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11961 # If the template does not know about datarootdir, expand it.
   11962 # FIXME: This hack should be removed a few years after 2.60.
   11963 ac_datarootdir_hack=; ac_datarootdir_seen=
   11964 ac_sed_dataroot='
   11965 /datarootdir/ {
   11966   p
   11967   q
   11968 }
   11969 /@datadir@/p
   11970 /@docdir@/p
   11971 /@infodir@/p
   11972 /@localedir@/p
   11973 /@mandir@/p'
   11974 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11975 *datarootdir*) ac_datarootdir_seen=yes;;
   11976 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11977   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11978 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11979 _ACEOF
   11980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11981   ac_datarootdir_hack='
   11982   s&@datadir@&$datadir&g
   11983   s&@docdir@&$docdir&g
   11984   s&@infodir@&$infodir&g
   11985   s&@localedir@&$localedir&g
   11986   s&@mandir@&$mandir&g
   11987   s&\\\${datarootdir}&$datarootdir&g' ;;
   11988 esac
   11989 _ACEOF
   11990 
   11991 # Neutralize VPATH when `$srcdir' = `.'.
   11992 # Shell code in configure.ac might set extrasub.
   11993 # FIXME: do we really want to maintain this feature?
   11994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11995 ac_sed_extra="$ac_vpsub
   11996 $extrasub
   11997 _ACEOF
   11998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11999 :t
   12000 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12001 s|@configure_input@|$ac_sed_conf_input|;t t
   12002 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12003 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12004 s&@srcdir@&$ac_srcdir&;t t
   12005 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12006 s&@top_srcdir@&$ac_top_srcdir&;t t
   12007 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12008 s&@builddir@&$ac_builddir&;t t
   12009 s&@abs_builddir@&$ac_abs_builddir&;t t
   12010 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12011 s&@INSTALL@&$ac_INSTALL&;t t
   12012 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12013 $ac_datarootdir_hack
   12014 "
   12015 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12016   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12017 
   12018 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12019   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12020   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12021       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12023 which seems to be undefined.  Please make sure it is defined" >&5
   12024 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12025 which seems to be undefined.  Please make sure it is defined" >&2;}
   12026 
   12027   rm -f "$ac_tmp/stdin"
   12028   case $ac_file in
   12029   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12030   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12031   esac \
   12032   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12033  ;;
   12034   :H)
   12035   #
   12036   # CONFIG_HEADER
   12037   #
   12038   if test x"$ac_file" != x-; then
   12039     {
   12040       $as_echo "/* $configure_input  */" \
   12041       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12042     } >"$ac_tmp/config.h" \
   12043       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12044     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12045       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12046 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12047     else
   12048       rm -f "$ac_file"
   12049       mv "$ac_tmp/config.h" "$ac_file" \
   12050 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12051     fi
   12052   else
   12053     $as_echo "/* $configure_input  */" \
   12054       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12055       || as_fn_error $? "could not create -" "$LINENO" 5
   12056   fi
   12057 # Compute "$ac_file"'s index in $config_headers.
   12058 _am_arg="$ac_file"
   12059 _am_stamp_count=1
   12060 for _am_header in $config_headers :; do
   12061   case $_am_header in
   12062     $_am_arg | $_am_arg:* )
   12063       break ;;
   12064     * )
   12065       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12066   esac
   12067 done
   12068 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12069 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12070 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12071 	 X"$_am_arg" : 'X\(//\)$' \| \
   12072 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12073 $as_echo X"$_am_arg" |
   12074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12075 	    s//\1/
   12076 	    q
   12077 	  }
   12078 	  /^X\(\/\/\)[^/].*/{
   12079 	    s//\1/
   12080 	    q
   12081 	  }
   12082 	  /^X\(\/\/\)$/{
   12083 	    s//\1/
   12084 	    q
   12085 	  }
   12086 	  /^X\(\/\).*/{
   12087 	    s//\1/
   12088 	    q
   12089 	  }
   12090 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12091  ;;
   12092 
   12093   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12094 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12095  ;;
   12096   esac
   12097 
   12098 
   12099   case $ac_file$ac_mode in
   12100     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12101   # Older Autoconf quotes --file arguments for eval, but not when files
   12102   # are listed without --file.  Let's play safe and only enable the eval
   12103   # if we detect the quoting.
   12104   case $CONFIG_FILES in
   12105   *\'*) eval set x "$CONFIG_FILES" ;;
   12106   *)   set x $CONFIG_FILES ;;
   12107   esac
   12108   shift
   12109   for mf
   12110   do
   12111     # Strip MF so we end up with the name of the file.
   12112     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12113     # Check whether this is an Automake generated Makefile or not.
   12114     # We used to match only the files named 'Makefile.in', but
   12115     # some people rename them; so instead we look at the file content.
   12116     # Grep'ing the first line is not enough: some people post-process
   12117     # each Makefile.in and add a new line on top of each file to say so.
   12118     # Grep'ing the whole file is not good either: AIX grep has a line
   12119     # limit of 2048, but all sed's we know have understand at least 4000.
   12120     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12121       dirpart=`$as_dirname -- "$mf" ||
   12122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12123 	 X"$mf" : 'X\(//\)[^/]' \| \
   12124 	 X"$mf" : 'X\(//\)$' \| \
   12125 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12126 $as_echo X"$mf" |
   12127     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12128 	    s//\1/
   12129 	    q
   12130 	  }
   12131 	  /^X\(\/\/\)[^/].*/{
   12132 	    s//\1/
   12133 	    q
   12134 	  }
   12135 	  /^X\(\/\/\)$/{
   12136 	    s//\1/
   12137 	    q
   12138 	  }
   12139 	  /^X\(\/\).*/{
   12140 	    s//\1/
   12141 	    q
   12142 	  }
   12143 	  s/.*/./; q'`
   12144     else
   12145       continue
   12146     fi
   12147     # Extract the definition of DEPDIR, am__include, and am__quote
   12148     # from the Makefile without running 'make'.
   12149     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12150     test -z "$DEPDIR" && continue
   12151     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12152     test -z "$am__include" && continue
   12153     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12154     # Find all dependency output files, they are included files with
   12155     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12156     # simplest approach to changing $(DEPDIR) to its actual value in the
   12157     # expansion.
   12158     for file in `sed -n "
   12159       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12160 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12161       # Make sure the directory exists.
   12162       test -f "$dirpart/$file" && continue
   12163       fdir=`$as_dirname -- "$file" ||
   12164 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12165 	 X"$file" : 'X\(//\)[^/]' \| \
   12166 	 X"$file" : 'X\(//\)$' \| \
   12167 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12168 $as_echo X"$file" |
   12169     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12170 	    s//\1/
   12171 	    q
   12172 	  }
   12173 	  /^X\(\/\/\)[^/].*/{
   12174 	    s//\1/
   12175 	    q
   12176 	  }
   12177 	  /^X\(\/\/\)$/{
   12178 	    s//\1/
   12179 	    q
   12180 	  }
   12181 	  /^X\(\/\).*/{
   12182 	    s//\1/
   12183 	    q
   12184 	  }
   12185 	  s/.*/./; q'`
   12186       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12187       # echo "creating $dirpart/$file"
   12188       echo '# dummy' > "$dirpart/$file"
   12189     done
   12190   done
   12191 }
   12192  ;;
   12193 
   12194   esac
   12195 done # for ac_tag
   12196 
   12197 
   12198 as_fn_exit 0
   12199 _ACEOF
   12200 ac_clean_files=$ac_clean_files_save
   12201 
   12202 test $ac_write_fail = 0 ||
   12203   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12204 
   12205 
   12206 # configure is writing to config.log, and then calls config.status.
   12207 # config.status does its own redirection, appending to config.log.
   12208 # Unfortunately, on DOS this fails, as config.log is still kept open
   12209 # by configure, so config.status won't be able to write to it; its
   12210 # output is simply discarded.  So we exec the FD to /dev/null,
   12211 # effectively closing config.log, so it can be properly (re)opened and
   12212 # appended to by config.status.  When coming back to configure, we
   12213 # need to make the FD available again.
   12214 if test "$no_create" != yes; then
   12215   ac_cs_success=:
   12216   ac_config_status_args=
   12217   test "$silent" = yes &&
   12218     ac_config_status_args="$ac_config_status_args --quiet"
   12219   exec 5>/dev/null
   12220   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12221   exec 5>>config.log
   12222   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12223   # would make configure fail if this is the last instruction.
   12224   $ac_cs_success || as_fn_exit 1
   12225 fi
   12226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12227   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12229 fi
   12230 
   12231