Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for twm 1.0.8.
      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='twm'
    563 PACKAGE_TARNAME='twm'
    564 PACKAGE_VERSION='1.0.8'
    565 PACKAGE_STRING='twm 1.0.8'
    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 TWM_LIBS
    611 TWM_CFLAGS
    612 LEXLIB
    613 LEX_OUTPUT_ROOT
    614 LEX
    615 YACC_INST
    616 YFLAGS
    617 YACC
    618 MAN_SUBSTS
    619 XORG_MAN_PAGE
    620 ADMIN_MAN_DIR
    621 DRIVER_MAN_DIR
    622 MISC_MAN_DIR
    623 FILE_MAN_DIR
    624 LIB_MAN_DIR
    625 APP_MAN_DIR
    626 ADMIN_MAN_SUFFIX
    627 DRIVER_MAN_SUFFIX
    628 MISC_MAN_SUFFIX
    629 FILE_MAN_SUFFIX
    630 LIB_MAN_SUFFIX
    631 APP_MAN_SUFFIX
    632 SED
    633 host_os
    634 host_vendor
    635 host_cpu
    636 host
    637 build_os
    638 build_vendor
    639 build_cpu
    640 build
    641 INSTALL_CMD
    642 PKG_CONFIG
    643 CHANGELOG_CMD
    644 STRICT_CFLAGS
    645 CWARNFLAGS
    646 BASE_CFLAGS
    647 MAINT
    648 MAINTAINER_MODE_FALSE
    649 MAINTAINER_MODE_TRUE
    650 AM_BACKSLASH
    651 AM_DEFAULT_VERBOSITY
    652 AM_DEFAULT_V
    653 AM_V
    654 am__fastdepCC_FALSE
    655 am__fastdepCC_TRUE
    656 CCDEPMODE
    657 am__nodep
    658 AMDEPBACKSLASH
    659 AMDEP_FALSE
    660 AMDEP_TRUE
    661 am__quote
    662 am__include
    663 DEPDIR
    664 am__untar
    665 am__tar
    666 AMTAR
    667 am__leading_dot
    668 SET_MAKE
    669 AWK
    670 mkdir_p
    671 MKDIR_P
    672 INSTALL_STRIP_PROGRAM
    673 STRIP
    674 install_sh
    675 MAKEINFO
    676 AUTOHEADER
    677 AUTOMAKE
    678 AUTOCONF
    679 ACLOCAL
    680 VERSION
    681 PACKAGE
    682 CYGPATH_W
    683 am__isrc
    684 INSTALL_DATA
    685 INSTALL_SCRIPT
    686 INSTALL_PROGRAM
    687 EGREP
    688 GREP
    689 CPP
    690 OBJEXT
    691 EXEEXT
    692 ac_ct_CC
    693 CPPFLAGS
    694 LDFLAGS
    695 CFLAGS
    696 CC
    697 target_alias
    698 host_alias
    699 build_alias
    700 LIBS
    701 ECHO_T
    702 ECHO_N
    703 ECHO_C
    704 DEFS
    705 mandir
    706 localedir
    707 libdir
    708 psdir
    709 pdfdir
    710 dvidir
    711 htmldir
    712 infodir
    713 docdir
    714 oldincludedir
    715 includedir
    716 localstatedir
    717 sharedstatedir
    718 sysconfdir
    719 datadir
    720 datarootdir
    721 libexecdir
    722 sbindir
    723 bindir
    724 program_transform_name
    725 prefix
    726 exec_prefix
    727 PACKAGE_URL
    728 PACKAGE_BUGREPORT
    729 PACKAGE_STRING
    730 PACKAGE_VERSION
    731 PACKAGE_TARNAME
    732 PACKAGE_NAME
    733 PATH_SEPARATOR
    734 SHELL'
    735 ac_subst_files=''
    736 ac_user_opts='
    737 enable_option_checking
    738 enable_dependency_tracking
    739 enable_silent_rules
    740 enable_maintainer_mode
    741 enable_selective_werror
    742 enable_strict_compilation
    743 '
    744       ac_precious_vars='build_alias
    745 host_alias
    746 target_alias
    747 CC
    748 CFLAGS
    749 LDFLAGS
    750 LIBS
    751 CPPFLAGS
    752 CPP
    753 PKG_CONFIG
    754 YACC
    755 YFLAGS
    756 TWM_CFLAGS
    757 TWM_LIBS'
    758 
    759 
    760 # Initialize some variables set by options.
    761 ac_init_help=
    762 ac_init_version=false
    763 ac_unrecognized_opts=
    764 ac_unrecognized_sep=
    765 # The variables have the same names as the options, with
    766 # dashes changed to underlines.
    767 cache_file=/dev/null
    768 exec_prefix=NONE
    769 no_create=
    770 no_recursion=
    771 prefix=NONE
    772 program_prefix=NONE
    773 program_suffix=NONE
    774 program_transform_name=s,x,x,
    775 silent=
    776 site=
    777 srcdir=
    778 verbose=
    779 x_includes=NONE
    780 x_libraries=NONE
    781 
    782 # Installation directory options.
    783 # These are left unexpanded so users can "make install exec_prefix=/foo"
    784 # and all the variables that are supposed to be based on exec_prefix
    785 # by default will actually change.
    786 # Use braces instead of parens because sh, perl, etc. also accept them.
    787 # (The list follows the same order as the GNU Coding Standards.)
    788 bindir='${exec_prefix}/bin'
    789 sbindir='${exec_prefix}/sbin'
    790 libexecdir='${exec_prefix}/libexec'
    791 datarootdir='${prefix}/share'
    792 datadir='${datarootdir}'
    793 sysconfdir='${prefix}/etc'
    794 sharedstatedir='${prefix}/com'
    795 localstatedir='${prefix}/var'
    796 includedir='${prefix}/include'
    797 oldincludedir='/usr/include'
    798 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    799 infodir='${datarootdir}/info'
    800 htmldir='${docdir}'
    801 dvidir='${docdir}'
    802 pdfdir='${docdir}'
    803 psdir='${docdir}'
    804 libdir='${exec_prefix}/lib'
    805 localedir='${datarootdir}/locale'
    806 mandir='${datarootdir}/man'
    807 
    808 ac_prev=
    809 ac_dashdash=
    810 for ac_option
    811 do
    812   # If the previous option needs an argument, assign it.
    813   if test -n "$ac_prev"; then
    814     eval $ac_prev=\$ac_option
    815     ac_prev=
    816     continue
    817   fi
    818 
    819   case $ac_option in
    820   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    821   *=)   ac_optarg= ;;
    822   *)    ac_optarg=yes ;;
    823   esac
    824 
    825   # Accept the important Cygnus configure options, so we can diagnose typos.
    826 
    827   case $ac_dashdash$ac_option in
    828   --)
    829     ac_dashdash=yes ;;
    830 
    831   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    832     ac_prev=bindir ;;
    833   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    834     bindir=$ac_optarg ;;
    835 
    836   -build | --build | --buil | --bui | --bu)
    837     ac_prev=build_alias ;;
    838   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    839     build_alias=$ac_optarg ;;
    840 
    841   -cache-file | --cache-file | --cache-fil | --cache-fi \
    842   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    843     ac_prev=cache_file ;;
    844   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    845   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    846     cache_file=$ac_optarg ;;
    847 
    848   --config-cache | -C)
    849     cache_file=config.cache ;;
    850 
    851   -datadir | --datadir | --datadi | --datad)
    852     ac_prev=datadir ;;
    853   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    854     datadir=$ac_optarg ;;
    855 
    856   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    857   | --dataroo | --dataro | --datar)
    858     ac_prev=datarootdir ;;
    859   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    860   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    861     datarootdir=$ac_optarg ;;
    862 
    863   -disable-* | --disable-*)
    864     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    865     # Reject names that are not valid shell variable names.
    866     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    867       as_fn_error $? "invalid feature name: $ac_useropt"
    868     ac_useropt_orig=$ac_useropt
    869     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    870     case $ac_user_opts in
    871       *"
    872 "enable_$ac_useropt"
    873 "*) ;;
    874       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    875 	 ac_unrecognized_sep=', ';;
    876     esac
    877     eval enable_$ac_useropt=no ;;
    878 
    879   -docdir | --docdir | --docdi | --doc | --do)
    880     ac_prev=docdir ;;
    881   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    882     docdir=$ac_optarg ;;
    883 
    884   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    885     ac_prev=dvidir ;;
    886   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    887     dvidir=$ac_optarg ;;
    888 
    889   -enable-* | --enable-*)
    890     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    891     # Reject names that are not valid shell variable names.
    892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    893       as_fn_error $? "invalid feature name: $ac_useropt"
    894     ac_useropt_orig=$ac_useropt
    895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    896     case $ac_user_opts in
    897       *"
    898 "enable_$ac_useropt"
    899 "*) ;;
    900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    901 	 ac_unrecognized_sep=', ';;
    902     esac
    903     eval enable_$ac_useropt=\$ac_optarg ;;
    904 
    905   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    906   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    907   | --exec | --exe | --ex)
    908     ac_prev=exec_prefix ;;
    909   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    910   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    911   | --exec=* | --exe=* | --ex=*)
    912     exec_prefix=$ac_optarg ;;
    913 
    914   -gas | --gas | --ga | --g)
    915     # Obsolete; use --with-gas.
    916     with_gas=yes ;;
    917 
    918   -help | --help | --hel | --he | -h)
    919     ac_init_help=long ;;
    920   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    921     ac_init_help=recursive ;;
    922   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    923     ac_init_help=short ;;
    924 
    925   -host | --host | --hos | --ho)
    926     ac_prev=host_alias ;;
    927   -host=* | --host=* | --hos=* | --ho=*)
    928     host_alias=$ac_optarg ;;
    929 
    930   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    931     ac_prev=htmldir ;;
    932   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    933   | --ht=*)
    934     htmldir=$ac_optarg ;;
    935 
    936   -includedir | --includedir | --includedi | --included | --include \
    937   | --includ | --inclu | --incl | --inc)
    938     ac_prev=includedir ;;
    939   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    940   | --includ=* | --inclu=* | --incl=* | --inc=*)
    941     includedir=$ac_optarg ;;
    942 
    943   -infodir | --infodir | --infodi | --infod | --info | --inf)
    944     ac_prev=infodir ;;
    945   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    946     infodir=$ac_optarg ;;
    947 
    948   -libdir | --libdir | --libdi | --libd)
    949     ac_prev=libdir ;;
    950   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    951     libdir=$ac_optarg ;;
    952 
    953   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    954   | --libexe | --libex | --libe)
    955     ac_prev=libexecdir ;;
    956   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    957   | --libexe=* | --libex=* | --libe=*)
    958     libexecdir=$ac_optarg ;;
    959 
    960   -localedir | --localedir | --localedi | --localed | --locale)
    961     ac_prev=localedir ;;
    962   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    963     localedir=$ac_optarg ;;
    964 
    965   -localstatedir | --localstatedir | --localstatedi | --localstated \
    966   | --localstate | --localstat | --localsta | --localst | --locals)
    967     ac_prev=localstatedir ;;
    968   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    969   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    970     localstatedir=$ac_optarg ;;
    971 
    972   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    973     ac_prev=mandir ;;
    974   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    975     mandir=$ac_optarg ;;
    976 
    977   -nfp | --nfp | --nf)
    978     # Obsolete; use --without-fp.
    979     with_fp=no ;;
    980 
    981   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    982   | --no-cr | --no-c | -n)
    983     no_create=yes ;;
    984 
    985   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    986   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    987     no_recursion=yes ;;
    988 
    989   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    990   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    991   | --oldin | --oldi | --old | --ol | --o)
    992     ac_prev=oldincludedir ;;
    993   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    994   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    995   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    996     oldincludedir=$ac_optarg ;;
    997 
    998   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    999     ac_prev=prefix ;;
   1000   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1001     prefix=$ac_optarg ;;
   1002 
   1003   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1004   | --program-pre | --program-pr | --program-p)
   1005     ac_prev=program_prefix ;;
   1006   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1007   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1008     program_prefix=$ac_optarg ;;
   1009 
   1010   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1011   | --program-suf | --program-su | --program-s)
   1012     ac_prev=program_suffix ;;
   1013   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1014   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1015     program_suffix=$ac_optarg ;;
   1016 
   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     ac_prev=program_transform_name ;;
   1025   -program-transform-name=* | --program-transform-name=* \
   1026   | --program-transform-nam=* | --program-transform-na=* \
   1027   | --program-transform-n=* | --program-transform-=* \
   1028   | --program-transform=* | --program-transfor=* \
   1029   | --program-transfo=* | --program-transf=* \
   1030   | --program-trans=* | --program-tran=* \
   1031   | --progr-tra=* | --program-tr=* | --program-t=*)
   1032     program_transform_name=$ac_optarg ;;
   1033 
   1034   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1035     ac_prev=pdfdir ;;
   1036   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1037     pdfdir=$ac_optarg ;;
   1038 
   1039   -psdir | --psdir | --psdi | --psd | --ps)
   1040     ac_prev=psdir ;;
   1041   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1042     psdir=$ac_optarg ;;
   1043 
   1044   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1045   | -silent | --silent | --silen | --sile | --sil)
   1046     silent=yes ;;
   1047 
   1048   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1049     ac_prev=sbindir ;;
   1050   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1051   | --sbi=* | --sb=*)
   1052     sbindir=$ac_optarg ;;
   1053 
   1054   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1055   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1056   | --sharedst | --shareds | --shared | --share | --shar \
   1057   | --sha | --sh)
   1058     ac_prev=sharedstatedir ;;
   1059   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1060   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1061   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1062   | --sha=* | --sh=*)
   1063     sharedstatedir=$ac_optarg ;;
   1064 
   1065   -site | --site | --sit)
   1066     ac_prev=site ;;
   1067   -site=* | --site=* | --sit=*)
   1068     site=$ac_optarg ;;
   1069 
   1070   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1071     ac_prev=srcdir ;;
   1072   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1073     srcdir=$ac_optarg ;;
   1074 
   1075   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1076   | --syscon | --sysco | --sysc | --sys | --sy)
   1077     ac_prev=sysconfdir ;;
   1078   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1079   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1080     sysconfdir=$ac_optarg ;;
   1081 
   1082   -target | --target | --targe | --targ | --tar | --ta | --t)
   1083     ac_prev=target_alias ;;
   1084   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1085     target_alias=$ac_optarg ;;
   1086 
   1087   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1088     verbose=yes ;;
   1089 
   1090   -version | --version | --versio | --versi | --vers | -V)
   1091     ac_init_version=: ;;
   1092 
   1093   -with-* | --with-*)
   1094     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1095     # Reject names that are not valid shell variable names.
   1096     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1097       as_fn_error $? "invalid package name: $ac_useropt"
   1098     ac_useropt_orig=$ac_useropt
   1099     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1100     case $ac_user_opts in
   1101       *"
   1102 "with_$ac_useropt"
   1103 "*) ;;
   1104       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1105 	 ac_unrecognized_sep=', ';;
   1106     esac
   1107     eval with_$ac_useropt=\$ac_optarg ;;
   1108 
   1109   -without-* | --without-*)
   1110     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1111     # Reject names that are not valid shell variable names.
   1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1113       as_fn_error $? "invalid package name: $ac_useropt"
   1114     ac_useropt_orig=$ac_useropt
   1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1116     case $ac_user_opts in
   1117       *"
   1118 "with_$ac_useropt"
   1119 "*) ;;
   1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1121 	 ac_unrecognized_sep=', ';;
   1122     esac
   1123     eval with_$ac_useropt=no ;;
   1124 
   1125   --x)
   1126     # Obsolete; use --with-x.
   1127     with_x=yes ;;
   1128 
   1129   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1130   | --x-incl | --x-inc | --x-in | --x-i)
   1131     ac_prev=x_includes ;;
   1132   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1133   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1134     x_includes=$ac_optarg ;;
   1135 
   1136   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1137   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1138     ac_prev=x_libraries ;;
   1139   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1140   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1141     x_libraries=$ac_optarg ;;
   1142 
   1143   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1144 Try \`$0 --help' for more information"
   1145     ;;
   1146 
   1147   *=*)
   1148     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1149     # Reject names that are not valid shell variable names.
   1150     case $ac_envvar in #(
   1151       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1152       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1153     esac
   1154     eval $ac_envvar=\$ac_optarg
   1155     export $ac_envvar ;;
   1156 
   1157   *)
   1158     # FIXME: should be removed in autoconf 3.0.
   1159     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1160     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1161       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1162     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1163     ;;
   1164 
   1165   esac
   1166 done
   1167 
   1168 if test -n "$ac_prev"; then
   1169   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1170   as_fn_error $? "missing argument to $ac_option"
   1171 fi
   1172 
   1173 if test -n "$ac_unrecognized_opts"; then
   1174   case $enable_option_checking in
   1175     no) ;;
   1176     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1177     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1178   esac
   1179 fi
   1180 
   1181 # Check all directory arguments for consistency.
   1182 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1183 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1184 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1185 		libdir localedir mandir
   1186 do
   1187   eval ac_val=\$$ac_var
   1188   # Remove trailing slashes.
   1189   case $ac_val in
   1190     */ )
   1191       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1192       eval $ac_var=\$ac_val;;
   1193   esac
   1194   # Be sure to have absolute directory names.
   1195   case $ac_val in
   1196     [\\/$]* | ?:[\\/]* )  continue;;
   1197     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1198   esac
   1199   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1200 done
   1201 
   1202 # There might be people who depend on the old broken behavior: `$host'
   1203 # used to hold the argument of --host etc.
   1204 # FIXME: To remove some day.
   1205 build=$build_alias
   1206 host=$host_alias
   1207 target=$target_alias
   1208 
   1209 # FIXME: To remove some day.
   1210 if test "x$host_alias" != x; then
   1211   if test "x$build_alias" = x; then
   1212     cross_compiling=maybe
   1213     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1214     If a cross compiler is detected then cross compile mode will be used" >&2
   1215   elif test "x$build_alias" != "x$host_alias"; then
   1216     cross_compiling=yes
   1217   fi
   1218 fi
   1219 
   1220 ac_tool_prefix=
   1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1222 
   1223 test "$silent" = yes && exec 6>/dev/null
   1224 
   1225 
   1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1227 ac_ls_di=`ls -di .` &&
   1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1229   as_fn_error $? "working directory cannot be determined"
   1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1231   as_fn_error $? "pwd does not report name of working directory"
   1232 
   1233 
   1234 # Find the source files, if location was not specified.
   1235 if test -z "$srcdir"; then
   1236   ac_srcdir_defaulted=yes
   1237   # Try the directory containing this script, then the parent directory.
   1238   ac_confdir=`$as_dirname -- "$as_myself" ||
   1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1240 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1241 	 X"$as_myself" : 'X\(//\)$' \| \
   1242 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1243 $as_echo X"$as_myself" |
   1244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\/\)[^/].*/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  /^X\(\/\/\)$/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\).*/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  s/.*/./; q'`
   1261   srcdir=$ac_confdir
   1262   if test ! -r "$srcdir/$ac_unique_file"; then
   1263     srcdir=..
   1264   fi
   1265 else
   1266   ac_srcdir_defaulted=no
   1267 fi
   1268 if test ! -r "$srcdir/$ac_unique_file"; then
   1269   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1270   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1271 fi
   1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1273 ac_abs_confdir=`(
   1274 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1275 	pwd)`
   1276 # When building in place, set srcdir=.
   1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1278   srcdir=.
   1279 fi
   1280 # Remove unnecessary trailing slashes from srcdir.
   1281 # Double slashes in file names in object file debugging info
   1282 # mess up M-x gdb in Emacs.
   1283 case $srcdir in
   1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1285 esac
   1286 for ac_var in $ac_precious_vars; do
   1287   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_env_${ac_var}_value=\$${ac_var}
   1289   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1290   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1291 done
   1292 
   1293 #
   1294 # Report the --help message.
   1295 #
   1296 if test "$ac_init_help" = "long"; then
   1297   # Omit some internal or obsolete options to make the list less imposing.
   1298   # This message is too long to be a string in the A/UX 3.1 sh.
   1299   cat <<_ACEOF
   1300 \`configure' configures twm 1.0.8 to adapt to many kinds of systems.
   1301 
   1302 Usage: $0 [OPTION]... [VAR=VALUE]...
   1303 
   1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1305 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1306 
   1307 Defaults for the options are specified in brackets.
   1308 
   1309 Configuration:
   1310   -h, --help              display this help and exit
   1311       --help=short        display options specific to this package
   1312       --help=recursive    display the short help of all the included packages
   1313   -V, --version           display version information and exit
   1314   -q, --quiet, --silent   do not print \`checking ...' messages
   1315       --cache-file=FILE   cache test results in FILE [disabled]
   1316   -C, --config-cache      alias for \`--cache-file=config.cache'
   1317   -n, --no-create         do not create output files
   1318       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1319 
   1320 Installation directories:
   1321   --prefix=PREFIX         install architecture-independent files in PREFIX
   1322                           [$ac_default_prefix]
   1323   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1324                           [PREFIX]
   1325 
   1326 By default, \`make install' will install all the files in
   1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1329 for instance \`--prefix=\$HOME'.
   1330 
   1331 For better control, use the options below.
   1332 
   1333 Fine tuning of the installation directories:
   1334   --bindir=DIR            user executables [EPREFIX/bin]
   1335   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1336   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1337   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1338   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1339   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1340   --libdir=DIR            object code libraries [EPREFIX/lib]
   1341   --includedir=DIR        C header files [PREFIX/include]
   1342   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1343   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1344   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1345   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1346   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1347   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1348   --docdir=DIR            documentation root [DATAROOTDIR/doc/twm]
   1349   --htmldir=DIR           html documentation [DOCDIR]
   1350   --dvidir=DIR            dvi documentation [DOCDIR]
   1351   --pdfdir=DIR            pdf documentation [DOCDIR]
   1352   --psdir=DIR             ps documentation [DOCDIR]
   1353 _ACEOF
   1354 
   1355   cat <<\_ACEOF
   1356 
   1357 Program names:
   1358   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1359   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1360   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1361 
   1362 System types:
   1363   --build=BUILD     configure for building on BUILD [guessed]
   1364   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1365 _ACEOF
   1366 fi
   1367 
   1368 if test -n "$ac_init_help"; then
   1369   case $ac_init_help in
   1370      short | recursive ) echo "Configuration of twm 1.0.8:";;
   1371    esac
   1372   cat <<\_ACEOF
   1373 
   1374 Optional Features:
   1375   --disable-option-checking  ignore unrecognized --enable/--with options
   1376   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1377   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1378   --enable-dependency-tracking
   1379                           do not reject slow dependency extractors
   1380   --disable-dependency-tracking
   1381                           speeds up one-time build
   1382   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1383   --disable-silent-rules  verbose build output (undo: "make V=0")
   1384   --enable-maintainer-mode
   1385                           enable make rules and dependencies not useful (and
   1386                           sometimes confusing) to the casual installer
   1387   --disable-selective-werror
   1388                           Turn off selective compiler errors. (default:
   1389                           enabled)
   1390   --enable-strict-compilation
   1391                           Enable all warnings from compiler and make them
   1392                           errors (default: disabled)
   1393 
   1394 Some influential environment variables:
   1395   CC          C compiler command
   1396   CFLAGS      C compiler flags
   1397   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1398               nonstandard directory <lib dir>
   1399   LIBS        libraries to pass to the linker, e.g. -l<library>
   1400   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1401               you have headers in a nonstandard directory <include dir>
   1402   CPP         C preprocessor
   1403   PKG_CONFIG  path to pkg-config utility
   1404   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1405               Defaults to the first program found out of: `bison -y', `byacc',
   1406               `yacc'.
   1407   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1408               This script will default YFLAGS to the empty string to avoid a
   1409               default value of `-d' given by some make applications.
   1410   TWM_CFLAGS  C compiler flags for TWM, overriding pkg-config
   1411   TWM_LIBS    linker flags for TWM, overriding pkg-config
   1412 
   1413 Use these variables to override the choices made by `configure' or to help
   1414 it to find libraries and programs with nonstandard names/locations.
   1415 
   1416 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1417 _ACEOF
   1418 ac_status=$?
   1419 fi
   1420 
   1421 if test "$ac_init_help" = "recursive"; then
   1422   # If there are subdirs, report their specific --help.
   1423   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1424     test -d "$ac_dir" ||
   1425       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1426       continue
   1427     ac_builddir=.
   1428 
   1429 case "$ac_dir" in
   1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1431 *)
   1432   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1433   # A ".." for each directory in $ac_dir_suffix.
   1434   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1435   case $ac_top_builddir_sub in
   1436   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1437   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1438   esac ;;
   1439 esac
   1440 ac_abs_top_builddir=$ac_pwd
   1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1442 # for backward compatibility:
   1443 ac_top_builddir=$ac_top_build_prefix
   1444 
   1445 case $srcdir in
   1446   .)  # We are building in place.
   1447     ac_srcdir=.
   1448     ac_top_srcdir=$ac_top_builddir_sub
   1449     ac_abs_top_srcdir=$ac_pwd ;;
   1450   [\\/]* | ?:[\\/]* )  # Absolute name.
   1451     ac_srcdir=$srcdir$ac_dir_suffix;
   1452     ac_top_srcdir=$srcdir
   1453     ac_abs_top_srcdir=$srcdir ;;
   1454   *) # Relative name.
   1455     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1456     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1457     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1458 esac
   1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1460 
   1461     cd "$ac_dir" || { ac_status=$?; continue; }
   1462     # Check for guested configure.
   1463     if test -f "$ac_srcdir/configure.gnu"; then
   1464       echo &&
   1465       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1466     elif test -f "$ac_srcdir/configure"; then
   1467       echo &&
   1468       $SHELL "$ac_srcdir/configure" --help=recursive
   1469     else
   1470       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1471     fi || ac_status=$?
   1472     cd "$ac_pwd" || { ac_status=$?; break; }
   1473   done
   1474 fi
   1475 
   1476 test -n "$ac_init_help" && exit $ac_status
   1477 if $ac_init_version; then
   1478   cat <<\_ACEOF
   1479 twm configure 1.0.8
   1480 generated by GNU Autoconf 2.68
   1481 
   1482 Copyright (C) 2010 Free Software Foundation, Inc.
   1483 This configure script is free software; the Free Software Foundation
   1484 gives unlimited permission to copy, distribute and modify it.
   1485 _ACEOF
   1486   exit
   1487 fi
   1488 
   1489 ## ------------------------ ##
   1490 ## Autoconf initialization. ##
   1491 ## ------------------------ ##
   1492 
   1493 # ac_fn_c_try_compile LINENO
   1494 # --------------------------
   1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1496 ac_fn_c_try_compile ()
   1497 {
   1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1499   rm -f conftest.$ac_objext
   1500   if { { ac_try="$ac_compile"
   1501 case "(($ac_try" in
   1502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1503   *) ac_try_echo=$ac_try;;
   1504 esac
   1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1506 $as_echo "$ac_try_echo"; } >&5
   1507   (eval "$ac_compile") 2>conftest.err
   1508   ac_status=$?
   1509   if test -s conftest.err; then
   1510     grep -v '^ *+' conftest.err >conftest.er1
   1511     cat conftest.er1 >&5
   1512     mv -f conftest.er1 conftest.err
   1513   fi
   1514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1515   test $ac_status = 0; } && {
   1516 	 test -z "$ac_c_werror_flag" ||
   1517 	 test ! -s conftest.err
   1518        } && test -s conftest.$ac_objext; then :
   1519   ac_retval=0
   1520 else
   1521   $as_echo "$as_me: failed program was:" >&5
   1522 sed 's/^/| /' conftest.$ac_ext >&5
   1523 
   1524 	ac_retval=1
   1525 fi
   1526   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1527   as_fn_set_status $ac_retval
   1528 
   1529 } # ac_fn_c_try_compile
   1530 
   1531 # ac_fn_c_try_cpp LINENO
   1532 # ----------------------
   1533 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1534 ac_fn_c_try_cpp ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1538 case "(($ac_try" in
   1539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1540   *) ac_try_echo=$ac_try;;
   1541 esac
   1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1543 $as_echo "$ac_try_echo"; } >&5
   1544   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1545   ac_status=$?
   1546   if test -s conftest.err; then
   1547     grep -v '^ *+' conftest.err >conftest.er1
   1548     cat conftest.er1 >&5
   1549     mv -f conftest.er1 conftest.err
   1550   fi
   1551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1552   test $ac_status = 0; } > conftest.i && {
   1553 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1554 	 test ! -s conftest.err
   1555        }; then :
   1556   ac_retval=0
   1557 else
   1558   $as_echo "$as_me: failed program was:" >&5
   1559 sed 's/^/| /' conftest.$ac_ext >&5
   1560 
   1561     ac_retval=1
   1562 fi
   1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1564   as_fn_set_status $ac_retval
   1565 
   1566 } # ac_fn_c_try_cpp
   1567 
   1568 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1569 # -------------------------------------------------------
   1570 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1571 # the include files in INCLUDES and setting the cache variable VAR
   1572 # accordingly.
   1573 ac_fn_c_check_header_mongrel ()
   1574 {
   1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1576   if eval \${$3+:} false; then :
   1577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1578 $as_echo_n "checking for $2... " >&6; }
   1579 if eval \${$3+:} false; then :
   1580   $as_echo_n "(cached) " >&6
   1581 fi
   1582 eval ac_res=\$$3
   1583 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1584 $as_echo "$ac_res" >&6; }
   1585 else
   1586   # Is the header compilable?
   1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1588 $as_echo_n "checking $2 usability... " >&6; }
   1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1590 /* end confdefs.h.  */
   1591 $4
   1592 #include <$2>
   1593 _ACEOF
   1594 if ac_fn_c_try_compile "$LINENO"; then :
   1595   ac_header_compiler=yes
   1596 else
   1597   ac_header_compiler=no
   1598 fi
   1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1601 $as_echo "$ac_header_compiler" >&6; }
   1602 
   1603 # Is the header present?
   1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1605 $as_echo_n "checking $2 presence... " >&6; }
   1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1607 /* end confdefs.h.  */
   1608 #include <$2>
   1609 _ACEOF
   1610 if ac_fn_c_try_cpp "$LINENO"; then :
   1611   ac_header_preproc=yes
   1612 else
   1613   ac_header_preproc=no
   1614 fi
   1615 rm -f conftest.err conftest.i conftest.$ac_ext
   1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1617 $as_echo "$ac_header_preproc" >&6; }
   1618 
   1619 # So?  What about this header?
   1620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1621   yes:no: )
   1622     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1623 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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     ;;
   1627   no:yes:* )
   1628     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1629 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1630     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1631 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1633 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1634     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1635 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1637 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1638 ( $as_echo "## ---------------------------------------------------------------------- ##
   1639 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1640 ## ---------------------------------------------------------------------- ##"
   1641      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1642     ;;
   1643 esac
   1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1645 $as_echo_n "checking for $2... " >&6; }
   1646 if eval \${$3+:} false; then :
   1647   $as_echo_n "(cached) " >&6
   1648 else
   1649   eval "$3=\$ac_header_compiler"
   1650 fi
   1651 eval ac_res=\$$3
   1652 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1653 $as_echo "$ac_res" >&6; }
   1654 fi
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656 
   1657 } # ac_fn_c_check_header_mongrel
   1658 
   1659 # ac_fn_c_try_run LINENO
   1660 # ----------------------
   1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1662 # that executables *can* be run.
   1663 ac_fn_c_try_run ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   if { { ac_try="$ac_link"
   1667 case "(($ac_try" in
   1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1669   *) ac_try_echo=$ac_try;;
   1670 esac
   1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1672 $as_echo "$ac_try_echo"; } >&5
   1673   (eval "$ac_link") 2>&5
   1674   ac_status=$?
   1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1676   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1677   { { case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_try") 2>&5
   1684   ac_status=$?
   1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; }; }; then :
   1687   ac_retval=0
   1688 else
   1689   $as_echo "$as_me: program exited with status $ac_status" >&5
   1690        $as_echo "$as_me: failed program was:" >&5
   1691 sed 's/^/| /' conftest.$ac_ext >&5
   1692 
   1693        ac_retval=$ac_status
   1694 fi
   1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697   as_fn_set_status $ac_retval
   1698 
   1699 } # ac_fn_c_try_run
   1700 
   1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1702 # -------------------------------------------------------
   1703 # Tests whether HEADER exists and can be compiled using the include files in
   1704 # INCLUDES, setting the cache variable VAR accordingly.
   1705 ac_fn_c_check_header_compile ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1709 $as_echo_n "checking for $2... " >&6; }
   1710 if eval \${$3+:} false; then :
   1711   $as_echo_n "(cached) " >&6
   1712 else
   1713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1714 /* end confdefs.h.  */
   1715 $4
   1716 #include <$2>
   1717 _ACEOF
   1718 if ac_fn_c_try_compile "$LINENO"; then :
   1719   eval "$3=yes"
   1720 else
   1721   eval "$3=no"
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1724 fi
   1725 eval ac_res=\$$3
   1726 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1727 $as_echo "$ac_res" >&6; }
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729 
   1730 } # ac_fn_c_check_header_compile
   1731 
   1732 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1733 # ---------------------------------------------
   1734 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1735 # accordingly.
   1736 ac_fn_c_check_decl ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1740   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1742 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1743 if eval \${$3+:} false; then :
   1744   $as_echo_n "(cached) " >&6
   1745 else
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 $4
   1749 int
   1750 main ()
   1751 {
   1752 #ifndef $as_decl_name
   1753 #ifdef __cplusplus
   1754   (void) $as_decl_use;
   1755 #else
   1756   (void) $as_decl_name;
   1757 #endif
   1758 #endif
   1759 
   1760   ;
   1761   return 0;
   1762 }
   1763 _ACEOF
   1764 if ac_fn_c_try_compile "$LINENO"; then :
   1765   eval "$3=yes"
   1766 else
   1767   eval "$3=no"
   1768 fi
   1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1770 fi
   1771 eval ac_res=\$$3
   1772 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1773 $as_echo "$ac_res" >&6; }
   1774   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1775 
   1776 } # ac_fn_c_check_decl
   1777 
   1778 # ac_fn_c_try_link LINENO
   1779 # -----------------------
   1780 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1781 ac_fn_c_try_link ()
   1782 {
   1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1784   rm -f conftest.$ac_objext conftest$ac_exeext
   1785   if { { ac_try="$ac_link"
   1786 case "(($ac_try" in
   1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1788   *) ac_try_echo=$ac_try;;
   1789 esac
   1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1791 $as_echo "$ac_try_echo"; } >&5
   1792   (eval "$ac_link") 2>conftest.err
   1793   ac_status=$?
   1794   if test -s conftest.err; then
   1795     grep -v '^ *+' conftest.err >conftest.er1
   1796     cat conftest.er1 >&5
   1797     mv -f conftest.er1 conftest.err
   1798   fi
   1799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1800   test $ac_status = 0; } && {
   1801 	 test -z "$ac_c_werror_flag" ||
   1802 	 test ! -s conftest.err
   1803        } && test -s conftest$ac_exeext && {
   1804 	 test "$cross_compiling" = yes ||
   1805 	 $as_test_x conftest$ac_exeext
   1806        }; then :
   1807   ac_retval=0
   1808 else
   1809   $as_echo "$as_me: failed program was:" >&5
   1810 sed 's/^/| /' conftest.$ac_ext >&5
   1811 
   1812 	ac_retval=1
   1813 fi
   1814   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1815   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1816   # interfere with the next link command; also delete a directory that is
   1817   # left behind by Apple's compiler.  We do this before executing the actions.
   1818   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820   as_fn_set_status $ac_retval
   1821 
   1822 } # ac_fn_c_try_link
   1823 
   1824 # ac_fn_c_check_func LINENO FUNC VAR
   1825 # ----------------------------------
   1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1827 ac_fn_c_check_func ()
   1828 {
   1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1831 $as_echo_n "checking for $2... " >&6; }
   1832 if eval \${$3+:} false; then :
   1833   $as_echo_n "(cached) " >&6
   1834 else
   1835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1836 /* end confdefs.h.  */
   1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1839 #define $2 innocuous_$2
   1840 
   1841 /* System header to define __stub macros and hopefully few prototypes,
   1842     which can conflict with char $2 (); below.
   1843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1844     <limits.h> exists even on freestanding compilers.  */
   1845 
   1846 #ifdef __STDC__
   1847 # include <limits.h>
   1848 #else
   1849 # include <assert.h>
   1850 #endif
   1851 
   1852 #undef $2
   1853 
   1854 /* Override any GCC internal prototype to avoid an error.
   1855    Use char because int might match the return type of a GCC
   1856    builtin and then its argument prototype would still apply.  */
   1857 #ifdef __cplusplus
   1858 extern "C"
   1859 #endif
   1860 char $2 ();
   1861 /* The GNU C library defines this for functions which it implements
   1862     to always fail with ENOSYS.  Some functions are actually named
   1863     something starting with __ and the normal name is an alias.  */
   1864 #if defined __stub_$2 || defined __stub___$2
   1865 choke me
   1866 #endif
   1867 
   1868 int
   1869 main ()
   1870 {
   1871 return $2 ();
   1872   ;
   1873   return 0;
   1874 }
   1875 _ACEOF
   1876 if ac_fn_c_try_link "$LINENO"; then :
   1877   eval "$3=yes"
   1878 else
   1879   eval "$3=no"
   1880 fi
   1881 rm -f core conftest.err conftest.$ac_objext \
   1882     conftest$ac_exeext conftest.$ac_ext
   1883 fi
   1884 eval ac_res=\$$3
   1885 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1886 $as_echo "$ac_res" >&6; }
   1887   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1888 
   1889 } # ac_fn_c_check_func
   1890 cat >config.log <<_ACEOF
   1891 This file contains any messages produced by compilers while
   1892 running configure, to aid debugging if configure makes a mistake.
   1893 
   1894 It was created by twm $as_me 1.0.8, which was
   1895 generated by GNU Autoconf 2.68.  Invocation command line was
   1896 
   1897   $ $0 $@
   1898 
   1899 _ACEOF
   1900 exec 5>>config.log
   1901 {
   1902 cat <<_ASUNAME
   1903 ## --------- ##
   1904 ## Platform. ##
   1905 ## --------- ##
   1906 
   1907 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1908 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1909 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1910 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1911 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1912 
   1913 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1914 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1915 
   1916 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1917 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1918 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1919 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1920 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1921 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1922 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1923 
   1924 _ASUNAME
   1925 
   1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1927 for as_dir in $PATH
   1928 do
   1929   IFS=$as_save_IFS
   1930   test -z "$as_dir" && as_dir=.
   1931     $as_echo "PATH: $as_dir"
   1932   done
   1933 IFS=$as_save_IFS
   1934 
   1935 } >&5
   1936 
   1937 cat >&5 <<_ACEOF
   1938 
   1939 
   1940 ## ----------- ##
   1941 ## Core tests. ##
   1942 ## ----------- ##
   1943 
   1944 _ACEOF
   1945 
   1946 
   1947 # Keep a trace of the command line.
   1948 # Strip out --no-create and --no-recursion so they do not pile up.
   1949 # Strip out --silent because we don't want to record it for future runs.
   1950 # Also quote any args containing shell meta-characters.
   1951 # Make two passes to allow for proper duplicate-argument suppression.
   1952 ac_configure_args=
   1953 ac_configure_args0=
   1954 ac_configure_args1=
   1955 ac_must_keep_next=false
   1956 for ac_pass in 1 2
   1957 do
   1958   for ac_arg
   1959   do
   1960     case $ac_arg in
   1961     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1962     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1963     | -silent | --silent | --silen | --sile | --sil)
   1964       continue ;;
   1965     *\'*)
   1966       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1967     esac
   1968     case $ac_pass in
   1969     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1970     2)
   1971       as_fn_append ac_configure_args1 " '$ac_arg'"
   1972       if test $ac_must_keep_next = true; then
   1973 	ac_must_keep_next=false # Got value, back to normal.
   1974       else
   1975 	case $ac_arg in
   1976 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1977 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1978 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1979 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1980 	    case "$ac_configure_args0 " in
   1981 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1982 	    esac
   1983 	    ;;
   1984 	  -* ) ac_must_keep_next=true ;;
   1985 	esac
   1986       fi
   1987       as_fn_append ac_configure_args " '$ac_arg'"
   1988       ;;
   1989     esac
   1990   done
   1991 done
   1992 { ac_configure_args0=; unset ac_configure_args0;}
   1993 { ac_configure_args1=; unset ac_configure_args1;}
   1994 
   1995 # When interrupted or exit'd, cleanup temporary files, and complete
   1996 # config.log.  We remove comments because anyway the quotes in there
   1997 # would cause problems or look ugly.
   1998 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1999 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2000 trap 'exit_status=$?
   2001   # Save into config.log some information that might help in debugging.
   2002   {
   2003     echo
   2004 
   2005     $as_echo "## ---------------- ##
   2006 ## Cache variables. ##
   2007 ## ---------------- ##"
   2008     echo
   2009     # The following way of writing the cache mishandles newlines in values,
   2010 (
   2011   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2012     eval ac_val=\$$ac_var
   2013     case $ac_val in #(
   2014     *${as_nl}*)
   2015       case $ac_var in #(
   2016       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2017 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2018       esac
   2019       case $ac_var in #(
   2020       _ | IFS | as_nl) ;; #(
   2021       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2022       *) { eval $ac_var=; unset $ac_var;} ;;
   2023       esac ;;
   2024     esac
   2025   done
   2026   (set) 2>&1 |
   2027     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2028     *${as_nl}ac_space=\ *)
   2029       sed -n \
   2030 	"s/'\''/'\''\\\\'\'''\''/g;
   2031 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2032       ;; #(
   2033     *)
   2034       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2035       ;;
   2036     esac |
   2037     sort
   2038 )
   2039     echo
   2040 
   2041     $as_echo "## ----------------- ##
   2042 ## Output variables. ##
   2043 ## ----------------- ##"
   2044     echo
   2045     for ac_var in $ac_subst_vars
   2046     do
   2047       eval ac_val=\$$ac_var
   2048       case $ac_val in
   2049       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2050       esac
   2051       $as_echo "$ac_var='\''$ac_val'\''"
   2052     done | sort
   2053     echo
   2054 
   2055     if test -n "$ac_subst_files"; then
   2056       $as_echo "## ------------------- ##
   2057 ## File substitutions. ##
   2058 ## ------------------- ##"
   2059       echo
   2060       for ac_var in $ac_subst_files
   2061       do
   2062 	eval ac_val=\$$ac_var
   2063 	case $ac_val in
   2064 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2065 	esac
   2066 	$as_echo "$ac_var='\''$ac_val'\''"
   2067       done | sort
   2068       echo
   2069     fi
   2070 
   2071     if test -s confdefs.h; then
   2072       $as_echo "## ----------- ##
   2073 ## confdefs.h. ##
   2074 ## ----------- ##"
   2075       echo
   2076       cat confdefs.h
   2077       echo
   2078     fi
   2079     test "$ac_signal" != 0 &&
   2080       $as_echo "$as_me: caught signal $ac_signal"
   2081     $as_echo "$as_me: exit $exit_status"
   2082   } >&5
   2083   rm -f core *.core core.conftest.* &&
   2084     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2085     exit $exit_status
   2086 ' 0
   2087 for ac_signal in 1 2 13 15; do
   2088   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2089 done
   2090 ac_signal=0
   2091 
   2092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2093 rm -f -r conftest* confdefs.h
   2094 
   2095 $as_echo "/* confdefs.h */" > confdefs.h
   2096 
   2097 # Predefined preprocessor variables.
   2098 
   2099 cat >>confdefs.h <<_ACEOF
   2100 #define PACKAGE_NAME "$PACKAGE_NAME"
   2101 _ACEOF
   2102 
   2103 cat >>confdefs.h <<_ACEOF
   2104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2105 _ACEOF
   2106 
   2107 cat >>confdefs.h <<_ACEOF
   2108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2109 _ACEOF
   2110 
   2111 cat >>confdefs.h <<_ACEOF
   2112 #define PACKAGE_STRING "$PACKAGE_STRING"
   2113 _ACEOF
   2114 
   2115 cat >>confdefs.h <<_ACEOF
   2116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2117 _ACEOF
   2118 
   2119 cat >>confdefs.h <<_ACEOF
   2120 #define PACKAGE_URL "$PACKAGE_URL"
   2121 _ACEOF
   2122 
   2123 
   2124 # Let the site file select an alternate cache file if it wants to.
   2125 # Prefer an explicitly selected file to automatically selected ones.
   2126 ac_site_file1=NONE
   2127 ac_site_file2=NONE
   2128 if test -n "$CONFIG_SITE"; then
   2129   # We do not want a PATH search for config.site.
   2130   case $CONFIG_SITE in #((
   2131     -*)  ac_site_file1=./$CONFIG_SITE;;
   2132     */*) ac_site_file1=$CONFIG_SITE;;
   2133     *)   ac_site_file1=./$CONFIG_SITE;;
   2134   esac
   2135 elif test "x$prefix" != xNONE; then
   2136   ac_site_file1=$prefix/share/config.site
   2137   ac_site_file2=$prefix/etc/config.site
   2138 else
   2139   ac_site_file1=$ac_default_prefix/share/config.site
   2140   ac_site_file2=$ac_default_prefix/etc/config.site
   2141 fi
   2142 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2143 do
   2144   test "x$ac_site_file" = xNONE && continue
   2145   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2146     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2147 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2148     sed 's/^/| /' "$ac_site_file" >&5
   2149     . "$ac_site_file" \
   2150       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2152 as_fn_error $? "failed to load site script $ac_site_file
   2153 See \`config.log' for more details" "$LINENO" 5; }
   2154   fi
   2155 done
   2156 
   2157 if test -r "$cache_file"; then
   2158   # Some versions of bash will fail to source /dev/null (special files
   2159   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2160   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2161     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2162 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2163     case $cache_file in
   2164       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2165       *)                      . "./$cache_file";;
   2166     esac
   2167   fi
   2168 else
   2169   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2170 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2171   >$cache_file
   2172 fi
   2173 
   2174 # Check that the precious variables saved in the cache have kept the same
   2175 # value.
   2176 ac_cache_corrupted=false
   2177 for ac_var in $ac_precious_vars; do
   2178   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2179   eval ac_new_set=\$ac_env_${ac_var}_set
   2180   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2181   eval ac_new_val=\$ac_env_${ac_var}_value
   2182   case $ac_old_set,$ac_new_set in
   2183     set,)
   2184       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2185 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2186       ac_cache_corrupted=: ;;
   2187     ,set)
   2188       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2189 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2190       ac_cache_corrupted=: ;;
   2191     ,);;
   2192     *)
   2193       if test "x$ac_old_val" != "x$ac_new_val"; then
   2194 	# differences in whitespace do not lead to failure.
   2195 	ac_old_val_w=`echo x $ac_old_val`
   2196 	ac_new_val_w=`echo x $ac_new_val`
   2197 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2198 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2199 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2200 	  ac_cache_corrupted=:
   2201 	else
   2202 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2203 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2204 	  eval $ac_var=\$ac_old_val
   2205 	fi
   2206 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2207 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2208 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2209 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2210       fi;;
   2211   esac
   2212   # Pass precious variables to config.status.
   2213   if test "$ac_new_set" = set; then
   2214     case $ac_new_val in
   2215     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2216     *) ac_arg=$ac_var=$ac_new_val ;;
   2217     esac
   2218     case " $ac_configure_args " in
   2219       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2220       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2221     esac
   2222   fi
   2223 done
   2224 if $ac_cache_corrupted; then
   2225   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2227   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2228 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2229   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2230 fi
   2231 ## -------------------- ##
   2232 ## Main body of script. ##
   2233 ## -------------------- ##
   2234 
   2235 ac_ext=c
   2236 ac_cpp='$CPP $CPPFLAGS'
   2237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2240 
   2241 
   2242 
   2243 ac_config_headers="$ac_config_headers config.h"
   2244 
   2245 # expand $ac_aux_dir to an absolute path
   2246 am_aux_dir=`cd $ac_aux_dir && pwd`
   2247 
   2248 ac_ext=c
   2249 ac_cpp='$CPP $CPPFLAGS'
   2250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2253 if test -n "$ac_tool_prefix"; then
   2254   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2255 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2257 $as_echo_n "checking for $ac_word... " >&6; }
   2258 if ${ac_cv_prog_CC+:} false; then :
   2259   $as_echo_n "(cached) " >&6
   2260 else
   2261   if test -n "$CC"; then
   2262   ac_cv_prog_CC="$CC" # Let the user override the test.
   2263 else
   2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2265 for as_dir in $PATH
   2266 do
   2267   IFS=$as_save_IFS
   2268   test -z "$as_dir" && as_dir=.
   2269     for ac_exec_ext in '' $ac_executable_extensions; do
   2270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2271     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2273     break 2
   2274   fi
   2275 done
   2276   done
   2277 IFS=$as_save_IFS
   2278 
   2279 fi
   2280 fi
   2281 CC=$ac_cv_prog_CC
   2282 if test -n "$CC"; then
   2283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2284 $as_echo "$CC" >&6; }
   2285 else
   2286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2287 $as_echo "no" >&6; }
   2288 fi
   2289 
   2290 
   2291 fi
   2292 if test -z "$ac_cv_prog_CC"; then
   2293   ac_ct_CC=$CC
   2294   # Extract the first word of "gcc", so it can be a program name with args.
   2295 set dummy gcc; ac_word=$2
   2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2297 $as_echo_n "checking for $ac_word... " >&6; }
   2298 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2299   $as_echo_n "(cached) " >&6
   2300 else
   2301   if test -n "$ac_ct_CC"; then
   2302   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2303 else
   2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2305 for as_dir in $PATH
   2306 do
   2307   IFS=$as_save_IFS
   2308   test -z "$as_dir" && as_dir=.
   2309     for ac_exec_ext in '' $ac_executable_extensions; do
   2310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2311     ac_cv_prog_ac_ct_CC="gcc"
   2312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2313     break 2
   2314   fi
   2315 done
   2316   done
   2317 IFS=$as_save_IFS
   2318 
   2319 fi
   2320 fi
   2321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2322 if test -n "$ac_ct_CC"; then
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2324 $as_echo "$ac_ct_CC" >&6; }
   2325 else
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2327 $as_echo "no" >&6; }
   2328 fi
   2329 
   2330   if test "x$ac_ct_CC" = x; then
   2331     CC=""
   2332   else
   2333     case $cross_compiling:$ac_tool_warned in
   2334 yes:)
   2335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2337 ac_tool_warned=yes ;;
   2338 esac
   2339     CC=$ac_ct_CC
   2340   fi
   2341 else
   2342   CC="$ac_cv_prog_CC"
   2343 fi
   2344 
   2345 if test -z "$CC"; then
   2346           if test -n "$ac_tool_prefix"; then
   2347     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2348 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2350 $as_echo_n "checking for $ac_word... " >&6; }
   2351 if ${ac_cv_prog_CC+:} false; then :
   2352   $as_echo_n "(cached) " >&6
   2353 else
   2354   if test -n "$CC"; then
   2355   ac_cv_prog_CC="$CC" # Let the user override the test.
   2356 else
   2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2358 for as_dir in $PATH
   2359 do
   2360   IFS=$as_save_IFS
   2361   test -z "$as_dir" && as_dir=.
   2362     for ac_exec_ext in '' $ac_executable_extensions; do
   2363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2364     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2366     break 2
   2367   fi
   2368 done
   2369   done
   2370 IFS=$as_save_IFS
   2371 
   2372 fi
   2373 fi
   2374 CC=$ac_cv_prog_CC
   2375 if test -n "$CC"; then
   2376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2377 $as_echo "$CC" >&6; }
   2378 else
   2379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2380 $as_echo "no" >&6; }
   2381 fi
   2382 
   2383 
   2384   fi
   2385 fi
   2386 if test -z "$CC"; then
   2387   # Extract the first word of "cc", so it can be a program name with args.
   2388 set dummy cc; ac_word=$2
   2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2390 $as_echo_n "checking for $ac_word... " >&6; }
   2391 if ${ac_cv_prog_CC+:} false; then :
   2392   $as_echo_n "(cached) " >&6
   2393 else
   2394   if test -n "$CC"; then
   2395   ac_cv_prog_CC="$CC" # Let the user override the test.
   2396 else
   2397   ac_prog_rejected=no
   2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2399 for as_dir in $PATH
   2400 do
   2401   IFS=$as_save_IFS
   2402   test -z "$as_dir" && as_dir=.
   2403     for ac_exec_ext in '' $ac_executable_extensions; do
   2404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2405     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2406        ac_prog_rejected=yes
   2407        continue
   2408      fi
   2409     ac_cv_prog_CC="cc"
   2410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2411     break 2
   2412   fi
   2413 done
   2414   done
   2415 IFS=$as_save_IFS
   2416 
   2417 if test $ac_prog_rejected = yes; then
   2418   # We found a bogon in the path, so make sure we never use it.
   2419   set dummy $ac_cv_prog_CC
   2420   shift
   2421   if test $# != 0; then
   2422     # We chose a different compiler from the bogus one.
   2423     # However, it has the same basename, so the bogon will be chosen
   2424     # first if we set CC to just the basename; use the full file name.
   2425     shift
   2426     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2427   fi
   2428 fi
   2429 fi
   2430 fi
   2431 CC=$ac_cv_prog_CC
   2432 if test -n "$CC"; then
   2433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2434 $as_echo "$CC" >&6; }
   2435 else
   2436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2437 $as_echo "no" >&6; }
   2438 fi
   2439 
   2440 
   2441 fi
   2442 if test -z "$CC"; then
   2443   if test -n "$ac_tool_prefix"; then
   2444   for ac_prog in cl.exe
   2445   do
   2446     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2449 $as_echo_n "checking for $ac_word... " >&6; }
   2450 if ${ac_cv_prog_CC+:} false; then :
   2451   $as_echo_n "(cached) " >&6
   2452 else
   2453   if test -n "$CC"; then
   2454   ac_cv_prog_CC="$CC" # Let the user override the test.
   2455 else
   2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2457 for as_dir in $PATH
   2458 do
   2459   IFS=$as_save_IFS
   2460   test -z "$as_dir" && as_dir=.
   2461     for ac_exec_ext in '' $ac_executable_extensions; do
   2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2463     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2465     break 2
   2466   fi
   2467 done
   2468   done
   2469 IFS=$as_save_IFS
   2470 
   2471 fi
   2472 fi
   2473 CC=$ac_cv_prog_CC
   2474 if test -n "$CC"; then
   2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2476 $as_echo "$CC" >&6; }
   2477 else
   2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2479 $as_echo "no" >&6; }
   2480 fi
   2481 
   2482 
   2483     test -n "$CC" && break
   2484   done
   2485 fi
   2486 if test -z "$CC"; then
   2487   ac_ct_CC=$CC
   2488   for ac_prog in cl.exe
   2489 do
   2490   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2491 set dummy $ac_prog; ac_word=$2
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2493 $as_echo_n "checking for $ac_word... " >&6; }
   2494 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2495   $as_echo_n "(cached) " >&6
   2496 else
   2497   if test -n "$ac_ct_CC"; then
   2498   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2499 else
   2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2501 for as_dir in $PATH
   2502 do
   2503   IFS=$as_save_IFS
   2504   test -z "$as_dir" && as_dir=.
   2505     for ac_exec_ext in '' $ac_executable_extensions; do
   2506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2507     ac_cv_prog_ac_ct_CC="$ac_prog"
   2508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2509     break 2
   2510   fi
   2511 done
   2512   done
   2513 IFS=$as_save_IFS
   2514 
   2515 fi
   2516 fi
   2517 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2518 if test -n "$ac_ct_CC"; then
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2520 $as_echo "$ac_ct_CC" >&6; }
   2521 else
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2523 $as_echo "no" >&6; }
   2524 fi
   2525 
   2526 
   2527   test -n "$ac_ct_CC" && break
   2528 done
   2529 
   2530   if test "x$ac_ct_CC" = x; then
   2531     CC=""
   2532   else
   2533     case $cross_compiling:$ac_tool_warned in
   2534 yes:)
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2537 ac_tool_warned=yes ;;
   2538 esac
   2539     CC=$ac_ct_CC
   2540   fi
   2541 fi
   2542 
   2543 fi
   2544 
   2545 
   2546 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2548 as_fn_error $? "no acceptable C compiler found in \$PATH
   2549 See \`config.log' for more details" "$LINENO" 5; }
   2550 
   2551 # Provide some information about the compiler.
   2552 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2553 set X $ac_compile
   2554 ac_compiler=$2
   2555 for ac_option in --version -v -V -qversion; do
   2556   { { ac_try="$ac_compiler $ac_option >&5"
   2557 case "(($ac_try" in
   2558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2559   *) ac_try_echo=$ac_try;;
   2560 esac
   2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2562 $as_echo "$ac_try_echo"; } >&5
   2563   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2564   ac_status=$?
   2565   if test -s conftest.err; then
   2566     sed '10a\
   2567 ... rest of stderr output deleted ...
   2568          10q' conftest.err >conftest.er1
   2569     cat conftest.er1 >&5
   2570   fi
   2571   rm -f conftest.er1 conftest.err
   2572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2573   test $ac_status = 0; }
   2574 done
   2575 
   2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2577 /* end confdefs.h.  */
   2578 
   2579 int
   2580 main ()
   2581 {
   2582 
   2583   ;
   2584   return 0;
   2585 }
   2586 _ACEOF
   2587 ac_clean_files_save=$ac_clean_files
   2588 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2589 # Try to create an executable without -o first, disregard a.out.
   2590 # It will help us diagnose broken compilers, and finding out an intuition
   2591 # of exeext.
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2593 $as_echo_n "checking whether the C compiler works... " >&6; }
   2594 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2595 
   2596 # The possible output files:
   2597 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2598 
   2599 ac_rmfiles=
   2600 for ac_file in $ac_files
   2601 do
   2602   case $ac_file in
   2603     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2604     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2605   esac
   2606 done
   2607 rm -f $ac_rmfiles
   2608 
   2609 if { { ac_try="$ac_link_default"
   2610 case "(($ac_try" in
   2611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2612   *) ac_try_echo=$ac_try;;
   2613 esac
   2614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2615 $as_echo "$ac_try_echo"; } >&5
   2616   (eval "$ac_link_default") 2>&5
   2617   ac_status=$?
   2618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2619   test $ac_status = 0; }; then :
   2620   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2621 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2622 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2623 # so that the user can short-circuit this test for compilers unknown to
   2624 # Autoconf.
   2625 for ac_file in $ac_files ''
   2626 do
   2627   test -f "$ac_file" || continue
   2628   case $ac_file in
   2629     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2630 	;;
   2631     [ab].out )
   2632 	# We found the default executable, but exeext='' is most
   2633 	# certainly right.
   2634 	break;;
   2635     *.* )
   2636 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2637 	then :; else
   2638 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2639 	fi
   2640 	# We set ac_cv_exeext here because the later test for it is not
   2641 	# safe: cross compilers may not add the suffix if given an `-o'
   2642 	# argument, so we may need to know it at that point already.
   2643 	# Even if this section looks crufty: it has the advantage of
   2644 	# actually working.
   2645 	break;;
   2646     * )
   2647 	break;;
   2648   esac
   2649 done
   2650 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2651 
   2652 else
   2653   ac_file=''
   2654 fi
   2655 if test -z "$ac_file"; then :
   2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2657 $as_echo "no" >&6; }
   2658 $as_echo "$as_me: failed program was:" >&5
   2659 sed 's/^/| /' conftest.$ac_ext >&5
   2660 
   2661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2663 as_fn_error 77 "C compiler cannot create executables
   2664 See \`config.log' for more details" "$LINENO" 5; }
   2665 else
   2666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2667 $as_echo "yes" >&6; }
   2668 fi
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2670 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2672 $as_echo "$ac_file" >&6; }
   2673 ac_exeext=$ac_cv_exeext
   2674 
   2675 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2676 ac_clean_files=$ac_clean_files_save
   2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2678 $as_echo_n "checking for suffix of executables... " >&6; }
   2679 if { { ac_try="$ac_link"
   2680 case "(($ac_try" in
   2681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2682   *) ac_try_echo=$ac_try;;
   2683 esac
   2684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2685 $as_echo "$ac_try_echo"; } >&5
   2686   (eval "$ac_link") 2>&5
   2687   ac_status=$?
   2688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2689   test $ac_status = 0; }; then :
   2690   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2691 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2692 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2693 # `rm'.
   2694 for ac_file in conftest.exe conftest conftest.*; do
   2695   test -f "$ac_file" || continue
   2696   case $ac_file in
   2697     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2698     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2699 	  break;;
   2700     * ) break;;
   2701   esac
   2702 done
   2703 else
   2704   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2706 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2707 See \`config.log' for more details" "$LINENO" 5; }
   2708 fi
   2709 rm -f conftest conftest$ac_cv_exeext
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2711 $as_echo "$ac_cv_exeext" >&6; }
   2712 
   2713 rm -f conftest.$ac_ext
   2714 EXEEXT=$ac_cv_exeext
   2715 ac_exeext=$EXEEXT
   2716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2717 /* end confdefs.h.  */
   2718 #include <stdio.h>
   2719 int
   2720 main ()
   2721 {
   2722 FILE *f = fopen ("conftest.out", "w");
   2723  return ferror (f) || fclose (f) != 0;
   2724 
   2725   ;
   2726   return 0;
   2727 }
   2728 _ACEOF
   2729 ac_clean_files="$ac_clean_files conftest.out"
   2730 # Check that the compiler produces executables we can run.  If not, either
   2731 # the compiler is broken, or we cross compile.
   2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2733 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2734 if test "$cross_compiling" != yes; then
   2735   { { ac_try="$ac_link"
   2736 case "(($ac_try" in
   2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2738   *) ac_try_echo=$ac_try;;
   2739 esac
   2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2741 $as_echo "$ac_try_echo"; } >&5
   2742   (eval "$ac_link") 2>&5
   2743   ac_status=$?
   2744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2745   test $ac_status = 0; }
   2746   if { ac_try='./conftest$ac_cv_exeext'
   2747   { { case "(($ac_try" in
   2748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2749   *) ac_try_echo=$ac_try;;
   2750 esac
   2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2752 $as_echo "$ac_try_echo"; } >&5
   2753   (eval "$ac_try") 2>&5
   2754   ac_status=$?
   2755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2756   test $ac_status = 0; }; }; then
   2757     cross_compiling=no
   2758   else
   2759     if test "$cross_compiling" = maybe; then
   2760 	cross_compiling=yes
   2761     else
   2762 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2764 as_fn_error $? "cannot run C compiled programs.
   2765 If you meant to cross compile, use \`--host'.
   2766 See \`config.log' for more details" "$LINENO" 5; }
   2767     fi
   2768   fi
   2769 fi
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2771 $as_echo "$cross_compiling" >&6; }
   2772 
   2773 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2774 ac_clean_files=$ac_clean_files_save
   2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2776 $as_echo_n "checking for suffix of object files... " >&6; }
   2777 if ${ac_cv_objext+:} false; then :
   2778   $as_echo_n "(cached) " >&6
   2779 else
   2780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2781 /* end confdefs.h.  */
   2782 
   2783 int
   2784 main ()
   2785 {
   2786 
   2787   ;
   2788   return 0;
   2789 }
   2790 _ACEOF
   2791 rm -f conftest.o conftest.obj
   2792 if { { ac_try="$ac_compile"
   2793 case "(($ac_try" in
   2794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2795   *) ac_try_echo=$ac_try;;
   2796 esac
   2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2798 $as_echo "$ac_try_echo"; } >&5
   2799   (eval "$ac_compile") 2>&5
   2800   ac_status=$?
   2801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2802   test $ac_status = 0; }; then :
   2803   for ac_file in conftest.o conftest.obj conftest.*; do
   2804   test -f "$ac_file" || continue;
   2805   case $ac_file in
   2806     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2807     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2808        break;;
   2809   esac
   2810 done
   2811 else
   2812   $as_echo "$as_me: failed program was:" >&5
   2813 sed 's/^/| /' conftest.$ac_ext >&5
   2814 
   2815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2817 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2818 See \`config.log' for more details" "$LINENO" 5; }
   2819 fi
   2820 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2821 fi
   2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2823 $as_echo "$ac_cv_objext" >&6; }
   2824 OBJEXT=$ac_cv_objext
   2825 ac_objext=$OBJEXT
   2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2827 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2828 if ${ac_cv_c_compiler_gnu+:} false; then :
   2829   $as_echo_n "(cached) " >&6
   2830 else
   2831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2832 /* end confdefs.h.  */
   2833 
   2834 int
   2835 main ()
   2836 {
   2837 #ifndef __GNUC__
   2838        choke me
   2839 #endif
   2840 
   2841   ;
   2842   return 0;
   2843 }
   2844 _ACEOF
   2845 if ac_fn_c_try_compile "$LINENO"; then :
   2846   ac_compiler_gnu=yes
   2847 else
   2848   ac_compiler_gnu=no
   2849 fi
   2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2851 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2852 
   2853 fi
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2855 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2856 if test $ac_compiler_gnu = yes; then
   2857   GCC=yes
   2858 else
   2859   GCC=
   2860 fi
   2861 ac_test_CFLAGS=${CFLAGS+set}
   2862 ac_save_CFLAGS=$CFLAGS
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2864 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2865 if ${ac_cv_prog_cc_g+:} false; then :
   2866   $as_echo_n "(cached) " >&6
   2867 else
   2868   ac_save_c_werror_flag=$ac_c_werror_flag
   2869    ac_c_werror_flag=yes
   2870    ac_cv_prog_cc_g=no
   2871    CFLAGS="-g"
   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   ac_cv_prog_cc_g=yes
   2885 else
   2886   CFLAGS=""
   2887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2888 /* end confdefs.h.  */
   2889 
   2890 int
   2891 main ()
   2892 {
   2893 
   2894   ;
   2895   return 0;
   2896 }
   2897 _ACEOF
   2898 if ac_fn_c_try_compile "$LINENO"; then :
   2899 
   2900 else
   2901   ac_c_werror_flag=$ac_save_c_werror_flag
   2902 	 CFLAGS="-g"
   2903 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2904 /* end confdefs.h.  */
   2905 
   2906 int
   2907 main ()
   2908 {
   2909 
   2910   ;
   2911   return 0;
   2912 }
   2913 _ACEOF
   2914 if ac_fn_c_try_compile "$LINENO"; then :
   2915   ac_cv_prog_cc_g=yes
   2916 fi
   2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2918 fi
   2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2920 fi
   2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2922    ac_c_werror_flag=$ac_save_c_werror_flag
   2923 fi
   2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2925 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2926 if test "$ac_test_CFLAGS" = set; then
   2927   CFLAGS=$ac_save_CFLAGS
   2928 elif test $ac_cv_prog_cc_g = yes; then
   2929   if test "$GCC" = yes; then
   2930     CFLAGS="-g -O2"
   2931   else
   2932     CFLAGS="-g"
   2933   fi
   2934 else
   2935   if test "$GCC" = yes; then
   2936     CFLAGS="-O2"
   2937   else
   2938     CFLAGS=
   2939   fi
   2940 fi
   2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2942 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2943 if ${ac_cv_prog_cc_c89+:} false; then :
   2944   $as_echo_n "(cached) " >&6
   2945 else
   2946   ac_cv_prog_cc_c89=no
   2947 ac_save_CC=$CC
   2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2949 /* end confdefs.h.  */
   2950 #include <stdarg.h>
   2951 #include <stdio.h>
   2952 #include <sys/types.h>
   2953 #include <sys/stat.h>
   2954 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2955 struct buf { int x; };
   2956 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2957 static char *e (p, i)
   2958      char **p;
   2959      int i;
   2960 {
   2961   return p[i];
   2962 }
   2963 static char *f (char * (*g) (char **, int), char **p, ...)
   2964 {
   2965   char *s;
   2966   va_list v;
   2967   va_start (v,p);
   2968   s = g (p, va_arg (v,int));
   2969   va_end (v);
   2970   return s;
   2971 }
   2972 
   2973 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2974    function prototypes and stuff, but not '\xHH' hex character constants.
   2975    These don't provoke an error unfortunately, instead are silently treated
   2976    as 'x'.  The following induces an error, until -std is added to get
   2977    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2978    array size at least.  It's necessary to write '\x00'==0 to get something
   2979    that's true only with -std.  */
   2980 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2981 
   2982 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2983    inside strings and character constants.  */
   2984 #define FOO(x) 'x'
   2985 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2986 
   2987 int test (int i, double x);
   2988 struct s1 {int (*f) (int a);};
   2989 struct s2 {int (*f) (double a);};
   2990 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2991 int argc;
   2992 char **argv;
   2993 int
   2994 main ()
   2995 {
   2996 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2997   ;
   2998   return 0;
   2999 }
   3000 _ACEOF
   3001 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3002 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3003 do
   3004   CC="$ac_save_CC $ac_arg"
   3005   if ac_fn_c_try_compile "$LINENO"; then :
   3006   ac_cv_prog_cc_c89=$ac_arg
   3007 fi
   3008 rm -f core conftest.err conftest.$ac_objext
   3009   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3010 done
   3011 rm -f conftest.$ac_ext
   3012 CC=$ac_save_CC
   3013 
   3014 fi
   3015 # AC_CACHE_VAL
   3016 case "x$ac_cv_prog_cc_c89" in
   3017   x)
   3018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3019 $as_echo "none needed" >&6; } ;;
   3020   xno)
   3021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3022 $as_echo "unsupported" >&6; } ;;
   3023   *)
   3024     CC="$CC $ac_cv_prog_cc_c89"
   3025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3026 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3027 esac
   3028 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3029 
   3030 fi
   3031 
   3032 ac_ext=c
   3033 ac_cpp='$CPP $CPPFLAGS'
   3034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3037 
   3038 ac_ext=c
   3039 ac_cpp='$CPP $CPPFLAGS'
   3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3044 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3045 if ${am_cv_prog_cc_c_o+:} false; then :
   3046   $as_echo_n "(cached) " >&6
   3047 else
   3048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3049 /* end confdefs.h.  */
   3050 
   3051 int
   3052 main ()
   3053 {
   3054 
   3055   ;
   3056   return 0;
   3057 }
   3058 _ACEOF
   3059   # Make sure it works both with $CC and with simple cc.
   3060   # Following AC_PROG_CC_C_O, we do the test twice because some
   3061   # compilers refuse to overwrite an existing .o file with -o,
   3062   # though they will create one.
   3063   am_cv_prog_cc_c_o=yes
   3064   for am_i in 1 2; do
   3065     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3066    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3067    ac_status=$?
   3068    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3069    (exit $ac_status); } \
   3070          && test -f conftest2.$ac_objext; then
   3071       : OK
   3072     else
   3073       am_cv_prog_cc_c_o=no
   3074       break
   3075     fi
   3076   done
   3077   rm -f core conftest*
   3078   unset am_i
   3079 fi
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3081 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3082 if test "$am_cv_prog_cc_c_o" != yes; then
   3083    # Losing compiler, so override with the script.
   3084    # FIXME: It is wrong to rewrite CC.
   3085    # But if we don't then we get into trouble of one sort or another.
   3086    # A longer-term fix would be to have automake use am__CC in this case,
   3087    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3088    CC="$am_aux_dir/compile $CC"
   3089 fi
   3090 ac_ext=c
   3091 ac_cpp='$CPP $CPPFLAGS'
   3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3095 
   3096 
   3097 
   3098 ac_ext=c
   3099 ac_cpp='$CPP $CPPFLAGS'
   3100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3104 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3105 # On Suns, sometimes $CPP names a directory.
   3106 if test -n "$CPP" && test -d "$CPP"; then
   3107   CPP=
   3108 fi
   3109 if test -z "$CPP"; then
   3110   if ${ac_cv_prog_CPP+:} false; then :
   3111   $as_echo_n "(cached) " >&6
   3112 else
   3113       # Double quotes because CPP needs to be expanded
   3114     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3115     do
   3116       ac_preproc_ok=false
   3117 for ac_c_preproc_warn_flag in '' yes
   3118 do
   3119   # Use a header file that comes with gcc, so configuring glibc
   3120   # with a fresh cross-compiler works.
   3121   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3122   # <limits.h> exists even on freestanding compilers.
   3123   # On the NeXT, cc -E runs the code through the compiler's parser,
   3124   # not just through cpp. "Syntax error" is here to catch this case.
   3125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3126 /* end confdefs.h.  */
   3127 #ifdef __STDC__
   3128 # include <limits.h>
   3129 #else
   3130 # include <assert.h>
   3131 #endif
   3132 		     Syntax error
   3133 _ACEOF
   3134 if ac_fn_c_try_cpp "$LINENO"; then :
   3135 
   3136 else
   3137   # Broken: fails on valid input.
   3138 continue
   3139 fi
   3140 rm -f conftest.err conftest.i conftest.$ac_ext
   3141 
   3142   # OK, works on sane cases.  Now check whether nonexistent headers
   3143   # can be detected and how.
   3144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3145 /* end confdefs.h.  */
   3146 #include <ac_nonexistent.h>
   3147 _ACEOF
   3148 if ac_fn_c_try_cpp "$LINENO"; then :
   3149   # Broken: success on invalid input.
   3150 continue
   3151 else
   3152   # Passes both tests.
   3153 ac_preproc_ok=:
   3154 break
   3155 fi
   3156 rm -f conftest.err conftest.i conftest.$ac_ext
   3157 
   3158 done
   3159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3160 rm -f conftest.i conftest.err conftest.$ac_ext
   3161 if $ac_preproc_ok; then :
   3162   break
   3163 fi
   3164 
   3165     done
   3166     ac_cv_prog_CPP=$CPP
   3167 
   3168 fi
   3169   CPP=$ac_cv_prog_CPP
   3170 else
   3171   ac_cv_prog_CPP=$CPP
   3172 fi
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3174 $as_echo "$CPP" >&6; }
   3175 ac_preproc_ok=false
   3176 for ac_c_preproc_warn_flag in '' yes
   3177 do
   3178   # Use a header file that comes with gcc, so configuring glibc
   3179   # with a fresh cross-compiler works.
   3180   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3181   # <limits.h> exists even on freestanding compilers.
   3182   # On the NeXT, cc -E runs the code through the compiler's parser,
   3183   # not just through cpp. "Syntax error" is here to catch this case.
   3184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3185 /* end confdefs.h.  */
   3186 #ifdef __STDC__
   3187 # include <limits.h>
   3188 #else
   3189 # include <assert.h>
   3190 #endif
   3191 		     Syntax error
   3192 _ACEOF
   3193 if ac_fn_c_try_cpp "$LINENO"; then :
   3194 
   3195 else
   3196   # Broken: fails on valid input.
   3197 continue
   3198 fi
   3199 rm -f conftest.err conftest.i conftest.$ac_ext
   3200 
   3201   # OK, works on sane cases.  Now check whether nonexistent headers
   3202   # can be detected and how.
   3203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3204 /* end confdefs.h.  */
   3205 #include <ac_nonexistent.h>
   3206 _ACEOF
   3207 if ac_fn_c_try_cpp "$LINENO"; then :
   3208   # Broken: success on invalid input.
   3209 continue
   3210 else
   3211   # Passes both tests.
   3212 ac_preproc_ok=:
   3213 break
   3214 fi
   3215 rm -f conftest.err conftest.i conftest.$ac_ext
   3216 
   3217 done
   3218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3219 rm -f conftest.i conftest.err conftest.$ac_ext
   3220 if $ac_preproc_ok; then :
   3221 
   3222 else
   3223   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3225 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3226 See \`config.log' for more details" "$LINENO" 5; }
   3227 fi
   3228 
   3229 ac_ext=c
   3230 ac_cpp='$CPP $CPPFLAGS'
   3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3234 
   3235 
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3237 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3238 if ${ac_cv_path_GREP+:} false; then :
   3239   $as_echo_n "(cached) " >&6
   3240 else
   3241   if test -z "$GREP"; then
   3242   ac_path_GREP_found=false
   3243   # Loop through the user's path and test for each of PROGNAME-LIST
   3244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3246 do
   3247   IFS=$as_save_IFS
   3248   test -z "$as_dir" && as_dir=.
   3249     for ac_prog in grep ggrep; do
   3250     for ac_exec_ext in '' $ac_executable_extensions; do
   3251       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3252       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3253 # Check for GNU ac_path_GREP and select it if it is found.
   3254   # Check for GNU $ac_path_GREP
   3255 case `"$ac_path_GREP" --version 2>&1` in
   3256 *GNU*)
   3257   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3258 *)
   3259   ac_count=0
   3260   $as_echo_n 0123456789 >"conftest.in"
   3261   while :
   3262   do
   3263     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3264     mv "conftest.tmp" "conftest.in"
   3265     cp "conftest.in" "conftest.nl"
   3266     $as_echo 'GREP' >> "conftest.nl"
   3267     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3268     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3269     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3270     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3271       # Best one so far, save it but keep looking for a better one
   3272       ac_cv_path_GREP="$ac_path_GREP"
   3273       ac_path_GREP_max=$ac_count
   3274     fi
   3275     # 10*(2^10) chars as input seems more than enough
   3276     test $ac_count -gt 10 && break
   3277   done
   3278   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3279 esac
   3280 
   3281       $ac_path_GREP_found && break 3
   3282     done
   3283   done
   3284   done
   3285 IFS=$as_save_IFS
   3286   if test -z "$ac_cv_path_GREP"; then
   3287     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3288   fi
   3289 else
   3290   ac_cv_path_GREP=$GREP
   3291 fi
   3292 
   3293 fi
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3295 $as_echo "$ac_cv_path_GREP" >&6; }
   3296  GREP="$ac_cv_path_GREP"
   3297 
   3298 
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3300 $as_echo_n "checking for egrep... " >&6; }
   3301 if ${ac_cv_path_EGREP+:} false; then :
   3302   $as_echo_n "(cached) " >&6
   3303 else
   3304   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3305    then ac_cv_path_EGREP="$GREP -E"
   3306    else
   3307      if test -z "$EGREP"; then
   3308   ac_path_EGREP_found=false
   3309   # Loop through the user's path and test for each of PROGNAME-LIST
   3310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3312 do
   3313   IFS=$as_save_IFS
   3314   test -z "$as_dir" && as_dir=.
   3315     for ac_prog in egrep; do
   3316     for ac_exec_ext in '' $ac_executable_extensions; do
   3317       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3318       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3319 # Check for GNU ac_path_EGREP and select it if it is found.
   3320   # Check for GNU $ac_path_EGREP
   3321 case `"$ac_path_EGREP" --version 2>&1` in
   3322 *GNU*)
   3323   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3324 *)
   3325   ac_count=0
   3326   $as_echo_n 0123456789 >"conftest.in"
   3327   while :
   3328   do
   3329     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3330     mv "conftest.tmp" "conftest.in"
   3331     cp "conftest.in" "conftest.nl"
   3332     $as_echo 'EGREP' >> "conftest.nl"
   3333     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3335     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3336     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3337       # Best one so far, save it but keep looking for a better one
   3338       ac_cv_path_EGREP="$ac_path_EGREP"
   3339       ac_path_EGREP_max=$ac_count
   3340     fi
   3341     # 10*(2^10) chars as input seems more than enough
   3342     test $ac_count -gt 10 && break
   3343   done
   3344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3345 esac
   3346 
   3347       $ac_path_EGREP_found && break 3
   3348     done
   3349   done
   3350   done
   3351 IFS=$as_save_IFS
   3352   if test -z "$ac_cv_path_EGREP"; then
   3353     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3354   fi
   3355 else
   3356   ac_cv_path_EGREP=$EGREP
   3357 fi
   3358 
   3359    fi
   3360 fi
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3362 $as_echo "$ac_cv_path_EGREP" >&6; }
   3363  EGREP="$ac_cv_path_EGREP"
   3364 
   3365 
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3367 $as_echo_n "checking for ANSI C header files... " >&6; }
   3368 if ${ac_cv_header_stdc+:} false; then :
   3369   $as_echo_n "(cached) " >&6
   3370 else
   3371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3372 /* end confdefs.h.  */
   3373 #include <stdlib.h>
   3374 #include <stdarg.h>
   3375 #include <string.h>
   3376 #include <float.h>
   3377 
   3378 int
   3379 main ()
   3380 {
   3381 
   3382   ;
   3383   return 0;
   3384 }
   3385 _ACEOF
   3386 if ac_fn_c_try_compile "$LINENO"; then :
   3387   ac_cv_header_stdc=yes
   3388 else
   3389   ac_cv_header_stdc=no
   3390 fi
   3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3392 
   3393 if test $ac_cv_header_stdc = yes; then
   3394   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 #include <string.h>
   3398 
   3399 _ACEOF
   3400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3401   $EGREP "memchr" >/dev/null 2>&1; then :
   3402 
   3403 else
   3404   ac_cv_header_stdc=no
   3405 fi
   3406 rm -f conftest*
   3407 
   3408 fi
   3409 
   3410 if test $ac_cv_header_stdc = yes; then
   3411   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3413 /* end confdefs.h.  */
   3414 #include <stdlib.h>
   3415 
   3416 _ACEOF
   3417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3418   $EGREP "free" >/dev/null 2>&1; then :
   3419 
   3420 else
   3421   ac_cv_header_stdc=no
   3422 fi
   3423 rm -f conftest*
   3424 
   3425 fi
   3426 
   3427 if test $ac_cv_header_stdc = yes; then
   3428   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3429   if test "$cross_compiling" = yes; then :
   3430   :
   3431 else
   3432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3433 /* end confdefs.h.  */
   3434 #include <ctype.h>
   3435 #include <stdlib.h>
   3436 #if ((' ' & 0x0FF) == 0x020)
   3437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3439 #else
   3440 # define ISLOWER(c) \
   3441 		   (('a' <= (c) && (c) <= 'i') \
   3442 		     || ('j' <= (c) && (c) <= 'r') \
   3443 		     || ('s' <= (c) && (c) <= 'z'))
   3444 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3445 #endif
   3446 
   3447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3448 int
   3449 main ()
   3450 {
   3451   int i;
   3452   for (i = 0; i < 256; i++)
   3453     if (XOR (islower (i), ISLOWER (i))
   3454 	|| toupper (i) != TOUPPER (i))
   3455       return 2;
   3456   return 0;
   3457 }
   3458 _ACEOF
   3459 if ac_fn_c_try_run "$LINENO"; then :
   3460 
   3461 else
   3462   ac_cv_header_stdc=no
   3463 fi
   3464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3465   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3466 fi
   3467 
   3468 fi
   3469 fi
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3471 $as_echo "$ac_cv_header_stdc" >&6; }
   3472 if test $ac_cv_header_stdc = yes; then
   3473 
   3474 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3475 
   3476 fi
   3477 
   3478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3479 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3480 		  inttypes.h stdint.h unistd.h
   3481 do :
   3482   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3483 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3484 "
   3485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3486   cat >>confdefs.h <<_ACEOF
   3487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3488 _ACEOF
   3489 
   3490 fi
   3491 
   3492 done
   3493 
   3494 
   3495 
   3496   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3497 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3498   MINIX=yes
   3499 else
   3500   MINIX=
   3501 fi
   3502 
   3503 
   3504   if test "$MINIX" = yes; then
   3505 
   3506 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3507 
   3508 
   3509 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3510 
   3511 
   3512 $as_echo "#define _MINIX 1" >>confdefs.h
   3513 
   3514   fi
   3515 
   3516 
   3517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3518 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3519 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3520   $as_echo_n "(cached) " >&6
   3521 else
   3522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3523 /* end confdefs.h.  */
   3524 
   3525 #	  define __EXTENSIONS__ 1
   3526 	  $ac_includes_default
   3527 int
   3528 main ()
   3529 {
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_compile "$LINENO"; then :
   3536   ac_cv_safe_to_define___extensions__=yes
   3537 else
   3538   ac_cv_safe_to_define___extensions__=no
   3539 fi
   3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3541 fi
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3543 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3544   test $ac_cv_safe_to_define___extensions__ = yes &&
   3545     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3546 
   3547   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3548 
   3549   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3550 
   3551   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3552 
   3553   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3554 
   3555 
   3556 
   3557 # Initialize Automake
   3558 am__api_version='1.14'
   3559 
   3560 ac_aux_dir=
   3561 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3562   if test -f "$ac_dir/install-sh"; then
   3563     ac_aux_dir=$ac_dir
   3564     ac_install_sh="$ac_aux_dir/install-sh -c"
   3565     break
   3566   elif test -f "$ac_dir/install.sh"; then
   3567     ac_aux_dir=$ac_dir
   3568     ac_install_sh="$ac_aux_dir/install.sh -c"
   3569     break
   3570   elif test -f "$ac_dir/shtool"; then
   3571     ac_aux_dir=$ac_dir
   3572     ac_install_sh="$ac_aux_dir/shtool install -c"
   3573     break
   3574   fi
   3575 done
   3576 if test -z "$ac_aux_dir"; then
   3577   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3578 fi
   3579 
   3580 # These three variables are undocumented and unsupported,
   3581 # and are intended to be withdrawn in a future Autoconf release.
   3582 # They can cause serious problems if a builder's source tree is in a directory
   3583 # whose full name contains unusual characters.
   3584 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3585 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3586 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3587 
   3588 
   3589 # Find a good install program.  We prefer a C program (faster),
   3590 # so one script is as good as another.  But avoid the broken or
   3591 # incompatible versions:
   3592 # SysV /etc/install, /usr/sbin/install
   3593 # SunOS /usr/etc/install
   3594 # IRIX /sbin/install
   3595 # AIX /bin/install
   3596 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3600 # OS/2's system install, which has a completely different semantic
   3601 # ./install, which can be erroneously created by make from ./install.sh.
   3602 # Reject install programs that cannot install multiple files.
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3604 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3605 if test -z "$INSTALL"; then
   3606 if ${ac_cv_path_install+:} false; then :
   3607   $as_echo_n "(cached) " >&6
   3608 else
   3609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3610 for as_dir in $PATH
   3611 do
   3612   IFS=$as_save_IFS
   3613   test -z "$as_dir" && as_dir=.
   3614     # Account for people who put trailing slashes in PATH elements.
   3615 case $as_dir/ in #((
   3616   ./ | .// | /[cC]/* | \
   3617   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3618   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3619   /usr/ucb/* ) ;;
   3620   *)
   3621     # OSF1 and SCO ODT 3.0 have their own names for install.
   3622     # Don't use installbsd from OSF since it installs stuff as root
   3623     # by default.
   3624     for ac_prog in ginstall scoinst install; do
   3625       for ac_exec_ext in '' $ac_executable_extensions; do
   3626 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3627 	  if test $ac_prog = install &&
   3628 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3629 	    # AIX install.  It has an incompatible calling convention.
   3630 	    :
   3631 	  elif test $ac_prog = install &&
   3632 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3633 	    # program-specific install script used by HP pwplus--don't use.
   3634 	    :
   3635 	  else
   3636 	    rm -rf conftest.one conftest.two conftest.dir
   3637 	    echo one > conftest.one
   3638 	    echo two > conftest.two
   3639 	    mkdir conftest.dir
   3640 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3641 	      test -s conftest.one && test -s conftest.two &&
   3642 	      test -s conftest.dir/conftest.one &&
   3643 	      test -s conftest.dir/conftest.two
   3644 	    then
   3645 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3646 	      break 3
   3647 	    fi
   3648 	  fi
   3649 	fi
   3650       done
   3651     done
   3652     ;;
   3653 esac
   3654 
   3655   done
   3656 IFS=$as_save_IFS
   3657 
   3658 rm -rf conftest.one conftest.two conftest.dir
   3659 
   3660 fi
   3661   if test "${ac_cv_path_install+set}" = set; then
   3662     INSTALL=$ac_cv_path_install
   3663   else
   3664     # As a last resort, use the slow shell script.  Don't cache a
   3665     # value for INSTALL within a source directory, because that will
   3666     # break other packages using the cache if that directory is
   3667     # removed, or if the value is a relative name.
   3668     INSTALL=$ac_install_sh
   3669   fi
   3670 fi
   3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3672 $as_echo "$INSTALL" >&6; }
   3673 
   3674 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3675 # It thinks the first close brace ends the variable substitution.
   3676 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3677 
   3678 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3679 
   3680 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3681 
   3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3683 $as_echo_n "checking whether build environment is sane... " >&6; }
   3684 # Reject unsafe characters in $srcdir or the absolute working directory
   3685 # name.  Accept space and tab only in the latter.
   3686 am_lf='
   3687 '
   3688 case `pwd` in
   3689   *[\\\"\#\$\&\'\`$am_lf]*)
   3690     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3691 esac
   3692 case $srcdir in
   3693   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3694     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3695 esac
   3696 
   3697 # Do 'set' in a subshell so we don't clobber the current shell's
   3698 # arguments.  Must try -L first in case configure is actually a
   3699 # symlink; some systems play weird games with the mod time of symlinks
   3700 # (eg FreeBSD returns the mod time of the symlink's containing
   3701 # directory).
   3702 if (
   3703    am_has_slept=no
   3704    for am_try in 1 2; do
   3705      echo "timestamp, slept: $am_has_slept" > conftest.file
   3706      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3707      if test "$*" = "X"; then
   3708 	# -L didn't work.
   3709 	set X `ls -t "$srcdir/configure" conftest.file`
   3710      fi
   3711      if test "$*" != "X $srcdir/configure conftest.file" \
   3712 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3713 
   3714 	# If neither matched, then we have a broken ls.  This can happen
   3715 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3716 	# broken ls alias from the environment.  This has actually
   3717 	# happened.  Such a system could not be considered "sane".
   3718 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3719   alias in your environment" "$LINENO" 5
   3720      fi
   3721      if test "$2" = conftest.file || test $am_try -eq 2; then
   3722        break
   3723      fi
   3724      # Just in case.
   3725      sleep 1
   3726      am_has_slept=yes
   3727    done
   3728    test "$2" = conftest.file
   3729    )
   3730 then
   3731    # Ok.
   3732    :
   3733 else
   3734    as_fn_error $? "newly created file is older than distributed files!
   3735 Check your system clock" "$LINENO" 5
   3736 fi
   3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3738 $as_echo "yes" >&6; }
   3739 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3740 # generated files are strictly newer.
   3741 am_sleep_pid=
   3742 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3743   ( sleep 1 ) &
   3744   am_sleep_pid=$!
   3745 fi
   3746 
   3747 rm -f conftest.file
   3748 
   3749 test "$program_prefix" != NONE &&
   3750   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3751 # Use a double $ so make ignores it.
   3752 test "$program_suffix" != NONE &&
   3753   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3754 # Double any \ or $.
   3755 # By default was `s,x,x', remove it if useless.
   3756 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3757 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3758 
   3759 if test x"${MISSING+set}" != xset; then
   3760   case $am_aux_dir in
   3761   *\ * | *\	*)
   3762     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3763   *)
   3764     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3765   esac
   3766 fi
   3767 # Use eval to expand $SHELL
   3768 if eval "$MISSING --is-lightweight"; then
   3769   am_missing_run="$MISSING "
   3770 else
   3771   am_missing_run=
   3772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3773 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3774 fi
   3775 
   3776 if test x"${install_sh}" != xset; then
   3777   case $am_aux_dir in
   3778   *\ * | *\	*)
   3779     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3780   *)
   3781     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3782   esac
   3783 fi
   3784 
   3785 # Installed binaries are usually stripped using 'strip' when the user
   3786 # run "make install-strip".  However 'strip' might not be the right
   3787 # tool to use in cross-compilation environments, therefore Automake
   3788 # will honor the 'STRIP' environment variable to overrule this program.
   3789 if test "$cross_compiling" != no; then
   3790   if test -n "$ac_tool_prefix"; then
   3791   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3792 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3794 $as_echo_n "checking for $ac_word... " >&6; }
   3795 if ${ac_cv_prog_STRIP+:} false; then :
   3796   $as_echo_n "(cached) " >&6
   3797 else
   3798   if test -n "$STRIP"; then
   3799   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3800 else
   3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3802 for as_dir in $PATH
   3803 do
   3804   IFS=$as_save_IFS
   3805   test -z "$as_dir" && as_dir=.
   3806     for ac_exec_ext in '' $ac_executable_extensions; do
   3807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3808     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3810     break 2
   3811   fi
   3812 done
   3813   done
   3814 IFS=$as_save_IFS
   3815 
   3816 fi
   3817 fi
   3818 STRIP=$ac_cv_prog_STRIP
   3819 if test -n "$STRIP"; then
   3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3821 $as_echo "$STRIP" >&6; }
   3822 else
   3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3824 $as_echo "no" >&6; }
   3825 fi
   3826 
   3827 
   3828 fi
   3829 if test -z "$ac_cv_prog_STRIP"; then
   3830   ac_ct_STRIP=$STRIP
   3831   # Extract the first word of "strip", so it can be a program name with args.
   3832 set dummy strip; ac_word=$2
   3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3834 $as_echo_n "checking for $ac_word... " >&6; }
   3835 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3836   $as_echo_n "(cached) " >&6
   3837 else
   3838   if test -n "$ac_ct_STRIP"; then
   3839   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3840 else
   3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3842 for as_dir in $PATH
   3843 do
   3844   IFS=$as_save_IFS
   3845   test -z "$as_dir" && as_dir=.
   3846     for ac_exec_ext in '' $ac_executable_extensions; do
   3847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3848     ac_cv_prog_ac_ct_STRIP="strip"
   3849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3850     break 2
   3851   fi
   3852 done
   3853   done
   3854 IFS=$as_save_IFS
   3855 
   3856 fi
   3857 fi
   3858 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3859 if test -n "$ac_ct_STRIP"; then
   3860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3861 $as_echo "$ac_ct_STRIP" >&6; }
   3862 else
   3863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3864 $as_echo "no" >&6; }
   3865 fi
   3866 
   3867   if test "x$ac_ct_STRIP" = x; then
   3868     STRIP=":"
   3869   else
   3870     case $cross_compiling:$ac_tool_warned in
   3871 yes:)
   3872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3874 ac_tool_warned=yes ;;
   3875 esac
   3876     STRIP=$ac_ct_STRIP
   3877   fi
   3878 else
   3879   STRIP="$ac_cv_prog_STRIP"
   3880 fi
   3881 
   3882 fi
   3883 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3884 
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3886 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3887 if test -z "$MKDIR_P"; then
   3888   if ${ac_cv_path_mkdir+:} false; then :
   3889   $as_echo_n "(cached) " >&6
   3890 else
   3891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3892 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3893 do
   3894   IFS=$as_save_IFS
   3895   test -z "$as_dir" && as_dir=.
   3896     for ac_prog in mkdir gmkdir; do
   3897 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3898 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3899 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3900 	     'mkdir (GNU coreutils) '* | \
   3901 	     'mkdir (coreutils) '* | \
   3902 	     'mkdir (fileutils) '4.1*)
   3903 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3904 	       break 3;;
   3905 	   esac
   3906 	 done
   3907        done
   3908   done
   3909 IFS=$as_save_IFS
   3910 
   3911 fi
   3912 
   3913   test -d ./--version && rmdir ./--version
   3914   if test "${ac_cv_path_mkdir+set}" = set; then
   3915     MKDIR_P="$ac_cv_path_mkdir -p"
   3916   else
   3917     # As a last resort, use the slow shell script.  Don't cache a
   3918     # value for MKDIR_P within a source directory, because that will
   3919     # break other packages using the cache if that directory is
   3920     # removed, or if the value is a relative name.
   3921     MKDIR_P="$ac_install_sh -d"
   3922   fi
   3923 fi
   3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3925 $as_echo "$MKDIR_P" >&6; }
   3926 
   3927 for ac_prog in gawk mawk nawk awk
   3928 do
   3929   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3930 set dummy $ac_prog; ac_word=$2
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3932 $as_echo_n "checking for $ac_word... " >&6; }
   3933 if ${ac_cv_prog_AWK+:} false; then :
   3934   $as_echo_n "(cached) " >&6
   3935 else
   3936   if test -n "$AWK"; then
   3937   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3938 else
   3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3940 for as_dir in $PATH
   3941 do
   3942   IFS=$as_save_IFS
   3943   test -z "$as_dir" && as_dir=.
   3944     for ac_exec_ext in '' $ac_executable_extensions; do
   3945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3946     ac_cv_prog_AWK="$ac_prog"
   3947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3948     break 2
   3949   fi
   3950 done
   3951   done
   3952 IFS=$as_save_IFS
   3953 
   3954 fi
   3955 fi
   3956 AWK=$ac_cv_prog_AWK
   3957 if test -n "$AWK"; then
   3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3959 $as_echo "$AWK" >&6; }
   3960 else
   3961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3962 $as_echo "no" >&6; }
   3963 fi
   3964 
   3965 
   3966   test -n "$AWK" && break
   3967 done
   3968 
   3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3970 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3971 set x ${MAKE-make}
   3972 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3973 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3974   $as_echo_n "(cached) " >&6
   3975 else
   3976   cat >conftest.make <<\_ACEOF
   3977 SHELL = /bin/sh
   3978 all:
   3979 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3980 _ACEOF
   3981 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3982 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3983   *@@@%%%=?*=@@@%%%*)
   3984     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3985   *)
   3986     eval ac_cv_prog_make_${ac_make}_set=no;;
   3987 esac
   3988 rm -f conftest.make
   3989 fi
   3990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3992 $as_echo "yes" >&6; }
   3993   SET_MAKE=
   3994 else
   3995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3996 $as_echo "no" >&6; }
   3997   SET_MAKE="MAKE=${MAKE-make}"
   3998 fi
   3999 
   4000 rm -rf .tst 2>/dev/null
   4001 mkdir .tst 2>/dev/null
   4002 if test -d .tst; then
   4003   am__leading_dot=.
   4004 else
   4005   am__leading_dot=_
   4006 fi
   4007 rmdir .tst 2>/dev/null
   4008 
   4009 DEPDIR="${am__leading_dot}deps"
   4010 
   4011 ac_config_commands="$ac_config_commands depfiles"
   4012 
   4013 
   4014 am_make=${MAKE-make}
   4015 cat > confinc << 'END'
   4016 am__doit:
   4017 	@echo this is the am__doit target
   4018 .PHONY: am__doit
   4019 END
   4020 # If we don't find an include directive, just comment out the code.
   4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4022 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4023 am__include="#"
   4024 am__quote=
   4025 _am_result=none
   4026 # First try GNU make style include.
   4027 echo "include confinc" > confmf
   4028 # Ignore all kinds of additional output from 'make'.
   4029 case `$am_make -s -f confmf 2> /dev/null` in #(
   4030 *the\ am__doit\ target*)
   4031   am__include=include
   4032   am__quote=
   4033   _am_result=GNU
   4034   ;;
   4035 esac
   4036 # Now try BSD make style include.
   4037 if test "$am__include" = "#"; then
   4038    echo '.include "confinc"' > confmf
   4039    case `$am_make -s -f confmf 2> /dev/null` in #(
   4040    *the\ am__doit\ target*)
   4041      am__include=.include
   4042      am__quote="\""
   4043      _am_result=BSD
   4044      ;;
   4045    esac
   4046 fi
   4047 
   4048 
   4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4050 $as_echo "$_am_result" >&6; }
   4051 rm -f confinc confmf
   4052 
   4053 # Check whether --enable-dependency-tracking was given.
   4054 if test "${enable_dependency_tracking+set}" = set; then :
   4055   enableval=$enable_dependency_tracking;
   4056 fi
   4057 
   4058 if test "x$enable_dependency_tracking" != xno; then
   4059   am_depcomp="$ac_aux_dir/depcomp"
   4060   AMDEPBACKSLASH='\'
   4061   am__nodep='_no'
   4062 fi
   4063  if test "x$enable_dependency_tracking" != xno; then
   4064   AMDEP_TRUE=
   4065   AMDEP_FALSE='#'
   4066 else
   4067   AMDEP_TRUE='#'
   4068   AMDEP_FALSE=
   4069 fi
   4070 
   4071 
   4072 # Check whether --enable-silent-rules was given.
   4073 if test "${enable_silent_rules+set}" = set; then :
   4074   enableval=$enable_silent_rules;
   4075 fi
   4076 
   4077 case $enable_silent_rules in # (((
   4078   yes) AM_DEFAULT_VERBOSITY=0;;
   4079    no) AM_DEFAULT_VERBOSITY=1;;
   4080     *) AM_DEFAULT_VERBOSITY=1;;
   4081 esac
   4082 am_make=${MAKE-make}
   4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4084 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4085 if ${am_cv_make_support_nested_variables+:} false; then :
   4086   $as_echo_n "(cached) " >&6
   4087 else
   4088   if $as_echo 'TRUE=$(BAR$(V))
   4089 BAR0=false
   4090 BAR1=true
   4091 V=1
   4092 am__doit:
   4093 	@$(TRUE)
   4094 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4095   am_cv_make_support_nested_variables=yes
   4096 else
   4097   am_cv_make_support_nested_variables=no
   4098 fi
   4099 fi
   4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4101 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4102 if test $am_cv_make_support_nested_variables = yes; then
   4103     AM_V='$(V)'
   4104   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4105 else
   4106   AM_V=$AM_DEFAULT_VERBOSITY
   4107   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4108 fi
   4109 AM_BACKSLASH='\'
   4110 
   4111 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4112   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4113   # is not polluted with repeated "-I."
   4114   am__isrc=' -I$(srcdir)'
   4115   # test to see if srcdir already configured
   4116   if test -f $srcdir/config.status; then
   4117     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4118   fi
   4119 fi
   4120 
   4121 # test whether we have cygpath
   4122 if test -z "$CYGPATH_W"; then
   4123   if (cygpath --version) >/dev/null 2>/dev/null; then
   4124     CYGPATH_W='cygpath -w'
   4125   else
   4126     CYGPATH_W=echo
   4127   fi
   4128 fi
   4129 
   4130 
   4131 # Define the identity of the package.
   4132  PACKAGE='twm'
   4133  VERSION='1.0.8'
   4134 
   4135 
   4136 cat >>confdefs.h <<_ACEOF
   4137 #define PACKAGE "$PACKAGE"
   4138 _ACEOF
   4139 
   4140 
   4141 cat >>confdefs.h <<_ACEOF
   4142 #define VERSION "$VERSION"
   4143 _ACEOF
   4144 
   4145 # Some tools Automake needs.
   4146 
   4147 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4148 
   4149 
   4150 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4151 
   4152 
   4153 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4154 
   4155 
   4156 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4157 
   4158 
   4159 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4160 
   4161 # For better backward compatibility.  To be removed once Automake 1.9.x
   4162 # dies out for good.  For more background, see:
   4163 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4164 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4165 mkdir_p='$(MKDIR_P)'
   4166 
   4167 # We need awk for the "check" target.  The system "awk" is bad on
   4168 # some platforms.
   4169 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4170 # in the wild :-(  We should find a proper way to deprecate it ...
   4171 AMTAR='$${TAR-tar}'
   4172 
   4173 
   4174 # We'll loop over all known methods to create a tar archive until one works.
   4175 _am_tools='gnutar  pax cpio none'
   4176 
   4177 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4178 
   4179 
   4180 
   4181 
   4182 
   4183 depcc="$CC"   am_compiler_list=
   4184 
   4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4186 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4187 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4188   $as_echo_n "(cached) " >&6
   4189 else
   4190   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4191   # We make a subdir and do the tests there.  Otherwise we can end up
   4192   # making bogus files that we don't know about and never remove.  For
   4193   # instance it was reported that on HP-UX the gcc test will end up
   4194   # making a dummy file named 'D' -- because '-MD' means "put the output
   4195   # in D".
   4196   rm -rf conftest.dir
   4197   mkdir conftest.dir
   4198   # Copy depcomp to subdir because otherwise we won't find it if we're
   4199   # using a relative directory.
   4200   cp "$am_depcomp" conftest.dir
   4201   cd conftest.dir
   4202   # We will build objects and dependencies in a subdirectory because
   4203   # it helps to detect inapplicable dependency modes.  For instance
   4204   # both Tru64's cc and ICC support -MD to output dependencies as a
   4205   # side effect of compilation, but ICC will put the dependencies in
   4206   # the current directory while Tru64 will put them in the object
   4207   # directory.
   4208   mkdir sub
   4209 
   4210   am_cv_CC_dependencies_compiler_type=none
   4211   if test "$am_compiler_list" = ""; then
   4212      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4213   fi
   4214   am__universal=false
   4215   case " $depcc " in #(
   4216      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4217      esac
   4218 
   4219   for depmode in $am_compiler_list; do
   4220     # Setup a source with many dependencies, because some compilers
   4221     # like to wrap large dependency lists on column 80 (with \), and
   4222     # we should not choose a depcomp mode which is confused by this.
   4223     #
   4224     # We need to recreate these files for each test, as the compiler may
   4225     # overwrite some of them when testing with obscure command lines.
   4226     # This happens at least with the AIX C compiler.
   4227     : > sub/conftest.c
   4228     for i in 1 2 3 4 5 6; do
   4229       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4230       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4231       # Solaris 10 /bin/sh.
   4232       echo '/* dummy */' > sub/conftst$i.h
   4233     done
   4234     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4235 
   4236     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4237     # mode.  It turns out that the SunPro C++ compiler does not properly
   4238     # handle '-M -o', and we need to detect this.  Also, some Intel
   4239     # versions had trouble with output in subdirs.
   4240     am__obj=sub/conftest.${OBJEXT-o}
   4241     am__minus_obj="-o $am__obj"
   4242     case $depmode in
   4243     gcc)
   4244       # This depmode causes a compiler race in universal mode.
   4245       test "$am__universal" = false || continue
   4246       ;;
   4247     nosideeffect)
   4248       # After this tag, mechanisms are not by side-effect, so they'll
   4249       # only be used when explicitly requested.
   4250       if test "x$enable_dependency_tracking" = xyes; then
   4251 	continue
   4252       else
   4253 	break
   4254       fi
   4255       ;;
   4256     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4257       # This compiler won't grok '-c -o', but also, the minuso test has
   4258       # not run yet.  These depmodes are late enough in the game, and
   4259       # so weak that their functioning should not be impacted.
   4260       am__obj=conftest.${OBJEXT-o}
   4261       am__minus_obj=
   4262       ;;
   4263     none) break ;;
   4264     esac
   4265     if depmode=$depmode \
   4266        source=sub/conftest.c object=$am__obj \
   4267        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4268        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4269          >/dev/null 2>conftest.err &&
   4270        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4271        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4272        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4273        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4274       # icc doesn't choke on unknown options, it will just issue warnings
   4275       # or remarks (even with -Werror).  So we grep stderr for any message
   4276       # that says an option was ignored or not supported.
   4277       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4278       #   icc: Command line warning: ignoring option '-M'; no argument required
   4279       # The diagnosis changed in icc 8.0:
   4280       #   icc: Command line remark: option '-MP' not supported
   4281       if (grep 'ignoring option' conftest.err ||
   4282           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4283         am_cv_CC_dependencies_compiler_type=$depmode
   4284         break
   4285       fi
   4286     fi
   4287   done
   4288 
   4289   cd ..
   4290   rm -rf conftest.dir
   4291 else
   4292   am_cv_CC_dependencies_compiler_type=none
   4293 fi
   4294 
   4295 fi
   4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4297 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4298 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4299 
   4300  if
   4301   test "x$enable_dependency_tracking" != xno \
   4302   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4303   am__fastdepCC_TRUE=
   4304   am__fastdepCC_FALSE='#'
   4305 else
   4306   am__fastdepCC_TRUE='#'
   4307   am__fastdepCC_FALSE=
   4308 fi
   4309 
   4310 
   4311 
   4312 # POSIX will say in a future version that running "rm -f" with no argument
   4313 # is OK; and we want to be able to make that assumption in our Makefile
   4314 # recipes.  So use an aggressive probe to check that the usage we want is
   4315 # actually supported "in the wild" to an acceptable degree.
   4316 # See automake bug#10828.
   4317 # To make any issue more visible, cause the running configure to be aborted
   4318 # by default if the 'rm' program in use doesn't match our expectations; the
   4319 # user can still override this though.
   4320 if rm -f && rm -fr && rm -rf; then : OK; else
   4321   cat >&2 <<'END'
   4322 Oops!
   4323 
   4324 Your 'rm' program seems unable to run without file operands specified
   4325 on the command line, even when the '-f' option is present.  This is contrary
   4326 to the behaviour of most rm programs out there, and not conforming with
   4327 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4328 
   4329 Please tell bug-automake@gnu.org about your system, including the value
   4330 of your $PATH and any error possibly output before this message.  This
   4331 can help us improve future automake versions.
   4332 
   4333 END
   4334   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4335     echo 'Configuration will proceed anyway, since you have set the' >&2
   4336     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4337     echo >&2
   4338   else
   4339     cat >&2 <<'END'
   4340 Aborting the configuration process, to ensure you take notice of the issue.
   4341 
   4342 You can download and install GNU coreutils to get an 'rm' implementation
   4343 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4344 
   4345 If you want to complete the configuration process using your problematic
   4346 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4347 to "yes", and re-run configure.
   4348 
   4349 END
   4350     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4351   fi
   4352 fi
   4353 
   4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4355 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4356     # Check whether --enable-maintainer-mode was given.
   4357 if test "${enable_maintainer_mode+set}" = set; then :
   4358   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4359 else
   4360   USE_MAINTAINER_MODE=no
   4361 fi
   4362 
   4363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4364 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4365    if test $USE_MAINTAINER_MODE = yes; then
   4366   MAINTAINER_MODE_TRUE=
   4367   MAINTAINER_MODE_FALSE='#'
   4368 else
   4369   MAINTAINER_MODE_TRUE='#'
   4370   MAINTAINER_MODE_FALSE=
   4371 fi
   4372 
   4373   MAINT=$MAINTAINER_MODE_TRUE
   4374 
   4375 
   4376 
   4377 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 
   4385 
   4386 
   4387 
   4388 
   4389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4390 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4391 if ${ac_cv_prog_cc_c99+:} false; then :
   4392   $as_echo_n "(cached) " >&6
   4393 else
   4394   ac_cv_prog_cc_c99=no
   4395 ac_save_CC=$CC
   4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4397 /* end confdefs.h.  */
   4398 #include <stdarg.h>
   4399 #include <stdbool.h>
   4400 #include <stdlib.h>
   4401 #include <wchar.h>
   4402 #include <stdio.h>
   4403 
   4404 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4405 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4406 #define showlist(...) puts (#__VA_ARGS__)
   4407 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4408 static void
   4409 test_varargs_macros (void)
   4410 {
   4411   int x = 1234;
   4412   int y = 5678;
   4413   debug ("Flag");
   4414   debug ("X = %d\n", x);
   4415   showlist (The first, second, and third items.);
   4416   report (x>y, "x is %d but y is %d", x, y);
   4417 }
   4418 
   4419 // Check long long types.
   4420 #define BIG64 18446744073709551615ull
   4421 #define BIG32 4294967295ul
   4422 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4423 #if !BIG_OK
   4424   your preprocessor is broken;
   4425 #endif
   4426 #if BIG_OK
   4427 #else
   4428   your preprocessor is broken;
   4429 #endif
   4430 static long long int bignum = -9223372036854775807LL;
   4431 static unsigned long long int ubignum = BIG64;
   4432 
   4433 struct incomplete_array
   4434 {
   4435   int datasize;
   4436   double data[];
   4437 };
   4438 
   4439 struct named_init {
   4440   int number;
   4441   const wchar_t *name;
   4442   double average;
   4443 };
   4444 
   4445 typedef const char *ccp;
   4446 
   4447 static inline int
   4448 test_restrict (ccp restrict text)
   4449 {
   4450   // See if C++-style comments work.
   4451   // Iterate through items via the restricted pointer.
   4452   // Also check for declarations in for loops.
   4453   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4454     continue;
   4455   return 0;
   4456 }
   4457 
   4458 // Check varargs and va_copy.
   4459 static void
   4460 test_varargs (const char *format, ...)
   4461 {
   4462   va_list args;
   4463   va_start (args, format);
   4464   va_list args_copy;
   4465   va_copy (args_copy, args);
   4466 
   4467   const char *str;
   4468   int number;
   4469   float fnumber;
   4470 
   4471   while (*format)
   4472     {
   4473       switch (*format++)
   4474 	{
   4475 	case 's': // string
   4476 	  str = va_arg (args_copy, const char *);
   4477 	  break;
   4478 	case 'd': // int
   4479 	  number = va_arg (args_copy, int);
   4480 	  break;
   4481 	case 'f': // float
   4482 	  fnumber = va_arg (args_copy, double);
   4483 	  break;
   4484 	default:
   4485 	  break;
   4486 	}
   4487     }
   4488   va_end (args_copy);
   4489   va_end (args);
   4490 }
   4491 
   4492 int
   4493 main ()
   4494 {
   4495 
   4496   // Check bool.
   4497   _Bool success = false;
   4498 
   4499   // Check restrict.
   4500   if (test_restrict ("String literal") == 0)
   4501     success = true;
   4502   char *restrict newvar = "Another string";
   4503 
   4504   // Check varargs.
   4505   test_varargs ("s, d' f .", "string", 65, 34.234);
   4506   test_varargs_macros ();
   4507 
   4508   // Check flexible array members.
   4509   struct incomplete_array *ia =
   4510     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4511   ia->datasize = 10;
   4512   for (int i = 0; i < ia->datasize; ++i)
   4513     ia->data[i] = i * 1.234;
   4514 
   4515   // Check named initializers.
   4516   struct named_init ni = {
   4517     .number = 34,
   4518     .name = L"Test wide string",
   4519     .average = 543.34343,
   4520   };
   4521 
   4522   ni.number = 58;
   4523 
   4524   int dynamic_array[ni.number];
   4525   dynamic_array[ni.number - 1] = 543;
   4526 
   4527   // work around unused variable warnings
   4528   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4529 	  || dynamic_array[ni.number - 1] != 543);
   4530 
   4531   ;
   4532   return 0;
   4533 }
   4534 _ACEOF
   4535 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4536 do
   4537   CC="$ac_save_CC $ac_arg"
   4538   if ac_fn_c_try_compile "$LINENO"; then :
   4539   ac_cv_prog_cc_c99=$ac_arg
   4540 fi
   4541 rm -f core conftest.err conftest.$ac_objext
   4542   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4543 done
   4544 rm -f conftest.$ac_ext
   4545 CC=$ac_save_CC
   4546 
   4547 fi
   4548 # AC_CACHE_VAL
   4549 case "x$ac_cv_prog_cc_c99" in
   4550   x)
   4551     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4552 $as_echo "none needed" >&6; } ;;
   4553   xno)
   4554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4555 $as_echo "unsupported" >&6; } ;;
   4556   *)
   4557     CC="$CC $ac_cv_prog_cc_c99"
   4558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4559 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4560 esac
   4561 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4562 
   4563 fi
   4564 
   4565 
   4566 
   4567 
   4568 
   4569 
   4570 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4571 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4572   CLANGCC="yes"
   4573 else
   4574   CLANGCC="no"
   4575 fi
   4576 
   4577 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4578 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4579   INTELCC="yes"
   4580 else
   4581   INTELCC="no"
   4582 fi
   4583 
   4584 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4585 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4586   SUNCC="yes"
   4587 else
   4588   SUNCC="no"
   4589 fi
   4590 
   4591 
   4592 
   4593 
   4594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4595 	if test -n "$ac_tool_prefix"; then
   4596   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4599 $as_echo_n "checking for $ac_word... " >&6; }
   4600 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4601   $as_echo_n "(cached) " >&6
   4602 else
   4603   case $PKG_CONFIG in
   4604   [\\/]* | ?:[\\/]*)
   4605   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4606   ;;
   4607   *)
   4608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4609 for as_dir in $PATH
   4610 do
   4611   IFS=$as_save_IFS
   4612   test -z "$as_dir" && as_dir=.
   4613     for ac_exec_ext in '' $ac_executable_extensions; do
   4614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4615     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4617     break 2
   4618   fi
   4619 done
   4620   done
   4621 IFS=$as_save_IFS
   4622 
   4623   ;;
   4624 esac
   4625 fi
   4626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4627 if test -n "$PKG_CONFIG"; then
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4629 $as_echo "$PKG_CONFIG" >&6; }
   4630 else
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4632 $as_echo "no" >&6; }
   4633 fi
   4634 
   4635 
   4636 fi
   4637 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4638   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4639   # Extract the first word of "pkg-config", so it can be a program name with args.
   4640 set dummy pkg-config; ac_word=$2
   4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4642 $as_echo_n "checking for $ac_word... " >&6; }
   4643 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4644   $as_echo_n "(cached) " >&6
   4645 else
   4646   case $ac_pt_PKG_CONFIG in
   4647   [\\/]* | ?:[\\/]*)
   4648   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4649   ;;
   4650   *)
   4651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4652 for as_dir in $PATH
   4653 do
   4654   IFS=$as_save_IFS
   4655   test -z "$as_dir" && as_dir=.
   4656     for ac_exec_ext in '' $ac_executable_extensions; do
   4657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4658     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4660     break 2
   4661   fi
   4662 done
   4663   done
   4664 IFS=$as_save_IFS
   4665 
   4666   ;;
   4667 esac
   4668 fi
   4669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4670 if test -n "$ac_pt_PKG_CONFIG"; then
   4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4673 else
   4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4675 $as_echo "no" >&6; }
   4676 fi
   4677 
   4678   if test "x$ac_pt_PKG_CONFIG" = x; then
   4679     PKG_CONFIG=""
   4680   else
   4681     case $cross_compiling:$ac_tool_warned in
   4682 yes:)
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4685 ac_tool_warned=yes ;;
   4686 esac
   4687     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4688   fi
   4689 else
   4690   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4691 fi
   4692 
   4693 fi
   4694 if test -n "$PKG_CONFIG"; then
   4695 	_pkg_min_version=0.9.0
   4696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4698 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4700 $as_echo "yes" >&6; }
   4701 	else
   4702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4703 $as_echo "no" >&6; }
   4704 		PKG_CONFIG=""
   4705 	fi
   4706 
   4707 fi
   4708 # Make sure we can run config.sub.
   4709 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4710   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4711 
   4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4713 $as_echo_n "checking build system type... " >&6; }
   4714 if ${ac_cv_build+:} false; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   ac_build_alias=$build_alias
   4718 test "x$ac_build_alias" = x &&
   4719   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4720 test "x$ac_build_alias" = x &&
   4721   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4722 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4723   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4724 
   4725 fi
   4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4727 $as_echo "$ac_cv_build" >&6; }
   4728 case $ac_cv_build in
   4729 *-*-*) ;;
   4730 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4731 esac
   4732 build=$ac_cv_build
   4733 ac_save_IFS=$IFS; IFS='-'
   4734 set x $ac_cv_build
   4735 shift
   4736 build_cpu=$1
   4737 build_vendor=$2
   4738 shift; shift
   4739 # Remember, the first character of IFS is used to create $*,
   4740 # except with old shells:
   4741 build_os=$*
   4742 IFS=$ac_save_IFS
   4743 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4744 
   4745 
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4747 $as_echo_n "checking host system type... " >&6; }
   4748 if ${ac_cv_host+:} false; then :
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751   if test "x$host_alias" = x; then
   4752   ac_cv_host=$ac_cv_build
   4753 else
   4754   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4755     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4756 fi
   4757 
   4758 fi
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4760 $as_echo "$ac_cv_host" >&6; }
   4761 case $ac_cv_host in
   4762 *-*-*) ;;
   4763 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4764 esac
   4765 host=$ac_cv_host
   4766 ac_save_IFS=$IFS; IFS='-'
   4767 set x $ac_cv_host
   4768 shift
   4769 host_cpu=$1
   4770 host_vendor=$2
   4771 shift; shift
   4772 # Remember, the first character of IFS is used to create $*,
   4773 # except with old shells:
   4774 host_os=$*
   4775 IFS=$ac_save_IFS
   4776 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4777 
   4778 
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4780 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4781 if ${ac_cv_path_SED+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4785      for ac_i in 1 2 3 4 5 6 7; do
   4786        ac_script="$ac_script$as_nl$ac_script"
   4787      done
   4788      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4789      { ac_script=; unset ac_script;}
   4790      if test -z "$SED"; then
   4791   ac_path_SED_found=false
   4792   # Loop through the user's path and test for each of PROGNAME-LIST
   4793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4794 for as_dir in $PATH
   4795 do
   4796   IFS=$as_save_IFS
   4797   test -z "$as_dir" && as_dir=.
   4798     for ac_prog in sed gsed; do
   4799     for ac_exec_ext in '' $ac_executable_extensions; do
   4800       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4801       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4802 # Check for GNU ac_path_SED and select it if it is found.
   4803   # Check for GNU $ac_path_SED
   4804 case `"$ac_path_SED" --version 2>&1` in
   4805 *GNU*)
   4806   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4807 *)
   4808   ac_count=0
   4809   $as_echo_n 0123456789 >"conftest.in"
   4810   while :
   4811   do
   4812     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4813     mv "conftest.tmp" "conftest.in"
   4814     cp "conftest.in" "conftest.nl"
   4815     $as_echo '' >> "conftest.nl"
   4816     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4817     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4818     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4819     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4820       # Best one so far, save it but keep looking for a better one
   4821       ac_cv_path_SED="$ac_path_SED"
   4822       ac_path_SED_max=$ac_count
   4823     fi
   4824     # 10*(2^10) chars as input seems more than enough
   4825     test $ac_count -gt 10 && break
   4826   done
   4827   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4828 esac
   4829 
   4830       $ac_path_SED_found && break 3
   4831     done
   4832   done
   4833   done
   4834 IFS=$as_save_IFS
   4835   if test -z "$ac_cv_path_SED"; then
   4836     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4837   fi
   4838 else
   4839   ac_cv_path_SED=$SED
   4840 fi
   4841 
   4842 fi
   4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4844 $as_echo "$ac_cv_path_SED" >&6; }
   4845  SED="$ac_cv_path_SED"
   4846   rm -f conftest.sed
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 # Check whether --enable-selective-werror was given.
   4854 if test "${enable_selective_werror+set}" = set; then :
   4855   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4856 else
   4857   SELECTIVE_WERROR=yes
   4858 fi
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4865 if test "x$SUNCC" = "xyes"; then
   4866     BASE_CFLAGS="-v"
   4867 else
   4868     BASE_CFLAGS=""
   4869 fi
   4870 
   4871 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 xorg_testset_save_CFLAGS="$CFLAGS"
   4886 
   4887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4892   $as_echo_n "(cached) " >&6
   4893 else
   4894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4895 /* end confdefs.h.  */
   4896 int i;
   4897 _ACEOF
   4898 if ac_fn_c_try_compile "$LINENO"; then :
   4899   xorg_cv_cc_flag_unknown_warning_option=yes
   4900 else
   4901   xorg_cv_cc_flag_unknown_warning_option=no
   4902 fi
   4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4904 fi
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4908 	CFLAGS="$xorg_testset_save_CFLAGS"
   4909 fi
   4910 
   4911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4914 	fi
   4915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4919   $as_echo_n "(cached) " >&6
   4920 else
   4921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4922 /* end confdefs.h.  */
   4923 int i;
   4924 _ACEOF
   4925 if ac_fn_c_try_compile "$LINENO"; then :
   4926   xorg_cv_cc_flag_unused_command_line_argument=yes
   4927 else
   4928   xorg_cv_cc_flag_unused_command_line_argument=no
   4929 fi
   4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4931 fi
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4935 	CFLAGS="$xorg_testset_save_CFLAGS"
   4936 fi
   4937 
   4938 found="no"
   4939 
   4940 	if test $found = "no" ; then
   4941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4943 		fi
   4944 
   4945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4947 		fi
   4948 
   4949 		CFLAGS="$CFLAGS -Wall"
   4950 
   4951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4952 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4953 		cacheid=xorg_cv_cc_flag__Wall
   4954 		if eval \${$cacheid+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4958 /* end confdefs.h.  */
   4959 int i;
   4960 int
   4961 main ()
   4962 {
   4963 
   4964   ;
   4965   return 0;
   4966 }
   4967 _ACEOF
   4968 if ac_fn_c_try_link "$LINENO"; then :
   4969   eval $cacheid=yes
   4970 else
   4971   eval $cacheid=no
   4972 fi
   4973 rm -f core conftest.err conftest.$ac_objext \
   4974     conftest$ac_exeext conftest.$ac_ext
   4975 fi
   4976 
   4977 
   4978 		CFLAGS="$xorg_testset_save_CFLAGS"
   4979 
   4980 		eval supported=\$$cacheid
   4981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4982 $as_echo "$supported" >&6; }
   4983 		if test "$supported" = "yes" ; then
   4984 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4985 			found="yes"
   4986 		fi
   4987 	fi
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 xorg_testset_save_CFLAGS="$CFLAGS"
   5004 
   5005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5010   $as_echo_n "(cached) " >&6
   5011 else
   5012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5013 /* end confdefs.h.  */
   5014 int i;
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   xorg_cv_cc_flag_unknown_warning_option=yes
   5018 else
   5019   xorg_cv_cc_flag_unknown_warning_option=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 fi
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5026 	CFLAGS="$xorg_testset_save_CFLAGS"
   5027 fi
   5028 
   5029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 	fi
   5033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 int i;
   5042 _ACEOF
   5043 if ac_fn_c_try_compile "$LINENO"; then :
   5044   xorg_cv_cc_flag_unused_command_line_argument=yes
   5045 else
   5046   xorg_cv_cc_flag_unused_command_line_argument=no
   5047 fi
   5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5049 fi
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5053 	CFLAGS="$xorg_testset_save_CFLAGS"
   5054 fi
   5055 
   5056 found="no"
   5057 
   5058 	if test $found = "no" ; then
   5059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5061 		fi
   5062 
   5063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5065 		fi
   5066 
   5067 		CFLAGS="$CFLAGS -Wpointer-arith"
   5068 
   5069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5070 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5071 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5072 		if eval \${$cacheid+:} false; then :
   5073   $as_echo_n "(cached) " >&6
   5074 else
   5075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5076 /* end confdefs.h.  */
   5077 int i;
   5078 int
   5079 main ()
   5080 {
   5081 
   5082   ;
   5083   return 0;
   5084 }
   5085 _ACEOF
   5086 if ac_fn_c_try_link "$LINENO"; then :
   5087   eval $cacheid=yes
   5088 else
   5089   eval $cacheid=no
   5090 fi
   5091 rm -f core conftest.err conftest.$ac_objext \
   5092     conftest$ac_exeext conftest.$ac_ext
   5093 fi
   5094 
   5095 
   5096 		CFLAGS="$xorg_testset_save_CFLAGS"
   5097 
   5098 		eval supported=\$$cacheid
   5099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5100 $as_echo "$supported" >&6; }
   5101 		if test "$supported" = "yes" ; then
   5102 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5103 			found="yes"
   5104 		fi
   5105 	fi
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 xorg_testset_save_CFLAGS="$CFLAGS"
   5122 
   5123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5128   $as_echo_n "(cached) " >&6
   5129 else
   5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 _ACEOF
   5134 if ac_fn_c_try_compile "$LINENO"; then :
   5135   xorg_cv_cc_flag_unknown_warning_option=yes
   5136 else
   5137   xorg_cv_cc_flag_unknown_warning_option=no
   5138 fi
   5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5140 fi
   5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5144 	CFLAGS="$xorg_testset_save_CFLAGS"
   5145 fi
   5146 
   5147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5150 	fi
   5151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5155   $as_echo_n "(cached) " >&6
   5156 else
   5157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5158 /* end confdefs.h.  */
   5159 int i;
   5160 _ACEOF
   5161 if ac_fn_c_try_compile "$LINENO"; then :
   5162   xorg_cv_cc_flag_unused_command_line_argument=yes
   5163 else
   5164   xorg_cv_cc_flag_unused_command_line_argument=no
   5165 fi
   5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5171 	CFLAGS="$xorg_testset_save_CFLAGS"
   5172 fi
   5173 
   5174 found="no"
   5175 
   5176 	if test $found = "no" ; then
   5177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 		fi
   5180 
   5181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5183 		fi
   5184 
   5185 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5186 
   5187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5188 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5189 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5190 		if eval \${$cacheid+:} false; then :
   5191   $as_echo_n "(cached) " >&6
   5192 else
   5193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5194 /* end confdefs.h.  */
   5195 int i;
   5196 int
   5197 main ()
   5198 {
   5199 
   5200   ;
   5201   return 0;
   5202 }
   5203 _ACEOF
   5204 if ac_fn_c_try_link "$LINENO"; then :
   5205   eval $cacheid=yes
   5206 else
   5207   eval $cacheid=no
   5208 fi
   5209 rm -f core conftest.err conftest.$ac_objext \
   5210     conftest$ac_exeext conftest.$ac_ext
   5211 fi
   5212 
   5213 
   5214 		CFLAGS="$xorg_testset_save_CFLAGS"
   5215 
   5216 		eval supported=\$$cacheid
   5217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5218 $as_echo "$supported" >&6; }
   5219 		if test "$supported" = "yes" ; then
   5220 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5221 			found="yes"
   5222 		fi
   5223 	fi
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 xorg_testset_save_CFLAGS="$CFLAGS"
   5240 
   5241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5245 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   5252 if ac_fn_c_try_compile "$LINENO"; then :
   5253   xorg_cv_cc_flag_unknown_warning_option=yes
   5254 else
   5255   xorg_cv_cc_flag_unknown_warning_option=no
   5256 fi
   5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5258 fi
   5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5262 	CFLAGS="$xorg_testset_save_CFLAGS"
   5263 fi
   5264 
   5265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5268 	fi
   5269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5273   $as_echo_n "(cached) " >&6
   5274 else
   5275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 int i;
   5278 _ACEOF
   5279 if ac_fn_c_try_compile "$LINENO"; then :
   5280   xorg_cv_cc_flag_unused_command_line_argument=yes
   5281 else
   5282   xorg_cv_cc_flag_unused_command_line_argument=no
   5283 fi
   5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5285 fi
   5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5289 	CFLAGS="$xorg_testset_save_CFLAGS"
   5290 fi
   5291 
   5292 found="no"
   5293 
   5294 	if test $found = "no" ; then
   5295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 		fi
   5298 
   5299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5301 		fi
   5302 
   5303 		CFLAGS="$CFLAGS -Wformat=2"
   5304 
   5305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5306 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5307 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5308 		if eval \${$cacheid+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 int i;
   5314 int
   5315 main ()
   5316 {
   5317 
   5318   ;
   5319   return 0;
   5320 }
   5321 _ACEOF
   5322 if ac_fn_c_try_link "$LINENO"; then :
   5323   eval $cacheid=yes
   5324 else
   5325   eval $cacheid=no
   5326 fi
   5327 rm -f core conftest.err conftest.$ac_objext \
   5328     conftest$ac_exeext conftest.$ac_ext
   5329 fi
   5330 
   5331 
   5332 		CFLAGS="$xorg_testset_save_CFLAGS"
   5333 
   5334 		eval supported=\$$cacheid
   5335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5336 $as_echo "$supported" >&6; }
   5337 		if test "$supported" = "yes" ; then
   5338 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5339 			found="yes"
   5340 		fi
   5341 	fi
   5342 
   5343 	if test $found = "no" ; then
   5344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 		fi
   5347 
   5348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5350 		fi
   5351 
   5352 		CFLAGS="$CFLAGS -Wformat"
   5353 
   5354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5355 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5356 		cacheid=xorg_cv_cc_flag__Wformat
   5357 		if eval \${$cacheid+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 int
   5364 main ()
   5365 {
   5366 
   5367   ;
   5368   return 0;
   5369 }
   5370 _ACEOF
   5371 if ac_fn_c_try_link "$LINENO"; then :
   5372   eval $cacheid=yes
   5373 else
   5374   eval $cacheid=no
   5375 fi
   5376 rm -f core conftest.err conftest.$ac_objext \
   5377     conftest$ac_exeext conftest.$ac_ext
   5378 fi
   5379 
   5380 
   5381 		CFLAGS="$xorg_testset_save_CFLAGS"
   5382 
   5383 		eval supported=\$$cacheid
   5384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5385 $as_echo "$supported" >&6; }
   5386 		if test "$supported" = "yes" ; then
   5387 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5388 			found="yes"
   5389 		fi
   5390 	fi
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 xorg_testset_save_CFLAGS="$CFLAGS"
   5409 
   5410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5418 /* end confdefs.h.  */
   5419 int i;
   5420 _ACEOF
   5421 if ac_fn_c_try_compile "$LINENO"; then :
   5422   xorg_cv_cc_flag_unknown_warning_option=yes
   5423 else
   5424   xorg_cv_cc_flag_unknown_warning_option=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5427 fi
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	fi
   5438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5445 /* end confdefs.h.  */
   5446 int i;
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"; then :
   5449   xorg_cv_cc_flag_unused_command_line_argument=yes
   5450 else
   5451   xorg_cv_cc_flag_unused_command_line_argument=no
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5454 fi
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5458 	CFLAGS="$xorg_testset_save_CFLAGS"
   5459 fi
   5460 
   5461 found="no"
   5462 
   5463 	if test $found = "no" ; then
   5464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5466 		fi
   5467 
   5468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5470 		fi
   5471 
   5472 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5473 
   5474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5475 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5476 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5477 		if eval \${$cacheid+:} false; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 int i;
   5483 int
   5484 main ()
   5485 {
   5486 
   5487   ;
   5488   return 0;
   5489 }
   5490 _ACEOF
   5491 if ac_fn_c_try_link "$LINENO"; then :
   5492   eval $cacheid=yes
   5493 else
   5494   eval $cacheid=no
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext \
   5497     conftest$ac_exeext conftest.$ac_ext
   5498 fi
   5499 
   5500 
   5501 		CFLAGS="$xorg_testset_save_CFLAGS"
   5502 
   5503 		eval supported=\$$cacheid
   5504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5505 $as_echo "$supported" >&6; }
   5506 		if test "$supported" = "yes" ; then
   5507 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5508 			found="yes"
   5509 		fi
   5510 	fi
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 xorg_testset_save_CFLAGS="$CFLAGS"
   5527 
   5528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5533   $as_echo_n "(cached) " >&6
   5534 else
   5535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5536 /* end confdefs.h.  */
   5537 int i;
   5538 _ACEOF
   5539 if ac_fn_c_try_compile "$LINENO"; then :
   5540   xorg_cv_cc_flag_unknown_warning_option=yes
   5541 else
   5542   xorg_cv_cc_flag_unknown_warning_option=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5545 fi
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	fi
   5556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 int i;
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"; then :
   5567   xorg_cv_cc_flag_unused_command_line_argument=yes
   5568 else
   5569   xorg_cv_cc_flag_unused_command_line_argument=no
   5570 fi
   5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5572 fi
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5576 	CFLAGS="$xorg_testset_save_CFLAGS"
   5577 fi
   5578 
   5579 found="no"
   5580 
   5581 	if test $found = "no" ; then
   5582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5584 		fi
   5585 
   5586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5588 		fi
   5589 
   5590 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5591 
   5592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5593 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5594 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5595 		if eval \${$cacheid+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5599 /* end confdefs.h.  */
   5600 int i;
   5601 int
   5602 main ()
   5603 {
   5604 
   5605   ;
   5606   return 0;
   5607 }
   5608 _ACEOF
   5609 if ac_fn_c_try_link "$LINENO"; then :
   5610   eval $cacheid=yes
   5611 else
   5612   eval $cacheid=no
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext \
   5615     conftest$ac_exeext conftest.$ac_ext
   5616 fi
   5617 
   5618 
   5619 		CFLAGS="$xorg_testset_save_CFLAGS"
   5620 
   5621 		eval supported=\$$cacheid
   5622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5623 $as_echo "$supported" >&6; }
   5624 		if test "$supported" = "yes" ; then
   5625 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5626 			found="yes"
   5627 		fi
   5628 	fi
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 xorg_testset_save_CFLAGS="$CFLAGS"
   5645 
   5646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"; then :
   5658   xorg_cv_cc_flag_unknown_warning_option=yes
   5659 else
   5660   xorg_cv_cc_flag_unknown_warning_option=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5663 fi
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	fi
   5674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5678   $as_echo_n "(cached) " >&6
   5679 else
   5680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5681 /* end confdefs.h.  */
   5682 int i;
   5683 _ACEOF
   5684 if ac_fn_c_try_compile "$LINENO"; then :
   5685   xorg_cv_cc_flag_unused_command_line_argument=yes
   5686 else
   5687   xorg_cv_cc_flag_unused_command_line_argument=no
   5688 fi
   5689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5690 fi
   5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5694 	CFLAGS="$xorg_testset_save_CFLAGS"
   5695 fi
   5696 
   5697 found="no"
   5698 
   5699 	if test $found = "no" ; then
   5700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5702 		fi
   5703 
   5704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5706 		fi
   5707 
   5708 		CFLAGS="$CFLAGS -Wnested-externs"
   5709 
   5710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5711 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5712 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5713 		if eval \${$cacheid+:} false; then :
   5714   $as_echo_n "(cached) " >&6
   5715 else
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 int
   5720 main ()
   5721 {
   5722 
   5723   ;
   5724   return 0;
   5725 }
   5726 _ACEOF
   5727 if ac_fn_c_try_link "$LINENO"; then :
   5728   eval $cacheid=yes
   5729 else
   5730   eval $cacheid=no
   5731 fi
   5732 rm -f core conftest.err conftest.$ac_objext \
   5733     conftest$ac_exeext conftest.$ac_ext
   5734 fi
   5735 
   5736 
   5737 		CFLAGS="$xorg_testset_save_CFLAGS"
   5738 
   5739 		eval supported=\$$cacheid
   5740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5741 $as_echo "$supported" >&6; }
   5742 		if test "$supported" = "yes" ; then
   5743 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5744 			found="yes"
   5745 		fi
   5746 	fi
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 xorg_testset_save_CFLAGS="$CFLAGS"
   5763 
   5764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5769   $as_echo_n "(cached) " >&6
   5770 else
   5771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5772 /* end confdefs.h.  */
   5773 int i;
   5774 _ACEOF
   5775 if ac_fn_c_try_compile "$LINENO"; then :
   5776   xorg_cv_cc_flag_unknown_warning_option=yes
   5777 else
   5778   xorg_cv_cc_flag_unknown_warning_option=no
   5779 fi
   5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5781 fi
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5785 	CFLAGS="$xorg_testset_save_CFLAGS"
   5786 fi
   5787 
   5788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 	fi
   5792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5796   $as_echo_n "(cached) " >&6
   5797 else
   5798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5799 /* end confdefs.h.  */
   5800 int i;
   5801 _ACEOF
   5802 if ac_fn_c_try_compile "$LINENO"; then :
   5803   xorg_cv_cc_flag_unused_command_line_argument=yes
   5804 else
   5805   xorg_cv_cc_flag_unused_command_line_argument=no
   5806 fi
   5807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5808 fi
   5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5812 	CFLAGS="$xorg_testset_save_CFLAGS"
   5813 fi
   5814 
   5815 found="no"
   5816 
   5817 	if test $found = "no" ; then
   5818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5820 		fi
   5821 
   5822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5824 		fi
   5825 
   5826 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5827 
   5828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5829 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5830 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5831 		if eval \${$cacheid+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 int i;
   5837 int
   5838 main ()
   5839 {
   5840 
   5841   ;
   5842   return 0;
   5843 }
   5844 _ACEOF
   5845 if ac_fn_c_try_link "$LINENO"; then :
   5846   eval $cacheid=yes
   5847 else
   5848   eval $cacheid=no
   5849 fi
   5850 rm -f core conftest.err conftest.$ac_objext \
   5851     conftest$ac_exeext conftest.$ac_ext
   5852 fi
   5853 
   5854 
   5855 		CFLAGS="$xorg_testset_save_CFLAGS"
   5856 
   5857 		eval supported=\$$cacheid
   5858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5859 $as_echo "$supported" >&6; }
   5860 		if test "$supported" = "yes" ; then
   5861 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5862 			found="yes"
   5863 		fi
   5864 	fi
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 xorg_testset_save_CFLAGS="$CFLAGS"
   5881 
   5882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5890 /* end confdefs.h.  */
   5891 int i;
   5892 _ACEOF
   5893 if ac_fn_c_try_compile "$LINENO"; then :
   5894   xorg_cv_cc_flag_unknown_warning_option=yes
   5895 else
   5896   xorg_cv_cc_flag_unknown_warning_option=no
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5899 fi
   5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5903 	CFLAGS="$xorg_testset_save_CFLAGS"
   5904 fi
   5905 
   5906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5909 	fi
   5910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5914   $as_echo_n "(cached) " >&6
   5915 else
   5916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5917 /* end confdefs.h.  */
   5918 int i;
   5919 _ACEOF
   5920 if ac_fn_c_try_compile "$LINENO"; then :
   5921   xorg_cv_cc_flag_unused_command_line_argument=yes
   5922 else
   5923   xorg_cv_cc_flag_unused_command_line_argument=no
   5924 fi
   5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5926 fi
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5930 	CFLAGS="$xorg_testset_save_CFLAGS"
   5931 fi
   5932 
   5933 found="no"
   5934 
   5935 	if test $found = "no" ; then
   5936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5938 		fi
   5939 
   5940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5942 		fi
   5943 
   5944 		CFLAGS="$CFLAGS -Wold-style-definition"
   5945 
   5946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5947 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5948 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5949 		if eval \${$cacheid+:} false; then :
   5950   $as_echo_n "(cached) " >&6
   5951 else
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 int i;
   5955 int
   5956 main ()
   5957 {
   5958 
   5959   ;
   5960   return 0;
   5961 }
   5962 _ACEOF
   5963 if ac_fn_c_try_link "$LINENO"; then :
   5964   eval $cacheid=yes
   5965 else
   5966   eval $cacheid=no
   5967 fi
   5968 rm -f core conftest.err conftest.$ac_objext \
   5969     conftest$ac_exeext conftest.$ac_ext
   5970 fi
   5971 
   5972 
   5973 		CFLAGS="$xorg_testset_save_CFLAGS"
   5974 
   5975 		eval supported=\$$cacheid
   5976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5977 $as_echo "$supported" >&6; }
   5978 		if test "$supported" = "yes" ; then
   5979 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5980 			found="yes"
   5981 		fi
   5982 	fi
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 xorg_testset_save_CFLAGS="$CFLAGS"
   5999 
   6000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6003 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6004 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6005   $as_echo_n "(cached) " >&6
   6006 else
   6007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 int i;
   6010 _ACEOF
   6011 if ac_fn_c_try_compile "$LINENO"; then :
   6012   xorg_cv_cc_flag_unknown_warning_option=yes
   6013 else
   6014   xorg_cv_cc_flag_unknown_warning_option=no
   6015 fi
   6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6017 fi
   6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6019 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6021 	CFLAGS="$xorg_testset_save_CFLAGS"
   6022 fi
   6023 
   6024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6027 	fi
   6028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6030 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6031 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6032   $as_echo_n "(cached) " >&6
   6033 else
   6034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6035 /* end confdefs.h.  */
   6036 int i;
   6037 _ACEOF
   6038 if ac_fn_c_try_compile "$LINENO"; then :
   6039   xorg_cv_cc_flag_unused_command_line_argument=yes
   6040 else
   6041   xorg_cv_cc_flag_unused_command_line_argument=no
   6042 fi
   6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6044 fi
   6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6046 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6048 	CFLAGS="$xorg_testset_save_CFLAGS"
   6049 fi
   6050 
   6051 found="no"
   6052 
   6053 	if test $found = "no" ; then
   6054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 		fi
   6057 
   6058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6060 		fi
   6061 
   6062 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6063 
   6064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6065 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6066 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6067 		if eval \${$cacheid+:} false; then :
   6068   $as_echo_n "(cached) " >&6
   6069 else
   6070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6071 /* end confdefs.h.  */
   6072 int i;
   6073 int
   6074 main ()
   6075 {
   6076 
   6077   ;
   6078   return 0;
   6079 }
   6080 _ACEOF
   6081 if ac_fn_c_try_link "$LINENO"; then :
   6082   eval $cacheid=yes
   6083 else
   6084   eval $cacheid=no
   6085 fi
   6086 rm -f core conftest.err conftest.$ac_objext \
   6087     conftest$ac_exeext conftest.$ac_ext
   6088 fi
   6089 
   6090 
   6091 		CFLAGS="$xorg_testset_save_CFLAGS"
   6092 
   6093 		eval supported=\$$cacheid
   6094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6095 $as_echo "$supported" >&6; }
   6096 		if test "$supported" = "yes" ; then
   6097 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6098 			found="yes"
   6099 		fi
   6100 	fi
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 # This chunk adds additional warnings that could catch undesired effects.
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 xorg_testset_save_CFLAGS="$CFLAGS"
   6121 
   6122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6127   $as_echo_n "(cached) " >&6
   6128 else
   6129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 _ACEOF
   6133 if ac_fn_c_try_compile "$LINENO"; then :
   6134   xorg_cv_cc_flag_unknown_warning_option=yes
   6135 else
   6136   xorg_cv_cc_flag_unknown_warning_option=no
   6137 fi
   6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6139 fi
   6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6143 	CFLAGS="$xorg_testset_save_CFLAGS"
   6144 fi
   6145 
   6146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6149 	fi
   6150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6154   $as_echo_n "(cached) " >&6
   6155 else
   6156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6157 /* end confdefs.h.  */
   6158 int i;
   6159 _ACEOF
   6160 if ac_fn_c_try_compile "$LINENO"; then :
   6161   xorg_cv_cc_flag_unused_command_line_argument=yes
   6162 else
   6163   xorg_cv_cc_flag_unused_command_line_argument=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6166 fi
   6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6170 	CFLAGS="$xorg_testset_save_CFLAGS"
   6171 fi
   6172 
   6173 found="no"
   6174 
   6175 	if test $found = "no" ; then
   6176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6178 		fi
   6179 
   6180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6182 		fi
   6183 
   6184 		CFLAGS="$CFLAGS -Wunused"
   6185 
   6186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6187 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6188 		cacheid=xorg_cv_cc_flag__Wunused
   6189 		if eval \${$cacheid+:} false; then :
   6190   $as_echo_n "(cached) " >&6
   6191 else
   6192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6193 /* end confdefs.h.  */
   6194 int i;
   6195 int
   6196 main ()
   6197 {
   6198 
   6199   ;
   6200   return 0;
   6201 }
   6202 _ACEOF
   6203 if ac_fn_c_try_link "$LINENO"; then :
   6204   eval $cacheid=yes
   6205 else
   6206   eval $cacheid=no
   6207 fi
   6208 rm -f core conftest.err conftest.$ac_objext \
   6209     conftest$ac_exeext conftest.$ac_ext
   6210 fi
   6211 
   6212 
   6213 		CFLAGS="$xorg_testset_save_CFLAGS"
   6214 
   6215 		eval supported=\$$cacheid
   6216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6217 $as_echo "$supported" >&6; }
   6218 		if test "$supported" = "yes" ; then
   6219 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6220 			found="yes"
   6221 		fi
   6222 	fi
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 xorg_testset_save_CFLAGS="$CFLAGS"
   6239 
   6240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6245   $as_echo_n "(cached) " >&6
   6246 else
   6247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6248 /* end confdefs.h.  */
   6249 int i;
   6250 _ACEOF
   6251 if ac_fn_c_try_compile "$LINENO"; then :
   6252   xorg_cv_cc_flag_unknown_warning_option=yes
   6253 else
   6254   xorg_cv_cc_flag_unknown_warning_option=no
   6255 fi
   6256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6257 fi
   6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6261 	CFLAGS="$xorg_testset_save_CFLAGS"
   6262 fi
   6263 
   6264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6267 	fi
   6268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6272   $as_echo_n "(cached) " >&6
   6273 else
   6274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6275 /* end confdefs.h.  */
   6276 int i;
   6277 _ACEOF
   6278 if ac_fn_c_try_compile "$LINENO"; then :
   6279   xorg_cv_cc_flag_unused_command_line_argument=yes
   6280 else
   6281   xorg_cv_cc_flag_unused_command_line_argument=no
   6282 fi
   6283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6284 fi
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6288 	CFLAGS="$xorg_testset_save_CFLAGS"
   6289 fi
   6290 
   6291 found="no"
   6292 
   6293 	if test $found = "no" ; then
   6294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6296 		fi
   6297 
   6298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6300 		fi
   6301 
   6302 		CFLAGS="$CFLAGS -Wuninitialized"
   6303 
   6304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6305 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6306 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6307 		if eval \${$cacheid+:} false; then :
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 int
   6314 main ()
   6315 {
   6316 
   6317   ;
   6318   return 0;
   6319 }
   6320 _ACEOF
   6321 if ac_fn_c_try_link "$LINENO"; then :
   6322   eval $cacheid=yes
   6323 else
   6324   eval $cacheid=no
   6325 fi
   6326 rm -f core conftest.err conftest.$ac_objext \
   6327     conftest$ac_exeext conftest.$ac_ext
   6328 fi
   6329 
   6330 
   6331 		CFLAGS="$xorg_testset_save_CFLAGS"
   6332 
   6333 		eval supported=\$$cacheid
   6334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6335 $as_echo "$supported" >&6; }
   6336 		if test "$supported" = "yes" ; then
   6337 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6338 			found="yes"
   6339 		fi
   6340 	fi
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 xorg_testset_save_CFLAGS="$CFLAGS"
   6357 
   6358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6363   $as_echo_n "(cached) " >&6
   6364 else
   6365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6366 /* end confdefs.h.  */
   6367 int i;
   6368 _ACEOF
   6369 if ac_fn_c_try_compile "$LINENO"; then :
   6370   xorg_cv_cc_flag_unknown_warning_option=yes
   6371 else
   6372   xorg_cv_cc_flag_unknown_warning_option=no
   6373 fi
   6374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6375 fi
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6379 	CFLAGS="$xorg_testset_save_CFLAGS"
   6380 fi
   6381 
   6382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6385 	fi
   6386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6390   $as_echo_n "(cached) " >&6
   6391 else
   6392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6393 /* end confdefs.h.  */
   6394 int i;
   6395 _ACEOF
   6396 if ac_fn_c_try_compile "$LINENO"; then :
   6397   xorg_cv_cc_flag_unused_command_line_argument=yes
   6398 else
   6399   xorg_cv_cc_flag_unused_command_line_argument=no
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6402 fi
   6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6406 	CFLAGS="$xorg_testset_save_CFLAGS"
   6407 fi
   6408 
   6409 found="no"
   6410 
   6411 	if test $found = "no" ; then
   6412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6414 		fi
   6415 
   6416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6418 		fi
   6419 
   6420 		CFLAGS="$CFLAGS -Wshadow"
   6421 
   6422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6423 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6424 		cacheid=xorg_cv_cc_flag__Wshadow
   6425 		if eval \${$cacheid+:} false; then :
   6426   $as_echo_n "(cached) " >&6
   6427 else
   6428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6429 /* end confdefs.h.  */
   6430 int i;
   6431 int
   6432 main ()
   6433 {
   6434 
   6435   ;
   6436   return 0;
   6437 }
   6438 _ACEOF
   6439 if ac_fn_c_try_link "$LINENO"; then :
   6440   eval $cacheid=yes
   6441 else
   6442   eval $cacheid=no
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext \
   6445     conftest$ac_exeext conftest.$ac_ext
   6446 fi
   6447 
   6448 
   6449 		CFLAGS="$xorg_testset_save_CFLAGS"
   6450 
   6451 		eval supported=\$$cacheid
   6452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6453 $as_echo "$supported" >&6; }
   6454 		if test "$supported" = "yes" ; then
   6455 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6456 			found="yes"
   6457 		fi
   6458 	fi
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 xorg_testset_save_CFLAGS="$CFLAGS"
   6475 
   6476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6481   $as_echo_n "(cached) " >&6
   6482 else
   6483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6484 /* end confdefs.h.  */
   6485 int i;
   6486 _ACEOF
   6487 if ac_fn_c_try_compile "$LINENO"; then :
   6488   xorg_cv_cc_flag_unknown_warning_option=yes
   6489 else
   6490   xorg_cv_cc_flag_unknown_warning_option=no
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6493 fi
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6497 	CFLAGS="$xorg_testset_save_CFLAGS"
   6498 fi
   6499 
   6500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6503 	fi
   6504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6508   $as_echo_n "(cached) " >&6
   6509 else
   6510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6511 /* end confdefs.h.  */
   6512 int i;
   6513 _ACEOF
   6514 if ac_fn_c_try_compile "$LINENO"; then :
   6515   xorg_cv_cc_flag_unused_command_line_argument=yes
   6516 else
   6517   xorg_cv_cc_flag_unused_command_line_argument=no
   6518 fi
   6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6520 fi
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6524 	CFLAGS="$xorg_testset_save_CFLAGS"
   6525 fi
   6526 
   6527 found="no"
   6528 
   6529 	if test $found = "no" ; then
   6530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6532 		fi
   6533 
   6534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6536 		fi
   6537 
   6538 		CFLAGS="$CFLAGS -Wcast-qual"
   6539 
   6540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6541 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6542 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6543 		if eval \${$cacheid+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 int
   6550 main ()
   6551 {
   6552 
   6553   ;
   6554   return 0;
   6555 }
   6556 _ACEOF
   6557 if ac_fn_c_try_link "$LINENO"; then :
   6558   eval $cacheid=yes
   6559 else
   6560   eval $cacheid=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext \
   6563     conftest$ac_exeext conftest.$ac_ext
   6564 fi
   6565 
   6566 
   6567 		CFLAGS="$xorg_testset_save_CFLAGS"
   6568 
   6569 		eval supported=\$$cacheid
   6570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6571 $as_echo "$supported" >&6; }
   6572 		if test "$supported" = "yes" ; then
   6573 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6574 			found="yes"
   6575 		fi
   6576 	fi
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 xorg_testset_save_CFLAGS="$CFLAGS"
   6593 
   6594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6597 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6598 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6599   $as_echo_n "(cached) " >&6
   6600 else
   6601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6602 /* end confdefs.h.  */
   6603 int i;
   6604 _ACEOF
   6605 if ac_fn_c_try_compile "$LINENO"; then :
   6606   xorg_cv_cc_flag_unknown_warning_option=yes
   6607 else
   6608   xorg_cv_cc_flag_unknown_warning_option=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6611 fi
   6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6613 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6615 	CFLAGS="$xorg_testset_save_CFLAGS"
   6616 fi
   6617 
   6618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6621 	fi
   6622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6624 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6625 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6626   $as_echo_n "(cached) " >&6
   6627 else
   6628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6629 /* end confdefs.h.  */
   6630 int i;
   6631 _ACEOF
   6632 if ac_fn_c_try_compile "$LINENO"; then :
   6633   xorg_cv_cc_flag_unused_command_line_argument=yes
   6634 else
   6635   xorg_cv_cc_flag_unused_command_line_argument=no
   6636 fi
   6637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6638 fi
   6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6640 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6642 	CFLAGS="$xorg_testset_save_CFLAGS"
   6643 fi
   6644 
   6645 found="no"
   6646 
   6647 	if test $found = "no" ; then
   6648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6650 		fi
   6651 
   6652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6654 		fi
   6655 
   6656 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6657 
   6658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6659 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6660 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6661 		if eval \${$cacheid+:} false; then :
   6662   $as_echo_n "(cached) " >&6
   6663 else
   6664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6665 /* end confdefs.h.  */
   6666 int i;
   6667 int
   6668 main ()
   6669 {
   6670 
   6671   ;
   6672   return 0;
   6673 }
   6674 _ACEOF
   6675 if ac_fn_c_try_link "$LINENO"; then :
   6676   eval $cacheid=yes
   6677 else
   6678   eval $cacheid=no
   6679 fi
   6680 rm -f core conftest.err conftest.$ac_objext \
   6681     conftest$ac_exeext conftest.$ac_ext
   6682 fi
   6683 
   6684 
   6685 		CFLAGS="$xorg_testset_save_CFLAGS"
   6686 
   6687 		eval supported=\$$cacheid
   6688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6689 $as_echo "$supported" >&6; }
   6690 		if test "$supported" = "yes" ; then
   6691 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6692 			found="yes"
   6693 		fi
   6694 	fi
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 xorg_testset_save_CFLAGS="$CFLAGS"
   6711 
   6712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6717   $as_echo_n "(cached) " >&6
   6718 else
   6719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6720 /* end confdefs.h.  */
   6721 int i;
   6722 _ACEOF
   6723 if ac_fn_c_try_compile "$LINENO"; then :
   6724   xorg_cv_cc_flag_unknown_warning_option=yes
   6725 else
   6726   xorg_cv_cc_flag_unknown_warning_option=no
   6727 fi
   6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6729 fi
   6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6733 	CFLAGS="$xorg_testset_save_CFLAGS"
   6734 fi
   6735 
   6736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6739 	fi
   6740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6744   $as_echo_n "(cached) " >&6
   6745 else
   6746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6747 /* end confdefs.h.  */
   6748 int i;
   6749 _ACEOF
   6750 if ac_fn_c_try_compile "$LINENO"; then :
   6751   xorg_cv_cc_flag_unused_command_line_argument=yes
   6752 else
   6753   xorg_cv_cc_flag_unused_command_line_argument=no
   6754 fi
   6755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6756 fi
   6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6760 	CFLAGS="$xorg_testset_save_CFLAGS"
   6761 fi
   6762 
   6763 found="no"
   6764 
   6765 	if test $found = "no" ; then
   6766 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 		fi
   6769 
   6770 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6772 		fi
   6773 
   6774 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6775 
   6776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6777 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6778 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6779 		if eval \${$cacheid+:} false; then :
   6780   $as_echo_n "(cached) " >&6
   6781 else
   6782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6783 /* end confdefs.h.  */
   6784 int i;
   6785 int
   6786 main ()
   6787 {
   6788 
   6789   ;
   6790   return 0;
   6791 }
   6792 _ACEOF
   6793 if ac_fn_c_try_link "$LINENO"; then :
   6794   eval $cacheid=yes
   6795 else
   6796   eval $cacheid=no
   6797 fi
   6798 rm -f core conftest.err conftest.$ac_objext \
   6799     conftest$ac_exeext conftest.$ac_ext
   6800 fi
   6801 
   6802 
   6803 		CFLAGS="$xorg_testset_save_CFLAGS"
   6804 
   6805 		eval supported=\$$cacheid
   6806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6807 $as_echo "$supported" >&6; }
   6808 		if test "$supported" = "yes" ; then
   6809 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6810 			found="yes"
   6811 		fi
   6812 	fi
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 xorg_testset_save_CFLAGS="$CFLAGS"
   6829 
   6830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6835   $as_echo_n "(cached) " >&6
   6836 else
   6837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6838 /* end confdefs.h.  */
   6839 int i;
   6840 _ACEOF
   6841 if ac_fn_c_try_compile "$LINENO"; then :
   6842   xorg_cv_cc_flag_unknown_warning_option=yes
   6843 else
   6844   xorg_cv_cc_flag_unknown_warning_option=no
   6845 fi
   6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6847 fi
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6851 	CFLAGS="$xorg_testset_save_CFLAGS"
   6852 fi
   6853 
   6854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6857 	fi
   6858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6862   $as_echo_n "(cached) " >&6
   6863 else
   6864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6865 /* end confdefs.h.  */
   6866 int i;
   6867 _ACEOF
   6868 if ac_fn_c_try_compile "$LINENO"; then :
   6869   xorg_cv_cc_flag_unused_command_line_argument=yes
   6870 else
   6871   xorg_cv_cc_flag_unused_command_line_argument=no
   6872 fi
   6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6874 fi
   6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6878 	CFLAGS="$xorg_testset_save_CFLAGS"
   6879 fi
   6880 
   6881 found="no"
   6882 
   6883 	if test $found = "no" ; then
   6884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6886 		fi
   6887 
   6888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6890 		fi
   6891 
   6892 		CFLAGS="$CFLAGS -Wredundant-decls"
   6893 
   6894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6895 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6896 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6897 		if eval \${$cacheid+:} false; then :
   6898   $as_echo_n "(cached) " >&6
   6899 else
   6900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6901 /* end confdefs.h.  */
   6902 int i;
   6903 int
   6904 main ()
   6905 {
   6906 
   6907   ;
   6908   return 0;
   6909 }
   6910 _ACEOF
   6911 if ac_fn_c_try_link "$LINENO"; then :
   6912   eval $cacheid=yes
   6913 else
   6914   eval $cacheid=no
   6915 fi
   6916 rm -f core conftest.err conftest.$ac_objext \
   6917     conftest$ac_exeext conftest.$ac_ext
   6918 fi
   6919 
   6920 
   6921 		CFLAGS="$xorg_testset_save_CFLAGS"
   6922 
   6923 		eval supported=\$$cacheid
   6924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6925 $as_echo "$supported" >&6; }
   6926 		if test "$supported" = "yes" ; then
   6927 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6928 			found="yes"
   6929 		fi
   6930 	fi
   6931 
   6932 
   6933 
   6934 # These are currently disabled because they are noisy.  They will be enabled
   6935 # in the future once the codebase is sufficiently modernized to silence
   6936 # them.  For now, I don't want them to drown out the other warnings.
   6937 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6938 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6939 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6940 
   6941 # Turn some warnings into errors, so we don't accidently get successful builds
   6942 # when there are problems that should be fixed.
   6943 
   6944 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 xorg_testset_save_CFLAGS="$CFLAGS"
   6959 
   6960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6963 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6964 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   6971 if ac_fn_c_try_compile "$LINENO"; then :
   6972   xorg_cv_cc_flag_unknown_warning_option=yes
   6973 else
   6974   xorg_cv_cc_flag_unknown_warning_option=no
   6975 fi
   6976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6977 fi
   6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6979 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6981 	CFLAGS="$xorg_testset_save_CFLAGS"
   6982 fi
   6983 
   6984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 	fi
   6988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6990 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6991 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6992   $as_echo_n "(cached) " >&6
   6993 else
   6994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 int i;
   6997 _ACEOF
   6998 if ac_fn_c_try_compile "$LINENO"; then :
   6999   xorg_cv_cc_flag_unused_command_line_argument=yes
   7000 else
   7001   xorg_cv_cc_flag_unused_command_line_argument=no
   7002 fi
   7003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7004 fi
   7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7006 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7007 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7008 	CFLAGS="$xorg_testset_save_CFLAGS"
   7009 fi
   7010 
   7011 found="no"
   7012 
   7013 	if test $found = "no" ; then
   7014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 		fi
   7017 
   7018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7020 		fi
   7021 
   7022 		CFLAGS="$CFLAGS -Werror=implicit"
   7023 
   7024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7025 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7026 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   7027 		if eval \${$cacheid+:} false; then :
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7031 /* end confdefs.h.  */
   7032 int i;
   7033 int
   7034 main ()
   7035 {
   7036 
   7037   ;
   7038   return 0;
   7039 }
   7040 _ACEOF
   7041 if ac_fn_c_try_link "$LINENO"; then :
   7042   eval $cacheid=yes
   7043 else
   7044   eval $cacheid=no
   7045 fi
   7046 rm -f core conftest.err conftest.$ac_objext \
   7047     conftest$ac_exeext conftest.$ac_ext
   7048 fi
   7049 
   7050 
   7051 		CFLAGS="$xorg_testset_save_CFLAGS"
   7052 
   7053 		eval supported=\$$cacheid
   7054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7055 $as_echo "$supported" >&6; }
   7056 		if test "$supported" = "yes" ; then
   7057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7058 			found="yes"
   7059 		fi
   7060 	fi
   7061 
   7062 	if test $found = "no" ; then
   7063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7065 		fi
   7066 
   7067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7069 		fi
   7070 
   7071 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7072 
   7073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7074 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7075 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   7076 		if eval \${$cacheid+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 int
   7083 main ()
   7084 {
   7085 
   7086   ;
   7087   return 0;
   7088 }
   7089 _ACEOF
   7090 if ac_fn_c_try_link "$LINENO"; then :
   7091   eval $cacheid=yes
   7092 else
   7093   eval $cacheid=no
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext \
   7096     conftest$ac_exeext conftest.$ac_ext
   7097 fi
   7098 
   7099 
   7100 		CFLAGS="$xorg_testset_save_CFLAGS"
   7101 
   7102 		eval supported=\$$cacheid
   7103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7104 $as_echo "$supported" >&6; }
   7105 		if test "$supported" = "yes" ; then
   7106 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7107 			found="yes"
   7108 		fi
   7109 	fi
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 xorg_testset_save_CFLAGS="$CFLAGS"
   7126 
   7127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7135 /* end confdefs.h.  */
   7136 int i;
   7137 _ACEOF
   7138 if ac_fn_c_try_compile "$LINENO"; then :
   7139   xorg_cv_cc_flag_unknown_warning_option=yes
   7140 else
   7141   xorg_cv_cc_flag_unknown_warning_option=no
   7142 fi
   7143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7144 fi
   7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7148 	CFLAGS="$xorg_testset_save_CFLAGS"
   7149 fi
   7150 
   7151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7154 	fi
   7155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7162 /* end confdefs.h.  */
   7163 int i;
   7164 _ACEOF
   7165 if ac_fn_c_try_compile "$LINENO"; then :
   7166   xorg_cv_cc_flag_unused_command_line_argument=yes
   7167 else
   7168   xorg_cv_cc_flag_unused_command_line_argument=no
   7169 fi
   7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7171 fi
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7175 	CFLAGS="$xorg_testset_save_CFLAGS"
   7176 fi
   7177 
   7178 found="no"
   7179 
   7180 	if test $found = "no" ; then
   7181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7183 		fi
   7184 
   7185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7187 		fi
   7188 
   7189 		CFLAGS="$CFLAGS -Werror=nonnull"
   7190 
   7191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7192 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7193 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7194 		if eval \${$cacheid+:} false; then :
   7195   $as_echo_n "(cached) " >&6
   7196 else
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 int
   7201 main ()
   7202 {
   7203 
   7204   ;
   7205   return 0;
   7206 }
   7207 _ACEOF
   7208 if ac_fn_c_try_link "$LINENO"; then :
   7209   eval $cacheid=yes
   7210 else
   7211   eval $cacheid=no
   7212 fi
   7213 rm -f core conftest.err conftest.$ac_objext \
   7214     conftest$ac_exeext conftest.$ac_ext
   7215 fi
   7216 
   7217 
   7218 		CFLAGS="$xorg_testset_save_CFLAGS"
   7219 
   7220 		eval supported=\$$cacheid
   7221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7222 $as_echo "$supported" >&6; }
   7223 		if test "$supported" = "yes" ; then
   7224 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7225 			found="yes"
   7226 		fi
   7227 	fi
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 xorg_testset_save_CFLAGS="$CFLAGS"
   7244 
   7245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7250   $as_echo_n "(cached) " >&6
   7251 else
   7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7253 /* end confdefs.h.  */
   7254 int i;
   7255 _ACEOF
   7256 if ac_fn_c_try_compile "$LINENO"; then :
   7257   xorg_cv_cc_flag_unknown_warning_option=yes
   7258 else
   7259   xorg_cv_cc_flag_unknown_warning_option=no
   7260 fi
   7261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7262 fi
   7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7266 	CFLAGS="$xorg_testset_save_CFLAGS"
   7267 fi
   7268 
   7269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7272 	fi
   7273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7277   $as_echo_n "(cached) " >&6
   7278 else
   7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 int i;
   7282 _ACEOF
   7283 if ac_fn_c_try_compile "$LINENO"; then :
   7284   xorg_cv_cc_flag_unused_command_line_argument=yes
   7285 else
   7286   xorg_cv_cc_flag_unused_command_line_argument=no
   7287 fi
   7288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7289 fi
   7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7293 	CFLAGS="$xorg_testset_save_CFLAGS"
   7294 fi
   7295 
   7296 found="no"
   7297 
   7298 	if test $found = "no" ; then
   7299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7301 		fi
   7302 
   7303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7305 		fi
   7306 
   7307 		CFLAGS="$CFLAGS -Werror=init-self"
   7308 
   7309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7310 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7311 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7312 		if eval \${$cacheid+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 int
   7319 main ()
   7320 {
   7321 
   7322   ;
   7323   return 0;
   7324 }
   7325 _ACEOF
   7326 if ac_fn_c_try_link "$LINENO"; then :
   7327   eval $cacheid=yes
   7328 else
   7329   eval $cacheid=no
   7330 fi
   7331 rm -f core conftest.err conftest.$ac_objext \
   7332     conftest$ac_exeext conftest.$ac_ext
   7333 fi
   7334 
   7335 
   7336 		CFLAGS="$xorg_testset_save_CFLAGS"
   7337 
   7338 		eval supported=\$$cacheid
   7339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7340 $as_echo "$supported" >&6; }
   7341 		if test "$supported" = "yes" ; then
   7342 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7343 			found="yes"
   7344 		fi
   7345 	fi
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 xorg_testset_save_CFLAGS="$CFLAGS"
   7362 
   7363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7366 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7367 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7371 /* end confdefs.h.  */
   7372 int i;
   7373 _ACEOF
   7374 if ac_fn_c_try_compile "$LINENO"; then :
   7375   xorg_cv_cc_flag_unknown_warning_option=yes
   7376 else
   7377   xorg_cv_cc_flag_unknown_warning_option=no
   7378 fi
   7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7380 fi
   7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7382 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7384 	CFLAGS="$xorg_testset_save_CFLAGS"
   7385 fi
   7386 
   7387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7390 	fi
   7391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7393 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7394 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7395   $as_echo_n "(cached) " >&6
   7396 else
   7397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7398 /* end confdefs.h.  */
   7399 int i;
   7400 _ACEOF
   7401 if ac_fn_c_try_compile "$LINENO"; then :
   7402   xorg_cv_cc_flag_unused_command_line_argument=yes
   7403 else
   7404   xorg_cv_cc_flag_unused_command_line_argument=no
   7405 fi
   7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7407 fi
   7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7409 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7411 	CFLAGS="$xorg_testset_save_CFLAGS"
   7412 fi
   7413 
   7414 found="no"
   7415 
   7416 	if test $found = "no" ; then
   7417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7419 		fi
   7420 
   7421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7423 		fi
   7424 
   7425 		CFLAGS="$CFLAGS -Werror=main"
   7426 
   7427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7428 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7429 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7430 		if eval \${$cacheid+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 int i;
   7436 int
   7437 main ()
   7438 {
   7439 
   7440   ;
   7441   return 0;
   7442 }
   7443 _ACEOF
   7444 if ac_fn_c_try_link "$LINENO"; then :
   7445   eval $cacheid=yes
   7446 else
   7447   eval $cacheid=no
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext \
   7450     conftest$ac_exeext conftest.$ac_ext
   7451 fi
   7452 
   7453 
   7454 		CFLAGS="$xorg_testset_save_CFLAGS"
   7455 
   7456 		eval supported=\$$cacheid
   7457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7458 $as_echo "$supported" >&6; }
   7459 		if test "$supported" = "yes" ; then
   7460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7461 			found="yes"
   7462 		fi
   7463 	fi
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 xorg_testset_save_CFLAGS="$CFLAGS"
   7480 
   7481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7486   $as_echo_n "(cached) " >&6
   7487 else
   7488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7489 /* end confdefs.h.  */
   7490 int i;
   7491 _ACEOF
   7492 if ac_fn_c_try_compile "$LINENO"; then :
   7493   xorg_cv_cc_flag_unknown_warning_option=yes
   7494 else
   7495   xorg_cv_cc_flag_unknown_warning_option=no
   7496 fi
   7497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7498 fi
   7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7502 	CFLAGS="$xorg_testset_save_CFLAGS"
   7503 fi
   7504 
   7505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7508 	fi
   7509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7513   $as_echo_n "(cached) " >&6
   7514 else
   7515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7516 /* end confdefs.h.  */
   7517 int i;
   7518 _ACEOF
   7519 if ac_fn_c_try_compile "$LINENO"; then :
   7520   xorg_cv_cc_flag_unused_command_line_argument=yes
   7521 else
   7522   xorg_cv_cc_flag_unused_command_line_argument=no
   7523 fi
   7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7525 fi
   7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7529 	CFLAGS="$xorg_testset_save_CFLAGS"
   7530 fi
   7531 
   7532 found="no"
   7533 
   7534 	if test $found = "no" ; then
   7535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7537 		fi
   7538 
   7539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7541 		fi
   7542 
   7543 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7544 
   7545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7546 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7547 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7548 		if eval \${$cacheid+:} false; then :
   7549   $as_echo_n "(cached) " >&6
   7550 else
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 int i;
   7554 int
   7555 main ()
   7556 {
   7557 
   7558   ;
   7559   return 0;
   7560 }
   7561 _ACEOF
   7562 if ac_fn_c_try_link "$LINENO"; then :
   7563   eval $cacheid=yes
   7564 else
   7565   eval $cacheid=no
   7566 fi
   7567 rm -f core conftest.err conftest.$ac_objext \
   7568     conftest$ac_exeext conftest.$ac_ext
   7569 fi
   7570 
   7571 
   7572 		CFLAGS="$xorg_testset_save_CFLAGS"
   7573 
   7574 		eval supported=\$$cacheid
   7575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7576 $as_echo "$supported" >&6; }
   7577 		if test "$supported" = "yes" ; then
   7578 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7579 			found="yes"
   7580 		fi
   7581 	fi
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 xorg_testset_save_CFLAGS="$CFLAGS"
   7598 
   7599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7603 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7604   $as_echo_n "(cached) " >&6
   7605 else
   7606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7607 /* end confdefs.h.  */
   7608 int i;
   7609 _ACEOF
   7610 if ac_fn_c_try_compile "$LINENO"; then :
   7611   xorg_cv_cc_flag_unknown_warning_option=yes
   7612 else
   7613   xorg_cv_cc_flag_unknown_warning_option=no
   7614 fi
   7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7616 fi
   7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7620 	CFLAGS="$xorg_testset_save_CFLAGS"
   7621 fi
   7622 
   7623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7626 	fi
   7627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7631   $as_echo_n "(cached) " >&6
   7632 else
   7633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7634 /* end confdefs.h.  */
   7635 int i;
   7636 _ACEOF
   7637 if ac_fn_c_try_compile "$LINENO"; then :
   7638   xorg_cv_cc_flag_unused_command_line_argument=yes
   7639 else
   7640   xorg_cv_cc_flag_unused_command_line_argument=no
   7641 fi
   7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7643 fi
   7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7647 	CFLAGS="$xorg_testset_save_CFLAGS"
   7648 fi
   7649 
   7650 found="no"
   7651 
   7652 	if test $found = "no" ; then
   7653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7655 		fi
   7656 
   7657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7659 		fi
   7660 
   7661 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7662 
   7663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7664 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7665 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7666 		if eval \${$cacheid+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7670 /* end confdefs.h.  */
   7671 int i;
   7672 int
   7673 main ()
   7674 {
   7675 
   7676   ;
   7677   return 0;
   7678 }
   7679 _ACEOF
   7680 if ac_fn_c_try_link "$LINENO"; then :
   7681   eval $cacheid=yes
   7682 else
   7683   eval $cacheid=no
   7684 fi
   7685 rm -f core conftest.err conftest.$ac_objext \
   7686     conftest$ac_exeext conftest.$ac_ext
   7687 fi
   7688 
   7689 
   7690 		CFLAGS="$xorg_testset_save_CFLAGS"
   7691 
   7692 		eval supported=\$$cacheid
   7693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7694 $as_echo "$supported" >&6; }
   7695 		if test "$supported" = "yes" ; then
   7696 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7697 			found="yes"
   7698 		fi
   7699 	fi
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 xorg_testset_save_CFLAGS="$CFLAGS"
   7716 
   7717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7721 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   7728 if ac_fn_c_try_compile "$LINENO"; then :
   7729   xorg_cv_cc_flag_unknown_warning_option=yes
   7730 else
   7731   xorg_cv_cc_flag_unknown_warning_option=no
   7732 fi
   7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7734 fi
   7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7738 	CFLAGS="$xorg_testset_save_CFLAGS"
   7739 fi
   7740 
   7741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7744 	fi
   7745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7749   $as_echo_n "(cached) " >&6
   7750 else
   7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7752 /* end confdefs.h.  */
   7753 int i;
   7754 _ACEOF
   7755 if ac_fn_c_try_compile "$LINENO"; then :
   7756   xorg_cv_cc_flag_unused_command_line_argument=yes
   7757 else
   7758   xorg_cv_cc_flag_unused_command_line_argument=no
   7759 fi
   7760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7761 fi
   7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7765 	CFLAGS="$xorg_testset_save_CFLAGS"
   7766 fi
   7767 
   7768 found="no"
   7769 
   7770 	if test $found = "no" ; then
   7771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 		fi
   7774 
   7775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7777 		fi
   7778 
   7779 		CFLAGS="$CFLAGS -Werror=return-type"
   7780 
   7781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7782 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7783 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7784 		if eval \${$cacheid+:} false; then :
   7785   $as_echo_n "(cached) " >&6
   7786 else
   7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 int i;
   7790 int
   7791 main ()
   7792 {
   7793 
   7794   ;
   7795   return 0;
   7796 }
   7797 _ACEOF
   7798 if ac_fn_c_try_link "$LINENO"; then :
   7799   eval $cacheid=yes
   7800 else
   7801   eval $cacheid=no
   7802 fi
   7803 rm -f core conftest.err conftest.$ac_objext \
   7804     conftest$ac_exeext conftest.$ac_ext
   7805 fi
   7806 
   7807 
   7808 		CFLAGS="$xorg_testset_save_CFLAGS"
   7809 
   7810 		eval supported=\$$cacheid
   7811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7812 $as_echo "$supported" >&6; }
   7813 		if test "$supported" = "yes" ; then
   7814 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7815 			found="yes"
   7816 		fi
   7817 	fi
   7818 
   7819 	if test $found = "no" ; then
   7820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7822 		fi
   7823 
   7824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7826 		fi
   7827 
   7828 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7829 
   7830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7831 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7832 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7833 		if eval \${$cacheid+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 int
   7840 main ()
   7841 {
   7842 
   7843   ;
   7844   return 0;
   7845 }
   7846 _ACEOF
   7847 if ac_fn_c_try_link "$LINENO"; then :
   7848   eval $cacheid=yes
   7849 else
   7850   eval $cacheid=no
   7851 fi
   7852 rm -f core conftest.err conftest.$ac_objext \
   7853     conftest$ac_exeext conftest.$ac_ext
   7854 fi
   7855 
   7856 
   7857 		CFLAGS="$xorg_testset_save_CFLAGS"
   7858 
   7859 		eval supported=\$$cacheid
   7860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7861 $as_echo "$supported" >&6; }
   7862 		if test "$supported" = "yes" ; then
   7863 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7864 			found="yes"
   7865 		fi
   7866 	fi
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 xorg_testset_save_CFLAGS="$CFLAGS"
   7883 
   7884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7889   $as_echo_n "(cached) " >&6
   7890 else
   7891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7892 /* end confdefs.h.  */
   7893 int i;
   7894 _ACEOF
   7895 if ac_fn_c_try_compile "$LINENO"; then :
   7896   xorg_cv_cc_flag_unknown_warning_option=yes
   7897 else
   7898   xorg_cv_cc_flag_unknown_warning_option=no
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7901 fi
   7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7905 	CFLAGS="$xorg_testset_save_CFLAGS"
   7906 fi
   7907 
   7908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7911 	fi
   7912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7916   $as_echo_n "(cached) " >&6
   7917 else
   7918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7919 /* end confdefs.h.  */
   7920 int i;
   7921 _ACEOF
   7922 if ac_fn_c_try_compile "$LINENO"; then :
   7923   xorg_cv_cc_flag_unused_command_line_argument=yes
   7924 else
   7925   xorg_cv_cc_flag_unused_command_line_argument=no
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7928 fi
   7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7932 	CFLAGS="$xorg_testset_save_CFLAGS"
   7933 fi
   7934 
   7935 found="no"
   7936 
   7937 	if test $found = "no" ; then
   7938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7940 		fi
   7941 
   7942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7944 		fi
   7945 
   7946 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7947 
   7948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7949 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7950 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7951 		if eval \${$cacheid+:} false; then :
   7952   $as_echo_n "(cached) " >&6
   7953 else
   7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 int
   7958 main ()
   7959 {
   7960 
   7961   ;
   7962   return 0;
   7963 }
   7964 _ACEOF
   7965 if ac_fn_c_try_link "$LINENO"; then :
   7966   eval $cacheid=yes
   7967 else
   7968   eval $cacheid=no
   7969 fi
   7970 rm -f core conftest.err conftest.$ac_objext \
   7971     conftest$ac_exeext conftest.$ac_ext
   7972 fi
   7973 
   7974 
   7975 		CFLAGS="$xorg_testset_save_CFLAGS"
   7976 
   7977 		eval supported=\$$cacheid
   7978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7979 $as_echo "$supported" >&6; }
   7980 		if test "$supported" = "yes" ; then
   7981 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7982 			found="yes"
   7983 		fi
   7984 	fi
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 xorg_testset_save_CFLAGS="$CFLAGS"
   8001 
   8002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8007   $as_echo_n "(cached) " >&6
   8008 else
   8009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8010 /* end confdefs.h.  */
   8011 int i;
   8012 _ACEOF
   8013 if ac_fn_c_try_compile "$LINENO"; then :
   8014   xorg_cv_cc_flag_unknown_warning_option=yes
   8015 else
   8016   xorg_cv_cc_flag_unknown_warning_option=no
   8017 fi
   8018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8019 fi
   8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8023 	CFLAGS="$xorg_testset_save_CFLAGS"
   8024 fi
   8025 
   8026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 	fi
   8030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8034   $as_echo_n "(cached) " >&6
   8035 else
   8036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8037 /* end confdefs.h.  */
   8038 int i;
   8039 _ACEOF
   8040 if ac_fn_c_try_compile "$LINENO"; then :
   8041   xorg_cv_cc_flag_unused_command_line_argument=yes
   8042 else
   8043   xorg_cv_cc_flag_unused_command_line_argument=no
   8044 fi
   8045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8046 fi
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8050 	CFLAGS="$xorg_testset_save_CFLAGS"
   8051 fi
   8052 
   8053 found="no"
   8054 
   8055 	if test $found = "no" ; then
   8056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8058 		fi
   8059 
   8060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8062 		fi
   8063 
   8064 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8065 
   8066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8067 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8068 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   8069 		if eval \${$cacheid+:} false; then :
   8070   $as_echo_n "(cached) " >&6
   8071 else
   8072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8073 /* end confdefs.h.  */
   8074 int i;
   8075 int
   8076 main ()
   8077 {
   8078 
   8079   ;
   8080   return 0;
   8081 }
   8082 _ACEOF
   8083 if ac_fn_c_try_link "$LINENO"; then :
   8084   eval $cacheid=yes
   8085 else
   8086   eval $cacheid=no
   8087 fi
   8088 rm -f core conftest.err conftest.$ac_objext \
   8089     conftest$ac_exeext conftest.$ac_ext
   8090 fi
   8091 
   8092 
   8093 		CFLAGS="$xorg_testset_save_CFLAGS"
   8094 
   8095 		eval supported=\$$cacheid
   8096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8097 $as_echo "$supported" >&6; }
   8098 		if test "$supported" = "yes" ; then
   8099 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8100 			found="yes"
   8101 		fi
   8102 	fi
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 xorg_testset_save_CFLAGS="$CFLAGS"
   8119 
   8120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8123 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8124 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8125   $as_echo_n "(cached) " >&6
   8126 else
   8127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8128 /* end confdefs.h.  */
   8129 int i;
   8130 _ACEOF
   8131 if ac_fn_c_try_compile "$LINENO"; then :
   8132   xorg_cv_cc_flag_unknown_warning_option=yes
   8133 else
   8134   xorg_cv_cc_flag_unknown_warning_option=no
   8135 fi
   8136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8137 fi
   8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8139 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8141 	CFLAGS="$xorg_testset_save_CFLAGS"
   8142 fi
   8143 
   8144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8147 	fi
   8148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8150 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8151 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8152   $as_echo_n "(cached) " >&6
   8153 else
   8154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8155 /* end confdefs.h.  */
   8156 int i;
   8157 _ACEOF
   8158 if ac_fn_c_try_compile "$LINENO"; then :
   8159   xorg_cv_cc_flag_unused_command_line_argument=yes
   8160 else
   8161   xorg_cv_cc_flag_unused_command_line_argument=no
   8162 fi
   8163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8164 fi
   8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8166 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8168 	CFLAGS="$xorg_testset_save_CFLAGS"
   8169 fi
   8170 
   8171 found="no"
   8172 
   8173 	if test $found = "no" ; then
   8174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8176 		fi
   8177 
   8178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8180 		fi
   8181 
   8182 		CFLAGS="$CFLAGS -Werror=write-strings"
   8183 
   8184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8185 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8186 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8187 		if eval \${$cacheid+:} false; then :
   8188   $as_echo_n "(cached) " >&6
   8189 else
   8190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8191 /* end confdefs.h.  */
   8192 int i;
   8193 int
   8194 main ()
   8195 {
   8196 
   8197   ;
   8198   return 0;
   8199 }
   8200 _ACEOF
   8201 if ac_fn_c_try_link "$LINENO"; then :
   8202   eval $cacheid=yes
   8203 else
   8204   eval $cacheid=no
   8205 fi
   8206 rm -f core conftest.err conftest.$ac_objext \
   8207     conftest$ac_exeext conftest.$ac_ext
   8208 fi
   8209 
   8210 
   8211 		CFLAGS="$xorg_testset_save_CFLAGS"
   8212 
   8213 		eval supported=\$$cacheid
   8214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8215 $as_echo "$supported" >&6; }
   8216 		if test "$supported" = "yes" ; then
   8217 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8218 			found="yes"
   8219 		fi
   8220 	fi
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 xorg_testset_save_CFLAGS="$CFLAGS"
   8237 
   8238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8241 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8242 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8243   $as_echo_n "(cached) " >&6
   8244 else
   8245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8246 /* end confdefs.h.  */
   8247 int i;
   8248 _ACEOF
   8249 if ac_fn_c_try_compile "$LINENO"; then :
   8250   xorg_cv_cc_flag_unknown_warning_option=yes
   8251 else
   8252   xorg_cv_cc_flag_unknown_warning_option=no
   8253 fi
   8254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8255 fi
   8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8257 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8259 	CFLAGS="$xorg_testset_save_CFLAGS"
   8260 fi
   8261 
   8262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8265 	fi
   8266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8268 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8269 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8270   $as_echo_n "(cached) " >&6
   8271 else
   8272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8273 /* end confdefs.h.  */
   8274 int i;
   8275 _ACEOF
   8276 if ac_fn_c_try_compile "$LINENO"; then :
   8277   xorg_cv_cc_flag_unused_command_line_argument=yes
   8278 else
   8279   xorg_cv_cc_flag_unused_command_line_argument=no
   8280 fi
   8281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8282 fi
   8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8284 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8286 	CFLAGS="$xorg_testset_save_CFLAGS"
   8287 fi
   8288 
   8289 found="no"
   8290 
   8291 	if test $found = "no" ; then
   8292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8294 		fi
   8295 
   8296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8298 		fi
   8299 
   8300 		CFLAGS="$CFLAGS -Werror=address"
   8301 
   8302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8303 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8304 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8305 		if eval \${$cacheid+:} false; then :
   8306   $as_echo_n "(cached) " >&6
   8307 else
   8308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 int
   8312 main ()
   8313 {
   8314 
   8315   ;
   8316   return 0;
   8317 }
   8318 _ACEOF
   8319 if ac_fn_c_try_link "$LINENO"; then :
   8320   eval $cacheid=yes
   8321 else
   8322   eval $cacheid=no
   8323 fi
   8324 rm -f core conftest.err conftest.$ac_objext \
   8325     conftest$ac_exeext conftest.$ac_ext
   8326 fi
   8327 
   8328 
   8329 		CFLAGS="$xorg_testset_save_CFLAGS"
   8330 
   8331 		eval supported=\$$cacheid
   8332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8333 $as_echo "$supported" >&6; }
   8334 		if test "$supported" = "yes" ; then
   8335 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8336 			found="yes"
   8337 		fi
   8338 	fi
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 xorg_testset_save_CFLAGS="$CFLAGS"
   8355 
   8356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8359 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8360 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   8367 if ac_fn_c_try_compile "$LINENO"; then :
   8368   xorg_cv_cc_flag_unknown_warning_option=yes
   8369 else
   8370   xorg_cv_cc_flag_unknown_warning_option=no
   8371 fi
   8372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8373 fi
   8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8375 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8377 	CFLAGS="$xorg_testset_save_CFLAGS"
   8378 fi
   8379 
   8380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8383 	fi
   8384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8386 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8387 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8391 /* end confdefs.h.  */
   8392 int i;
   8393 _ACEOF
   8394 if ac_fn_c_try_compile "$LINENO"; then :
   8395   xorg_cv_cc_flag_unused_command_line_argument=yes
   8396 else
   8397   xorg_cv_cc_flag_unused_command_line_argument=no
   8398 fi
   8399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8400 fi
   8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8402 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8404 	CFLAGS="$xorg_testset_save_CFLAGS"
   8405 fi
   8406 
   8407 found="no"
   8408 
   8409 	if test $found = "no" ; then
   8410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 		fi
   8413 
   8414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8416 		fi
   8417 
   8418 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8419 
   8420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8421 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8422 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8423 		if eval \${$cacheid+:} false; then :
   8424   $as_echo_n "(cached) " >&6
   8425 else
   8426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 int
   8430 main ()
   8431 {
   8432 
   8433   ;
   8434   return 0;
   8435 }
   8436 _ACEOF
   8437 if ac_fn_c_try_link "$LINENO"; then :
   8438   eval $cacheid=yes
   8439 else
   8440   eval $cacheid=no
   8441 fi
   8442 rm -f core conftest.err conftest.$ac_objext \
   8443     conftest$ac_exeext conftest.$ac_ext
   8444 fi
   8445 
   8446 
   8447 		CFLAGS="$xorg_testset_save_CFLAGS"
   8448 
   8449 		eval supported=\$$cacheid
   8450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8451 $as_echo "$supported" >&6; }
   8452 		if test "$supported" = "yes" ; then
   8453 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8454 			found="yes"
   8455 		fi
   8456 	fi
   8457 
   8458 	if test $found = "no" ; then
   8459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8461 		fi
   8462 
   8463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8465 		fi
   8466 
   8467 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8468 
   8469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8470 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8471 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8472 		if eval \${$cacheid+:} false; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 int
   8479 main ()
   8480 {
   8481 
   8482   ;
   8483   return 0;
   8484 }
   8485 _ACEOF
   8486 if ac_fn_c_try_link "$LINENO"; then :
   8487   eval $cacheid=yes
   8488 else
   8489   eval $cacheid=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext \
   8492     conftest$ac_exeext conftest.$ac_ext
   8493 fi
   8494 
   8495 
   8496 		CFLAGS="$xorg_testset_save_CFLAGS"
   8497 
   8498 		eval supported=\$$cacheid
   8499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8500 $as_echo "$supported" >&6; }
   8501 		if test "$supported" = "yes" ; then
   8502 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8503 			found="yes"
   8504 		fi
   8505 	fi
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 xorg_testset_save_CFLAGS="$CFLAGS"
   8522 
   8523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8528   $as_echo_n "(cached) " >&6
   8529 else
   8530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8531 /* end confdefs.h.  */
   8532 int i;
   8533 _ACEOF
   8534 if ac_fn_c_try_compile "$LINENO"; then :
   8535   xorg_cv_cc_flag_unknown_warning_option=yes
   8536 else
   8537   xorg_cv_cc_flag_unknown_warning_option=no
   8538 fi
   8539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8540 fi
   8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8544 	CFLAGS="$xorg_testset_save_CFLAGS"
   8545 fi
   8546 
   8547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	fi
   8551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8555   $as_echo_n "(cached) " >&6
   8556 else
   8557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8558 /* end confdefs.h.  */
   8559 int i;
   8560 _ACEOF
   8561 if ac_fn_c_try_compile "$LINENO"; then :
   8562   xorg_cv_cc_flag_unused_command_line_argument=yes
   8563 else
   8564   xorg_cv_cc_flag_unused_command_line_argument=no
   8565 fi
   8566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8567 fi
   8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8571 	CFLAGS="$xorg_testset_save_CFLAGS"
   8572 fi
   8573 
   8574 found="no"
   8575 
   8576 	if test $found = "no" ; then
   8577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8579 		fi
   8580 
   8581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8583 		fi
   8584 
   8585 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8586 
   8587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8588 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8589 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8590 		if eval \${$cacheid+:} false; then :
   8591   $as_echo_n "(cached) " >&6
   8592 else
   8593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8594 /* end confdefs.h.  */
   8595 int i;
   8596 int
   8597 main ()
   8598 {
   8599 
   8600   ;
   8601   return 0;
   8602 }
   8603 _ACEOF
   8604 if ac_fn_c_try_link "$LINENO"; then :
   8605   eval $cacheid=yes
   8606 else
   8607   eval $cacheid=no
   8608 fi
   8609 rm -f core conftest.err conftest.$ac_objext \
   8610     conftest$ac_exeext conftest.$ac_ext
   8611 fi
   8612 
   8613 
   8614 		CFLAGS="$xorg_testset_save_CFLAGS"
   8615 
   8616 		eval supported=\$$cacheid
   8617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8618 $as_echo "$supported" >&6; }
   8619 		if test "$supported" = "yes" ; then
   8620 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8621 			found="yes"
   8622 		fi
   8623 	fi
   8624 
   8625  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8626 else
   8627 { $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
   8628 $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;}
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 xorg_testset_save_CFLAGS="$CFLAGS"
   8643 
   8644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8649   $as_echo_n "(cached) " >&6
   8650 else
   8651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8652 /* end confdefs.h.  */
   8653 int i;
   8654 _ACEOF
   8655 if ac_fn_c_try_compile "$LINENO"; then :
   8656   xorg_cv_cc_flag_unknown_warning_option=yes
   8657 else
   8658   xorg_cv_cc_flag_unknown_warning_option=no
   8659 fi
   8660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8661 fi
   8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8665 	CFLAGS="$xorg_testset_save_CFLAGS"
   8666 fi
   8667 
   8668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8671 	fi
   8672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8676   $as_echo_n "(cached) " >&6
   8677 else
   8678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8679 /* end confdefs.h.  */
   8680 int i;
   8681 _ACEOF
   8682 if ac_fn_c_try_compile "$LINENO"; then :
   8683   xorg_cv_cc_flag_unused_command_line_argument=yes
   8684 else
   8685   xorg_cv_cc_flag_unused_command_line_argument=no
   8686 fi
   8687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8688 fi
   8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8692 	CFLAGS="$xorg_testset_save_CFLAGS"
   8693 fi
   8694 
   8695 found="no"
   8696 
   8697 	if test $found = "no" ; then
   8698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 		fi
   8701 
   8702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8704 		fi
   8705 
   8706 		CFLAGS="$CFLAGS -Wimplicit"
   8707 
   8708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8709 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8710 		cacheid=xorg_cv_cc_flag__Wimplicit
   8711 		if eval \${$cacheid+:} false; then :
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8715 /* end confdefs.h.  */
   8716 int i;
   8717 int
   8718 main ()
   8719 {
   8720 
   8721   ;
   8722   return 0;
   8723 }
   8724 _ACEOF
   8725 if ac_fn_c_try_link "$LINENO"; then :
   8726   eval $cacheid=yes
   8727 else
   8728   eval $cacheid=no
   8729 fi
   8730 rm -f core conftest.err conftest.$ac_objext \
   8731     conftest$ac_exeext conftest.$ac_ext
   8732 fi
   8733 
   8734 
   8735 		CFLAGS="$xorg_testset_save_CFLAGS"
   8736 
   8737 		eval supported=\$$cacheid
   8738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8739 $as_echo "$supported" >&6; }
   8740 		if test "$supported" = "yes" ; then
   8741 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8742 			found="yes"
   8743 		fi
   8744 	fi
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 xorg_testset_save_CFLAGS="$CFLAGS"
   8761 
   8762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8767   $as_echo_n "(cached) " >&6
   8768 else
   8769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8770 /* end confdefs.h.  */
   8771 int i;
   8772 _ACEOF
   8773 if ac_fn_c_try_compile "$LINENO"; then :
   8774   xorg_cv_cc_flag_unknown_warning_option=yes
   8775 else
   8776   xorg_cv_cc_flag_unknown_warning_option=no
   8777 fi
   8778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8779 fi
   8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8783 	CFLAGS="$xorg_testset_save_CFLAGS"
   8784 fi
   8785 
   8786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8789 	fi
   8790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8794   $as_echo_n "(cached) " >&6
   8795 else
   8796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8797 /* end confdefs.h.  */
   8798 int i;
   8799 _ACEOF
   8800 if ac_fn_c_try_compile "$LINENO"; then :
   8801   xorg_cv_cc_flag_unused_command_line_argument=yes
   8802 else
   8803   xorg_cv_cc_flag_unused_command_line_argument=no
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8806 fi
   8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8810 	CFLAGS="$xorg_testset_save_CFLAGS"
   8811 fi
   8812 
   8813 found="no"
   8814 
   8815 	if test $found = "no" ; then
   8816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8818 		fi
   8819 
   8820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8822 		fi
   8823 
   8824 		CFLAGS="$CFLAGS -Wnonnull"
   8825 
   8826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8827 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8828 		cacheid=xorg_cv_cc_flag__Wnonnull
   8829 		if eval \${$cacheid+:} false; then :
   8830   $as_echo_n "(cached) " >&6
   8831 else
   8832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8833 /* end confdefs.h.  */
   8834 int i;
   8835 int
   8836 main ()
   8837 {
   8838 
   8839   ;
   8840   return 0;
   8841 }
   8842 _ACEOF
   8843 if ac_fn_c_try_link "$LINENO"; then :
   8844   eval $cacheid=yes
   8845 else
   8846   eval $cacheid=no
   8847 fi
   8848 rm -f core conftest.err conftest.$ac_objext \
   8849     conftest$ac_exeext conftest.$ac_ext
   8850 fi
   8851 
   8852 
   8853 		CFLAGS="$xorg_testset_save_CFLAGS"
   8854 
   8855 		eval supported=\$$cacheid
   8856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8857 $as_echo "$supported" >&6; }
   8858 		if test "$supported" = "yes" ; then
   8859 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8860 			found="yes"
   8861 		fi
   8862 	fi
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 xorg_testset_save_CFLAGS="$CFLAGS"
   8879 
   8880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8885   $as_echo_n "(cached) " >&6
   8886 else
   8887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8888 /* end confdefs.h.  */
   8889 int i;
   8890 _ACEOF
   8891 if ac_fn_c_try_compile "$LINENO"; then :
   8892   xorg_cv_cc_flag_unknown_warning_option=yes
   8893 else
   8894   xorg_cv_cc_flag_unknown_warning_option=no
   8895 fi
   8896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8897 fi
   8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8901 	CFLAGS="$xorg_testset_save_CFLAGS"
   8902 fi
   8903 
   8904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8907 	fi
   8908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8912   $as_echo_n "(cached) " >&6
   8913 else
   8914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8915 /* end confdefs.h.  */
   8916 int i;
   8917 _ACEOF
   8918 if ac_fn_c_try_compile "$LINENO"; then :
   8919   xorg_cv_cc_flag_unused_command_line_argument=yes
   8920 else
   8921   xorg_cv_cc_flag_unused_command_line_argument=no
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8924 fi
   8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8928 	CFLAGS="$xorg_testset_save_CFLAGS"
   8929 fi
   8930 
   8931 found="no"
   8932 
   8933 	if test $found = "no" ; then
   8934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8936 		fi
   8937 
   8938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8940 		fi
   8941 
   8942 		CFLAGS="$CFLAGS -Winit-self"
   8943 
   8944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8945 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8946 		cacheid=xorg_cv_cc_flag__Winit_self
   8947 		if eval \${$cacheid+:} false; then :
   8948   $as_echo_n "(cached) " >&6
   8949 else
   8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8951 /* end confdefs.h.  */
   8952 int i;
   8953 int
   8954 main ()
   8955 {
   8956 
   8957   ;
   8958   return 0;
   8959 }
   8960 _ACEOF
   8961 if ac_fn_c_try_link "$LINENO"; then :
   8962   eval $cacheid=yes
   8963 else
   8964   eval $cacheid=no
   8965 fi
   8966 rm -f core conftest.err conftest.$ac_objext \
   8967     conftest$ac_exeext conftest.$ac_ext
   8968 fi
   8969 
   8970 
   8971 		CFLAGS="$xorg_testset_save_CFLAGS"
   8972 
   8973 		eval supported=\$$cacheid
   8974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8975 $as_echo "$supported" >&6; }
   8976 		if test "$supported" = "yes" ; then
   8977 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8978 			found="yes"
   8979 		fi
   8980 	fi
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 xorg_testset_save_CFLAGS="$CFLAGS"
   8997 
   8998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9003   $as_echo_n "(cached) " >&6
   9004 else
   9005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9006 /* end confdefs.h.  */
   9007 int i;
   9008 _ACEOF
   9009 if ac_fn_c_try_compile "$LINENO"; then :
   9010   xorg_cv_cc_flag_unknown_warning_option=yes
   9011 else
   9012   xorg_cv_cc_flag_unknown_warning_option=no
   9013 fi
   9014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9015 fi
   9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9019 	CFLAGS="$xorg_testset_save_CFLAGS"
   9020 fi
   9021 
   9022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9025 	fi
   9026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9030   $as_echo_n "(cached) " >&6
   9031 else
   9032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9033 /* end confdefs.h.  */
   9034 int i;
   9035 _ACEOF
   9036 if ac_fn_c_try_compile "$LINENO"; then :
   9037   xorg_cv_cc_flag_unused_command_line_argument=yes
   9038 else
   9039   xorg_cv_cc_flag_unused_command_line_argument=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9042 fi
   9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9046 	CFLAGS="$xorg_testset_save_CFLAGS"
   9047 fi
   9048 
   9049 found="no"
   9050 
   9051 	if test $found = "no" ; then
   9052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 		fi
   9055 
   9056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9058 		fi
   9059 
   9060 		CFLAGS="$CFLAGS -Wmain"
   9061 
   9062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9063 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9064 		cacheid=xorg_cv_cc_flag__Wmain
   9065 		if eval \${$cacheid+:} false; then :
   9066   $as_echo_n "(cached) " >&6
   9067 else
   9068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9069 /* end confdefs.h.  */
   9070 int i;
   9071 int
   9072 main ()
   9073 {
   9074 
   9075   ;
   9076   return 0;
   9077 }
   9078 _ACEOF
   9079 if ac_fn_c_try_link "$LINENO"; then :
   9080   eval $cacheid=yes
   9081 else
   9082   eval $cacheid=no
   9083 fi
   9084 rm -f core conftest.err conftest.$ac_objext \
   9085     conftest$ac_exeext conftest.$ac_ext
   9086 fi
   9087 
   9088 
   9089 		CFLAGS="$xorg_testset_save_CFLAGS"
   9090 
   9091 		eval supported=\$$cacheid
   9092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9093 $as_echo "$supported" >&6; }
   9094 		if test "$supported" = "yes" ; then
   9095 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9096 			found="yes"
   9097 		fi
   9098 	fi
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 xorg_testset_save_CFLAGS="$CFLAGS"
   9115 
   9116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9121   $as_echo_n "(cached) " >&6
   9122 else
   9123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9124 /* end confdefs.h.  */
   9125 int i;
   9126 _ACEOF
   9127 if ac_fn_c_try_compile "$LINENO"; then :
   9128   xorg_cv_cc_flag_unknown_warning_option=yes
   9129 else
   9130   xorg_cv_cc_flag_unknown_warning_option=no
   9131 fi
   9132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9133 fi
   9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9137 	CFLAGS="$xorg_testset_save_CFLAGS"
   9138 fi
   9139 
   9140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9143 	fi
   9144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9148   $as_echo_n "(cached) " >&6
   9149 else
   9150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9151 /* end confdefs.h.  */
   9152 int i;
   9153 _ACEOF
   9154 if ac_fn_c_try_compile "$LINENO"; then :
   9155   xorg_cv_cc_flag_unused_command_line_argument=yes
   9156 else
   9157   xorg_cv_cc_flag_unused_command_line_argument=no
   9158 fi
   9159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9160 fi
   9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9164 	CFLAGS="$xorg_testset_save_CFLAGS"
   9165 fi
   9166 
   9167 found="no"
   9168 
   9169 	if test $found = "no" ; then
   9170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 		fi
   9173 
   9174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9176 		fi
   9177 
   9178 		CFLAGS="$CFLAGS -Wmissing-braces"
   9179 
   9180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9181 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9182 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9183 		if eval \${$cacheid+:} false; then :
   9184   $as_echo_n "(cached) " >&6
   9185 else
   9186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9187 /* end confdefs.h.  */
   9188 int i;
   9189 int
   9190 main ()
   9191 {
   9192 
   9193   ;
   9194   return 0;
   9195 }
   9196 _ACEOF
   9197 if ac_fn_c_try_link "$LINENO"; then :
   9198   eval $cacheid=yes
   9199 else
   9200   eval $cacheid=no
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext \
   9203     conftest$ac_exeext conftest.$ac_ext
   9204 fi
   9205 
   9206 
   9207 		CFLAGS="$xorg_testset_save_CFLAGS"
   9208 
   9209 		eval supported=\$$cacheid
   9210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9211 $as_echo "$supported" >&6; }
   9212 		if test "$supported" = "yes" ; then
   9213 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9214 			found="yes"
   9215 		fi
   9216 	fi
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 xorg_testset_save_CFLAGS="$CFLAGS"
   9233 
   9234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9239   $as_echo_n "(cached) " >&6
   9240 else
   9241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9242 /* end confdefs.h.  */
   9243 int i;
   9244 _ACEOF
   9245 if ac_fn_c_try_compile "$LINENO"; then :
   9246   xorg_cv_cc_flag_unknown_warning_option=yes
   9247 else
   9248   xorg_cv_cc_flag_unknown_warning_option=no
   9249 fi
   9250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9251 fi
   9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9255 	CFLAGS="$xorg_testset_save_CFLAGS"
   9256 fi
   9257 
   9258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9261 	fi
   9262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9266   $as_echo_n "(cached) " >&6
   9267 else
   9268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9269 /* end confdefs.h.  */
   9270 int i;
   9271 _ACEOF
   9272 if ac_fn_c_try_compile "$LINENO"; then :
   9273   xorg_cv_cc_flag_unused_command_line_argument=yes
   9274 else
   9275   xorg_cv_cc_flag_unused_command_line_argument=no
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9278 fi
   9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9282 	CFLAGS="$xorg_testset_save_CFLAGS"
   9283 fi
   9284 
   9285 found="no"
   9286 
   9287 	if test $found = "no" ; then
   9288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9290 		fi
   9291 
   9292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9294 		fi
   9295 
   9296 		CFLAGS="$CFLAGS -Wsequence-point"
   9297 
   9298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9299 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9300 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9301 		if eval \${$cacheid+:} false; then :
   9302   $as_echo_n "(cached) " >&6
   9303 else
   9304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 int
   9308 main ()
   9309 {
   9310 
   9311   ;
   9312   return 0;
   9313 }
   9314 _ACEOF
   9315 if ac_fn_c_try_link "$LINENO"; then :
   9316   eval $cacheid=yes
   9317 else
   9318   eval $cacheid=no
   9319 fi
   9320 rm -f core conftest.err conftest.$ac_objext \
   9321     conftest$ac_exeext conftest.$ac_ext
   9322 fi
   9323 
   9324 
   9325 		CFLAGS="$xorg_testset_save_CFLAGS"
   9326 
   9327 		eval supported=\$$cacheid
   9328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9329 $as_echo "$supported" >&6; }
   9330 		if test "$supported" = "yes" ; then
   9331 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9332 			found="yes"
   9333 		fi
   9334 	fi
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 xorg_testset_save_CFLAGS="$CFLAGS"
   9351 
   9352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9357   $as_echo_n "(cached) " >&6
   9358 else
   9359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9360 /* end confdefs.h.  */
   9361 int i;
   9362 _ACEOF
   9363 if ac_fn_c_try_compile "$LINENO"; then :
   9364   xorg_cv_cc_flag_unknown_warning_option=yes
   9365 else
   9366   xorg_cv_cc_flag_unknown_warning_option=no
   9367 fi
   9368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9369 fi
   9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9373 	CFLAGS="$xorg_testset_save_CFLAGS"
   9374 fi
   9375 
   9376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 	fi
   9380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9384   $as_echo_n "(cached) " >&6
   9385 else
   9386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9387 /* end confdefs.h.  */
   9388 int i;
   9389 _ACEOF
   9390 if ac_fn_c_try_compile "$LINENO"; then :
   9391   xorg_cv_cc_flag_unused_command_line_argument=yes
   9392 else
   9393   xorg_cv_cc_flag_unused_command_line_argument=no
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9396 fi
   9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9400 	CFLAGS="$xorg_testset_save_CFLAGS"
   9401 fi
   9402 
   9403 found="no"
   9404 
   9405 	if test $found = "no" ; then
   9406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9408 		fi
   9409 
   9410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9412 		fi
   9413 
   9414 		CFLAGS="$CFLAGS -Wreturn-type"
   9415 
   9416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9417 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9418 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9419 		if eval \${$cacheid+:} false; then :
   9420   $as_echo_n "(cached) " >&6
   9421 else
   9422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9423 /* end confdefs.h.  */
   9424 int i;
   9425 int
   9426 main ()
   9427 {
   9428 
   9429   ;
   9430   return 0;
   9431 }
   9432 _ACEOF
   9433 if ac_fn_c_try_link "$LINENO"; then :
   9434   eval $cacheid=yes
   9435 else
   9436   eval $cacheid=no
   9437 fi
   9438 rm -f core conftest.err conftest.$ac_objext \
   9439     conftest$ac_exeext conftest.$ac_ext
   9440 fi
   9441 
   9442 
   9443 		CFLAGS="$xorg_testset_save_CFLAGS"
   9444 
   9445 		eval supported=\$$cacheid
   9446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9447 $as_echo "$supported" >&6; }
   9448 		if test "$supported" = "yes" ; then
   9449 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9450 			found="yes"
   9451 		fi
   9452 	fi
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 xorg_testset_save_CFLAGS="$CFLAGS"
   9469 
   9470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9473 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9474 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9475   $as_echo_n "(cached) " >&6
   9476 else
   9477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9478 /* end confdefs.h.  */
   9479 int i;
   9480 _ACEOF
   9481 if ac_fn_c_try_compile "$LINENO"; then :
   9482   xorg_cv_cc_flag_unknown_warning_option=yes
   9483 else
   9484   xorg_cv_cc_flag_unknown_warning_option=no
   9485 fi
   9486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9487 fi
   9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9489 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9491 	CFLAGS="$xorg_testset_save_CFLAGS"
   9492 fi
   9493 
   9494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9497 	fi
   9498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9500 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9501 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9502   $as_echo_n "(cached) " >&6
   9503 else
   9504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9505 /* end confdefs.h.  */
   9506 int i;
   9507 _ACEOF
   9508 if ac_fn_c_try_compile "$LINENO"; then :
   9509   xorg_cv_cc_flag_unused_command_line_argument=yes
   9510 else
   9511   xorg_cv_cc_flag_unused_command_line_argument=no
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9514 fi
   9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9516 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9518 	CFLAGS="$xorg_testset_save_CFLAGS"
   9519 fi
   9520 
   9521 found="no"
   9522 
   9523 	if test $found = "no" ; then
   9524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9526 		fi
   9527 
   9528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9530 		fi
   9531 
   9532 		CFLAGS="$CFLAGS -Wtrigraphs"
   9533 
   9534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9535 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9536 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9537 		if eval \${$cacheid+:} false; then :
   9538   $as_echo_n "(cached) " >&6
   9539 else
   9540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 int i;
   9543 int
   9544 main ()
   9545 {
   9546 
   9547   ;
   9548   return 0;
   9549 }
   9550 _ACEOF
   9551 if ac_fn_c_try_link "$LINENO"; then :
   9552   eval $cacheid=yes
   9553 else
   9554   eval $cacheid=no
   9555 fi
   9556 rm -f core conftest.err conftest.$ac_objext \
   9557     conftest$ac_exeext conftest.$ac_ext
   9558 fi
   9559 
   9560 
   9561 		CFLAGS="$xorg_testset_save_CFLAGS"
   9562 
   9563 		eval supported=\$$cacheid
   9564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9565 $as_echo "$supported" >&6; }
   9566 		if test "$supported" = "yes" ; then
   9567 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9568 			found="yes"
   9569 		fi
   9570 	fi
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 xorg_testset_save_CFLAGS="$CFLAGS"
   9587 
   9588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9593   $as_echo_n "(cached) " >&6
   9594 else
   9595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9596 /* end confdefs.h.  */
   9597 int i;
   9598 _ACEOF
   9599 if ac_fn_c_try_compile "$LINENO"; then :
   9600   xorg_cv_cc_flag_unknown_warning_option=yes
   9601 else
   9602   xorg_cv_cc_flag_unknown_warning_option=no
   9603 fi
   9604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9605 fi
   9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9609 	CFLAGS="$xorg_testset_save_CFLAGS"
   9610 fi
   9611 
   9612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9615 	fi
   9616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9620   $as_echo_n "(cached) " >&6
   9621 else
   9622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9623 /* end confdefs.h.  */
   9624 int i;
   9625 _ACEOF
   9626 if ac_fn_c_try_compile "$LINENO"; then :
   9627   xorg_cv_cc_flag_unused_command_line_argument=yes
   9628 else
   9629   xorg_cv_cc_flag_unused_command_line_argument=no
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9632 fi
   9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9636 	CFLAGS="$xorg_testset_save_CFLAGS"
   9637 fi
   9638 
   9639 found="no"
   9640 
   9641 	if test $found = "no" ; then
   9642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9644 		fi
   9645 
   9646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9648 		fi
   9649 
   9650 		CFLAGS="$CFLAGS -Warray-bounds"
   9651 
   9652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9653 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9654 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9655 		if eval \${$cacheid+:} false; then :
   9656   $as_echo_n "(cached) " >&6
   9657 else
   9658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9659 /* end confdefs.h.  */
   9660 int i;
   9661 int
   9662 main ()
   9663 {
   9664 
   9665   ;
   9666   return 0;
   9667 }
   9668 _ACEOF
   9669 if ac_fn_c_try_link "$LINENO"; then :
   9670   eval $cacheid=yes
   9671 else
   9672   eval $cacheid=no
   9673 fi
   9674 rm -f core conftest.err conftest.$ac_objext \
   9675     conftest$ac_exeext conftest.$ac_ext
   9676 fi
   9677 
   9678 
   9679 		CFLAGS="$xorg_testset_save_CFLAGS"
   9680 
   9681 		eval supported=\$$cacheid
   9682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9683 $as_echo "$supported" >&6; }
   9684 		if test "$supported" = "yes" ; then
   9685 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9686 			found="yes"
   9687 		fi
   9688 	fi
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 xorg_testset_save_CFLAGS="$CFLAGS"
   9705 
   9706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9711   $as_echo_n "(cached) " >&6
   9712 else
   9713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9714 /* end confdefs.h.  */
   9715 int i;
   9716 _ACEOF
   9717 if ac_fn_c_try_compile "$LINENO"; then :
   9718   xorg_cv_cc_flag_unknown_warning_option=yes
   9719 else
   9720   xorg_cv_cc_flag_unknown_warning_option=no
   9721 fi
   9722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9723 fi
   9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9727 	CFLAGS="$xorg_testset_save_CFLAGS"
   9728 fi
   9729 
   9730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9733 	fi
   9734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9738   $as_echo_n "(cached) " >&6
   9739 else
   9740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9741 /* end confdefs.h.  */
   9742 int i;
   9743 _ACEOF
   9744 if ac_fn_c_try_compile "$LINENO"; then :
   9745   xorg_cv_cc_flag_unused_command_line_argument=yes
   9746 else
   9747   xorg_cv_cc_flag_unused_command_line_argument=no
   9748 fi
   9749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9750 fi
   9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9754 	CFLAGS="$xorg_testset_save_CFLAGS"
   9755 fi
   9756 
   9757 found="no"
   9758 
   9759 	if test $found = "no" ; then
   9760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 		fi
   9763 
   9764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9766 		fi
   9767 
   9768 		CFLAGS="$CFLAGS -Wwrite-strings"
   9769 
   9770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9771 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9772 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9773 		if eval \${$cacheid+:} false; then :
   9774   $as_echo_n "(cached) " >&6
   9775 else
   9776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 int
   9780 main ()
   9781 {
   9782 
   9783   ;
   9784   return 0;
   9785 }
   9786 _ACEOF
   9787 if ac_fn_c_try_link "$LINENO"; then :
   9788   eval $cacheid=yes
   9789 else
   9790   eval $cacheid=no
   9791 fi
   9792 rm -f core conftest.err conftest.$ac_objext \
   9793     conftest$ac_exeext conftest.$ac_ext
   9794 fi
   9795 
   9796 
   9797 		CFLAGS="$xorg_testset_save_CFLAGS"
   9798 
   9799 		eval supported=\$$cacheid
   9800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9801 $as_echo "$supported" >&6; }
   9802 		if test "$supported" = "yes" ; then
   9803 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9804 			found="yes"
   9805 		fi
   9806 	fi
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 xorg_testset_save_CFLAGS="$CFLAGS"
   9823 
   9824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9827 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9828 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9829   $as_echo_n "(cached) " >&6
   9830 else
   9831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9832 /* end confdefs.h.  */
   9833 int i;
   9834 _ACEOF
   9835 if ac_fn_c_try_compile "$LINENO"; then :
   9836   xorg_cv_cc_flag_unknown_warning_option=yes
   9837 else
   9838   xorg_cv_cc_flag_unknown_warning_option=no
   9839 fi
   9840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9841 fi
   9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9843 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9845 	CFLAGS="$xorg_testset_save_CFLAGS"
   9846 fi
   9847 
   9848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9851 	fi
   9852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9854 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9855 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9856   $as_echo_n "(cached) " >&6
   9857 else
   9858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9859 /* end confdefs.h.  */
   9860 int i;
   9861 _ACEOF
   9862 if ac_fn_c_try_compile "$LINENO"; then :
   9863   xorg_cv_cc_flag_unused_command_line_argument=yes
   9864 else
   9865   xorg_cv_cc_flag_unused_command_line_argument=no
   9866 fi
   9867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9868 fi
   9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9870 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9872 	CFLAGS="$xorg_testset_save_CFLAGS"
   9873 fi
   9874 
   9875 found="no"
   9876 
   9877 	if test $found = "no" ; then
   9878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9880 		fi
   9881 
   9882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9884 		fi
   9885 
   9886 		CFLAGS="$CFLAGS -Waddress"
   9887 
   9888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9889 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9890 		cacheid=xorg_cv_cc_flag__Waddress
   9891 		if eval \${$cacheid+:} false; then :
   9892   $as_echo_n "(cached) " >&6
   9893 else
   9894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9895 /* end confdefs.h.  */
   9896 int i;
   9897 int
   9898 main ()
   9899 {
   9900 
   9901   ;
   9902   return 0;
   9903 }
   9904 _ACEOF
   9905 if ac_fn_c_try_link "$LINENO"; then :
   9906   eval $cacheid=yes
   9907 else
   9908   eval $cacheid=no
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext \
   9911     conftest$ac_exeext conftest.$ac_ext
   9912 fi
   9913 
   9914 
   9915 		CFLAGS="$xorg_testset_save_CFLAGS"
   9916 
   9917 		eval supported=\$$cacheid
   9918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9919 $as_echo "$supported" >&6; }
   9920 		if test "$supported" = "yes" ; then
   9921 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9922 			found="yes"
   9923 		fi
   9924 	fi
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 xorg_testset_save_CFLAGS="$CFLAGS"
   9941 
   9942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9945 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9946 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9947   $as_echo_n "(cached) " >&6
   9948 else
   9949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9950 /* end confdefs.h.  */
   9951 int i;
   9952 _ACEOF
   9953 if ac_fn_c_try_compile "$LINENO"; then :
   9954   xorg_cv_cc_flag_unknown_warning_option=yes
   9955 else
   9956   xorg_cv_cc_flag_unknown_warning_option=no
   9957 fi
   9958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9959 fi
   9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9961 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9963 	CFLAGS="$xorg_testset_save_CFLAGS"
   9964 fi
   9965 
   9966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9969 	fi
   9970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9972 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9973 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9974   $as_echo_n "(cached) " >&6
   9975 else
   9976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9977 /* end confdefs.h.  */
   9978 int i;
   9979 _ACEOF
   9980 if ac_fn_c_try_compile "$LINENO"; then :
   9981   xorg_cv_cc_flag_unused_command_line_argument=yes
   9982 else
   9983   xorg_cv_cc_flag_unused_command_line_argument=no
   9984 fi
   9985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9986 fi
   9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9988 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9990 	CFLAGS="$xorg_testset_save_CFLAGS"
   9991 fi
   9992 
   9993 found="no"
   9994 
   9995 	if test $found = "no" ; then
   9996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9998 		fi
   9999 
   10000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10002 		fi
   10003 
   10004 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10005 
   10006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10007 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10008 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10009 		if eval \${$cacheid+:} false; then :
   10010   $as_echo_n "(cached) " >&6
   10011 else
   10012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10013 /* end confdefs.h.  */
   10014 int i;
   10015 int
   10016 main ()
   10017 {
   10018 
   10019   ;
   10020   return 0;
   10021 }
   10022 _ACEOF
   10023 if ac_fn_c_try_link "$LINENO"; then :
   10024   eval $cacheid=yes
   10025 else
   10026   eval $cacheid=no
   10027 fi
   10028 rm -f core conftest.err conftest.$ac_objext \
   10029     conftest$ac_exeext conftest.$ac_ext
   10030 fi
   10031 
   10032 
   10033 		CFLAGS="$xorg_testset_save_CFLAGS"
   10034 
   10035 		eval supported=\$$cacheid
   10036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10037 $as_echo "$supported" >&6; }
   10038 		if test "$supported" = "yes" ; then
   10039 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10040 			found="yes"
   10041 		fi
   10042 	fi
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 xorg_testset_save_CFLAGS="$CFLAGS"
   10059 
   10060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 _ACEOF
   10071 if ac_fn_c_try_compile "$LINENO"; then :
   10072   xorg_cv_cc_flag_unknown_warning_option=yes
   10073 else
   10074   xorg_cv_cc_flag_unknown_warning_option=no
   10075 fi
   10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10077 fi
   10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10081 	CFLAGS="$xorg_testset_save_CFLAGS"
   10082 fi
   10083 
   10084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10087 	fi
   10088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10092   $as_echo_n "(cached) " >&6
   10093 else
   10094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10095 /* end confdefs.h.  */
   10096 int i;
   10097 _ACEOF
   10098 if ac_fn_c_try_compile "$LINENO"; then :
   10099   xorg_cv_cc_flag_unused_command_line_argument=yes
   10100 else
   10101   xorg_cv_cc_flag_unused_command_line_argument=no
   10102 fi
   10103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10104 fi
   10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10108 	CFLAGS="$xorg_testset_save_CFLAGS"
   10109 fi
   10110 
   10111 found="no"
   10112 
   10113 	if test $found = "no" ; then
   10114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10116 		fi
   10117 
   10118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10120 		fi
   10121 
   10122 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10123 
   10124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10125 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10126 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10127 		if eval \${$cacheid+:} false; then :
   10128   $as_echo_n "(cached) " >&6
   10129 else
   10130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10131 /* end confdefs.h.  */
   10132 int i;
   10133 int
   10134 main ()
   10135 {
   10136 
   10137   ;
   10138   return 0;
   10139 }
   10140 _ACEOF
   10141 if ac_fn_c_try_link "$LINENO"; then :
   10142   eval $cacheid=yes
   10143 else
   10144   eval $cacheid=no
   10145 fi
   10146 rm -f core conftest.err conftest.$ac_objext \
   10147     conftest$ac_exeext conftest.$ac_ext
   10148 fi
   10149 
   10150 
   10151 		CFLAGS="$xorg_testset_save_CFLAGS"
   10152 
   10153 		eval supported=\$$cacheid
   10154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10155 $as_echo "$supported" >&6; }
   10156 		if test "$supported" = "yes" ; then
   10157 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10158 			found="yes"
   10159 		fi
   10160 	fi
   10161 
   10162 
   10163 fi
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 		CWARNFLAGS="$BASE_CFLAGS"
   10172 		if  test "x$GCC" = xyes ; then
   10173 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10174 		fi
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 # Check whether --enable-strict-compilation was given.
   10184 if test "${enable_strict_compilation+set}" = set; then :
   10185   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10186 else
   10187   STRICT_COMPILE=no
   10188 fi
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 STRICT_CFLAGS=""
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 xorg_testset_save_CFLAGS="$CFLAGS"
   10210 
   10211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10216   $as_echo_n "(cached) " >&6
   10217 else
   10218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10219 /* end confdefs.h.  */
   10220 int i;
   10221 _ACEOF
   10222 if ac_fn_c_try_compile "$LINENO"; then :
   10223   xorg_cv_cc_flag_unknown_warning_option=yes
   10224 else
   10225   xorg_cv_cc_flag_unknown_warning_option=no
   10226 fi
   10227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10228 fi
   10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10232 	CFLAGS="$xorg_testset_save_CFLAGS"
   10233 fi
   10234 
   10235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10238 	fi
   10239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10243   $as_echo_n "(cached) " >&6
   10244 else
   10245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10246 /* end confdefs.h.  */
   10247 int i;
   10248 _ACEOF
   10249 if ac_fn_c_try_compile "$LINENO"; then :
   10250   xorg_cv_cc_flag_unused_command_line_argument=yes
   10251 else
   10252   xorg_cv_cc_flag_unused_command_line_argument=no
   10253 fi
   10254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10255 fi
   10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10259 	CFLAGS="$xorg_testset_save_CFLAGS"
   10260 fi
   10261 
   10262 found="no"
   10263 
   10264 	if test $found = "no" ; then
   10265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 		fi
   10268 
   10269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10271 		fi
   10272 
   10273 		CFLAGS="$CFLAGS -pedantic"
   10274 
   10275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10276 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10277 		cacheid=xorg_cv_cc_flag__pedantic
   10278 		if eval \${$cacheid+:} false; then :
   10279   $as_echo_n "(cached) " >&6
   10280 else
   10281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10282 /* end confdefs.h.  */
   10283 int i;
   10284 int
   10285 main ()
   10286 {
   10287 
   10288   ;
   10289   return 0;
   10290 }
   10291 _ACEOF
   10292 if ac_fn_c_try_link "$LINENO"; then :
   10293   eval $cacheid=yes
   10294 else
   10295   eval $cacheid=no
   10296 fi
   10297 rm -f core conftest.err conftest.$ac_objext \
   10298     conftest$ac_exeext conftest.$ac_ext
   10299 fi
   10300 
   10301 
   10302 		CFLAGS="$xorg_testset_save_CFLAGS"
   10303 
   10304 		eval supported=\$$cacheid
   10305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10306 $as_echo "$supported" >&6; }
   10307 		if test "$supported" = "yes" ; then
   10308 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10309 			found="yes"
   10310 		fi
   10311 	fi
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 xorg_testset_save_CFLAGS="$CFLAGS"
   10328 
   10329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10333 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   10340 if ac_fn_c_try_compile "$LINENO"; then :
   10341   xorg_cv_cc_flag_unknown_warning_option=yes
   10342 else
   10343   xorg_cv_cc_flag_unknown_warning_option=no
   10344 fi
   10345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10346 fi
   10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10350 	CFLAGS="$xorg_testset_save_CFLAGS"
   10351 fi
   10352 
   10353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10356 	fi
   10357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10361   $as_echo_n "(cached) " >&6
   10362 else
   10363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10364 /* end confdefs.h.  */
   10365 int i;
   10366 _ACEOF
   10367 if ac_fn_c_try_compile "$LINENO"; then :
   10368   xorg_cv_cc_flag_unused_command_line_argument=yes
   10369 else
   10370   xorg_cv_cc_flag_unused_command_line_argument=no
   10371 fi
   10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10373 fi
   10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10377 	CFLAGS="$xorg_testset_save_CFLAGS"
   10378 fi
   10379 
   10380 found="no"
   10381 
   10382 	if test $found = "no" ; then
   10383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10385 		fi
   10386 
   10387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10389 		fi
   10390 
   10391 		CFLAGS="$CFLAGS -Werror"
   10392 
   10393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10394 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10395 		cacheid=xorg_cv_cc_flag__Werror
   10396 		if eval \${$cacheid+:} false; then :
   10397   $as_echo_n "(cached) " >&6
   10398 else
   10399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10400 /* end confdefs.h.  */
   10401 int i;
   10402 int
   10403 main ()
   10404 {
   10405 
   10406   ;
   10407   return 0;
   10408 }
   10409 _ACEOF
   10410 if ac_fn_c_try_link "$LINENO"; then :
   10411   eval $cacheid=yes
   10412 else
   10413   eval $cacheid=no
   10414 fi
   10415 rm -f core conftest.err conftest.$ac_objext \
   10416     conftest$ac_exeext conftest.$ac_ext
   10417 fi
   10418 
   10419 
   10420 		CFLAGS="$xorg_testset_save_CFLAGS"
   10421 
   10422 		eval supported=\$$cacheid
   10423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10424 $as_echo "$supported" >&6; }
   10425 		if test "$supported" = "yes" ; then
   10426 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10427 			found="yes"
   10428 		fi
   10429 	fi
   10430 
   10431 	if test $found = "no" ; then
   10432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10434 		fi
   10435 
   10436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10438 		fi
   10439 
   10440 		CFLAGS="$CFLAGS -errwarn"
   10441 
   10442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10443 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10444 		cacheid=xorg_cv_cc_flag__errwarn
   10445 		if eval \${$cacheid+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 int
   10452 main ()
   10453 {
   10454 
   10455   ;
   10456   return 0;
   10457 }
   10458 _ACEOF
   10459 if ac_fn_c_try_link "$LINENO"; then :
   10460   eval $cacheid=yes
   10461 else
   10462   eval $cacheid=no
   10463 fi
   10464 rm -f core conftest.err conftest.$ac_objext \
   10465     conftest$ac_exeext conftest.$ac_ext
   10466 fi
   10467 
   10468 
   10469 		CFLAGS="$xorg_testset_save_CFLAGS"
   10470 
   10471 		eval supported=\$$cacheid
   10472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10473 $as_echo "$supported" >&6; }
   10474 		if test "$supported" = "yes" ; then
   10475 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10476 			found="yes"
   10477 		fi
   10478 	fi
   10479 
   10480 
   10481 
   10482 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10483 # activate it with -Werror, so we add it here explicitly.
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 xorg_testset_save_CFLAGS="$CFLAGS"
   10498 
   10499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10502 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10503 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10504   $as_echo_n "(cached) " >&6
   10505 else
   10506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10507 /* end confdefs.h.  */
   10508 int i;
   10509 _ACEOF
   10510 if ac_fn_c_try_compile "$LINENO"; then :
   10511   xorg_cv_cc_flag_unknown_warning_option=yes
   10512 else
   10513   xorg_cv_cc_flag_unknown_warning_option=no
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10516 fi
   10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10518 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10520 	CFLAGS="$xorg_testset_save_CFLAGS"
   10521 fi
   10522 
   10523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10526 	fi
   10527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10529 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10530 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10531   $as_echo_n "(cached) " >&6
   10532 else
   10533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 int i;
   10536 _ACEOF
   10537 if ac_fn_c_try_compile "$LINENO"; then :
   10538   xorg_cv_cc_flag_unused_command_line_argument=yes
   10539 else
   10540   xorg_cv_cc_flag_unused_command_line_argument=no
   10541 fi
   10542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10543 fi
   10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10545 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10547 	CFLAGS="$xorg_testset_save_CFLAGS"
   10548 fi
   10549 
   10550 found="no"
   10551 
   10552 	if test $found = "no" ; then
   10553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10555 		fi
   10556 
   10557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10559 		fi
   10560 
   10561 		CFLAGS="$CFLAGS -Werror=attributes"
   10562 
   10563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10564 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10565 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10566 		if eval \${$cacheid+:} false; then :
   10567   $as_echo_n "(cached) " >&6
   10568 else
   10569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10570 /* end confdefs.h.  */
   10571 int i;
   10572 int
   10573 main ()
   10574 {
   10575 
   10576   ;
   10577   return 0;
   10578 }
   10579 _ACEOF
   10580 if ac_fn_c_try_link "$LINENO"; then :
   10581   eval $cacheid=yes
   10582 else
   10583   eval $cacheid=no
   10584 fi
   10585 rm -f core conftest.err conftest.$ac_objext \
   10586     conftest$ac_exeext conftest.$ac_ext
   10587 fi
   10588 
   10589 
   10590 		CFLAGS="$xorg_testset_save_CFLAGS"
   10591 
   10592 		eval supported=\$$cacheid
   10593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10594 $as_echo "$supported" >&6; }
   10595 		if test "$supported" = "yes" ; then
   10596 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10597 			found="yes"
   10598 		fi
   10599 	fi
   10600 
   10601 
   10602 
   10603 if test "x$STRICT_COMPILE" = "xyes"; then
   10604     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10605     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10606 fi
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 cat >>confdefs.h <<_ACEOF
   10614 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10615 _ACEOF
   10616 
   10617 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10618 	if test "x$PVM" = "x"; then
   10619 		PVM="0"
   10620 	fi
   10621 
   10622 cat >>confdefs.h <<_ACEOF
   10623 #define PACKAGE_VERSION_MINOR $PVM
   10624 _ACEOF
   10625 
   10626 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10627 	if test "x$PVP" = "x"; then
   10628 		PVP="0"
   10629 	fi
   10630 
   10631 cat >>confdefs.h <<_ACEOF
   10632 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10633 _ACEOF
   10634 
   10635 
   10636 
   10637 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10638 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10639 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10640 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10641 
   10642 
   10643 
   10644 
   10645 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10646 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10647 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10648 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10649 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 if test x$APP_MAN_SUFFIX = x    ; then
   10657     APP_MAN_SUFFIX=1
   10658 fi
   10659 if test x$APP_MAN_DIR = x    ; then
   10660     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10661 fi
   10662 
   10663 if test x$LIB_MAN_SUFFIX = x    ; then
   10664     LIB_MAN_SUFFIX=3
   10665 fi
   10666 if test x$LIB_MAN_DIR = x    ; then
   10667     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10668 fi
   10669 
   10670 if test x$FILE_MAN_SUFFIX = x    ; then
   10671     case $host_os in
   10672 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10673 	*)		FILE_MAN_SUFFIX=5  ;;
   10674     esac
   10675 fi
   10676 if test x$FILE_MAN_DIR = x    ; then
   10677     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10678 fi
   10679 
   10680 if test x$MISC_MAN_SUFFIX = x    ; then
   10681     case $host_os in
   10682 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10683 	*)		MISC_MAN_SUFFIX=7  ;;
   10684     esac
   10685 fi
   10686 if test x$MISC_MAN_DIR = x    ; then
   10687     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10688 fi
   10689 
   10690 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10691     case $host_os in
   10692 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10693 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10694     esac
   10695 fi
   10696 if test x$DRIVER_MAN_DIR = x    ; then
   10697     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10698 fi
   10699 
   10700 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10701     case $host_os in
   10702 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10703 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10704     esac
   10705 fi
   10706 if test x$ADMIN_MAN_DIR = x    ; then
   10707     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10708 fi
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 XORG_MAN_PAGE="X Version 11"
   10725 
   10726 MAN_SUBSTS="\
   10727 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10728 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10729 	-e 's|__xservername__|Xorg|g' \
   10730 	-e 's|__xconfigfile__|xorg.conf|g' \
   10731 	-e 's|__projectroot__|\$(prefix)|g' \
   10732 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10733 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10734 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10735 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10736 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10737 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10738 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10739 
   10740 
   10741 
   10742 # Check whether --enable-silent-rules was given.
   10743 if test "${enable_silent_rules+set}" = set; then :
   10744   enableval=$enable_silent_rules;
   10745 fi
   10746 
   10747 case $enable_silent_rules in # (((
   10748   yes) AM_DEFAULT_VERBOSITY=0;;
   10749    no) AM_DEFAULT_VERBOSITY=1;;
   10750     *) AM_DEFAULT_VERBOSITY=0;;
   10751 esac
   10752 am_make=${MAKE-make}
   10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10754 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10755 if ${am_cv_make_support_nested_variables+:} false; then :
   10756   $as_echo_n "(cached) " >&6
   10757 else
   10758   if $as_echo 'TRUE=$(BAR$(V))
   10759 BAR0=false
   10760 BAR1=true
   10761 V=1
   10762 am__doit:
   10763 	@$(TRUE)
   10764 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10765   am_cv_make_support_nested_variables=yes
   10766 else
   10767   am_cv_make_support_nested_variables=no
   10768 fi
   10769 fi
   10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10771 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10772 if test $am_cv_make_support_nested_variables = yes; then
   10773     AM_V='$(V)'
   10774   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10775 else
   10776   AM_V=$AM_DEFAULT_VERBOSITY
   10777   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10778 fi
   10779 AM_BACKSLASH='\'
   10780 
   10781 
   10782 
   10783 for ac_prog in 'bison -y' byacc
   10784 do
   10785   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10786 set dummy $ac_prog; ac_word=$2
   10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10788 $as_echo_n "checking for $ac_word... " >&6; }
   10789 if ${ac_cv_prog_YACC+:} false; then :
   10790   $as_echo_n "(cached) " >&6
   10791 else
   10792   if test -n "$YACC"; then
   10793   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10794 else
   10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10796 for as_dir in $PATH
   10797 do
   10798   IFS=$as_save_IFS
   10799   test -z "$as_dir" && as_dir=.
   10800     for ac_exec_ext in '' $ac_executable_extensions; do
   10801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10802     ac_cv_prog_YACC="$ac_prog"
   10803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10804     break 2
   10805   fi
   10806 done
   10807   done
   10808 IFS=$as_save_IFS
   10809 
   10810 fi
   10811 fi
   10812 YACC=$ac_cv_prog_YACC
   10813 if test -n "$YACC"; then
   10814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10815 $as_echo "$YACC" >&6; }
   10816 else
   10817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10818 $as_echo "no" >&6; }
   10819 fi
   10820 
   10821 
   10822   test -n "$YACC" && break
   10823 done
   10824 test -n "$YACC" || YACC="yacc"
   10825 
   10826 # Extract the first word of "$YACC", so it can be a program name with args.
   10827 set dummy $YACC; ac_word=$2
   10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10829 $as_echo_n "checking for $ac_word... " >&6; }
   10830 if ${ac_cv_path_YACC_INST+:} false; then :
   10831   $as_echo_n "(cached) " >&6
   10832 else
   10833   case $YACC_INST in
   10834   [\\/]* | ?:[\\/]*)
   10835   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   10836   ;;
   10837   *)
   10838   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10839 for as_dir in $PATH
   10840 do
   10841   IFS=$as_save_IFS
   10842   test -z "$as_dir" && as_dir=.
   10843     for ac_exec_ext in '' $ac_executable_extensions; do
   10844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10845     ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
   10846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10847     break 2
   10848   fi
   10849 done
   10850   done
   10851 IFS=$as_save_IFS
   10852 
   10853   ;;
   10854 esac
   10855 fi
   10856 YACC_INST=$ac_cv_path_YACC_INST
   10857 if test -n "$YACC_INST"; then
   10858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   10859 $as_echo "$YACC_INST" >&6; }
   10860 else
   10861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10862 $as_echo "no" >&6; }
   10863 fi
   10864 
   10865 
   10866 if test ! -f "$srcdir/gram.c"; then
   10867    if test -z "$YACC_INST"; then
   10868       as_fn_error $? "yacc not found - unable to compile gram.y" "$LINENO" 5
   10869    fi
   10870 fi
   10871 for ac_prog in flex lex
   10872 do
   10873   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10874 set dummy $ac_prog; ac_word=$2
   10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10876 $as_echo_n "checking for $ac_word... " >&6; }
   10877 if ${ac_cv_prog_LEX+:} false; then :
   10878   $as_echo_n "(cached) " >&6
   10879 else
   10880   if test -n "$LEX"; then
   10881   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   10882 else
   10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10884 for as_dir in $PATH
   10885 do
   10886   IFS=$as_save_IFS
   10887   test -z "$as_dir" && as_dir=.
   10888     for ac_exec_ext in '' $ac_executable_extensions; do
   10889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10890     ac_cv_prog_LEX="$ac_prog"
   10891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10892     break 2
   10893   fi
   10894 done
   10895   done
   10896 IFS=$as_save_IFS
   10897 
   10898 fi
   10899 fi
   10900 LEX=$ac_cv_prog_LEX
   10901 if test -n "$LEX"; then
   10902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   10903 $as_echo "$LEX" >&6; }
   10904 else
   10905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10906 $as_echo "no" >&6; }
   10907 fi
   10908 
   10909 
   10910   test -n "$LEX" && break
   10911 done
   10912 test -n "$LEX" || LEX=":"
   10913 
   10914 if test "x$LEX" != "x:"; then
   10915   cat >conftest.l <<_ACEOF
   10916 %%
   10917 a { ECHO; }
   10918 b { REJECT; }
   10919 c { yymore (); }
   10920 d { yyless (1); }
   10921 e { yyless (input () != 0); }
   10922 f { unput (yytext[0]); }
   10923 . { BEGIN INITIAL; }
   10924 %%
   10925 #ifdef YYTEXT_POINTER
   10926 extern char *yytext;
   10927 #endif
   10928 int
   10929 main (void)
   10930 {
   10931   return ! yylex () + ! yywrap ();
   10932 }
   10933 _ACEOF
   10934 { { ac_try="$LEX conftest.l"
   10935 case "(($ac_try" in
   10936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10937   *) ac_try_echo=$ac_try;;
   10938 esac
   10939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   10940 $as_echo "$ac_try_echo"; } >&5
   10941   (eval "$LEX conftest.l") 2>&5
   10942   ac_status=$?
   10943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10944   test $ac_status = 0; }
   10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   10946 $as_echo_n "checking lex output file root... " >&6; }
   10947 if ${ac_cv_prog_lex_root+:} false; then :
   10948   $as_echo_n "(cached) " >&6
   10949 else
   10950 
   10951 if test -f lex.yy.c; then
   10952   ac_cv_prog_lex_root=lex.yy
   10953 elif test -f lexyy.c; then
   10954   ac_cv_prog_lex_root=lexyy
   10955 else
   10956   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   10957 fi
   10958 fi
   10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   10960 $as_echo "$ac_cv_prog_lex_root" >&6; }
   10961 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   10962 
   10963 if test -z "${LEXLIB+set}"; then
   10964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   10965 $as_echo_n "checking lex library... " >&6; }
   10966 if ${ac_cv_lib_lex+:} false; then :
   10967   $as_echo_n "(cached) " >&6
   10968 else
   10969 
   10970     ac_save_LIBS=$LIBS
   10971     ac_cv_lib_lex='none needed'
   10972     for ac_lib in '' -lfl -ll; do
   10973       LIBS="$ac_lib $ac_save_LIBS"
   10974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10975 /* end confdefs.h.  */
   10976 `cat $LEX_OUTPUT_ROOT.c`
   10977 _ACEOF
   10978 if ac_fn_c_try_link "$LINENO"; then :
   10979   ac_cv_lib_lex=$ac_lib
   10980 fi
   10981 rm -f core conftest.err conftest.$ac_objext \
   10982     conftest$ac_exeext conftest.$ac_ext
   10983       test "$ac_cv_lib_lex" != 'none needed' && break
   10984     done
   10985     LIBS=$ac_save_LIBS
   10986 
   10987 fi
   10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   10989 $as_echo "$ac_cv_lib_lex" >&6; }
   10990   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   10991 fi
   10992 
   10993 
   10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   10995 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   10996 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   10997   $as_echo_n "(cached) " >&6
   10998 else
   10999   # POSIX says lex can declare yytext either as a pointer or an array; the
   11000 # default is implementation-dependent.  Figure out which it is, since
   11001 # not all implementations provide the %pointer and %array declarations.
   11002 ac_cv_prog_lex_yytext_pointer=no
   11003 ac_save_LIBS=$LIBS
   11004 LIBS="$LEXLIB $ac_save_LIBS"
   11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11006 /* end confdefs.h.  */
   11007 
   11008   #define YYTEXT_POINTER 1
   11009 `cat $LEX_OUTPUT_ROOT.c`
   11010 _ACEOF
   11011 if ac_fn_c_try_link "$LINENO"; then :
   11012   ac_cv_prog_lex_yytext_pointer=yes
   11013 fi
   11014 rm -f core conftest.err conftest.$ac_objext \
   11015     conftest$ac_exeext conftest.$ac_ext
   11016 LIBS=$ac_save_LIBS
   11017 
   11018 fi
   11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   11020 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   11021 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   11022 
   11023 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   11024 
   11025 fi
   11026 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   11027 
   11028 fi
   11029 
   11030 for ac_func in mkstemp
   11031 do :
   11032   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   11033 if test "x$ac_cv_func_mkstemp" = xyes; then :
   11034   cat >>confdefs.h <<_ACEOF
   11035 #define HAVE_MKSTEMP 1
   11036 _ACEOF
   11037 
   11038 fi
   11039 done
   11040 
   11041 
   11042 # Checks for pkg-config packages
   11043 
   11044 pkg_failed=no
   11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWM" >&5
   11046 $as_echo_n "checking for TWM... " >&6; }
   11047 
   11048 if test -n "$TWM_CFLAGS"; then
   11049     pkg_cv_TWM_CFLAGS="$TWM_CFLAGS"
   11050  elif test -n "$PKG_CONFIG"; then
   11051     if test -n "$PKG_CONFIG" && \
   11052     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5
   11053   ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5
   11054   ac_status=$?
   11055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11056   test $ac_status = 0; }; then
   11057   pkg_cv_TWM_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
   11058 else
   11059   pkg_failed=yes
   11060 fi
   11061  else
   11062     pkg_failed=untried
   11063 fi
   11064 if test -n "$TWM_LIBS"; then
   11065     pkg_cv_TWM_LIBS="$TWM_LIBS"
   11066  elif test -n "$PKG_CONFIG"; then
   11067     if test -n "$PKG_CONFIG" && \
   11068     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xt xmu ice sm xproto >= 7.0.17\""; } >&5
   11069   ($PKG_CONFIG --exists --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17") 2>&5
   11070   ac_status=$?
   11071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11072   test $ac_status = 0; }; then
   11073   pkg_cv_TWM_LIBS=`$PKG_CONFIG --libs "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>/dev/null`
   11074 else
   11075   pkg_failed=yes
   11076 fi
   11077  else
   11078     pkg_failed=untried
   11079 fi
   11080 
   11081 
   11082 
   11083 if test $pkg_failed = yes; then
   11084 
   11085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11086         _pkg_short_errors_supported=yes
   11087 else
   11088         _pkg_short_errors_supported=no
   11089 fi
   11090         if test $_pkg_short_errors_supported = yes; then
   11091 	        TWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
   11092         else
   11093 	        TWM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xt xmu ice sm xproto >= 7.0.17" 2>&1`
   11094         fi
   11095 	# Put the nasty error message in config.log where it belongs
   11096 	echo "$TWM_PKG_ERRORS" >&5
   11097 
   11098 	as_fn_error $? "Package requirements (x11 xext xt xmu ice sm xproto >= 7.0.17) were not met:
   11099 
   11100 $TWM_PKG_ERRORS
   11101 
   11102 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11103 installed software in a non-standard prefix.
   11104 
   11105 Alternatively, you may set the environment variables TWM_CFLAGS
   11106 and TWM_LIBS to avoid the need to call pkg-config.
   11107 See the pkg-config man page for more details.
   11108 " "$LINENO" 5
   11109 elif test $pkg_failed = untried; then
   11110 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11112 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11113 is in your PATH or set the PKG_CONFIG environment variable to the full
   11114 path to pkg-config.
   11115 
   11116 Alternatively, you may set the environment variables TWM_CFLAGS
   11117 and TWM_LIBS to avoid the need to call pkg-config.
   11118 See the pkg-config man page for more details.
   11119 
   11120 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11121 See \`config.log' for more details" "$LINENO" 5; }
   11122 else
   11123 	TWM_CFLAGS=$pkg_cv_TWM_CFLAGS
   11124 	TWM_LIBS=$pkg_cv_TWM_LIBS
   11125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11126 $as_echo "yes" >&6; }
   11127 	:
   11128 fi
   11129 
   11130 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   11131 
   11132 cat >confcache <<\_ACEOF
   11133 # This file is a shell script that caches the results of configure
   11134 # tests run on this system so they can be shared between configure
   11135 # scripts and configure runs, see configure's option --config-cache.
   11136 # It is not useful on other systems.  If it contains results you don't
   11137 # want to keep, you may remove or edit it.
   11138 #
   11139 # config.status only pays attention to the cache file if you give it
   11140 # the --recheck option to rerun configure.
   11141 #
   11142 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11144 # following values.
   11145 
   11146 _ACEOF
   11147 
   11148 # The following way of writing the cache mishandles newlines in values,
   11149 # but we know of no workaround that is simple, portable, and efficient.
   11150 # So, we kill variables containing newlines.
   11151 # Ultrix sh set writes to stderr and can't be redirected directly,
   11152 # and sets the high bit in the cache file unless we assign to the vars.
   11153 (
   11154   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11155     eval ac_val=\$$ac_var
   11156     case $ac_val in #(
   11157     *${as_nl}*)
   11158       case $ac_var in #(
   11159       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11161       esac
   11162       case $ac_var in #(
   11163       _ | IFS | as_nl) ;; #(
   11164       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11165       *) { eval $ac_var=; unset $ac_var;} ;;
   11166       esac ;;
   11167     esac
   11168   done
   11169 
   11170   (set) 2>&1 |
   11171     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11172     *${as_nl}ac_space=\ *)
   11173       # `set' does not quote correctly, so add quotes: double-quote
   11174       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11175       sed -n \
   11176 	"s/'/'\\\\''/g;
   11177 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11178       ;; #(
   11179     *)
   11180       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11181       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11182       ;;
   11183     esac |
   11184     sort
   11185 ) |
   11186   sed '
   11187      /^ac_cv_env_/b end
   11188      t clear
   11189      :clear
   11190      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11191      t end
   11192      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11193      :end' >>confcache
   11194 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11195   if test -w "$cache_file"; then
   11196     if test "x$cache_file" != "x/dev/null"; then
   11197       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11198 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11199       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11200 	cat confcache >"$cache_file"
   11201       else
   11202         case $cache_file in #(
   11203         */* | ?:*)
   11204 	  mv -f confcache "$cache_file"$$ &&
   11205 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11206         *)
   11207 	  mv -f confcache "$cache_file" ;;
   11208 	esac
   11209       fi
   11210     fi
   11211   else
   11212     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11213 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11214   fi
   11215 fi
   11216 rm -f confcache
   11217 
   11218 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11219 # Let make expand exec_prefix.
   11220 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11221 
   11222 DEFS=-DHAVE_CONFIG_H
   11223 
   11224 ac_libobjs=
   11225 ac_ltlibobjs=
   11226 U=
   11227 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11228   # 1. Remove the extension, and $U if already installed.
   11229   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11230   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11231   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11232   #    will be set to the directory where LIBOBJS objects are built.
   11233   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11234   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11235 done
   11236 LIBOBJS=$ac_libobjs
   11237 
   11238 LTLIBOBJS=$ac_ltlibobjs
   11239 
   11240 
   11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11242 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11243    if test -n "$am_sleep_pid"; then
   11244      # Hide warnings about reused PIDs.
   11245      wait $am_sleep_pid 2>/dev/null
   11246    fi
   11247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11248 $as_echo "done" >&6; }
   11249 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11250   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11252 fi
   11253 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11254   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11256 fi
   11257  if test -n "$EXEEXT"; then
   11258   am__EXEEXT_TRUE=
   11259   am__EXEEXT_FALSE='#'
   11260 else
   11261   am__EXEEXT_TRUE='#'
   11262   am__EXEEXT_FALSE=
   11263 fi
   11264 
   11265 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11266   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11268 fi
   11269 
   11270 : "${CONFIG_STATUS=./config.status}"
   11271 ac_write_fail=0
   11272 ac_clean_files_save=$ac_clean_files
   11273 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11275 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11276 as_write_fail=0
   11277 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11278 #! $SHELL
   11279 # Generated by $as_me.
   11280 # Run this file to recreate the current configuration.
   11281 # Compiler output produced by configure, useful for debugging
   11282 # configure, is in config.log if it exists.
   11283 
   11284 debug=false
   11285 ac_cs_recheck=false
   11286 ac_cs_silent=false
   11287 
   11288 SHELL=\${CONFIG_SHELL-$SHELL}
   11289 export SHELL
   11290 _ASEOF
   11291 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11292 ## -------------------- ##
   11293 ## M4sh Initialization. ##
   11294 ## -------------------- ##
   11295 
   11296 # Be more Bourne compatible
   11297 DUALCASE=1; export DUALCASE # for MKS sh
   11298 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11299   emulate sh
   11300   NULLCMD=:
   11301   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11302   # is contrary to our usage.  Disable this feature.
   11303   alias -g '${1+"$@"}'='"$@"'
   11304   setopt NO_GLOB_SUBST
   11305 else
   11306   case `(set -o) 2>/dev/null` in #(
   11307   *posix*) :
   11308     set -o posix ;; #(
   11309   *) :
   11310      ;;
   11311 esac
   11312 fi
   11313 
   11314 
   11315 as_nl='
   11316 '
   11317 export as_nl
   11318 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11319 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11320 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11322 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11323 # but without wasting forks for bash or zsh.
   11324 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11325     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11326   as_echo='print -r --'
   11327   as_echo_n='print -rn --'
   11328 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11329   as_echo='printf %s\n'
   11330   as_echo_n='printf %s'
   11331 else
   11332   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11333     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11334     as_echo_n='/usr/ucb/echo -n'
   11335   else
   11336     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11337     as_echo_n_body='eval
   11338       arg=$1;
   11339       case $arg in #(
   11340       *"$as_nl"*)
   11341 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11342 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11343       esac;
   11344       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11345     '
   11346     export as_echo_n_body
   11347     as_echo_n='sh -c $as_echo_n_body as_echo'
   11348   fi
   11349   export as_echo_body
   11350   as_echo='sh -c $as_echo_body as_echo'
   11351 fi
   11352 
   11353 # The user is always right.
   11354 if test "${PATH_SEPARATOR+set}" != set; then
   11355   PATH_SEPARATOR=:
   11356   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11357     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11358       PATH_SEPARATOR=';'
   11359   }
   11360 fi
   11361 
   11362 
   11363 # IFS
   11364 # We need space, tab and new line, in precisely that order.  Quoting is
   11365 # there to prevent editors from complaining about space-tab.
   11366 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11367 # splitting by setting IFS to empty value.)
   11368 IFS=" ""	$as_nl"
   11369 
   11370 # Find who we are.  Look in the path if we contain no directory separator.
   11371 as_myself=
   11372 case $0 in #((
   11373   *[\\/]* ) as_myself=$0 ;;
   11374   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11375 for as_dir in $PATH
   11376 do
   11377   IFS=$as_save_IFS
   11378   test -z "$as_dir" && as_dir=.
   11379     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11380   done
   11381 IFS=$as_save_IFS
   11382 
   11383      ;;
   11384 esac
   11385 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11386 # in which case we are not to be found in the path.
   11387 if test "x$as_myself" = x; then
   11388   as_myself=$0
   11389 fi
   11390 if test ! -f "$as_myself"; then
   11391   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11392   exit 1
   11393 fi
   11394 
   11395 # Unset variables that we do not need and which cause bugs (e.g. in
   11396 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11397 # suppresses any "Segmentation fault" message there.  '((' could
   11398 # trigger a bug in pdksh 5.2.14.
   11399 for as_var in BASH_ENV ENV MAIL MAILPATH
   11400 do eval test x\${$as_var+set} = xset \
   11401   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11402 done
   11403 PS1='$ '
   11404 PS2='> '
   11405 PS4='+ '
   11406 
   11407 # NLS nuisances.
   11408 LC_ALL=C
   11409 export LC_ALL
   11410 LANGUAGE=C
   11411 export LANGUAGE
   11412 
   11413 # CDPATH.
   11414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11415 
   11416 
   11417 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11418 # ----------------------------------------
   11419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11421 # script with STATUS, using 1 if that was 0.
   11422 as_fn_error ()
   11423 {
   11424   as_status=$1; test $as_status -eq 0 && as_status=1
   11425   if test "$4"; then
   11426     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11427     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11428   fi
   11429   $as_echo "$as_me: error: $2" >&2
   11430   as_fn_exit $as_status
   11431 } # as_fn_error
   11432 
   11433 
   11434 # as_fn_set_status STATUS
   11435 # -----------------------
   11436 # Set $? to STATUS, without forking.
   11437 as_fn_set_status ()
   11438 {
   11439   return $1
   11440 } # as_fn_set_status
   11441 
   11442 # as_fn_exit STATUS
   11443 # -----------------
   11444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11445 as_fn_exit ()
   11446 {
   11447   set +e
   11448   as_fn_set_status $1
   11449   exit $1
   11450 } # as_fn_exit
   11451 
   11452 # as_fn_unset VAR
   11453 # ---------------
   11454 # Portably unset VAR.
   11455 as_fn_unset ()
   11456 {
   11457   { eval $1=; unset $1;}
   11458 }
   11459 as_unset=as_fn_unset
   11460 # as_fn_append VAR VALUE
   11461 # ----------------------
   11462 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11463 # advantage of any shell optimizations that allow amortized linear growth over
   11464 # repeated appends, instead of the typical quadratic growth present in naive
   11465 # implementations.
   11466 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11467   eval 'as_fn_append ()
   11468   {
   11469     eval $1+=\$2
   11470   }'
   11471 else
   11472   as_fn_append ()
   11473   {
   11474     eval $1=\$$1\$2
   11475   }
   11476 fi # as_fn_append
   11477 
   11478 # as_fn_arith ARG...
   11479 # ------------------
   11480 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11481 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11482 # must be portable across $(()) and expr.
   11483 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11484   eval 'as_fn_arith ()
   11485   {
   11486     as_val=$(( $* ))
   11487   }'
   11488 else
   11489   as_fn_arith ()
   11490   {
   11491     as_val=`expr "$@" || test $? -eq 1`
   11492   }
   11493 fi # as_fn_arith
   11494 
   11495 
   11496 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11497    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11498   as_expr=expr
   11499 else
   11500   as_expr=false
   11501 fi
   11502 
   11503 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11504   as_basename=basename
   11505 else
   11506   as_basename=false
   11507 fi
   11508 
   11509 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11510   as_dirname=dirname
   11511 else
   11512   as_dirname=false
   11513 fi
   11514 
   11515 as_me=`$as_basename -- "$0" ||
   11516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11517 	 X"$0" : 'X\(//\)$' \| \
   11518 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11519 $as_echo X/"$0" |
   11520     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11521 	    s//\1/
   11522 	    q
   11523 	  }
   11524 	  /^X\/\(\/\/\)$/{
   11525 	    s//\1/
   11526 	    q
   11527 	  }
   11528 	  /^X\/\(\/\).*/{
   11529 	    s//\1/
   11530 	    q
   11531 	  }
   11532 	  s/.*/./; q'`
   11533 
   11534 # Avoid depending upon Character Ranges.
   11535 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11536 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11537 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11538 as_cr_digits='0123456789'
   11539 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11540 
   11541 ECHO_C= ECHO_N= ECHO_T=
   11542 case `echo -n x` in #(((((
   11543 -n*)
   11544   case `echo 'xy\c'` in
   11545   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11546   xy)  ECHO_C='\c';;
   11547   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11548        ECHO_T='	';;
   11549   esac;;
   11550 *)
   11551   ECHO_N='-n';;
   11552 esac
   11553 
   11554 rm -f conf$$ conf$$.exe conf$$.file
   11555 if test -d conf$$.dir; then
   11556   rm -f conf$$.dir/conf$$.file
   11557 else
   11558   rm -f conf$$.dir
   11559   mkdir conf$$.dir 2>/dev/null
   11560 fi
   11561 if (echo >conf$$.file) 2>/dev/null; then
   11562   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11563     as_ln_s='ln -s'
   11564     # ... but there are two gotchas:
   11565     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11566     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11567     # In both cases, we have to default to `cp -p'.
   11568     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11569       as_ln_s='cp -p'
   11570   elif ln conf$$.file conf$$ 2>/dev/null; then
   11571     as_ln_s=ln
   11572   else
   11573     as_ln_s='cp -p'
   11574   fi
   11575 else
   11576   as_ln_s='cp -p'
   11577 fi
   11578 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11579 rmdir conf$$.dir 2>/dev/null
   11580 
   11581 
   11582 # as_fn_mkdir_p
   11583 # -------------
   11584 # Create "$as_dir" as a directory, including parents if necessary.
   11585 as_fn_mkdir_p ()
   11586 {
   11587 
   11588   case $as_dir in #(
   11589   -*) as_dir=./$as_dir;;
   11590   esac
   11591   test -d "$as_dir" || eval $as_mkdir_p || {
   11592     as_dirs=
   11593     while :; do
   11594       case $as_dir in #(
   11595       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11596       *) as_qdir=$as_dir;;
   11597       esac
   11598       as_dirs="'$as_qdir' $as_dirs"
   11599       as_dir=`$as_dirname -- "$as_dir" ||
   11600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11601 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11602 	 X"$as_dir" : 'X\(//\)$' \| \
   11603 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11604 $as_echo X"$as_dir" |
   11605     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11606 	    s//\1/
   11607 	    q
   11608 	  }
   11609 	  /^X\(\/\/\)[^/].*/{
   11610 	    s//\1/
   11611 	    q
   11612 	  }
   11613 	  /^X\(\/\/\)$/{
   11614 	    s//\1/
   11615 	    q
   11616 	  }
   11617 	  /^X\(\/\).*/{
   11618 	    s//\1/
   11619 	    q
   11620 	  }
   11621 	  s/.*/./; q'`
   11622       test -d "$as_dir" && break
   11623     done
   11624     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11625   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11626 
   11627 
   11628 } # as_fn_mkdir_p
   11629 if mkdir -p . 2>/dev/null; then
   11630   as_mkdir_p='mkdir -p "$as_dir"'
   11631 else
   11632   test -d ./-p && rmdir ./-p
   11633   as_mkdir_p=false
   11634 fi
   11635 
   11636 if test -x / >/dev/null 2>&1; then
   11637   as_test_x='test -x'
   11638 else
   11639   if ls -dL / >/dev/null 2>&1; then
   11640     as_ls_L_option=L
   11641   else
   11642     as_ls_L_option=
   11643   fi
   11644   as_test_x='
   11645     eval sh -c '\''
   11646       if test -d "$1"; then
   11647 	test -d "$1/.";
   11648       else
   11649 	case $1 in #(
   11650 	-*)set "./$1";;
   11651 	esac;
   11652 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11653 	???[sx]*):;;*)false;;esac;fi
   11654     '\'' sh
   11655   '
   11656 fi
   11657 as_executable_p=$as_test_x
   11658 
   11659 # Sed expression to map a string onto a valid CPP name.
   11660 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11661 
   11662 # Sed expression to map a string onto a valid variable name.
   11663 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11664 
   11665 
   11666 exec 6>&1
   11667 ## ----------------------------------- ##
   11668 ## Main body of $CONFIG_STATUS script. ##
   11669 ## ----------------------------------- ##
   11670 _ASEOF
   11671 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11672 
   11673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11674 # Save the log message, to keep $0 and so on meaningful, and to
   11675 # report actual input values of CONFIG_FILES etc. instead of their
   11676 # values after options handling.
   11677 ac_log="
   11678 This file was extended by twm $as_me 1.0.8, which was
   11679 generated by GNU Autoconf 2.68.  Invocation command line was
   11680 
   11681   CONFIG_FILES    = $CONFIG_FILES
   11682   CONFIG_HEADERS  = $CONFIG_HEADERS
   11683   CONFIG_LINKS    = $CONFIG_LINKS
   11684   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11685   $ $0 $@
   11686 
   11687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11688 "
   11689 
   11690 _ACEOF
   11691 
   11692 case $ac_config_files in *"
   11693 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11694 esac
   11695 
   11696 case $ac_config_headers in *"
   11697 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11698 esac
   11699 
   11700 
   11701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11702 # Files that config.status was made for.
   11703 config_files="$ac_config_files"
   11704 config_headers="$ac_config_headers"
   11705 config_commands="$ac_config_commands"
   11706 
   11707 _ACEOF
   11708 
   11709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11710 ac_cs_usage="\
   11711 \`$as_me' instantiates files and other configuration actions
   11712 from templates according to the current configuration.  Unless the files
   11713 and actions are specified as TAGs, all are instantiated by default.
   11714 
   11715 Usage: $0 [OPTION]... [TAG]...
   11716 
   11717   -h, --help       print this help, then exit
   11718   -V, --version    print version number and configuration settings, then exit
   11719       --config     print configuration, then exit
   11720   -q, --quiet, --silent
   11721                    do not print progress messages
   11722   -d, --debug      don't remove temporary files
   11723       --recheck    update $as_me by reconfiguring in the same conditions
   11724       --file=FILE[:TEMPLATE]
   11725                    instantiate the configuration file FILE
   11726       --header=FILE[:TEMPLATE]
   11727                    instantiate the configuration header FILE
   11728 
   11729 Configuration files:
   11730 $config_files
   11731 
   11732 Configuration headers:
   11733 $config_headers
   11734 
   11735 Configuration commands:
   11736 $config_commands
   11737 
   11738 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11739 
   11740 _ACEOF
   11741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11742 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11743 ac_cs_version="\\
   11744 twm config.status 1.0.8
   11745 configured by $0, generated by GNU Autoconf 2.68,
   11746   with options \\"\$ac_cs_config\\"
   11747 
   11748 Copyright (C) 2010 Free Software Foundation, Inc.
   11749 This config.status script is free software; the Free Software Foundation
   11750 gives unlimited permission to copy, distribute and modify it."
   11751 
   11752 ac_pwd='$ac_pwd'
   11753 srcdir='$srcdir'
   11754 INSTALL='$INSTALL'
   11755 MKDIR_P='$MKDIR_P'
   11756 AWK='$AWK'
   11757 test -n "\$AWK" || AWK=awk
   11758 _ACEOF
   11759 
   11760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11761 # The default lists apply if the user does not specify any file.
   11762 ac_need_defaults=:
   11763 while test $# != 0
   11764 do
   11765   case $1 in
   11766   --*=?*)
   11767     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11768     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11769     ac_shift=:
   11770     ;;
   11771   --*=)
   11772     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11773     ac_optarg=
   11774     ac_shift=:
   11775     ;;
   11776   *)
   11777     ac_option=$1
   11778     ac_optarg=$2
   11779     ac_shift=shift
   11780     ;;
   11781   esac
   11782 
   11783   case $ac_option in
   11784   # Handling of the options.
   11785   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11786     ac_cs_recheck=: ;;
   11787   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11788     $as_echo "$ac_cs_version"; exit ;;
   11789   --config | --confi | --conf | --con | --co | --c )
   11790     $as_echo "$ac_cs_config"; exit ;;
   11791   --debug | --debu | --deb | --de | --d | -d )
   11792     debug=: ;;
   11793   --file | --fil | --fi | --f )
   11794     $ac_shift
   11795     case $ac_optarg in
   11796     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11797     '') as_fn_error $? "missing file argument" ;;
   11798     esac
   11799     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11800     ac_need_defaults=false;;
   11801   --header | --heade | --head | --hea )
   11802     $ac_shift
   11803     case $ac_optarg in
   11804     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11805     esac
   11806     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11807     ac_need_defaults=false;;
   11808   --he | --h)
   11809     # Conflict between --help and --header
   11810     as_fn_error $? "ambiguous option: \`$1'
   11811 Try \`$0 --help' for more information.";;
   11812   --help | --hel | -h )
   11813     $as_echo "$ac_cs_usage"; exit ;;
   11814   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11815   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11816     ac_cs_silent=: ;;
   11817 
   11818   # This is an error.
   11819   -*) as_fn_error $? "unrecognized option: \`$1'
   11820 Try \`$0 --help' for more information." ;;
   11821 
   11822   *) as_fn_append ac_config_targets " $1"
   11823      ac_need_defaults=false ;;
   11824 
   11825   esac
   11826   shift
   11827 done
   11828 
   11829 ac_configure_extra_args=
   11830 
   11831 if $ac_cs_silent; then
   11832   exec 6>/dev/null
   11833   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11834 fi
   11835 
   11836 _ACEOF
   11837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11838 if \$ac_cs_recheck; then
   11839   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11840   shift
   11841   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11842   CONFIG_SHELL='$SHELL'
   11843   export CONFIG_SHELL
   11844   exec "\$@"
   11845 fi
   11846 
   11847 _ACEOF
   11848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11849 exec 5>>config.log
   11850 {
   11851   echo
   11852   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11853 ## Running $as_me. ##
   11854 _ASBOX
   11855   $as_echo "$ac_log"
   11856 } >&5
   11857 
   11858 _ACEOF
   11859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11860 #
   11861 # INIT-COMMANDS
   11862 #
   11863 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11864 
   11865 _ACEOF
   11866 
   11867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11868 
   11869 # Handling of arguments.
   11870 for ac_config_target in $ac_config_targets
   11871 do
   11872   case $ac_config_target in
   11873     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11874     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11875     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11876     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   11877     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11878 
   11879   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11880   esac
   11881 done
   11882 
   11883 
   11884 # If the user did not use the arguments to specify the items to instantiate,
   11885 # then the envvar interface is used.  Set only those that are not.
   11886 # We use the long form for the default assignment because of an extremely
   11887 # bizarre bug on SunOS 4.1.3.
   11888 if $ac_need_defaults; then
   11889   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11890   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11891   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11892 fi
   11893 
   11894 # Have a temporary directory for convenience.  Make it in the build tree
   11895 # simply because there is no reason against having it here, and in addition,
   11896 # creating and moving files from /tmp can sometimes cause problems.
   11897 # Hook for its removal unless debugging.
   11898 # Note that there is a small window in which the directory will not be cleaned:
   11899 # after its creation but before its name has been assigned to `$tmp'.
   11900 $debug ||
   11901 {
   11902   tmp= ac_tmp=
   11903   trap 'exit_status=$?
   11904   : "${ac_tmp:=$tmp}"
   11905   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11906 ' 0
   11907   trap 'as_fn_exit 1' 1 2 13 15
   11908 }
   11909 # Create a (secure) tmp directory for tmp files.
   11910 
   11911 {
   11912   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11913   test -d "$tmp"
   11914 }  ||
   11915 {
   11916   tmp=./conf$$-$RANDOM
   11917   (umask 077 && mkdir "$tmp")
   11918 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11919 ac_tmp=$tmp
   11920 
   11921 # Set up the scripts for CONFIG_FILES section.
   11922 # No need to generate them if there are no CONFIG_FILES.
   11923 # This happens for instance with `./config.status config.h'.
   11924 if test -n "$CONFIG_FILES"; then
   11925 
   11926 
   11927 ac_cr=`echo X | tr X '\015'`
   11928 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11929 # But we know of no other shell where ac_cr would be empty at this
   11930 # point, so we can use a bashism as a fallback.
   11931 if test "x$ac_cr" = x; then
   11932   eval ac_cr=\$\'\\r\'
   11933 fi
   11934 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11935 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11936   ac_cs_awk_cr='\\r'
   11937 else
   11938   ac_cs_awk_cr=$ac_cr
   11939 fi
   11940 
   11941 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11942 _ACEOF
   11943 
   11944 
   11945 {
   11946   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11947   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11948   echo "_ACEOF"
   11949 } >conf$$subs.sh ||
   11950   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11951 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11952 ac_delim='%!_!# '
   11953 for ac_last_try in false false false false false :; do
   11954   . ./conf$$subs.sh ||
   11955     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11956 
   11957   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11958   if test $ac_delim_n = $ac_delim_num; then
   11959     break
   11960   elif $ac_last_try; then
   11961     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11962   else
   11963     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11964   fi
   11965 done
   11966 rm -f conf$$subs.sh
   11967 
   11968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11969 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11970 _ACEOF
   11971 sed -n '
   11972 h
   11973 s/^/S["/; s/!.*/"]=/
   11974 p
   11975 g
   11976 s/^[^!]*!//
   11977 :repl
   11978 t repl
   11979 s/'"$ac_delim"'$//
   11980 t delim
   11981 :nl
   11982 h
   11983 s/\(.\{148\}\)..*/\1/
   11984 t more1
   11985 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11986 p
   11987 n
   11988 b repl
   11989 :more1
   11990 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11991 p
   11992 g
   11993 s/.\{148\}//
   11994 t nl
   11995 :delim
   11996 h
   11997 s/\(.\{148\}\)..*/\1/
   11998 t more2
   11999 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12000 p
   12001 b
   12002 :more2
   12003 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12004 p
   12005 g
   12006 s/.\{148\}//
   12007 t delim
   12008 ' <conf$$subs.awk | sed '
   12009 /^[^""]/{
   12010   N
   12011   s/\n//
   12012 }
   12013 ' >>$CONFIG_STATUS || ac_write_fail=1
   12014 rm -f conf$$subs.awk
   12015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12016 _ACAWK
   12017 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12018   for (key in S) S_is_set[key] = 1
   12019   FS = ""
   12020 
   12021 }
   12022 {
   12023   line = $ 0
   12024   nfields = split(line, field, "@")
   12025   substed = 0
   12026   len = length(field[1])
   12027   for (i = 2; i < nfields; i++) {
   12028     key = field[i]
   12029     keylen = length(key)
   12030     if (S_is_set[key]) {
   12031       value = S[key]
   12032       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12033       len += length(value) + length(field[++i])
   12034       substed = 1
   12035     } else
   12036       len += 1 + keylen
   12037   }
   12038 
   12039   print line
   12040 }
   12041 
   12042 _ACAWK
   12043 _ACEOF
   12044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12045 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12046   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12047 else
   12048   cat
   12049 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12050   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12051 _ACEOF
   12052 
   12053 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12054 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12055 # trailing colons and then remove the whole line if VPATH becomes empty
   12056 # (actually we leave an empty line to preserve line numbers).
   12057 if test "x$srcdir" = x.; then
   12058   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12059 h
   12060 s///
   12061 s/^/:/
   12062 s/[	 ]*$/:/
   12063 s/:\$(srcdir):/:/g
   12064 s/:\${srcdir}:/:/g
   12065 s/:@srcdir@:/:/g
   12066 s/^:*//
   12067 s/:*$//
   12068 x
   12069 s/\(=[	 ]*\).*/\1/
   12070 G
   12071 s/\n//
   12072 s/^[^=]*=[	 ]*$//
   12073 }'
   12074 fi
   12075 
   12076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12077 fi # test -n "$CONFIG_FILES"
   12078 
   12079 # Set up the scripts for CONFIG_HEADERS section.
   12080 # No need to generate them if there are no CONFIG_HEADERS.
   12081 # This happens for instance with `./config.status Makefile'.
   12082 if test -n "$CONFIG_HEADERS"; then
   12083 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12084 BEGIN {
   12085 _ACEOF
   12086 
   12087 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12088 # here-document in config.status, that substitutes the proper values into
   12089 # config.h.in to produce config.h.
   12090 
   12091 # Create a delimiter string that does not exist in confdefs.h, to ease
   12092 # handling of long lines.
   12093 ac_delim='%!_!# '
   12094 for ac_last_try in false false :; do
   12095   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12096   if test -z "$ac_tt"; then
   12097     break
   12098   elif $ac_last_try; then
   12099     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12100   else
   12101     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12102   fi
   12103 done
   12104 
   12105 # For the awk script, D is an array of macro values keyed by name,
   12106 # likewise P contains macro parameters if any.  Preserve backslash
   12107 # newline sequences.
   12108 
   12109 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12110 sed -n '
   12111 s/.\{148\}/&'"$ac_delim"'/g
   12112 t rset
   12113 :rset
   12114 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12115 t def
   12116 d
   12117 :def
   12118 s/\\$//
   12119 t bsnl
   12120 s/["\\]/\\&/g
   12121 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12122 D["\1"]=" \3"/p
   12123 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12124 d
   12125 :bsnl
   12126 s/["\\]/\\&/g
   12127 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12128 D["\1"]=" \3\\\\\\n"\\/p
   12129 t cont
   12130 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12131 t cont
   12132 d
   12133 :cont
   12134 n
   12135 s/.\{148\}/&'"$ac_delim"'/g
   12136 t clear
   12137 :clear
   12138 s/\\$//
   12139 t bsnlc
   12140 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12141 d
   12142 :bsnlc
   12143 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12144 b cont
   12145 ' <confdefs.h | sed '
   12146 s/'"$ac_delim"'/"\\\
   12147 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12148 
   12149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12150   for (key in D) D_is_set[key] = 1
   12151   FS = ""
   12152 }
   12153 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12154   line = \$ 0
   12155   split(line, arg, " ")
   12156   if (arg[1] == "#") {
   12157     defundef = arg[2]
   12158     mac1 = arg[3]
   12159   } else {
   12160     defundef = substr(arg[1], 2)
   12161     mac1 = arg[2]
   12162   }
   12163   split(mac1, mac2, "(") #)
   12164   macro = mac2[1]
   12165   prefix = substr(line, 1, index(line, defundef) - 1)
   12166   if (D_is_set[macro]) {
   12167     # Preserve the white space surrounding the "#".
   12168     print prefix "define", macro P[macro] D[macro]
   12169     next
   12170   } else {
   12171     # Replace #undef with comments.  This is necessary, for example,
   12172     # in the case of _POSIX_SOURCE, which is predefined and required
   12173     # on some systems where configure will not decide to define it.
   12174     if (defundef == "undef") {
   12175       print "/*", prefix defundef, macro, "*/"
   12176       next
   12177     }
   12178   }
   12179 }
   12180 { print }
   12181 _ACAWK
   12182 _ACEOF
   12183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12184   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12185 fi # test -n "$CONFIG_HEADERS"
   12186 
   12187 
   12188 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12189 shift
   12190 for ac_tag
   12191 do
   12192   case $ac_tag in
   12193   :[FHLC]) ac_mode=$ac_tag; continue;;
   12194   esac
   12195   case $ac_mode$ac_tag in
   12196   :[FHL]*:*);;
   12197   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12198   :[FH]-) ac_tag=-:-;;
   12199   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12200   esac
   12201   ac_save_IFS=$IFS
   12202   IFS=:
   12203   set x $ac_tag
   12204   IFS=$ac_save_IFS
   12205   shift
   12206   ac_file=$1
   12207   shift
   12208 
   12209   case $ac_mode in
   12210   :L) ac_source=$1;;
   12211   :[FH])
   12212     ac_file_inputs=
   12213     for ac_f
   12214     do
   12215       case $ac_f in
   12216       -) ac_f="$ac_tmp/stdin";;
   12217       *) # Look for the file first in the build tree, then in the source tree
   12218 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12219 	 # because $ac_f cannot contain `:'.
   12220 	 test -f "$ac_f" ||
   12221 	   case $ac_f in
   12222 	   [\\/$]*) false;;
   12223 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12224 	   esac ||
   12225 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12226       esac
   12227       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12228       as_fn_append ac_file_inputs " '$ac_f'"
   12229     done
   12230 
   12231     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12232     # use $as_me), people would be surprised to read:
   12233     #    /* config.h.  Generated by config.status.  */
   12234     configure_input='Generated from '`
   12235 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12236 	`' by configure.'
   12237     if test x"$ac_file" != x-; then
   12238       configure_input="$ac_file.  $configure_input"
   12239       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12240 $as_echo "$as_me: creating $ac_file" >&6;}
   12241     fi
   12242     # Neutralize special characters interpreted by sed in replacement strings.
   12243     case $configure_input in #(
   12244     *\&* | *\|* | *\\* )
   12245        ac_sed_conf_input=`$as_echo "$configure_input" |
   12246        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12247     *) ac_sed_conf_input=$configure_input;;
   12248     esac
   12249 
   12250     case $ac_tag in
   12251     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12252       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12253     esac
   12254     ;;
   12255   esac
   12256 
   12257   ac_dir=`$as_dirname -- "$ac_file" ||
   12258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12259 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12260 	 X"$ac_file" : 'X\(//\)$' \| \
   12261 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12262 $as_echo X"$ac_file" |
   12263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12264 	    s//\1/
   12265 	    q
   12266 	  }
   12267 	  /^X\(\/\/\)[^/].*/{
   12268 	    s//\1/
   12269 	    q
   12270 	  }
   12271 	  /^X\(\/\/\)$/{
   12272 	    s//\1/
   12273 	    q
   12274 	  }
   12275 	  /^X\(\/\).*/{
   12276 	    s//\1/
   12277 	    q
   12278 	  }
   12279 	  s/.*/./; q'`
   12280   as_dir="$ac_dir"; as_fn_mkdir_p
   12281   ac_builddir=.
   12282 
   12283 case "$ac_dir" in
   12284 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12285 *)
   12286   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12287   # A ".." for each directory in $ac_dir_suffix.
   12288   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12289   case $ac_top_builddir_sub in
   12290   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12291   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12292   esac ;;
   12293 esac
   12294 ac_abs_top_builddir=$ac_pwd
   12295 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12296 # for backward compatibility:
   12297 ac_top_builddir=$ac_top_build_prefix
   12298 
   12299 case $srcdir in
   12300   .)  # We are building in place.
   12301     ac_srcdir=.
   12302     ac_top_srcdir=$ac_top_builddir_sub
   12303     ac_abs_top_srcdir=$ac_pwd ;;
   12304   [\\/]* | ?:[\\/]* )  # Absolute name.
   12305     ac_srcdir=$srcdir$ac_dir_suffix;
   12306     ac_top_srcdir=$srcdir
   12307     ac_abs_top_srcdir=$srcdir ;;
   12308   *) # Relative name.
   12309     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12310     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12311     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12312 esac
   12313 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12314 
   12315 
   12316   case $ac_mode in
   12317   :F)
   12318   #
   12319   # CONFIG_FILE
   12320   #
   12321 
   12322   case $INSTALL in
   12323   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12324   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12325   esac
   12326   ac_MKDIR_P=$MKDIR_P
   12327   case $MKDIR_P in
   12328   [\\/$]* | ?:[\\/]* ) ;;
   12329   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12330   esac
   12331 _ACEOF
   12332 
   12333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12334 # If the template does not know about datarootdir, expand it.
   12335 # FIXME: This hack should be removed a few years after 2.60.
   12336 ac_datarootdir_hack=; ac_datarootdir_seen=
   12337 ac_sed_dataroot='
   12338 /datarootdir/ {
   12339   p
   12340   q
   12341 }
   12342 /@datadir@/p
   12343 /@docdir@/p
   12344 /@infodir@/p
   12345 /@localedir@/p
   12346 /@mandir@/p'
   12347 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12348 *datarootdir*) ac_datarootdir_seen=yes;;
   12349 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12350   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12351 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12352 _ACEOF
   12353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12354   ac_datarootdir_hack='
   12355   s&@datadir@&$datadir&g
   12356   s&@docdir@&$docdir&g
   12357   s&@infodir@&$infodir&g
   12358   s&@localedir@&$localedir&g
   12359   s&@mandir@&$mandir&g
   12360   s&\\\${datarootdir}&$datarootdir&g' ;;
   12361 esac
   12362 _ACEOF
   12363 
   12364 # Neutralize VPATH when `$srcdir' = `.'.
   12365 # Shell code in configure.ac might set extrasub.
   12366 # FIXME: do we really want to maintain this feature?
   12367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12368 ac_sed_extra="$ac_vpsub
   12369 $extrasub
   12370 _ACEOF
   12371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12372 :t
   12373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12374 s|@configure_input@|$ac_sed_conf_input|;t t
   12375 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12376 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12377 s&@srcdir@&$ac_srcdir&;t t
   12378 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12379 s&@top_srcdir@&$ac_top_srcdir&;t t
   12380 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12381 s&@builddir@&$ac_builddir&;t t
   12382 s&@abs_builddir@&$ac_abs_builddir&;t t
   12383 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12384 s&@INSTALL@&$ac_INSTALL&;t t
   12385 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12386 $ac_datarootdir_hack
   12387 "
   12388 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12389   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12390 
   12391 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12392   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12393   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12394       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12395   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12396 which seems to be undefined.  Please make sure it is defined" >&5
   12397 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12398 which seems to be undefined.  Please make sure it is defined" >&2;}
   12399 
   12400   rm -f "$ac_tmp/stdin"
   12401   case $ac_file in
   12402   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12403   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12404   esac \
   12405   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12406  ;;
   12407   :H)
   12408   #
   12409   # CONFIG_HEADER
   12410   #
   12411   if test x"$ac_file" != x-; then
   12412     {
   12413       $as_echo "/* $configure_input  */" \
   12414       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12415     } >"$ac_tmp/config.h" \
   12416       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12417     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12418       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12419 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12420     else
   12421       rm -f "$ac_file"
   12422       mv "$ac_tmp/config.h" "$ac_file" \
   12423 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12424     fi
   12425   else
   12426     $as_echo "/* $configure_input  */" \
   12427       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12428       || as_fn_error $? "could not create -" "$LINENO" 5
   12429   fi
   12430 # Compute "$ac_file"'s index in $config_headers.
   12431 _am_arg="$ac_file"
   12432 _am_stamp_count=1
   12433 for _am_header in $config_headers :; do
   12434   case $_am_header in
   12435     $_am_arg | $_am_arg:* )
   12436       break ;;
   12437     * )
   12438       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12439   esac
   12440 done
   12441 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12442 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12443 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12444 	 X"$_am_arg" : 'X\(//\)$' \| \
   12445 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12446 $as_echo X"$_am_arg" |
   12447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12448 	    s//\1/
   12449 	    q
   12450 	  }
   12451 	  /^X\(\/\/\)[^/].*/{
   12452 	    s//\1/
   12453 	    q
   12454 	  }
   12455 	  /^X\(\/\/\)$/{
   12456 	    s//\1/
   12457 	    q
   12458 	  }
   12459 	  /^X\(\/\).*/{
   12460 	    s//\1/
   12461 	    q
   12462 	  }
   12463 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12464  ;;
   12465 
   12466   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12467 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12468  ;;
   12469   esac
   12470 
   12471 
   12472   case $ac_file$ac_mode in
   12473     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12474   # Older Autoconf quotes --file arguments for eval, but not when files
   12475   # are listed without --file.  Let's play safe and only enable the eval
   12476   # if we detect the quoting.
   12477   case $CONFIG_FILES in
   12478   *\'*) eval set x "$CONFIG_FILES" ;;
   12479   *)   set x $CONFIG_FILES ;;
   12480   esac
   12481   shift
   12482   for mf
   12483   do
   12484     # Strip MF so we end up with the name of the file.
   12485     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12486     # Check whether this is an Automake generated Makefile or not.
   12487     # We used to match only the files named 'Makefile.in', but
   12488     # some people rename them; so instead we look at the file content.
   12489     # Grep'ing the first line is not enough: some people post-process
   12490     # each Makefile.in and add a new line on top of each file to say so.
   12491     # Grep'ing the whole file is not good either: AIX grep has a line
   12492     # limit of 2048, but all sed's we know have understand at least 4000.
   12493     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12494       dirpart=`$as_dirname -- "$mf" ||
   12495 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12496 	 X"$mf" : 'X\(//\)[^/]' \| \
   12497 	 X"$mf" : 'X\(//\)$' \| \
   12498 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12499 $as_echo X"$mf" |
   12500     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12501 	    s//\1/
   12502 	    q
   12503 	  }
   12504 	  /^X\(\/\/\)[^/].*/{
   12505 	    s//\1/
   12506 	    q
   12507 	  }
   12508 	  /^X\(\/\/\)$/{
   12509 	    s//\1/
   12510 	    q
   12511 	  }
   12512 	  /^X\(\/\).*/{
   12513 	    s//\1/
   12514 	    q
   12515 	  }
   12516 	  s/.*/./; q'`
   12517     else
   12518       continue
   12519     fi
   12520     # Extract the definition of DEPDIR, am__include, and am__quote
   12521     # from the Makefile without running 'make'.
   12522     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12523     test -z "$DEPDIR" && continue
   12524     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12525     test -z "$am__include" && continue
   12526     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12527     # Find all dependency output files, they are included files with
   12528     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12529     # simplest approach to changing $(DEPDIR) to its actual value in the
   12530     # expansion.
   12531     for file in `sed -n "
   12532       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12533 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12534       # Make sure the directory exists.
   12535       test -f "$dirpart/$file" && continue
   12536       fdir=`$as_dirname -- "$file" ||
   12537 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12538 	 X"$file" : 'X\(//\)[^/]' \| \
   12539 	 X"$file" : 'X\(//\)$' \| \
   12540 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12541 $as_echo X"$file" |
   12542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12543 	    s//\1/
   12544 	    q
   12545 	  }
   12546 	  /^X\(\/\/\)[^/].*/{
   12547 	    s//\1/
   12548 	    q
   12549 	  }
   12550 	  /^X\(\/\/\)$/{
   12551 	    s//\1/
   12552 	    q
   12553 	  }
   12554 	  /^X\(\/\).*/{
   12555 	    s//\1/
   12556 	    q
   12557 	  }
   12558 	  s/.*/./; q'`
   12559       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12560       # echo "creating $dirpart/$file"
   12561       echo '# dummy' > "$dirpart/$file"
   12562     done
   12563   done
   12564 }
   12565  ;;
   12566 
   12567   esac
   12568 done # for ac_tag
   12569 
   12570 
   12571 as_fn_exit 0
   12572 _ACEOF
   12573 ac_clean_files=$ac_clean_files_save
   12574 
   12575 test $ac_write_fail = 0 ||
   12576   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12577 
   12578 
   12579 # configure is writing to config.log, and then calls config.status.
   12580 # config.status does its own redirection, appending to config.log.
   12581 # Unfortunately, on DOS this fails, as config.log is still kept open
   12582 # by configure, so config.status won't be able to write to it; its
   12583 # output is simply discarded.  So we exec the FD to /dev/null,
   12584 # effectively closing config.log, so it can be properly (re)opened and
   12585 # appended to by config.status.  When coming back to configure, we
   12586 # need to make the FD available again.
   12587 if test "$no_create" != yes; then
   12588   ac_cs_success=:
   12589   ac_config_status_args=
   12590   test "$silent" = yes &&
   12591     ac_config_status_args="$ac_config_status_args --quiet"
   12592   exec 5>/dev/null
   12593   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12594   exec 5>>config.log
   12595   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12596   # would make configure fail if this is the last instruction.
   12597   $ac_cs_success || as_fn_exit 1
   12598 fi
   12599 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12600   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12601 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12602 fi
   12603 
   12604