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