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