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