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