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 xrefresh 1.0.5.
      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='xrefresh'
    563 PACKAGE_TARNAME='xrefresh'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='xrefresh 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XREFRESH_LIBS
    611 XREFRESH_CFLAGS
    612 MAN_SUBSTS
    613 XORG_MAN_PAGE
    614 ADMIN_MAN_DIR
    615 DRIVER_MAN_DIR
    616 MISC_MAN_DIR
    617 FILE_MAN_DIR
    618 LIB_MAN_DIR
    619 APP_MAN_DIR
    620 ADMIN_MAN_SUFFIX
    621 DRIVER_MAN_SUFFIX
    622 MISC_MAN_SUFFIX
    623 FILE_MAN_SUFFIX
    624 LIB_MAN_SUFFIX
    625 APP_MAN_SUFFIX
    626 SED
    627 host_os
    628 host_vendor
    629 host_cpu
    630 host
    631 build_os
    632 build_vendor
    633 build_cpu
    634 build
    635 INSTALL_CMD
    636 PKG_CONFIG
    637 CHANGELOG_CMD
    638 STRICT_CFLAGS
    639 CWARNFLAGS
    640 BASE_CFLAGS
    641 MAINT
    642 MAINTAINER_MODE_FALSE
    643 MAINTAINER_MODE_TRUE
    644 AM_BACKSLASH
    645 AM_DEFAULT_VERBOSITY
    646 AM_DEFAULT_V
    647 AM_V
    648 am__fastdepCC_FALSE
    649 am__fastdepCC_TRUE
    650 CCDEPMODE
    651 am__nodep
    652 AMDEPBACKSLASH
    653 AMDEP_FALSE
    654 AMDEP_TRUE
    655 am__quote
    656 am__include
    657 DEPDIR
    658 am__untar
    659 am__tar
    660 AMTAR
    661 am__leading_dot
    662 SET_MAKE
    663 AWK
    664 mkdir_p
    665 MKDIR_P
    666 INSTALL_STRIP_PROGRAM
    667 STRIP
    668 install_sh
    669 MAKEINFO
    670 AUTOHEADER
    671 AUTOMAKE
    672 AUTOCONF
    673 ACLOCAL
    674 VERSION
    675 PACKAGE
    676 CYGPATH_W
    677 am__isrc
    678 INSTALL_DATA
    679 INSTALL_SCRIPT
    680 INSTALL_PROGRAM
    681 EGREP
    682 GREP
    683 CPP
    684 OBJEXT
    685 EXEEXT
    686 ac_ct_CC
    687 CPPFLAGS
    688 LDFLAGS
    689 CFLAGS
    690 CC
    691 target_alias
    692 host_alias
    693 build_alias
    694 LIBS
    695 ECHO_T
    696 ECHO_N
    697 ECHO_C
    698 DEFS
    699 mandir
    700 localedir
    701 libdir
    702 psdir
    703 pdfdir
    704 dvidir
    705 htmldir
    706 infodir
    707 docdir
    708 oldincludedir
    709 includedir
    710 localstatedir
    711 sharedstatedir
    712 sysconfdir
    713 datadir
    714 datarootdir
    715 libexecdir
    716 sbindir
    717 bindir
    718 program_transform_name
    719 prefix
    720 exec_prefix
    721 PACKAGE_URL
    722 PACKAGE_BUGREPORT
    723 PACKAGE_STRING
    724 PACKAGE_VERSION
    725 PACKAGE_TARNAME
    726 PACKAGE_NAME
    727 PATH_SEPARATOR
    728 SHELL'
    729 ac_subst_files=''
    730 ac_user_opts='
    731 enable_option_checking
    732 enable_dependency_tracking
    733 enable_silent_rules
    734 enable_maintainer_mode
    735 enable_selective_werror
    736 enable_strict_compilation
    737 '
    738       ac_precious_vars='build_alias
    739 host_alias
    740 target_alias
    741 CC
    742 CFLAGS
    743 LDFLAGS
    744 LIBS
    745 CPPFLAGS
    746 CPP
    747 PKG_CONFIG
    748 XREFRESH_CFLAGS
    749 XREFRESH_LIBS'
    750 
    751 
    752 # Initialize some variables set by options.
    753 ac_init_help=
    754 ac_init_version=false
    755 ac_unrecognized_opts=
    756 ac_unrecognized_sep=
    757 # The variables have the same names as the options, with
    758 # dashes changed to underlines.
    759 cache_file=/dev/null
    760 exec_prefix=NONE
    761 no_create=
    762 no_recursion=
    763 prefix=NONE
    764 program_prefix=NONE
    765 program_suffix=NONE
    766 program_transform_name=s,x,x,
    767 silent=
    768 site=
    769 srcdir=
    770 verbose=
    771 x_includes=NONE
    772 x_libraries=NONE
    773 
    774 # Installation directory options.
    775 # These are left unexpanded so users can "make install exec_prefix=/foo"
    776 # and all the variables that are supposed to be based on exec_prefix
    777 # by default will actually change.
    778 # Use braces instead of parens because sh, perl, etc. also accept them.
    779 # (The list follows the same order as the GNU Coding Standards.)
    780 bindir='${exec_prefix}/bin'
    781 sbindir='${exec_prefix}/sbin'
    782 libexecdir='${exec_prefix}/libexec'
    783 datarootdir='${prefix}/share'
    784 datadir='${datarootdir}'
    785 sysconfdir='${prefix}/etc'
    786 sharedstatedir='${prefix}/com'
    787 localstatedir='${prefix}/var'
    788 includedir='${prefix}/include'
    789 oldincludedir='/usr/include'
    790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    791 infodir='${datarootdir}/info'
    792 htmldir='${docdir}'
    793 dvidir='${docdir}'
    794 pdfdir='${docdir}'
    795 psdir='${docdir}'
    796 libdir='${exec_prefix}/lib'
    797 localedir='${datarootdir}/locale'
    798 mandir='${datarootdir}/man'
    799 
    800 ac_prev=
    801 ac_dashdash=
    802 for ac_option
    803 do
    804   # If the previous option needs an argument, assign it.
    805   if test -n "$ac_prev"; then
    806     eval $ac_prev=\$ac_option
    807     ac_prev=
    808     continue
    809   fi
    810 
    811   case $ac_option in
    812   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    813   *=)   ac_optarg= ;;
    814   *)    ac_optarg=yes ;;
    815   esac
    816 
    817   # Accept the important Cygnus configure options, so we can diagnose typos.
    818 
    819   case $ac_dashdash$ac_option in
    820   --)
    821     ac_dashdash=yes ;;
    822 
    823   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    824     ac_prev=bindir ;;
    825   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    826     bindir=$ac_optarg ;;
    827 
    828   -build | --build | --buil | --bui | --bu)
    829     ac_prev=build_alias ;;
    830   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    831     build_alias=$ac_optarg ;;
    832 
    833   -cache-file | --cache-file | --cache-fil | --cache-fi \
    834   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    835     ac_prev=cache_file ;;
    836   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    837   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    838     cache_file=$ac_optarg ;;
    839 
    840   --config-cache | -C)
    841     cache_file=config.cache ;;
    842 
    843   -datadir | --datadir | --datadi | --datad)
    844     ac_prev=datadir ;;
    845   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    846     datadir=$ac_optarg ;;
    847 
    848   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    849   | --dataroo | --dataro | --datar)
    850     ac_prev=datarootdir ;;
    851   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    852   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    853     datarootdir=$ac_optarg ;;
    854 
    855   -disable-* | --disable-*)
    856     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    857     # Reject names that are not valid shell variable names.
    858     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    859       as_fn_error $? "invalid feature name: $ac_useropt"
    860     ac_useropt_orig=$ac_useropt
    861     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    862     case $ac_user_opts in
    863       *"
    864 "enable_$ac_useropt"
    865 "*) ;;
    866       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    867 	 ac_unrecognized_sep=', ';;
    868     esac
    869     eval enable_$ac_useropt=no ;;
    870 
    871   -docdir | --docdir | --docdi | --doc | --do)
    872     ac_prev=docdir ;;
    873   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    874     docdir=$ac_optarg ;;
    875 
    876   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    877     ac_prev=dvidir ;;
    878   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    879     dvidir=$ac_optarg ;;
    880 
    881   -enable-* | --enable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=\$ac_optarg ;;
    896 
    897   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    898   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    899   | --exec | --exe | --ex)
    900     ac_prev=exec_prefix ;;
    901   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    902   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    903   | --exec=* | --exe=* | --ex=*)
    904     exec_prefix=$ac_optarg ;;
    905 
    906   -gas | --gas | --ga | --g)
    907     # Obsolete; use --with-gas.
    908     with_gas=yes ;;
    909 
    910   -help | --help | --hel | --he | -h)
    911     ac_init_help=long ;;
    912   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    913     ac_init_help=recursive ;;
    914   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    915     ac_init_help=short ;;
    916 
    917   -host | --host | --hos | --ho)
    918     ac_prev=host_alias ;;
    919   -host=* | --host=* | --hos=* | --ho=*)
    920     host_alias=$ac_optarg ;;
    921 
    922   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    923     ac_prev=htmldir ;;
    924   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    925   | --ht=*)
    926     htmldir=$ac_optarg ;;
    927 
    928   -includedir | --includedir | --includedi | --included | --include \
    929   | --includ | --inclu | --incl | --inc)
    930     ac_prev=includedir ;;
    931   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    932   | --includ=* | --inclu=* | --incl=* | --inc=*)
    933     includedir=$ac_optarg ;;
    934 
    935   -infodir | --infodir | --infodi | --infod | --info | --inf)
    936     ac_prev=infodir ;;
    937   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    938     infodir=$ac_optarg ;;
    939 
    940   -libdir | --libdir | --libdi | --libd)
    941     ac_prev=libdir ;;
    942   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    943     libdir=$ac_optarg ;;
    944 
    945   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    946   | --libexe | --libex | --libe)
    947     ac_prev=libexecdir ;;
    948   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    949   | --libexe=* | --libex=* | --libe=*)
    950     libexecdir=$ac_optarg ;;
    951 
    952   -localedir | --localedir | --localedi | --localed | --locale)
    953     ac_prev=localedir ;;
    954   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    955     localedir=$ac_optarg ;;
    956 
    957   -localstatedir | --localstatedir | --localstatedi | --localstated \
    958   | --localstate | --localstat | --localsta | --localst | --locals)
    959     ac_prev=localstatedir ;;
    960   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    961   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    962     localstatedir=$ac_optarg ;;
    963 
    964   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    965     ac_prev=mandir ;;
    966   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    967     mandir=$ac_optarg ;;
    968 
    969   -nfp | --nfp | --nf)
    970     # Obsolete; use --without-fp.
    971     with_fp=no ;;
    972 
    973   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    974   | --no-cr | --no-c | -n)
    975     no_create=yes ;;
    976 
    977   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    978   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    979     no_recursion=yes ;;
    980 
    981   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    982   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    983   | --oldin | --oldi | --old | --ol | --o)
    984     ac_prev=oldincludedir ;;
    985   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    986   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    987   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    988     oldincludedir=$ac_optarg ;;
    989 
    990   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    991     ac_prev=prefix ;;
    992   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    993     prefix=$ac_optarg ;;
    994 
    995   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    996   | --program-pre | --program-pr | --program-p)
    997     ac_prev=program_prefix ;;
    998   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    999   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1000     program_prefix=$ac_optarg ;;
   1001 
   1002   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1003   | --program-suf | --program-su | --program-s)
   1004     ac_prev=program_suffix ;;
   1005   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1006   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1007     program_suffix=$ac_optarg ;;
   1008 
   1009   -program-transform-name | --program-transform-name \
   1010   | --program-transform-nam | --program-transform-na \
   1011   | --program-transform-n | --program-transform- \
   1012   | --program-transform | --program-transfor \
   1013   | --program-transfo | --program-transf \
   1014   | --program-trans | --program-tran \
   1015   | --progr-tra | --program-tr | --program-t)
   1016     ac_prev=program_transform_name ;;
   1017   -program-transform-name=* | --program-transform-name=* \
   1018   | --program-transform-nam=* | --program-transform-na=* \
   1019   | --program-transform-n=* | --program-transform-=* \
   1020   | --program-transform=* | --program-transfor=* \
   1021   | --program-transfo=* | --program-transf=* \
   1022   | --program-trans=* | --program-tran=* \
   1023   | --progr-tra=* | --program-tr=* | --program-t=*)
   1024     program_transform_name=$ac_optarg ;;
   1025 
   1026   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1027     ac_prev=pdfdir ;;
   1028   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1029     pdfdir=$ac_optarg ;;
   1030 
   1031   -psdir | --psdir | --psdi | --psd | --ps)
   1032     ac_prev=psdir ;;
   1033   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1034     psdir=$ac_optarg ;;
   1035 
   1036   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1037   | -silent | --silent | --silen | --sile | --sil)
   1038     silent=yes ;;
   1039 
   1040   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1041     ac_prev=sbindir ;;
   1042   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1043   | --sbi=* | --sb=*)
   1044     sbindir=$ac_optarg ;;
   1045 
   1046   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1047   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1048   | --sharedst | --shareds | --shared | --share | --shar \
   1049   | --sha | --sh)
   1050     ac_prev=sharedstatedir ;;
   1051   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1052   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1053   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1054   | --sha=* | --sh=*)
   1055     sharedstatedir=$ac_optarg ;;
   1056 
   1057   -site | --site | --sit)
   1058     ac_prev=site ;;
   1059   -site=* | --site=* | --sit=*)
   1060     site=$ac_optarg ;;
   1061 
   1062   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1063     ac_prev=srcdir ;;
   1064   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1065     srcdir=$ac_optarg ;;
   1066 
   1067   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1068   | --syscon | --sysco | --sysc | --sys | --sy)
   1069     ac_prev=sysconfdir ;;
   1070   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1071   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1072     sysconfdir=$ac_optarg ;;
   1073 
   1074   -target | --target | --targe | --targ | --tar | --ta | --t)
   1075     ac_prev=target_alias ;;
   1076   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1077     target_alias=$ac_optarg ;;
   1078 
   1079   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1080     verbose=yes ;;
   1081 
   1082   -version | --version | --versio | --versi | --vers | -V)
   1083     ac_init_version=: ;;
   1084 
   1085   -with-* | --with-*)
   1086     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1087     # Reject names that are not valid shell variable names.
   1088     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1089       as_fn_error $? "invalid package name: $ac_useropt"
   1090     ac_useropt_orig=$ac_useropt
   1091     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1092     case $ac_user_opts in
   1093       *"
   1094 "with_$ac_useropt"
   1095 "*) ;;
   1096       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1097 	 ac_unrecognized_sep=', ';;
   1098     esac
   1099     eval with_$ac_useropt=\$ac_optarg ;;
   1100 
   1101   -without-* | --without-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=no ;;
   1116 
   1117   --x)
   1118     # Obsolete; use --with-x.
   1119     with_x=yes ;;
   1120 
   1121   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1122   | --x-incl | --x-inc | --x-in | --x-i)
   1123     ac_prev=x_includes ;;
   1124   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1125   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1126     x_includes=$ac_optarg ;;
   1127 
   1128   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1129   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1130     ac_prev=x_libraries ;;
   1131   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1132   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1133     x_libraries=$ac_optarg ;;
   1134 
   1135   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1136 Try \`$0 --help' for more information"
   1137     ;;
   1138 
   1139   *=*)
   1140     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1141     # Reject names that are not valid shell variable names.
   1142     case $ac_envvar in #(
   1143       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1144       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1145     esac
   1146     eval $ac_envvar=\$ac_optarg
   1147     export $ac_envvar ;;
   1148 
   1149   *)
   1150     # FIXME: should be removed in autoconf 3.0.
   1151     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1152     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1153       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1154     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1155     ;;
   1156 
   1157   esac
   1158 done
   1159 
   1160 if test -n "$ac_prev"; then
   1161   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1162   as_fn_error $? "missing argument to $ac_option"
   1163 fi
   1164 
   1165 if test -n "$ac_unrecognized_opts"; then
   1166   case $enable_option_checking in
   1167     no) ;;
   1168     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1169     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1170   esac
   1171 fi
   1172 
   1173 # Check all directory arguments for consistency.
   1174 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1175 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1176 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1177 		libdir localedir mandir
   1178 do
   1179   eval ac_val=\$$ac_var
   1180   # Remove trailing slashes.
   1181   case $ac_val in
   1182     */ )
   1183       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1184       eval $ac_var=\$ac_val;;
   1185   esac
   1186   # Be sure to have absolute directory names.
   1187   case $ac_val in
   1188     [\\/$]* | ?:[\\/]* )  continue;;
   1189     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1190   esac
   1191   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1192 done
   1193 
   1194 # There might be people who depend on the old broken behavior: `$host'
   1195 # used to hold the argument of --host etc.
   1196 # FIXME: To remove some day.
   1197 build=$build_alias
   1198 host=$host_alias
   1199 target=$target_alias
   1200 
   1201 # FIXME: To remove some day.
   1202 if test "x$host_alias" != x; then
   1203   if test "x$build_alias" = x; then
   1204     cross_compiling=maybe
   1205     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1206     If a cross compiler is detected then cross compile mode will be used" >&2
   1207   elif test "x$build_alias" != "x$host_alias"; then
   1208     cross_compiling=yes
   1209   fi
   1210 fi
   1211 
   1212 ac_tool_prefix=
   1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1214 
   1215 test "$silent" = yes && exec 6>/dev/null
   1216 
   1217 
   1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1219 ac_ls_di=`ls -di .` &&
   1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1221   as_fn_error $? "working directory cannot be determined"
   1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1223   as_fn_error $? "pwd does not report name of working directory"
   1224 
   1225 
   1226 # Find the source files, if location was not specified.
   1227 if test -z "$srcdir"; then
   1228   ac_srcdir_defaulted=yes
   1229   # Try the directory containing this script, then the parent directory.
   1230   ac_confdir=`$as_dirname -- "$as_myself" ||
   1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1232 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1233 	 X"$as_myself" : 'X\(//\)$' \| \
   1234 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1235 $as_echo X"$as_myself" |
   1236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1237 	    s//\1/
   1238 	    q
   1239 	  }
   1240 	  /^X\(\/\/\)[^/].*/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)$/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\).*/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  s/.*/./; q'`
   1253   srcdir=$ac_confdir
   1254   if test ! -r "$srcdir/$ac_unique_file"; then
   1255     srcdir=..
   1256   fi
   1257 else
   1258   ac_srcdir_defaulted=no
   1259 fi
   1260 if test ! -r "$srcdir/$ac_unique_file"; then
   1261   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1262   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1263 fi
   1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1265 ac_abs_confdir=`(
   1266 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1267 	pwd)`
   1268 # When building in place, set srcdir=.
   1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1270   srcdir=.
   1271 fi
   1272 # Remove unnecessary trailing slashes from srcdir.
   1273 # Double slashes in file names in object file debugging info
   1274 # mess up M-x gdb in Emacs.
   1275 case $srcdir in
   1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1277 esac
   1278 for ac_var in $ac_precious_vars; do
   1279   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_env_${ac_var}_value=\$${ac_var}
   1281   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1282   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1283 done
   1284 
   1285 #
   1286 # Report the --help message.
   1287 #
   1288 if test "$ac_init_help" = "long"; then
   1289   # Omit some internal or obsolete options to make the list less imposing.
   1290   # This message is too long to be a string in the A/UX 3.1 sh.
   1291   cat <<_ACEOF
   1292 \`configure' configures xrefresh 1.0.5 to adapt to many kinds of systems.
   1293 
   1294 Usage: $0 [OPTION]... [VAR=VALUE]...
   1295 
   1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1297 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1298 
   1299 Defaults for the options are specified in brackets.
   1300 
   1301 Configuration:
   1302   -h, --help              display this help and exit
   1303       --help=short        display options specific to this package
   1304       --help=recursive    display the short help of all the included packages
   1305   -V, --version           display version information and exit
   1306   -q, --quiet, --silent   do not print \`checking ...' messages
   1307       --cache-file=FILE   cache test results in FILE [disabled]
   1308   -C, --config-cache      alias for \`--cache-file=config.cache'
   1309   -n, --no-create         do not create output files
   1310       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1311 
   1312 Installation directories:
   1313   --prefix=PREFIX         install architecture-independent files in PREFIX
   1314                           [$ac_default_prefix]
   1315   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1316                           [PREFIX]
   1317 
   1318 By default, \`make install' will install all the files in
   1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1321 for instance \`--prefix=\$HOME'.
   1322 
   1323 For better control, use the options below.
   1324 
   1325 Fine tuning of the installation directories:
   1326   --bindir=DIR            user executables [EPREFIX/bin]
   1327   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1328   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1329   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1330   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1331   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1332   --libdir=DIR            object code libraries [EPREFIX/lib]
   1333   --includedir=DIR        C header files [PREFIX/include]
   1334   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1335   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1336   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1337   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1338   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1339   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1340   --docdir=DIR            documentation root [DATAROOTDIR/doc/xrefresh]
   1341   --htmldir=DIR           html documentation [DOCDIR]
   1342   --dvidir=DIR            dvi documentation [DOCDIR]
   1343   --pdfdir=DIR            pdf documentation [DOCDIR]
   1344   --psdir=DIR             ps documentation [DOCDIR]
   1345 _ACEOF
   1346 
   1347   cat <<\_ACEOF
   1348 
   1349 Program names:
   1350   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1351   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1352   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1353 
   1354 System types:
   1355   --build=BUILD     configure for building on BUILD [guessed]
   1356   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1357 _ACEOF
   1358 fi
   1359 
   1360 if test -n "$ac_init_help"; then
   1361   case $ac_init_help in
   1362      short | recursive ) echo "Configuration of xrefresh 1.0.5:";;
   1363    esac
   1364   cat <<\_ACEOF
   1365 
   1366 Optional Features:
   1367   --disable-option-checking  ignore unrecognized --enable/--with options
   1368   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1369   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1370   --enable-dependency-tracking
   1371                           do not reject slow dependency extractors
   1372   --disable-dependency-tracking
   1373                           speeds up one-time build
   1374   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1375   --disable-silent-rules  verbose build output (undo: "make V=0")
   1376   --enable-maintainer-mode
   1377                           enable make rules and dependencies not useful (and
   1378                           sometimes confusing) to the casual installer
   1379   --disable-selective-werror
   1380                           Turn off selective compiler errors. (default:
   1381                           enabled)
   1382   --enable-strict-compilation
   1383                           Enable all warnings from compiler and make them
   1384                           errors (default: disabled)
   1385 
   1386 Some influential environment variables:
   1387   CC          C compiler command
   1388   CFLAGS      C compiler flags
   1389   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1390               nonstandard directory <lib dir>
   1391   LIBS        libraries to pass to the linker, e.g. -l<library>
   1392   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1393               you have headers in a nonstandard directory <include dir>
   1394   CPP         C preprocessor
   1395   PKG_CONFIG  path to pkg-config utility
   1396   XREFRESH_CFLAGS
   1397               C compiler flags for XREFRESH, overriding pkg-config
   1398   XREFRESH_LIBS
   1399               linker flags for XREFRESH, overriding pkg-config
   1400 
   1401 Use these variables to override the choices made by `configure' or to help
   1402 it to find libraries and programs with nonstandard names/locations.
   1403 
   1404 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1405 _ACEOF
   1406 ac_status=$?
   1407 fi
   1408 
   1409 if test "$ac_init_help" = "recursive"; then
   1410   # If there are subdirs, report their specific --help.
   1411   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1412     test -d "$ac_dir" ||
   1413       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1414       continue
   1415     ac_builddir=.
   1416 
   1417 case "$ac_dir" in
   1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1419 *)
   1420   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1421   # A ".." for each directory in $ac_dir_suffix.
   1422   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1423   case $ac_top_builddir_sub in
   1424   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1425   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1426   esac ;;
   1427 esac
   1428 ac_abs_top_builddir=$ac_pwd
   1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1430 # for backward compatibility:
   1431 ac_top_builddir=$ac_top_build_prefix
   1432 
   1433 case $srcdir in
   1434   .)  # We are building in place.
   1435     ac_srcdir=.
   1436     ac_top_srcdir=$ac_top_builddir_sub
   1437     ac_abs_top_srcdir=$ac_pwd ;;
   1438   [\\/]* | ?:[\\/]* )  # Absolute name.
   1439     ac_srcdir=$srcdir$ac_dir_suffix;
   1440     ac_top_srcdir=$srcdir
   1441     ac_abs_top_srcdir=$srcdir ;;
   1442   *) # Relative name.
   1443     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1444     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1445     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1446 esac
   1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1448 
   1449     cd "$ac_dir" || { ac_status=$?; continue; }
   1450     # Check for guested configure.
   1451     if test -f "$ac_srcdir/configure.gnu"; then
   1452       echo &&
   1453       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1454     elif test -f "$ac_srcdir/configure"; then
   1455       echo &&
   1456       $SHELL "$ac_srcdir/configure" --help=recursive
   1457     else
   1458       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1459     fi || ac_status=$?
   1460     cd "$ac_pwd" || { ac_status=$?; break; }
   1461   done
   1462 fi
   1463 
   1464 test -n "$ac_init_help" && exit $ac_status
   1465 if $ac_init_version; then
   1466   cat <<\_ACEOF
   1467 xrefresh configure 1.0.5
   1468 generated by GNU Autoconf 2.68
   1469 
   1470 Copyright (C) 2010 Free Software Foundation, Inc.
   1471 This configure script is free software; the Free Software Foundation
   1472 gives unlimited permission to copy, distribute and modify it.
   1473 _ACEOF
   1474   exit
   1475 fi
   1476 
   1477 ## ------------------------ ##
   1478 ## Autoconf initialization. ##
   1479 ## ------------------------ ##
   1480 
   1481 # ac_fn_c_try_compile LINENO
   1482 # --------------------------
   1483 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1484 ac_fn_c_try_compile ()
   1485 {
   1486   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1487   rm -f conftest.$ac_objext
   1488   if { { ac_try="$ac_compile"
   1489 case "(($ac_try" in
   1490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1491   *) ac_try_echo=$ac_try;;
   1492 esac
   1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1494 $as_echo "$ac_try_echo"; } >&5
   1495   (eval "$ac_compile") 2>conftest.err
   1496   ac_status=$?
   1497   if test -s conftest.err; then
   1498     grep -v '^ *+' conftest.err >conftest.er1
   1499     cat conftest.er1 >&5
   1500     mv -f conftest.er1 conftest.err
   1501   fi
   1502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1503   test $ac_status = 0; } && {
   1504 	 test -z "$ac_c_werror_flag" ||
   1505 	 test ! -s conftest.err
   1506        } && test -s conftest.$ac_objext; then :
   1507   ac_retval=0
   1508 else
   1509   $as_echo "$as_me: failed program was:" >&5
   1510 sed 's/^/| /' conftest.$ac_ext >&5
   1511 
   1512 	ac_retval=1
   1513 fi
   1514   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1515   as_fn_set_status $ac_retval
   1516 
   1517 } # ac_fn_c_try_compile
   1518 
   1519 # ac_fn_c_try_cpp LINENO
   1520 # ----------------------
   1521 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1522 ac_fn_c_try_cpp ()
   1523 {
   1524   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1525   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1526 case "(($ac_try" in
   1527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1528   *) ac_try_echo=$ac_try;;
   1529 esac
   1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1531 $as_echo "$ac_try_echo"; } >&5
   1532   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1533   ac_status=$?
   1534   if test -s conftest.err; then
   1535     grep -v '^ *+' conftest.err >conftest.er1
   1536     cat conftest.er1 >&5
   1537     mv -f conftest.er1 conftest.err
   1538   fi
   1539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1540   test $ac_status = 0; } > conftest.i && {
   1541 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1542 	 test ! -s conftest.err
   1543        }; then :
   1544   ac_retval=0
   1545 else
   1546   $as_echo "$as_me: failed program was:" >&5
   1547 sed 's/^/| /' conftest.$ac_ext >&5
   1548 
   1549     ac_retval=1
   1550 fi
   1551   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1552   as_fn_set_status $ac_retval
   1553 
   1554 } # ac_fn_c_try_cpp
   1555 
   1556 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1557 # -------------------------------------------------------
   1558 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1559 # the include files in INCLUDES and setting the cache variable VAR
   1560 # accordingly.
   1561 ac_fn_c_check_header_mongrel ()
   1562 {
   1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1564   if eval \${$3+:} false; then :
   1565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1566 $as_echo_n "checking for $2... " >&6; }
   1567 if eval \${$3+:} false; then :
   1568   $as_echo_n "(cached) " >&6
   1569 fi
   1570 eval ac_res=\$$3
   1571 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1572 $as_echo "$ac_res" >&6; }
   1573 else
   1574   # Is the header compilable?
   1575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1576 $as_echo_n "checking $2 usability... " >&6; }
   1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1578 /* end confdefs.h.  */
   1579 $4
   1580 #include <$2>
   1581 _ACEOF
   1582 if ac_fn_c_try_compile "$LINENO"; then :
   1583   ac_header_compiler=yes
   1584 else
   1585   ac_header_compiler=no
   1586 fi
   1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1589 $as_echo "$ac_header_compiler" >&6; }
   1590 
   1591 # Is the header present?
   1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1593 $as_echo_n "checking $2 presence... " >&6; }
   1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1595 /* end confdefs.h.  */
   1596 #include <$2>
   1597 _ACEOF
   1598 if ac_fn_c_try_cpp "$LINENO"; then :
   1599   ac_header_preproc=yes
   1600 else
   1601   ac_header_preproc=no
   1602 fi
   1603 rm -f conftest.err conftest.i conftest.$ac_ext
   1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1605 $as_echo "$ac_header_preproc" >&6; }
   1606 
   1607 # So?  What about this header?
   1608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1609   yes:no: )
   1610     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1611 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1612     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1613 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1614     ;;
   1615   no:yes:* )
   1616     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1617 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1618     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1619 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1620     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1621 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1622     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1623 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1624     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1625 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1626 ( $as_echo "## ---------------------------------------------------------------------- ##
   1627 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1628 ## ---------------------------------------------------------------------- ##"
   1629      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1630     ;;
   1631 esac
   1632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1633 $as_echo_n "checking for $2... " >&6; }
   1634 if eval \${$3+:} false; then :
   1635   $as_echo_n "(cached) " >&6
   1636 else
   1637   eval "$3=\$ac_header_compiler"
   1638 fi
   1639 eval ac_res=\$$3
   1640 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1641 $as_echo "$ac_res" >&6; }
   1642 fi
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644 
   1645 } # ac_fn_c_check_header_mongrel
   1646 
   1647 # ac_fn_c_try_run LINENO
   1648 # ----------------------
   1649 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1650 # that executables *can* be run.
   1651 ac_fn_c_try_run ()
   1652 {
   1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1654   if { { ac_try="$ac_link"
   1655 case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_link") 2>&5
   1662   ac_status=$?
   1663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1664   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1665   { { case "(($ac_try" in
   1666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1667   *) ac_try_echo=$ac_try;;
   1668 esac
   1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1670 $as_echo "$ac_try_echo"; } >&5
   1671   (eval "$ac_try") 2>&5
   1672   ac_status=$?
   1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; }; }; then :
   1675   ac_retval=0
   1676 else
   1677   $as_echo "$as_me: program exited with status $ac_status" >&5
   1678        $as_echo "$as_me: failed program was:" >&5
   1679 sed 's/^/| /' conftest.$ac_ext >&5
   1680 
   1681        ac_retval=$ac_status
   1682 fi
   1683   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685   as_fn_set_status $ac_retval
   1686 
   1687 } # ac_fn_c_try_run
   1688 
   1689 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1690 # -------------------------------------------------------
   1691 # Tests whether HEADER exists and can be compiled using the include files in
   1692 # INCLUDES, setting the cache variable VAR accordingly.
   1693 ac_fn_c_check_header_compile ()
   1694 {
   1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1697 $as_echo_n "checking for $2... " >&6; }
   1698 if eval \${$3+:} false; then :
   1699   $as_echo_n "(cached) " >&6
   1700 else
   1701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 $4
   1704 #include <$2>
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"; then :
   1707   eval "$3=yes"
   1708 else
   1709   eval "$3=no"
   1710 fi
   1711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1712 fi
   1713 eval ac_res=\$$3
   1714 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1715 $as_echo "$ac_res" >&6; }
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717 
   1718 } # ac_fn_c_check_header_compile
   1719 
   1720 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1721 # ---------------------------------------------
   1722 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1723 # accordingly.
   1724 ac_fn_c_check_decl ()
   1725 {
   1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1727   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1728   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1730 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 $4
   1737 int
   1738 main ()
   1739 {
   1740 #ifndef $as_decl_name
   1741 #ifdef __cplusplus
   1742   (void) $as_decl_use;
   1743 #else
   1744   (void) $as_decl_name;
   1745 #endif
   1746 #endif
   1747 
   1748   ;
   1749   return 0;
   1750 }
   1751 _ACEOF
   1752 if ac_fn_c_try_compile "$LINENO"; then :
   1753   eval "$3=yes"
   1754 else
   1755   eval "$3=no"
   1756 fi
   1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1758 fi
   1759 eval ac_res=\$$3
   1760 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1761 $as_echo "$ac_res" >&6; }
   1762   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1763 
   1764 } # ac_fn_c_check_decl
   1765 
   1766 # ac_fn_c_try_link LINENO
   1767 # -----------------------
   1768 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1769 ac_fn_c_try_link ()
   1770 {
   1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1772   rm -f conftest.$ac_objext conftest$ac_exeext
   1773   if { { ac_try="$ac_link"
   1774 case "(($ac_try" in
   1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1776   *) ac_try_echo=$ac_try;;
   1777 esac
   1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1779 $as_echo "$ac_try_echo"; } >&5
   1780   (eval "$ac_link") 2>conftest.err
   1781   ac_status=$?
   1782   if test -s conftest.err; then
   1783     grep -v '^ *+' conftest.err >conftest.er1
   1784     cat conftest.er1 >&5
   1785     mv -f conftest.er1 conftest.err
   1786   fi
   1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1788   test $ac_status = 0; } && {
   1789 	 test -z "$ac_c_werror_flag" ||
   1790 	 test ! -s conftest.err
   1791        } && test -s conftest$ac_exeext && {
   1792 	 test "$cross_compiling" = yes ||
   1793 	 $as_test_x conftest$ac_exeext
   1794        }; then :
   1795   ac_retval=0
   1796 else
   1797   $as_echo "$as_me: failed program was:" >&5
   1798 sed 's/^/| /' conftest.$ac_ext >&5
   1799 
   1800 	ac_retval=1
   1801 fi
   1802   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1803   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1804   # interfere with the next link command; also delete a directory that is
   1805   # left behind by Apple's compiler.  We do this before executing the actions.
   1806   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808   as_fn_set_status $ac_retval
   1809 
   1810 } # ac_fn_c_try_link
   1811 
   1812 # ac_fn_c_check_func LINENO FUNC VAR
   1813 # ----------------------------------
   1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1815 ac_fn_c_check_func ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1819 $as_echo_n "checking for $2... " >&6; }
   1820 if eval \${$3+:} false; then :
   1821   $as_echo_n "(cached) " >&6
   1822 else
   1823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1824 /* end confdefs.h.  */
   1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1827 #define $2 innocuous_$2
   1828 
   1829 /* System header to define __stub macros and hopefully few prototypes,
   1830     which can conflict with char $2 (); below.
   1831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1832     <limits.h> exists even on freestanding compilers.  */
   1833 
   1834 #ifdef __STDC__
   1835 # include <limits.h>
   1836 #else
   1837 # include <assert.h>
   1838 #endif
   1839 
   1840 #undef $2
   1841 
   1842 /* Override any GCC internal prototype to avoid an error.
   1843    Use char because int might match the return type of a GCC
   1844    builtin and then its argument prototype would still apply.  */
   1845 #ifdef __cplusplus
   1846 extern "C"
   1847 #endif
   1848 char $2 ();
   1849 /* The GNU C library defines this for functions which it implements
   1850     to always fail with ENOSYS.  Some functions are actually named
   1851     something starting with __ and the normal name is an alias.  */
   1852 #if defined __stub_$2 || defined __stub___$2
   1853 choke me
   1854 #endif
   1855 
   1856 int
   1857 main ()
   1858 {
   1859 return $2 ();
   1860   ;
   1861   return 0;
   1862 }
   1863 _ACEOF
   1864 if ac_fn_c_try_link "$LINENO"; then :
   1865   eval "$3=yes"
   1866 else
   1867   eval "$3=no"
   1868 fi
   1869 rm -f core conftest.err conftest.$ac_objext \
   1870     conftest$ac_exeext conftest.$ac_ext
   1871 fi
   1872 eval ac_res=\$$3
   1873 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1874 $as_echo "$ac_res" >&6; }
   1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1876 
   1877 } # ac_fn_c_check_func
   1878 cat >config.log <<_ACEOF
   1879 This file contains any messages produced by compilers while
   1880 running configure, to aid debugging if configure makes a mistake.
   1881 
   1882 It was created by xrefresh $as_me 1.0.5, which was
   1883 generated by GNU Autoconf 2.68.  Invocation command line was
   1884 
   1885   $ $0 $@
   1886 
   1887 _ACEOF
   1888 exec 5>>config.log
   1889 {
   1890 cat <<_ASUNAME
   1891 ## --------- ##
   1892 ## Platform. ##
   1893 ## --------- ##
   1894 
   1895 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1896 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1897 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1898 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1899 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1900 
   1901 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1902 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1903 
   1904 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1905 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1906 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1907 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1908 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1909 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1910 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1911 
   1912 _ASUNAME
   1913 
   1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1915 for as_dir in $PATH
   1916 do
   1917   IFS=$as_save_IFS
   1918   test -z "$as_dir" && as_dir=.
   1919     $as_echo "PATH: $as_dir"
   1920   done
   1921 IFS=$as_save_IFS
   1922 
   1923 } >&5
   1924 
   1925 cat >&5 <<_ACEOF
   1926 
   1927 
   1928 ## ----------- ##
   1929 ## Core tests. ##
   1930 ## ----------- ##
   1931 
   1932 _ACEOF
   1933 
   1934 
   1935 # Keep a trace of the command line.
   1936 # Strip out --no-create and --no-recursion so they do not pile up.
   1937 # Strip out --silent because we don't want to record it for future runs.
   1938 # Also quote any args containing shell meta-characters.
   1939 # Make two passes to allow for proper duplicate-argument suppression.
   1940 ac_configure_args=
   1941 ac_configure_args0=
   1942 ac_configure_args1=
   1943 ac_must_keep_next=false
   1944 for ac_pass in 1 2
   1945 do
   1946   for ac_arg
   1947   do
   1948     case $ac_arg in
   1949     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1950     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1951     | -silent | --silent | --silen | --sile | --sil)
   1952       continue ;;
   1953     *\'*)
   1954       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1955     esac
   1956     case $ac_pass in
   1957     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1958     2)
   1959       as_fn_append ac_configure_args1 " '$ac_arg'"
   1960       if test $ac_must_keep_next = true; then
   1961 	ac_must_keep_next=false # Got value, back to normal.
   1962       else
   1963 	case $ac_arg in
   1964 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1965 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1966 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1967 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1968 	    case "$ac_configure_args0 " in
   1969 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1970 	    esac
   1971 	    ;;
   1972 	  -* ) ac_must_keep_next=true ;;
   1973 	esac
   1974       fi
   1975       as_fn_append ac_configure_args " '$ac_arg'"
   1976       ;;
   1977     esac
   1978   done
   1979 done
   1980 { ac_configure_args0=; unset ac_configure_args0;}
   1981 { ac_configure_args1=; unset ac_configure_args1;}
   1982 
   1983 # When interrupted or exit'd, cleanup temporary files, and complete
   1984 # config.log.  We remove comments because anyway the quotes in there
   1985 # would cause problems or look ugly.
   1986 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1987 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1988 trap 'exit_status=$?
   1989   # Save into config.log some information that might help in debugging.
   1990   {
   1991     echo
   1992 
   1993     $as_echo "## ---------------- ##
   1994 ## Cache variables. ##
   1995 ## ---------------- ##"
   1996     echo
   1997     # The following way of writing the cache mishandles newlines in values,
   1998 (
   1999   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2000     eval ac_val=\$$ac_var
   2001     case $ac_val in #(
   2002     *${as_nl}*)
   2003       case $ac_var in #(
   2004       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2006       esac
   2007       case $ac_var in #(
   2008       _ | IFS | as_nl) ;; #(
   2009       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2010       *) { eval $ac_var=; unset $ac_var;} ;;
   2011       esac ;;
   2012     esac
   2013   done
   2014   (set) 2>&1 |
   2015     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2016     *${as_nl}ac_space=\ *)
   2017       sed -n \
   2018 	"s/'\''/'\''\\\\'\'''\''/g;
   2019 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2020       ;; #(
   2021     *)
   2022       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2023       ;;
   2024     esac |
   2025     sort
   2026 )
   2027     echo
   2028 
   2029     $as_echo "## ----------------- ##
   2030 ## Output variables. ##
   2031 ## ----------------- ##"
   2032     echo
   2033     for ac_var in $ac_subst_vars
   2034     do
   2035       eval ac_val=\$$ac_var
   2036       case $ac_val in
   2037       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2038       esac
   2039       $as_echo "$ac_var='\''$ac_val'\''"
   2040     done | sort
   2041     echo
   2042 
   2043     if test -n "$ac_subst_files"; then
   2044       $as_echo "## ------------------- ##
   2045 ## File substitutions. ##
   2046 ## ------------------- ##"
   2047       echo
   2048       for ac_var in $ac_subst_files
   2049       do
   2050 	eval ac_val=\$$ac_var
   2051 	case $ac_val in
   2052 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2053 	esac
   2054 	$as_echo "$ac_var='\''$ac_val'\''"
   2055       done | sort
   2056       echo
   2057     fi
   2058 
   2059     if test -s confdefs.h; then
   2060       $as_echo "## ----------- ##
   2061 ## confdefs.h. ##
   2062 ## ----------- ##"
   2063       echo
   2064       cat confdefs.h
   2065       echo
   2066     fi
   2067     test "$ac_signal" != 0 &&
   2068       $as_echo "$as_me: caught signal $ac_signal"
   2069     $as_echo "$as_me: exit $exit_status"
   2070   } >&5
   2071   rm -f core *.core core.conftest.* &&
   2072     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2073     exit $exit_status
   2074 ' 0
   2075 for ac_signal in 1 2 13 15; do
   2076   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2077 done
   2078 ac_signal=0
   2079 
   2080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2081 rm -f -r conftest* confdefs.h
   2082 
   2083 $as_echo "/* confdefs.h */" > confdefs.h
   2084 
   2085 # Predefined preprocessor variables.
   2086 
   2087 cat >>confdefs.h <<_ACEOF
   2088 #define PACKAGE_NAME "$PACKAGE_NAME"
   2089 _ACEOF
   2090 
   2091 cat >>confdefs.h <<_ACEOF
   2092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2093 _ACEOF
   2094 
   2095 cat >>confdefs.h <<_ACEOF
   2096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2097 _ACEOF
   2098 
   2099 cat >>confdefs.h <<_ACEOF
   2100 #define PACKAGE_STRING "$PACKAGE_STRING"
   2101 _ACEOF
   2102 
   2103 cat >>confdefs.h <<_ACEOF
   2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2105 _ACEOF
   2106 
   2107 cat >>confdefs.h <<_ACEOF
   2108 #define PACKAGE_URL "$PACKAGE_URL"
   2109 _ACEOF
   2110 
   2111 
   2112 # Let the site file select an alternate cache file if it wants to.
   2113 # Prefer an explicitly selected file to automatically selected ones.
   2114 ac_site_file1=NONE
   2115 ac_site_file2=NONE
   2116 if test -n "$CONFIG_SITE"; then
   2117   # We do not want a PATH search for config.site.
   2118   case $CONFIG_SITE in #((
   2119     -*)  ac_site_file1=./$CONFIG_SITE;;
   2120     */*) ac_site_file1=$CONFIG_SITE;;
   2121     *)   ac_site_file1=./$CONFIG_SITE;;
   2122   esac
   2123 elif test "x$prefix" != xNONE; then
   2124   ac_site_file1=$prefix/share/config.site
   2125   ac_site_file2=$prefix/etc/config.site
   2126 else
   2127   ac_site_file1=$ac_default_prefix/share/config.site
   2128   ac_site_file2=$ac_default_prefix/etc/config.site
   2129 fi
   2130 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2131 do
   2132   test "x$ac_site_file" = xNONE && continue
   2133   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2134     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2135 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2136     sed 's/^/| /' "$ac_site_file" >&5
   2137     . "$ac_site_file" \
   2138       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2140 as_fn_error $? "failed to load site script $ac_site_file
   2141 See \`config.log' for more details" "$LINENO" 5; }
   2142   fi
   2143 done
   2144 
   2145 if test -r "$cache_file"; then
   2146   # Some versions of bash will fail to source /dev/null (special files
   2147   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2148   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2149     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2151     case $cache_file in
   2152       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2153       *)                      . "./$cache_file";;
   2154     esac
   2155   fi
   2156 else
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2159   >$cache_file
   2160 fi
   2161 
   2162 # Check that the precious variables saved in the cache have kept the same
   2163 # value.
   2164 ac_cache_corrupted=false
   2165 for ac_var in $ac_precious_vars; do
   2166   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2167   eval ac_new_set=\$ac_env_${ac_var}_set
   2168   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2169   eval ac_new_val=\$ac_env_${ac_var}_value
   2170   case $ac_old_set,$ac_new_set in
   2171     set,)
   2172       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2173 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2174       ac_cache_corrupted=: ;;
   2175     ,set)
   2176       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2177 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2178       ac_cache_corrupted=: ;;
   2179     ,);;
   2180     *)
   2181       if test "x$ac_old_val" != "x$ac_new_val"; then
   2182 	# differences in whitespace do not lead to failure.
   2183 	ac_old_val_w=`echo x $ac_old_val`
   2184 	ac_new_val_w=`echo x $ac_new_val`
   2185 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2186 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2188 	  ac_cache_corrupted=:
   2189 	else
   2190 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2192 	  eval $ac_var=\$ac_old_val
   2193 	fi
   2194 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2195 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2196 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2197 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2198       fi;;
   2199   esac
   2200   # Pass precious variables to config.status.
   2201   if test "$ac_new_set" = set; then
   2202     case $ac_new_val in
   2203     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2204     *) ac_arg=$ac_var=$ac_new_val ;;
   2205     esac
   2206     case " $ac_configure_args " in
   2207       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2208       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2209     esac
   2210   fi
   2211 done
   2212 if $ac_cache_corrupted; then
   2213   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2215   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2217   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2218 fi
   2219 ## -------------------- ##
   2220 ## Main body of script. ##
   2221 ## -------------------- ##
   2222 
   2223 ac_ext=c
   2224 ac_cpp='$CPP $CPPFLAGS'
   2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2228 
   2229 
   2230 
   2231 ac_config_headers="$ac_config_headers config.h"
   2232 
   2233 ac_ext=c
   2234 ac_cpp='$CPP $CPPFLAGS'
   2235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2238 if test -n "$ac_tool_prefix"; then
   2239   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2242 $as_echo_n "checking for $ac_word... " >&6; }
   2243 if ${ac_cv_prog_CC+:} false; then :
   2244   $as_echo_n "(cached) " >&6
   2245 else
   2246   if test -n "$CC"; then
   2247   ac_cv_prog_CC="$CC" # Let the user override the test.
   2248 else
   2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2250 for as_dir in $PATH
   2251 do
   2252   IFS=$as_save_IFS
   2253   test -z "$as_dir" && as_dir=.
   2254     for ac_exec_ext in '' $ac_executable_extensions; do
   2255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2256     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2258     break 2
   2259   fi
   2260 done
   2261   done
   2262 IFS=$as_save_IFS
   2263 
   2264 fi
   2265 fi
   2266 CC=$ac_cv_prog_CC
   2267 if test -n "$CC"; then
   2268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2269 $as_echo "$CC" >&6; }
   2270 else
   2271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2272 $as_echo "no" >&6; }
   2273 fi
   2274 
   2275 
   2276 fi
   2277 if test -z "$ac_cv_prog_CC"; then
   2278   ac_ct_CC=$CC
   2279   # Extract the first word of "gcc", so it can be a program name with args.
   2280 set dummy gcc; ac_word=$2
   2281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2282 $as_echo_n "checking for $ac_word... " >&6; }
   2283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2284   $as_echo_n "(cached) " >&6
   2285 else
   2286   if test -n "$ac_ct_CC"; then
   2287   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2288 else
   2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2290 for as_dir in $PATH
   2291 do
   2292   IFS=$as_save_IFS
   2293   test -z "$as_dir" && as_dir=.
   2294     for ac_exec_ext in '' $ac_executable_extensions; do
   2295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2296     ac_cv_prog_ac_ct_CC="gcc"
   2297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2298     break 2
   2299   fi
   2300 done
   2301   done
   2302 IFS=$as_save_IFS
   2303 
   2304 fi
   2305 fi
   2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2307 if test -n "$ac_ct_CC"; then
   2308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2309 $as_echo "$ac_ct_CC" >&6; }
   2310 else
   2311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2312 $as_echo "no" >&6; }
   2313 fi
   2314 
   2315   if test "x$ac_ct_CC" = x; then
   2316     CC=""
   2317   else
   2318     case $cross_compiling:$ac_tool_warned in
   2319 yes:)
   2320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2322 ac_tool_warned=yes ;;
   2323 esac
   2324     CC=$ac_ct_CC
   2325   fi
   2326 else
   2327   CC="$ac_cv_prog_CC"
   2328 fi
   2329 
   2330 if test -z "$CC"; then
   2331           if test -n "$ac_tool_prefix"; then
   2332     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2333 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2335 $as_echo_n "checking for $ac_word... " >&6; }
   2336 if ${ac_cv_prog_CC+:} false; then :
   2337   $as_echo_n "(cached) " >&6
   2338 else
   2339   if test -n "$CC"; then
   2340   ac_cv_prog_CC="$CC" # Let the user override the test.
   2341 else
   2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347     for ac_exec_ext in '' $ac_executable_extensions; do
   2348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2349     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2351     break 2
   2352   fi
   2353 done
   2354   done
   2355 IFS=$as_save_IFS
   2356 
   2357 fi
   2358 fi
   2359 CC=$ac_cv_prog_CC
   2360 if test -n "$CC"; then
   2361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2362 $as_echo "$CC" >&6; }
   2363 else
   2364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2365 $as_echo "no" >&6; }
   2366 fi
   2367 
   2368 
   2369   fi
   2370 fi
   2371 if test -z "$CC"; then
   2372   # Extract the first word of "cc", so it can be a program name with args.
   2373 set dummy cc; ac_word=$2
   2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2375 $as_echo_n "checking for $ac_word... " >&6; }
   2376 if ${ac_cv_prog_CC+:} false; then :
   2377   $as_echo_n "(cached) " >&6
   2378 else
   2379   if test -n "$CC"; then
   2380   ac_cv_prog_CC="$CC" # Let the user override the test.
   2381 else
   2382   ac_prog_rejected=no
   2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2384 for as_dir in $PATH
   2385 do
   2386   IFS=$as_save_IFS
   2387   test -z "$as_dir" && as_dir=.
   2388     for ac_exec_ext in '' $ac_executable_extensions; do
   2389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2390     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2391        ac_prog_rejected=yes
   2392        continue
   2393      fi
   2394     ac_cv_prog_CC="cc"
   2395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2396     break 2
   2397   fi
   2398 done
   2399   done
   2400 IFS=$as_save_IFS
   2401 
   2402 if test $ac_prog_rejected = yes; then
   2403   # We found a bogon in the path, so make sure we never use it.
   2404   set dummy $ac_cv_prog_CC
   2405   shift
   2406   if test $# != 0; then
   2407     # We chose a different compiler from the bogus one.
   2408     # However, it has the same basename, so the bogon will be chosen
   2409     # first if we set CC to just the basename; use the full file name.
   2410     shift
   2411     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2412   fi
   2413 fi
   2414 fi
   2415 fi
   2416 CC=$ac_cv_prog_CC
   2417 if test -n "$CC"; then
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2419 $as_echo "$CC" >&6; }
   2420 else
   2421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2422 $as_echo "no" >&6; }
   2423 fi
   2424 
   2425 
   2426 fi
   2427 if test -z "$CC"; then
   2428   if test -n "$ac_tool_prefix"; then
   2429   for ac_prog in cl.exe
   2430   do
   2431     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2434 $as_echo_n "checking for $ac_word... " >&6; }
   2435 if ${ac_cv_prog_CC+:} false; then :
   2436   $as_echo_n "(cached) " >&6
   2437 else
   2438   if test -n "$CC"; then
   2439   ac_cv_prog_CC="$CC" # Let the user override the test.
   2440 else
   2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2442 for as_dir in $PATH
   2443 do
   2444   IFS=$as_save_IFS
   2445   test -z "$as_dir" && as_dir=.
   2446     for ac_exec_ext in '' $ac_executable_extensions; do
   2447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2448     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2450     break 2
   2451   fi
   2452 done
   2453   done
   2454 IFS=$as_save_IFS
   2455 
   2456 fi
   2457 fi
   2458 CC=$ac_cv_prog_CC
   2459 if test -n "$CC"; then
   2460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2461 $as_echo "$CC" >&6; }
   2462 else
   2463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2464 $as_echo "no" >&6; }
   2465 fi
   2466 
   2467 
   2468     test -n "$CC" && break
   2469   done
   2470 fi
   2471 if test -z "$CC"; then
   2472   ac_ct_CC=$CC
   2473   for ac_prog in cl.exe
   2474 do
   2475   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2476 set dummy $ac_prog; ac_word=$2
   2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2478 $as_echo_n "checking for $ac_word... " >&6; }
   2479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2480   $as_echo_n "(cached) " >&6
   2481 else
   2482   if test -n "$ac_ct_CC"; then
   2483   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2484 else
   2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2486 for as_dir in $PATH
   2487 do
   2488   IFS=$as_save_IFS
   2489   test -z "$as_dir" && as_dir=.
   2490     for ac_exec_ext in '' $ac_executable_extensions; do
   2491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2492     ac_cv_prog_ac_ct_CC="$ac_prog"
   2493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2494     break 2
   2495   fi
   2496 done
   2497   done
   2498 IFS=$as_save_IFS
   2499 
   2500 fi
   2501 fi
   2502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2503 if test -n "$ac_ct_CC"; then
   2504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2505 $as_echo "$ac_ct_CC" >&6; }
   2506 else
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2508 $as_echo "no" >&6; }
   2509 fi
   2510 
   2511 
   2512   test -n "$ac_ct_CC" && break
   2513 done
   2514 
   2515   if test "x$ac_ct_CC" = x; then
   2516     CC=""
   2517   else
   2518     case $cross_compiling:$ac_tool_warned in
   2519 yes:)
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2522 ac_tool_warned=yes ;;
   2523 esac
   2524     CC=$ac_ct_CC
   2525   fi
   2526 fi
   2527 
   2528 fi
   2529 
   2530 
   2531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2533 as_fn_error $? "no acceptable C compiler found in \$PATH
   2534 See \`config.log' for more details" "$LINENO" 5; }
   2535 
   2536 # Provide some information about the compiler.
   2537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2538 set X $ac_compile
   2539 ac_compiler=$2
   2540 for ac_option in --version -v -V -qversion; do
   2541   { { ac_try="$ac_compiler $ac_option >&5"
   2542 case "(($ac_try" in
   2543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2544   *) ac_try_echo=$ac_try;;
   2545 esac
   2546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2547 $as_echo "$ac_try_echo"; } >&5
   2548   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2549   ac_status=$?
   2550   if test -s conftest.err; then
   2551     sed '10a\
   2552 ... rest of stderr output deleted ...
   2553          10q' conftest.err >conftest.er1
   2554     cat conftest.er1 >&5
   2555   fi
   2556   rm -f conftest.er1 conftest.err
   2557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2558   test $ac_status = 0; }
   2559 done
   2560 
   2561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2562 /* end confdefs.h.  */
   2563 
   2564 int
   2565 main ()
   2566 {
   2567 
   2568   ;
   2569   return 0;
   2570 }
   2571 _ACEOF
   2572 ac_clean_files_save=$ac_clean_files
   2573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2574 # Try to create an executable without -o first, disregard a.out.
   2575 # It will help us diagnose broken compilers, and finding out an intuition
   2576 # of exeext.
   2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2578 $as_echo_n "checking whether the C compiler works... " >&6; }
   2579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2580 
   2581 # The possible output files:
   2582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2583 
   2584 ac_rmfiles=
   2585 for ac_file in $ac_files
   2586 do
   2587   case $ac_file in
   2588     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2589     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2590   esac
   2591 done
   2592 rm -f $ac_rmfiles
   2593 
   2594 if { { ac_try="$ac_link_default"
   2595 case "(($ac_try" in
   2596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2597   *) ac_try_echo=$ac_try;;
   2598 esac
   2599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2600 $as_echo "$ac_try_echo"; } >&5
   2601   (eval "$ac_link_default") 2>&5
   2602   ac_status=$?
   2603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2604   test $ac_status = 0; }; then :
   2605   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2607 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2608 # so that the user can short-circuit this test for compilers unknown to
   2609 # Autoconf.
   2610 for ac_file in $ac_files ''
   2611 do
   2612   test -f "$ac_file" || continue
   2613   case $ac_file in
   2614     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2615 	;;
   2616     [ab].out )
   2617 	# We found the default executable, but exeext='' is most
   2618 	# certainly right.
   2619 	break;;
   2620     *.* )
   2621 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2622 	then :; else
   2623 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2624 	fi
   2625 	# We set ac_cv_exeext here because the later test for it is not
   2626 	# safe: cross compilers may not add the suffix if given an `-o'
   2627 	# argument, so we may need to know it at that point already.
   2628 	# Even if this section looks crufty: it has the advantage of
   2629 	# actually working.
   2630 	break;;
   2631     * )
   2632 	break;;
   2633   esac
   2634 done
   2635 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2636 
   2637 else
   2638   ac_file=''
   2639 fi
   2640 if test -z "$ac_file"; then :
   2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2642 $as_echo "no" >&6; }
   2643 $as_echo "$as_me: failed program was:" >&5
   2644 sed 's/^/| /' conftest.$ac_ext >&5
   2645 
   2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2648 as_fn_error 77 "C compiler cannot create executables
   2649 See \`config.log' for more details" "$LINENO" 5; }
   2650 else
   2651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2652 $as_echo "yes" >&6; }
   2653 fi
   2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2655 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2657 $as_echo "$ac_file" >&6; }
   2658 ac_exeext=$ac_cv_exeext
   2659 
   2660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2661 ac_clean_files=$ac_clean_files_save
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2663 $as_echo_n "checking for suffix of executables... " >&6; }
   2664 if { { ac_try="$ac_link"
   2665 case "(($ac_try" in
   2666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2667   *) ac_try_echo=$ac_try;;
   2668 esac
   2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2670 $as_echo "$ac_try_echo"; } >&5
   2671   (eval "$ac_link") 2>&5
   2672   ac_status=$?
   2673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2674   test $ac_status = 0; }; then :
   2675   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2676 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2677 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2678 # `rm'.
   2679 for ac_file in conftest.exe conftest conftest.*; do
   2680   test -f "$ac_file" || continue
   2681   case $ac_file in
   2682     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2683     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2684 	  break;;
   2685     * ) break;;
   2686   esac
   2687 done
   2688 else
   2689   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2692 See \`config.log' for more details" "$LINENO" 5; }
   2693 fi
   2694 rm -f conftest conftest$ac_cv_exeext
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2696 $as_echo "$ac_cv_exeext" >&6; }
   2697 
   2698 rm -f conftest.$ac_ext
   2699 EXEEXT=$ac_cv_exeext
   2700 ac_exeext=$EXEEXT
   2701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2702 /* end confdefs.h.  */
   2703 #include <stdio.h>
   2704 int
   2705 main ()
   2706 {
   2707 FILE *f = fopen ("conftest.out", "w");
   2708  return ferror (f) || fclose (f) != 0;
   2709 
   2710   ;
   2711   return 0;
   2712 }
   2713 _ACEOF
   2714 ac_clean_files="$ac_clean_files conftest.out"
   2715 # Check that the compiler produces executables we can run.  If not, either
   2716 # the compiler is broken, or we cross compile.
   2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2718 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2719 if test "$cross_compiling" != yes; then
   2720   { { ac_try="$ac_link"
   2721 case "(($ac_try" in
   2722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2723   *) ac_try_echo=$ac_try;;
   2724 esac
   2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2726 $as_echo "$ac_try_echo"; } >&5
   2727   (eval "$ac_link") 2>&5
   2728   ac_status=$?
   2729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2730   test $ac_status = 0; }
   2731   if { ac_try='./conftest$ac_cv_exeext'
   2732   { { case "(($ac_try" in
   2733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2734   *) ac_try_echo=$ac_try;;
   2735 esac
   2736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2737 $as_echo "$ac_try_echo"; } >&5
   2738   (eval "$ac_try") 2>&5
   2739   ac_status=$?
   2740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2741   test $ac_status = 0; }; }; then
   2742     cross_compiling=no
   2743   else
   2744     if test "$cross_compiling" = maybe; then
   2745 	cross_compiling=yes
   2746     else
   2747 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2749 as_fn_error $? "cannot run C compiled programs.
   2750 If you meant to cross compile, use \`--host'.
   2751 See \`config.log' for more details" "$LINENO" 5; }
   2752     fi
   2753   fi
   2754 fi
   2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2756 $as_echo "$cross_compiling" >&6; }
   2757 
   2758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2759 ac_clean_files=$ac_clean_files_save
   2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2761 $as_echo_n "checking for suffix of object files... " >&6; }
   2762 if ${ac_cv_objext+:} false; then :
   2763   $as_echo_n "(cached) " >&6
   2764 else
   2765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2766 /* end confdefs.h.  */
   2767 
   2768 int
   2769 main ()
   2770 {
   2771 
   2772   ;
   2773   return 0;
   2774 }
   2775 _ACEOF
   2776 rm -f conftest.o conftest.obj
   2777 if { { ac_try="$ac_compile"
   2778 case "(($ac_try" in
   2779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2780   *) ac_try_echo=$ac_try;;
   2781 esac
   2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2783 $as_echo "$ac_try_echo"; } >&5
   2784   (eval "$ac_compile") 2>&5
   2785   ac_status=$?
   2786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2787   test $ac_status = 0; }; then :
   2788   for ac_file in conftest.o conftest.obj conftest.*; do
   2789   test -f "$ac_file" || continue;
   2790   case $ac_file in
   2791     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2792     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2793        break;;
   2794   esac
   2795 done
   2796 else
   2797   $as_echo "$as_me: failed program was:" >&5
   2798 sed 's/^/| /' conftest.$ac_ext >&5
   2799 
   2800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2802 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2803 See \`config.log' for more details" "$LINENO" 5; }
   2804 fi
   2805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2806 fi
   2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2808 $as_echo "$ac_cv_objext" >&6; }
   2809 OBJEXT=$ac_cv_objext
   2810 ac_objext=$OBJEXT
   2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2813 if ${ac_cv_c_compiler_gnu+:} false; then :
   2814   $as_echo_n "(cached) " >&6
   2815 else
   2816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2817 /* end confdefs.h.  */
   2818 
   2819 int
   2820 main ()
   2821 {
   2822 #ifndef __GNUC__
   2823        choke me
   2824 #endif
   2825 
   2826   ;
   2827   return 0;
   2828 }
   2829 _ACEOF
   2830 if ac_fn_c_try_compile "$LINENO"; then :
   2831   ac_compiler_gnu=yes
   2832 else
   2833   ac_compiler_gnu=no
   2834 fi
   2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2837 
   2838 fi
   2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2841 if test $ac_compiler_gnu = yes; then
   2842   GCC=yes
   2843 else
   2844   GCC=
   2845 fi
   2846 ac_test_CFLAGS=${CFLAGS+set}
   2847 ac_save_CFLAGS=$CFLAGS
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2850 if ${ac_cv_prog_cc_g+:} false; then :
   2851   $as_echo_n "(cached) " >&6
   2852 else
   2853   ac_save_c_werror_flag=$ac_c_werror_flag
   2854    ac_c_werror_flag=yes
   2855    ac_cv_prog_cc_g=no
   2856    CFLAGS="-g"
   2857    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2858 /* end confdefs.h.  */
   2859 
   2860 int
   2861 main ()
   2862 {
   2863 
   2864   ;
   2865   return 0;
   2866 }
   2867 _ACEOF
   2868 if ac_fn_c_try_compile "$LINENO"; then :
   2869   ac_cv_prog_cc_g=yes
   2870 else
   2871   CFLAGS=""
   2872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2873 /* end confdefs.h.  */
   2874 
   2875 int
   2876 main ()
   2877 {
   2878 
   2879   ;
   2880   return 0;
   2881 }
   2882 _ACEOF
   2883 if ac_fn_c_try_compile "$LINENO"; then :
   2884 
   2885 else
   2886   ac_c_werror_flag=$ac_save_c_werror_flag
   2887 	 CFLAGS="-g"
   2888 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2889 /* end confdefs.h.  */
   2890 
   2891 int
   2892 main ()
   2893 {
   2894 
   2895   ;
   2896   return 0;
   2897 }
   2898 _ACEOF
   2899 if ac_fn_c_try_compile "$LINENO"; then :
   2900   ac_cv_prog_cc_g=yes
   2901 fi
   2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2903 fi
   2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2905 fi
   2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2907    ac_c_werror_flag=$ac_save_c_werror_flag
   2908 fi
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2910 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2911 if test "$ac_test_CFLAGS" = set; then
   2912   CFLAGS=$ac_save_CFLAGS
   2913 elif test $ac_cv_prog_cc_g = yes; then
   2914   if test "$GCC" = yes; then
   2915     CFLAGS="-g -O2"
   2916   else
   2917     CFLAGS="-g"
   2918   fi
   2919 else
   2920   if test "$GCC" = yes; then
   2921     CFLAGS="-O2"
   2922   else
   2923     CFLAGS=
   2924   fi
   2925 fi
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2928 if ${ac_cv_prog_cc_c89+:} false; then :
   2929   $as_echo_n "(cached) " >&6
   2930 else
   2931   ac_cv_prog_cc_c89=no
   2932 ac_save_CC=$CC
   2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2934 /* end confdefs.h.  */
   2935 #include <stdarg.h>
   2936 #include <stdio.h>
   2937 #include <sys/types.h>
   2938 #include <sys/stat.h>
   2939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2940 struct buf { int x; };
   2941 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2942 static char *e (p, i)
   2943      char **p;
   2944      int i;
   2945 {
   2946   return p[i];
   2947 }
   2948 static char *f (char * (*g) (char **, int), char **p, ...)
   2949 {
   2950   char *s;
   2951   va_list v;
   2952   va_start (v,p);
   2953   s = g (p, va_arg (v,int));
   2954   va_end (v);
   2955   return s;
   2956 }
   2957 
   2958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2959    function prototypes and stuff, but not '\xHH' hex character constants.
   2960    These don't provoke an error unfortunately, instead are silently treated
   2961    as 'x'.  The following induces an error, until -std is added to get
   2962    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2963    array size at least.  It's necessary to write '\x00'==0 to get something
   2964    that's true only with -std.  */
   2965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2966 
   2967 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2968    inside strings and character constants.  */
   2969 #define FOO(x) 'x'
   2970 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2971 
   2972 int test (int i, double x);
   2973 struct s1 {int (*f) (int a);};
   2974 struct s2 {int (*f) (double a);};
   2975 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2976 int argc;
   2977 char **argv;
   2978 int
   2979 main ()
   2980 {
   2981 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2982   ;
   2983   return 0;
   2984 }
   2985 _ACEOF
   2986 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2987 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2988 do
   2989   CC="$ac_save_CC $ac_arg"
   2990   if ac_fn_c_try_compile "$LINENO"; then :
   2991   ac_cv_prog_cc_c89=$ac_arg
   2992 fi
   2993 rm -f core conftest.err conftest.$ac_objext
   2994   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2995 done
   2996 rm -f conftest.$ac_ext
   2997 CC=$ac_save_CC
   2998 
   2999 fi
   3000 # AC_CACHE_VAL
   3001 case "x$ac_cv_prog_cc_c89" in
   3002   x)
   3003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3004 $as_echo "none needed" >&6; } ;;
   3005   xno)
   3006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3007 $as_echo "unsupported" >&6; } ;;
   3008   *)
   3009     CC="$CC $ac_cv_prog_cc_c89"
   3010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3011 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3012 esac
   3013 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3014 
   3015 fi
   3016 
   3017 ac_ext=c
   3018 ac_cpp='$CPP $CPPFLAGS'
   3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3022 
   3023 
   3024 ac_ext=c
   3025 ac_cpp='$CPP $CPPFLAGS'
   3026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3030 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3031 # On Suns, sometimes $CPP names a directory.
   3032 if test -n "$CPP" && test -d "$CPP"; then
   3033   CPP=
   3034 fi
   3035 if test -z "$CPP"; then
   3036   if ${ac_cv_prog_CPP+:} false; then :
   3037   $as_echo_n "(cached) " >&6
   3038 else
   3039       # Double quotes because CPP needs to be expanded
   3040     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3041     do
   3042       ac_preproc_ok=false
   3043 for ac_c_preproc_warn_flag in '' yes
   3044 do
   3045   # Use a header file that comes with gcc, so configuring glibc
   3046   # with a fresh cross-compiler works.
   3047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3048   # <limits.h> exists even on freestanding compilers.
   3049   # On the NeXT, cc -E runs the code through the compiler's parser,
   3050   # not just through cpp. "Syntax error" is here to catch this case.
   3051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3052 /* end confdefs.h.  */
   3053 #ifdef __STDC__
   3054 # include <limits.h>
   3055 #else
   3056 # include <assert.h>
   3057 #endif
   3058 		     Syntax error
   3059 _ACEOF
   3060 if ac_fn_c_try_cpp "$LINENO"; then :
   3061 
   3062 else
   3063   # Broken: fails on valid input.
   3064 continue
   3065 fi
   3066 rm -f conftest.err conftest.i conftest.$ac_ext
   3067 
   3068   # OK, works on sane cases.  Now check whether nonexistent headers
   3069   # can be detected and how.
   3070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3071 /* end confdefs.h.  */
   3072 #include <ac_nonexistent.h>
   3073 _ACEOF
   3074 if ac_fn_c_try_cpp "$LINENO"; then :
   3075   # Broken: success on invalid input.
   3076 continue
   3077 else
   3078   # Passes both tests.
   3079 ac_preproc_ok=:
   3080 break
   3081 fi
   3082 rm -f conftest.err conftest.i conftest.$ac_ext
   3083 
   3084 done
   3085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3086 rm -f conftest.i conftest.err conftest.$ac_ext
   3087 if $ac_preproc_ok; then :
   3088   break
   3089 fi
   3090 
   3091     done
   3092     ac_cv_prog_CPP=$CPP
   3093 
   3094 fi
   3095   CPP=$ac_cv_prog_CPP
   3096 else
   3097   ac_cv_prog_CPP=$CPP
   3098 fi
   3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3100 $as_echo "$CPP" >&6; }
   3101 ac_preproc_ok=false
   3102 for ac_c_preproc_warn_flag in '' yes
   3103 do
   3104   # Use a header file that comes with gcc, so configuring glibc
   3105   # with a fresh cross-compiler works.
   3106   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3107   # <limits.h> exists even on freestanding compilers.
   3108   # On the NeXT, cc -E runs the code through the compiler's parser,
   3109   # not just through cpp. "Syntax error" is here to catch this case.
   3110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3111 /* end confdefs.h.  */
   3112 #ifdef __STDC__
   3113 # include <limits.h>
   3114 #else
   3115 # include <assert.h>
   3116 #endif
   3117 		     Syntax error
   3118 _ACEOF
   3119 if ac_fn_c_try_cpp "$LINENO"; then :
   3120 
   3121 else
   3122   # Broken: fails on valid input.
   3123 continue
   3124 fi
   3125 rm -f conftest.err conftest.i conftest.$ac_ext
   3126 
   3127   # OK, works on sane cases.  Now check whether nonexistent headers
   3128   # can be detected and how.
   3129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3130 /* end confdefs.h.  */
   3131 #include <ac_nonexistent.h>
   3132 _ACEOF
   3133 if ac_fn_c_try_cpp "$LINENO"; then :
   3134   # Broken: success on invalid input.
   3135 continue
   3136 else
   3137   # Passes both tests.
   3138 ac_preproc_ok=:
   3139 break
   3140 fi
   3141 rm -f conftest.err conftest.i conftest.$ac_ext
   3142 
   3143 done
   3144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3145 rm -f conftest.i conftest.err conftest.$ac_ext
   3146 if $ac_preproc_ok; then :
   3147 
   3148 else
   3149   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3151 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3152 See \`config.log' for more details" "$LINENO" 5; }
   3153 fi
   3154 
   3155 ac_ext=c
   3156 ac_cpp='$CPP $CPPFLAGS'
   3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3160 
   3161 
   3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3163 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3164 if ${ac_cv_path_GREP+:} false; then :
   3165   $as_echo_n "(cached) " >&6
   3166 else
   3167   if test -z "$GREP"; then
   3168   ac_path_GREP_found=false
   3169   # Loop through the user's path and test for each of PROGNAME-LIST
   3170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3172 do
   3173   IFS=$as_save_IFS
   3174   test -z "$as_dir" && as_dir=.
   3175     for ac_prog in grep ggrep; do
   3176     for ac_exec_ext in '' $ac_executable_extensions; do
   3177       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3178       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3179 # Check for GNU ac_path_GREP and select it if it is found.
   3180   # Check for GNU $ac_path_GREP
   3181 case `"$ac_path_GREP" --version 2>&1` in
   3182 *GNU*)
   3183   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3184 *)
   3185   ac_count=0
   3186   $as_echo_n 0123456789 >"conftest.in"
   3187   while :
   3188   do
   3189     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3190     mv "conftest.tmp" "conftest.in"
   3191     cp "conftest.in" "conftest.nl"
   3192     $as_echo 'GREP' >> "conftest.nl"
   3193     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3194     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3195     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3196     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3197       # Best one so far, save it but keep looking for a better one
   3198       ac_cv_path_GREP="$ac_path_GREP"
   3199       ac_path_GREP_max=$ac_count
   3200     fi
   3201     # 10*(2^10) chars as input seems more than enough
   3202     test $ac_count -gt 10 && break
   3203   done
   3204   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3205 esac
   3206 
   3207       $ac_path_GREP_found && break 3
   3208     done
   3209   done
   3210   done
   3211 IFS=$as_save_IFS
   3212   if test -z "$ac_cv_path_GREP"; then
   3213     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3214   fi
   3215 else
   3216   ac_cv_path_GREP=$GREP
   3217 fi
   3218 
   3219 fi
   3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3221 $as_echo "$ac_cv_path_GREP" >&6; }
   3222  GREP="$ac_cv_path_GREP"
   3223 
   3224 
   3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3226 $as_echo_n "checking for egrep... " >&6; }
   3227 if ${ac_cv_path_EGREP+:} false; then :
   3228   $as_echo_n "(cached) " >&6
   3229 else
   3230   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3231    then ac_cv_path_EGREP="$GREP -E"
   3232    else
   3233      if test -z "$EGREP"; then
   3234   ac_path_EGREP_found=false
   3235   # Loop through the user's path and test for each of PROGNAME-LIST
   3236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3237 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3238 do
   3239   IFS=$as_save_IFS
   3240   test -z "$as_dir" && as_dir=.
   3241     for ac_prog in egrep; do
   3242     for ac_exec_ext in '' $ac_executable_extensions; do
   3243       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3244       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3245 # Check for GNU ac_path_EGREP and select it if it is found.
   3246   # Check for GNU $ac_path_EGREP
   3247 case `"$ac_path_EGREP" --version 2>&1` in
   3248 *GNU*)
   3249   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3250 *)
   3251   ac_count=0
   3252   $as_echo_n 0123456789 >"conftest.in"
   3253   while :
   3254   do
   3255     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3256     mv "conftest.tmp" "conftest.in"
   3257     cp "conftest.in" "conftest.nl"
   3258     $as_echo 'EGREP' >> "conftest.nl"
   3259     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3260     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3261     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3262     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3263       # Best one so far, save it but keep looking for a better one
   3264       ac_cv_path_EGREP="$ac_path_EGREP"
   3265       ac_path_EGREP_max=$ac_count
   3266     fi
   3267     # 10*(2^10) chars as input seems more than enough
   3268     test $ac_count -gt 10 && break
   3269   done
   3270   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3271 esac
   3272 
   3273       $ac_path_EGREP_found && break 3
   3274     done
   3275   done
   3276   done
   3277 IFS=$as_save_IFS
   3278   if test -z "$ac_cv_path_EGREP"; then
   3279     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3280   fi
   3281 else
   3282   ac_cv_path_EGREP=$EGREP
   3283 fi
   3284 
   3285    fi
   3286 fi
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3288 $as_echo "$ac_cv_path_EGREP" >&6; }
   3289  EGREP="$ac_cv_path_EGREP"
   3290 
   3291 
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3293 $as_echo_n "checking for ANSI C header files... " >&6; }
   3294 if ${ac_cv_header_stdc+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3298 /* end confdefs.h.  */
   3299 #include <stdlib.h>
   3300 #include <stdarg.h>
   3301 #include <string.h>
   3302 #include <float.h>
   3303 
   3304 int
   3305 main ()
   3306 {
   3307 
   3308   ;
   3309   return 0;
   3310 }
   3311 _ACEOF
   3312 if ac_fn_c_try_compile "$LINENO"; then :
   3313   ac_cv_header_stdc=yes
   3314 else
   3315   ac_cv_header_stdc=no
   3316 fi
   3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3318 
   3319 if test $ac_cv_header_stdc = yes; then
   3320   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3322 /* end confdefs.h.  */
   3323 #include <string.h>
   3324 
   3325 _ACEOF
   3326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3327   $EGREP "memchr" >/dev/null 2>&1; then :
   3328 
   3329 else
   3330   ac_cv_header_stdc=no
   3331 fi
   3332 rm -f conftest*
   3333 
   3334 fi
   3335 
   3336 if test $ac_cv_header_stdc = yes; then
   3337   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3339 /* end confdefs.h.  */
   3340 #include <stdlib.h>
   3341 
   3342 _ACEOF
   3343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3344   $EGREP "free" >/dev/null 2>&1; then :
   3345 
   3346 else
   3347   ac_cv_header_stdc=no
   3348 fi
   3349 rm -f conftest*
   3350 
   3351 fi
   3352 
   3353 if test $ac_cv_header_stdc = yes; then
   3354   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3355   if test "$cross_compiling" = yes; then :
   3356   :
   3357 else
   3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 #include <ctype.h>
   3361 #include <stdlib.h>
   3362 #if ((' ' & 0x0FF) == 0x020)
   3363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3365 #else
   3366 # define ISLOWER(c) \
   3367 		   (('a' <= (c) && (c) <= 'i') \
   3368 		     || ('j' <= (c) && (c) <= 'r') \
   3369 		     || ('s' <= (c) && (c) <= 'z'))
   3370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3371 #endif
   3372 
   3373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3374 int
   3375 main ()
   3376 {
   3377   int i;
   3378   for (i = 0; i < 256; i++)
   3379     if (XOR (islower (i), ISLOWER (i))
   3380 	|| toupper (i) != TOUPPER (i))
   3381       return 2;
   3382   return 0;
   3383 }
   3384 _ACEOF
   3385 if ac_fn_c_try_run "$LINENO"; then :
   3386 
   3387 else
   3388   ac_cv_header_stdc=no
   3389 fi
   3390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3391   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3392 fi
   3393 
   3394 fi
   3395 fi
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3397 $as_echo "$ac_cv_header_stdc" >&6; }
   3398 if test $ac_cv_header_stdc = yes; then
   3399 
   3400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3401 
   3402 fi
   3403 
   3404 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3405 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3406 		  inttypes.h stdint.h unistd.h
   3407 do :
   3408   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3409 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3410 "
   3411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3412   cat >>confdefs.h <<_ACEOF
   3413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3414 _ACEOF
   3415 
   3416 fi
   3417 
   3418 done
   3419 
   3420 
   3421 
   3422   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3423 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3424   MINIX=yes
   3425 else
   3426   MINIX=
   3427 fi
   3428 
   3429 
   3430   if test "$MINIX" = yes; then
   3431 
   3432 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3433 
   3434 
   3435 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3436 
   3437 
   3438 $as_echo "#define _MINIX 1" >>confdefs.h
   3439 
   3440   fi
   3441 
   3442 
   3443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3444 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3445 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3446   $as_echo_n "(cached) " >&6
   3447 else
   3448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 
   3451 #	  define __EXTENSIONS__ 1
   3452 	  $ac_includes_default
   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_safe_to_define___extensions__=yes
   3463 else
   3464   ac_cv_safe_to_define___extensions__=no
   3465 fi
   3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3467 fi
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3469 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3470   test $ac_cv_safe_to_define___extensions__ = yes &&
   3471     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3472 
   3473   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3474 
   3475   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3476 
   3477   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3478 
   3479   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3480 
   3481 
   3482 
   3483 # Initialize Automake
   3484 am__api_version='1.13'
   3485 
   3486 ac_aux_dir=
   3487 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3488   if test -f "$ac_dir/install-sh"; then
   3489     ac_aux_dir=$ac_dir
   3490     ac_install_sh="$ac_aux_dir/install-sh -c"
   3491     break
   3492   elif test -f "$ac_dir/install.sh"; then
   3493     ac_aux_dir=$ac_dir
   3494     ac_install_sh="$ac_aux_dir/install.sh -c"
   3495     break
   3496   elif test -f "$ac_dir/shtool"; then
   3497     ac_aux_dir=$ac_dir
   3498     ac_install_sh="$ac_aux_dir/shtool install -c"
   3499     break
   3500   fi
   3501 done
   3502 if test -z "$ac_aux_dir"; then
   3503   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3504 fi
   3505 
   3506 # These three variables are undocumented and unsupported,
   3507 # and are intended to be withdrawn in a future Autoconf release.
   3508 # They can cause serious problems if a builder's source tree is in a directory
   3509 # whose full name contains unusual characters.
   3510 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3511 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3512 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3513 
   3514 
   3515 # Find a good install program.  We prefer a C program (faster),
   3516 # so one script is as good as another.  But avoid the broken or
   3517 # incompatible versions:
   3518 # SysV /etc/install, /usr/sbin/install
   3519 # SunOS /usr/etc/install
   3520 # IRIX /sbin/install
   3521 # AIX /bin/install
   3522 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3523 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3524 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3525 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3526 # OS/2's system install, which has a completely different semantic
   3527 # ./install, which can be erroneously created by make from ./install.sh.
   3528 # Reject install programs that cannot install multiple files.
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3530 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3531 if test -z "$INSTALL"; then
   3532 if ${ac_cv_path_install+:} false; then :
   3533   $as_echo_n "(cached) " >&6
   3534 else
   3535   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3536 for as_dir in $PATH
   3537 do
   3538   IFS=$as_save_IFS
   3539   test -z "$as_dir" && as_dir=.
   3540     # Account for people who put trailing slashes in PATH elements.
   3541 case $as_dir/ in #((
   3542   ./ | .// | /[cC]/* | \
   3543   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3544   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3545   /usr/ucb/* ) ;;
   3546   *)
   3547     # OSF1 and SCO ODT 3.0 have their own names for install.
   3548     # Don't use installbsd from OSF since it installs stuff as root
   3549     # by default.
   3550     for ac_prog in ginstall scoinst install; do
   3551       for ac_exec_ext in '' $ac_executable_extensions; do
   3552 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3553 	  if test $ac_prog = install &&
   3554 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3555 	    # AIX install.  It has an incompatible calling convention.
   3556 	    :
   3557 	  elif test $ac_prog = install &&
   3558 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3559 	    # program-specific install script used by HP pwplus--don't use.
   3560 	    :
   3561 	  else
   3562 	    rm -rf conftest.one conftest.two conftest.dir
   3563 	    echo one > conftest.one
   3564 	    echo two > conftest.two
   3565 	    mkdir conftest.dir
   3566 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3567 	      test -s conftest.one && test -s conftest.two &&
   3568 	      test -s conftest.dir/conftest.one &&
   3569 	      test -s conftest.dir/conftest.two
   3570 	    then
   3571 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3572 	      break 3
   3573 	    fi
   3574 	  fi
   3575 	fi
   3576       done
   3577     done
   3578     ;;
   3579 esac
   3580 
   3581   done
   3582 IFS=$as_save_IFS
   3583 
   3584 rm -rf conftest.one conftest.two conftest.dir
   3585 
   3586 fi
   3587   if test "${ac_cv_path_install+set}" = set; then
   3588     INSTALL=$ac_cv_path_install
   3589   else
   3590     # As a last resort, use the slow shell script.  Don't cache a
   3591     # value for INSTALL within a source directory, because that will
   3592     # break other packages using the cache if that directory is
   3593     # removed, or if the value is a relative name.
   3594     INSTALL=$ac_install_sh
   3595   fi
   3596 fi
   3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3598 $as_echo "$INSTALL" >&6; }
   3599 
   3600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3601 # It thinks the first close brace ends the variable substitution.
   3602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3603 
   3604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3605 
   3606 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3607 
   3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3609 $as_echo_n "checking whether build environment is sane... " >&6; }
   3610 # Reject unsafe characters in $srcdir or the absolute working directory
   3611 # name.  Accept space and tab only in the latter.
   3612 am_lf='
   3613 '
   3614 case `pwd` in
   3615   *[\\\"\#\$\&\'\`$am_lf]*)
   3616     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3617 esac
   3618 case $srcdir in
   3619   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3620     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3621 esac
   3622 
   3623 # Do 'set' in a subshell so we don't clobber the current shell's
   3624 # arguments.  Must try -L first in case configure is actually a
   3625 # symlink; some systems play weird games with the mod time of symlinks
   3626 # (eg FreeBSD returns the mod time of the symlink's containing
   3627 # directory).
   3628 if (
   3629    am_has_slept=no
   3630    for am_try in 1 2; do
   3631      echo "timestamp, slept: $am_has_slept" > conftest.file
   3632      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3633      if test "$*" = "X"; then
   3634 	# -L didn't work.
   3635 	set X `ls -t "$srcdir/configure" conftest.file`
   3636      fi
   3637      if test "$*" != "X $srcdir/configure conftest.file" \
   3638 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3639 
   3640 	# If neither matched, then we have a broken ls.  This can happen
   3641 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3642 	# broken ls alias from the environment.  This has actually
   3643 	# happened.  Such a system could not be considered "sane".
   3644 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3645   alias in your environment" "$LINENO" 5
   3646      fi
   3647      if test "$2" = conftest.file || test $am_try -eq 2; then
   3648        break
   3649      fi
   3650      # Just in case.
   3651      sleep 1
   3652      am_has_slept=yes
   3653    done
   3654    test "$2" = conftest.file
   3655    )
   3656 then
   3657    # Ok.
   3658    :
   3659 else
   3660    as_fn_error $? "newly created file is older than distributed files!
   3661 Check your system clock" "$LINENO" 5
   3662 fi
   3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3664 $as_echo "yes" >&6; }
   3665 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3666 # generated files are strictly newer.
   3667 am_sleep_pid=
   3668 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3669   ( sleep 1 ) &
   3670   am_sleep_pid=$!
   3671 fi
   3672 
   3673 rm -f conftest.file
   3674 
   3675 test "$program_prefix" != NONE &&
   3676   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3677 # Use a double $ so make ignores it.
   3678 test "$program_suffix" != NONE &&
   3679   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3680 # Double any \ or $.
   3681 # By default was `s,x,x', remove it if useless.
   3682 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3683 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3684 
   3685 # expand $ac_aux_dir to an absolute path
   3686 am_aux_dir=`cd $ac_aux_dir && pwd`
   3687 
   3688 if test x"${MISSING+set}" != xset; then
   3689   case $am_aux_dir in
   3690   *\ * | *\	*)
   3691     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3692   *)
   3693     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3694   esac
   3695 fi
   3696 # Use eval to expand $SHELL
   3697 if eval "$MISSING --is-lightweight"; then
   3698   am_missing_run="$MISSING "
   3699 else
   3700   am_missing_run=
   3701   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3702 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3703 fi
   3704 
   3705 if test x"${install_sh}" != xset; then
   3706   case $am_aux_dir in
   3707   *\ * | *\	*)
   3708     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3709   *)
   3710     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3711   esac
   3712 fi
   3713 
   3714 # Installed binaries are usually stripped using 'strip' when the user
   3715 # run "make install-strip".  However 'strip' might not be the right
   3716 # tool to use in cross-compilation environments, therefore Automake
   3717 # will honor the 'STRIP' environment variable to overrule this program.
   3718 if test "$cross_compiling" != no; then
   3719   if test -n "$ac_tool_prefix"; then
   3720   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3721 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3723 $as_echo_n "checking for $ac_word... " >&6; }
   3724 if ${ac_cv_prog_STRIP+:} false; then :
   3725   $as_echo_n "(cached) " >&6
   3726 else
   3727   if test -n "$STRIP"; then
   3728   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3729 else
   3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3731 for as_dir in $PATH
   3732 do
   3733   IFS=$as_save_IFS
   3734   test -z "$as_dir" && as_dir=.
   3735     for ac_exec_ext in '' $ac_executable_extensions; do
   3736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3737     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3739     break 2
   3740   fi
   3741 done
   3742   done
   3743 IFS=$as_save_IFS
   3744 
   3745 fi
   3746 fi
   3747 STRIP=$ac_cv_prog_STRIP
   3748 if test -n "$STRIP"; then
   3749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3750 $as_echo "$STRIP" >&6; }
   3751 else
   3752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3753 $as_echo "no" >&6; }
   3754 fi
   3755 
   3756 
   3757 fi
   3758 if test -z "$ac_cv_prog_STRIP"; then
   3759   ac_ct_STRIP=$STRIP
   3760   # Extract the first word of "strip", so it can be a program name with args.
   3761 set dummy strip; ac_word=$2
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3763 $as_echo_n "checking for $ac_word... " >&6; }
   3764 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3765   $as_echo_n "(cached) " >&6
   3766 else
   3767   if test -n "$ac_ct_STRIP"; then
   3768   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3769 else
   3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3771 for as_dir in $PATH
   3772 do
   3773   IFS=$as_save_IFS
   3774   test -z "$as_dir" && as_dir=.
   3775     for ac_exec_ext in '' $ac_executable_extensions; do
   3776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3777     ac_cv_prog_ac_ct_STRIP="strip"
   3778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3779     break 2
   3780   fi
   3781 done
   3782   done
   3783 IFS=$as_save_IFS
   3784 
   3785 fi
   3786 fi
   3787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3788 if test -n "$ac_ct_STRIP"; then
   3789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3790 $as_echo "$ac_ct_STRIP" >&6; }
   3791 else
   3792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 $as_echo "no" >&6; }
   3794 fi
   3795 
   3796   if test "x$ac_ct_STRIP" = x; then
   3797     STRIP=":"
   3798   else
   3799     case $cross_compiling:$ac_tool_warned in
   3800 yes:)
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3803 ac_tool_warned=yes ;;
   3804 esac
   3805     STRIP=$ac_ct_STRIP
   3806   fi
   3807 else
   3808   STRIP="$ac_cv_prog_STRIP"
   3809 fi
   3810 
   3811 fi
   3812 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3813 
   3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3815 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3816 if test -z "$MKDIR_P"; then
   3817   if ${ac_cv_path_mkdir+:} false; then :
   3818   $as_echo_n "(cached) " >&6
   3819 else
   3820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3821 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3822 do
   3823   IFS=$as_save_IFS
   3824   test -z "$as_dir" && as_dir=.
   3825     for ac_prog in mkdir gmkdir; do
   3826 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3827 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3828 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3829 	     'mkdir (GNU coreutils) '* | \
   3830 	     'mkdir (coreutils) '* | \
   3831 	     'mkdir (fileutils) '4.1*)
   3832 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3833 	       break 3;;
   3834 	   esac
   3835 	 done
   3836        done
   3837   done
   3838 IFS=$as_save_IFS
   3839 
   3840 fi
   3841 
   3842   test -d ./--version && rmdir ./--version
   3843   if test "${ac_cv_path_mkdir+set}" = set; then
   3844     MKDIR_P="$ac_cv_path_mkdir -p"
   3845   else
   3846     # As a last resort, use the slow shell script.  Don't cache a
   3847     # value for MKDIR_P within a source directory, because that will
   3848     # break other packages using the cache if that directory is
   3849     # removed, or if the value is a relative name.
   3850     MKDIR_P="$ac_install_sh -d"
   3851   fi
   3852 fi
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3854 $as_echo "$MKDIR_P" >&6; }
   3855 
   3856 for ac_prog in gawk mawk nawk awk
   3857 do
   3858   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3859 set dummy $ac_prog; ac_word=$2
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3861 $as_echo_n "checking for $ac_word... " >&6; }
   3862 if ${ac_cv_prog_AWK+:} false; then :
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   if test -n "$AWK"; then
   3866   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3867 else
   3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3869 for as_dir in $PATH
   3870 do
   3871   IFS=$as_save_IFS
   3872   test -z "$as_dir" && as_dir=.
   3873     for ac_exec_ext in '' $ac_executable_extensions; do
   3874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3875     ac_cv_prog_AWK="$ac_prog"
   3876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3877     break 2
   3878   fi
   3879 done
   3880   done
   3881 IFS=$as_save_IFS
   3882 
   3883 fi
   3884 fi
   3885 AWK=$ac_cv_prog_AWK
   3886 if test -n "$AWK"; then
   3887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3888 $as_echo "$AWK" >&6; }
   3889 else
   3890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3891 $as_echo "no" >&6; }
   3892 fi
   3893 
   3894 
   3895   test -n "$AWK" && break
   3896 done
   3897 
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3899 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3900 set x ${MAKE-make}
   3901 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3902 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   cat >conftest.make <<\_ACEOF
   3906 SHELL = /bin/sh
   3907 all:
   3908 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3909 _ACEOF
   3910 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3911 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3912   *@@@%%%=?*=@@@%%%*)
   3913     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3914   *)
   3915     eval ac_cv_prog_make_${ac_make}_set=no;;
   3916 esac
   3917 rm -f conftest.make
   3918 fi
   3919 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3921 $as_echo "yes" >&6; }
   3922   SET_MAKE=
   3923 else
   3924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3925 $as_echo "no" >&6; }
   3926   SET_MAKE="MAKE=${MAKE-make}"
   3927 fi
   3928 
   3929 rm -rf .tst 2>/dev/null
   3930 mkdir .tst 2>/dev/null
   3931 if test -d .tst; then
   3932   am__leading_dot=.
   3933 else
   3934   am__leading_dot=_
   3935 fi
   3936 rmdir .tst 2>/dev/null
   3937 
   3938 DEPDIR="${am__leading_dot}deps"
   3939 
   3940 ac_config_commands="$ac_config_commands depfiles"
   3941 
   3942 
   3943 am_make=${MAKE-make}
   3944 cat > confinc << 'END'
   3945 am__doit:
   3946 	@echo this is the am__doit target
   3947 .PHONY: am__doit
   3948 END
   3949 # If we don't find an include directive, just comment out the code.
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3951 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3952 am__include="#"
   3953 am__quote=
   3954 _am_result=none
   3955 # First try GNU make style include.
   3956 echo "include confinc" > confmf
   3957 # Ignore all kinds of additional output from 'make'.
   3958 case `$am_make -s -f confmf 2> /dev/null` in #(
   3959 *the\ am__doit\ target*)
   3960   am__include=include
   3961   am__quote=
   3962   _am_result=GNU
   3963   ;;
   3964 esac
   3965 # Now try BSD make style include.
   3966 if test "$am__include" = "#"; then
   3967    echo '.include "confinc"' > confmf
   3968    case `$am_make -s -f confmf 2> /dev/null` in #(
   3969    *the\ am__doit\ target*)
   3970      am__include=.include
   3971      am__quote="\""
   3972      _am_result=BSD
   3973      ;;
   3974    esac
   3975 fi
   3976 
   3977 
   3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3979 $as_echo "$_am_result" >&6; }
   3980 rm -f confinc confmf
   3981 
   3982 # Check whether --enable-dependency-tracking was given.
   3983 if test "${enable_dependency_tracking+set}" = set; then :
   3984   enableval=$enable_dependency_tracking;
   3985 fi
   3986 
   3987 if test "x$enable_dependency_tracking" != xno; then
   3988   am_depcomp="$ac_aux_dir/depcomp"
   3989   AMDEPBACKSLASH='\'
   3990   am__nodep='_no'
   3991 fi
   3992  if test "x$enable_dependency_tracking" != xno; then
   3993   AMDEP_TRUE=
   3994   AMDEP_FALSE='#'
   3995 else
   3996   AMDEP_TRUE='#'
   3997   AMDEP_FALSE=
   3998 fi
   3999 
   4000 
   4001 # Check whether --enable-silent-rules was given.
   4002 if test "${enable_silent_rules+set}" = set; then :
   4003   enableval=$enable_silent_rules;
   4004 fi
   4005 
   4006 case $enable_silent_rules in # (((
   4007   yes) AM_DEFAULT_VERBOSITY=0;;
   4008    no) AM_DEFAULT_VERBOSITY=1;;
   4009     *) AM_DEFAULT_VERBOSITY=1;;
   4010 esac
   4011 am_make=${MAKE-make}
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4013 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4014 if ${am_cv_make_support_nested_variables+:} false; then :
   4015   $as_echo_n "(cached) " >&6
   4016 else
   4017   if $as_echo 'TRUE=$(BAR$(V))
   4018 BAR0=false
   4019 BAR1=true
   4020 V=1
   4021 am__doit:
   4022 	@$(TRUE)
   4023 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4024   am_cv_make_support_nested_variables=yes
   4025 else
   4026   am_cv_make_support_nested_variables=no
   4027 fi
   4028 fi
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4030 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4031 if test $am_cv_make_support_nested_variables = yes; then
   4032     AM_V='$(V)'
   4033   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4034 else
   4035   AM_V=$AM_DEFAULT_VERBOSITY
   4036   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4037 fi
   4038 AM_BACKSLASH='\'
   4039 
   4040 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4041   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4042   # is not polluted with repeated "-I."
   4043   am__isrc=' -I$(srcdir)'
   4044   # test to see if srcdir already configured
   4045   if test -f $srcdir/config.status; then
   4046     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4047   fi
   4048 fi
   4049 
   4050 # test whether we have cygpath
   4051 if test -z "$CYGPATH_W"; then
   4052   if (cygpath --version) >/dev/null 2>/dev/null; then
   4053     CYGPATH_W='cygpath -w'
   4054   else
   4055     CYGPATH_W=echo
   4056   fi
   4057 fi
   4058 
   4059 
   4060 # Define the identity of the package.
   4061  PACKAGE='xrefresh'
   4062  VERSION='1.0.5'
   4063 
   4064 
   4065 cat >>confdefs.h <<_ACEOF
   4066 #define PACKAGE "$PACKAGE"
   4067 _ACEOF
   4068 
   4069 
   4070 cat >>confdefs.h <<_ACEOF
   4071 #define VERSION "$VERSION"
   4072 _ACEOF
   4073 
   4074 # Some tools Automake needs.
   4075 
   4076 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4077 
   4078 
   4079 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4080 
   4081 
   4082 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4083 
   4084 
   4085 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4086 
   4087 
   4088 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4089 
   4090 # For better backward compatibility.  To be removed once Automake 1.9.x
   4091 # dies out for good.  For more background, see:
   4092 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4093 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4094 mkdir_p='$(MKDIR_P)'
   4095 
   4096 # We need awk for the "check" target.  The system "awk" is bad on
   4097 # some platforms.
   4098 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4099 # in the wild :-(  We should find a proper way to deprecate it ...
   4100 AMTAR='$${TAR-tar}'
   4101 
   4102 
   4103 # We'll loop over all known methods to create a tar archive until one works.
   4104 _am_tools='gnutar  pax cpio none'
   4105 
   4106 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4107 
   4108 
   4109 
   4110 
   4111 
   4112 depcc="$CC"   am_compiler_list=
   4113 
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4115 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4116 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4117   $as_echo_n "(cached) " >&6
   4118 else
   4119   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4120   # We make a subdir and do the tests there.  Otherwise we can end up
   4121   # making bogus files that we don't know about and never remove.  For
   4122   # instance it was reported that on HP-UX the gcc test will end up
   4123   # making a dummy file named 'D' -- because '-MD' means "put the output
   4124   # in D".
   4125   rm -rf conftest.dir
   4126   mkdir conftest.dir
   4127   # Copy depcomp to subdir because otherwise we won't find it if we're
   4128   # using a relative directory.
   4129   cp "$am_depcomp" conftest.dir
   4130   cd conftest.dir
   4131   # We will build objects and dependencies in a subdirectory because
   4132   # it helps to detect inapplicable dependency modes.  For instance
   4133   # both Tru64's cc and ICC support -MD to output dependencies as a
   4134   # side effect of compilation, but ICC will put the dependencies in
   4135   # the current directory while Tru64 will put them in the object
   4136   # directory.
   4137   mkdir sub
   4138 
   4139   am_cv_CC_dependencies_compiler_type=none
   4140   if test "$am_compiler_list" = ""; then
   4141      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4142   fi
   4143   am__universal=false
   4144   case " $depcc " in #(
   4145      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4146      esac
   4147 
   4148   for depmode in $am_compiler_list; do
   4149     # Setup a source with many dependencies, because some compilers
   4150     # like to wrap large dependency lists on column 80 (with \), and
   4151     # we should not choose a depcomp mode which is confused by this.
   4152     #
   4153     # We need to recreate these files for each test, as the compiler may
   4154     # overwrite some of them when testing with obscure command lines.
   4155     # This happens at least with the AIX C compiler.
   4156     : > sub/conftest.c
   4157     for i in 1 2 3 4 5 6; do
   4158       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4159       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4160       # Solaris 10 /bin/sh.
   4161       echo '/* dummy */' > sub/conftst$i.h
   4162     done
   4163     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4164 
   4165     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4166     # mode.  It turns out that the SunPro C++ compiler does not properly
   4167     # handle '-M -o', and we need to detect this.  Also, some Intel
   4168     # versions had trouble with output in subdirs.
   4169     am__obj=sub/conftest.${OBJEXT-o}
   4170     am__minus_obj="-o $am__obj"
   4171     case $depmode in
   4172     gcc)
   4173       # This depmode causes a compiler race in universal mode.
   4174       test "$am__universal" = false || continue
   4175       ;;
   4176     nosideeffect)
   4177       # After this tag, mechanisms are not by side-effect, so they'll
   4178       # only be used when explicitly requested.
   4179       if test "x$enable_dependency_tracking" = xyes; then
   4180 	continue
   4181       else
   4182 	break
   4183       fi
   4184       ;;
   4185     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4186       # This compiler won't grok '-c -o', but also, the minuso test has
   4187       # not run yet.  These depmodes are late enough in the game, and
   4188       # so weak that their functioning should not be impacted.
   4189       am__obj=conftest.${OBJEXT-o}
   4190       am__minus_obj=
   4191       ;;
   4192     none) break ;;
   4193     esac
   4194     if depmode=$depmode \
   4195        source=sub/conftest.c object=$am__obj \
   4196        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4197        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4198          >/dev/null 2>conftest.err &&
   4199        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4200        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4201        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4202        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4203       # icc doesn't choke on unknown options, it will just issue warnings
   4204       # or remarks (even with -Werror).  So we grep stderr for any message
   4205       # that says an option was ignored or not supported.
   4206       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4207       #   icc: Command line warning: ignoring option '-M'; no argument required
   4208       # The diagnosis changed in icc 8.0:
   4209       #   icc: Command line remark: option '-MP' not supported
   4210       if (grep 'ignoring option' conftest.err ||
   4211           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4212         am_cv_CC_dependencies_compiler_type=$depmode
   4213         break
   4214       fi
   4215     fi
   4216   done
   4217 
   4218   cd ..
   4219   rm -rf conftest.dir
   4220 else
   4221   am_cv_CC_dependencies_compiler_type=none
   4222 fi
   4223 
   4224 fi
   4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4226 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4227 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4228 
   4229  if
   4230   test "x$enable_dependency_tracking" != xno \
   4231   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4232   am__fastdepCC_TRUE=
   4233   am__fastdepCC_FALSE='#'
   4234 else
   4235   am__fastdepCC_TRUE='#'
   4236   am__fastdepCC_FALSE=
   4237 fi
   4238 
   4239 
   4240 
   4241 
   4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4243 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4244     # Check whether --enable-maintainer-mode was given.
   4245 if test "${enable_maintainer_mode+set}" = set; then :
   4246   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4247 else
   4248   USE_MAINTAINER_MODE=no
   4249 fi
   4250 
   4251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4252 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4253    if test $USE_MAINTAINER_MODE = yes; then
   4254   MAINTAINER_MODE_TRUE=
   4255   MAINTAINER_MODE_FALSE='#'
   4256 else
   4257   MAINTAINER_MODE_TRUE='#'
   4258   MAINTAINER_MODE_FALSE=
   4259 fi
   4260 
   4261   MAINT=$MAINTAINER_MODE_TRUE
   4262 
   4263 
   4264 
   4265 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 
   4274 
   4275 
   4276 
   4277    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4278 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4279 if ${ac_cv_prog_cc_c99+:} false; then :
   4280   $as_echo_n "(cached) " >&6
   4281 else
   4282   ac_cv_prog_cc_c99=no
   4283 ac_save_CC=$CC
   4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4285 /* end confdefs.h.  */
   4286 #include <stdarg.h>
   4287 #include <stdbool.h>
   4288 #include <stdlib.h>
   4289 #include <wchar.h>
   4290 #include <stdio.h>
   4291 
   4292 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4293 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4294 #define showlist(...) puts (#__VA_ARGS__)
   4295 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4296 static void
   4297 test_varargs_macros (void)
   4298 {
   4299   int x = 1234;
   4300   int y = 5678;
   4301   debug ("Flag");
   4302   debug ("X = %d\n", x);
   4303   showlist (The first, second, and third items.);
   4304   report (x>y, "x is %d but y is %d", x, y);
   4305 }
   4306 
   4307 // Check long long types.
   4308 #define BIG64 18446744073709551615ull
   4309 #define BIG32 4294967295ul
   4310 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4311 #if !BIG_OK
   4312   your preprocessor is broken;
   4313 #endif
   4314 #if BIG_OK
   4315 #else
   4316   your preprocessor is broken;
   4317 #endif
   4318 static long long int bignum = -9223372036854775807LL;
   4319 static unsigned long long int ubignum = BIG64;
   4320 
   4321 struct incomplete_array
   4322 {
   4323   int datasize;
   4324   double data[];
   4325 };
   4326 
   4327 struct named_init {
   4328   int number;
   4329   const wchar_t *name;
   4330   double average;
   4331 };
   4332 
   4333 typedef const char *ccp;
   4334 
   4335 static inline int
   4336 test_restrict (ccp restrict text)
   4337 {
   4338   // See if C++-style comments work.
   4339   // Iterate through items via the restricted pointer.
   4340   // Also check for declarations in for loops.
   4341   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4342     continue;
   4343   return 0;
   4344 }
   4345 
   4346 // Check varargs and va_copy.
   4347 static void
   4348 test_varargs (const char *format, ...)
   4349 {
   4350   va_list args;
   4351   va_start (args, format);
   4352   va_list args_copy;
   4353   va_copy (args_copy, args);
   4354 
   4355   const char *str;
   4356   int number;
   4357   float fnumber;
   4358 
   4359   while (*format)
   4360     {
   4361       switch (*format++)
   4362 	{
   4363 	case 's': // string
   4364 	  str = va_arg (args_copy, const char *);
   4365 	  break;
   4366 	case 'd': // int
   4367 	  number = va_arg (args_copy, int);
   4368 	  break;
   4369 	case 'f': // float
   4370 	  fnumber = va_arg (args_copy, double);
   4371 	  break;
   4372 	default:
   4373 	  break;
   4374 	}
   4375     }
   4376   va_end (args_copy);
   4377   va_end (args);
   4378 }
   4379 
   4380 int
   4381 main ()
   4382 {
   4383 
   4384   // Check bool.
   4385   _Bool success = false;
   4386 
   4387   // Check restrict.
   4388   if (test_restrict ("String literal") == 0)
   4389     success = true;
   4390   char *restrict newvar = "Another string";
   4391 
   4392   // Check varargs.
   4393   test_varargs ("s, d' f .", "string", 65, 34.234);
   4394   test_varargs_macros ();
   4395 
   4396   // Check flexible array members.
   4397   struct incomplete_array *ia =
   4398     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4399   ia->datasize = 10;
   4400   for (int i = 0; i < ia->datasize; ++i)
   4401     ia->data[i] = i * 1.234;
   4402 
   4403   // Check named initializers.
   4404   struct named_init ni = {
   4405     .number = 34,
   4406     .name = L"Test wide string",
   4407     .average = 543.34343,
   4408   };
   4409 
   4410   ni.number = 58;
   4411 
   4412   int dynamic_array[ni.number];
   4413   dynamic_array[ni.number - 1] = 543;
   4414 
   4415   // work around unused variable warnings
   4416   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4417 	  || dynamic_array[ni.number - 1] != 543);
   4418 
   4419   ;
   4420   return 0;
   4421 }
   4422 _ACEOF
   4423 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4424 do
   4425   CC="$ac_save_CC $ac_arg"
   4426   if ac_fn_c_try_compile "$LINENO"; then :
   4427   ac_cv_prog_cc_c99=$ac_arg
   4428 fi
   4429 rm -f core conftest.err conftest.$ac_objext
   4430   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4431 done
   4432 rm -f conftest.$ac_ext
   4433 CC=$ac_save_CC
   4434 
   4435 fi
   4436 # AC_CACHE_VAL
   4437 case "x$ac_cv_prog_cc_c99" in
   4438   x)
   4439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4440 $as_echo "none needed" >&6; } ;;
   4441   xno)
   4442     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4443 $as_echo "unsupported" >&6; } ;;
   4444   *)
   4445     CC="$CC $ac_cv_prog_cc_c99"
   4446     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4447 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4448 esac
   4449 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4450 
   4451 fi
   4452 
   4453 
   4454 
   4455 
   4456 
   4457 
   4458 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4459 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4460   CLANGCC="yes"
   4461 else
   4462   CLANGCC="no"
   4463 fi
   4464 
   4465 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4466 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4467   INTELCC="yes"
   4468 else
   4469   INTELCC="no"
   4470 fi
   4471 
   4472 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4473 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4474   SUNCC="yes"
   4475 else
   4476   SUNCC="no"
   4477 fi
   4478 
   4479 
   4480 
   4481 
   4482 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4483 	if test -n "$ac_tool_prefix"; then
   4484   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4485 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4487 $as_echo_n "checking for $ac_word... " >&6; }
   4488 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4489   $as_echo_n "(cached) " >&6
   4490 else
   4491   case $PKG_CONFIG in
   4492   [\\/]* | ?:[\\/]*)
   4493   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4494   ;;
   4495   *)
   4496   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4497 for as_dir in $PATH
   4498 do
   4499   IFS=$as_save_IFS
   4500   test -z "$as_dir" && as_dir=.
   4501     for ac_exec_ext in '' $ac_executable_extensions; do
   4502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4503     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4505     break 2
   4506   fi
   4507 done
   4508   done
   4509 IFS=$as_save_IFS
   4510 
   4511   ;;
   4512 esac
   4513 fi
   4514 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4515 if test -n "$PKG_CONFIG"; then
   4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4517 $as_echo "$PKG_CONFIG" >&6; }
   4518 else
   4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4520 $as_echo "no" >&6; }
   4521 fi
   4522 
   4523 
   4524 fi
   4525 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4526   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4527   # Extract the first word of "pkg-config", so it can be a program name with args.
   4528 set dummy pkg-config; ac_word=$2
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4530 $as_echo_n "checking for $ac_word... " >&6; }
   4531 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4532   $as_echo_n "(cached) " >&6
   4533 else
   4534   case $ac_pt_PKG_CONFIG in
   4535   [\\/]* | ?:[\\/]*)
   4536   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4537   ;;
   4538   *)
   4539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4540 for as_dir in $PATH
   4541 do
   4542   IFS=$as_save_IFS
   4543   test -z "$as_dir" && as_dir=.
   4544     for ac_exec_ext in '' $ac_executable_extensions; do
   4545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4546     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4548     break 2
   4549   fi
   4550 done
   4551   done
   4552 IFS=$as_save_IFS
   4553 
   4554   ;;
   4555 esac
   4556 fi
   4557 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4558 if test -n "$ac_pt_PKG_CONFIG"; then
   4559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4560 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4561 else
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4563 $as_echo "no" >&6; }
   4564 fi
   4565 
   4566   if test "x$ac_pt_PKG_CONFIG" = x; then
   4567     PKG_CONFIG=""
   4568   else
   4569     case $cross_compiling:$ac_tool_warned in
   4570 yes:)
   4571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4573 ac_tool_warned=yes ;;
   4574 esac
   4575     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4576   fi
   4577 else
   4578   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4579 fi
   4580 
   4581 fi
   4582 if test -n "$PKG_CONFIG"; then
   4583 	_pkg_min_version=0.9.0
   4584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4585 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4586 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4588 $as_echo "yes" >&6; }
   4589 	else
   4590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4591 $as_echo "no" >&6; }
   4592 		PKG_CONFIG=""
   4593 	fi
   4594 
   4595 fi
   4596 # Make sure we can run config.sub.
   4597 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4598   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4599 
   4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4601 $as_echo_n "checking build system type... " >&6; }
   4602 if ${ac_cv_build+:} false; then :
   4603   $as_echo_n "(cached) " >&6
   4604 else
   4605   ac_build_alias=$build_alias
   4606 test "x$ac_build_alias" = x &&
   4607   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4608 test "x$ac_build_alias" = x &&
   4609   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4610 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4611   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4612 
   4613 fi
   4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4615 $as_echo "$ac_cv_build" >&6; }
   4616 case $ac_cv_build in
   4617 *-*-*) ;;
   4618 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4619 esac
   4620 build=$ac_cv_build
   4621 ac_save_IFS=$IFS; IFS='-'
   4622 set x $ac_cv_build
   4623 shift
   4624 build_cpu=$1
   4625 build_vendor=$2
   4626 shift; shift
   4627 # Remember, the first character of IFS is used to create $*,
   4628 # except with old shells:
   4629 build_os=$*
   4630 IFS=$ac_save_IFS
   4631 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4632 
   4633 
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4635 $as_echo_n "checking host system type... " >&6; }
   4636 if ${ac_cv_host+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639   if test "x$host_alias" = x; then
   4640   ac_cv_host=$ac_cv_build
   4641 else
   4642   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4643     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4644 fi
   4645 
   4646 fi
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4648 $as_echo "$ac_cv_host" >&6; }
   4649 case $ac_cv_host in
   4650 *-*-*) ;;
   4651 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4652 esac
   4653 host=$ac_cv_host
   4654 ac_save_IFS=$IFS; IFS='-'
   4655 set x $ac_cv_host
   4656 shift
   4657 host_cpu=$1
   4658 host_vendor=$2
   4659 shift; shift
   4660 # Remember, the first character of IFS is used to create $*,
   4661 # except with old shells:
   4662 host_os=$*
   4663 IFS=$ac_save_IFS
   4664 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4665 
   4666 
   4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4668 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4669 if ${ac_cv_path_SED+:} false; then :
   4670   $as_echo_n "(cached) " >&6
   4671 else
   4672             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4673      for ac_i in 1 2 3 4 5 6 7; do
   4674        ac_script="$ac_script$as_nl$ac_script"
   4675      done
   4676      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4677      { ac_script=; unset ac_script;}
   4678      if test -z "$SED"; then
   4679   ac_path_SED_found=false
   4680   # Loop through the user's path and test for each of PROGNAME-LIST
   4681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4682 for as_dir in $PATH
   4683 do
   4684   IFS=$as_save_IFS
   4685   test -z "$as_dir" && as_dir=.
   4686     for ac_prog in sed gsed; do
   4687     for ac_exec_ext in '' $ac_executable_extensions; do
   4688       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4689       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4690 # Check for GNU ac_path_SED and select it if it is found.
   4691   # Check for GNU $ac_path_SED
   4692 case `"$ac_path_SED" --version 2>&1` in
   4693 *GNU*)
   4694   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4695 *)
   4696   ac_count=0
   4697   $as_echo_n 0123456789 >"conftest.in"
   4698   while :
   4699   do
   4700     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4701     mv "conftest.tmp" "conftest.in"
   4702     cp "conftest.in" "conftest.nl"
   4703     $as_echo '' >> "conftest.nl"
   4704     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4705     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4706     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4707     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4708       # Best one so far, save it but keep looking for a better one
   4709       ac_cv_path_SED="$ac_path_SED"
   4710       ac_path_SED_max=$ac_count
   4711     fi
   4712     # 10*(2^10) chars as input seems more than enough
   4713     test $ac_count -gt 10 && break
   4714   done
   4715   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4716 esac
   4717 
   4718       $ac_path_SED_found && break 3
   4719     done
   4720   done
   4721   done
   4722 IFS=$as_save_IFS
   4723   if test -z "$ac_cv_path_SED"; then
   4724     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4725   fi
   4726 else
   4727   ac_cv_path_SED=$SED
   4728 fi
   4729 
   4730 fi
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4732 $as_echo "$ac_cv_path_SED" >&6; }
   4733  SED="$ac_cv_path_SED"
   4734   rm -f conftest.sed
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 # Check whether --enable-selective-werror was given.
   4742 if test "${enable_selective_werror+set}" = set; then :
   4743   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4744 else
   4745   SELECTIVE_WERROR=yes
   4746 fi
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4753 if test "x$SUNCC" = "xyes"; then
   4754     BASE_CFLAGS="-v"
   4755 else
   4756     BASE_CFLAGS=""
   4757 fi
   4758 
   4759 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 xorg_testset_save_CFLAGS="$CFLAGS"
   4774 
   4775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4780   $as_echo_n "(cached) " >&6
   4781 else
   4782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4783 /* end confdefs.h.  */
   4784 int i;
   4785 _ACEOF
   4786 if ac_fn_c_try_compile "$LINENO"; then :
   4787   xorg_cv_cc_flag_unknown_warning_option=yes
   4788 else
   4789   xorg_cv_cc_flag_unknown_warning_option=no
   4790 fi
   4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4792 fi
   4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4796 	CFLAGS="$xorg_testset_save_CFLAGS"
   4797 fi
   4798 
   4799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4802 	fi
   4803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4807   $as_echo_n "(cached) " >&6
   4808 else
   4809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4810 /* end confdefs.h.  */
   4811 int i;
   4812 _ACEOF
   4813 if ac_fn_c_try_compile "$LINENO"; then :
   4814   xorg_cv_cc_flag_unused_command_line_argument=yes
   4815 else
   4816   xorg_cv_cc_flag_unused_command_line_argument=no
   4817 fi
   4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4819 fi
   4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4823 	CFLAGS="$xorg_testset_save_CFLAGS"
   4824 fi
   4825 
   4826 found="no"
   4827 
   4828 	if test $found = "no" ; then
   4829 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4831 		fi
   4832 
   4833 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4835 		fi
   4836 
   4837 		CFLAGS="$CFLAGS -Wall"
   4838 
   4839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4840 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4841 		cacheid=xorg_cv_cc_flag__Wall
   4842 		if eval \${$cacheid+:} false; then :
   4843   $as_echo_n "(cached) " >&6
   4844 else
   4845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4846 /* end confdefs.h.  */
   4847 int i;
   4848 int
   4849 main ()
   4850 {
   4851 
   4852   ;
   4853   return 0;
   4854 }
   4855 _ACEOF
   4856 if ac_fn_c_try_link "$LINENO"; then :
   4857   eval $cacheid=yes
   4858 else
   4859   eval $cacheid=no
   4860 fi
   4861 rm -f core conftest.err conftest.$ac_objext \
   4862     conftest$ac_exeext conftest.$ac_ext
   4863 fi
   4864 
   4865 
   4866 		CFLAGS="$xorg_testset_save_CFLAGS"
   4867 
   4868 		eval supported=\$$cacheid
   4869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4870 $as_echo "$supported" >&6; }
   4871 		if test "$supported" = "yes" ; then
   4872 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4873 			found="yes"
   4874 		fi
   4875 	fi
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 xorg_testset_save_CFLAGS="$CFLAGS"
   4892 
   4893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4898   $as_echo_n "(cached) " >&6
   4899 else
   4900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4901 /* end confdefs.h.  */
   4902 int i;
   4903 _ACEOF
   4904 if ac_fn_c_try_compile "$LINENO"; then :
   4905   xorg_cv_cc_flag_unknown_warning_option=yes
   4906 else
   4907   xorg_cv_cc_flag_unknown_warning_option=no
   4908 fi
   4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4910 fi
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4914 	CFLAGS="$xorg_testset_save_CFLAGS"
   4915 fi
   4916 
   4917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4920 	fi
   4921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4925   $as_echo_n "(cached) " >&6
   4926 else
   4927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4928 /* end confdefs.h.  */
   4929 int i;
   4930 _ACEOF
   4931 if ac_fn_c_try_compile "$LINENO"; then :
   4932   xorg_cv_cc_flag_unused_command_line_argument=yes
   4933 else
   4934   xorg_cv_cc_flag_unused_command_line_argument=no
   4935 fi
   4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4937 fi
   4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4941 	CFLAGS="$xorg_testset_save_CFLAGS"
   4942 fi
   4943 
   4944 found="no"
   4945 
   4946 	if test $found = "no" ; then
   4947 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4949 		fi
   4950 
   4951 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4953 		fi
   4954 
   4955 		CFLAGS="$CFLAGS -Wpointer-arith"
   4956 
   4957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4958 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4959 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4960 		if eval \${$cacheid+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4964 /* end confdefs.h.  */
   4965 int i;
   4966 int
   4967 main ()
   4968 {
   4969 
   4970   ;
   4971   return 0;
   4972 }
   4973 _ACEOF
   4974 if ac_fn_c_try_link "$LINENO"; then :
   4975   eval $cacheid=yes
   4976 else
   4977   eval $cacheid=no
   4978 fi
   4979 rm -f core conftest.err conftest.$ac_objext \
   4980     conftest$ac_exeext conftest.$ac_ext
   4981 fi
   4982 
   4983 
   4984 		CFLAGS="$xorg_testset_save_CFLAGS"
   4985 
   4986 		eval supported=\$$cacheid
   4987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4988 $as_echo "$supported" >&6; }
   4989 		if test "$supported" = "yes" ; then
   4990 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4991 			found="yes"
   4992 		fi
   4993 	fi
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 xorg_testset_save_CFLAGS="$CFLAGS"
   5010 
   5011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5016   $as_echo_n "(cached) " >&6
   5017 else
   5018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5019 /* end confdefs.h.  */
   5020 int i;
   5021 _ACEOF
   5022 if ac_fn_c_try_compile "$LINENO"; then :
   5023   xorg_cv_cc_flag_unknown_warning_option=yes
   5024 else
   5025   xorg_cv_cc_flag_unknown_warning_option=no
   5026 fi
   5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5028 fi
   5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5032 	CFLAGS="$xorg_testset_save_CFLAGS"
   5033 fi
   5034 
   5035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5038 	fi
   5039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5043   $as_echo_n "(cached) " >&6
   5044 else
   5045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5046 /* end confdefs.h.  */
   5047 int i;
   5048 _ACEOF
   5049 if ac_fn_c_try_compile "$LINENO"; then :
   5050   xorg_cv_cc_flag_unused_command_line_argument=yes
   5051 else
   5052   xorg_cv_cc_flag_unused_command_line_argument=no
   5053 fi
   5054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5055 fi
   5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5059 	CFLAGS="$xorg_testset_save_CFLAGS"
   5060 fi
   5061 
   5062 found="no"
   5063 
   5064 	if test $found = "no" ; then
   5065 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5067 		fi
   5068 
   5069 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5071 		fi
   5072 
   5073 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5074 
   5075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5076 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5077 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5078 		if eval \${$cacheid+:} false; then :
   5079   $as_echo_n "(cached) " >&6
   5080 else
   5081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5082 /* end confdefs.h.  */
   5083 int i;
   5084 int
   5085 main ()
   5086 {
   5087 
   5088   ;
   5089   return 0;
   5090 }
   5091 _ACEOF
   5092 if ac_fn_c_try_link "$LINENO"; then :
   5093   eval $cacheid=yes
   5094 else
   5095   eval $cacheid=no
   5096 fi
   5097 rm -f core conftest.err conftest.$ac_objext \
   5098     conftest$ac_exeext conftest.$ac_ext
   5099 fi
   5100 
   5101 
   5102 		CFLAGS="$xorg_testset_save_CFLAGS"
   5103 
   5104 		eval supported=\$$cacheid
   5105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5106 $as_echo "$supported" >&6; }
   5107 		if test "$supported" = "yes" ; then
   5108 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5109 			found="yes"
   5110 		fi
   5111 	fi
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 xorg_testset_save_CFLAGS="$CFLAGS"
   5128 
   5129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5134   $as_echo_n "(cached) " >&6
   5135 else
   5136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5137 /* end confdefs.h.  */
   5138 int i;
   5139 _ACEOF
   5140 if ac_fn_c_try_compile "$LINENO"; then :
   5141   xorg_cv_cc_flag_unknown_warning_option=yes
   5142 else
   5143   xorg_cv_cc_flag_unknown_warning_option=no
   5144 fi
   5145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5146 fi
   5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5150 	CFLAGS="$xorg_testset_save_CFLAGS"
   5151 fi
   5152 
   5153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5156 	fi
   5157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5161   $as_echo_n "(cached) " >&6
   5162 else
   5163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5164 /* end confdefs.h.  */
   5165 int i;
   5166 _ACEOF
   5167 if ac_fn_c_try_compile "$LINENO"; then :
   5168   xorg_cv_cc_flag_unused_command_line_argument=yes
   5169 else
   5170   xorg_cv_cc_flag_unused_command_line_argument=no
   5171 fi
   5172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5173 fi
   5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5177 	CFLAGS="$xorg_testset_save_CFLAGS"
   5178 fi
   5179 
   5180 found="no"
   5181 
   5182 	if test $found = "no" ; then
   5183 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5185 		fi
   5186 
   5187 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5189 		fi
   5190 
   5191 		CFLAGS="$CFLAGS -Wformat=2"
   5192 
   5193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5194 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5195 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5196 		if eval \${$cacheid+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 int i;
   5202 int
   5203 main ()
   5204 {
   5205 
   5206   ;
   5207   return 0;
   5208 }
   5209 _ACEOF
   5210 if ac_fn_c_try_link "$LINENO"; then :
   5211   eval $cacheid=yes
   5212 else
   5213   eval $cacheid=no
   5214 fi
   5215 rm -f core conftest.err conftest.$ac_objext \
   5216     conftest$ac_exeext conftest.$ac_ext
   5217 fi
   5218 
   5219 
   5220 		CFLAGS="$xorg_testset_save_CFLAGS"
   5221 
   5222 		eval supported=\$$cacheid
   5223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5224 $as_echo "$supported" >&6; }
   5225 		if test "$supported" = "yes" ; then
   5226 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5227 			found="yes"
   5228 		fi
   5229 	fi
   5230 
   5231 	if test $found = "no" ; then
   5232 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5234 		fi
   5235 
   5236 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5238 		fi
   5239 
   5240 		CFLAGS="$CFLAGS -Wformat"
   5241 
   5242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5243 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5244 		cacheid=xorg_cv_cc_flag__Wformat
   5245 		if eval \${$cacheid+:} false; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5249 /* end confdefs.h.  */
   5250 int i;
   5251 int
   5252 main ()
   5253 {
   5254 
   5255   ;
   5256   return 0;
   5257 }
   5258 _ACEOF
   5259 if ac_fn_c_try_link "$LINENO"; then :
   5260   eval $cacheid=yes
   5261 else
   5262   eval $cacheid=no
   5263 fi
   5264 rm -f core conftest.err conftest.$ac_objext \
   5265     conftest$ac_exeext conftest.$ac_ext
   5266 fi
   5267 
   5268 
   5269 		CFLAGS="$xorg_testset_save_CFLAGS"
   5270 
   5271 		eval supported=\$$cacheid
   5272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5273 $as_echo "$supported" >&6; }
   5274 		if test "$supported" = "yes" ; then
   5275 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5276 			found="yes"
   5277 		fi
   5278 	fi
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 xorg_testset_save_CFLAGS="$CFLAGS"
   5297 
   5298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5303   $as_echo_n "(cached) " >&6
   5304 else
   5305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5306 /* end confdefs.h.  */
   5307 int i;
   5308 _ACEOF
   5309 if ac_fn_c_try_compile "$LINENO"; then :
   5310   xorg_cv_cc_flag_unknown_warning_option=yes
   5311 else
   5312   xorg_cv_cc_flag_unknown_warning_option=no
   5313 fi
   5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5315 fi
   5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5319 	CFLAGS="$xorg_testset_save_CFLAGS"
   5320 fi
   5321 
   5322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5325 	fi
   5326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5330   $as_echo_n "(cached) " >&6
   5331 else
   5332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5333 /* end confdefs.h.  */
   5334 int i;
   5335 _ACEOF
   5336 if ac_fn_c_try_compile "$LINENO"; then :
   5337   xorg_cv_cc_flag_unused_command_line_argument=yes
   5338 else
   5339   xorg_cv_cc_flag_unused_command_line_argument=no
   5340 fi
   5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5342 fi
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5346 	CFLAGS="$xorg_testset_save_CFLAGS"
   5347 fi
   5348 
   5349 found="no"
   5350 
   5351 	if test $found = "no" ; then
   5352 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5354 		fi
   5355 
   5356 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5358 		fi
   5359 
   5360 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5361 
   5362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5363 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5364 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5365 		if eval \${$cacheid+:} false; then :
   5366   $as_echo_n "(cached) " >&6
   5367 else
   5368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5369 /* end confdefs.h.  */
   5370 int i;
   5371 int
   5372 main ()
   5373 {
   5374 
   5375   ;
   5376   return 0;
   5377 }
   5378 _ACEOF
   5379 if ac_fn_c_try_link "$LINENO"; then :
   5380   eval $cacheid=yes
   5381 else
   5382   eval $cacheid=no
   5383 fi
   5384 rm -f core conftest.err conftest.$ac_objext \
   5385     conftest$ac_exeext conftest.$ac_ext
   5386 fi
   5387 
   5388 
   5389 		CFLAGS="$xorg_testset_save_CFLAGS"
   5390 
   5391 		eval supported=\$$cacheid
   5392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5393 $as_echo "$supported" >&6; }
   5394 		if test "$supported" = "yes" ; then
   5395 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5396 			found="yes"
   5397 		fi
   5398 	fi
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 xorg_testset_save_CFLAGS="$CFLAGS"
   5415 
   5416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5424 /* end confdefs.h.  */
   5425 int i;
   5426 _ACEOF
   5427 if ac_fn_c_try_compile "$LINENO"; then :
   5428   xorg_cv_cc_flag_unknown_warning_option=yes
   5429 else
   5430   xorg_cv_cc_flag_unknown_warning_option=no
   5431 fi
   5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5433 fi
   5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5437 	CFLAGS="$xorg_testset_save_CFLAGS"
   5438 fi
   5439 
   5440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5443 	fi
   5444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5448   $as_echo_n "(cached) " >&6
   5449 else
   5450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5451 /* end confdefs.h.  */
   5452 int i;
   5453 _ACEOF
   5454 if ac_fn_c_try_compile "$LINENO"; then :
   5455   xorg_cv_cc_flag_unused_command_line_argument=yes
   5456 else
   5457   xorg_cv_cc_flag_unused_command_line_argument=no
   5458 fi
   5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5460 fi
   5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5464 	CFLAGS="$xorg_testset_save_CFLAGS"
   5465 fi
   5466 
   5467 found="no"
   5468 
   5469 	if test $found = "no" ; then
   5470 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5472 		fi
   5473 
   5474 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5476 		fi
   5477 
   5478 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5479 
   5480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5481 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5482 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5483 		if eval \${$cacheid+:} false; then :
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5487 /* end confdefs.h.  */
   5488 int i;
   5489 int
   5490 main ()
   5491 {
   5492 
   5493   ;
   5494   return 0;
   5495 }
   5496 _ACEOF
   5497 if ac_fn_c_try_link "$LINENO"; then :
   5498   eval $cacheid=yes
   5499 else
   5500   eval $cacheid=no
   5501 fi
   5502 rm -f core conftest.err conftest.$ac_objext \
   5503     conftest$ac_exeext conftest.$ac_ext
   5504 fi
   5505 
   5506 
   5507 		CFLAGS="$xorg_testset_save_CFLAGS"
   5508 
   5509 		eval supported=\$$cacheid
   5510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5511 $as_echo "$supported" >&6; }
   5512 		if test "$supported" = "yes" ; then
   5513 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5514 			found="yes"
   5515 		fi
   5516 	fi
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 xorg_testset_save_CFLAGS="$CFLAGS"
   5533 
   5534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5539   $as_echo_n "(cached) " >&6
   5540 else
   5541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5542 /* end confdefs.h.  */
   5543 int i;
   5544 _ACEOF
   5545 if ac_fn_c_try_compile "$LINENO"; then :
   5546   xorg_cv_cc_flag_unknown_warning_option=yes
   5547 else
   5548   xorg_cv_cc_flag_unknown_warning_option=no
   5549 fi
   5550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5551 fi
   5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5555 	CFLAGS="$xorg_testset_save_CFLAGS"
   5556 fi
   5557 
   5558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5561 	fi
   5562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5566   $as_echo_n "(cached) " >&6
   5567 else
   5568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5569 /* end confdefs.h.  */
   5570 int i;
   5571 _ACEOF
   5572 if ac_fn_c_try_compile "$LINENO"; then :
   5573   xorg_cv_cc_flag_unused_command_line_argument=yes
   5574 else
   5575   xorg_cv_cc_flag_unused_command_line_argument=no
   5576 fi
   5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5578 fi
   5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5582 	CFLAGS="$xorg_testset_save_CFLAGS"
   5583 fi
   5584 
   5585 found="no"
   5586 
   5587 	if test $found = "no" ; then
   5588 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5590 		fi
   5591 
   5592 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5594 		fi
   5595 
   5596 		CFLAGS="$CFLAGS -Wnested-externs"
   5597 
   5598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5599 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5600 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5601 		if eval \${$cacheid+:} false; then :
   5602   $as_echo_n "(cached) " >&6
   5603 else
   5604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5605 /* end confdefs.h.  */
   5606 int i;
   5607 int
   5608 main ()
   5609 {
   5610 
   5611   ;
   5612   return 0;
   5613 }
   5614 _ACEOF
   5615 if ac_fn_c_try_link "$LINENO"; then :
   5616   eval $cacheid=yes
   5617 else
   5618   eval $cacheid=no
   5619 fi
   5620 rm -f core conftest.err conftest.$ac_objext \
   5621     conftest$ac_exeext conftest.$ac_ext
   5622 fi
   5623 
   5624 
   5625 		CFLAGS="$xorg_testset_save_CFLAGS"
   5626 
   5627 		eval supported=\$$cacheid
   5628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5629 $as_echo "$supported" >&6; }
   5630 		if test "$supported" = "yes" ; then
   5631 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5632 			found="yes"
   5633 		fi
   5634 	fi
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 xorg_testset_save_CFLAGS="$CFLAGS"
   5651 
   5652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5660 /* end confdefs.h.  */
   5661 int i;
   5662 _ACEOF
   5663 if ac_fn_c_try_compile "$LINENO"; then :
   5664   xorg_cv_cc_flag_unknown_warning_option=yes
   5665 else
   5666   xorg_cv_cc_flag_unknown_warning_option=no
   5667 fi
   5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5669 fi
   5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5673 	CFLAGS="$xorg_testset_save_CFLAGS"
   5674 fi
   5675 
   5676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5679 	fi
   5680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5684   $as_echo_n "(cached) " >&6
   5685 else
   5686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5687 /* end confdefs.h.  */
   5688 int i;
   5689 _ACEOF
   5690 if ac_fn_c_try_compile "$LINENO"; then :
   5691   xorg_cv_cc_flag_unused_command_line_argument=yes
   5692 else
   5693   xorg_cv_cc_flag_unused_command_line_argument=no
   5694 fi
   5695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5696 fi
   5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5700 	CFLAGS="$xorg_testset_save_CFLAGS"
   5701 fi
   5702 
   5703 found="no"
   5704 
   5705 	if test $found = "no" ; then
   5706 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5708 		fi
   5709 
   5710 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5712 		fi
   5713 
   5714 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5715 
   5716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5717 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5718 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5719 		if eval \${$cacheid+:} false; then :
   5720   $as_echo_n "(cached) " >&6
   5721 else
   5722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5723 /* end confdefs.h.  */
   5724 int i;
   5725 int
   5726 main ()
   5727 {
   5728 
   5729   ;
   5730   return 0;
   5731 }
   5732 _ACEOF
   5733 if ac_fn_c_try_link "$LINENO"; then :
   5734   eval $cacheid=yes
   5735 else
   5736   eval $cacheid=no
   5737 fi
   5738 rm -f core conftest.err conftest.$ac_objext \
   5739     conftest$ac_exeext conftest.$ac_ext
   5740 fi
   5741 
   5742 
   5743 		CFLAGS="$xorg_testset_save_CFLAGS"
   5744 
   5745 		eval supported=\$$cacheid
   5746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5747 $as_echo "$supported" >&6; }
   5748 		if test "$supported" = "yes" ; then
   5749 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5750 			found="yes"
   5751 		fi
   5752 	fi
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 xorg_testset_save_CFLAGS="$CFLAGS"
   5769 
   5770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5778 /* end confdefs.h.  */
   5779 int i;
   5780 _ACEOF
   5781 if ac_fn_c_try_compile "$LINENO"; then :
   5782   xorg_cv_cc_flag_unknown_warning_option=yes
   5783 else
   5784   xorg_cv_cc_flag_unknown_warning_option=no
   5785 fi
   5786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5787 fi
   5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5791 	CFLAGS="$xorg_testset_save_CFLAGS"
   5792 fi
   5793 
   5794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 	fi
   5798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5802   $as_echo_n "(cached) " >&6
   5803 else
   5804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5805 /* end confdefs.h.  */
   5806 int i;
   5807 _ACEOF
   5808 if ac_fn_c_try_compile "$LINENO"; then :
   5809   xorg_cv_cc_flag_unused_command_line_argument=yes
   5810 else
   5811   xorg_cv_cc_flag_unused_command_line_argument=no
   5812 fi
   5813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5814 fi
   5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5818 	CFLAGS="$xorg_testset_save_CFLAGS"
   5819 fi
   5820 
   5821 found="no"
   5822 
   5823 	if test $found = "no" ; then
   5824 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5826 		fi
   5827 
   5828 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5830 		fi
   5831 
   5832 		CFLAGS="$CFLAGS -Wold-style-definition"
   5833 
   5834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5835 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5836 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5837 		if eval \${$cacheid+:} false; then :
   5838   $as_echo_n "(cached) " >&6
   5839 else
   5840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 int
   5844 main ()
   5845 {
   5846 
   5847   ;
   5848   return 0;
   5849 }
   5850 _ACEOF
   5851 if ac_fn_c_try_link "$LINENO"; then :
   5852   eval $cacheid=yes
   5853 else
   5854   eval $cacheid=no
   5855 fi
   5856 rm -f core conftest.err conftest.$ac_objext \
   5857     conftest$ac_exeext conftest.$ac_ext
   5858 fi
   5859 
   5860 
   5861 		CFLAGS="$xorg_testset_save_CFLAGS"
   5862 
   5863 		eval supported=\$$cacheid
   5864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5865 $as_echo "$supported" >&6; }
   5866 		if test "$supported" = "yes" ; then
   5867 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5868 			found="yes"
   5869 		fi
   5870 	fi
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 xorg_testset_save_CFLAGS="$CFLAGS"
   5887 
   5888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5893   $as_echo_n "(cached) " >&6
   5894 else
   5895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5896 /* end confdefs.h.  */
   5897 int i;
   5898 _ACEOF
   5899 if ac_fn_c_try_compile "$LINENO"; then :
   5900   xorg_cv_cc_flag_unknown_warning_option=yes
   5901 else
   5902   xorg_cv_cc_flag_unknown_warning_option=no
   5903 fi
   5904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5905 fi
   5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5909 	CFLAGS="$xorg_testset_save_CFLAGS"
   5910 fi
   5911 
   5912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5915 	fi
   5916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5923 /* end confdefs.h.  */
   5924 int i;
   5925 _ACEOF
   5926 if ac_fn_c_try_compile "$LINENO"; then :
   5927   xorg_cv_cc_flag_unused_command_line_argument=yes
   5928 else
   5929   xorg_cv_cc_flag_unused_command_line_argument=no
   5930 fi
   5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5932 fi
   5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5936 	CFLAGS="$xorg_testset_save_CFLAGS"
   5937 fi
   5938 
   5939 found="no"
   5940 
   5941 	if test $found = "no" ; then
   5942 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5944 		fi
   5945 
   5946 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5948 		fi
   5949 
   5950 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5951 
   5952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5953 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5954 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5955 		if eval \${$cacheid+:} false; then :
   5956   $as_echo_n "(cached) " >&6
   5957 else
   5958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5959 /* end confdefs.h.  */
   5960 int i;
   5961 int
   5962 main ()
   5963 {
   5964 
   5965   ;
   5966   return 0;
   5967 }
   5968 _ACEOF
   5969 if ac_fn_c_try_link "$LINENO"; then :
   5970   eval $cacheid=yes
   5971 else
   5972   eval $cacheid=no
   5973 fi
   5974 rm -f core conftest.err conftest.$ac_objext \
   5975     conftest$ac_exeext conftest.$ac_ext
   5976 fi
   5977 
   5978 
   5979 		CFLAGS="$xorg_testset_save_CFLAGS"
   5980 
   5981 		eval supported=\$$cacheid
   5982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5983 $as_echo "$supported" >&6; }
   5984 		if test "$supported" = "yes" ; then
   5985 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5986 			found="yes"
   5987 		fi
   5988 	fi
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 # This chunk adds additional warnings that could catch undesired effects.
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 xorg_testset_save_CFLAGS="$CFLAGS"
   6009 
   6010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6018 /* end confdefs.h.  */
   6019 int i;
   6020 _ACEOF
   6021 if ac_fn_c_try_compile "$LINENO"; then :
   6022   xorg_cv_cc_flag_unknown_warning_option=yes
   6023 else
   6024   xorg_cv_cc_flag_unknown_warning_option=no
   6025 fi
   6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6027 fi
   6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6031 	CFLAGS="$xorg_testset_save_CFLAGS"
   6032 fi
   6033 
   6034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6037 	fi
   6038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 _ACEOF
   6048 if ac_fn_c_try_compile "$LINENO"; then :
   6049   xorg_cv_cc_flag_unused_command_line_argument=yes
   6050 else
   6051   xorg_cv_cc_flag_unused_command_line_argument=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 found="no"
   6062 
   6063 	if test $found = "no" ; then
   6064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6066 		fi
   6067 
   6068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6070 		fi
   6071 
   6072 		CFLAGS="$CFLAGS -Wunused"
   6073 
   6074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6075 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6076 		cacheid=xorg_cv_cc_flag__Wunused
   6077 		if eval \${$cacheid+:} false; then :
   6078   $as_echo_n "(cached) " >&6
   6079 else
   6080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6081 /* end confdefs.h.  */
   6082 int i;
   6083 int
   6084 main ()
   6085 {
   6086 
   6087   ;
   6088   return 0;
   6089 }
   6090 _ACEOF
   6091 if ac_fn_c_try_link "$LINENO"; then :
   6092   eval $cacheid=yes
   6093 else
   6094   eval $cacheid=no
   6095 fi
   6096 rm -f core conftest.err conftest.$ac_objext \
   6097     conftest$ac_exeext conftest.$ac_ext
   6098 fi
   6099 
   6100 
   6101 		CFLAGS="$xorg_testset_save_CFLAGS"
   6102 
   6103 		eval supported=\$$cacheid
   6104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6105 $as_echo "$supported" >&6; }
   6106 		if test "$supported" = "yes" ; then
   6107 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6108 			found="yes"
   6109 		fi
   6110 	fi
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 xorg_testset_save_CFLAGS="$CFLAGS"
   6127 
   6128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6133   $as_echo_n "(cached) " >&6
   6134 else
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 _ACEOF
   6139 if ac_fn_c_try_compile "$LINENO"; then :
   6140   xorg_cv_cc_flag_unknown_warning_option=yes
   6141 else
   6142   xorg_cv_cc_flag_unknown_warning_option=no
   6143 fi
   6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6145 fi
   6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6149 	CFLAGS="$xorg_testset_save_CFLAGS"
   6150 fi
   6151 
   6152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6155 	fi
   6156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6160   $as_echo_n "(cached) " >&6
   6161 else
   6162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6163 /* end confdefs.h.  */
   6164 int i;
   6165 _ACEOF
   6166 if ac_fn_c_try_compile "$LINENO"; then :
   6167   xorg_cv_cc_flag_unused_command_line_argument=yes
   6168 else
   6169   xorg_cv_cc_flag_unused_command_line_argument=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6172 fi
   6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6176 	CFLAGS="$xorg_testset_save_CFLAGS"
   6177 fi
   6178 
   6179 found="no"
   6180 
   6181 	if test $found = "no" ; then
   6182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6184 		fi
   6185 
   6186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6188 		fi
   6189 
   6190 		CFLAGS="$CFLAGS -Wuninitialized"
   6191 
   6192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6193 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6194 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6195 		if eval \${$cacheid+:} false; then :
   6196   $as_echo_n "(cached) " >&6
   6197 else
   6198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6199 /* end confdefs.h.  */
   6200 int i;
   6201 int
   6202 main ()
   6203 {
   6204 
   6205   ;
   6206   return 0;
   6207 }
   6208 _ACEOF
   6209 if ac_fn_c_try_link "$LINENO"; then :
   6210   eval $cacheid=yes
   6211 else
   6212   eval $cacheid=no
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext \
   6215     conftest$ac_exeext conftest.$ac_ext
   6216 fi
   6217 
   6218 
   6219 		CFLAGS="$xorg_testset_save_CFLAGS"
   6220 
   6221 		eval supported=\$$cacheid
   6222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6223 $as_echo "$supported" >&6; }
   6224 		if test "$supported" = "yes" ; then
   6225 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6226 			found="yes"
   6227 		fi
   6228 	fi
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 xorg_testset_save_CFLAGS="$CFLAGS"
   6245 
   6246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6251   $as_echo_n "(cached) " >&6
   6252 else
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 int i;
   6256 _ACEOF
   6257 if ac_fn_c_try_compile "$LINENO"; then :
   6258   xorg_cv_cc_flag_unknown_warning_option=yes
   6259 else
   6260   xorg_cv_cc_flag_unknown_warning_option=no
   6261 fi
   6262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6263 fi
   6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6267 	CFLAGS="$xorg_testset_save_CFLAGS"
   6268 fi
   6269 
   6270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6273 	fi
   6274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6278   $as_echo_n "(cached) " >&6
   6279 else
   6280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6281 /* end confdefs.h.  */
   6282 int i;
   6283 _ACEOF
   6284 if ac_fn_c_try_compile "$LINENO"; then :
   6285   xorg_cv_cc_flag_unused_command_line_argument=yes
   6286 else
   6287   xorg_cv_cc_flag_unused_command_line_argument=no
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6290 fi
   6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6294 	CFLAGS="$xorg_testset_save_CFLAGS"
   6295 fi
   6296 
   6297 found="no"
   6298 
   6299 	if test $found = "no" ; then
   6300 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6302 		fi
   6303 
   6304 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6306 		fi
   6307 
   6308 		CFLAGS="$CFLAGS -Wshadow"
   6309 
   6310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6311 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6312 		cacheid=xorg_cv_cc_flag__Wshadow
   6313 		if eval \${$cacheid+:} false; then :
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6317 /* end confdefs.h.  */
   6318 int i;
   6319 int
   6320 main ()
   6321 {
   6322 
   6323   ;
   6324   return 0;
   6325 }
   6326 _ACEOF
   6327 if ac_fn_c_try_link "$LINENO"; then :
   6328   eval $cacheid=yes
   6329 else
   6330   eval $cacheid=no
   6331 fi
   6332 rm -f core conftest.err conftest.$ac_objext \
   6333     conftest$ac_exeext conftest.$ac_ext
   6334 fi
   6335 
   6336 
   6337 		CFLAGS="$xorg_testset_save_CFLAGS"
   6338 
   6339 		eval supported=\$$cacheid
   6340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6341 $as_echo "$supported" >&6; }
   6342 		if test "$supported" = "yes" ; then
   6343 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6344 			found="yes"
   6345 		fi
   6346 	fi
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 xorg_testset_save_CFLAGS="$CFLAGS"
   6363 
   6364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6369   $as_echo_n "(cached) " >&6
   6370 else
   6371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6372 /* end confdefs.h.  */
   6373 int i;
   6374 _ACEOF
   6375 if ac_fn_c_try_compile "$LINENO"; then :
   6376   xorg_cv_cc_flag_unknown_warning_option=yes
   6377 else
   6378   xorg_cv_cc_flag_unknown_warning_option=no
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6381 fi
   6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6385 	CFLAGS="$xorg_testset_save_CFLAGS"
   6386 fi
   6387 
   6388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6391 	fi
   6392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6396   $as_echo_n "(cached) " >&6
   6397 else
   6398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6399 /* end confdefs.h.  */
   6400 int i;
   6401 _ACEOF
   6402 if ac_fn_c_try_compile "$LINENO"; then :
   6403   xorg_cv_cc_flag_unused_command_line_argument=yes
   6404 else
   6405   xorg_cv_cc_flag_unused_command_line_argument=no
   6406 fi
   6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6408 fi
   6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6412 	CFLAGS="$xorg_testset_save_CFLAGS"
   6413 fi
   6414 
   6415 found="no"
   6416 
   6417 	if test $found = "no" ; then
   6418 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6420 		fi
   6421 
   6422 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6424 		fi
   6425 
   6426 		CFLAGS="$CFLAGS -Wcast-qual"
   6427 
   6428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6429 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6430 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6431 		if eval \${$cacheid+:} false; then :
   6432   $as_echo_n "(cached) " >&6
   6433 else
   6434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6435 /* end confdefs.h.  */
   6436 int i;
   6437 int
   6438 main ()
   6439 {
   6440 
   6441   ;
   6442   return 0;
   6443 }
   6444 _ACEOF
   6445 if ac_fn_c_try_link "$LINENO"; then :
   6446   eval $cacheid=yes
   6447 else
   6448   eval $cacheid=no
   6449 fi
   6450 rm -f core conftest.err conftest.$ac_objext \
   6451     conftest$ac_exeext conftest.$ac_ext
   6452 fi
   6453 
   6454 
   6455 		CFLAGS="$xorg_testset_save_CFLAGS"
   6456 
   6457 		eval supported=\$$cacheid
   6458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6459 $as_echo "$supported" >&6; }
   6460 		if test "$supported" = "yes" ; then
   6461 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6462 			found="yes"
   6463 		fi
   6464 	fi
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 xorg_testset_save_CFLAGS="$CFLAGS"
   6481 
   6482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6487   $as_echo_n "(cached) " >&6
   6488 else
   6489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 int i;
   6492 _ACEOF
   6493 if ac_fn_c_try_compile "$LINENO"; then :
   6494   xorg_cv_cc_flag_unknown_warning_option=yes
   6495 else
   6496   xorg_cv_cc_flag_unknown_warning_option=no
   6497 fi
   6498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6499 fi
   6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6503 	CFLAGS="$xorg_testset_save_CFLAGS"
   6504 fi
   6505 
   6506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6509 	fi
   6510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6514   $as_echo_n "(cached) " >&6
   6515 else
   6516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 _ACEOF
   6520 if ac_fn_c_try_compile "$LINENO"; then :
   6521   xorg_cv_cc_flag_unused_command_line_argument=yes
   6522 else
   6523   xorg_cv_cc_flag_unused_command_line_argument=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6526 fi
   6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6530 	CFLAGS="$xorg_testset_save_CFLAGS"
   6531 fi
   6532 
   6533 found="no"
   6534 
   6535 	if test $found = "no" ; then
   6536 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6538 		fi
   6539 
   6540 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 		fi
   6543 
   6544 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6545 
   6546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6547 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6548 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6549 		if eval \${$cacheid+:} false; then :
   6550   $as_echo_n "(cached) " >&6
   6551 else
   6552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6553 /* end confdefs.h.  */
   6554 int i;
   6555 int
   6556 main ()
   6557 {
   6558 
   6559   ;
   6560   return 0;
   6561 }
   6562 _ACEOF
   6563 if ac_fn_c_try_link "$LINENO"; then :
   6564   eval $cacheid=yes
   6565 else
   6566   eval $cacheid=no
   6567 fi
   6568 rm -f core conftest.err conftest.$ac_objext \
   6569     conftest$ac_exeext conftest.$ac_ext
   6570 fi
   6571 
   6572 
   6573 		CFLAGS="$xorg_testset_save_CFLAGS"
   6574 
   6575 		eval supported=\$$cacheid
   6576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6577 $as_echo "$supported" >&6; }
   6578 		if test "$supported" = "yes" ; then
   6579 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6580 			found="yes"
   6581 		fi
   6582 	fi
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 xorg_testset_save_CFLAGS="$CFLAGS"
   6599 
   6600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6605   $as_echo_n "(cached) " >&6
   6606 else
   6607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6608 /* end confdefs.h.  */
   6609 int i;
   6610 _ACEOF
   6611 if ac_fn_c_try_compile "$LINENO"; then :
   6612   xorg_cv_cc_flag_unknown_warning_option=yes
   6613 else
   6614   xorg_cv_cc_flag_unknown_warning_option=no
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6617 fi
   6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6621 	CFLAGS="$xorg_testset_save_CFLAGS"
   6622 fi
   6623 
   6624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6627 	fi
   6628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6632   $as_echo_n "(cached) " >&6
   6633 else
   6634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6635 /* end confdefs.h.  */
   6636 int i;
   6637 _ACEOF
   6638 if ac_fn_c_try_compile "$LINENO"; then :
   6639   xorg_cv_cc_flag_unused_command_line_argument=yes
   6640 else
   6641   xorg_cv_cc_flag_unused_command_line_argument=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6644 fi
   6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6648 	CFLAGS="$xorg_testset_save_CFLAGS"
   6649 fi
   6650 
   6651 found="no"
   6652 
   6653 	if test $found = "no" ; then
   6654 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6656 		fi
   6657 
   6658 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6660 		fi
   6661 
   6662 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6663 
   6664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6665 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6666 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6667 		if eval \${$cacheid+:} false; then :
   6668   $as_echo_n "(cached) " >&6
   6669 else
   6670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 int i;
   6673 int
   6674 main ()
   6675 {
   6676 
   6677   ;
   6678   return 0;
   6679 }
   6680 _ACEOF
   6681 if ac_fn_c_try_link "$LINENO"; then :
   6682   eval $cacheid=yes
   6683 else
   6684   eval $cacheid=no
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext \
   6687     conftest$ac_exeext conftest.$ac_ext
   6688 fi
   6689 
   6690 
   6691 		CFLAGS="$xorg_testset_save_CFLAGS"
   6692 
   6693 		eval supported=\$$cacheid
   6694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6695 $as_echo "$supported" >&6; }
   6696 		if test "$supported" = "yes" ; then
   6697 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6698 			found="yes"
   6699 		fi
   6700 	fi
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 xorg_testset_save_CFLAGS="$CFLAGS"
   6717 
   6718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6723   $as_echo_n "(cached) " >&6
   6724 else
   6725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 int i;
   6728 _ACEOF
   6729 if ac_fn_c_try_compile "$LINENO"; then :
   6730   xorg_cv_cc_flag_unknown_warning_option=yes
   6731 else
   6732   xorg_cv_cc_flag_unknown_warning_option=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6735 fi
   6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6739 	CFLAGS="$xorg_testset_save_CFLAGS"
   6740 fi
   6741 
   6742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6745 	fi
   6746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 int i;
   6755 _ACEOF
   6756 if ac_fn_c_try_compile "$LINENO"; then :
   6757   xorg_cv_cc_flag_unused_command_line_argument=yes
   6758 else
   6759   xorg_cv_cc_flag_unused_command_line_argument=no
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6762 fi
   6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6766 	CFLAGS="$xorg_testset_save_CFLAGS"
   6767 fi
   6768 
   6769 found="no"
   6770 
   6771 	if test $found = "no" ; then
   6772 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6774 		fi
   6775 
   6776 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 		fi
   6779 
   6780 		CFLAGS="$CFLAGS -Wredundant-decls"
   6781 
   6782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6783 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6784 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6785 		if eval \${$cacheid+:} false; then :
   6786   $as_echo_n "(cached) " >&6
   6787 else
   6788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6789 /* end confdefs.h.  */
   6790 int i;
   6791 int
   6792 main ()
   6793 {
   6794 
   6795   ;
   6796   return 0;
   6797 }
   6798 _ACEOF
   6799 if ac_fn_c_try_link "$LINENO"; then :
   6800   eval $cacheid=yes
   6801 else
   6802   eval $cacheid=no
   6803 fi
   6804 rm -f core conftest.err conftest.$ac_objext \
   6805     conftest$ac_exeext conftest.$ac_ext
   6806 fi
   6807 
   6808 
   6809 		CFLAGS="$xorg_testset_save_CFLAGS"
   6810 
   6811 		eval supported=\$$cacheid
   6812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6813 $as_echo "$supported" >&6; }
   6814 		if test "$supported" = "yes" ; then
   6815 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6816 			found="yes"
   6817 		fi
   6818 	fi
   6819 
   6820 
   6821 
   6822 # These are currently disabled because they are noisy.  They will be enabled
   6823 # in the future once the codebase is sufficiently modernized to silence
   6824 # them.  For now, I don't want them to drown out the other warnings.
   6825 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6826 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6827 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6828 
   6829 # Turn some warnings into errors, so we don't accidently get successful builds
   6830 # when there are problems that should be fixed.
   6831 
   6832 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 xorg_testset_save_CFLAGS="$CFLAGS"
   6847 
   6848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 _ACEOF
   6859 if ac_fn_c_try_compile "$LINENO"; then :
   6860   xorg_cv_cc_flag_unknown_warning_option=yes
   6861 else
   6862   xorg_cv_cc_flag_unknown_warning_option=no
   6863 fi
   6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6865 fi
   6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6869 	CFLAGS="$xorg_testset_save_CFLAGS"
   6870 fi
   6871 
   6872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6875 	fi
   6876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 int i;
   6885 _ACEOF
   6886 if ac_fn_c_try_compile "$LINENO"; then :
   6887   xorg_cv_cc_flag_unused_command_line_argument=yes
   6888 else
   6889   xorg_cv_cc_flag_unused_command_line_argument=no
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6892 fi
   6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6896 	CFLAGS="$xorg_testset_save_CFLAGS"
   6897 fi
   6898 
   6899 found="no"
   6900 
   6901 	if test $found = "no" ; then
   6902 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6904 		fi
   6905 
   6906 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6908 		fi
   6909 
   6910 		CFLAGS="$CFLAGS -Werror=implicit"
   6911 
   6912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6913 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6914 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6915 		if eval \${$cacheid+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 int
   6922 main ()
   6923 {
   6924 
   6925   ;
   6926   return 0;
   6927 }
   6928 _ACEOF
   6929 if ac_fn_c_try_link "$LINENO"; then :
   6930   eval $cacheid=yes
   6931 else
   6932   eval $cacheid=no
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext \
   6935     conftest$ac_exeext conftest.$ac_ext
   6936 fi
   6937 
   6938 
   6939 		CFLAGS="$xorg_testset_save_CFLAGS"
   6940 
   6941 		eval supported=\$$cacheid
   6942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6943 $as_echo "$supported" >&6; }
   6944 		if test "$supported" = "yes" ; then
   6945 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6946 			found="yes"
   6947 		fi
   6948 	fi
   6949 
   6950 	if test $found = "no" ; then
   6951 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6953 		fi
   6954 
   6955 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6957 		fi
   6958 
   6959 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6960 
   6961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6962 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6963 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6964 		if eval \${$cacheid+:} false; then :
   6965   $as_echo_n "(cached) " >&6
   6966 else
   6967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6968 /* end confdefs.h.  */
   6969 int i;
   6970 int
   6971 main ()
   6972 {
   6973 
   6974   ;
   6975   return 0;
   6976 }
   6977 _ACEOF
   6978 if ac_fn_c_try_link "$LINENO"; then :
   6979   eval $cacheid=yes
   6980 else
   6981   eval $cacheid=no
   6982 fi
   6983 rm -f core conftest.err conftest.$ac_objext \
   6984     conftest$ac_exeext conftest.$ac_ext
   6985 fi
   6986 
   6987 
   6988 		CFLAGS="$xorg_testset_save_CFLAGS"
   6989 
   6990 		eval supported=\$$cacheid
   6991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6992 $as_echo "$supported" >&6; }
   6993 		if test "$supported" = "yes" ; then
   6994 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6995 			found="yes"
   6996 		fi
   6997 	fi
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 xorg_testset_save_CFLAGS="$CFLAGS"
   7014 
   7015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7023 /* end confdefs.h.  */
   7024 int i;
   7025 _ACEOF
   7026 if ac_fn_c_try_compile "$LINENO"; then :
   7027   xorg_cv_cc_flag_unknown_warning_option=yes
   7028 else
   7029   xorg_cv_cc_flag_unknown_warning_option=no
   7030 fi
   7031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7032 fi
   7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7036 	CFLAGS="$xorg_testset_save_CFLAGS"
   7037 fi
   7038 
   7039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7042 	fi
   7043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7050 /* end confdefs.h.  */
   7051 int i;
   7052 _ACEOF
   7053 if ac_fn_c_try_compile "$LINENO"; then :
   7054   xorg_cv_cc_flag_unused_command_line_argument=yes
   7055 else
   7056   xorg_cv_cc_flag_unused_command_line_argument=no
   7057 fi
   7058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7059 fi
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7063 	CFLAGS="$xorg_testset_save_CFLAGS"
   7064 fi
   7065 
   7066 found="no"
   7067 
   7068 	if test $found = "no" ; then
   7069 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7071 		fi
   7072 
   7073 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7075 		fi
   7076 
   7077 		CFLAGS="$CFLAGS -Werror=nonnull"
   7078 
   7079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7080 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7081 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7082 		if eval \${$cacheid+:} false; then :
   7083   $as_echo_n "(cached) " >&6
   7084 else
   7085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7086 /* end confdefs.h.  */
   7087 int i;
   7088 int
   7089 main ()
   7090 {
   7091 
   7092   ;
   7093   return 0;
   7094 }
   7095 _ACEOF
   7096 if ac_fn_c_try_link "$LINENO"; then :
   7097   eval $cacheid=yes
   7098 else
   7099   eval $cacheid=no
   7100 fi
   7101 rm -f core conftest.err conftest.$ac_objext \
   7102     conftest$ac_exeext conftest.$ac_ext
   7103 fi
   7104 
   7105 
   7106 		CFLAGS="$xorg_testset_save_CFLAGS"
   7107 
   7108 		eval supported=\$$cacheid
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7110 $as_echo "$supported" >&6; }
   7111 		if test "$supported" = "yes" ; then
   7112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7113 			found="yes"
   7114 		fi
   7115 	fi
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 xorg_testset_save_CFLAGS="$CFLAGS"
   7132 
   7133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7138   $as_echo_n "(cached) " >&6
   7139 else
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 _ACEOF
   7144 if ac_fn_c_try_compile "$LINENO"; then :
   7145   xorg_cv_cc_flag_unknown_warning_option=yes
   7146 else
   7147   xorg_cv_cc_flag_unknown_warning_option=no
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7150 fi
   7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7154 	CFLAGS="$xorg_testset_save_CFLAGS"
   7155 fi
   7156 
   7157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 	fi
   7161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7168 /* end confdefs.h.  */
   7169 int i;
   7170 _ACEOF
   7171 if ac_fn_c_try_compile "$LINENO"; then :
   7172   xorg_cv_cc_flag_unused_command_line_argument=yes
   7173 else
   7174   xorg_cv_cc_flag_unused_command_line_argument=no
   7175 fi
   7176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7177 fi
   7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7181 	CFLAGS="$xorg_testset_save_CFLAGS"
   7182 fi
   7183 
   7184 found="no"
   7185 
   7186 	if test $found = "no" ; then
   7187 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7189 		fi
   7190 
   7191 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7193 		fi
   7194 
   7195 		CFLAGS="$CFLAGS -Werror=init-self"
   7196 
   7197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7198 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7199 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7200 		if eval \${$cacheid+:} false; then :
   7201   $as_echo_n "(cached) " >&6
   7202 else
   7203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 int
   7207 main ()
   7208 {
   7209 
   7210   ;
   7211   return 0;
   7212 }
   7213 _ACEOF
   7214 if ac_fn_c_try_link "$LINENO"; then :
   7215   eval $cacheid=yes
   7216 else
   7217   eval $cacheid=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext \
   7220     conftest$ac_exeext conftest.$ac_ext
   7221 fi
   7222 
   7223 
   7224 		CFLAGS="$xorg_testset_save_CFLAGS"
   7225 
   7226 		eval supported=\$$cacheid
   7227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7228 $as_echo "$supported" >&6; }
   7229 		if test "$supported" = "yes" ; then
   7230 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7231 			found="yes"
   7232 		fi
   7233 	fi
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 xorg_testset_save_CFLAGS="$CFLAGS"
   7250 
   7251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7256   $as_echo_n "(cached) " >&6
   7257 else
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 _ACEOF
   7262 if ac_fn_c_try_compile "$LINENO"; then :
   7263   xorg_cv_cc_flag_unknown_warning_option=yes
   7264 else
   7265   xorg_cv_cc_flag_unknown_warning_option=no
   7266 fi
   7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7268 fi
   7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7272 	CFLAGS="$xorg_testset_save_CFLAGS"
   7273 fi
   7274 
   7275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 	fi
   7279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7286 /* end confdefs.h.  */
   7287 int i;
   7288 _ACEOF
   7289 if ac_fn_c_try_compile "$LINENO"; then :
   7290   xorg_cv_cc_flag_unused_command_line_argument=yes
   7291 else
   7292   xorg_cv_cc_flag_unused_command_line_argument=no
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7295 fi
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7299 	CFLAGS="$xorg_testset_save_CFLAGS"
   7300 fi
   7301 
   7302 found="no"
   7303 
   7304 	if test $found = "no" ; then
   7305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7307 		fi
   7308 
   7309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 		fi
   7312 
   7313 		CFLAGS="$CFLAGS -Werror=main"
   7314 
   7315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7316 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7317 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7318 		if eval \${$cacheid+:} false; then :
   7319   $as_echo_n "(cached) " >&6
   7320 else
   7321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 int i;
   7324 int
   7325 main ()
   7326 {
   7327 
   7328   ;
   7329   return 0;
   7330 }
   7331 _ACEOF
   7332 if ac_fn_c_try_link "$LINENO"; then :
   7333   eval $cacheid=yes
   7334 else
   7335   eval $cacheid=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext \
   7338     conftest$ac_exeext conftest.$ac_ext
   7339 fi
   7340 
   7341 
   7342 		CFLAGS="$xorg_testset_save_CFLAGS"
   7343 
   7344 		eval supported=\$$cacheid
   7345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7346 $as_echo "$supported" >&6; }
   7347 		if test "$supported" = "yes" ; then
   7348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7349 			found="yes"
   7350 		fi
   7351 	fi
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 xorg_testset_save_CFLAGS="$CFLAGS"
   7368 
   7369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 _ACEOF
   7380 if ac_fn_c_try_compile "$LINENO"; then :
   7381   xorg_cv_cc_flag_unknown_warning_option=yes
   7382 else
   7383   xorg_cv_cc_flag_unknown_warning_option=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7386 fi
   7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7390 	CFLAGS="$xorg_testset_save_CFLAGS"
   7391 fi
   7392 
   7393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7396 	fi
   7397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7401   $as_echo_n "(cached) " >&6
   7402 else
   7403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 _ACEOF
   7407 if ac_fn_c_try_compile "$LINENO"; then :
   7408   xorg_cv_cc_flag_unused_command_line_argument=yes
   7409 else
   7410   xorg_cv_cc_flag_unused_command_line_argument=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7413 fi
   7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7417 	CFLAGS="$xorg_testset_save_CFLAGS"
   7418 fi
   7419 
   7420 found="no"
   7421 
   7422 	if test $found = "no" ; then
   7423 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7425 		fi
   7426 
   7427 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 		fi
   7430 
   7431 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7432 
   7433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7434 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7435 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7436 		if eval \${$cacheid+:} false; then :
   7437   $as_echo_n "(cached) " >&6
   7438 else
   7439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7440 /* end confdefs.h.  */
   7441 int i;
   7442 int
   7443 main ()
   7444 {
   7445 
   7446   ;
   7447   return 0;
   7448 }
   7449 _ACEOF
   7450 if ac_fn_c_try_link "$LINENO"; then :
   7451   eval $cacheid=yes
   7452 else
   7453   eval $cacheid=no
   7454 fi
   7455 rm -f core conftest.err conftest.$ac_objext \
   7456     conftest$ac_exeext conftest.$ac_ext
   7457 fi
   7458 
   7459 
   7460 		CFLAGS="$xorg_testset_save_CFLAGS"
   7461 
   7462 		eval supported=\$$cacheid
   7463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7464 $as_echo "$supported" >&6; }
   7465 		if test "$supported" = "yes" ; then
   7466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7467 			found="yes"
   7468 		fi
   7469 	fi
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 xorg_testset_save_CFLAGS="$CFLAGS"
   7486 
   7487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7492   $as_echo_n "(cached) " >&6
   7493 else
   7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7495 /* end confdefs.h.  */
   7496 int i;
   7497 _ACEOF
   7498 if ac_fn_c_try_compile "$LINENO"; then :
   7499   xorg_cv_cc_flag_unknown_warning_option=yes
   7500 else
   7501   xorg_cv_cc_flag_unknown_warning_option=no
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7504 fi
   7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7508 	CFLAGS="$xorg_testset_save_CFLAGS"
   7509 fi
   7510 
   7511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7514 	fi
   7515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 _ACEOF
   7525 if ac_fn_c_try_compile "$LINENO"; then :
   7526   xorg_cv_cc_flag_unused_command_line_argument=yes
   7527 else
   7528   xorg_cv_cc_flag_unused_command_line_argument=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7531 fi
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7535 	CFLAGS="$xorg_testset_save_CFLAGS"
   7536 fi
   7537 
   7538 found="no"
   7539 
   7540 	if test $found = "no" ; then
   7541 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7543 		fi
   7544 
   7545 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7547 		fi
   7548 
   7549 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7550 
   7551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7552 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7553 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7554 		if eval \${$cacheid+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 int i;
   7560 int
   7561 main ()
   7562 {
   7563 
   7564   ;
   7565   return 0;
   7566 }
   7567 _ACEOF
   7568 if ac_fn_c_try_link "$LINENO"; then :
   7569   eval $cacheid=yes
   7570 else
   7571   eval $cacheid=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext \
   7574     conftest$ac_exeext conftest.$ac_ext
   7575 fi
   7576 
   7577 
   7578 		CFLAGS="$xorg_testset_save_CFLAGS"
   7579 
   7580 		eval supported=\$$cacheid
   7581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7582 $as_echo "$supported" >&6; }
   7583 		if test "$supported" = "yes" ; then
   7584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7585 			found="yes"
   7586 		fi
   7587 	fi
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 xorg_testset_save_CFLAGS="$CFLAGS"
   7604 
   7605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7613 /* end confdefs.h.  */
   7614 int i;
   7615 _ACEOF
   7616 if ac_fn_c_try_compile "$LINENO"; then :
   7617   xorg_cv_cc_flag_unknown_warning_option=yes
   7618 else
   7619   xorg_cv_cc_flag_unknown_warning_option=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7622 fi
   7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7626 	CFLAGS="$xorg_testset_save_CFLAGS"
   7627 fi
   7628 
   7629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7632 	fi
   7633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7637   $as_echo_n "(cached) " >&6
   7638 else
   7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 _ACEOF
   7643 if ac_fn_c_try_compile "$LINENO"; then :
   7644   xorg_cv_cc_flag_unused_command_line_argument=yes
   7645 else
   7646   xorg_cv_cc_flag_unused_command_line_argument=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7649 fi
   7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7653 	CFLAGS="$xorg_testset_save_CFLAGS"
   7654 fi
   7655 
   7656 found="no"
   7657 
   7658 	if test $found = "no" ; then
   7659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7661 		fi
   7662 
   7663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 		fi
   7666 
   7667 		CFLAGS="$CFLAGS -Werror=return-type"
   7668 
   7669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7670 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7671 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7672 		if eval \${$cacheid+:} false; then :
   7673   $as_echo_n "(cached) " >&6
   7674 else
   7675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7676 /* end confdefs.h.  */
   7677 int i;
   7678 int
   7679 main ()
   7680 {
   7681 
   7682   ;
   7683   return 0;
   7684 }
   7685 _ACEOF
   7686 if ac_fn_c_try_link "$LINENO"; then :
   7687   eval $cacheid=yes
   7688 else
   7689   eval $cacheid=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext \
   7692     conftest$ac_exeext conftest.$ac_ext
   7693 fi
   7694 
   7695 
   7696 		CFLAGS="$xorg_testset_save_CFLAGS"
   7697 
   7698 		eval supported=\$$cacheid
   7699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7700 $as_echo "$supported" >&6; }
   7701 		if test "$supported" = "yes" ; then
   7702 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7703 			found="yes"
   7704 		fi
   7705 	fi
   7706 
   7707 	if test $found = "no" ; then
   7708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7710 		fi
   7711 
   7712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7714 		fi
   7715 
   7716 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7717 
   7718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7719 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7720 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7721 		if eval \${$cacheid+:} false; then :
   7722   $as_echo_n "(cached) " >&6
   7723 else
   7724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7725 /* end confdefs.h.  */
   7726 int i;
   7727 int
   7728 main ()
   7729 {
   7730 
   7731   ;
   7732   return 0;
   7733 }
   7734 _ACEOF
   7735 if ac_fn_c_try_link "$LINENO"; then :
   7736   eval $cacheid=yes
   7737 else
   7738   eval $cacheid=no
   7739 fi
   7740 rm -f core conftest.err conftest.$ac_objext \
   7741     conftest$ac_exeext conftest.$ac_ext
   7742 fi
   7743 
   7744 
   7745 		CFLAGS="$xorg_testset_save_CFLAGS"
   7746 
   7747 		eval supported=\$$cacheid
   7748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7749 $as_echo "$supported" >&6; }
   7750 		if test "$supported" = "yes" ; then
   7751 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7752 			found="yes"
   7753 		fi
   7754 	fi
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 xorg_testset_save_CFLAGS="$CFLAGS"
   7771 
   7772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7777   $as_echo_n "(cached) " >&6
   7778 else
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 _ACEOF
   7783 if ac_fn_c_try_compile "$LINENO"; then :
   7784   xorg_cv_cc_flag_unknown_warning_option=yes
   7785 else
   7786   xorg_cv_cc_flag_unknown_warning_option=no
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7789 fi
   7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7793 	CFLAGS="$xorg_testset_save_CFLAGS"
   7794 fi
   7795 
   7796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 	fi
   7800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7804   $as_echo_n "(cached) " >&6
   7805 else
   7806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7807 /* end confdefs.h.  */
   7808 int i;
   7809 _ACEOF
   7810 if ac_fn_c_try_compile "$LINENO"; then :
   7811   xorg_cv_cc_flag_unused_command_line_argument=yes
   7812 else
   7813   xorg_cv_cc_flag_unused_command_line_argument=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7816 fi
   7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7820 	CFLAGS="$xorg_testset_save_CFLAGS"
   7821 fi
   7822 
   7823 found="no"
   7824 
   7825 	if test $found = "no" ; then
   7826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7828 		fi
   7829 
   7830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7832 		fi
   7833 
   7834 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7835 
   7836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7837 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7838 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7839 		if eval \${$cacheid+:} false; then :
   7840   $as_echo_n "(cached) " >&6
   7841 else
   7842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7843 /* end confdefs.h.  */
   7844 int i;
   7845 int
   7846 main ()
   7847 {
   7848 
   7849   ;
   7850   return 0;
   7851 }
   7852 _ACEOF
   7853 if ac_fn_c_try_link "$LINENO"; then :
   7854   eval $cacheid=yes
   7855 else
   7856   eval $cacheid=no
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext \
   7859     conftest$ac_exeext conftest.$ac_ext
   7860 fi
   7861 
   7862 
   7863 		CFLAGS="$xorg_testset_save_CFLAGS"
   7864 
   7865 		eval supported=\$$cacheid
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7867 $as_echo "$supported" >&6; }
   7868 		if test "$supported" = "yes" ; then
   7869 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7870 			found="yes"
   7871 		fi
   7872 	fi
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 xorg_testset_save_CFLAGS="$CFLAGS"
   7889 
   7890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 _ACEOF
   7901 if ac_fn_c_try_compile "$LINENO"; then :
   7902   xorg_cv_cc_flag_unknown_warning_option=yes
   7903 else
   7904   xorg_cv_cc_flag_unknown_warning_option=no
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7907 fi
   7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7911 	CFLAGS="$xorg_testset_save_CFLAGS"
   7912 fi
   7913 
   7914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7917 	fi
   7918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7922   $as_echo_n "(cached) " >&6
   7923 else
   7924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7925 /* end confdefs.h.  */
   7926 int i;
   7927 _ACEOF
   7928 if ac_fn_c_try_compile "$LINENO"; then :
   7929   xorg_cv_cc_flag_unused_command_line_argument=yes
   7930 else
   7931   xorg_cv_cc_flag_unused_command_line_argument=no
   7932 fi
   7933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7934 fi
   7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7938 	CFLAGS="$xorg_testset_save_CFLAGS"
   7939 fi
   7940 
   7941 found="no"
   7942 
   7943 	if test $found = "no" ; then
   7944 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7946 		fi
   7947 
   7948 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7950 		fi
   7951 
   7952 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7953 
   7954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7955 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7956 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7957 		if eval \${$cacheid+:} false; then :
   7958   $as_echo_n "(cached) " >&6
   7959 else
   7960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7961 /* end confdefs.h.  */
   7962 int i;
   7963 int
   7964 main ()
   7965 {
   7966 
   7967   ;
   7968   return 0;
   7969 }
   7970 _ACEOF
   7971 if ac_fn_c_try_link "$LINENO"; then :
   7972   eval $cacheid=yes
   7973 else
   7974   eval $cacheid=no
   7975 fi
   7976 rm -f core conftest.err conftest.$ac_objext \
   7977     conftest$ac_exeext conftest.$ac_ext
   7978 fi
   7979 
   7980 
   7981 		CFLAGS="$xorg_testset_save_CFLAGS"
   7982 
   7983 		eval supported=\$$cacheid
   7984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7985 $as_echo "$supported" >&6; }
   7986 		if test "$supported" = "yes" ; then
   7987 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7988 			found="yes"
   7989 		fi
   7990 	fi
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 xorg_testset_save_CFLAGS="$CFLAGS"
   8007 
   8008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8013   $as_echo_n "(cached) " >&6
   8014 else
   8015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8016 /* end confdefs.h.  */
   8017 int i;
   8018 _ACEOF
   8019 if ac_fn_c_try_compile "$LINENO"; then :
   8020   xorg_cv_cc_flag_unknown_warning_option=yes
   8021 else
   8022   xorg_cv_cc_flag_unknown_warning_option=no
   8023 fi
   8024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8025 fi
   8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8029 	CFLAGS="$xorg_testset_save_CFLAGS"
   8030 fi
   8031 
   8032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8035 	fi
   8036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8040   $as_echo_n "(cached) " >&6
   8041 else
   8042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8043 /* end confdefs.h.  */
   8044 int i;
   8045 _ACEOF
   8046 if ac_fn_c_try_compile "$LINENO"; then :
   8047   xorg_cv_cc_flag_unused_command_line_argument=yes
   8048 else
   8049   xorg_cv_cc_flag_unused_command_line_argument=no
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8052 fi
   8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8056 	CFLAGS="$xorg_testset_save_CFLAGS"
   8057 fi
   8058 
   8059 found="no"
   8060 
   8061 	if test $found = "no" ; then
   8062 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8064 		fi
   8065 
   8066 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8068 		fi
   8069 
   8070 		CFLAGS="$CFLAGS -Werror=write-strings"
   8071 
   8072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8073 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8074 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8075 		if eval \${$cacheid+:} false; then :
   8076   $as_echo_n "(cached) " >&6
   8077 else
   8078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8079 /* end confdefs.h.  */
   8080 int i;
   8081 int
   8082 main ()
   8083 {
   8084 
   8085   ;
   8086   return 0;
   8087 }
   8088 _ACEOF
   8089 if ac_fn_c_try_link "$LINENO"; then :
   8090   eval $cacheid=yes
   8091 else
   8092   eval $cacheid=no
   8093 fi
   8094 rm -f core conftest.err conftest.$ac_objext \
   8095     conftest$ac_exeext conftest.$ac_ext
   8096 fi
   8097 
   8098 
   8099 		CFLAGS="$xorg_testset_save_CFLAGS"
   8100 
   8101 		eval supported=\$$cacheid
   8102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8103 $as_echo "$supported" >&6; }
   8104 		if test "$supported" = "yes" ; then
   8105 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8106 			found="yes"
   8107 		fi
   8108 	fi
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 xorg_testset_save_CFLAGS="$CFLAGS"
   8125 
   8126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8131   $as_echo_n "(cached) " >&6
   8132 else
   8133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8134 /* end confdefs.h.  */
   8135 int i;
   8136 _ACEOF
   8137 if ac_fn_c_try_compile "$LINENO"; then :
   8138   xorg_cv_cc_flag_unknown_warning_option=yes
   8139 else
   8140   xorg_cv_cc_flag_unknown_warning_option=no
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8143 fi
   8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8147 	CFLAGS="$xorg_testset_save_CFLAGS"
   8148 fi
   8149 
   8150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8153 	fi
   8154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8158   $as_echo_n "(cached) " >&6
   8159 else
   8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 _ACEOF
   8164 if ac_fn_c_try_compile "$LINENO"; then :
   8165   xorg_cv_cc_flag_unused_command_line_argument=yes
   8166 else
   8167   xorg_cv_cc_flag_unused_command_line_argument=no
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8170 fi
   8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8174 	CFLAGS="$xorg_testset_save_CFLAGS"
   8175 fi
   8176 
   8177 found="no"
   8178 
   8179 	if test $found = "no" ; then
   8180 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8182 		fi
   8183 
   8184 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8186 		fi
   8187 
   8188 		CFLAGS="$CFLAGS -Werror=address"
   8189 
   8190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8191 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8192 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8193 		if eval \${$cacheid+:} false; then :
   8194   $as_echo_n "(cached) " >&6
   8195 else
   8196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8197 /* end confdefs.h.  */
   8198 int i;
   8199 int
   8200 main ()
   8201 {
   8202 
   8203   ;
   8204   return 0;
   8205 }
   8206 _ACEOF
   8207 if ac_fn_c_try_link "$LINENO"; then :
   8208   eval $cacheid=yes
   8209 else
   8210   eval $cacheid=no
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext \
   8213     conftest$ac_exeext conftest.$ac_ext
   8214 fi
   8215 
   8216 
   8217 		CFLAGS="$xorg_testset_save_CFLAGS"
   8218 
   8219 		eval supported=\$$cacheid
   8220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8221 $as_echo "$supported" >&6; }
   8222 		if test "$supported" = "yes" ; then
   8223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8224 			found="yes"
   8225 		fi
   8226 	fi
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 xorg_testset_save_CFLAGS="$CFLAGS"
   8243 
   8244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8249   $as_echo_n "(cached) " >&6
   8250 else
   8251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8252 /* end confdefs.h.  */
   8253 int i;
   8254 _ACEOF
   8255 if ac_fn_c_try_compile "$LINENO"; then :
   8256   xorg_cv_cc_flag_unknown_warning_option=yes
   8257 else
   8258   xorg_cv_cc_flag_unknown_warning_option=no
   8259 fi
   8260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8261 fi
   8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8265 	CFLAGS="$xorg_testset_save_CFLAGS"
   8266 fi
   8267 
   8268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8271 	fi
   8272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 int i;
   8281 _ACEOF
   8282 if ac_fn_c_try_compile "$LINENO"; then :
   8283   xorg_cv_cc_flag_unused_command_line_argument=yes
   8284 else
   8285   xorg_cv_cc_flag_unused_command_line_argument=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8288 fi
   8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8292 	CFLAGS="$xorg_testset_save_CFLAGS"
   8293 fi
   8294 
   8295 found="no"
   8296 
   8297 	if test $found = "no" ; then
   8298 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8300 		fi
   8301 
   8302 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 		fi
   8305 
   8306 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8307 
   8308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8309 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8310 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8311 		if eval \${$cacheid+:} false; then :
   8312   $as_echo_n "(cached) " >&6
   8313 else
   8314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8315 /* end confdefs.h.  */
   8316 int i;
   8317 int
   8318 main ()
   8319 {
   8320 
   8321   ;
   8322   return 0;
   8323 }
   8324 _ACEOF
   8325 if ac_fn_c_try_link "$LINENO"; then :
   8326   eval $cacheid=yes
   8327 else
   8328   eval $cacheid=no
   8329 fi
   8330 rm -f core conftest.err conftest.$ac_objext \
   8331     conftest$ac_exeext conftest.$ac_ext
   8332 fi
   8333 
   8334 
   8335 		CFLAGS="$xorg_testset_save_CFLAGS"
   8336 
   8337 		eval supported=\$$cacheid
   8338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8339 $as_echo "$supported" >&6; }
   8340 		if test "$supported" = "yes" ; then
   8341 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8342 			found="yes"
   8343 		fi
   8344 	fi
   8345 
   8346 	if test $found = "no" ; then
   8347 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8349 		fi
   8350 
   8351 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8353 		fi
   8354 
   8355 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8356 
   8357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8358 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8359 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8360 		if eval \${$cacheid+:} false; then :
   8361   $as_echo_n "(cached) " >&6
   8362 else
   8363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8364 /* end confdefs.h.  */
   8365 int i;
   8366 int
   8367 main ()
   8368 {
   8369 
   8370   ;
   8371   return 0;
   8372 }
   8373 _ACEOF
   8374 if ac_fn_c_try_link "$LINENO"; then :
   8375   eval $cacheid=yes
   8376 else
   8377   eval $cacheid=no
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext \
   8380     conftest$ac_exeext conftest.$ac_ext
   8381 fi
   8382 
   8383 
   8384 		CFLAGS="$xorg_testset_save_CFLAGS"
   8385 
   8386 		eval supported=\$$cacheid
   8387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8388 $as_echo "$supported" >&6; }
   8389 		if test "$supported" = "yes" ; then
   8390 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8391 			found="yes"
   8392 		fi
   8393 	fi
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 xorg_testset_save_CFLAGS="$CFLAGS"
   8410 
   8411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8416   $as_echo_n "(cached) " >&6
   8417 else
   8418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8419 /* end confdefs.h.  */
   8420 int i;
   8421 _ACEOF
   8422 if ac_fn_c_try_compile "$LINENO"; then :
   8423   xorg_cv_cc_flag_unknown_warning_option=yes
   8424 else
   8425   xorg_cv_cc_flag_unknown_warning_option=no
   8426 fi
   8427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8428 fi
   8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8432 	CFLAGS="$xorg_testset_save_CFLAGS"
   8433 fi
   8434 
   8435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8438 	fi
   8439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8443   $as_echo_n "(cached) " >&6
   8444 else
   8445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8446 /* end confdefs.h.  */
   8447 int i;
   8448 _ACEOF
   8449 if ac_fn_c_try_compile "$LINENO"; then :
   8450   xorg_cv_cc_flag_unused_command_line_argument=yes
   8451 else
   8452   xorg_cv_cc_flag_unused_command_line_argument=no
   8453 fi
   8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8455 fi
   8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8459 	CFLAGS="$xorg_testset_save_CFLAGS"
   8460 fi
   8461 
   8462 found="no"
   8463 
   8464 	if test $found = "no" ; then
   8465 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8467 		fi
   8468 
   8469 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8471 		fi
   8472 
   8473 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8474 
   8475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8476 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8477 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8478 		if eval \${$cacheid+:} false; then :
   8479   $as_echo_n "(cached) " >&6
   8480 else
   8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 int
   8485 main ()
   8486 {
   8487 
   8488   ;
   8489   return 0;
   8490 }
   8491 _ACEOF
   8492 if ac_fn_c_try_link "$LINENO"; then :
   8493   eval $cacheid=yes
   8494 else
   8495   eval $cacheid=no
   8496 fi
   8497 rm -f core conftest.err conftest.$ac_objext \
   8498     conftest$ac_exeext conftest.$ac_ext
   8499 fi
   8500 
   8501 
   8502 		CFLAGS="$xorg_testset_save_CFLAGS"
   8503 
   8504 		eval supported=\$$cacheid
   8505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8506 $as_echo "$supported" >&6; }
   8507 		if test "$supported" = "yes" ; then
   8508 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8509 			found="yes"
   8510 		fi
   8511 	fi
   8512 
   8513  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8514 else
   8515 { $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
   8516 $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;}
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 xorg_testset_save_CFLAGS="$CFLAGS"
   8531 
   8532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8540 /* end confdefs.h.  */
   8541 int i;
   8542 _ACEOF
   8543 if ac_fn_c_try_compile "$LINENO"; then :
   8544   xorg_cv_cc_flag_unknown_warning_option=yes
   8545 else
   8546   xorg_cv_cc_flag_unknown_warning_option=no
   8547 fi
   8548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8549 fi
   8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8553 	CFLAGS="$xorg_testset_save_CFLAGS"
   8554 fi
   8555 
   8556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8559 	fi
   8560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8564   $as_echo_n "(cached) " >&6
   8565 else
   8566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8567 /* end confdefs.h.  */
   8568 int i;
   8569 _ACEOF
   8570 if ac_fn_c_try_compile "$LINENO"; then :
   8571   xorg_cv_cc_flag_unused_command_line_argument=yes
   8572 else
   8573   xorg_cv_cc_flag_unused_command_line_argument=no
   8574 fi
   8575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8576 fi
   8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8580 	CFLAGS="$xorg_testset_save_CFLAGS"
   8581 fi
   8582 
   8583 found="no"
   8584 
   8585 	if test $found = "no" ; then
   8586 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8588 		fi
   8589 
   8590 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8592 		fi
   8593 
   8594 		CFLAGS="$CFLAGS -Wimplicit"
   8595 
   8596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8597 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8598 		cacheid=xorg_cv_cc_flag__Wimplicit
   8599 		if eval \${$cacheid+:} false; then :
   8600   $as_echo_n "(cached) " >&6
   8601 else
   8602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8603 /* end confdefs.h.  */
   8604 int i;
   8605 int
   8606 main ()
   8607 {
   8608 
   8609   ;
   8610   return 0;
   8611 }
   8612 _ACEOF
   8613 if ac_fn_c_try_link "$LINENO"; then :
   8614   eval $cacheid=yes
   8615 else
   8616   eval $cacheid=no
   8617 fi
   8618 rm -f core conftest.err conftest.$ac_objext \
   8619     conftest$ac_exeext conftest.$ac_ext
   8620 fi
   8621 
   8622 
   8623 		CFLAGS="$xorg_testset_save_CFLAGS"
   8624 
   8625 		eval supported=\$$cacheid
   8626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8627 $as_echo "$supported" >&6; }
   8628 		if test "$supported" = "yes" ; then
   8629 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8630 			found="yes"
   8631 		fi
   8632 	fi
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 xorg_testset_save_CFLAGS="$CFLAGS"
   8649 
   8650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8655   $as_echo_n "(cached) " >&6
   8656 else
   8657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 _ACEOF
   8661 if ac_fn_c_try_compile "$LINENO"; then :
   8662   xorg_cv_cc_flag_unknown_warning_option=yes
   8663 else
   8664   xorg_cv_cc_flag_unknown_warning_option=no
   8665 fi
   8666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8667 fi
   8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8671 	CFLAGS="$xorg_testset_save_CFLAGS"
   8672 fi
   8673 
   8674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8677 	fi
   8678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8682   $as_echo_n "(cached) " >&6
   8683 else
   8684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8685 /* end confdefs.h.  */
   8686 int i;
   8687 _ACEOF
   8688 if ac_fn_c_try_compile "$LINENO"; then :
   8689   xorg_cv_cc_flag_unused_command_line_argument=yes
   8690 else
   8691   xorg_cv_cc_flag_unused_command_line_argument=no
   8692 fi
   8693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8694 fi
   8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8698 	CFLAGS="$xorg_testset_save_CFLAGS"
   8699 fi
   8700 
   8701 found="no"
   8702 
   8703 	if test $found = "no" ; then
   8704 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8706 		fi
   8707 
   8708 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8710 		fi
   8711 
   8712 		CFLAGS="$CFLAGS -Wnonnull"
   8713 
   8714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8715 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8716 		cacheid=xorg_cv_cc_flag__Wnonnull
   8717 		if eval \${$cacheid+:} false; then :
   8718   $as_echo_n "(cached) " >&6
   8719 else
   8720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8721 /* end confdefs.h.  */
   8722 int i;
   8723 int
   8724 main ()
   8725 {
   8726 
   8727   ;
   8728   return 0;
   8729 }
   8730 _ACEOF
   8731 if ac_fn_c_try_link "$LINENO"; then :
   8732   eval $cacheid=yes
   8733 else
   8734   eval $cacheid=no
   8735 fi
   8736 rm -f core conftest.err conftest.$ac_objext \
   8737     conftest$ac_exeext conftest.$ac_ext
   8738 fi
   8739 
   8740 
   8741 		CFLAGS="$xorg_testset_save_CFLAGS"
   8742 
   8743 		eval supported=\$$cacheid
   8744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8745 $as_echo "$supported" >&6; }
   8746 		if test "$supported" = "yes" ; then
   8747 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8748 			found="yes"
   8749 		fi
   8750 	fi
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 xorg_testset_save_CFLAGS="$CFLAGS"
   8767 
   8768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8773   $as_echo_n "(cached) " >&6
   8774 else
   8775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8776 /* end confdefs.h.  */
   8777 int i;
   8778 _ACEOF
   8779 if ac_fn_c_try_compile "$LINENO"; then :
   8780   xorg_cv_cc_flag_unknown_warning_option=yes
   8781 else
   8782   xorg_cv_cc_flag_unknown_warning_option=no
   8783 fi
   8784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8785 fi
   8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8789 	CFLAGS="$xorg_testset_save_CFLAGS"
   8790 fi
   8791 
   8792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8795 	fi
   8796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8800   $as_echo_n "(cached) " >&6
   8801 else
   8802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8803 /* end confdefs.h.  */
   8804 int i;
   8805 _ACEOF
   8806 if ac_fn_c_try_compile "$LINENO"; then :
   8807   xorg_cv_cc_flag_unused_command_line_argument=yes
   8808 else
   8809   xorg_cv_cc_flag_unused_command_line_argument=no
   8810 fi
   8811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8812 fi
   8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8816 	CFLAGS="$xorg_testset_save_CFLAGS"
   8817 fi
   8818 
   8819 found="no"
   8820 
   8821 	if test $found = "no" ; then
   8822 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8824 		fi
   8825 
   8826 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 		fi
   8829 
   8830 		CFLAGS="$CFLAGS -Winit-self"
   8831 
   8832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8833 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8834 		cacheid=xorg_cv_cc_flag__Winit_self
   8835 		if eval \${$cacheid+:} false; then :
   8836   $as_echo_n "(cached) " >&6
   8837 else
   8838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8839 /* end confdefs.h.  */
   8840 int i;
   8841 int
   8842 main ()
   8843 {
   8844 
   8845   ;
   8846   return 0;
   8847 }
   8848 _ACEOF
   8849 if ac_fn_c_try_link "$LINENO"; then :
   8850   eval $cacheid=yes
   8851 else
   8852   eval $cacheid=no
   8853 fi
   8854 rm -f core conftest.err conftest.$ac_objext \
   8855     conftest$ac_exeext conftest.$ac_ext
   8856 fi
   8857 
   8858 
   8859 		CFLAGS="$xorg_testset_save_CFLAGS"
   8860 
   8861 		eval supported=\$$cacheid
   8862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8863 $as_echo "$supported" >&6; }
   8864 		if test "$supported" = "yes" ; then
   8865 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8866 			found="yes"
   8867 		fi
   8868 	fi
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 xorg_testset_save_CFLAGS="$CFLAGS"
   8885 
   8886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8891   $as_echo_n "(cached) " >&6
   8892 else
   8893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8894 /* end confdefs.h.  */
   8895 int i;
   8896 _ACEOF
   8897 if ac_fn_c_try_compile "$LINENO"; then :
   8898   xorg_cv_cc_flag_unknown_warning_option=yes
   8899 else
   8900   xorg_cv_cc_flag_unknown_warning_option=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8903 fi
   8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8907 	CFLAGS="$xorg_testset_save_CFLAGS"
   8908 fi
   8909 
   8910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8913 	fi
   8914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8921 /* end confdefs.h.  */
   8922 int i;
   8923 _ACEOF
   8924 if ac_fn_c_try_compile "$LINENO"; then :
   8925   xorg_cv_cc_flag_unused_command_line_argument=yes
   8926 else
   8927   xorg_cv_cc_flag_unused_command_line_argument=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8930 fi
   8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 found="no"
   8938 
   8939 	if test $found = "no" ; then
   8940 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8942 		fi
   8943 
   8944 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 		fi
   8947 
   8948 		CFLAGS="$CFLAGS -Wmain"
   8949 
   8950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8951 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8952 		cacheid=xorg_cv_cc_flag__Wmain
   8953 		if eval \${$cacheid+:} false; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 int i;
   8959 int
   8960 main ()
   8961 {
   8962 
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 if ac_fn_c_try_link "$LINENO"; then :
   8968   eval $cacheid=yes
   8969 else
   8970   eval $cacheid=no
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext \
   8973     conftest$ac_exeext conftest.$ac_ext
   8974 fi
   8975 
   8976 
   8977 		CFLAGS="$xorg_testset_save_CFLAGS"
   8978 
   8979 		eval supported=\$$cacheid
   8980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8981 $as_echo "$supported" >&6; }
   8982 		if test "$supported" = "yes" ; then
   8983 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8984 			found="yes"
   8985 		fi
   8986 	fi
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 xorg_testset_save_CFLAGS="$CFLAGS"
   9003 
   9004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9009   $as_echo_n "(cached) " >&6
   9010 else
   9011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 _ACEOF
   9015 if ac_fn_c_try_compile "$LINENO"; then :
   9016   xorg_cv_cc_flag_unknown_warning_option=yes
   9017 else
   9018   xorg_cv_cc_flag_unknown_warning_option=no
   9019 fi
   9020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9021 fi
   9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9025 	CFLAGS="$xorg_testset_save_CFLAGS"
   9026 fi
   9027 
   9028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9031 	fi
   9032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9036   $as_echo_n "(cached) " >&6
   9037 else
   9038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9039 /* end confdefs.h.  */
   9040 int i;
   9041 _ACEOF
   9042 if ac_fn_c_try_compile "$LINENO"; then :
   9043   xorg_cv_cc_flag_unused_command_line_argument=yes
   9044 else
   9045   xorg_cv_cc_flag_unused_command_line_argument=no
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9048 fi
   9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9052 	CFLAGS="$xorg_testset_save_CFLAGS"
   9053 fi
   9054 
   9055 found="no"
   9056 
   9057 	if test $found = "no" ; then
   9058 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9060 		fi
   9061 
   9062 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9064 		fi
   9065 
   9066 		CFLAGS="$CFLAGS -Wmissing-braces"
   9067 
   9068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9069 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9070 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9071 		if eval \${$cacheid+:} false; then :
   9072   $as_echo_n "(cached) " >&6
   9073 else
   9074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9075 /* end confdefs.h.  */
   9076 int i;
   9077 int
   9078 main ()
   9079 {
   9080 
   9081   ;
   9082   return 0;
   9083 }
   9084 _ACEOF
   9085 if ac_fn_c_try_link "$LINENO"; then :
   9086   eval $cacheid=yes
   9087 else
   9088   eval $cacheid=no
   9089 fi
   9090 rm -f core conftest.err conftest.$ac_objext \
   9091     conftest$ac_exeext conftest.$ac_ext
   9092 fi
   9093 
   9094 
   9095 		CFLAGS="$xorg_testset_save_CFLAGS"
   9096 
   9097 		eval supported=\$$cacheid
   9098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9099 $as_echo "$supported" >&6; }
   9100 		if test "$supported" = "yes" ; then
   9101 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9102 			found="yes"
   9103 		fi
   9104 	fi
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 xorg_testset_save_CFLAGS="$CFLAGS"
   9121 
   9122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9127   $as_echo_n "(cached) " >&6
   9128 else
   9129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 _ACEOF
   9133 if ac_fn_c_try_compile "$LINENO"; then :
   9134   xorg_cv_cc_flag_unknown_warning_option=yes
   9135 else
   9136   xorg_cv_cc_flag_unknown_warning_option=no
   9137 fi
   9138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9139 fi
   9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9143 	CFLAGS="$xorg_testset_save_CFLAGS"
   9144 fi
   9145 
   9146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9149 	fi
   9150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9154   $as_echo_n "(cached) " >&6
   9155 else
   9156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9157 /* end confdefs.h.  */
   9158 int i;
   9159 _ACEOF
   9160 if ac_fn_c_try_compile "$LINENO"; then :
   9161   xorg_cv_cc_flag_unused_command_line_argument=yes
   9162 else
   9163   xorg_cv_cc_flag_unused_command_line_argument=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9166 fi
   9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9170 	CFLAGS="$xorg_testset_save_CFLAGS"
   9171 fi
   9172 
   9173 found="no"
   9174 
   9175 	if test $found = "no" ; then
   9176 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9178 		fi
   9179 
   9180 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 		fi
   9183 
   9184 		CFLAGS="$CFLAGS -Wsequence-point"
   9185 
   9186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9187 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9188 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9189 		if eval \${$cacheid+:} false; then :
   9190   $as_echo_n "(cached) " >&6
   9191 else
   9192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9193 /* end confdefs.h.  */
   9194 int i;
   9195 int
   9196 main ()
   9197 {
   9198 
   9199   ;
   9200   return 0;
   9201 }
   9202 _ACEOF
   9203 if ac_fn_c_try_link "$LINENO"; then :
   9204   eval $cacheid=yes
   9205 else
   9206   eval $cacheid=no
   9207 fi
   9208 rm -f core conftest.err conftest.$ac_objext \
   9209     conftest$ac_exeext conftest.$ac_ext
   9210 fi
   9211 
   9212 
   9213 		CFLAGS="$xorg_testset_save_CFLAGS"
   9214 
   9215 		eval supported=\$$cacheid
   9216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9217 $as_echo "$supported" >&6; }
   9218 		if test "$supported" = "yes" ; then
   9219 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9220 			found="yes"
   9221 		fi
   9222 	fi
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 xorg_testset_save_CFLAGS="$CFLAGS"
   9239 
   9240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9245   $as_echo_n "(cached) " >&6
   9246 else
   9247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9248 /* end confdefs.h.  */
   9249 int i;
   9250 _ACEOF
   9251 if ac_fn_c_try_compile "$LINENO"; then :
   9252   xorg_cv_cc_flag_unknown_warning_option=yes
   9253 else
   9254   xorg_cv_cc_flag_unknown_warning_option=no
   9255 fi
   9256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9257 fi
   9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9261 	CFLAGS="$xorg_testset_save_CFLAGS"
   9262 fi
   9263 
   9264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9267 	fi
   9268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9272   $as_echo_n "(cached) " >&6
   9273 else
   9274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9275 /* end confdefs.h.  */
   9276 int i;
   9277 _ACEOF
   9278 if ac_fn_c_try_compile "$LINENO"; then :
   9279   xorg_cv_cc_flag_unused_command_line_argument=yes
   9280 else
   9281   xorg_cv_cc_flag_unused_command_line_argument=no
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9284 fi
   9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9288 	CFLAGS="$xorg_testset_save_CFLAGS"
   9289 fi
   9290 
   9291 found="no"
   9292 
   9293 	if test $found = "no" ; then
   9294 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9296 		fi
   9297 
   9298 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9300 		fi
   9301 
   9302 		CFLAGS="$CFLAGS -Wreturn-type"
   9303 
   9304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9305 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9306 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9307 		if eval \${$cacheid+:} false; then :
   9308   $as_echo_n "(cached) " >&6
   9309 else
   9310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9311 /* end confdefs.h.  */
   9312 int i;
   9313 int
   9314 main ()
   9315 {
   9316 
   9317   ;
   9318   return 0;
   9319 }
   9320 _ACEOF
   9321 if ac_fn_c_try_link "$LINENO"; then :
   9322   eval $cacheid=yes
   9323 else
   9324   eval $cacheid=no
   9325 fi
   9326 rm -f core conftest.err conftest.$ac_objext \
   9327     conftest$ac_exeext conftest.$ac_ext
   9328 fi
   9329 
   9330 
   9331 		CFLAGS="$xorg_testset_save_CFLAGS"
   9332 
   9333 		eval supported=\$$cacheid
   9334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9335 $as_echo "$supported" >&6; }
   9336 		if test "$supported" = "yes" ; then
   9337 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9338 			found="yes"
   9339 		fi
   9340 	fi
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 xorg_testset_save_CFLAGS="$CFLAGS"
   9357 
   9358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 _ACEOF
   9369 if ac_fn_c_try_compile "$LINENO"; then :
   9370   xorg_cv_cc_flag_unknown_warning_option=yes
   9371 else
   9372   xorg_cv_cc_flag_unknown_warning_option=no
   9373 fi
   9374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9375 fi
   9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9379 	CFLAGS="$xorg_testset_save_CFLAGS"
   9380 fi
   9381 
   9382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9385 	fi
   9386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9390   $as_echo_n "(cached) " >&6
   9391 else
   9392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9393 /* end confdefs.h.  */
   9394 int i;
   9395 _ACEOF
   9396 if ac_fn_c_try_compile "$LINENO"; then :
   9397   xorg_cv_cc_flag_unused_command_line_argument=yes
   9398 else
   9399   xorg_cv_cc_flag_unused_command_line_argument=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9402 fi
   9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9406 	CFLAGS="$xorg_testset_save_CFLAGS"
   9407 fi
   9408 
   9409 found="no"
   9410 
   9411 	if test $found = "no" ; then
   9412 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9414 		fi
   9415 
   9416 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9418 		fi
   9419 
   9420 		CFLAGS="$CFLAGS -Wtrigraphs"
   9421 
   9422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9423 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9424 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9425 		if eval \${$cacheid+:} false; then :
   9426   $as_echo_n "(cached) " >&6
   9427 else
   9428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9429 /* end confdefs.h.  */
   9430 int i;
   9431 int
   9432 main ()
   9433 {
   9434 
   9435   ;
   9436   return 0;
   9437 }
   9438 _ACEOF
   9439 if ac_fn_c_try_link "$LINENO"; then :
   9440   eval $cacheid=yes
   9441 else
   9442   eval $cacheid=no
   9443 fi
   9444 rm -f core conftest.err conftest.$ac_objext \
   9445     conftest$ac_exeext conftest.$ac_ext
   9446 fi
   9447 
   9448 
   9449 		CFLAGS="$xorg_testset_save_CFLAGS"
   9450 
   9451 		eval supported=\$$cacheid
   9452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9453 $as_echo "$supported" >&6; }
   9454 		if test "$supported" = "yes" ; then
   9455 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9456 			found="yes"
   9457 		fi
   9458 	fi
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 xorg_testset_save_CFLAGS="$CFLAGS"
   9475 
   9476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9481   $as_echo_n "(cached) " >&6
   9482 else
   9483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9484 /* end confdefs.h.  */
   9485 int i;
   9486 _ACEOF
   9487 if ac_fn_c_try_compile "$LINENO"; then :
   9488   xorg_cv_cc_flag_unknown_warning_option=yes
   9489 else
   9490   xorg_cv_cc_flag_unknown_warning_option=no
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9493 fi
   9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9497 	CFLAGS="$xorg_testset_save_CFLAGS"
   9498 fi
   9499 
   9500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 	fi
   9504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9508   $as_echo_n "(cached) " >&6
   9509 else
   9510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9511 /* end confdefs.h.  */
   9512 int i;
   9513 _ACEOF
   9514 if ac_fn_c_try_compile "$LINENO"; then :
   9515   xorg_cv_cc_flag_unused_command_line_argument=yes
   9516 else
   9517   xorg_cv_cc_flag_unused_command_line_argument=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9520 fi
   9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9524 	CFLAGS="$xorg_testset_save_CFLAGS"
   9525 fi
   9526 
   9527 found="no"
   9528 
   9529 	if test $found = "no" ; then
   9530 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9532 		fi
   9533 
   9534 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9536 		fi
   9537 
   9538 		CFLAGS="$CFLAGS -Warray-bounds"
   9539 
   9540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9541 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9542 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9543 		if eval \${$cacheid+:} false; then :
   9544   $as_echo_n "(cached) " >&6
   9545 else
   9546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9547 /* end confdefs.h.  */
   9548 int i;
   9549 int
   9550 main ()
   9551 {
   9552 
   9553   ;
   9554   return 0;
   9555 }
   9556 _ACEOF
   9557 if ac_fn_c_try_link "$LINENO"; then :
   9558   eval $cacheid=yes
   9559 else
   9560   eval $cacheid=no
   9561 fi
   9562 rm -f core conftest.err conftest.$ac_objext \
   9563     conftest$ac_exeext conftest.$ac_ext
   9564 fi
   9565 
   9566 
   9567 		CFLAGS="$xorg_testset_save_CFLAGS"
   9568 
   9569 		eval supported=\$$cacheid
   9570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9571 $as_echo "$supported" >&6; }
   9572 		if test "$supported" = "yes" ; then
   9573 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9574 			found="yes"
   9575 		fi
   9576 	fi
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 xorg_testset_save_CFLAGS="$CFLAGS"
   9593 
   9594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9597 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9598 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9599   $as_echo_n "(cached) " >&6
   9600 else
   9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 int i;
   9604 _ACEOF
   9605 if ac_fn_c_try_compile "$LINENO"; then :
   9606   xorg_cv_cc_flag_unknown_warning_option=yes
   9607 else
   9608   xorg_cv_cc_flag_unknown_warning_option=no
   9609 fi
   9610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9611 fi
   9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9613 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9615 	CFLAGS="$xorg_testset_save_CFLAGS"
   9616 fi
   9617 
   9618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9621 	fi
   9622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9624 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9625 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9626   $as_echo_n "(cached) " >&6
   9627 else
   9628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9629 /* end confdefs.h.  */
   9630 int i;
   9631 _ACEOF
   9632 if ac_fn_c_try_compile "$LINENO"; then :
   9633   xorg_cv_cc_flag_unused_command_line_argument=yes
   9634 else
   9635   xorg_cv_cc_flag_unused_command_line_argument=no
   9636 fi
   9637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9638 fi
   9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9640 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9642 	CFLAGS="$xorg_testset_save_CFLAGS"
   9643 fi
   9644 
   9645 found="no"
   9646 
   9647 	if test $found = "no" ; then
   9648 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9650 		fi
   9651 
   9652 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9654 		fi
   9655 
   9656 		CFLAGS="$CFLAGS -Wwrite-strings"
   9657 
   9658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9659 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9660 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9661 		if eval \${$cacheid+:} false; then :
   9662   $as_echo_n "(cached) " >&6
   9663 else
   9664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9665 /* end confdefs.h.  */
   9666 int i;
   9667 int
   9668 main ()
   9669 {
   9670 
   9671   ;
   9672   return 0;
   9673 }
   9674 _ACEOF
   9675 if ac_fn_c_try_link "$LINENO"; then :
   9676   eval $cacheid=yes
   9677 else
   9678   eval $cacheid=no
   9679 fi
   9680 rm -f core conftest.err conftest.$ac_objext \
   9681     conftest$ac_exeext conftest.$ac_ext
   9682 fi
   9683 
   9684 
   9685 		CFLAGS="$xorg_testset_save_CFLAGS"
   9686 
   9687 		eval supported=\$$cacheid
   9688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9689 $as_echo "$supported" >&6; }
   9690 		if test "$supported" = "yes" ; then
   9691 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9692 			found="yes"
   9693 		fi
   9694 	fi
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 xorg_testset_save_CFLAGS="$CFLAGS"
   9711 
   9712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9717   $as_echo_n "(cached) " >&6
   9718 else
   9719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 _ACEOF
   9723 if ac_fn_c_try_compile "$LINENO"; then :
   9724   xorg_cv_cc_flag_unknown_warning_option=yes
   9725 else
   9726   xorg_cv_cc_flag_unknown_warning_option=no
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9729 fi
   9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9733 	CFLAGS="$xorg_testset_save_CFLAGS"
   9734 fi
   9735 
   9736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9739 	fi
   9740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9744   $as_echo_n "(cached) " >&6
   9745 else
   9746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 _ACEOF
   9750 if ac_fn_c_try_compile "$LINENO"; then :
   9751   xorg_cv_cc_flag_unused_command_line_argument=yes
   9752 else
   9753   xorg_cv_cc_flag_unused_command_line_argument=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9756 fi
   9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9760 	CFLAGS="$xorg_testset_save_CFLAGS"
   9761 fi
   9762 
   9763 found="no"
   9764 
   9765 	if test $found = "no" ; then
   9766 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9768 		fi
   9769 
   9770 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9772 		fi
   9773 
   9774 		CFLAGS="$CFLAGS -Waddress"
   9775 
   9776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9777 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9778 		cacheid=xorg_cv_cc_flag__Waddress
   9779 		if eval \${$cacheid+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 int
   9786 main ()
   9787 {
   9788 
   9789   ;
   9790   return 0;
   9791 }
   9792 _ACEOF
   9793 if ac_fn_c_try_link "$LINENO"; then :
   9794   eval $cacheid=yes
   9795 else
   9796   eval $cacheid=no
   9797 fi
   9798 rm -f core conftest.err conftest.$ac_objext \
   9799     conftest$ac_exeext conftest.$ac_ext
   9800 fi
   9801 
   9802 
   9803 		CFLAGS="$xorg_testset_save_CFLAGS"
   9804 
   9805 		eval supported=\$$cacheid
   9806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9807 $as_echo "$supported" >&6; }
   9808 		if test "$supported" = "yes" ; then
   9809 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9810 			found="yes"
   9811 		fi
   9812 	fi
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 xorg_testset_save_CFLAGS="$CFLAGS"
   9829 
   9830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9835   $as_echo_n "(cached) " >&6
   9836 else
   9837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9838 /* end confdefs.h.  */
   9839 int i;
   9840 _ACEOF
   9841 if ac_fn_c_try_compile "$LINENO"; then :
   9842   xorg_cv_cc_flag_unknown_warning_option=yes
   9843 else
   9844   xorg_cv_cc_flag_unknown_warning_option=no
   9845 fi
   9846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9847 fi
   9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9851 	CFLAGS="$xorg_testset_save_CFLAGS"
   9852 fi
   9853 
   9854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9857 	fi
   9858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9862   $as_echo_n "(cached) " >&6
   9863 else
   9864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9865 /* end confdefs.h.  */
   9866 int i;
   9867 _ACEOF
   9868 if ac_fn_c_try_compile "$LINENO"; then :
   9869   xorg_cv_cc_flag_unused_command_line_argument=yes
   9870 else
   9871   xorg_cv_cc_flag_unused_command_line_argument=no
   9872 fi
   9873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9874 fi
   9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9878 	CFLAGS="$xorg_testset_save_CFLAGS"
   9879 fi
   9880 
   9881 found="no"
   9882 
   9883 	if test $found = "no" ; then
   9884 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9886 		fi
   9887 
   9888 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9890 		fi
   9891 
   9892 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9893 
   9894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9895 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9896 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9897 		if eval \${$cacheid+:} false; then :
   9898   $as_echo_n "(cached) " >&6
   9899 else
   9900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9901 /* end confdefs.h.  */
   9902 int i;
   9903 int
   9904 main ()
   9905 {
   9906 
   9907   ;
   9908   return 0;
   9909 }
   9910 _ACEOF
   9911 if ac_fn_c_try_link "$LINENO"; then :
   9912   eval $cacheid=yes
   9913 else
   9914   eval $cacheid=no
   9915 fi
   9916 rm -f core conftest.err conftest.$ac_objext \
   9917     conftest$ac_exeext conftest.$ac_ext
   9918 fi
   9919 
   9920 
   9921 		CFLAGS="$xorg_testset_save_CFLAGS"
   9922 
   9923 		eval supported=\$$cacheid
   9924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9925 $as_echo "$supported" >&6; }
   9926 		if test "$supported" = "yes" ; then
   9927 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9928 			found="yes"
   9929 		fi
   9930 	fi
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 xorg_testset_save_CFLAGS="$CFLAGS"
   9947 
   9948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9951 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9952 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9953   $as_echo_n "(cached) " >&6
   9954 else
   9955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9956 /* end confdefs.h.  */
   9957 int i;
   9958 _ACEOF
   9959 if ac_fn_c_try_compile "$LINENO"; then :
   9960   xorg_cv_cc_flag_unknown_warning_option=yes
   9961 else
   9962   xorg_cv_cc_flag_unknown_warning_option=no
   9963 fi
   9964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9965 fi
   9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9967 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9969 	CFLAGS="$xorg_testset_save_CFLAGS"
   9970 fi
   9971 
   9972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9975 	fi
   9976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9978 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9979 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9980   $as_echo_n "(cached) " >&6
   9981 else
   9982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9983 /* end confdefs.h.  */
   9984 int i;
   9985 _ACEOF
   9986 if ac_fn_c_try_compile "$LINENO"; then :
   9987   xorg_cv_cc_flag_unused_command_line_argument=yes
   9988 else
   9989   xorg_cv_cc_flag_unused_command_line_argument=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9992 fi
   9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9994 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9996 	CFLAGS="$xorg_testset_save_CFLAGS"
   9997 fi
   9998 
   9999 found="no"
   10000 
   10001 	if test $found = "no" ; then
   10002 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10004 		fi
   10005 
   10006 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 		fi
   10009 
   10010 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10011 
   10012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10013 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10014 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10015 		if eval \${$cacheid+:} false; then :
   10016   $as_echo_n "(cached) " >&6
   10017 else
   10018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10019 /* end confdefs.h.  */
   10020 int i;
   10021 int
   10022 main ()
   10023 {
   10024 
   10025   ;
   10026   return 0;
   10027 }
   10028 _ACEOF
   10029 if ac_fn_c_try_link "$LINENO"; then :
   10030   eval $cacheid=yes
   10031 else
   10032   eval $cacheid=no
   10033 fi
   10034 rm -f core conftest.err conftest.$ac_objext \
   10035     conftest$ac_exeext conftest.$ac_ext
   10036 fi
   10037 
   10038 
   10039 		CFLAGS="$xorg_testset_save_CFLAGS"
   10040 
   10041 		eval supported=\$$cacheid
   10042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10043 $as_echo "$supported" >&6; }
   10044 		if test "$supported" = "yes" ; then
   10045 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10046 			found="yes"
   10047 		fi
   10048 	fi
   10049 
   10050 
   10051 fi
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 		CWARNFLAGS="$BASE_CFLAGS"
   10060 		if  test "x$GCC" = xyes ; then
   10061 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10062 		fi
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 # Check whether --enable-strict-compilation was given.
   10072 if test "${enable_strict_compilation+set}" = set; then :
   10073   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10074 else
   10075   STRICT_COMPILE=no
   10076 fi
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 STRICT_CFLAGS=""
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 xorg_testset_save_CFLAGS="$CFLAGS"
   10098 
   10099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10104   $as_echo_n "(cached) " >&6
   10105 else
   10106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10107 /* end confdefs.h.  */
   10108 int i;
   10109 _ACEOF
   10110 if ac_fn_c_try_compile "$LINENO"; then :
   10111   xorg_cv_cc_flag_unknown_warning_option=yes
   10112 else
   10113   xorg_cv_cc_flag_unknown_warning_option=no
   10114 fi
   10115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10116 fi
   10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10120 	CFLAGS="$xorg_testset_save_CFLAGS"
   10121 fi
   10122 
   10123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10126 	fi
   10127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10131   $as_echo_n "(cached) " >&6
   10132 else
   10133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10134 /* end confdefs.h.  */
   10135 int i;
   10136 _ACEOF
   10137 if ac_fn_c_try_compile "$LINENO"; then :
   10138   xorg_cv_cc_flag_unused_command_line_argument=yes
   10139 else
   10140   xorg_cv_cc_flag_unused_command_line_argument=no
   10141 fi
   10142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10143 fi
   10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10147 	CFLAGS="$xorg_testset_save_CFLAGS"
   10148 fi
   10149 
   10150 found="no"
   10151 
   10152 	if test $found = "no" ; then
   10153 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10155 		fi
   10156 
   10157 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10159 		fi
   10160 
   10161 		CFLAGS="$CFLAGS -pedantic"
   10162 
   10163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10164 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10165 		cacheid=xorg_cv_cc_flag__pedantic
   10166 		if eval \${$cacheid+:} false; then :
   10167   $as_echo_n "(cached) " >&6
   10168 else
   10169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10170 /* end confdefs.h.  */
   10171 int i;
   10172 int
   10173 main ()
   10174 {
   10175 
   10176   ;
   10177   return 0;
   10178 }
   10179 _ACEOF
   10180 if ac_fn_c_try_link "$LINENO"; then :
   10181   eval $cacheid=yes
   10182 else
   10183   eval $cacheid=no
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext \
   10186     conftest$ac_exeext conftest.$ac_ext
   10187 fi
   10188 
   10189 
   10190 		CFLAGS="$xorg_testset_save_CFLAGS"
   10191 
   10192 		eval supported=\$$cacheid
   10193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10194 $as_echo "$supported" >&6; }
   10195 		if test "$supported" = "yes" ; then
   10196 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10197 			found="yes"
   10198 		fi
   10199 	fi
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 xorg_testset_save_CFLAGS="$CFLAGS"
   10216 
   10217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10222   $as_echo_n "(cached) " >&6
   10223 else
   10224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10225 /* end confdefs.h.  */
   10226 int i;
   10227 _ACEOF
   10228 if ac_fn_c_try_compile "$LINENO"; then :
   10229   xorg_cv_cc_flag_unknown_warning_option=yes
   10230 else
   10231   xorg_cv_cc_flag_unknown_warning_option=no
   10232 fi
   10233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10234 fi
   10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10238 	CFLAGS="$xorg_testset_save_CFLAGS"
   10239 fi
   10240 
   10241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10244 	fi
   10245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10249   $as_echo_n "(cached) " >&6
   10250 else
   10251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10252 /* end confdefs.h.  */
   10253 int i;
   10254 _ACEOF
   10255 if ac_fn_c_try_compile "$LINENO"; then :
   10256   xorg_cv_cc_flag_unused_command_line_argument=yes
   10257 else
   10258   xorg_cv_cc_flag_unused_command_line_argument=no
   10259 fi
   10260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10261 fi
   10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10265 	CFLAGS="$xorg_testset_save_CFLAGS"
   10266 fi
   10267 
   10268 found="no"
   10269 
   10270 	if test $found = "no" ; then
   10271 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10273 		fi
   10274 
   10275 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10277 		fi
   10278 
   10279 		CFLAGS="$CFLAGS -Werror"
   10280 
   10281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10282 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10283 		cacheid=xorg_cv_cc_flag__Werror
   10284 		if eval \${$cacheid+:} 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 int
   10291 main ()
   10292 {
   10293 
   10294   ;
   10295   return 0;
   10296 }
   10297 _ACEOF
   10298 if ac_fn_c_try_link "$LINENO"; then :
   10299   eval $cacheid=yes
   10300 else
   10301   eval $cacheid=no
   10302 fi
   10303 rm -f core conftest.err conftest.$ac_objext \
   10304     conftest$ac_exeext conftest.$ac_ext
   10305 fi
   10306 
   10307 
   10308 		CFLAGS="$xorg_testset_save_CFLAGS"
   10309 
   10310 		eval supported=\$$cacheid
   10311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10312 $as_echo "$supported" >&6; }
   10313 		if test "$supported" = "yes" ; then
   10314 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10315 			found="yes"
   10316 		fi
   10317 	fi
   10318 
   10319 	if test $found = "no" ; then
   10320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 		fi
   10323 
   10324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10326 		fi
   10327 
   10328 		CFLAGS="$CFLAGS -errwarn"
   10329 
   10330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10331 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10332 		cacheid=xorg_cv_cc_flag__errwarn
   10333 		if eval \${$cacheid+:} false; then :
   10334   $as_echo_n "(cached) " >&6
   10335 else
   10336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10337 /* end confdefs.h.  */
   10338 int i;
   10339 int
   10340 main ()
   10341 {
   10342 
   10343   ;
   10344   return 0;
   10345 }
   10346 _ACEOF
   10347 if ac_fn_c_try_link "$LINENO"; then :
   10348   eval $cacheid=yes
   10349 else
   10350   eval $cacheid=no
   10351 fi
   10352 rm -f core conftest.err conftest.$ac_objext \
   10353     conftest$ac_exeext conftest.$ac_ext
   10354 fi
   10355 
   10356 
   10357 		CFLAGS="$xorg_testset_save_CFLAGS"
   10358 
   10359 		eval supported=\$$cacheid
   10360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10361 $as_echo "$supported" >&6; }
   10362 		if test "$supported" = "yes" ; then
   10363 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10364 			found="yes"
   10365 		fi
   10366 	fi
   10367 
   10368 
   10369 
   10370 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10371 # activate it with -Werror, so we add it here explicitly.
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 xorg_testset_save_CFLAGS="$CFLAGS"
   10386 
   10387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10390 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10391 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10392   $as_echo_n "(cached) " >&6
   10393 else
   10394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10395 /* end confdefs.h.  */
   10396 int i;
   10397 _ACEOF
   10398 if ac_fn_c_try_compile "$LINENO"; then :
   10399   xorg_cv_cc_flag_unknown_warning_option=yes
   10400 else
   10401   xorg_cv_cc_flag_unknown_warning_option=no
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10404 fi
   10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10406 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10408 	CFLAGS="$xorg_testset_save_CFLAGS"
   10409 fi
   10410 
   10411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10414 	fi
   10415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10417 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10418 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10419   $as_echo_n "(cached) " >&6
   10420 else
   10421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10422 /* end confdefs.h.  */
   10423 int i;
   10424 _ACEOF
   10425 if ac_fn_c_try_compile "$LINENO"; then :
   10426   xorg_cv_cc_flag_unused_command_line_argument=yes
   10427 else
   10428   xorg_cv_cc_flag_unused_command_line_argument=no
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10431 fi
   10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10433 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10435 	CFLAGS="$xorg_testset_save_CFLAGS"
   10436 fi
   10437 
   10438 found="no"
   10439 
   10440 	if test $found = "no" ; then
   10441 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10443 		fi
   10444 
   10445 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10447 		fi
   10448 
   10449 		CFLAGS="$CFLAGS -Werror=attributes"
   10450 
   10451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10452 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10453 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10454 		if eval \${$cacheid+:} false; then :
   10455   $as_echo_n "(cached) " >&6
   10456 else
   10457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 int i;
   10460 int
   10461 main ()
   10462 {
   10463 
   10464   ;
   10465   return 0;
   10466 }
   10467 _ACEOF
   10468 if ac_fn_c_try_link "$LINENO"; then :
   10469   eval $cacheid=yes
   10470 else
   10471   eval $cacheid=no
   10472 fi
   10473 rm -f core conftest.err conftest.$ac_objext \
   10474     conftest$ac_exeext conftest.$ac_ext
   10475 fi
   10476 
   10477 
   10478 		CFLAGS="$xorg_testset_save_CFLAGS"
   10479 
   10480 		eval supported=\$$cacheid
   10481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10482 $as_echo "$supported" >&6; }
   10483 		if test "$supported" = "yes" ; then
   10484 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10485 			found="yes"
   10486 		fi
   10487 	fi
   10488 
   10489 
   10490 
   10491 if test "x$STRICT_COMPILE" = "xyes"; then
   10492     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10493     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10494 fi
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 cat >>confdefs.h <<_ACEOF
   10502 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10503 _ACEOF
   10504 
   10505 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10506 	if test "x$PVM" = "x"; then
   10507 		PVM="0"
   10508 	fi
   10509 
   10510 cat >>confdefs.h <<_ACEOF
   10511 #define PACKAGE_VERSION_MINOR $PVM
   10512 _ACEOF
   10513 
   10514 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10515 	if test "x$PVP" = "x"; then
   10516 		PVP="0"
   10517 	fi
   10518 
   10519 cat >>confdefs.h <<_ACEOF
   10520 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10521 _ACEOF
   10522 
   10523 
   10524 
   10525 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10526 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10527 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10528 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10529 
   10530 
   10531 
   10532 
   10533 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10534 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10535 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10536 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10537 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 if test x$APP_MAN_SUFFIX = x    ; then
   10545     APP_MAN_SUFFIX=1
   10546 fi
   10547 if test x$APP_MAN_DIR = x    ; then
   10548     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10549 fi
   10550 
   10551 if test x$LIB_MAN_SUFFIX = x    ; then
   10552     LIB_MAN_SUFFIX=3
   10553 fi
   10554 if test x$LIB_MAN_DIR = x    ; then
   10555     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10556 fi
   10557 
   10558 if test x$FILE_MAN_SUFFIX = x    ; then
   10559     case $host_os in
   10560 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10561 	*)		FILE_MAN_SUFFIX=5  ;;
   10562     esac
   10563 fi
   10564 if test x$FILE_MAN_DIR = x    ; then
   10565     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10566 fi
   10567 
   10568 if test x$MISC_MAN_SUFFIX = x    ; then
   10569     case $host_os in
   10570 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10571 	*)		MISC_MAN_SUFFIX=7  ;;
   10572     esac
   10573 fi
   10574 if test x$MISC_MAN_DIR = x    ; then
   10575     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10576 fi
   10577 
   10578 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10579     case $host_os in
   10580 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10581 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10582     esac
   10583 fi
   10584 if test x$DRIVER_MAN_DIR = x    ; then
   10585     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10586 fi
   10587 
   10588 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10589     case $host_os in
   10590 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10591 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10592     esac
   10593 fi
   10594 if test x$ADMIN_MAN_DIR = x    ; then
   10595     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10596 fi
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 XORG_MAN_PAGE="X Version 11"
   10613 
   10614 MAN_SUBSTS="\
   10615 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10616 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10617 	-e 's|__xservername__|Xorg|g' \
   10618 	-e 's|__xconfigfile__|xorg.conf|g' \
   10619 	-e 's|__projectroot__|\$(prefix)|g' \
   10620 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10621 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10622 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10623 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10624 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10625 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10626 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10627 
   10628 
   10629 
   10630 # Check whether --enable-silent-rules was given.
   10631 if test "${enable_silent_rules+set}" = set; then :
   10632   enableval=$enable_silent_rules;
   10633 fi
   10634 
   10635 case $enable_silent_rules in # (((
   10636   yes) AM_DEFAULT_VERBOSITY=0;;
   10637    no) AM_DEFAULT_VERBOSITY=1;;
   10638     *) AM_DEFAULT_VERBOSITY=0;;
   10639 esac
   10640 am_make=${MAKE-make}
   10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10642 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10643 if ${am_cv_make_support_nested_variables+:} false; then :
   10644   $as_echo_n "(cached) " >&6
   10645 else
   10646   if $as_echo 'TRUE=$(BAR$(V))
   10647 BAR0=false
   10648 BAR1=true
   10649 V=1
   10650 am__doit:
   10651 	@$(TRUE)
   10652 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10653   am_cv_make_support_nested_variables=yes
   10654 else
   10655   am_cv_make_support_nested_variables=no
   10656 fi
   10657 fi
   10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10659 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10660 if test $am_cv_make_support_nested_variables = yes; then
   10661     AM_V='$(V)'
   10662   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10663 else
   10664   AM_V=$AM_DEFAULT_VERBOSITY
   10665   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10666 fi
   10667 AM_BACKSLASH='\'
   10668 
   10669 
   10670 
   10671 for ac_func in strcasecmp
   10672 do :
   10673   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   10674 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   10675   cat >>confdefs.h <<_ACEOF
   10676 #define HAVE_STRCASECMP 1
   10677 _ACEOF
   10678 
   10679 fi
   10680 done
   10681 
   10682 
   10683 # Checks for pkg-config packages
   10684 
   10685 pkg_failed=no
   10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XREFRESH" >&5
   10687 $as_echo_n "checking for XREFRESH... " >&6; }
   10688 
   10689 if test -n "$XREFRESH_CFLAGS"; then
   10690     pkg_cv_XREFRESH_CFLAGS="$XREFRESH_CFLAGS"
   10691  elif test -n "$PKG_CONFIG"; then
   10692     if test -n "$PKG_CONFIG" && \
   10693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   10694   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   10695   ac_status=$?
   10696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10697   test $ac_status = 0; }; then
   10698   pkg_cv_XREFRESH_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.17" 2>/dev/null`
   10699 else
   10700   pkg_failed=yes
   10701 fi
   10702  else
   10703     pkg_failed=untried
   10704 fi
   10705 if test -n "$XREFRESH_LIBS"; then
   10706     pkg_cv_XREFRESH_LIBS="$XREFRESH_LIBS"
   10707  elif test -n "$PKG_CONFIG"; then
   10708     if test -n "$PKG_CONFIG" && \
   10709     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   10710   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   10711   ac_status=$?
   10712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10713   test $ac_status = 0; }; then
   10714   pkg_cv_XREFRESH_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.17" 2>/dev/null`
   10715 else
   10716   pkg_failed=yes
   10717 fi
   10718  else
   10719     pkg_failed=untried
   10720 fi
   10721 
   10722 
   10723 
   10724 if test $pkg_failed = yes; then
   10725 
   10726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10727         _pkg_short_errors_supported=yes
   10728 else
   10729         _pkg_short_errors_supported=no
   10730 fi
   10731         if test $_pkg_short_errors_supported = yes; then
   10732 	        XREFRESH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xproto >= 7.0.17" 2>&1`
   10733         else
   10734 	        XREFRESH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xproto >= 7.0.17" 2>&1`
   10735         fi
   10736 	# Put the nasty error message in config.log where it belongs
   10737 	echo "$XREFRESH_PKG_ERRORS" >&5
   10738 
   10739 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.17) were not met:
   10740 
   10741 $XREFRESH_PKG_ERRORS
   10742 
   10743 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10744 installed software in a non-standard prefix.
   10745 
   10746 Alternatively, you may set the environment variables XREFRESH_CFLAGS
   10747 and XREFRESH_LIBS to avoid the need to call pkg-config.
   10748 See the pkg-config man page for more details.
   10749 " "$LINENO" 5
   10750 elif test $pkg_failed = untried; then
   10751 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10753 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10754 is in your PATH or set the PKG_CONFIG environment variable to the full
   10755 path to pkg-config.
   10756 
   10757 Alternatively, you may set the environment variables XREFRESH_CFLAGS
   10758 and XREFRESH_LIBS to avoid the need to call pkg-config.
   10759 See the pkg-config man page for more details.
   10760 
   10761 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10762 See \`config.log' for more details" "$LINENO" 5; }
   10763 else
   10764 	XREFRESH_CFLAGS=$pkg_cv_XREFRESH_CFLAGS
   10765 	XREFRESH_LIBS=$pkg_cv_XREFRESH_LIBS
   10766         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10767 $as_echo "yes" >&6; }
   10768 	:
   10769 fi
   10770 
   10771 ac_config_files="$ac_config_files Makefile man/Makefile"
   10772 
   10773 cat >confcache <<\_ACEOF
   10774 # This file is a shell script that caches the results of configure
   10775 # tests run on this system so they can be shared between configure
   10776 # scripts and configure runs, see configure's option --config-cache.
   10777 # It is not useful on other systems.  If it contains results you don't
   10778 # want to keep, you may remove or edit it.
   10779 #
   10780 # config.status only pays attention to the cache file if you give it
   10781 # the --recheck option to rerun configure.
   10782 #
   10783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10785 # following values.
   10786 
   10787 _ACEOF
   10788 
   10789 # The following way of writing the cache mishandles newlines in values,
   10790 # but we know of no workaround that is simple, portable, and efficient.
   10791 # So, we kill variables containing newlines.
   10792 # Ultrix sh set writes to stderr and can't be redirected directly,
   10793 # and sets the high bit in the cache file unless we assign to the vars.
   10794 (
   10795   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10796     eval ac_val=\$$ac_var
   10797     case $ac_val in #(
   10798     *${as_nl}*)
   10799       case $ac_var in #(
   10800       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10802       esac
   10803       case $ac_var in #(
   10804       _ | IFS | as_nl) ;; #(
   10805       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10806       *) { eval $ac_var=; unset $ac_var;} ;;
   10807       esac ;;
   10808     esac
   10809   done
   10810 
   10811   (set) 2>&1 |
   10812     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10813     *${as_nl}ac_space=\ *)
   10814       # `set' does not quote correctly, so add quotes: double-quote
   10815       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10816       sed -n \
   10817 	"s/'/'\\\\''/g;
   10818 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10819       ;; #(
   10820     *)
   10821       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10822       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10823       ;;
   10824     esac |
   10825     sort
   10826 ) |
   10827   sed '
   10828      /^ac_cv_env_/b end
   10829      t clear
   10830      :clear
   10831      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10832      t end
   10833      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10834      :end' >>confcache
   10835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10836   if test -w "$cache_file"; then
   10837     if test "x$cache_file" != "x/dev/null"; then
   10838       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10839 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10840       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10841 	cat confcache >"$cache_file"
   10842       else
   10843         case $cache_file in #(
   10844         */* | ?:*)
   10845 	  mv -f confcache "$cache_file"$$ &&
   10846 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10847         *)
   10848 	  mv -f confcache "$cache_file" ;;
   10849 	esac
   10850       fi
   10851     fi
   10852   else
   10853     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10855   fi
   10856 fi
   10857 rm -f confcache
   10858 
   10859 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10860 # Let make expand exec_prefix.
   10861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10862 
   10863 DEFS=-DHAVE_CONFIG_H
   10864 
   10865 ac_libobjs=
   10866 ac_ltlibobjs=
   10867 U=
   10868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10869   # 1. Remove the extension, and $U if already installed.
   10870   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10871   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10872   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10873   #    will be set to the directory where LIBOBJS objects are built.
   10874   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10875   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10876 done
   10877 LIBOBJS=$ac_libobjs
   10878 
   10879 LTLIBOBJS=$ac_ltlibobjs
   10880 
   10881 
   10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10883 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10884    if test -n "$am_sleep_pid"; then
   10885      # Hide warnings about reused PIDs.
   10886      wait $am_sleep_pid 2>/dev/null
   10887    fi
   10888    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10889 $as_echo "done" >&6; }
   10890 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10891   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10893 fi
   10894 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10895   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10897 fi
   10898  if test -n "$EXEEXT"; then
   10899   am__EXEEXT_TRUE=
   10900   am__EXEEXT_FALSE='#'
   10901 else
   10902   am__EXEEXT_TRUE='#'
   10903   am__EXEEXT_FALSE=
   10904 fi
   10905 
   10906 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10907   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10909 fi
   10910 
   10911 : "${CONFIG_STATUS=./config.status}"
   10912 ac_write_fail=0
   10913 ac_clean_files_save=$ac_clean_files
   10914 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10915 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10916 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10917 as_write_fail=0
   10918 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10919 #! $SHELL
   10920 # Generated by $as_me.
   10921 # Run this file to recreate the current configuration.
   10922 # Compiler output produced by configure, useful for debugging
   10923 # configure, is in config.log if it exists.
   10924 
   10925 debug=false
   10926 ac_cs_recheck=false
   10927 ac_cs_silent=false
   10928 
   10929 SHELL=\${CONFIG_SHELL-$SHELL}
   10930 export SHELL
   10931 _ASEOF
   10932 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10933 ## -------------------- ##
   10934 ## M4sh Initialization. ##
   10935 ## -------------------- ##
   10936 
   10937 # Be more Bourne compatible
   10938 DUALCASE=1; export DUALCASE # for MKS sh
   10939 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10940   emulate sh
   10941   NULLCMD=:
   10942   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10943   # is contrary to our usage.  Disable this feature.
   10944   alias -g '${1+"$@"}'='"$@"'
   10945   setopt NO_GLOB_SUBST
   10946 else
   10947   case `(set -o) 2>/dev/null` in #(
   10948   *posix*) :
   10949     set -o posix ;; #(
   10950   *) :
   10951      ;;
   10952 esac
   10953 fi
   10954 
   10955 
   10956 as_nl='
   10957 '
   10958 export as_nl
   10959 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10960 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10961 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10962 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10963 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10964 # but without wasting forks for bash or zsh.
   10965 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10966     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10967   as_echo='print -r --'
   10968   as_echo_n='print -rn --'
   10969 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10970   as_echo='printf %s\n'
   10971   as_echo_n='printf %s'
   10972 else
   10973   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10974     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10975     as_echo_n='/usr/ucb/echo -n'
   10976   else
   10977     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10978     as_echo_n_body='eval
   10979       arg=$1;
   10980       case $arg in #(
   10981       *"$as_nl"*)
   10982 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10983 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10984       esac;
   10985       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10986     '
   10987     export as_echo_n_body
   10988     as_echo_n='sh -c $as_echo_n_body as_echo'
   10989   fi
   10990   export as_echo_body
   10991   as_echo='sh -c $as_echo_body as_echo'
   10992 fi
   10993 
   10994 # The user is always right.
   10995 if test "${PATH_SEPARATOR+set}" != set; then
   10996   PATH_SEPARATOR=:
   10997   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10998     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10999       PATH_SEPARATOR=';'
   11000   }
   11001 fi
   11002 
   11003 
   11004 # IFS
   11005 # We need space, tab and new line, in precisely that order.  Quoting is
   11006 # there to prevent editors from complaining about space-tab.
   11007 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11008 # splitting by setting IFS to empty value.)
   11009 IFS=" ""	$as_nl"
   11010 
   11011 # Find who we are.  Look in the path if we contain no directory separator.
   11012 as_myself=
   11013 case $0 in #((
   11014   *[\\/]* ) as_myself=$0 ;;
   11015   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11016 for as_dir in $PATH
   11017 do
   11018   IFS=$as_save_IFS
   11019   test -z "$as_dir" && as_dir=.
   11020     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11021   done
   11022 IFS=$as_save_IFS
   11023 
   11024      ;;
   11025 esac
   11026 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11027 # in which case we are not to be found in the path.
   11028 if test "x$as_myself" = x; then
   11029   as_myself=$0
   11030 fi
   11031 if test ! -f "$as_myself"; then
   11032   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11033   exit 1
   11034 fi
   11035 
   11036 # Unset variables that we do not need and which cause bugs (e.g. in
   11037 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11038 # suppresses any "Segmentation fault" message there.  '((' could
   11039 # trigger a bug in pdksh 5.2.14.
   11040 for as_var in BASH_ENV ENV MAIL MAILPATH
   11041 do eval test x\${$as_var+set} = xset \
   11042   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11043 done
   11044 PS1='$ '
   11045 PS2='> '
   11046 PS4='+ '
   11047 
   11048 # NLS nuisances.
   11049 LC_ALL=C
   11050 export LC_ALL
   11051 LANGUAGE=C
   11052 export LANGUAGE
   11053 
   11054 # CDPATH.
   11055 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11056 
   11057 
   11058 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11059 # ----------------------------------------
   11060 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11061 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11062 # script with STATUS, using 1 if that was 0.
   11063 as_fn_error ()
   11064 {
   11065   as_status=$1; test $as_status -eq 0 && as_status=1
   11066   if test "$4"; then
   11067     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11068     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11069   fi
   11070   $as_echo "$as_me: error: $2" >&2
   11071   as_fn_exit $as_status
   11072 } # as_fn_error
   11073 
   11074 
   11075 # as_fn_set_status STATUS
   11076 # -----------------------
   11077 # Set $? to STATUS, without forking.
   11078 as_fn_set_status ()
   11079 {
   11080   return $1
   11081 } # as_fn_set_status
   11082 
   11083 # as_fn_exit STATUS
   11084 # -----------------
   11085 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11086 as_fn_exit ()
   11087 {
   11088   set +e
   11089   as_fn_set_status $1
   11090   exit $1
   11091 } # as_fn_exit
   11092 
   11093 # as_fn_unset VAR
   11094 # ---------------
   11095 # Portably unset VAR.
   11096 as_fn_unset ()
   11097 {
   11098   { eval $1=; unset $1;}
   11099 }
   11100 as_unset=as_fn_unset
   11101 # as_fn_append VAR VALUE
   11102 # ----------------------
   11103 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11104 # advantage of any shell optimizations that allow amortized linear growth over
   11105 # repeated appends, instead of the typical quadratic growth present in naive
   11106 # implementations.
   11107 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11108   eval 'as_fn_append ()
   11109   {
   11110     eval $1+=\$2
   11111   }'
   11112 else
   11113   as_fn_append ()
   11114   {
   11115     eval $1=\$$1\$2
   11116   }
   11117 fi # as_fn_append
   11118 
   11119 # as_fn_arith ARG...
   11120 # ------------------
   11121 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11122 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11123 # must be portable across $(()) and expr.
   11124 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11125   eval 'as_fn_arith ()
   11126   {
   11127     as_val=$(( $* ))
   11128   }'
   11129 else
   11130   as_fn_arith ()
   11131   {
   11132     as_val=`expr "$@" || test $? -eq 1`
   11133   }
   11134 fi # as_fn_arith
   11135 
   11136 
   11137 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11139   as_expr=expr
   11140 else
   11141   as_expr=false
   11142 fi
   11143 
   11144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11145   as_basename=basename
   11146 else
   11147   as_basename=false
   11148 fi
   11149 
   11150 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11151   as_dirname=dirname
   11152 else
   11153   as_dirname=false
   11154 fi
   11155 
   11156 as_me=`$as_basename -- "$0" ||
   11157 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11158 	 X"$0" : 'X\(//\)$' \| \
   11159 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11160 $as_echo X/"$0" |
   11161     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11162 	    s//\1/
   11163 	    q
   11164 	  }
   11165 	  /^X\/\(\/\/\)$/{
   11166 	    s//\1/
   11167 	    q
   11168 	  }
   11169 	  /^X\/\(\/\).*/{
   11170 	    s//\1/
   11171 	    q
   11172 	  }
   11173 	  s/.*/./; q'`
   11174 
   11175 # Avoid depending upon Character Ranges.
   11176 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11177 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11178 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11179 as_cr_digits='0123456789'
   11180 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11181 
   11182 ECHO_C= ECHO_N= ECHO_T=
   11183 case `echo -n x` in #(((((
   11184 -n*)
   11185   case `echo 'xy\c'` in
   11186   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11187   xy)  ECHO_C='\c';;
   11188   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11189        ECHO_T='	';;
   11190   esac;;
   11191 *)
   11192   ECHO_N='-n';;
   11193 esac
   11194 
   11195 rm -f conf$$ conf$$.exe conf$$.file
   11196 if test -d conf$$.dir; then
   11197   rm -f conf$$.dir/conf$$.file
   11198 else
   11199   rm -f conf$$.dir
   11200   mkdir conf$$.dir 2>/dev/null
   11201 fi
   11202 if (echo >conf$$.file) 2>/dev/null; then
   11203   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11204     as_ln_s='ln -s'
   11205     # ... but there are two gotchas:
   11206     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11207     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11208     # In both cases, we have to default to `cp -p'.
   11209     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11210       as_ln_s='cp -p'
   11211   elif ln conf$$.file conf$$ 2>/dev/null; then
   11212     as_ln_s=ln
   11213   else
   11214     as_ln_s='cp -p'
   11215   fi
   11216 else
   11217   as_ln_s='cp -p'
   11218 fi
   11219 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11220 rmdir conf$$.dir 2>/dev/null
   11221 
   11222 
   11223 # as_fn_mkdir_p
   11224 # -------------
   11225 # Create "$as_dir" as a directory, including parents if necessary.
   11226 as_fn_mkdir_p ()
   11227 {
   11228 
   11229   case $as_dir in #(
   11230   -*) as_dir=./$as_dir;;
   11231   esac
   11232   test -d "$as_dir" || eval $as_mkdir_p || {
   11233     as_dirs=
   11234     while :; do
   11235       case $as_dir in #(
   11236       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11237       *) as_qdir=$as_dir;;
   11238       esac
   11239       as_dirs="'$as_qdir' $as_dirs"
   11240       as_dir=`$as_dirname -- "$as_dir" ||
   11241 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11242 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11243 	 X"$as_dir" : 'X\(//\)$' \| \
   11244 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11245 $as_echo X"$as_dir" |
   11246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11247 	    s//\1/
   11248 	    q
   11249 	  }
   11250 	  /^X\(\/\/\)[^/].*/{
   11251 	    s//\1/
   11252 	    q
   11253 	  }
   11254 	  /^X\(\/\/\)$/{
   11255 	    s//\1/
   11256 	    q
   11257 	  }
   11258 	  /^X\(\/\).*/{
   11259 	    s//\1/
   11260 	    q
   11261 	  }
   11262 	  s/.*/./; q'`
   11263       test -d "$as_dir" && break
   11264     done
   11265     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11266   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11267 
   11268 
   11269 } # as_fn_mkdir_p
   11270 if mkdir -p . 2>/dev/null; then
   11271   as_mkdir_p='mkdir -p "$as_dir"'
   11272 else
   11273   test -d ./-p && rmdir ./-p
   11274   as_mkdir_p=false
   11275 fi
   11276 
   11277 if test -x / >/dev/null 2>&1; then
   11278   as_test_x='test -x'
   11279 else
   11280   if ls -dL / >/dev/null 2>&1; then
   11281     as_ls_L_option=L
   11282   else
   11283     as_ls_L_option=
   11284   fi
   11285   as_test_x='
   11286     eval sh -c '\''
   11287       if test -d "$1"; then
   11288 	test -d "$1/.";
   11289       else
   11290 	case $1 in #(
   11291 	-*)set "./$1";;
   11292 	esac;
   11293 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11294 	???[sx]*):;;*)false;;esac;fi
   11295     '\'' sh
   11296   '
   11297 fi
   11298 as_executable_p=$as_test_x
   11299 
   11300 # Sed expression to map a string onto a valid CPP name.
   11301 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11302 
   11303 # Sed expression to map a string onto a valid variable name.
   11304 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11305 
   11306 
   11307 exec 6>&1
   11308 ## ----------------------------------- ##
   11309 ## Main body of $CONFIG_STATUS script. ##
   11310 ## ----------------------------------- ##
   11311 _ASEOF
   11312 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11313 
   11314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11315 # Save the log message, to keep $0 and so on meaningful, and to
   11316 # report actual input values of CONFIG_FILES etc. instead of their
   11317 # values after options handling.
   11318 ac_log="
   11319 This file was extended by xrefresh $as_me 1.0.5, which was
   11320 generated by GNU Autoconf 2.68.  Invocation command line was
   11321 
   11322   CONFIG_FILES    = $CONFIG_FILES
   11323   CONFIG_HEADERS  = $CONFIG_HEADERS
   11324   CONFIG_LINKS    = $CONFIG_LINKS
   11325   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11326   $ $0 $@
   11327 
   11328 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11329 "
   11330 
   11331 _ACEOF
   11332 
   11333 case $ac_config_files in *"
   11334 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11335 esac
   11336 
   11337 case $ac_config_headers in *"
   11338 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11339 esac
   11340 
   11341 
   11342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11343 # Files that config.status was made for.
   11344 config_files="$ac_config_files"
   11345 config_headers="$ac_config_headers"
   11346 config_commands="$ac_config_commands"
   11347 
   11348 _ACEOF
   11349 
   11350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11351 ac_cs_usage="\
   11352 \`$as_me' instantiates files and other configuration actions
   11353 from templates according to the current configuration.  Unless the files
   11354 and actions are specified as TAGs, all are instantiated by default.
   11355 
   11356 Usage: $0 [OPTION]... [TAG]...
   11357 
   11358   -h, --help       print this help, then exit
   11359   -V, --version    print version number and configuration settings, then exit
   11360       --config     print configuration, then exit
   11361   -q, --quiet, --silent
   11362                    do not print progress messages
   11363   -d, --debug      don't remove temporary files
   11364       --recheck    update $as_me by reconfiguring in the same conditions
   11365       --file=FILE[:TEMPLATE]
   11366                    instantiate the configuration file FILE
   11367       --header=FILE[:TEMPLATE]
   11368                    instantiate the configuration header FILE
   11369 
   11370 Configuration files:
   11371 $config_files
   11372 
   11373 Configuration headers:
   11374 $config_headers
   11375 
   11376 Configuration commands:
   11377 $config_commands
   11378 
   11379 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11380 
   11381 _ACEOF
   11382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11383 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11384 ac_cs_version="\\
   11385 xrefresh config.status 1.0.5
   11386 configured by $0, generated by GNU Autoconf 2.68,
   11387   with options \\"\$ac_cs_config\\"
   11388 
   11389 Copyright (C) 2010 Free Software Foundation, Inc.
   11390 This config.status script is free software; the Free Software Foundation
   11391 gives unlimited permission to copy, distribute and modify it."
   11392 
   11393 ac_pwd='$ac_pwd'
   11394 srcdir='$srcdir'
   11395 INSTALL='$INSTALL'
   11396 MKDIR_P='$MKDIR_P'
   11397 AWK='$AWK'
   11398 test -n "\$AWK" || AWK=awk
   11399 _ACEOF
   11400 
   11401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11402 # The default lists apply if the user does not specify any file.
   11403 ac_need_defaults=:
   11404 while test $# != 0
   11405 do
   11406   case $1 in
   11407   --*=?*)
   11408     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11409     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11410     ac_shift=:
   11411     ;;
   11412   --*=)
   11413     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11414     ac_optarg=
   11415     ac_shift=:
   11416     ;;
   11417   *)
   11418     ac_option=$1
   11419     ac_optarg=$2
   11420     ac_shift=shift
   11421     ;;
   11422   esac
   11423 
   11424   case $ac_option in
   11425   # Handling of the options.
   11426   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11427     ac_cs_recheck=: ;;
   11428   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11429     $as_echo "$ac_cs_version"; exit ;;
   11430   --config | --confi | --conf | --con | --co | --c )
   11431     $as_echo "$ac_cs_config"; exit ;;
   11432   --debug | --debu | --deb | --de | --d | -d )
   11433     debug=: ;;
   11434   --file | --fil | --fi | --f )
   11435     $ac_shift
   11436     case $ac_optarg in
   11437     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11438     '') as_fn_error $? "missing file argument" ;;
   11439     esac
   11440     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11441     ac_need_defaults=false;;
   11442   --header | --heade | --head | --hea )
   11443     $ac_shift
   11444     case $ac_optarg in
   11445     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11446     esac
   11447     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11448     ac_need_defaults=false;;
   11449   --he | --h)
   11450     # Conflict between --help and --header
   11451     as_fn_error $? "ambiguous option: \`$1'
   11452 Try \`$0 --help' for more information.";;
   11453   --help | --hel | -h )
   11454     $as_echo "$ac_cs_usage"; exit ;;
   11455   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11456   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11457     ac_cs_silent=: ;;
   11458 
   11459   # This is an error.
   11460   -*) as_fn_error $? "unrecognized option: \`$1'
   11461 Try \`$0 --help' for more information." ;;
   11462 
   11463   *) as_fn_append ac_config_targets " $1"
   11464      ac_need_defaults=false ;;
   11465 
   11466   esac
   11467   shift
   11468 done
   11469 
   11470 ac_configure_extra_args=
   11471 
   11472 if $ac_cs_silent; then
   11473   exec 6>/dev/null
   11474   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11475 fi
   11476 
   11477 _ACEOF
   11478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11479 if \$ac_cs_recheck; then
   11480   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11481   shift
   11482   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11483   CONFIG_SHELL='$SHELL'
   11484   export CONFIG_SHELL
   11485   exec "\$@"
   11486 fi
   11487 
   11488 _ACEOF
   11489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11490 exec 5>>config.log
   11491 {
   11492   echo
   11493   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11494 ## Running $as_me. ##
   11495 _ASBOX
   11496   $as_echo "$ac_log"
   11497 } >&5
   11498 
   11499 _ACEOF
   11500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11501 #
   11502 # INIT-COMMANDS
   11503 #
   11504 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11505 
   11506 _ACEOF
   11507 
   11508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11509 
   11510 # Handling of arguments.
   11511 for ac_config_target in $ac_config_targets
   11512 do
   11513   case $ac_config_target in
   11514     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11515     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11516     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11517     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11518 
   11519   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11520   esac
   11521 done
   11522 
   11523 
   11524 # If the user did not use the arguments to specify the items to instantiate,
   11525 # then the envvar interface is used.  Set only those that are not.
   11526 # We use the long form for the default assignment because of an extremely
   11527 # bizarre bug on SunOS 4.1.3.
   11528 if $ac_need_defaults; then
   11529   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11530   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11531   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11532 fi
   11533 
   11534 # Have a temporary directory for convenience.  Make it in the build tree
   11535 # simply because there is no reason against having it here, and in addition,
   11536 # creating and moving files from /tmp can sometimes cause problems.
   11537 # Hook for its removal unless debugging.
   11538 # Note that there is a small window in which the directory will not be cleaned:
   11539 # after its creation but before its name has been assigned to `$tmp'.
   11540 $debug ||
   11541 {
   11542   tmp= ac_tmp=
   11543   trap 'exit_status=$?
   11544   : "${ac_tmp:=$tmp}"
   11545   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11546 ' 0
   11547   trap 'as_fn_exit 1' 1 2 13 15
   11548 }
   11549 # Create a (secure) tmp directory for tmp files.
   11550 
   11551 {
   11552   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11553   test -d "$tmp"
   11554 }  ||
   11555 {
   11556   tmp=./conf$$-$RANDOM
   11557   (umask 077 && mkdir "$tmp")
   11558 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11559 ac_tmp=$tmp
   11560 
   11561 # Set up the scripts for CONFIG_FILES section.
   11562 # No need to generate them if there are no CONFIG_FILES.
   11563 # This happens for instance with `./config.status config.h'.
   11564 if test -n "$CONFIG_FILES"; then
   11565 
   11566 
   11567 ac_cr=`echo X | tr X '\015'`
   11568 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11569 # But we know of no other shell where ac_cr would be empty at this
   11570 # point, so we can use a bashism as a fallback.
   11571 if test "x$ac_cr" = x; then
   11572   eval ac_cr=\$\'\\r\'
   11573 fi
   11574 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11575 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11576   ac_cs_awk_cr='\\r'
   11577 else
   11578   ac_cs_awk_cr=$ac_cr
   11579 fi
   11580 
   11581 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11582 _ACEOF
   11583 
   11584 
   11585 {
   11586   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11587   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11588   echo "_ACEOF"
   11589 } >conf$$subs.sh ||
   11590   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11591 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11592 ac_delim='%!_!# '
   11593 for ac_last_try in false false false false false :; do
   11594   . ./conf$$subs.sh ||
   11595     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11596 
   11597   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11598   if test $ac_delim_n = $ac_delim_num; then
   11599     break
   11600   elif $ac_last_try; then
   11601     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11602   else
   11603     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11604   fi
   11605 done
   11606 rm -f conf$$subs.sh
   11607 
   11608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11609 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11610 _ACEOF
   11611 sed -n '
   11612 h
   11613 s/^/S["/; s/!.*/"]=/
   11614 p
   11615 g
   11616 s/^[^!]*!//
   11617 :repl
   11618 t repl
   11619 s/'"$ac_delim"'$//
   11620 t delim
   11621 :nl
   11622 h
   11623 s/\(.\{148\}\)..*/\1/
   11624 t more1
   11625 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11626 p
   11627 n
   11628 b repl
   11629 :more1
   11630 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11631 p
   11632 g
   11633 s/.\{148\}//
   11634 t nl
   11635 :delim
   11636 h
   11637 s/\(.\{148\}\)..*/\1/
   11638 t more2
   11639 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11640 p
   11641 b
   11642 :more2
   11643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11644 p
   11645 g
   11646 s/.\{148\}//
   11647 t delim
   11648 ' <conf$$subs.awk | sed '
   11649 /^[^""]/{
   11650   N
   11651   s/\n//
   11652 }
   11653 ' >>$CONFIG_STATUS || ac_write_fail=1
   11654 rm -f conf$$subs.awk
   11655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11656 _ACAWK
   11657 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11658   for (key in S) S_is_set[key] = 1
   11659   FS = ""
   11660 
   11661 }
   11662 {
   11663   line = $ 0
   11664   nfields = split(line, field, "@")
   11665   substed = 0
   11666   len = length(field[1])
   11667   for (i = 2; i < nfields; i++) {
   11668     key = field[i]
   11669     keylen = length(key)
   11670     if (S_is_set[key]) {
   11671       value = S[key]
   11672       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11673       len += length(value) + length(field[++i])
   11674       substed = 1
   11675     } else
   11676       len += 1 + keylen
   11677   }
   11678 
   11679   print line
   11680 }
   11681 
   11682 _ACAWK
   11683 _ACEOF
   11684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11685 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11686   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11687 else
   11688   cat
   11689 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11690   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11691 _ACEOF
   11692 
   11693 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11694 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11695 # trailing colons and then remove the whole line if VPATH becomes empty
   11696 # (actually we leave an empty line to preserve line numbers).
   11697 if test "x$srcdir" = x.; then
   11698   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11699 h
   11700 s///
   11701 s/^/:/
   11702 s/[	 ]*$/:/
   11703 s/:\$(srcdir):/:/g
   11704 s/:\${srcdir}:/:/g
   11705 s/:@srcdir@:/:/g
   11706 s/^:*//
   11707 s/:*$//
   11708 x
   11709 s/\(=[	 ]*\).*/\1/
   11710 G
   11711 s/\n//
   11712 s/^[^=]*=[	 ]*$//
   11713 }'
   11714 fi
   11715 
   11716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11717 fi # test -n "$CONFIG_FILES"
   11718 
   11719 # Set up the scripts for CONFIG_HEADERS section.
   11720 # No need to generate them if there are no CONFIG_HEADERS.
   11721 # This happens for instance with `./config.status Makefile'.
   11722 if test -n "$CONFIG_HEADERS"; then
   11723 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11724 BEGIN {
   11725 _ACEOF
   11726 
   11727 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11728 # here-document in config.status, that substitutes the proper values into
   11729 # config.h.in to produce config.h.
   11730 
   11731 # Create a delimiter string that does not exist in confdefs.h, to ease
   11732 # handling of long lines.
   11733 ac_delim='%!_!# '
   11734 for ac_last_try in false false :; do
   11735   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11736   if test -z "$ac_tt"; then
   11737     break
   11738   elif $ac_last_try; then
   11739     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11740   else
   11741     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11742   fi
   11743 done
   11744 
   11745 # For the awk script, D is an array of macro values keyed by name,
   11746 # likewise P contains macro parameters if any.  Preserve backslash
   11747 # newline sequences.
   11748 
   11749 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11750 sed -n '
   11751 s/.\{148\}/&'"$ac_delim"'/g
   11752 t rset
   11753 :rset
   11754 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11755 t def
   11756 d
   11757 :def
   11758 s/\\$//
   11759 t bsnl
   11760 s/["\\]/\\&/g
   11761 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11762 D["\1"]=" \3"/p
   11763 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11764 d
   11765 :bsnl
   11766 s/["\\]/\\&/g
   11767 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11768 D["\1"]=" \3\\\\\\n"\\/p
   11769 t cont
   11770 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11771 t cont
   11772 d
   11773 :cont
   11774 n
   11775 s/.\{148\}/&'"$ac_delim"'/g
   11776 t clear
   11777 :clear
   11778 s/\\$//
   11779 t bsnlc
   11780 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11781 d
   11782 :bsnlc
   11783 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11784 b cont
   11785 ' <confdefs.h | sed '
   11786 s/'"$ac_delim"'/"\\\
   11787 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11788 
   11789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11790   for (key in D) D_is_set[key] = 1
   11791   FS = ""
   11792 }
   11793 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11794   line = \$ 0
   11795   split(line, arg, " ")
   11796   if (arg[1] == "#") {
   11797     defundef = arg[2]
   11798     mac1 = arg[3]
   11799   } else {
   11800     defundef = substr(arg[1], 2)
   11801     mac1 = arg[2]
   11802   }
   11803   split(mac1, mac2, "(") #)
   11804   macro = mac2[1]
   11805   prefix = substr(line, 1, index(line, defundef) - 1)
   11806   if (D_is_set[macro]) {
   11807     # Preserve the white space surrounding the "#".
   11808     print prefix "define", macro P[macro] D[macro]
   11809     next
   11810   } else {
   11811     # Replace #undef with comments.  This is necessary, for example,
   11812     # in the case of _POSIX_SOURCE, which is predefined and required
   11813     # on some systems where configure will not decide to define it.
   11814     if (defundef == "undef") {
   11815       print "/*", prefix defundef, macro, "*/"
   11816       next
   11817     }
   11818   }
   11819 }
   11820 { print }
   11821 _ACAWK
   11822 _ACEOF
   11823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11824   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11825 fi # test -n "$CONFIG_HEADERS"
   11826 
   11827 
   11828 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11829 shift
   11830 for ac_tag
   11831 do
   11832   case $ac_tag in
   11833   :[FHLC]) ac_mode=$ac_tag; continue;;
   11834   esac
   11835   case $ac_mode$ac_tag in
   11836   :[FHL]*:*);;
   11837   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11838   :[FH]-) ac_tag=-:-;;
   11839   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11840   esac
   11841   ac_save_IFS=$IFS
   11842   IFS=:
   11843   set x $ac_tag
   11844   IFS=$ac_save_IFS
   11845   shift
   11846   ac_file=$1
   11847   shift
   11848 
   11849   case $ac_mode in
   11850   :L) ac_source=$1;;
   11851   :[FH])
   11852     ac_file_inputs=
   11853     for ac_f
   11854     do
   11855       case $ac_f in
   11856       -) ac_f="$ac_tmp/stdin";;
   11857       *) # Look for the file first in the build tree, then in the source tree
   11858 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11859 	 # because $ac_f cannot contain `:'.
   11860 	 test -f "$ac_f" ||
   11861 	   case $ac_f in
   11862 	   [\\/$]*) false;;
   11863 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11864 	   esac ||
   11865 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11866       esac
   11867       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11868       as_fn_append ac_file_inputs " '$ac_f'"
   11869     done
   11870 
   11871     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11872     # use $as_me), people would be surprised to read:
   11873     #    /* config.h.  Generated by config.status.  */
   11874     configure_input='Generated from '`
   11875 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11876 	`' by configure.'
   11877     if test x"$ac_file" != x-; then
   11878       configure_input="$ac_file.  $configure_input"
   11879       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11880 $as_echo "$as_me: creating $ac_file" >&6;}
   11881     fi
   11882     # Neutralize special characters interpreted by sed in replacement strings.
   11883     case $configure_input in #(
   11884     *\&* | *\|* | *\\* )
   11885        ac_sed_conf_input=`$as_echo "$configure_input" |
   11886        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11887     *) ac_sed_conf_input=$configure_input;;
   11888     esac
   11889 
   11890     case $ac_tag in
   11891     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11892       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11893     esac
   11894     ;;
   11895   esac
   11896 
   11897   ac_dir=`$as_dirname -- "$ac_file" ||
   11898 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11899 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11900 	 X"$ac_file" : 'X\(//\)$' \| \
   11901 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11902 $as_echo X"$ac_file" |
   11903     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11904 	    s//\1/
   11905 	    q
   11906 	  }
   11907 	  /^X\(\/\/\)[^/].*/{
   11908 	    s//\1/
   11909 	    q
   11910 	  }
   11911 	  /^X\(\/\/\)$/{
   11912 	    s//\1/
   11913 	    q
   11914 	  }
   11915 	  /^X\(\/\).*/{
   11916 	    s//\1/
   11917 	    q
   11918 	  }
   11919 	  s/.*/./; q'`
   11920   as_dir="$ac_dir"; as_fn_mkdir_p
   11921   ac_builddir=.
   11922 
   11923 case "$ac_dir" in
   11924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11925 *)
   11926   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11927   # A ".." for each directory in $ac_dir_suffix.
   11928   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11929   case $ac_top_builddir_sub in
   11930   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11931   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11932   esac ;;
   11933 esac
   11934 ac_abs_top_builddir=$ac_pwd
   11935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11936 # for backward compatibility:
   11937 ac_top_builddir=$ac_top_build_prefix
   11938 
   11939 case $srcdir in
   11940   .)  # We are building in place.
   11941     ac_srcdir=.
   11942     ac_top_srcdir=$ac_top_builddir_sub
   11943     ac_abs_top_srcdir=$ac_pwd ;;
   11944   [\\/]* | ?:[\\/]* )  # Absolute name.
   11945     ac_srcdir=$srcdir$ac_dir_suffix;
   11946     ac_top_srcdir=$srcdir
   11947     ac_abs_top_srcdir=$srcdir ;;
   11948   *) # Relative name.
   11949     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11950     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11951     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11952 esac
   11953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11954 
   11955 
   11956   case $ac_mode in
   11957   :F)
   11958   #
   11959   # CONFIG_FILE
   11960   #
   11961 
   11962   case $INSTALL in
   11963   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11964   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11965   esac
   11966   ac_MKDIR_P=$MKDIR_P
   11967   case $MKDIR_P in
   11968   [\\/$]* | ?:[\\/]* ) ;;
   11969   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11970   esac
   11971 _ACEOF
   11972 
   11973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11974 # If the template does not know about datarootdir, expand it.
   11975 # FIXME: This hack should be removed a few years after 2.60.
   11976 ac_datarootdir_hack=; ac_datarootdir_seen=
   11977 ac_sed_dataroot='
   11978 /datarootdir/ {
   11979   p
   11980   q
   11981 }
   11982 /@datadir@/p
   11983 /@docdir@/p
   11984 /@infodir@/p
   11985 /@localedir@/p
   11986 /@mandir@/p'
   11987 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11988 *datarootdir*) ac_datarootdir_seen=yes;;
   11989 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11990   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11991 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11992 _ACEOF
   11993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11994   ac_datarootdir_hack='
   11995   s&@datadir@&$datadir&g
   11996   s&@docdir@&$docdir&g
   11997   s&@infodir@&$infodir&g
   11998   s&@localedir@&$localedir&g
   11999   s&@mandir@&$mandir&g
   12000   s&\\\${datarootdir}&$datarootdir&g' ;;
   12001 esac
   12002 _ACEOF
   12003 
   12004 # Neutralize VPATH when `$srcdir' = `.'.
   12005 # Shell code in configure.ac might set extrasub.
   12006 # FIXME: do we really want to maintain this feature?
   12007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12008 ac_sed_extra="$ac_vpsub
   12009 $extrasub
   12010 _ACEOF
   12011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12012 :t
   12013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12014 s|@configure_input@|$ac_sed_conf_input|;t t
   12015 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12016 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12017 s&@srcdir@&$ac_srcdir&;t t
   12018 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12019 s&@top_srcdir@&$ac_top_srcdir&;t t
   12020 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12021 s&@builddir@&$ac_builddir&;t t
   12022 s&@abs_builddir@&$ac_abs_builddir&;t t
   12023 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12024 s&@INSTALL@&$ac_INSTALL&;t t
   12025 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12026 $ac_datarootdir_hack
   12027 "
   12028 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12029   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12030 
   12031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12032   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12033   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12034       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12035   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12036 which seems to be undefined.  Please make sure it is defined" >&5
   12037 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12038 which seems to be undefined.  Please make sure it is defined" >&2;}
   12039 
   12040   rm -f "$ac_tmp/stdin"
   12041   case $ac_file in
   12042   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12043   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12044   esac \
   12045   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12046  ;;
   12047   :H)
   12048   #
   12049   # CONFIG_HEADER
   12050   #
   12051   if test x"$ac_file" != x-; then
   12052     {
   12053       $as_echo "/* $configure_input  */" \
   12054       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12055     } >"$ac_tmp/config.h" \
   12056       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12057     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12058       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12059 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12060     else
   12061       rm -f "$ac_file"
   12062       mv "$ac_tmp/config.h" "$ac_file" \
   12063 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12064     fi
   12065   else
   12066     $as_echo "/* $configure_input  */" \
   12067       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12068       || as_fn_error $? "could not create -" "$LINENO" 5
   12069   fi
   12070 # Compute "$ac_file"'s index in $config_headers.
   12071 _am_arg="$ac_file"
   12072 _am_stamp_count=1
   12073 for _am_header in $config_headers :; do
   12074   case $_am_header in
   12075     $_am_arg | $_am_arg:* )
   12076       break ;;
   12077     * )
   12078       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12079   esac
   12080 done
   12081 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12082 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12083 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12084 	 X"$_am_arg" : 'X\(//\)$' \| \
   12085 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12086 $as_echo X"$_am_arg" |
   12087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12088 	    s//\1/
   12089 	    q
   12090 	  }
   12091 	  /^X\(\/\/\)[^/].*/{
   12092 	    s//\1/
   12093 	    q
   12094 	  }
   12095 	  /^X\(\/\/\)$/{
   12096 	    s//\1/
   12097 	    q
   12098 	  }
   12099 	  /^X\(\/\).*/{
   12100 	    s//\1/
   12101 	    q
   12102 	  }
   12103 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12104  ;;
   12105 
   12106   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12107 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12108  ;;
   12109   esac
   12110 
   12111 
   12112   case $ac_file$ac_mode in
   12113     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12114   # Older Autoconf quotes --file arguments for eval, but not when files
   12115   # are listed without --file.  Let's play safe and only enable the eval
   12116   # if we detect the quoting.
   12117   case $CONFIG_FILES in
   12118   *\'*) eval set x "$CONFIG_FILES" ;;
   12119   *)   set x $CONFIG_FILES ;;
   12120   esac
   12121   shift
   12122   for mf
   12123   do
   12124     # Strip MF so we end up with the name of the file.
   12125     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12126     # Check whether this is an Automake generated Makefile or not.
   12127     # We used to match only the files named 'Makefile.in', but
   12128     # some people rename them; so instead we look at the file content.
   12129     # Grep'ing the first line is not enough: some people post-process
   12130     # each Makefile.in and add a new line on top of each file to say so.
   12131     # Grep'ing the whole file is not good either: AIX grep has a line
   12132     # limit of 2048, but all sed's we know have understand at least 4000.
   12133     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12134       dirpart=`$as_dirname -- "$mf" ||
   12135 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12136 	 X"$mf" : 'X\(//\)[^/]' \| \
   12137 	 X"$mf" : 'X\(//\)$' \| \
   12138 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12139 $as_echo X"$mf" |
   12140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12141 	    s//\1/
   12142 	    q
   12143 	  }
   12144 	  /^X\(\/\/\)[^/].*/{
   12145 	    s//\1/
   12146 	    q
   12147 	  }
   12148 	  /^X\(\/\/\)$/{
   12149 	    s//\1/
   12150 	    q
   12151 	  }
   12152 	  /^X\(\/\).*/{
   12153 	    s//\1/
   12154 	    q
   12155 	  }
   12156 	  s/.*/./; q'`
   12157     else
   12158       continue
   12159     fi
   12160     # Extract the definition of DEPDIR, am__include, and am__quote
   12161     # from the Makefile without running 'make'.
   12162     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12163     test -z "$DEPDIR" && continue
   12164     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12165     test -z "$am__include" && continue
   12166     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12167     # Find all dependency output files, they are included files with
   12168     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12169     # simplest approach to changing $(DEPDIR) to its actual value in the
   12170     # expansion.
   12171     for file in `sed -n "
   12172       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12173 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12174       # Make sure the directory exists.
   12175       test -f "$dirpart/$file" && continue
   12176       fdir=`$as_dirname -- "$file" ||
   12177 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12178 	 X"$file" : 'X\(//\)[^/]' \| \
   12179 	 X"$file" : 'X\(//\)$' \| \
   12180 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12181 $as_echo X"$file" |
   12182     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12183 	    s//\1/
   12184 	    q
   12185 	  }
   12186 	  /^X\(\/\/\)[^/].*/{
   12187 	    s//\1/
   12188 	    q
   12189 	  }
   12190 	  /^X\(\/\/\)$/{
   12191 	    s//\1/
   12192 	    q
   12193 	  }
   12194 	  /^X\(\/\).*/{
   12195 	    s//\1/
   12196 	    q
   12197 	  }
   12198 	  s/.*/./; q'`
   12199       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12200       # echo "creating $dirpart/$file"
   12201       echo '# dummy' > "$dirpart/$file"
   12202     done
   12203   done
   12204 }
   12205  ;;
   12206 
   12207   esac
   12208 done # for ac_tag
   12209 
   12210 
   12211 as_fn_exit 0
   12212 _ACEOF
   12213 ac_clean_files=$ac_clean_files_save
   12214 
   12215 test $ac_write_fail = 0 ||
   12216   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12217 
   12218 
   12219 # configure is writing to config.log, and then calls config.status.
   12220 # config.status does its own redirection, appending to config.log.
   12221 # Unfortunately, on DOS this fails, as config.log is still kept open
   12222 # by configure, so config.status won't be able to write to it; its
   12223 # output is simply discarded.  So we exec the FD to /dev/null,
   12224 # effectively closing config.log, so it can be properly (re)opened and
   12225 # appended to by config.status.  When coming back to configure, we
   12226 # need to make the FD available again.
   12227 if test "$no_create" != yes; then
   12228   ac_cs_success=:
   12229   ac_config_status_args=
   12230   test "$silent" = yes &&
   12231     ac_config_status_args="$ac_config_status_args --quiet"
   12232   exec 5>/dev/null
   12233   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12234   exec 5>>config.log
   12235   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12236   # would make configure fail if this is the last instruction.
   12237   $ac_cs_success || as_fn_exit 1
   12238 fi
   12239 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12240   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12241 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12242 fi
   12243 
   12244