Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for ico 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='ico'
    563 PACKAGE_TARNAME='ico'
    564 PACKAGE_VERSION='1.0.4'
    565 PACKAGE_STRING='ico 1.0.4'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 XTHREADLIB
    610 ICO_LIBS
    611 ICO_CFLAGS
    612 AM_BACKSLASH
    613 AM_DEFAULT_VERBOSITY
    614 MAN_SUBSTS
    615 XORG_MAN_PAGE
    616 ADMIN_MAN_DIR
    617 DRIVER_MAN_DIR
    618 MISC_MAN_DIR
    619 FILE_MAN_DIR
    620 LIB_MAN_DIR
    621 APP_MAN_DIR
    622 ADMIN_MAN_SUFFIX
    623 DRIVER_MAN_SUFFIX
    624 MISC_MAN_SUFFIX
    625 FILE_MAN_SUFFIX
    626 LIB_MAN_SUFFIX
    627 APP_MAN_SUFFIX
    628 SED
    629 host_os
    630 host_vendor
    631 host_cpu
    632 host
    633 build_os
    634 build_vendor
    635 build_cpu
    636 build
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 EGREP
    644 GREP
    645 CPP
    646 am__fastdepCC_FALSE
    647 am__fastdepCC_TRUE
    648 CCDEPMODE
    649 am__nodep
    650 AMDEPBACKSLASH
    651 AMDEP_FALSE
    652 AMDEP_TRUE
    653 am__quote
    654 am__include
    655 DEPDIR
    656 OBJEXT
    657 EXEEXT
    658 ac_ct_CC
    659 CPPFLAGS
    660 LDFLAGS
    661 CFLAGS
    662 CC
    663 MAINT
    664 MAINTAINER_MODE_FALSE
    665 MAINTAINER_MODE_TRUE
    666 am__untar
    667 am__tar
    668 AMTAR
    669 am__leading_dot
    670 SET_MAKE
    671 AWK
    672 mkdir_p
    673 MKDIR_P
    674 INSTALL_STRIP_PROGRAM
    675 STRIP
    676 install_sh
    677 MAKEINFO
    678 AUTOHEADER
    679 AUTOMAKE
    680 AUTOCONF
    681 ACLOCAL
    682 VERSION
    683 PACKAGE
    684 CYGPATH_W
    685 am__isrc
    686 INSTALL_DATA
    687 INSTALL_SCRIPT
    688 INSTALL_PROGRAM
    689 target_alias
    690 host_alias
    691 build_alias
    692 LIBS
    693 ECHO_T
    694 ECHO_N
    695 ECHO_C
    696 DEFS
    697 mandir
    698 localedir
    699 libdir
    700 psdir
    701 pdfdir
    702 dvidir
    703 htmldir
    704 infodir
    705 docdir
    706 oldincludedir
    707 includedir
    708 localstatedir
    709 sharedstatedir
    710 sysconfdir
    711 datadir
    712 datarootdir
    713 libexecdir
    714 sbindir
    715 bindir
    716 program_transform_name
    717 prefix
    718 exec_prefix
    719 PACKAGE_URL
    720 PACKAGE_BUGREPORT
    721 PACKAGE_STRING
    722 PACKAGE_VERSION
    723 PACKAGE_TARNAME
    724 PACKAGE_NAME
    725 PATH_SEPARATOR
    726 SHELL'
    727 ac_subst_files=''
    728 ac_user_opts='
    729 enable_option_checking
    730 enable_maintainer_mode
    731 enable_dependency_tracking
    732 enable_selective_werror
    733 enable_strict_compilation
    734 enable_silent_rules
    735 '
    736       ac_precious_vars='build_alias
    737 host_alias
    738 target_alias
    739 CC
    740 CFLAGS
    741 LDFLAGS
    742 LIBS
    743 CPPFLAGS
    744 CPP
    745 PKG_CONFIG
    746 ICO_CFLAGS
    747 ICO_LIBS'
    748 
    749 
    750 # Initialize some variables set by options.
    751 ac_init_help=
    752 ac_init_version=false
    753 ac_unrecognized_opts=
    754 ac_unrecognized_sep=
    755 # The variables have the same names as the options, with
    756 # dashes changed to underlines.
    757 cache_file=/dev/null
    758 exec_prefix=NONE
    759 no_create=
    760 no_recursion=
    761 prefix=NONE
    762 program_prefix=NONE
    763 program_suffix=NONE
    764 program_transform_name=s,x,x,
    765 silent=
    766 site=
    767 srcdir=
    768 verbose=
    769 x_includes=NONE
    770 x_libraries=NONE
    771 
    772 # Installation directory options.
    773 # These are left unexpanded so users can "make install exec_prefix=/foo"
    774 # and all the variables that are supposed to be based on exec_prefix
    775 # by default will actually change.
    776 # Use braces instead of parens because sh, perl, etc. also accept them.
    777 # (The list follows the same order as the GNU Coding Standards.)
    778 bindir='${exec_prefix}/bin'
    779 sbindir='${exec_prefix}/sbin'
    780 libexecdir='${exec_prefix}/libexec'
    781 datarootdir='${prefix}/share'
    782 datadir='${datarootdir}'
    783 sysconfdir='${prefix}/etc'
    784 sharedstatedir='${prefix}/com'
    785 localstatedir='${prefix}/var'
    786 includedir='${prefix}/include'
    787 oldincludedir='/usr/include'
    788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    789 infodir='${datarootdir}/info'
    790 htmldir='${docdir}'
    791 dvidir='${docdir}'
    792 pdfdir='${docdir}'
    793 psdir='${docdir}'
    794 libdir='${exec_prefix}/lib'
    795 localedir='${datarootdir}/locale'
    796 mandir='${datarootdir}/man'
    797 
    798 ac_prev=
    799 ac_dashdash=
    800 for ac_option
    801 do
    802   # If the previous option needs an argument, assign it.
    803   if test -n "$ac_prev"; then
    804     eval $ac_prev=\$ac_option
    805     ac_prev=
    806     continue
    807   fi
    808 
    809   case $ac_option in
    810   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    811   *=)   ac_optarg= ;;
    812   *)    ac_optarg=yes ;;
    813   esac
    814 
    815   # Accept the important Cygnus configure options, so we can diagnose typos.
    816 
    817   case $ac_dashdash$ac_option in
    818   --)
    819     ac_dashdash=yes ;;
    820 
    821   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    822     ac_prev=bindir ;;
    823   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    824     bindir=$ac_optarg ;;
    825 
    826   -build | --build | --buil | --bui | --bu)
    827     ac_prev=build_alias ;;
    828   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    829     build_alias=$ac_optarg ;;
    830 
    831   -cache-file | --cache-file | --cache-fil | --cache-fi \
    832   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    833     ac_prev=cache_file ;;
    834   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    835   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    836     cache_file=$ac_optarg ;;
    837 
    838   --config-cache | -C)
    839     cache_file=config.cache ;;
    840 
    841   -datadir | --datadir | --datadi | --datad)
    842     ac_prev=datadir ;;
    843   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    844     datadir=$ac_optarg ;;
    845 
    846   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    847   | --dataroo | --dataro | --datar)
    848     ac_prev=datarootdir ;;
    849   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    850   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    851     datarootdir=$ac_optarg ;;
    852 
    853   -disable-* | --disable-*)
    854     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    855     # Reject names that are not valid shell variable names.
    856     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    857       as_fn_error $? "invalid feature name: $ac_useropt"
    858     ac_useropt_orig=$ac_useropt
    859     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    860     case $ac_user_opts in
    861       *"
    862 "enable_$ac_useropt"
    863 "*) ;;
    864       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    865 	 ac_unrecognized_sep=', ';;
    866     esac
    867     eval enable_$ac_useropt=no ;;
    868 
    869   -docdir | --docdir | --docdi | --doc | --do)
    870     ac_prev=docdir ;;
    871   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    872     docdir=$ac_optarg ;;
    873 
    874   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    875     ac_prev=dvidir ;;
    876   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    877     dvidir=$ac_optarg ;;
    878 
    879   -enable-* | --enable-*)
    880     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    881     # Reject names that are not valid shell variable names.
    882     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       as_fn_error $? "invalid feature name: $ac_useropt"
    884     ac_useropt_orig=$ac_useropt
    885     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    886     case $ac_user_opts in
    887       *"
    888 "enable_$ac_useropt"
    889 "*) ;;
    890       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    891 	 ac_unrecognized_sep=', ';;
    892     esac
    893     eval enable_$ac_useropt=\$ac_optarg ;;
    894 
    895   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    896   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    897   | --exec | --exe | --ex)
    898     ac_prev=exec_prefix ;;
    899   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    900   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    901   | --exec=* | --exe=* | --ex=*)
    902     exec_prefix=$ac_optarg ;;
    903 
    904   -gas | --gas | --ga | --g)
    905     # Obsolete; use --with-gas.
    906     with_gas=yes ;;
    907 
    908   -help | --help | --hel | --he | -h)
    909     ac_init_help=long ;;
    910   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    911     ac_init_help=recursive ;;
    912   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    913     ac_init_help=short ;;
    914 
    915   -host | --host | --hos | --ho)
    916     ac_prev=host_alias ;;
    917   -host=* | --host=* | --hos=* | --ho=*)
    918     host_alias=$ac_optarg ;;
    919 
    920   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    921     ac_prev=htmldir ;;
    922   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    923   | --ht=*)
    924     htmldir=$ac_optarg ;;
    925 
    926   -includedir | --includedir | --includedi | --included | --include \
    927   | --includ | --inclu | --incl | --inc)
    928     ac_prev=includedir ;;
    929   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    930   | --includ=* | --inclu=* | --incl=* | --inc=*)
    931     includedir=$ac_optarg ;;
    932 
    933   -infodir | --infodir | --infodi | --infod | --info | --inf)
    934     ac_prev=infodir ;;
    935   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    936     infodir=$ac_optarg ;;
    937 
    938   -libdir | --libdir | --libdi | --libd)
    939     ac_prev=libdir ;;
    940   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    941     libdir=$ac_optarg ;;
    942 
    943   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    944   | --libexe | --libex | --libe)
    945     ac_prev=libexecdir ;;
    946   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    947   | --libexe=* | --libex=* | --libe=*)
    948     libexecdir=$ac_optarg ;;
    949 
    950   -localedir | --localedir | --localedi | --localed | --locale)
    951     ac_prev=localedir ;;
    952   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    953     localedir=$ac_optarg ;;
    954 
    955   -localstatedir | --localstatedir | --localstatedi | --localstated \
    956   | --localstate | --localstat | --localsta | --localst | --locals)
    957     ac_prev=localstatedir ;;
    958   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    959   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    960     localstatedir=$ac_optarg ;;
    961 
    962   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    963     ac_prev=mandir ;;
    964   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    965     mandir=$ac_optarg ;;
    966 
    967   -nfp | --nfp | --nf)
    968     # Obsolete; use --without-fp.
    969     with_fp=no ;;
    970 
    971   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    972   | --no-cr | --no-c | -n)
    973     no_create=yes ;;
    974 
    975   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    976   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    977     no_recursion=yes ;;
    978 
    979   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    980   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    981   | --oldin | --oldi | --old | --ol | --o)
    982     ac_prev=oldincludedir ;;
    983   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    984   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    985   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    986     oldincludedir=$ac_optarg ;;
    987 
    988   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    989     ac_prev=prefix ;;
    990   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    991     prefix=$ac_optarg ;;
    992 
    993   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    994   | --program-pre | --program-pr | --program-p)
    995     ac_prev=program_prefix ;;
    996   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    997   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    998     program_prefix=$ac_optarg ;;
    999 
   1000   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1001   | --program-suf | --program-su | --program-s)
   1002     ac_prev=program_suffix ;;
   1003   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1004   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1005     program_suffix=$ac_optarg ;;
   1006 
   1007   -program-transform-name | --program-transform-name \
   1008   | --program-transform-nam | --program-transform-na \
   1009   | --program-transform-n | --program-transform- \
   1010   | --program-transform | --program-transfor \
   1011   | --program-transfo | --program-transf \
   1012   | --program-trans | --program-tran \
   1013   | --progr-tra | --program-tr | --program-t)
   1014     ac_prev=program_transform_name ;;
   1015   -program-transform-name=* | --program-transform-name=* \
   1016   | --program-transform-nam=* | --program-transform-na=* \
   1017   | --program-transform-n=* | --program-transform-=* \
   1018   | --program-transform=* | --program-transfor=* \
   1019   | --program-transfo=* | --program-transf=* \
   1020   | --program-trans=* | --program-tran=* \
   1021   | --progr-tra=* | --program-tr=* | --program-t=*)
   1022     program_transform_name=$ac_optarg ;;
   1023 
   1024   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1025     ac_prev=pdfdir ;;
   1026   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1027     pdfdir=$ac_optarg ;;
   1028 
   1029   -psdir | --psdir | --psdi | --psd | --ps)
   1030     ac_prev=psdir ;;
   1031   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1032     psdir=$ac_optarg ;;
   1033 
   1034   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1035   | -silent | --silent | --silen | --sile | --sil)
   1036     silent=yes ;;
   1037 
   1038   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1039     ac_prev=sbindir ;;
   1040   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1041   | --sbi=* | --sb=*)
   1042     sbindir=$ac_optarg ;;
   1043 
   1044   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1045   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1046   | --sharedst | --shareds | --shared | --share | --shar \
   1047   | --sha | --sh)
   1048     ac_prev=sharedstatedir ;;
   1049   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1050   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1051   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1052   | --sha=* | --sh=*)
   1053     sharedstatedir=$ac_optarg ;;
   1054 
   1055   -site | --site | --sit)
   1056     ac_prev=site ;;
   1057   -site=* | --site=* | --sit=*)
   1058     site=$ac_optarg ;;
   1059 
   1060   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1061     ac_prev=srcdir ;;
   1062   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1063     srcdir=$ac_optarg ;;
   1064 
   1065   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1066   | --syscon | --sysco | --sysc | --sys | --sy)
   1067     ac_prev=sysconfdir ;;
   1068   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1069   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1070     sysconfdir=$ac_optarg ;;
   1071 
   1072   -target | --target | --targe | --targ | --tar | --ta | --t)
   1073     ac_prev=target_alias ;;
   1074   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1075     target_alias=$ac_optarg ;;
   1076 
   1077   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1078     verbose=yes ;;
   1079 
   1080   -version | --version | --versio | --versi | --vers | -V)
   1081     ac_init_version=: ;;
   1082 
   1083   -with-* | --with-*)
   1084     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1085     # Reject names that are not valid shell variable names.
   1086     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1087       as_fn_error $? "invalid package name: $ac_useropt"
   1088     ac_useropt_orig=$ac_useropt
   1089     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1090     case $ac_user_opts in
   1091       *"
   1092 "with_$ac_useropt"
   1093 "*) ;;
   1094       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1095 	 ac_unrecognized_sep=', ';;
   1096     esac
   1097     eval with_$ac_useropt=\$ac_optarg ;;
   1098 
   1099   -without-* | --without-*)
   1100     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1101     # Reject names that are not valid shell variable names.
   1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1103       as_fn_error $? "invalid package name: $ac_useropt"
   1104     ac_useropt_orig=$ac_useropt
   1105     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1106     case $ac_user_opts in
   1107       *"
   1108 "with_$ac_useropt"
   1109 "*) ;;
   1110       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1111 	 ac_unrecognized_sep=', ';;
   1112     esac
   1113     eval with_$ac_useropt=no ;;
   1114 
   1115   --x)
   1116     # Obsolete; use --with-x.
   1117     with_x=yes ;;
   1118 
   1119   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1120   | --x-incl | --x-inc | --x-in | --x-i)
   1121     ac_prev=x_includes ;;
   1122   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1123   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1124     x_includes=$ac_optarg ;;
   1125 
   1126   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1127   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1128     ac_prev=x_libraries ;;
   1129   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1130   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1131     x_libraries=$ac_optarg ;;
   1132 
   1133   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1134 Try \`$0 --help' for more information"
   1135     ;;
   1136 
   1137   *=*)
   1138     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1139     # Reject names that are not valid shell variable names.
   1140     case $ac_envvar in #(
   1141       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1142       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1143     esac
   1144     eval $ac_envvar=\$ac_optarg
   1145     export $ac_envvar ;;
   1146 
   1147   *)
   1148     # FIXME: should be removed in autoconf 3.0.
   1149     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1150     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1151       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1152     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1153     ;;
   1154 
   1155   esac
   1156 done
   1157 
   1158 if test -n "$ac_prev"; then
   1159   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1160   as_fn_error $? "missing argument to $ac_option"
   1161 fi
   1162 
   1163 if test -n "$ac_unrecognized_opts"; then
   1164   case $enable_option_checking in
   1165     no) ;;
   1166     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1167     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1168   esac
   1169 fi
   1170 
   1171 # Check all directory arguments for consistency.
   1172 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1173 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1174 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1175 		libdir localedir mandir
   1176 do
   1177   eval ac_val=\$$ac_var
   1178   # Remove trailing slashes.
   1179   case $ac_val in
   1180     */ )
   1181       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1182       eval $ac_var=\$ac_val;;
   1183   esac
   1184   # Be sure to have absolute directory names.
   1185   case $ac_val in
   1186     [\\/$]* | ?:[\\/]* )  continue;;
   1187     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1188   esac
   1189   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1190 done
   1191 
   1192 # There might be people who depend on the old broken behavior: `$host'
   1193 # used to hold the argument of --host etc.
   1194 # FIXME: To remove some day.
   1195 build=$build_alias
   1196 host=$host_alias
   1197 target=$target_alias
   1198 
   1199 # FIXME: To remove some day.
   1200 if test "x$host_alias" != x; then
   1201   if test "x$build_alias" = x; then
   1202     cross_compiling=maybe
   1203     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1204     If a cross compiler is detected then cross compile mode will be used" >&2
   1205   elif test "x$build_alias" != "x$host_alias"; then
   1206     cross_compiling=yes
   1207   fi
   1208 fi
   1209 
   1210 ac_tool_prefix=
   1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1212 
   1213 test "$silent" = yes && exec 6>/dev/null
   1214 
   1215 
   1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1217 ac_ls_di=`ls -di .` &&
   1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1219   as_fn_error $? "working directory cannot be determined"
   1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1221   as_fn_error $? "pwd does not report name of working directory"
   1222 
   1223 
   1224 # Find the source files, if location was not specified.
   1225 if test -z "$srcdir"; then
   1226   ac_srcdir_defaulted=yes
   1227   # Try the directory containing this script, then the parent directory.
   1228   ac_confdir=`$as_dirname -- "$as_myself" ||
   1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1230 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1231 	 X"$as_myself" : 'X\(//\)$' \| \
   1232 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1233 $as_echo X"$as_myself" |
   1234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1235 	    s//\1/
   1236 	    q
   1237 	  }
   1238 	  /^X\(\/\/\)[^/].*/{
   1239 	    s//\1/
   1240 	    q
   1241 	  }
   1242 	  /^X\(\/\/\)$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\).*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  s/.*/./; q'`
   1251   srcdir=$ac_confdir
   1252   if test ! -r "$srcdir/$ac_unique_file"; then
   1253     srcdir=..
   1254   fi
   1255 else
   1256   ac_srcdir_defaulted=no
   1257 fi
   1258 if test ! -r "$srcdir/$ac_unique_file"; then
   1259   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1260   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1261 fi
   1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1263 ac_abs_confdir=`(
   1264 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1265 	pwd)`
   1266 # When building in place, set srcdir=.
   1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1268   srcdir=.
   1269 fi
   1270 # Remove unnecessary trailing slashes from srcdir.
   1271 # Double slashes in file names in object file debugging info
   1272 # mess up M-x gdb in Emacs.
   1273 case $srcdir in
   1274 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1275 esac
   1276 for ac_var in $ac_precious_vars; do
   1277   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1278   eval ac_env_${ac_var}_value=\$${ac_var}
   1279   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1281 done
   1282 
   1283 #
   1284 # Report the --help message.
   1285 #
   1286 if test "$ac_init_help" = "long"; then
   1287   # Omit some internal or obsolete options to make the list less imposing.
   1288   # This message is too long to be a string in the A/UX 3.1 sh.
   1289   cat <<_ACEOF
   1290 \`configure' configures ico 1.0.4 to adapt to many kinds of systems.
   1291 
   1292 Usage: $0 [OPTION]... [VAR=VALUE]...
   1293 
   1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1295 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1296 
   1297 Defaults for the options are specified in brackets.
   1298 
   1299 Configuration:
   1300   -h, --help              display this help and exit
   1301       --help=short        display options specific to this package
   1302       --help=recursive    display the short help of all the included packages
   1303   -V, --version           display version information and exit
   1304   -q, --quiet, --silent   do not print \`checking ...' messages
   1305       --cache-file=FILE   cache test results in FILE [disabled]
   1306   -C, --config-cache      alias for \`--cache-file=config.cache'
   1307   -n, --no-create         do not create output files
   1308       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1309 
   1310 Installation directories:
   1311   --prefix=PREFIX         install architecture-independent files in PREFIX
   1312                           [$ac_default_prefix]
   1313   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1314                           [PREFIX]
   1315 
   1316 By default, \`make install' will install all the files in
   1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1319 for instance \`--prefix=\$HOME'.
   1320 
   1321 For better control, use the options below.
   1322 
   1323 Fine tuning of the installation directories:
   1324   --bindir=DIR            user executables [EPREFIX/bin]
   1325   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1326   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1327   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1328   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1329   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1330   --libdir=DIR            object code libraries [EPREFIX/lib]
   1331   --includedir=DIR        C header files [PREFIX/include]
   1332   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1333   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1334   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1335   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1336   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1337   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1338   --docdir=DIR            documentation root [DATAROOTDIR/doc/ico]
   1339   --htmldir=DIR           html documentation [DOCDIR]
   1340   --dvidir=DIR            dvi documentation [DOCDIR]
   1341   --pdfdir=DIR            pdf documentation [DOCDIR]
   1342   --psdir=DIR             ps documentation [DOCDIR]
   1343 _ACEOF
   1344 
   1345   cat <<\_ACEOF
   1346 
   1347 Program names:
   1348   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1349   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1350   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1351 
   1352 System types:
   1353   --build=BUILD     configure for building on BUILD [guessed]
   1354   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1355 _ACEOF
   1356 fi
   1357 
   1358 if test -n "$ac_init_help"; then
   1359   case $ac_init_help in
   1360      short | recursive ) echo "Configuration of ico 1.0.4:";;
   1361    esac
   1362   cat <<\_ACEOF
   1363 
   1364 Optional Features:
   1365   --disable-option-checking  ignore unrecognized --enable/--with options
   1366   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1367   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1368   --enable-maintainer-mode  enable make rules and dependencies not useful
   1369 			  (and sometimes confusing) to the casual installer
   1370   --disable-dependency-tracking  speeds up one-time build
   1371   --enable-dependency-tracking   do not reject slow dependency extractors
   1372   --disable-selective-werror
   1373                           Turn off selective compiler errors. (default:
   1374                           enabled)
   1375   --enable-strict-compilation
   1376                           Enable all warnings from compiler and make them
   1377                           errors (default: disabled)
   1378   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1379   --disable-silent-rules         verbose build output (undo: `make V=0')
   1380 
   1381 Some influential environment variables:
   1382   CC          C compiler command
   1383   CFLAGS      C compiler flags
   1384   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1385               nonstandard directory <lib dir>
   1386   LIBS        libraries to pass to the linker, e.g. -l<library>
   1387   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1388               you have headers in a nonstandard directory <include dir>
   1389   CPP         C preprocessor
   1390   PKG_CONFIG  path to pkg-config utility
   1391   ICO_CFLAGS  C compiler flags for ICO, overriding pkg-config
   1392   ICO_LIBS    linker flags for ICO, overriding pkg-config
   1393 
   1394 Use these variables to override the choices made by `configure' or to help
   1395 it to find libraries and programs with nonstandard names/locations.
   1396 
   1397 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1398 _ACEOF
   1399 ac_status=$?
   1400 fi
   1401 
   1402 if test "$ac_init_help" = "recursive"; then
   1403   # If there are subdirs, report their specific --help.
   1404   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1405     test -d "$ac_dir" ||
   1406       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1407       continue
   1408     ac_builddir=.
   1409 
   1410 case "$ac_dir" in
   1411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1412 *)
   1413   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1414   # A ".." for each directory in $ac_dir_suffix.
   1415   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1416   case $ac_top_builddir_sub in
   1417   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1418   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1419   esac ;;
   1420 esac
   1421 ac_abs_top_builddir=$ac_pwd
   1422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1423 # for backward compatibility:
   1424 ac_top_builddir=$ac_top_build_prefix
   1425 
   1426 case $srcdir in
   1427   .)  # We are building in place.
   1428     ac_srcdir=.
   1429     ac_top_srcdir=$ac_top_builddir_sub
   1430     ac_abs_top_srcdir=$ac_pwd ;;
   1431   [\\/]* | ?:[\\/]* )  # Absolute name.
   1432     ac_srcdir=$srcdir$ac_dir_suffix;
   1433     ac_top_srcdir=$srcdir
   1434     ac_abs_top_srcdir=$srcdir ;;
   1435   *) # Relative name.
   1436     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1437     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1438     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1439 esac
   1440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1441 
   1442     cd "$ac_dir" || { ac_status=$?; continue; }
   1443     # Check for guested configure.
   1444     if test -f "$ac_srcdir/configure.gnu"; then
   1445       echo &&
   1446       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1447     elif test -f "$ac_srcdir/configure"; then
   1448       echo &&
   1449       $SHELL "$ac_srcdir/configure" --help=recursive
   1450     else
   1451       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1452     fi || ac_status=$?
   1453     cd "$ac_pwd" || { ac_status=$?; break; }
   1454   done
   1455 fi
   1456 
   1457 test -n "$ac_init_help" && exit $ac_status
   1458 if $ac_init_version; then
   1459   cat <<\_ACEOF
   1460 ico configure 1.0.4
   1461 generated by GNU Autoconf 2.68
   1462 
   1463 Copyright (C) 2010 Free Software Foundation, Inc.
   1464 This configure script is free software; the Free Software Foundation
   1465 gives unlimited permission to copy, distribute and modify it.
   1466 _ACEOF
   1467   exit
   1468 fi
   1469 
   1470 ## ------------------------ ##
   1471 ## Autoconf initialization. ##
   1472 ## ------------------------ ##
   1473 
   1474 # ac_fn_c_try_compile LINENO
   1475 # --------------------------
   1476 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1477 ac_fn_c_try_compile ()
   1478 {
   1479   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1480   rm -f conftest.$ac_objext
   1481   if { { ac_try="$ac_compile"
   1482 case "(($ac_try" in
   1483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1484   *) ac_try_echo=$ac_try;;
   1485 esac
   1486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1487 $as_echo "$ac_try_echo"; } >&5
   1488   (eval "$ac_compile") 2>conftest.err
   1489   ac_status=$?
   1490   if test -s conftest.err; then
   1491     grep -v '^ *+' conftest.err >conftest.er1
   1492     cat conftest.er1 >&5
   1493     mv -f conftest.er1 conftest.err
   1494   fi
   1495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1496   test $ac_status = 0; } && {
   1497 	 test -z "$ac_c_werror_flag" ||
   1498 	 test ! -s conftest.err
   1499        } && test -s conftest.$ac_objext; then :
   1500   ac_retval=0
   1501 else
   1502   $as_echo "$as_me: failed program was:" >&5
   1503 sed 's/^/| /' conftest.$ac_ext >&5
   1504 
   1505 	ac_retval=1
   1506 fi
   1507   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1508   as_fn_set_status $ac_retval
   1509 
   1510 } # ac_fn_c_try_compile
   1511 
   1512 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1513 # ---------------------------------------------
   1514 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1515 # accordingly.
   1516 ac_fn_c_check_decl ()
   1517 {
   1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1519   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1520   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1522 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1523 if eval \${$3+:} false; then :
   1524   $as_echo_n "(cached) " >&6
   1525 else
   1526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1527 /* end confdefs.h.  */
   1528 $4
   1529 int
   1530 main ()
   1531 {
   1532 #ifndef $as_decl_name
   1533 #ifdef __cplusplus
   1534   (void) $as_decl_use;
   1535 #else
   1536   (void) $as_decl_name;
   1537 #endif
   1538 #endif
   1539 
   1540   ;
   1541   return 0;
   1542 }
   1543 _ACEOF
   1544 if ac_fn_c_try_compile "$LINENO"; then :
   1545   eval "$3=yes"
   1546 else
   1547   eval "$3=no"
   1548 fi
   1549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1550 fi
   1551 eval ac_res=\$$3
   1552 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1553 $as_echo "$ac_res" >&6; }
   1554   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1555 
   1556 } # ac_fn_c_check_decl
   1557 
   1558 # ac_fn_c_try_cpp LINENO
   1559 # ----------------------
   1560 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1561 ac_fn_c_try_cpp ()
   1562 {
   1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1564   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1565 case "(($ac_try" in
   1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1567   *) ac_try_echo=$ac_try;;
   1568 esac
   1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1570 $as_echo "$ac_try_echo"; } >&5
   1571   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1572   ac_status=$?
   1573   if test -s conftest.err; then
   1574     grep -v '^ *+' conftest.err >conftest.er1
   1575     cat conftest.er1 >&5
   1576     mv -f conftest.er1 conftest.err
   1577   fi
   1578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1579   test $ac_status = 0; } > conftest.i && {
   1580 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1581 	 test ! -s conftest.err
   1582        }; then :
   1583   ac_retval=0
   1584 else
   1585   $as_echo "$as_me: failed program was:" >&5
   1586 sed 's/^/| /' conftest.$ac_ext >&5
   1587 
   1588     ac_retval=1
   1589 fi
   1590   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1591   as_fn_set_status $ac_retval
   1592 
   1593 } # ac_fn_c_try_cpp
   1594 
   1595 # ac_fn_c_try_run LINENO
   1596 # ----------------------
   1597 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1598 # that executables *can* be run.
   1599 ac_fn_c_try_run ()
   1600 {
   1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1602   if { { ac_try="$ac_link"
   1603 case "(($ac_try" in
   1604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1605   *) ac_try_echo=$ac_try;;
   1606 esac
   1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1608 $as_echo "$ac_try_echo"; } >&5
   1609   (eval "$ac_link") 2>&5
   1610   ac_status=$?
   1611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1612   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1613   { { case "(($ac_try" in
   1614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1615   *) ac_try_echo=$ac_try;;
   1616 esac
   1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1618 $as_echo "$ac_try_echo"; } >&5
   1619   (eval "$ac_try") 2>&5
   1620   ac_status=$?
   1621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1622   test $ac_status = 0; }; }; then :
   1623   ac_retval=0
   1624 else
   1625   $as_echo "$as_me: program exited with status $ac_status" >&5
   1626        $as_echo "$as_me: failed program was:" >&5
   1627 sed 's/^/| /' conftest.$ac_ext >&5
   1628 
   1629        ac_retval=$ac_status
   1630 fi
   1631   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1632   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1633   as_fn_set_status $ac_retval
   1634 
   1635 } # ac_fn_c_try_run
   1636 
   1637 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1638 # -------------------------------------------------------
   1639 # Tests whether HEADER exists and can be compiled using the include files in
   1640 # INCLUDES, setting the cache variable VAR accordingly.
   1641 ac_fn_c_check_header_compile ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1645 $as_echo_n "checking for $2... " >&6; }
   1646 if eval \${$3+:} false; then :
   1647   $as_echo_n "(cached) " >&6
   1648 else
   1649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1650 /* end confdefs.h.  */
   1651 $4
   1652 #include <$2>
   1653 _ACEOF
   1654 if ac_fn_c_try_compile "$LINENO"; then :
   1655   eval "$3=yes"
   1656 else
   1657   eval "$3=no"
   1658 fi
   1659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1660 fi
   1661 eval ac_res=\$$3
   1662 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1663 $as_echo "$ac_res" >&6; }
   1664   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1665 
   1666 } # ac_fn_c_check_header_compile
   1667 
   1668 # ac_fn_c_try_link LINENO
   1669 # -----------------------
   1670 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1671 ac_fn_c_try_link ()
   1672 {
   1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1674   rm -f conftest.$ac_objext conftest$ac_exeext
   1675   if { { ac_try="$ac_link"
   1676 case "(($ac_try" in
   1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1678   *) ac_try_echo=$ac_try;;
   1679 esac
   1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1681 $as_echo "$ac_try_echo"; } >&5
   1682   (eval "$ac_link") 2>conftest.err
   1683   ac_status=$?
   1684   if test -s conftest.err; then
   1685     grep -v '^ *+' conftest.err >conftest.er1
   1686     cat conftest.er1 >&5
   1687     mv -f conftest.er1 conftest.err
   1688   fi
   1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1690   test $ac_status = 0; } && {
   1691 	 test -z "$ac_c_werror_flag" ||
   1692 	 test ! -s conftest.err
   1693        } && test -s conftest$ac_exeext && {
   1694 	 test "$cross_compiling" = yes ||
   1695 	 $as_test_x conftest$ac_exeext
   1696        }; then :
   1697   ac_retval=0
   1698 else
   1699   $as_echo "$as_me: failed program was:" >&5
   1700 sed 's/^/| /' conftest.$ac_ext >&5
   1701 
   1702 	ac_retval=1
   1703 fi
   1704   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1705   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1706   # interfere with the next link command; also delete a directory that is
   1707   # left behind by Apple's compiler.  We do this before executing the actions.
   1708   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710   as_fn_set_status $ac_retval
   1711 
   1712 } # ac_fn_c_try_link
   1713 cat >config.log <<_ACEOF
   1714 This file contains any messages produced by compilers while
   1715 running configure, to aid debugging if configure makes a mistake.
   1716 
   1717 It was created by ico $as_me 1.0.4, which was
   1718 generated by GNU Autoconf 2.68.  Invocation command line was
   1719 
   1720   $ $0 $@
   1721 
   1722 _ACEOF
   1723 exec 5>>config.log
   1724 {
   1725 cat <<_ASUNAME
   1726 ## --------- ##
   1727 ## Platform. ##
   1728 ## --------- ##
   1729 
   1730 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1731 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1732 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1733 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1734 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1735 
   1736 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1737 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1738 
   1739 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1740 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1741 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1742 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1743 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1744 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1745 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1746 
   1747 _ASUNAME
   1748 
   1749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1750 for as_dir in $PATH
   1751 do
   1752   IFS=$as_save_IFS
   1753   test -z "$as_dir" && as_dir=.
   1754     $as_echo "PATH: $as_dir"
   1755   done
   1756 IFS=$as_save_IFS
   1757 
   1758 } >&5
   1759 
   1760 cat >&5 <<_ACEOF
   1761 
   1762 
   1763 ## ----------- ##
   1764 ## Core tests. ##
   1765 ## ----------- ##
   1766 
   1767 _ACEOF
   1768 
   1769 
   1770 # Keep a trace of the command line.
   1771 # Strip out --no-create and --no-recursion so they do not pile up.
   1772 # Strip out --silent because we don't want to record it for future runs.
   1773 # Also quote any args containing shell meta-characters.
   1774 # Make two passes to allow for proper duplicate-argument suppression.
   1775 ac_configure_args=
   1776 ac_configure_args0=
   1777 ac_configure_args1=
   1778 ac_must_keep_next=false
   1779 for ac_pass in 1 2
   1780 do
   1781   for ac_arg
   1782   do
   1783     case $ac_arg in
   1784     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1785     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1786     | -silent | --silent | --silen | --sile | --sil)
   1787       continue ;;
   1788     *\'*)
   1789       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1790     esac
   1791     case $ac_pass in
   1792     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1793     2)
   1794       as_fn_append ac_configure_args1 " '$ac_arg'"
   1795       if test $ac_must_keep_next = true; then
   1796 	ac_must_keep_next=false # Got value, back to normal.
   1797       else
   1798 	case $ac_arg in
   1799 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1800 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1801 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1802 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1803 	    case "$ac_configure_args0 " in
   1804 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1805 	    esac
   1806 	    ;;
   1807 	  -* ) ac_must_keep_next=true ;;
   1808 	esac
   1809       fi
   1810       as_fn_append ac_configure_args " '$ac_arg'"
   1811       ;;
   1812     esac
   1813   done
   1814 done
   1815 { ac_configure_args0=; unset ac_configure_args0;}
   1816 { ac_configure_args1=; unset ac_configure_args1;}
   1817 
   1818 # When interrupted or exit'd, cleanup temporary files, and complete
   1819 # config.log.  We remove comments because anyway the quotes in there
   1820 # would cause problems or look ugly.
   1821 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1822 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1823 trap 'exit_status=$?
   1824   # Save into config.log some information that might help in debugging.
   1825   {
   1826     echo
   1827 
   1828     $as_echo "## ---------------- ##
   1829 ## Cache variables. ##
   1830 ## ---------------- ##"
   1831     echo
   1832     # The following way of writing the cache mishandles newlines in values,
   1833 (
   1834   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1835     eval ac_val=\$$ac_var
   1836     case $ac_val in #(
   1837     *${as_nl}*)
   1838       case $ac_var in #(
   1839       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1841       esac
   1842       case $ac_var in #(
   1843       _ | IFS | as_nl) ;; #(
   1844       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1845       *) { eval $ac_var=; unset $ac_var;} ;;
   1846       esac ;;
   1847     esac
   1848   done
   1849   (set) 2>&1 |
   1850     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1851     *${as_nl}ac_space=\ *)
   1852       sed -n \
   1853 	"s/'\''/'\''\\\\'\'''\''/g;
   1854 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1855       ;; #(
   1856     *)
   1857       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1858       ;;
   1859     esac |
   1860     sort
   1861 )
   1862     echo
   1863 
   1864     $as_echo "## ----------------- ##
   1865 ## Output variables. ##
   1866 ## ----------------- ##"
   1867     echo
   1868     for ac_var in $ac_subst_vars
   1869     do
   1870       eval ac_val=\$$ac_var
   1871       case $ac_val in
   1872       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1873       esac
   1874       $as_echo "$ac_var='\''$ac_val'\''"
   1875     done | sort
   1876     echo
   1877 
   1878     if test -n "$ac_subst_files"; then
   1879       $as_echo "## ------------------- ##
   1880 ## File substitutions. ##
   1881 ## ------------------- ##"
   1882       echo
   1883       for ac_var in $ac_subst_files
   1884       do
   1885 	eval ac_val=\$$ac_var
   1886 	case $ac_val in
   1887 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1888 	esac
   1889 	$as_echo "$ac_var='\''$ac_val'\''"
   1890       done | sort
   1891       echo
   1892     fi
   1893 
   1894     if test -s confdefs.h; then
   1895       $as_echo "## ----------- ##
   1896 ## confdefs.h. ##
   1897 ## ----------- ##"
   1898       echo
   1899       cat confdefs.h
   1900       echo
   1901     fi
   1902     test "$ac_signal" != 0 &&
   1903       $as_echo "$as_me: caught signal $ac_signal"
   1904     $as_echo "$as_me: exit $exit_status"
   1905   } >&5
   1906   rm -f core *.core core.conftest.* &&
   1907     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1908     exit $exit_status
   1909 ' 0
   1910 for ac_signal in 1 2 13 15; do
   1911   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1912 done
   1913 ac_signal=0
   1914 
   1915 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1916 rm -f -r conftest* confdefs.h
   1917 
   1918 $as_echo "/* confdefs.h */" > confdefs.h
   1919 
   1920 # Predefined preprocessor variables.
   1921 
   1922 cat >>confdefs.h <<_ACEOF
   1923 #define PACKAGE_NAME "$PACKAGE_NAME"
   1924 _ACEOF
   1925 
   1926 cat >>confdefs.h <<_ACEOF
   1927 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1928 _ACEOF
   1929 
   1930 cat >>confdefs.h <<_ACEOF
   1931 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1932 _ACEOF
   1933 
   1934 cat >>confdefs.h <<_ACEOF
   1935 #define PACKAGE_STRING "$PACKAGE_STRING"
   1936 _ACEOF
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1940 _ACEOF
   1941 
   1942 cat >>confdefs.h <<_ACEOF
   1943 #define PACKAGE_URL "$PACKAGE_URL"
   1944 _ACEOF
   1945 
   1946 
   1947 # Let the site file select an alternate cache file if it wants to.
   1948 # Prefer an explicitly selected file to automatically selected ones.
   1949 ac_site_file1=NONE
   1950 ac_site_file2=NONE
   1951 if test -n "$CONFIG_SITE"; then
   1952   # We do not want a PATH search for config.site.
   1953   case $CONFIG_SITE in #((
   1954     -*)  ac_site_file1=./$CONFIG_SITE;;
   1955     */*) ac_site_file1=$CONFIG_SITE;;
   1956     *)   ac_site_file1=./$CONFIG_SITE;;
   1957   esac
   1958 elif test "x$prefix" != xNONE; then
   1959   ac_site_file1=$prefix/share/config.site
   1960   ac_site_file2=$prefix/etc/config.site
   1961 else
   1962   ac_site_file1=$ac_default_prefix/share/config.site
   1963   ac_site_file2=$ac_default_prefix/etc/config.site
   1964 fi
   1965 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1966 do
   1967   test "x$ac_site_file" = xNONE && continue
   1968   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1969     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1970 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1971     sed 's/^/| /' "$ac_site_file" >&5
   1972     . "$ac_site_file" \
   1973       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1975 as_fn_error $? "failed to load site script $ac_site_file
   1976 See \`config.log' for more details" "$LINENO" 5; }
   1977   fi
   1978 done
   1979 
   1980 if test -r "$cache_file"; then
   1981   # Some versions of bash will fail to source /dev/null (special files
   1982   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1983   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1984     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1985 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1986     case $cache_file in
   1987       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1988       *)                      . "./$cache_file";;
   1989     esac
   1990   fi
   1991 else
   1992   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1993 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1994   >$cache_file
   1995 fi
   1996 
   1997 # Check that the precious variables saved in the cache have kept the same
   1998 # value.
   1999 ac_cache_corrupted=false
   2000 for ac_var in $ac_precious_vars; do
   2001   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2002   eval ac_new_set=\$ac_env_${ac_var}_set
   2003   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2004   eval ac_new_val=\$ac_env_${ac_var}_value
   2005   case $ac_old_set,$ac_new_set in
   2006     set,)
   2007       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2008 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2009       ac_cache_corrupted=: ;;
   2010     ,set)
   2011       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2012 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2013       ac_cache_corrupted=: ;;
   2014     ,);;
   2015     *)
   2016       if test "x$ac_old_val" != "x$ac_new_val"; then
   2017 	# differences in whitespace do not lead to failure.
   2018 	ac_old_val_w=`echo x $ac_old_val`
   2019 	ac_new_val_w=`echo x $ac_new_val`
   2020 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2021 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2022 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2023 	  ac_cache_corrupted=:
   2024 	else
   2025 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2026 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2027 	  eval $ac_var=\$ac_old_val
   2028 	fi
   2029 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2030 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2031 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2032 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2033       fi;;
   2034   esac
   2035   # Pass precious variables to config.status.
   2036   if test "$ac_new_set" = set; then
   2037     case $ac_new_val in
   2038     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2039     *) ac_arg=$ac_var=$ac_new_val ;;
   2040     esac
   2041     case " $ac_configure_args " in
   2042       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2043       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2044     esac
   2045   fi
   2046 done
   2047 if $ac_cache_corrupted; then
   2048   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2050   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2051 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2052   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2053 fi
   2054 ## -------------------- ##
   2055 ## Main body of script. ##
   2056 ## -------------------- ##
   2057 
   2058 ac_ext=c
   2059 ac_cpp='$CPP $CPPFLAGS'
   2060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2063 
   2064 
   2065 am__api_version='1.11'
   2066 
   2067 ac_aux_dir=
   2068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2069   if test -f "$ac_dir/install-sh"; then
   2070     ac_aux_dir=$ac_dir
   2071     ac_install_sh="$ac_aux_dir/install-sh -c"
   2072     break
   2073   elif test -f "$ac_dir/install.sh"; then
   2074     ac_aux_dir=$ac_dir
   2075     ac_install_sh="$ac_aux_dir/install.sh -c"
   2076     break
   2077   elif test -f "$ac_dir/shtool"; then
   2078     ac_aux_dir=$ac_dir
   2079     ac_install_sh="$ac_aux_dir/shtool install -c"
   2080     break
   2081   fi
   2082 done
   2083 if test -z "$ac_aux_dir"; then
   2084   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2085 fi
   2086 
   2087 # These three variables are undocumented and unsupported,
   2088 # and are intended to be withdrawn in a future Autoconf release.
   2089 # They can cause serious problems if a builder's source tree is in a directory
   2090 # whose full name contains unusual characters.
   2091 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2092 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2093 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2094 
   2095 
   2096 # Find a good install program.  We prefer a C program (faster),
   2097 # so one script is as good as another.  But avoid the broken or
   2098 # incompatible versions:
   2099 # SysV /etc/install, /usr/sbin/install
   2100 # SunOS /usr/etc/install
   2101 # IRIX /sbin/install
   2102 # AIX /bin/install
   2103 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2107 # OS/2's system install, which has a completely different semantic
   2108 # ./install, which can be erroneously created by make from ./install.sh.
   2109 # Reject install programs that cannot install multiple files.
   2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2111 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2112 if test -z "$INSTALL"; then
   2113 if ${ac_cv_path_install+:} false; then :
   2114   $as_echo_n "(cached) " >&6
   2115 else
   2116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2117 for as_dir in $PATH
   2118 do
   2119   IFS=$as_save_IFS
   2120   test -z "$as_dir" && as_dir=.
   2121     # Account for people who put trailing slashes in PATH elements.
   2122 case $as_dir/ in #((
   2123   ./ | .// | /[cC]/* | \
   2124   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2125   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2126   /usr/ucb/* ) ;;
   2127   *)
   2128     # OSF1 and SCO ODT 3.0 have their own names for install.
   2129     # Don't use installbsd from OSF since it installs stuff as root
   2130     # by default.
   2131     for ac_prog in ginstall scoinst install; do
   2132       for ac_exec_ext in '' $ac_executable_extensions; do
   2133 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2134 	  if test $ac_prog = install &&
   2135 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2136 	    # AIX install.  It has an incompatible calling convention.
   2137 	    :
   2138 	  elif test $ac_prog = install &&
   2139 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2140 	    # program-specific install script used by HP pwplus--don't use.
   2141 	    :
   2142 	  else
   2143 	    rm -rf conftest.one conftest.two conftest.dir
   2144 	    echo one > conftest.one
   2145 	    echo two > conftest.two
   2146 	    mkdir conftest.dir
   2147 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2148 	      test -s conftest.one && test -s conftest.two &&
   2149 	      test -s conftest.dir/conftest.one &&
   2150 	      test -s conftest.dir/conftest.two
   2151 	    then
   2152 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2153 	      break 3
   2154 	    fi
   2155 	  fi
   2156 	fi
   2157       done
   2158     done
   2159     ;;
   2160 esac
   2161 
   2162   done
   2163 IFS=$as_save_IFS
   2164 
   2165 rm -rf conftest.one conftest.two conftest.dir
   2166 
   2167 fi
   2168   if test "${ac_cv_path_install+set}" = set; then
   2169     INSTALL=$ac_cv_path_install
   2170   else
   2171     # As a last resort, use the slow shell script.  Don't cache a
   2172     # value for INSTALL within a source directory, because that will
   2173     # break other packages using the cache if that directory is
   2174     # removed, or if the value is a relative name.
   2175     INSTALL=$ac_install_sh
   2176   fi
   2177 fi
   2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2179 $as_echo "$INSTALL" >&6; }
   2180 
   2181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2182 # It thinks the first close brace ends the variable substitution.
   2183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2184 
   2185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2186 
   2187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2188 
   2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2190 $as_echo_n "checking whether build environment is sane... " >&6; }
   2191 # Just in case
   2192 sleep 1
   2193 echo timestamp > conftest.file
   2194 # Reject unsafe characters in $srcdir or the absolute working directory
   2195 # name.  Accept space and tab only in the latter.
   2196 am_lf='
   2197 '
   2198 case `pwd` in
   2199   *[\\\"\#\$\&\'\`$am_lf]*)
   2200     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2201 esac
   2202 case $srcdir in
   2203   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2204     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2205 esac
   2206 
   2207 # Do `set' in a subshell so we don't clobber the current shell's
   2208 # arguments.  Must try -L first in case configure is actually a
   2209 # symlink; some systems play weird games with the mod time of symlinks
   2210 # (eg FreeBSD returns the mod time of the symlink's containing
   2211 # directory).
   2212 if (
   2213    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2214    if test "$*" = "X"; then
   2215       # -L didn't work.
   2216       set X `ls -t "$srcdir/configure" conftest.file`
   2217    fi
   2218    rm -f conftest.file
   2219    if test "$*" != "X $srcdir/configure conftest.file" \
   2220       && test "$*" != "X conftest.file $srcdir/configure"; then
   2221 
   2222       # If neither matched, then we have a broken ls.  This can happen
   2223       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2224       # broken ls alias from the environment.  This has actually
   2225       # happened.  Such a system could not be considered "sane".
   2226       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2227 alias in your environment" "$LINENO" 5
   2228    fi
   2229 
   2230    test "$2" = conftest.file
   2231    )
   2232 then
   2233    # Ok.
   2234    :
   2235 else
   2236    as_fn_error $? "newly created file is older than distributed files!
   2237 Check your system clock" "$LINENO" 5
   2238 fi
   2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2240 $as_echo "yes" >&6; }
   2241 test "$program_prefix" != NONE &&
   2242   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2243 # Use a double $ so make ignores it.
   2244 test "$program_suffix" != NONE &&
   2245   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2246 # Double any \ or $.
   2247 # By default was `s,x,x', remove it if useless.
   2248 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2249 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2250 
   2251 # expand $ac_aux_dir to an absolute path
   2252 am_aux_dir=`cd $ac_aux_dir && pwd`
   2253 
   2254 if test x"${MISSING+set}" != xset; then
   2255   case $am_aux_dir in
   2256   *\ * | *\	*)
   2257     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2258   *)
   2259     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2260   esac
   2261 fi
   2262 # Use eval to expand $SHELL
   2263 if eval "$MISSING --run true"; then
   2264   am_missing_run="$MISSING --run "
   2265 else
   2266   am_missing_run=
   2267   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2269 fi
   2270 
   2271 if test x"${install_sh}" != xset; then
   2272   case $am_aux_dir in
   2273   *\ * | *\	*)
   2274     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2275   *)
   2276     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2277   esac
   2278 fi
   2279 
   2280 # Installed binaries are usually stripped using `strip' when the user
   2281 # run `make install-strip'.  However `strip' might not be the right
   2282 # tool to use in cross-compilation environments, therefore Automake
   2283 # will honor the `STRIP' environment variable to overrule this program.
   2284 if test "$cross_compiling" != no; then
   2285   if test -n "$ac_tool_prefix"; then
   2286   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2287 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2289 $as_echo_n "checking for $ac_word... " >&6; }
   2290 if ${ac_cv_prog_STRIP+:} false; then :
   2291   $as_echo_n "(cached) " >&6
   2292 else
   2293   if test -n "$STRIP"; then
   2294   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2295 else
   2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2297 for as_dir in $PATH
   2298 do
   2299   IFS=$as_save_IFS
   2300   test -z "$as_dir" && as_dir=.
   2301     for ac_exec_ext in '' $ac_executable_extensions; do
   2302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2303     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2305     break 2
   2306   fi
   2307 done
   2308   done
   2309 IFS=$as_save_IFS
   2310 
   2311 fi
   2312 fi
   2313 STRIP=$ac_cv_prog_STRIP
   2314 if test -n "$STRIP"; then
   2315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2316 $as_echo "$STRIP" >&6; }
   2317 else
   2318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2319 $as_echo "no" >&6; }
   2320 fi
   2321 
   2322 
   2323 fi
   2324 if test -z "$ac_cv_prog_STRIP"; then
   2325   ac_ct_STRIP=$STRIP
   2326   # Extract the first word of "strip", so it can be a program name with args.
   2327 set dummy strip; ac_word=$2
   2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2329 $as_echo_n "checking for $ac_word... " >&6; }
   2330 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2331   $as_echo_n "(cached) " >&6
   2332 else
   2333   if test -n "$ac_ct_STRIP"; then
   2334   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2335 else
   2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2337 for as_dir in $PATH
   2338 do
   2339   IFS=$as_save_IFS
   2340   test -z "$as_dir" && as_dir=.
   2341     for ac_exec_ext in '' $ac_executable_extensions; do
   2342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2343     ac_cv_prog_ac_ct_STRIP="strip"
   2344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2345     break 2
   2346   fi
   2347 done
   2348   done
   2349 IFS=$as_save_IFS
   2350 
   2351 fi
   2352 fi
   2353 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2354 if test -n "$ac_ct_STRIP"; then
   2355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2356 $as_echo "$ac_ct_STRIP" >&6; }
   2357 else
   2358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2359 $as_echo "no" >&6; }
   2360 fi
   2361 
   2362   if test "x$ac_ct_STRIP" = x; then
   2363     STRIP=":"
   2364   else
   2365     case $cross_compiling:$ac_tool_warned in
   2366 yes:)
   2367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2369 ac_tool_warned=yes ;;
   2370 esac
   2371     STRIP=$ac_ct_STRIP
   2372   fi
   2373 else
   2374   STRIP="$ac_cv_prog_STRIP"
   2375 fi
   2376 
   2377 fi
   2378 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2379 
   2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2381 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2382 if test -z "$MKDIR_P"; then
   2383   if ${ac_cv_path_mkdir+:} false; then :
   2384   $as_echo_n "(cached) " >&6
   2385 else
   2386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2387 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2388 do
   2389   IFS=$as_save_IFS
   2390   test -z "$as_dir" && as_dir=.
   2391     for ac_prog in mkdir gmkdir; do
   2392 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2393 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2394 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2395 	     'mkdir (GNU coreutils) '* | \
   2396 	     'mkdir (coreutils) '* | \
   2397 	     'mkdir (fileutils) '4.1*)
   2398 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2399 	       break 3;;
   2400 	   esac
   2401 	 done
   2402        done
   2403   done
   2404 IFS=$as_save_IFS
   2405 
   2406 fi
   2407 
   2408   test -d ./--version && rmdir ./--version
   2409   if test "${ac_cv_path_mkdir+set}" = set; then
   2410     MKDIR_P="$ac_cv_path_mkdir -p"
   2411   else
   2412     # As a last resort, use the slow shell script.  Don't cache a
   2413     # value for MKDIR_P within a source directory, because that will
   2414     # break other packages using the cache if that directory is
   2415     # removed, or if the value is a relative name.
   2416     MKDIR_P="$ac_install_sh -d"
   2417   fi
   2418 fi
   2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2420 $as_echo "$MKDIR_P" >&6; }
   2421 
   2422 mkdir_p="$MKDIR_P"
   2423 case $mkdir_p in
   2424   [\\/$]* | ?:[\\/]*) ;;
   2425   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2426 esac
   2427 
   2428 for ac_prog in gawk mawk nawk awk
   2429 do
   2430   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2431 set dummy $ac_prog; ac_word=$2
   2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2433 $as_echo_n "checking for $ac_word... " >&6; }
   2434 if ${ac_cv_prog_AWK+:} false; then :
   2435   $as_echo_n "(cached) " >&6
   2436 else
   2437   if test -n "$AWK"; then
   2438   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2439 else
   2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2441 for as_dir in $PATH
   2442 do
   2443   IFS=$as_save_IFS
   2444   test -z "$as_dir" && as_dir=.
   2445     for ac_exec_ext in '' $ac_executable_extensions; do
   2446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2447     ac_cv_prog_AWK="$ac_prog"
   2448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2449     break 2
   2450   fi
   2451 done
   2452   done
   2453 IFS=$as_save_IFS
   2454 
   2455 fi
   2456 fi
   2457 AWK=$ac_cv_prog_AWK
   2458 if test -n "$AWK"; then
   2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2460 $as_echo "$AWK" >&6; }
   2461 else
   2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2463 $as_echo "no" >&6; }
   2464 fi
   2465 
   2466 
   2467   test -n "$AWK" && break
   2468 done
   2469 
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2471 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2472 set x ${MAKE-make}
   2473 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2474 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   cat >conftest.make <<\_ACEOF
   2478 SHELL = /bin/sh
   2479 all:
   2480 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2481 _ACEOF
   2482 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2484   *@@@%%%=?*=@@@%%%*)
   2485     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2486   *)
   2487     eval ac_cv_prog_make_${ac_make}_set=no;;
   2488 esac
   2489 rm -f conftest.make
   2490 fi
   2491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2493 $as_echo "yes" >&6; }
   2494   SET_MAKE=
   2495 else
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2497 $as_echo "no" >&6; }
   2498   SET_MAKE="MAKE=${MAKE-make}"
   2499 fi
   2500 
   2501 rm -rf .tst 2>/dev/null
   2502 mkdir .tst 2>/dev/null
   2503 if test -d .tst; then
   2504   am__leading_dot=.
   2505 else
   2506   am__leading_dot=_
   2507 fi
   2508 rmdir .tst 2>/dev/null
   2509 
   2510 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2511   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2512   # is not polluted with repeated "-I."
   2513   am__isrc=' -I$(srcdir)'
   2514   # test to see if srcdir already configured
   2515   if test -f $srcdir/config.status; then
   2516     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2517   fi
   2518 fi
   2519 
   2520 # test whether we have cygpath
   2521 if test -z "$CYGPATH_W"; then
   2522   if (cygpath --version) >/dev/null 2>/dev/null; then
   2523     CYGPATH_W='cygpath -w'
   2524   else
   2525     CYGPATH_W=echo
   2526   fi
   2527 fi
   2528 
   2529 
   2530 # Define the identity of the package.
   2531  PACKAGE='ico'
   2532  VERSION='1.0.4'
   2533 
   2534 
   2535 cat >>confdefs.h <<_ACEOF
   2536 #define PACKAGE "$PACKAGE"
   2537 _ACEOF
   2538 
   2539 
   2540 cat >>confdefs.h <<_ACEOF
   2541 #define VERSION "$VERSION"
   2542 _ACEOF
   2543 
   2544 # Some tools Automake needs.
   2545 
   2546 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2547 
   2548 
   2549 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2550 
   2551 
   2552 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2553 
   2554 
   2555 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2556 
   2557 
   2558 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2559 
   2560 # We need awk for the "check" target.  The system "awk" is bad on
   2561 # some platforms.
   2562 # Always define AMTAR for backward compatibility.
   2563 
   2564 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2565 
   2566 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2567 
   2568 
   2569 
   2570 
   2571 
   2572 
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2574 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2575     # Check whether --enable-maintainer-mode was given.
   2576 if test "${enable_maintainer_mode+set}" = set; then :
   2577   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2578 else
   2579   USE_MAINTAINER_MODE=no
   2580 fi
   2581 
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2583 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2584    if test $USE_MAINTAINER_MODE = yes; then
   2585   MAINTAINER_MODE_TRUE=
   2586   MAINTAINER_MODE_FALSE='#'
   2587 else
   2588   MAINTAINER_MODE_TRUE='#'
   2589   MAINTAINER_MODE_FALSE=
   2590 fi
   2591 
   2592   MAINT=$MAINTAINER_MODE_TRUE
   2593 
   2594 
   2595 
   2596 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2597 
   2598 
   2599 
   2600 
   2601 
   2602 
   2603 
   2604 
   2605 
   2606 
   2607 
   2608 DEPDIR="${am__leading_dot}deps"
   2609 
   2610 ac_config_commands="$ac_config_commands depfiles"
   2611 
   2612 
   2613 am_make=${MAKE-make}
   2614 cat > confinc << 'END'
   2615 am__doit:
   2616 	@echo this is the am__doit target
   2617 .PHONY: am__doit
   2618 END
   2619 # If we don't find an include directive, just comment out the code.
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2621 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2622 am__include="#"
   2623 am__quote=
   2624 _am_result=none
   2625 # First try GNU make style include.
   2626 echo "include confinc" > confmf
   2627 # Ignore all kinds of additional output from `make'.
   2628 case `$am_make -s -f confmf 2> /dev/null` in #(
   2629 *the\ am__doit\ target*)
   2630   am__include=include
   2631   am__quote=
   2632   _am_result=GNU
   2633   ;;
   2634 esac
   2635 # Now try BSD make style include.
   2636 if test "$am__include" = "#"; then
   2637    echo '.include "confinc"' > confmf
   2638    case `$am_make -s -f confmf 2> /dev/null` in #(
   2639    *the\ am__doit\ target*)
   2640      am__include=.include
   2641      am__quote="\""
   2642      _am_result=BSD
   2643      ;;
   2644    esac
   2645 fi
   2646 
   2647 
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2649 $as_echo "$_am_result" >&6; }
   2650 rm -f confinc confmf
   2651 
   2652 # Check whether --enable-dependency-tracking was given.
   2653 if test "${enable_dependency_tracking+set}" = set; then :
   2654   enableval=$enable_dependency_tracking;
   2655 fi
   2656 
   2657 if test "x$enable_dependency_tracking" != xno; then
   2658   am_depcomp="$ac_aux_dir/depcomp"
   2659   AMDEPBACKSLASH='\'
   2660   am__nodep='_no'
   2661 fi
   2662  if test "x$enable_dependency_tracking" != xno; then
   2663   AMDEP_TRUE=
   2664   AMDEP_FALSE='#'
   2665 else
   2666   AMDEP_TRUE='#'
   2667   AMDEP_FALSE=
   2668 fi
   2669 
   2670 
   2671 ac_ext=c
   2672 ac_cpp='$CPP $CPPFLAGS'
   2673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2676 if test -n "$ac_tool_prefix"; then
   2677   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2678 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2680 $as_echo_n "checking for $ac_word... " >&6; }
   2681 if ${ac_cv_prog_CC+:} false; then :
   2682   $as_echo_n "(cached) " >&6
   2683 else
   2684   if test -n "$CC"; then
   2685   ac_cv_prog_CC="$CC" # Let the user override the test.
   2686 else
   2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 for as_dir in $PATH
   2689 do
   2690   IFS=$as_save_IFS
   2691   test -z "$as_dir" && as_dir=.
   2692     for ac_exec_ext in '' $ac_executable_extensions; do
   2693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2694     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2696     break 2
   2697   fi
   2698 done
   2699   done
   2700 IFS=$as_save_IFS
   2701 
   2702 fi
   2703 fi
   2704 CC=$ac_cv_prog_CC
   2705 if test -n "$CC"; then
   2706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2707 $as_echo "$CC" >&6; }
   2708 else
   2709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2710 $as_echo "no" >&6; }
   2711 fi
   2712 
   2713 
   2714 fi
   2715 if test -z "$ac_cv_prog_CC"; then
   2716   ac_ct_CC=$CC
   2717   # Extract the first word of "gcc", so it can be a program name with args.
   2718 set dummy gcc; ac_word=$2
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2720 $as_echo_n "checking for $ac_word... " >&6; }
   2721 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2722   $as_echo_n "(cached) " >&6
   2723 else
   2724   if test -n "$ac_ct_CC"; then
   2725   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2726 else
   2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2728 for as_dir in $PATH
   2729 do
   2730   IFS=$as_save_IFS
   2731   test -z "$as_dir" && as_dir=.
   2732     for ac_exec_ext in '' $ac_executable_extensions; do
   2733   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2734     ac_cv_prog_ac_ct_CC="gcc"
   2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2736     break 2
   2737   fi
   2738 done
   2739   done
   2740 IFS=$as_save_IFS
   2741 
   2742 fi
   2743 fi
   2744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2745 if test -n "$ac_ct_CC"; then
   2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2747 $as_echo "$ac_ct_CC" >&6; }
   2748 else
   2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2750 $as_echo "no" >&6; }
   2751 fi
   2752 
   2753   if test "x$ac_ct_CC" = x; then
   2754     CC=""
   2755   else
   2756     case $cross_compiling:$ac_tool_warned in
   2757 yes:)
   2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2760 ac_tool_warned=yes ;;
   2761 esac
   2762     CC=$ac_ct_CC
   2763   fi
   2764 else
   2765   CC="$ac_cv_prog_CC"
   2766 fi
   2767 
   2768 if test -z "$CC"; then
   2769           if test -n "$ac_tool_prefix"; then
   2770     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2771 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2773 $as_echo_n "checking for $ac_word... " >&6; }
   2774 if ${ac_cv_prog_CC+:} false; then :
   2775   $as_echo_n "(cached) " >&6
   2776 else
   2777   if test -n "$CC"; then
   2778   ac_cv_prog_CC="$CC" # Let the user override the test.
   2779 else
   2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2781 for as_dir in $PATH
   2782 do
   2783   IFS=$as_save_IFS
   2784   test -z "$as_dir" && as_dir=.
   2785     for ac_exec_ext in '' $ac_executable_extensions; do
   2786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2787     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2789     break 2
   2790   fi
   2791 done
   2792   done
   2793 IFS=$as_save_IFS
   2794 
   2795 fi
   2796 fi
   2797 CC=$ac_cv_prog_CC
   2798 if test -n "$CC"; then
   2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2800 $as_echo "$CC" >&6; }
   2801 else
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2803 $as_echo "no" >&6; }
   2804 fi
   2805 
   2806 
   2807   fi
   2808 fi
   2809 if test -z "$CC"; then
   2810   # Extract the first word of "cc", so it can be a program name with args.
   2811 set dummy cc; ac_word=$2
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2813 $as_echo_n "checking for $ac_word... " >&6; }
   2814 if ${ac_cv_prog_CC+:} false; then :
   2815   $as_echo_n "(cached) " >&6
   2816 else
   2817   if test -n "$CC"; then
   2818   ac_cv_prog_CC="$CC" # Let the user override the test.
   2819 else
   2820   ac_prog_rejected=no
   2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2822 for as_dir in $PATH
   2823 do
   2824   IFS=$as_save_IFS
   2825   test -z "$as_dir" && as_dir=.
   2826     for ac_exec_ext in '' $ac_executable_extensions; do
   2827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2828     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2829        ac_prog_rejected=yes
   2830        continue
   2831      fi
   2832     ac_cv_prog_CC="cc"
   2833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2834     break 2
   2835   fi
   2836 done
   2837   done
   2838 IFS=$as_save_IFS
   2839 
   2840 if test $ac_prog_rejected = yes; then
   2841   # We found a bogon in the path, so make sure we never use it.
   2842   set dummy $ac_cv_prog_CC
   2843   shift
   2844   if test $# != 0; then
   2845     # We chose a different compiler from the bogus one.
   2846     # However, it has the same basename, so the bogon will be chosen
   2847     # first if we set CC to just the basename; use the full file name.
   2848     shift
   2849     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2850   fi
   2851 fi
   2852 fi
   2853 fi
   2854 CC=$ac_cv_prog_CC
   2855 if test -n "$CC"; then
   2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2857 $as_echo "$CC" >&6; }
   2858 else
   2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2860 $as_echo "no" >&6; }
   2861 fi
   2862 
   2863 
   2864 fi
   2865 if test -z "$CC"; then
   2866   if test -n "$ac_tool_prefix"; then
   2867   for ac_prog in cl.exe
   2868   do
   2869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2870 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2872 $as_echo_n "checking for $ac_word... " >&6; }
   2873 if ${ac_cv_prog_CC+:} false; then :
   2874   $as_echo_n "(cached) " >&6
   2875 else
   2876   if test -n "$CC"; then
   2877   ac_cv_prog_CC="$CC" # Let the user override the test.
   2878 else
   2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2880 for as_dir in $PATH
   2881 do
   2882   IFS=$as_save_IFS
   2883   test -z "$as_dir" && as_dir=.
   2884     for ac_exec_ext in '' $ac_executable_extensions; do
   2885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2886     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2888     break 2
   2889   fi
   2890 done
   2891   done
   2892 IFS=$as_save_IFS
   2893 
   2894 fi
   2895 fi
   2896 CC=$ac_cv_prog_CC
   2897 if test -n "$CC"; then
   2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2899 $as_echo "$CC" >&6; }
   2900 else
   2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2902 $as_echo "no" >&6; }
   2903 fi
   2904 
   2905 
   2906     test -n "$CC" && break
   2907   done
   2908 fi
   2909 if test -z "$CC"; then
   2910   ac_ct_CC=$CC
   2911   for ac_prog in cl.exe
   2912 do
   2913   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2914 set dummy $ac_prog; ac_word=$2
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2916 $as_echo_n "checking for $ac_word... " >&6; }
   2917 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2918   $as_echo_n "(cached) " >&6
   2919 else
   2920   if test -n "$ac_ct_CC"; then
   2921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2922 else
   2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2924 for as_dir in $PATH
   2925 do
   2926   IFS=$as_save_IFS
   2927   test -z "$as_dir" && as_dir=.
   2928     for ac_exec_ext in '' $ac_executable_extensions; do
   2929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2930     ac_cv_prog_ac_ct_CC="$ac_prog"
   2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2932     break 2
   2933   fi
   2934 done
   2935   done
   2936 IFS=$as_save_IFS
   2937 
   2938 fi
   2939 fi
   2940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2941 if test -n "$ac_ct_CC"; then
   2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2943 $as_echo "$ac_ct_CC" >&6; }
   2944 else
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2946 $as_echo "no" >&6; }
   2947 fi
   2948 
   2949 
   2950   test -n "$ac_ct_CC" && break
   2951 done
   2952 
   2953   if test "x$ac_ct_CC" = x; then
   2954     CC=""
   2955   else
   2956     case $cross_compiling:$ac_tool_warned in
   2957 yes:)
   2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2960 ac_tool_warned=yes ;;
   2961 esac
   2962     CC=$ac_ct_CC
   2963   fi
   2964 fi
   2965 
   2966 fi
   2967 
   2968 
   2969 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2971 as_fn_error $? "no acceptable C compiler found in \$PATH
   2972 See \`config.log' for more details" "$LINENO" 5; }
   2973 
   2974 # Provide some information about the compiler.
   2975 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2976 set X $ac_compile
   2977 ac_compiler=$2
   2978 for ac_option in --version -v -V -qversion; do
   2979   { { ac_try="$ac_compiler $ac_option >&5"
   2980 case "(($ac_try" in
   2981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2982   *) ac_try_echo=$ac_try;;
   2983 esac
   2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2985 $as_echo "$ac_try_echo"; } >&5
   2986   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2987   ac_status=$?
   2988   if test -s conftest.err; then
   2989     sed '10a\
   2990 ... rest of stderr output deleted ...
   2991          10q' conftest.err >conftest.er1
   2992     cat conftest.er1 >&5
   2993   fi
   2994   rm -f conftest.er1 conftest.err
   2995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2996   test $ac_status = 0; }
   2997 done
   2998 
   2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3000 /* end confdefs.h.  */
   3001 
   3002 int
   3003 main ()
   3004 {
   3005 
   3006   ;
   3007   return 0;
   3008 }
   3009 _ACEOF
   3010 ac_clean_files_save=$ac_clean_files
   3011 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3012 # Try to create an executable without -o first, disregard a.out.
   3013 # It will help us diagnose broken compilers, and finding out an intuition
   3014 # of exeext.
   3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3016 $as_echo_n "checking whether the C compiler works... " >&6; }
   3017 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3018 
   3019 # The possible output files:
   3020 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3021 
   3022 ac_rmfiles=
   3023 for ac_file in $ac_files
   3024 do
   3025   case $ac_file in
   3026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3027     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3028   esac
   3029 done
   3030 rm -f $ac_rmfiles
   3031 
   3032 if { { ac_try="$ac_link_default"
   3033 case "(($ac_try" in
   3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3035   *) ac_try_echo=$ac_try;;
   3036 esac
   3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3038 $as_echo "$ac_try_echo"; } >&5
   3039   (eval "$ac_link_default") 2>&5
   3040   ac_status=$?
   3041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3042   test $ac_status = 0; }; then :
   3043   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3044 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3045 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3046 # so that the user can short-circuit this test for compilers unknown to
   3047 # Autoconf.
   3048 for ac_file in $ac_files ''
   3049 do
   3050   test -f "$ac_file" || continue
   3051   case $ac_file in
   3052     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3053 	;;
   3054     [ab].out )
   3055 	# We found the default executable, but exeext='' is most
   3056 	# certainly right.
   3057 	break;;
   3058     *.* )
   3059 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3060 	then :; else
   3061 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3062 	fi
   3063 	# We set ac_cv_exeext here because the later test for it is not
   3064 	# safe: cross compilers may not add the suffix if given an `-o'
   3065 	# argument, so we may need to know it at that point already.
   3066 	# Even if this section looks crufty: it has the advantage of
   3067 	# actually working.
   3068 	break;;
   3069     * )
   3070 	break;;
   3071   esac
   3072 done
   3073 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3074 
   3075 else
   3076   ac_file=''
   3077 fi
   3078 if test -z "$ac_file"; then :
   3079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3080 $as_echo "no" >&6; }
   3081 $as_echo "$as_me: failed program was:" >&5
   3082 sed 's/^/| /' conftest.$ac_ext >&5
   3083 
   3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3086 as_fn_error 77 "C compiler cannot create executables
   3087 See \`config.log' for more details" "$LINENO" 5; }
   3088 else
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3090 $as_echo "yes" >&6; }
   3091 fi
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3093 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3095 $as_echo "$ac_file" >&6; }
   3096 ac_exeext=$ac_cv_exeext
   3097 
   3098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3099 ac_clean_files=$ac_clean_files_save
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3101 $as_echo_n "checking for suffix of executables... " >&6; }
   3102 if { { ac_try="$ac_link"
   3103 case "(($ac_try" in
   3104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3105   *) ac_try_echo=$ac_try;;
   3106 esac
   3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3108 $as_echo "$ac_try_echo"; } >&5
   3109   (eval "$ac_link") 2>&5
   3110   ac_status=$?
   3111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3112   test $ac_status = 0; }; then :
   3113   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3114 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3115 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3116 # `rm'.
   3117 for ac_file in conftest.exe conftest conftest.*; do
   3118   test -f "$ac_file" || continue
   3119   case $ac_file in
   3120     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3121     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3122 	  break;;
   3123     * ) break;;
   3124   esac
   3125 done
   3126 else
   3127   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3129 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3130 See \`config.log' for more details" "$LINENO" 5; }
   3131 fi
   3132 rm -f conftest conftest$ac_cv_exeext
   3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3134 $as_echo "$ac_cv_exeext" >&6; }
   3135 
   3136 rm -f conftest.$ac_ext
   3137 EXEEXT=$ac_cv_exeext
   3138 ac_exeext=$EXEEXT
   3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3140 /* end confdefs.h.  */
   3141 #include <stdio.h>
   3142 int
   3143 main ()
   3144 {
   3145 FILE *f = fopen ("conftest.out", "w");
   3146  return ferror (f) || fclose (f) != 0;
   3147 
   3148   ;
   3149   return 0;
   3150 }
   3151 _ACEOF
   3152 ac_clean_files="$ac_clean_files conftest.out"
   3153 # Check that the compiler produces executables we can run.  If not, either
   3154 # the compiler is broken, or we cross compile.
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3156 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3157 if test "$cross_compiling" != yes; then
   3158   { { ac_try="$ac_link"
   3159 case "(($ac_try" in
   3160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3161   *) ac_try_echo=$ac_try;;
   3162 esac
   3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3164 $as_echo "$ac_try_echo"; } >&5
   3165   (eval "$ac_link") 2>&5
   3166   ac_status=$?
   3167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3168   test $ac_status = 0; }
   3169   if { ac_try='./conftest$ac_cv_exeext'
   3170   { { case "(($ac_try" in
   3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3172   *) ac_try_echo=$ac_try;;
   3173 esac
   3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3175 $as_echo "$ac_try_echo"; } >&5
   3176   (eval "$ac_try") 2>&5
   3177   ac_status=$?
   3178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3179   test $ac_status = 0; }; }; then
   3180     cross_compiling=no
   3181   else
   3182     if test "$cross_compiling" = maybe; then
   3183 	cross_compiling=yes
   3184     else
   3185 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3187 as_fn_error $? "cannot run C compiled programs.
   3188 If you meant to cross compile, use \`--host'.
   3189 See \`config.log' for more details" "$LINENO" 5; }
   3190     fi
   3191   fi
   3192 fi
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3194 $as_echo "$cross_compiling" >&6; }
   3195 
   3196 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3197 ac_clean_files=$ac_clean_files_save
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3199 $as_echo_n "checking for suffix of object files... " >&6; }
   3200 if ${ac_cv_objext+:} false; then :
   3201   $as_echo_n "(cached) " >&6
   3202 else
   3203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3204 /* end confdefs.h.  */
   3205 
   3206 int
   3207 main ()
   3208 {
   3209 
   3210   ;
   3211   return 0;
   3212 }
   3213 _ACEOF
   3214 rm -f conftest.o conftest.obj
   3215 if { { ac_try="$ac_compile"
   3216 case "(($ac_try" in
   3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3218   *) ac_try_echo=$ac_try;;
   3219 esac
   3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3221 $as_echo "$ac_try_echo"; } >&5
   3222   (eval "$ac_compile") 2>&5
   3223   ac_status=$?
   3224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3225   test $ac_status = 0; }; then :
   3226   for ac_file in conftest.o conftest.obj conftest.*; do
   3227   test -f "$ac_file" || continue;
   3228   case $ac_file in
   3229     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3230     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3231        break;;
   3232   esac
   3233 done
   3234 else
   3235   $as_echo "$as_me: failed program was:" >&5
   3236 sed 's/^/| /' conftest.$ac_ext >&5
   3237 
   3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3240 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3241 See \`config.log' for more details" "$LINENO" 5; }
   3242 fi
   3243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3244 fi
   3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3246 $as_echo "$ac_cv_objext" >&6; }
   3247 OBJEXT=$ac_cv_objext
   3248 ac_objext=$OBJEXT
   3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3250 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3251 if ${ac_cv_c_compiler_gnu+:} false; then :
   3252   $as_echo_n "(cached) " >&6
   3253 else
   3254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3255 /* end confdefs.h.  */
   3256 
   3257 int
   3258 main ()
   3259 {
   3260 #ifndef __GNUC__
   3261        choke me
   3262 #endif
   3263 
   3264   ;
   3265   return 0;
   3266 }
   3267 _ACEOF
   3268 if ac_fn_c_try_compile "$LINENO"; then :
   3269   ac_compiler_gnu=yes
   3270 else
   3271   ac_compiler_gnu=no
   3272 fi
   3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3274 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3275 
   3276 fi
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3278 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3279 if test $ac_compiler_gnu = yes; then
   3280   GCC=yes
   3281 else
   3282   GCC=
   3283 fi
   3284 ac_test_CFLAGS=${CFLAGS+set}
   3285 ac_save_CFLAGS=$CFLAGS
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3287 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3288 if ${ac_cv_prog_cc_g+:} false; then :
   3289   $as_echo_n "(cached) " >&6
   3290 else
   3291   ac_save_c_werror_flag=$ac_c_werror_flag
   3292    ac_c_werror_flag=yes
   3293    ac_cv_prog_cc_g=no
   3294    CFLAGS="-g"
   3295    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3296 /* end confdefs.h.  */
   3297 
   3298 int
   3299 main ()
   3300 {
   3301 
   3302   ;
   3303   return 0;
   3304 }
   3305 _ACEOF
   3306 if ac_fn_c_try_compile "$LINENO"; then :
   3307   ac_cv_prog_cc_g=yes
   3308 else
   3309   CFLAGS=""
   3310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3311 /* end confdefs.h.  */
   3312 
   3313 int
   3314 main ()
   3315 {
   3316 
   3317   ;
   3318   return 0;
   3319 }
   3320 _ACEOF
   3321 if ac_fn_c_try_compile "$LINENO"; then :
   3322 
   3323 else
   3324   ac_c_werror_flag=$ac_save_c_werror_flag
   3325 	 CFLAGS="-g"
   3326 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3327 /* end confdefs.h.  */
   3328 
   3329 int
   3330 main ()
   3331 {
   3332 
   3333   ;
   3334   return 0;
   3335 }
   3336 _ACEOF
   3337 if ac_fn_c_try_compile "$LINENO"; then :
   3338   ac_cv_prog_cc_g=yes
   3339 fi
   3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3341 fi
   3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3343 fi
   3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3345    ac_c_werror_flag=$ac_save_c_werror_flag
   3346 fi
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3348 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3349 if test "$ac_test_CFLAGS" = set; then
   3350   CFLAGS=$ac_save_CFLAGS
   3351 elif test $ac_cv_prog_cc_g = yes; then
   3352   if test "$GCC" = yes; then
   3353     CFLAGS="-g -O2"
   3354   else
   3355     CFLAGS="-g"
   3356   fi
   3357 else
   3358   if test "$GCC" = yes; then
   3359     CFLAGS="-O2"
   3360   else
   3361     CFLAGS=
   3362   fi
   3363 fi
   3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3365 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3366 if ${ac_cv_prog_cc_c89+:} false; then :
   3367   $as_echo_n "(cached) " >&6
   3368 else
   3369   ac_cv_prog_cc_c89=no
   3370 ac_save_CC=$CC
   3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3372 /* end confdefs.h.  */
   3373 #include <stdarg.h>
   3374 #include <stdio.h>
   3375 #include <sys/types.h>
   3376 #include <sys/stat.h>
   3377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3378 struct buf { int x; };
   3379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3380 static char *e (p, i)
   3381      char **p;
   3382      int i;
   3383 {
   3384   return p[i];
   3385 }
   3386 static char *f (char * (*g) (char **, int), char **p, ...)
   3387 {
   3388   char *s;
   3389   va_list v;
   3390   va_start (v,p);
   3391   s = g (p, va_arg (v,int));
   3392   va_end (v);
   3393   return s;
   3394 }
   3395 
   3396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3397    function prototypes and stuff, but not '\xHH' hex character constants.
   3398    These don't provoke an error unfortunately, instead are silently treated
   3399    as 'x'.  The following induces an error, until -std is added to get
   3400    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3401    array size at least.  It's necessary to write '\x00'==0 to get something
   3402    that's true only with -std.  */
   3403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3404 
   3405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3406    inside strings and character constants.  */
   3407 #define FOO(x) 'x'
   3408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3409 
   3410 int test (int i, double x);
   3411 struct s1 {int (*f) (int a);};
   3412 struct s2 {int (*f) (double a);};
   3413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3414 int argc;
   3415 char **argv;
   3416 int
   3417 main ()
   3418 {
   3419 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3420   ;
   3421   return 0;
   3422 }
   3423 _ACEOF
   3424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3425 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3426 do
   3427   CC="$ac_save_CC $ac_arg"
   3428   if ac_fn_c_try_compile "$LINENO"; then :
   3429   ac_cv_prog_cc_c89=$ac_arg
   3430 fi
   3431 rm -f core conftest.err conftest.$ac_objext
   3432   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3433 done
   3434 rm -f conftest.$ac_ext
   3435 CC=$ac_save_CC
   3436 
   3437 fi
   3438 # AC_CACHE_VAL
   3439 case "x$ac_cv_prog_cc_c89" in
   3440   x)
   3441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3442 $as_echo "none needed" >&6; } ;;
   3443   xno)
   3444     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3445 $as_echo "unsupported" >&6; } ;;
   3446   *)
   3447     CC="$CC $ac_cv_prog_cc_c89"
   3448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3450 esac
   3451 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3452 
   3453 fi
   3454 
   3455 ac_ext=c
   3456 ac_cpp='$CPP $CPPFLAGS'
   3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3460 
   3461 depcc="$CC"   am_compiler_list=
   3462 
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3464 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3465 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3466   $as_echo_n "(cached) " >&6
   3467 else
   3468   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3469   # We make a subdir and do the tests there.  Otherwise we can end up
   3470   # making bogus files that we don't know about and never remove.  For
   3471   # instance it was reported that on HP-UX the gcc test will end up
   3472   # making a dummy file named `D' -- because `-MD' means `put the output
   3473   # in D'.
   3474   rm -rf conftest.dir
   3475   mkdir conftest.dir
   3476   # Copy depcomp to subdir because otherwise we won't find it if we're
   3477   # using a relative directory.
   3478   cp "$am_depcomp" conftest.dir
   3479   cd conftest.dir
   3480   # We will build objects and dependencies in a subdirectory because
   3481   # it helps to detect inapplicable dependency modes.  For instance
   3482   # both Tru64's cc and ICC support -MD to output dependencies as a
   3483   # side effect of compilation, but ICC will put the dependencies in
   3484   # the current directory while Tru64 will put them in the object
   3485   # directory.
   3486   mkdir sub
   3487 
   3488   am_cv_CC_dependencies_compiler_type=none
   3489   if test "$am_compiler_list" = ""; then
   3490      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3491   fi
   3492   am__universal=false
   3493   case " $depcc " in #(
   3494      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3495      esac
   3496 
   3497   for depmode in $am_compiler_list; do
   3498     # Setup a source with many dependencies, because some compilers
   3499     # like to wrap large dependency lists on column 80 (with \), and
   3500     # we should not choose a depcomp mode which is confused by this.
   3501     #
   3502     # We need to recreate these files for each test, as the compiler may
   3503     # overwrite some of them when testing with obscure command lines.
   3504     # This happens at least with the AIX C compiler.
   3505     : > sub/conftest.c
   3506     for i in 1 2 3 4 5 6; do
   3507       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3508       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3509       # Solaris 8's {/usr,}/bin/sh.
   3510       touch sub/conftst$i.h
   3511     done
   3512     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3513 
   3514     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3515     # mode.  It turns out that the SunPro C++ compiler does not properly
   3516     # handle `-M -o', and we need to detect this.  Also, some Intel
   3517     # versions had trouble with output in subdirs
   3518     am__obj=sub/conftest.${OBJEXT-o}
   3519     am__minus_obj="-o $am__obj"
   3520     case $depmode in
   3521     gcc)
   3522       # This depmode causes a compiler race in universal mode.
   3523       test "$am__universal" = false || continue
   3524       ;;
   3525     nosideeffect)
   3526       # after this tag, mechanisms are not by side-effect, so they'll
   3527       # only be used when explicitly requested
   3528       if test "x$enable_dependency_tracking" = xyes; then
   3529 	continue
   3530       else
   3531 	break
   3532       fi
   3533       ;;
   3534     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3535       # This compiler won't grok `-c -o', but also, the minuso test has
   3536       # not run yet.  These depmodes are late enough in the game, and
   3537       # so weak that their functioning should not be impacted.
   3538       am__obj=conftest.${OBJEXT-o}
   3539       am__minus_obj=
   3540       ;;
   3541     none) break ;;
   3542     esac
   3543     if depmode=$depmode \
   3544        source=sub/conftest.c object=$am__obj \
   3545        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3546        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3547          >/dev/null 2>conftest.err &&
   3548        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3549        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3550        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3551        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3552       # icc doesn't choke on unknown options, it will just issue warnings
   3553       # or remarks (even with -Werror).  So we grep stderr for any message
   3554       # that says an option was ignored or not supported.
   3555       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3556       #   icc: Command line warning: ignoring option '-M'; no argument required
   3557       # The diagnosis changed in icc 8.0:
   3558       #   icc: Command line remark: option '-MP' not supported
   3559       if (grep 'ignoring option' conftest.err ||
   3560           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3561         am_cv_CC_dependencies_compiler_type=$depmode
   3562         break
   3563       fi
   3564     fi
   3565   done
   3566 
   3567   cd ..
   3568   rm -rf conftest.dir
   3569 else
   3570   am_cv_CC_dependencies_compiler_type=none
   3571 fi
   3572 
   3573 fi
   3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3575 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3576 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3577 
   3578  if
   3579   test "x$enable_dependency_tracking" != xno \
   3580   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3581   am__fastdepCC_TRUE=
   3582   am__fastdepCC_FALSE='#'
   3583 else
   3584   am__fastdepCC_TRUE='#'
   3585   am__fastdepCC_FALSE=
   3586 fi
   3587 
   3588 
   3589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3590 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3591 if ${ac_cv_prog_cc_c99+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   ac_cv_prog_cc_c99=no
   3595 ac_save_CC=$CC
   3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3597 /* end confdefs.h.  */
   3598 #include <stdarg.h>
   3599 #include <stdbool.h>
   3600 #include <stdlib.h>
   3601 #include <wchar.h>
   3602 #include <stdio.h>
   3603 
   3604 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3605 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3606 #define showlist(...) puts (#__VA_ARGS__)
   3607 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3608 static void
   3609 test_varargs_macros (void)
   3610 {
   3611   int x = 1234;
   3612   int y = 5678;
   3613   debug ("Flag");
   3614   debug ("X = %d\n", x);
   3615   showlist (The first, second, and third items.);
   3616   report (x>y, "x is %d but y is %d", x, y);
   3617 }
   3618 
   3619 // Check long long types.
   3620 #define BIG64 18446744073709551615ull
   3621 #define BIG32 4294967295ul
   3622 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3623 #if !BIG_OK
   3624   your preprocessor is broken;
   3625 #endif
   3626 #if BIG_OK
   3627 #else
   3628   your preprocessor is broken;
   3629 #endif
   3630 static long long int bignum = -9223372036854775807LL;
   3631 static unsigned long long int ubignum = BIG64;
   3632 
   3633 struct incomplete_array
   3634 {
   3635   int datasize;
   3636   double data[];
   3637 };
   3638 
   3639 struct named_init {
   3640   int number;
   3641   const wchar_t *name;
   3642   double average;
   3643 };
   3644 
   3645 typedef const char *ccp;
   3646 
   3647 static inline int
   3648 test_restrict (ccp restrict text)
   3649 {
   3650   // See if C++-style comments work.
   3651   // Iterate through items via the restricted pointer.
   3652   // Also check for declarations in for loops.
   3653   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3654     continue;
   3655   return 0;
   3656 }
   3657 
   3658 // Check varargs and va_copy.
   3659 static void
   3660 test_varargs (const char *format, ...)
   3661 {
   3662   va_list args;
   3663   va_start (args, format);
   3664   va_list args_copy;
   3665   va_copy (args_copy, args);
   3666 
   3667   const char *str;
   3668   int number;
   3669   float fnumber;
   3670 
   3671   while (*format)
   3672     {
   3673       switch (*format++)
   3674 	{
   3675 	case 's': // string
   3676 	  str = va_arg (args_copy, const char *);
   3677 	  break;
   3678 	case 'd': // int
   3679 	  number = va_arg (args_copy, int);
   3680 	  break;
   3681 	case 'f': // float
   3682 	  fnumber = va_arg (args_copy, double);
   3683 	  break;
   3684 	default:
   3685 	  break;
   3686 	}
   3687     }
   3688   va_end (args_copy);
   3689   va_end (args);
   3690 }
   3691 
   3692 int
   3693 main ()
   3694 {
   3695 
   3696   // Check bool.
   3697   _Bool success = false;
   3698 
   3699   // Check restrict.
   3700   if (test_restrict ("String literal") == 0)
   3701     success = true;
   3702   char *restrict newvar = "Another string";
   3703 
   3704   // Check varargs.
   3705   test_varargs ("s, d' f .", "string", 65, 34.234);
   3706   test_varargs_macros ();
   3707 
   3708   // Check flexible array members.
   3709   struct incomplete_array *ia =
   3710     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3711   ia->datasize = 10;
   3712   for (int i = 0; i < ia->datasize; ++i)
   3713     ia->data[i] = i * 1.234;
   3714 
   3715   // Check named initializers.
   3716   struct named_init ni = {
   3717     .number = 34,
   3718     .name = L"Test wide string",
   3719     .average = 543.34343,
   3720   };
   3721 
   3722   ni.number = 58;
   3723 
   3724   int dynamic_array[ni.number];
   3725   dynamic_array[ni.number - 1] = 543;
   3726 
   3727   // work around unused variable warnings
   3728   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3729 	  || dynamic_array[ni.number - 1] != 543);
   3730 
   3731   ;
   3732   return 0;
   3733 }
   3734 _ACEOF
   3735 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3736 do
   3737   CC="$ac_save_CC $ac_arg"
   3738   if ac_fn_c_try_compile "$LINENO"; then :
   3739   ac_cv_prog_cc_c99=$ac_arg
   3740 fi
   3741 rm -f core conftest.err conftest.$ac_objext
   3742   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3743 done
   3744 rm -f conftest.$ac_ext
   3745 CC=$ac_save_CC
   3746 
   3747 fi
   3748 # AC_CACHE_VAL
   3749 case "x$ac_cv_prog_cc_c99" in
   3750   x)
   3751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3752 $as_echo "none needed" >&6; } ;;
   3753   xno)
   3754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3755 $as_echo "unsupported" >&6; } ;;
   3756   *)
   3757     CC="$CC $ac_cv_prog_cc_c99"
   3758     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3759 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3760 esac
   3761 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3762 
   3763 fi
   3764 
   3765 
   3766 
   3767 ac_ext=c
   3768 ac_cpp='$CPP $CPPFLAGS'
   3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3773 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3774 # On Suns, sometimes $CPP names a directory.
   3775 if test -n "$CPP" && test -d "$CPP"; then
   3776   CPP=
   3777 fi
   3778 if test -z "$CPP"; then
   3779   if ${ac_cv_prog_CPP+:} false; then :
   3780   $as_echo_n "(cached) " >&6
   3781 else
   3782       # Double quotes because CPP needs to be expanded
   3783     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3784     do
   3785       ac_preproc_ok=false
   3786 for ac_c_preproc_warn_flag in '' yes
   3787 do
   3788   # Use a header file that comes with gcc, so configuring glibc
   3789   # with a fresh cross-compiler works.
   3790   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3791   # <limits.h> exists even on freestanding compilers.
   3792   # On the NeXT, cc -E runs the code through the compiler's parser,
   3793   # not just through cpp. "Syntax error" is here to catch this case.
   3794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3795 /* end confdefs.h.  */
   3796 #ifdef __STDC__
   3797 # include <limits.h>
   3798 #else
   3799 # include <assert.h>
   3800 #endif
   3801 		     Syntax error
   3802 _ACEOF
   3803 if ac_fn_c_try_cpp "$LINENO"; then :
   3804 
   3805 else
   3806   # Broken: fails on valid input.
   3807 continue
   3808 fi
   3809 rm -f conftest.err conftest.i conftest.$ac_ext
   3810 
   3811   # OK, works on sane cases.  Now check whether nonexistent headers
   3812   # can be detected and how.
   3813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3814 /* end confdefs.h.  */
   3815 #include <ac_nonexistent.h>
   3816 _ACEOF
   3817 if ac_fn_c_try_cpp "$LINENO"; then :
   3818   # Broken: success on invalid input.
   3819 continue
   3820 else
   3821   # Passes both tests.
   3822 ac_preproc_ok=:
   3823 break
   3824 fi
   3825 rm -f conftest.err conftest.i conftest.$ac_ext
   3826 
   3827 done
   3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3829 rm -f conftest.i conftest.err conftest.$ac_ext
   3830 if $ac_preproc_ok; then :
   3831   break
   3832 fi
   3833 
   3834     done
   3835     ac_cv_prog_CPP=$CPP
   3836 
   3837 fi
   3838   CPP=$ac_cv_prog_CPP
   3839 else
   3840   ac_cv_prog_CPP=$CPP
   3841 fi
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3843 $as_echo "$CPP" >&6; }
   3844 ac_preproc_ok=false
   3845 for ac_c_preproc_warn_flag in '' yes
   3846 do
   3847   # Use a header file that comes with gcc, so configuring glibc
   3848   # with a fresh cross-compiler works.
   3849   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3850   # <limits.h> exists even on freestanding compilers.
   3851   # On the NeXT, cc -E runs the code through the compiler's parser,
   3852   # not just through cpp. "Syntax error" is here to catch this case.
   3853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3854 /* end confdefs.h.  */
   3855 #ifdef __STDC__
   3856 # include <limits.h>
   3857 #else
   3858 # include <assert.h>
   3859 #endif
   3860 		     Syntax error
   3861 _ACEOF
   3862 if ac_fn_c_try_cpp "$LINENO"; then :
   3863 
   3864 else
   3865   # Broken: fails on valid input.
   3866 continue
   3867 fi
   3868 rm -f conftest.err conftest.i conftest.$ac_ext
   3869 
   3870   # OK, works on sane cases.  Now check whether nonexistent headers
   3871   # can be detected and how.
   3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3873 /* end confdefs.h.  */
   3874 #include <ac_nonexistent.h>
   3875 _ACEOF
   3876 if ac_fn_c_try_cpp "$LINENO"; then :
   3877   # Broken: success on invalid input.
   3878 continue
   3879 else
   3880   # Passes both tests.
   3881 ac_preproc_ok=:
   3882 break
   3883 fi
   3884 rm -f conftest.err conftest.i conftest.$ac_ext
   3885 
   3886 done
   3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3888 rm -f conftest.i conftest.err conftest.$ac_ext
   3889 if $ac_preproc_ok; then :
   3890 
   3891 else
   3892   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3894 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3895 See \`config.log' for more details" "$LINENO" 5; }
   3896 fi
   3897 
   3898 ac_ext=c
   3899 ac_cpp='$CPP $CPPFLAGS'
   3900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3903 
   3904 
   3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3906 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3907 if ${ac_cv_path_GREP+:} false; then :
   3908   $as_echo_n "(cached) " >&6
   3909 else
   3910   if test -z "$GREP"; then
   3911   ac_path_GREP_found=false
   3912   # Loop through the user's path and test for each of PROGNAME-LIST
   3913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3914 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3915 do
   3916   IFS=$as_save_IFS
   3917   test -z "$as_dir" && as_dir=.
   3918     for ac_prog in grep ggrep; do
   3919     for ac_exec_ext in '' $ac_executable_extensions; do
   3920       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3921       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3922 # Check for GNU ac_path_GREP and select it if it is found.
   3923   # Check for GNU $ac_path_GREP
   3924 case `"$ac_path_GREP" --version 2>&1` in
   3925 *GNU*)
   3926   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3927 *)
   3928   ac_count=0
   3929   $as_echo_n 0123456789 >"conftest.in"
   3930   while :
   3931   do
   3932     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3933     mv "conftest.tmp" "conftest.in"
   3934     cp "conftest.in" "conftest.nl"
   3935     $as_echo 'GREP' >> "conftest.nl"
   3936     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3937     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3938     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3939     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3940       # Best one so far, save it but keep looking for a better one
   3941       ac_cv_path_GREP="$ac_path_GREP"
   3942       ac_path_GREP_max=$ac_count
   3943     fi
   3944     # 10*(2^10) chars as input seems more than enough
   3945     test $ac_count -gt 10 && break
   3946   done
   3947   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3948 esac
   3949 
   3950       $ac_path_GREP_found && break 3
   3951     done
   3952   done
   3953   done
   3954 IFS=$as_save_IFS
   3955   if test -z "$ac_cv_path_GREP"; then
   3956     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3957   fi
   3958 else
   3959   ac_cv_path_GREP=$GREP
   3960 fi
   3961 
   3962 fi
   3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3964 $as_echo "$ac_cv_path_GREP" >&6; }
   3965  GREP="$ac_cv_path_GREP"
   3966 
   3967 
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3969 $as_echo_n "checking for egrep... " >&6; }
   3970 if ${ac_cv_path_EGREP+:} false; then :
   3971   $as_echo_n "(cached) " >&6
   3972 else
   3973   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3974    then ac_cv_path_EGREP="$GREP -E"
   3975    else
   3976      if test -z "$EGREP"; then
   3977   ac_path_EGREP_found=false
   3978   # Loop through the user's path and test for each of PROGNAME-LIST
   3979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3981 do
   3982   IFS=$as_save_IFS
   3983   test -z "$as_dir" && as_dir=.
   3984     for ac_prog in egrep; do
   3985     for ac_exec_ext in '' $ac_executable_extensions; do
   3986       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3987       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3988 # Check for GNU ac_path_EGREP and select it if it is found.
   3989   # Check for GNU $ac_path_EGREP
   3990 case `"$ac_path_EGREP" --version 2>&1` in
   3991 *GNU*)
   3992   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3993 *)
   3994   ac_count=0
   3995   $as_echo_n 0123456789 >"conftest.in"
   3996   while :
   3997   do
   3998     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3999     mv "conftest.tmp" "conftest.in"
   4000     cp "conftest.in" "conftest.nl"
   4001     $as_echo 'EGREP' >> "conftest.nl"
   4002     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4003     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4004     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4005     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4006       # Best one so far, save it but keep looking for a better one
   4007       ac_cv_path_EGREP="$ac_path_EGREP"
   4008       ac_path_EGREP_max=$ac_count
   4009     fi
   4010     # 10*(2^10) chars as input seems more than enough
   4011     test $ac_count -gt 10 && break
   4012   done
   4013   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4014 esac
   4015 
   4016       $ac_path_EGREP_found && break 3
   4017     done
   4018   done
   4019   done
   4020 IFS=$as_save_IFS
   4021   if test -z "$ac_cv_path_EGREP"; then
   4022     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4023   fi
   4024 else
   4025   ac_cv_path_EGREP=$EGREP
   4026 fi
   4027 
   4028    fi
   4029 fi
   4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4031 $as_echo "$ac_cv_path_EGREP" >&6; }
   4032  EGREP="$ac_cv_path_EGREP"
   4033 
   4034 
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4036 $as_echo_n "checking for ANSI C header files... " >&6; }
   4037 if ${ac_cv_header_stdc+:} false; then :
   4038   $as_echo_n "(cached) " >&6
   4039 else
   4040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4041 /* end confdefs.h.  */
   4042 #include <stdlib.h>
   4043 #include <stdarg.h>
   4044 #include <string.h>
   4045 #include <float.h>
   4046 
   4047 int
   4048 main ()
   4049 {
   4050 
   4051   ;
   4052   return 0;
   4053 }
   4054 _ACEOF
   4055 if ac_fn_c_try_compile "$LINENO"; then :
   4056   ac_cv_header_stdc=yes
   4057 else
   4058   ac_cv_header_stdc=no
   4059 fi
   4060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4061 
   4062 if test $ac_cv_header_stdc = yes; then
   4063   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4065 /* end confdefs.h.  */
   4066 #include <string.h>
   4067 
   4068 _ACEOF
   4069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4070   $EGREP "memchr" >/dev/null 2>&1; then :
   4071 
   4072 else
   4073   ac_cv_header_stdc=no
   4074 fi
   4075 rm -f conftest*
   4076 
   4077 fi
   4078 
   4079 if test $ac_cv_header_stdc = yes; then
   4080   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4082 /* end confdefs.h.  */
   4083 #include <stdlib.h>
   4084 
   4085 _ACEOF
   4086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4087   $EGREP "free" >/dev/null 2>&1; then :
   4088 
   4089 else
   4090   ac_cv_header_stdc=no
   4091 fi
   4092 rm -f conftest*
   4093 
   4094 fi
   4095 
   4096 if test $ac_cv_header_stdc = yes; then
   4097   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4098   if test "$cross_compiling" = yes; then :
   4099   :
   4100 else
   4101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 #include <ctype.h>
   4104 #include <stdlib.h>
   4105 #if ((' ' & 0x0FF) == 0x020)
   4106 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4107 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4108 #else
   4109 # define ISLOWER(c) \
   4110 		   (('a' <= (c) && (c) <= 'i') \
   4111 		     || ('j' <= (c) && (c) <= 'r') \
   4112 		     || ('s' <= (c) && (c) <= 'z'))
   4113 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4114 #endif
   4115 
   4116 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4117 int
   4118 main ()
   4119 {
   4120   int i;
   4121   for (i = 0; i < 256; i++)
   4122     if (XOR (islower (i), ISLOWER (i))
   4123 	|| toupper (i) != TOUPPER (i))
   4124       return 2;
   4125   return 0;
   4126 }
   4127 _ACEOF
   4128 if ac_fn_c_try_run "$LINENO"; then :
   4129 
   4130 else
   4131   ac_cv_header_stdc=no
   4132 fi
   4133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4134   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4135 fi
   4136 
   4137 fi
   4138 fi
   4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4140 $as_echo "$ac_cv_header_stdc" >&6; }
   4141 if test $ac_cv_header_stdc = yes; then
   4142 
   4143 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4144 
   4145 fi
   4146 
   4147 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4148 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4149 		  inttypes.h stdint.h unistd.h
   4150 do :
   4151   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4152 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4153 "
   4154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4155   cat >>confdefs.h <<_ACEOF
   4156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4157 _ACEOF
   4158 
   4159 fi
   4160 
   4161 done
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 
   4168 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4169 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4170   CLANGCC="yes"
   4171 else
   4172   CLANGCC="no"
   4173 fi
   4174 
   4175 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4176 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4177   INTELCC="yes"
   4178 else
   4179   INTELCC="no"
   4180 fi
   4181 
   4182 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4183 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4184   SUNCC="yes"
   4185 else
   4186   SUNCC="no"
   4187 fi
   4188 
   4189 
   4190 
   4191 
   4192 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4193 	if test -n "$ac_tool_prefix"; then
   4194   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4195 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4197 $as_echo_n "checking for $ac_word... " >&6; }
   4198 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4199   $as_echo_n "(cached) " >&6
   4200 else
   4201   case $PKG_CONFIG in
   4202   [\\/]* | ?:[\\/]*)
   4203   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4204   ;;
   4205   *)
   4206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4207 for as_dir in $PATH
   4208 do
   4209   IFS=$as_save_IFS
   4210   test -z "$as_dir" && as_dir=.
   4211     for ac_exec_ext in '' $ac_executable_extensions; do
   4212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4213     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4215     break 2
   4216   fi
   4217 done
   4218   done
   4219 IFS=$as_save_IFS
   4220 
   4221   ;;
   4222 esac
   4223 fi
   4224 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4225 if test -n "$PKG_CONFIG"; then
   4226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4227 $as_echo "$PKG_CONFIG" >&6; }
   4228 else
   4229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4230 $as_echo "no" >&6; }
   4231 fi
   4232 
   4233 
   4234 fi
   4235 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4236   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4237   # Extract the first word of "pkg-config", so it can be a program name with args.
   4238 set dummy pkg-config; ac_word=$2
   4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4240 $as_echo_n "checking for $ac_word... " >&6; }
   4241 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4242   $as_echo_n "(cached) " >&6
   4243 else
   4244   case $ac_pt_PKG_CONFIG in
   4245   [\\/]* | ?:[\\/]*)
   4246   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4247   ;;
   4248   *)
   4249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4250 for as_dir in $PATH
   4251 do
   4252   IFS=$as_save_IFS
   4253   test -z "$as_dir" && as_dir=.
   4254     for ac_exec_ext in '' $ac_executable_extensions; do
   4255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4256     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4258     break 2
   4259   fi
   4260 done
   4261   done
   4262 IFS=$as_save_IFS
   4263 
   4264   ;;
   4265 esac
   4266 fi
   4267 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4268 if test -n "$ac_pt_PKG_CONFIG"; then
   4269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4270 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4271 else
   4272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4273 $as_echo "no" >&6; }
   4274 fi
   4275 
   4276   if test "x$ac_pt_PKG_CONFIG" = x; then
   4277     PKG_CONFIG=""
   4278   else
   4279     case $cross_compiling:$ac_tool_warned in
   4280 yes:)
   4281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4283 ac_tool_warned=yes ;;
   4284 esac
   4285     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4286   fi
   4287 else
   4288   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4289 fi
   4290 
   4291 fi
   4292 if test -n "$PKG_CONFIG"; then
   4293 	_pkg_min_version=0.9.0
   4294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4295 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4296 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4298 $as_echo "yes" >&6; }
   4299 	else
   4300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4301 $as_echo "no" >&6; }
   4302 		PKG_CONFIG=""
   4303 	fi
   4304 
   4305 fi
   4306 # Make sure we can run config.sub.
   4307 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4308   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4309 
   4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4311 $as_echo_n "checking build system type... " >&6; }
   4312 if ${ac_cv_build+:} false; then :
   4313   $as_echo_n "(cached) " >&6
   4314 else
   4315   ac_build_alias=$build_alias
   4316 test "x$ac_build_alias" = x &&
   4317   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4318 test "x$ac_build_alias" = x &&
   4319   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4320 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4321   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4322 
   4323 fi
   4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4325 $as_echo "$ac_cv_build" >&6; }
   4326 case $ac_cv_build in
   4327 *-*-*) ;;
   4328 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4329 esac
   4330 build=$ac_cv_build
   4331 ac_save_IFS=$IFS; IFS='-'
   4332 set x $ac_cv_build
   4333 shift
   4334 build_cpu=$1
   4335 build_vendor=$2
   4336 shift; shift
   4337 # Remember, the first character of IFS is used to create $*,
   4338 # except with old shells:
   4339 build_os=$*
   4340 IFS=$ac_save_IFS
   4341 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4342 
   4343 
   4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4345 $as_echo_n "checking host system type... " >&6; }
   4346 if ${ac_cv_host+:} false; then :
   4347   $as_echo_n "(cached) " >&6
   4348 else
   4349   if test "x$host_alias" = x; then
   4350   ac_cv_host=$ac_cv_build
   4351 else
   4352   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4353     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4354 fi
   4355 
   4356 fi
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4358 $as_echo "$ac_cv_host" >&6; }
   4359 case $ac_cv_host in
   4360 *-*-*) ;;
   4361 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4362 esac
   4363 host=$ac_cv_host
   4364 ac_save_IFS=$IFS; IFS='-'
   4365 set x $ac_cv_host
   4366 shift
   4367 host_cpu=$1
   4368 host_vendor=$2
   4369 shift; shift
   4370 # Remember, the first character of IFS is used to create $*,
   4371 # except with old shells:
   4372 host_os=$*
   4373 IFS=$ac_save_IFS
   4374 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4375 
   4376 
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4378 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4379 if ${ac_cv_path_SED+:} false; then :
   4380   $as_echo_n "(cached) " >&6
   4381 else
   4382             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4383      for ac_i in 1 2 3 4 5 6 7; do
   4384        ac_script="$ac_script$as_nl$ac_script"
   4385      done
   4386      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4387      { ac_script=; unset ac_script;}
   4388      if test -z "$SED"; then
   4389   ac_path_SED_found=false
   4390   # Loop through the user's path and test for each of PROGNAME-LIST
   4391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4392 for as_dir in $PATH
   4393 do
   4394   IFS=$as_save_IFS
   4395   test -z "$as_dir" && as_dir=.
   4396     for ac_prog in sed gsed; do
   4397     for ac_exec_ext in '' $ac_executable_extensions; do
   4398       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4399       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4400 # Check for GNU ac_path_SED and select it if it is found.
   4401   # Check for GNU $ac_path_SED
   4402 case `"$ac_path_SED" --version 2>&1` in
   4403 *GNU*)
   4404   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4405 *)
   4406   ac_count=0
   4407   $as_echo_n 0123456789 >"conftest.in"
   4408   while :
   4409   do
   4410     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4411     mv "conftest.tmp" "conftest.in"
   4412     cp "conftest.in" "conftest.nl"
   4413     $as_echo '' >> "conftest.nl"
   4414     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4415     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4416     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4417     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4418       # Best one so far, save it but keep looking for a better one
   4419       ac_cv_path_SED="$ac_path_SED"
   4420       ac_path_SED_max=$ac_count
   4421     fi
   4422     # 10*(2^10) chars as input seems more than enough
   4423     test $ac_count -gt 10 && break
   4424   done
   4425   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4426 esac
   4427 
   4428       $ac_path_SED_found && break 3
   4429     done
   4430   done
   4431   done
   4432 IFS=$as_save_IFS
   4433   if test -z "$ac_cv_path_SED"; then
   4434     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4435   fi
   4436 else
   4437   ac_cv_path_SED=$SED
   4438 fi
   4439 
   4440 fi
   4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4442 $as_echo "$ac_cv_path_SED" >&6; }
   4443  SED="$ac_cv_path_SED"
   4444   rm -f conftest.sed
   4445 
   4446 
   4447 
   4448 
   4449 
   4450 
   4451 # Check whether --enable-selective-werror was given.
   4452 if test "${enable_selective_werror+set}" = set; then :
   4453   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4454 else
   4455   SELECTIVE_WERROR=yes
   4456 fi
   4457 
   4458 
   4459 
   4460 
   4461 
   4462 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4463 if test "x$SUNCC" = "xyes"; then
   4464     BASE_CFLAGS="-v"
   4465 else
   4466     BASE_CFLAGS=""
   4467 fi
   4468 
   4469 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 xorg_testset_save_CFLAGS="$CFLAGS"
   4484 
   4485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4493 /* end confdefs.h.  */
   4494 int i;
   4495 _ACEOF
   4496 if ac_fn_c_try_compile "$LINENO"; then :
   4497   xorg_cv_cc_flag_unknown_warning_option=yes
   4498 else
   4499   xorg_cv_cc_flag_unknown_warning_option=no
   4500 fi
   4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4502 fi
   4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4506 	CFLAGS="$xorg_testset_save_CFLAGS"
   4507 fi
   4508 
   4509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4512 	fi
   4513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4520 /* end confdefs.h.  */
   4521 int i;
   4522 _ACEOF
   4523 if ac_fn_c_try_compile "$LINENO"; then :
   4524   xorg_cv_cc_flag_unused_command_line_argument=yes
   4525 else
   4526   xorg_cv_cc_flag_unused_command_line_argument=no
   4527 fi
   4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4529 fi
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4533 	CFLAGS="$xorg_testset_save_CFLAGS"
   4534 fi
   4535 
   4536 found="no"
   4537 
   4538 	if test $found = "no" ; then
   4539 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4541 		fi
   4542 
   4543 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4545 		fi
   4546 
   4547 		CFLAGS="$CFLAGS -Wall"
   4548 
   4549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4550 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4551 		cacheid=xorg_cv_cc_flag__Wall
   4552 		if eval \${$cacheid+:} false; then :
   4553   $as_echo_n "(cached) " >&6
   4554 else
   4555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4556 /* end confdefs.h.  */
   4557 int i;
   4558 int
   4559 main ()
   4560 {
   4561 
   4562   ;
   4563   return 0;
   4564 }
   4565 _ACEOF
   4566 if ac_fn_c_try_link "$LINENO"; then :
   4567   eval $cacheid=yes
   4568 else
   4569   eval $cacheid=no
   4570 fi
   4571 rm -f core conftest.err conftest.$ac_objext \
   4572     conftest$ac_exeext conftest.$ac_ext
   4573 fi
   4574 
   4575 
   4576 		CFLAGS="$xorg_testset_save_CFLAGS"
   4577 
   4578 		eval supported=\$$cacheid
   4579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4580 $as_echo "$supported" >&6; }
   4581 		if test "$supported" = "yes" ; then
   4582 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4583 			found="yes"
   4584 		fi
   4585 	fi
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 
   4592 
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 xorg_testset_save_CFLAGS="$CFLAGS"
   4602 
   4603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4607 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4608   $as_echo_n "(cached) " >&6
   4609 else
   4610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4611 /* end confdefs.h.  */
   4612 int i;
   4613 _ACEOF
   4614 if ac_fn_c_try_compile "$LINENO"; then :
   4615   xorg_cv_cc_flag_unknown_warning_option=yes
   4616 else
   4617   xorg_cv_cc_flag_unknown_warning_option=no
   4618 fi
   4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4624 	CFLAGS="$xorg_testset_save_CFLAGS"
   4625 fi
   4626 
   4627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4630 	fi
   4631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4635   $as_echo_n "(cached) " >&6
   4636 else
   4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 int i;
   4640 _ACEOF
   4641 if ac_fn_c_try_compile "$LINENO"; then :
   4642   xorg_cv_cc_flag_unused_command_line_argument=yes
   4643 else
   4644   xorg_cv_cc_flag_unused_command_line_argument=no
   4645 fi
   4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4647 fi
   4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4651 	CFLAGS="$xorg_testset_save_CFLAGS"
   4652 fi
   4653 
   4654 found="no"
   4655 
   4656 	if test $found = "no" ; then
   4657 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4659 		fi
   4660 
   4661 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4663 		fi
   4664 
   4665 		CFLAGS="$CFLAGS -Wpointer-arith"
   4666 
   4667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4668 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4669 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4670 		if eval \${$cacheid+:} false; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4674 /* end confdefs.h.  */
   4675 int i;
   4676 int
   4677 main ()
   4678 {
   4679 
   4680   ;
   4681   return 0;
   4682 }
   4683 _ACEOF
   4684 if ac_fn_c_try_link "$LINENO"; then :
   4685   eval $cacheid=yes
   4686 else
   4687   eval $cacheid=no
   4688 fi
   4689 rm -f core conftest.err conftest.$ac_objext \
   4690     conftest$ac_exeext conftest.$ac_ext
   4691 fi
   4692 
   4693 
   4694 		CFLAGS="$xorg_testset_save_CFLAGS"
   4695 
   4696 		eval supported=\$$cacheid
   4697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4698 $as_echo "$supported" >&6; }
   4699 		if test "$supported" = "yes" ; then
   4700 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4701 			found="yes"
   4702 		fi
   4703 	fi
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 xorg_testset_save_CFLAGS="$CFLAGS"
   4720 
   4721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4724 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4725 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4726   $as_echo_n "(cached) " >&6
   4727 else
   4728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4729 /* end confdefs.h.  */
   4730 int i;
   4731 _ACEOF
   4732 if ac_fn_c_try_compile "$LINENO"; then :
   4733   xorg_cv_cc_flag_unknown_warning_option=yes
   4734 else
   4735   xorg_cv_cc_flag_unknown_warning_option=no
   4736 fi
   4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4738 fi
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4740 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4742 	CFLAGS="$xorg_testset_save_CFLAGS"
   4743 fi
   4744 
   4745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4748 	fi
   4749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4751 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4752 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4753   $as_echo_n "(cached) " >&6
   4754 else
   4755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4756 /* end confdefs.h.  */
   4757 int i;
   4758 _ACEOF
   4759 if ac_fn_c_try_compile "$LINENO"; then :
   4760   xorg_cv_cc_flag_unused_command_line_argument=yes
   4761 else
   4762   xorg_cv_cc_flag_unused_command_line_argument=no
   4763 fi
   4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4765 fi
   4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4767 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4769 	CFLAGS="$xorg_testset_save_CFLAGS"
   4770 fi
   4771 
   4772 found="no"
   4773 
   4774 	if test $found = "no" ; then
   4775 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4777 		fi
   4778 
   4779 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4781 		fi
   4782 
   4783 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4784 
   4785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4786 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4787 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4788 		if eval \${$cacheid+:} false; then :
   4789   $as_echo_n "(cached) " >&6
   4790 else
   4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 int i;
   4794 int
   4795 main ()
   4796 {
   4797 
   4798   ;
   4799   return 0;
   4800 }
   4801 _ACEOF
   4802 if ac_fn_c_try_link "$LINENO"; then :
   4803   eval $cacheid=yes
   4804 else
   4805   eval $cacheid=no
   4806 fi
   4807 rm -f core conftest.err conftest.$ac_objext \
   4808     conftest$ac_exeext conftest.$ac_ext
   4809 fi
   4810 
   4811 
   4812 		CFLAGS="$xorg_testset_save_CFLAGS"
   4813 
   4814 		eval supported=\$$cacheid
   4815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4816 $as_echo "$supported" >&6; }
   4817 		if test "$supported" = "yes" ; then
   4818 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4819 			found="yes"
   4820 		fi
   4821 	fi
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 xorg_testset_save_CFLAGS="$CFLAGS"
   4838 
   4839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4842 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4843 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4844   $as_echo_n "(cached) " >&6
   4845 else
   4846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4847 /* end confdefs.h.  */
   4848 int i;
   4849 _ACEOF
   4850 if ac_fn_c_try_compile "$LINENO"; then :
   4851   xorg_cv_cc_flag_unknown_warning_option=yes
   4852 else
   4853   xorg_cv_cc_flag_unknown_warning_option=no
   4854 fi
   4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4856 fi
   4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4858 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4859 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4860 	CFLAGS="$xorg_testset_save_CFLAGS"
   4861 fi
   4862 
   4863 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4864 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4865 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4866 	fi
   4867 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4869 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4870 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4871   $as_echo_n "(cached) " >&6
   4872 else
   4873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4874 /* end confdefs.h.  */
   4875 int i;
   4876 _ACEOF
   4877 if ac_fn_c_try_compile "$LINENO"; then :
   4878   xorg_cv_cc_flag_unused_command_line_argument=yes
   4879 else
   4880   xorg_cv_cc_flag_unused_command_line_argument=no
   4881 fi
   4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4883 fi
   4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4885 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4887 	CFLAGS="$xorg_testset_save_CFLAGS"
   4888 fi
   4889 
   4890 found="no"
   4891 
   4892 	if test $found = "no" ; then
   4893 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4895 		fi
   4896 
   4897 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4899 		fi
   4900 
   4901 		CFLAGS="$CFLAGS -Wformat=2"
   4902 
   4903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4904 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4905 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4906 		if eval \${$cacheid+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4910 /* end confdefs.h.  */
   4911 int i;
   4912 int
   4913 main ()
   4914 {
   4915 
   4916   ;
   4917   return 0;
   4918 }
   4919 _ACEOF
   4920 if ac_fn_c_try_link "$LINENO"; then :
   4921   eval $cacheid=yes
   4922 else
   4923   eval $cacheid=no
   4924 fi
   4925 rm -f core conftest.err conftest.$ac_objext \
   4926     conftest$ac_exeext conftest.$ac_ext
   4927 fi
   4928 
   4929 
   4930 		CFLAGS="$xorg_testset_save_CFLAGS"
   4931 
   4932 		eval supported=\$$cacheid
   4933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4934 $as_echo "$supported" >&6; }
   4935 		if test "$supported" = "yes" ; then
   4936 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4937 			found="yes"
   4938 		fi
   4939 	fi
   4940 
   4941 	if test $found = "no" ; then
   4942 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4944 		fi
   4945 
   4946 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4948 		fi
   4949 
   4950 		CFLAGS="$CFLAGS -Wformat"
   4951 
   4952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4953 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4954 		cacheid=xorg_cv_cc_flag__Wformat
   4955 		if eval \${$cacheid+:} false; then :
   4956   $as_echo_n "(cached) " >&6
   4957 else
   4958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4959 /* end confdefs.h.  */
   4960 int i;
   4961 int
   4962 main ()
   4963 {
   4964 
   4965   ;
   4966   return 0;
   4967 }
   4968 _ACEOF
   4969 if ac_fn_c_try_link "$LINENO"; then :
   4970   eval $cacheid=yes
   4971 else
   4972   eval $cacheid=no
   4973 fi
   4974 rm -f core conftest.err conftest.$ac_objext \
   4975     conftest$ac_exeext conftest.$ac_ext
   4976 fi
   4977 
   4978 
   4979 		CFLAGS="$xorg_testset_save_CFLAGS"
   4980 
   4981 		eval supported=\$$cacheid
   4982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4983 $as_echo "$supported" >&6; }
   4984 		if test "$supported" = "yes" ; then
   4985 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   4986 			found="yes"
   4987 		fi
   4988 	fi
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 xorg_testset_save_CFLAGS="$CFLAGS"
   5007 
   5008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5016 /* end confdefs.h.  */
   5017 int i;
   5018 _ACEOF
   5019 if ac_fn_c_try_compile "$LINENO"; then :
   5020   xorg_cv_cc_flag_unknown_warning_option=yes
   5021 else
   5022   xorg_cv_cc_flag_unknown_warning_option=no
   5023 fi
   5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5025 fi
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5029 	CFLAGS="$xorg_testset_save_CFLAGS"
   5030 fi
   5031 
   5032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5035 	fi
   5036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5040   $as_echo_n "(cached) " >&6
   5041 else
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 _ACEOF
   5046 if ac_fn_c_try_compile "$LINENO"; then :
   5047   xorg_cv_cc_flag_unused_command_line_argument=yes
   5048 else
   5049   xorg_cv_cc_flag_unused_command_line_argument=no
   5050 fi
   5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5052 fi
   5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5056 	CFLAGS="$xorg_testset_save_CFLAGS"
   5057 fi
   5058 
   5059 found="no"
   5060 
   5061 	if test $found = "no" ; then
   5062 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 		fi
   5065 
   5066 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5068 		fi
   5069 
   5070 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5071 
   5072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5073 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5074 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5075 		if eval \${$cacheid+:} false; then :
   5076   $as_echo_n "(cached) " >&6
   5077 else
   5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 int i;
   5081 int
   5082 main ()
   5083 {
   5084 
   5085   ;
   5086   return 0;
   5087 }
   5088 _ACEOF
   5089 if ac_fn_c_try_link "$LINENO"; then :
   5090   eval $cacheid=yes
   5091 else
   5092   eval $cacheid=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext \
   5095     conftest$ac_exeext conftest.$ac_ext
   5096 fi
   5097 
   5098 
   5099 		CFLAGS="$xorg_testset_save_CFLAGS"
   5100 
   5101 		eval supported=\$$cacheid
   5102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5103 $as_echo "$supported" >&6; }
   5104 		if test "$supported" = "yes" ; then
   5105 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5106 			found="yes"
   5107 		fi
   5108 	fi
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 xorg_testset_save_CFLAGS="$CFLAGS"
   5125 
   5126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 int i;
   5136 _ACEOF
   5137 if ac_fn_c_try_compile "$LINENO"; then :
   5138   xorg_cv_cc_flag_unknown_warning_option=yes
   5139 else
   5140   xorg_cv_cc_flag_unknown_warning_option=no
   5141 fi
   5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5143 fi
   5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5147 	CFLAGS="$xorg_testset_save_CFLAGS"
   5148 fi
   5149 
   5150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5153 	fi
   5154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 _ACEOF
   5164 if ac_fn_c_try_compile "$LINENO"; then :
   5165   xorg_cv_cc_flag_unused_command_line_argument=yes
   5166 else
   5167   xorg_cv_cc_flag_unused_command_line_argument=no
   5168 fi
   5169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5170 fi
   5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5174 	CFLAGS="$xorg_testset_save_CFLAGS"
   5175 fi
   5176 
   5177 found="no"
   5178 
   5179 	if test $found = "no" ; then
   5180 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5182 		fi
   5183 
   5184 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5186 		fi
   5187 
   5188 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5189 
   5190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5191 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5192 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5193 		if eval \${$cacheid+:} false; then :
   5194   $as_echo_n "(cached) " >&6
   5195 else
   5196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5197 /* end confdefs.h.  */
   5198 int i;
   5199 int
   5200 main ()
   5201 {
   5202 
   5203   ;
   5204   return 0;
   5205 }
   5206 _ACEOF
   5207 if ac_fn_c_try_link "$LINENO"; then :
   5208   eval $cacheid=yes
   5209 else
   5210   eval $cacheid=no
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext \
   5213     conftest$ac_exeext conftest.$ac_ext
   5214 fi
   5215 
   5216 
   5217 		CFLAGS="$xorg_testset_save_CFLAGS"
   5218 
   5219 		eval supported=\$$cacheid
   5220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5221 $as_echo "$supported" >&6; }
   5222 		if test "$supported" = "yes" ; then
   5223 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5224 			found="yes"
   5225 		fi
   5226 	fi
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 xorg_testset_save_CFLAGS="$CFLAGS"
   5243 
   5244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5252 /* end confdefs.h.  */
   5253 int i;
   5254 _ACEOF
   5255 if ac_fn_c_try_compile "$LINENO"; then :
   5256   xorg_cv_cc_flag_unknown_warning_option=yes
   5257 else
   5258   xorg_cv_cc_flag_unknown_warning_option=no
   5259 fi
   5260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5261 fi
   5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5265 	CFLAGS="$xorg_testset_save_CFLAGS"
   5266 fi
   5267 
   5268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5271 	fi
   5272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5279 /* end confdefs.h.  */
   5280 int i;
   5281 _ACEOF
   5282 if ac_fn_c_try_compile "$LINENO"; then :
   5283   xorg_cv_cc_flag_unused_command_line_argument=yes
   5284 else
   5285   xorg_cv_cc_flag_unused_command_line_argument=no
   5286 fi
   5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5288 fi
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5292 	CFLAGS="$xorg_testset_save_CFLAGS"
   5293 fi
   5294 
   5295 found="no"
   5296 
   5297 	if test $found = "no" ; then
   5298 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 		fi
   5301 
   5302 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5304 		fi
   5305 
   5306 		CFLAGS="$CFLAGS -Wnested-externs"
   5307 
   5308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5309 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5310 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5311 		if eval \${$cacheid+:} false; then :
   5312   $as_echo_n "(cached) " >&6
   5313 else
   5314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5315 /* end confdefs.h.  */
   5316 int i;
   5317 int
   5318 main ()
   5319 {
   5320 
   5321   ;
   5322   return 0;
   5323 }
   5324 _ACEOF
   5325 if ac_fn_c_try_link "$LINENO"; then :
   5326   eval $cacheid=yes
   5327 else
   5328   eval $cacheid=no
   5329 fi
   5330 rm -f core conftest.err conftest.$ac_objext \
   5331     conftest$ac_exeext conftest.$ac_ext
   5332 fi
   5333 
   5334 
   5335 		CFLAGS="$xorg_testset_save_CFLAGS"
   5336 
   5337 		eval supported=\$$cacheid
   5338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5339 $as_echo "$supported" >&6; }
   5340 		if test "$supported" = "yes" ; then
   5341 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5342 			found="yes"
   5343 		fi
   5344 	fi
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 xorg_testset_save_CFLAGS="$CFLAGS"
   5361 
   5362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5365 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5366 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5367   $as_echo_n "(cached) " >&6
   5368 else
   5369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5370 /* end confdefs.h.  */
   5371 int i;
   5372 _ACEOF
   5373 if ac_fn_c_try_compile "$LINENO"; then :
   5374   xorg_cv_cc_flag_unknown_warning_option=yes
   5375 else
   5376   xorg_cv_cc_flag_unknown_warning_option=no
   5377 fi
   5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5379 fi
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5381 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5383 	CFLAGS="$xorg_testset_save_CFLAGS"
   5384 fi
   5385 
   5386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5389 	fi
   5390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5392 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5393 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5394   $as_echo_n "(cached) " >&6
   5395 else
   5396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5397 /* end confdefs.h.  */
   5398 int i;
   5399 _ACEOF
   5400 if ac_fn_c_try_compile "$LINENO"; then :
   5401   xorg_cv_cc_flag_unused_command_line_argument=yes
   5402 else
   5403   xorg_cv_cc_flag_unused_command_line_argument=no
   5404 fi
   5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5406 fi
   5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5408 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5410 	CFLAGS="$xorg_testset_save_CFLAGS"
   5411 fi
   5412 
   5413 found="no"
   5414 
   5415 	if test $found = "no" ; then
   5416 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 		fi
   5419 
   5420 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5422 		fi
   5423 
   5424 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5425 
   5426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5427 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5428 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5429 		if eval \${$cacheid+:} false; then :
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 int
   5436 main ()
   5437 {
   5438 
   5439   ;
   5440   return 0;
   5441 }
   5442 _ACEOF
   5443 if ac_fn_c_try_link "$LINENO"; then :
   5444   eval $cacheid=yes
   5445 else
   5446   eval $cacheid=no
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext \
   5449     conftest$ac_exeext conftest.$ac_ext
   5450 fi
   5451 
   5452 
   5453 		CFLAGS="$xorg_testset_save_CFLAGS"
   5454 
   5455 		eval supported=\$$cacheid
   5456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5457 $as_echo "$supported" >&6; }
   5458 		if test "$supported" = "yes" ; then
   5459 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5460 			found="yes"
   5461 		fi
   5462 	fi
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 xorg_testset_save_CFLAGS="$CFLAGS"
   5479 
   5480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5485   $as_echo_n "(cached) " >&6
   5486 else
   5487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5488 /* end confdefs.h.  */
   5489 int i;
   5490 _ACEOF
   5491 if ac_fn_c_try_compile "$LINENO"; then :
   5492   xorg_cv_cc_flag_unknown_warning_option=yes
   5493 else
   5494   xorg_cv_cc_flag_unknown_warning_option=no
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5497 fi
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5501 	CFLAGS="$xorg_testset_save_CFLAGS"
   5502 fi
   5503 
   5504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5507 	fi
   5508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5512   $as_echo_n "(cached) " >&6
   5513 else
   5514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5515 /* end confdefs.h.  */
   5516 int i;
   5517 _ACEOF
   5518 if ac_fn_c_try_compile "$LINENO"; then :
   5519   xorg_cv_cc_flag_unused_command_line_argument=yes
   5520 else
   5521   xorg_cv_cc_flag_unused_command_line_argument=no
   5522 fi
   5523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5524 fi
   5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5528 	CFLAGS="$xorg_testset_save_CFLAGS"
   5529 fi
   5530 
   5531 found="no"
   5532 
   5533 	if test $found = "no" ; then
   5534 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5536 		fi
   5537 
   5538 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5540 		fi
   5541 
   5542 		CFLAGS="$CFLAGS -Wold-style-definition"
   5543 
   5544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5545 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5546 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5547 		if eval \${$cacheid+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 int
   5554 main ()
   5555 {
   5556 
   5557   ;
   5558   return 0;
   5559 }
   5560 _ACEOF
   5561 if ac_fn_c_try_link "$LINENO"; then :
   5562   eval $cacheid=yes
   5563 else
   5564   eval $cacheid=no
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext \
   5567     conftest$ac_exeext conftest.$ac_ext
   5568 fi
   5569 
   5570 
   5571 		CFLAGS="$xorg_testset_save_CFLAGS"
   5572 
   5573 		eval supported=\$$cacheid
   5574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5575 $as_echo "$supported" >&6; }
   5576 		if test "$supported" = "yes" ; then
   5577 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5578 			found="yes"
   5579 		fi
   5580 	fi
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 xorg_testset_save_CFLAGS="$CFLAGS"
   5597 
   5598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5606 /* end confdefs.h.  */
   5607 int i;
   5608 _ACEOF
   5609 if ac_fn_c_try_compile "$LINENO"; then :
   5610   xorg_cv_cc_flag_unknown_warning_option=yes
   5611 else
   5612   xorg_cv_cc_flag_unknown_warning_option=no
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5615 fi
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5619 	CFLAGS="$xorg_testset_save_CFLAGS"
   5620 fi
   5621 
   5622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5625 	fi
   5626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5630   $as_echo_n "(cached) " >&6
   5631 else
   5632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5633 /* end confdefs.h.  */
   5634 int i;
   5635 _ACEOF
   5636 if ac_fn_c_try_compile "$LINENO"; then :
   5637   xorg_cv_cc_flag_unused_command_line_argument=yes
   5638 else
   5639   xorg_cv_cc_flag_unused_command_line_argument=no
   5640 fi
   5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5642 fi
   5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5646 	CFLAGS="$xorg_testset_save_CFLAGS"
   5647 fi
   5648 
   5649 found="no"
   5650 
   5651 	if test $found = "no" ; then
   5652 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5654 		fi
   5655 
   5656 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5658 		fi
   5659 
   5660 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5661 
   5662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5663 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5664 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5665 		if eval \${$cacheid+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 int i;
   5671 int
   5672 main ()
   5673 {
   5674 
   5675   ;
   5676   return 0;
   5677 }
   5678 _ACEOF
   5679 if ac_fn_c_try_link "$LINENO"; then :
   5680   eval $cacheid=yes
   5681 else
   5682   eval $cacheid=no
   5683 fi
   5684 rm -f core conftest.err conftest.$ac_objext \
   5685     conftest$ac_exeext conftest.$ac_ext
   5686 fi
   5687 
   5688 
   5689 		CFLAGS="$xorg_testset_save_CFLAGS"
   5690 
   5691 		eval supported=\$$cacheid
   5692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5693 $as_echo "$supported" >&6; }
   5694 		if test "$supported" = "yes" ; then
   5695 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5696 			found="yes"
   5697 		fi
   5698 	fi
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 # This chunk adds additional warnings that could catch undesired effects.
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 xorg_testset_save_CFLAGS="$CFLAGS"
   5719 
   5720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5723 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5724 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5725   $as_echo_n "(cached) " >&6
   5726 else
   5727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5728 /* end confdefs.h.  */
   5729 int i;
   5730 _ACEOF
   5731 if ac_fn_c_try_compile "$LINENO"; then :
   5732   xorg_cv_cc_flag_unknown_warning_option=yes
   5733 else
   5734   xorg_cv_cc_flag_unknown_warning_option=no
   5735 fi
   5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5737 fi
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5739 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5741 	CFLAGS="$xorg_testset_save_CFLAGS"
   5742 fi
   5743 
   5744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5747 	fi
   5748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5750 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5751 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5752   $as_echo_n "(cached) " >&6
   5753 else
   5754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5755 /* end confdefs.h.  */
   5756 int i;
   5757 _ACEOF
   5758 if ac_fn_c_try_compile "$LINENO"; then :
   5759   xorg_cv_cc_flag_unused_command_line_argument=yes
   5760 else
   5761   xorg_cv_cc_flag_unused_command_line_argument=no
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5764 fi
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5766 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5768 	CFLAGS="$xorg_testset_save_CFLAGS"
   5769 fi
   5770 
   5771 found="no"
   5772 
   5773 	if test $found = "no" ; then
   5774 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5776 		fi
   5777 
   5778 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5780 		fi
   5781 
   5782 		CFLAGS="$CFLAGS -Wunused"
   5783 
   5784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5785 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5786 		cacheid=xorg_cv_cc_flag__Wunused
   5787 		if eval \${$cacheid+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5791 /* end confdefs.h.  */
   5792 int i;
   5793 int
   5794 main ()
   5795 {
   5796 
   5797   ;
   5798   return 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_link "$LINENO"; then :
   5802   eval $cacheid=yes
   5803 else
   5804   eval $cacheid=no
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext \
   5807     conftest$ac_exeext conftest.$ac_ext
   5808 fi
   5809 
   5810 
   5811 		CFLAGS="$xorg_testset_save_CFLAGS"
   5812 
   5813 		eval supported=\$$cacheid
   5814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5815 $as_echo "$supported" >&6; }
   5816 		if test "$supported" = "yes" ; then
   5817 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5818 			found="yes"
   5819 		fi
   5820 	fi
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 xorg_testset_save_CFLAGS="$CFLAGS"
   5837 
   5838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5841 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5842 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5846 /* end confdefs.h.  */
   5847 int i;
   5848 _ACEOF
   5849 if ac_fn_c_try_compile "$LINENO"; then :
   5850   xorg_cv_cc_flag_unknown_warning_option=yes
   5851 else
   5852   xorg_cv_cc_flag_unknown_warning_option=no
   5853 fi
   5854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5855 fi
   5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5857 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5859 	CFLAGS="$xorg_testset_save_CFLAGS"
   5860 fi
   5861 
   5862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5865 	fi
   5866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5868 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5869 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5870   $as_echo_n "(cached) " >&6
   5871 else
   5872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5873 /* end confdefs.h.  */
   5874 int i;
   5875 _ACEOF
   5876 if ac_fn_c_try_compile "$LINENO"; then :
   5877   xorg_cv_cc_flag_unused_command_line_argument=yes
   5878 else
   5879   xorg_cv_cc_flag_unused_command_line_argument=no
   5880 fi
   5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5882 fi
   5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5884 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5885 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5886 	CFLAGS="$xorg_testset_save_CFLAGS"
   5887 fi
   5888 
   5889 found="no"
   5890 
   5891 	if test $found = "no" ; then
   5892 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5894 		fi
   5895 
   5896 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5898 		fi
   5899 
   5900 		CFLAGS="$CFLAGS -Wuninitialized"
   5901 
   5902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5903 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5904 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5905 		if eval \${$cacheid+:} false; then :
   5906   $as_echo_n "(cached) " >&6
   5907 else
   5908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5909 /* end confdefs.h.  */
   5910 int i;
   5911 int
   5912 main ()
   5913 {
   5914 
   5915   ;
   5916   return 0;
   5917 }
   5918 _ACEOF
   5919 if ac_fn_c_try_link "$LINENO"; then :
   5920   eval $cacheid=yes
   5921 else
   5922   eval $cacheid=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext \
   5925     conftest$ac_exeext conftest.$ac_ext
   5926 fi
   5927 
   5928 
   5929 		CFLAGS="$xorg_testset_save_CFLAGS"
   5930 
   5931 		eval supported=\$$cacheid
   5932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5933 $as_echo "$supported" >&6; }
   5934 		if test "$supported" = "yes" ; then
   5935 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5936 			found="yes"
   5937 		fi
   5938 	fi
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 xorg_testset_save_CFLAGS="$CFLAGS"
   5955 
   5956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5959 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5960 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5961   $as_echo_n "(cached) " >&6
   5962 else
   5963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5964 /* end confdefs.h.  */
   5965 int i;
   5966 _ACEOF
   5967 if ac_fn_c_try_compile "$LINENO"; then :
   5968   xorg_cv_cc_flag_unknown_warning_option=yes
   5969 else
   5970   xorg_cv_cc_flag_unknown_warning_option=no
   5971 fi
   5972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5973 fi
   5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5975 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5977 	CFLAGS="$xorg_testset_save_CFLAGS"
   5978 fi
   5979 
   5980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5983 	fi
   5984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5986 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5987 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5988   $as_echo_n "(cached) " >&6
   5989 else
   5990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5991 /* end confdefs.h.  */
   5992 int i;
   5993 _ACEOF
   5994 if ac_fn_c_try_compile "$LINENO"; then :
   5995   xorg_cv_cc_flag_unused_command_line_argument=yes
   5996 else
   5997   xorg_cv_cc_flag_unused_command_line_argument=no
   5998 fi
   5999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6000 fi
   6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6002 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6004 	CFLAGS="$xorg_testset_save_CFLAGS"
   6005 fi
   6006 
   6007 found="no"
   6008 
   6009 	if test $found = "no" ; then
   6010 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6012 		fi
   6013 
   6014 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6016 		fi
   6017 
   6018 		CFLAGS="$CFLAGS -Wshadow"
   6019 
   6020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6021 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6022 		cacheid=xorg_cv_cc_flag__Wshadow
   6023 		if eval \${$cacheid+:} false; then :
   6024   $as_echo_n "(cached) " >&6
   6025 else
   6026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6027 /* end confdefs.h.  */
   6028 int i;
   6029 int
   6030 main ()
   6031 {
   6032 
   6033   ;
   6034   return 0;
   6035 }
   6036 _ACEOF
   6037 if ac_fn_c_try_link "$LINENO"; then :
   6038   eval $cacheid=yes
   6039 else
   6040   eval $cacheid=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext \
   6043     conftest$ac_exeext conftest.$ac_ext
   6044 fi
   6045 
   6046 
   6047 		CFLAGS="$xorg_testset_save_CFLAGS"
   6048 
   6049 		eval supported=\$$cacheid
   6050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6051 $as_echo "$supported" >&6; }
   6052 		if test "$supported" = "yes" ; then
   6053 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6054 			found="yes"
   6055 		fi
   6056 	fi
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 xorg_testset_save_CFLAGS="$CFLAGS"
   6073 
   6074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6077 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6078 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6079   $as_echo_n "(cached) " >&6
   6080 else
   6081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6082 /* end confdefs.h.  */
   6083 int i;
   6084 _ACEOF
   6085 if ac_fn_c_try_compile "$LINENO"; then :
   6086   xorg_cv_cc_flag_unknown_warning_option=yes
   6087 else
   6088   xorg_cv_cc_flag_unknown_warning_option=no
   6089 fi
   6090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6091 fi
   6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6093 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6095 	CFLAGS="$xorg_testset_save_CFLAGS"
   6096 fi
   6097 
   6098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6101 	fi
   6102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6104 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6105 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6106   $as_echo_n "(cached) " >&6
   6107 else
   6108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6109 /* end confdefs.h.  */
   6110 int i;
   6111 _ACEOF
   6112 if ac_fn_c_try_compile "$LINENO"; then :
   6113   xorg_cv_cc_flag_unused_command_line_argument=yes
   6114 else
   6115   xorg_cv_cc_flag_unused_command_line_argument=no
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6118 fi
   6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6120 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6122 	CFLAGS="$xorg_testset_save_CFLAGS"
   6123 fi
   6124 
   6125 found="no"
   6126 
   6127 	if test $found = "no" ; then
   6128 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6130 		fi
   6131 
   6132 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6134 		fi
   6135 
   6136 		CFLAGS="$CFLAGS -Wcast-qual"
   6137 
   6138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6139 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6140 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6141 		if eval \${$cacheid+:} false; then :
   6142   $as_echo_n "(cached) " >&6
   6143 else
   6144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6145 /* end confdefs.h.  */
   6146 int i;
   6147 int
   6148 main ()
   6149 {
   6150 
   6151   ;
   6152   return 0;
   6153 }
   6154 _ACEOF
   6155 if ac_fn_c_try_link "$LINENO"; then :
   6156   eval $cacheid=yes
   6157 else
   6158   eval $cacheid=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext \
   6161     conftest$ac_exeext conftest.$ac_ext
   6162 fi
   6163 
   6164 
   6165 		CFLAGS="$xorg_testset_save_CFLAGS"
   6166 
   6167 		eval supported=\$$cacheid
   6168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6169 $as_echo "$supported" >&6; }
   6170 		if test "$supported" = "yes" ; then
   6171 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6172 			found="yes"
   6173 		fi
   6174 	fi
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 xorg_testset_save_CFLAGS="$CFLAGS"
   6191 
   6192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6195 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6196 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6197   $as_echo_n "(cached) " >&6
   6198 else
   6199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6200 /* end confdefs.h.  */
   6201 int i;
   6202 _ACEOF
   6203 if ac_fn_c_try_compile "$LINENO"; then :
   6204   xorg_cv_cc_flag_unknown_warning_option=yes
   6205 else
   6206   xorg_cv_cc_flag_unknown_warning_option=no
   6207 fi
   6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6209 fi
   6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6211 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6213 	CFLAGS="$xorg_testset_save_CFLAGS"
   6214 fi
   6215 
   6216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6219 	fi
   6220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6222 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6223 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6224   $as_echo_n "(cached) " >&6
   6225 else
   6226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6227 /* end confdefs.h.  */
   6228 int i;
   6229 _ACEOF
   6230 if ac_fn_c_try_compile "$LINENO"; then :
   6231   xorg_cv_cc_flag_unused_command_line_argument=yes
   6232 else
   6233   xorg_cv_cc_flag_unused_command_line_argument=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6236 fi
   6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6238 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6240 	CFLAGS="$xorg_testset_save_CFLAGS"
   6241 fi
   6242 
   6243 found="no"
   6244 
   6245 	if test $found = "no" ; then
   6246 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 		fi
   6249 
   6250 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6252 		fi
   6253 
   6254 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6255 
   6256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6257 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6258 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6259 		if eval \${$cacheid+:} false; then :
   6260   $as_echo_n "(cached) " >&6
   6261 else
   6262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6263 /* end confdefs.h.  */
   6264 int i;
   6265 int
   6266 main ()
   6267 {
   6268 
   6269   ;
   6270   return 0;
   6271 }
   6272 _ACEOF
   6273 if ac_fn_c_try_link "$LINENO"; then :
   6274   eval $cacheid=yes
   6275 else
   6276   eval $cacheid=no
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext \
   6279     conftest$ac_exeext conftest.$ac_ext
   6280 fi
   6281 
   6282 
   6283 		CFLAGS="$xorg_testset_save_CFLAGS"
   6284 
   6285 		eval supported=\$$cacheid
   6286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6287 $as_echo "$supported" >&6; }
   6288 		if test "$supported" = "yes" ; then
   6289 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6290 			found="yes"
   6291 		fi
   6292 	fi
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 xorg_testset_save_CFLAGS="$CFLAGS"
   6309 
   6310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6314 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6318 /* end confdefs.h.  */
   6319 int i;
   6320 _ACEOF
   6321 if ac_fn_c_try_compile "$LINENO"; then :
   6322   xorg_cv_cc_flag_unknown_warning_option=yes
   6323 else
   6324   xorg_cv_cc_flag_unknown_warning_option=no
   6325 fi
   6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6327 fi
   6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6329 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6331 	CFLAGS="$xorg_testset_save_CFLAGS"
   6332 fi
   6333 
   6334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6337 	fi
   6338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6340 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6341 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6342   $as_echo_n "(cached) " >&6
   6343 else
   6344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6345 /* end confdefs.h.  */
   6346 int i;
   6347 _ACEOF
   6348 if ac_fn_c_try_compile "$LINENO"; then :
   6349   xorg_cv_cc_flag_unused_command_line_argument=yes
   6350 else
   6351   xorg_cv_cc_flag_unused_command_line_argument=no
   6352 fi
   6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6354 fi
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6356 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6358 	CFLAGS="$xorg_testset_save_CFLAGS"
   6359 fi
   6360 
   6361 found="no"
   6362 
   6363 	if test $found = "no" ; then
   6364 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6366 		fi
   6367 
   6368 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6370 		fi
   6371 
   6372 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6373 
   6374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6375 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6376 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6377 		if eval \${$cacheid+:} false; then :
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6381 /* end confdefs.h.  */
   6382 int i;
   6383 int
   6384 main ()
   6385 {
   6386 
   6387   ;
   6388   return 0;
   6389 }
   6390 _ACEOF
   6391 if ac_fn_c_try_link "$LINENO"; then :
   6392   eval $cacheid=yes
   6393 else
   6394   eval $cacheid=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext \
   6397     conftest$ac_exeext conftest.$ac_ext
   6398 fi
   6399 
   6400 
   6401 		CFLAGS="$xorg_testset_save_CFLAGS"
   6402 
   6403 		eval supported=\$$cacheid
   6404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6405 $as_echo "$supported" >&6; }
   6406 		if test "$supported" = "yes" ; then
   6407 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6408 			found="yes"
   6409 		fi
   6410 	fi
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 xorg_testset_save_CFLAGS="$CFLAGS"
   6427 
   6428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6433   $as_echo_n "(cached) " >&6
   6434 else
   6435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6436 /* end confdefs.h.  */
   6437 int i;
   6438 _ACEOF
   6439 if ac_fn_c_try_compile "$LINENO"; then :
   6440   xorg_cv_cc_flag_unknown_warning_option=yes
   6441 else
   6442   xorg_cv_cc_flag_unknown_warning_option=no
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6445 fi
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6449 	CFLAGS="$xorg_testset_save_CFLAGS"
   6450 fi
   6451 
   6452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	fi
   6456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6460   $as_echo_n "(cached) " >&6
   6461 else
   6462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6463 /* end confdefs.h.  */
   6464 int i;
   6465 _ACEOF
   6466 if ac_fn_c_try_compile "$LINENO"; then :
   6467   xorg_cv_cc_flag_unused_command_line_argument=yes
   6468 else
   6469   xorg_cv_cc_flag_unused_command_line_argument=no
   6470 fi
   6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6472 fi
   6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6476 	CFLAGS="$xorg_testset_save_CFLAGS"
   6477 fi
   6478 
   6479 found="no"
   6480 
   6481 	if test $found = "no" ; then
   6482 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 		fi
   6485 
   6486 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6488 		fi
   6489 
   6490 		CFLAGS="$CFLAGS -Wredundant-decls"
   6491 
   6492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6493 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6494 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6495 		if eval \${$cacheid+:} false; then :
   6496   $as_echo_n "(cached) " >&6
   6497 else
   6498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6499 /* end confdefs.h.  */
   6500 int i;
   6501 int
   6502 main ()
   6503 {
   6504 
   6505   ;
   6506   return 0;
   6507 }
   6508 _ACEOF
   6509 if ac_fn_c_try_link "$LINENO"; then :
   6510   eval $cacheid=yes
   6511 else
   6512   eval $cacheid=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext \
   6515     conftest$ac_exeext conftest.$ac_ext
   6516 fi
   6517 
   6518 
   6519 		CFLAGS="$xorg_testset_save_CFLAGS"
   6520 
   6521 		eval supported=\$$cacheid
   6522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6523 $as_echo "$supported" >&6; }
   6524 		if test "$supported" = "yes" ; then
   6525 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6526 			found="yes"
   6527 		fi
   6528 	fi
   6529 
   6530 
   6531 
   6532 # These are currently disabled because they are noisy.  They will be enabled
   6533 # in the future once the codebase is sufficiently modernized to silence
   6534 # them.  For now, I don't want them to drown out the other warnings.
   6535 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6536 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6537 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6538 
   6539 # Turn some warnings into errors, so we don't accidently get successful builds
   6540 # when there are problems that should be fixed.
   6541 
   6542 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 xorg_testset_save_CFLAGS="$CFLAGS"
   6557 
   6558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6563   $as_echo_n "(cached) " >&6
   6564 else
   6565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6566 /* end confdefs.h.  */
   6567 int i;
   6568 _ACEOF
   6569 if ac_fn_c_try_compile "$LINENO"; then :
   6570   xorg_cv_cc_flag_unknown_warning_option=yes
   6571 else
   6572   xorg_cv_cc_flag_unknown_warning_option=no
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6575 fi
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6579 	CFLAGS="$xorg_testset_save_CFLAGS"
   6580 fi
   6581 
   6582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 	fi
   6586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6590   $as_echo_n "(cached) " >&6
   6591 else
   6592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6593 /* end confdefs.h.  */
   6594 int i;
   6595 _ACEOF
   6596 if ac_fn_c_try_compile "$LINENO"; then :
   6597   xorg_cv_cc_flag_unused_command_line_argument=yes
   6598 else
   6599   xorg_cv_cc_flag_unused_command_line_argument=no
   6600 fi
   6601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6602 fi
   6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6606 	CFLAGS="$xorg_testset_save_CFLAGS"
   6607 fi
   6608 
   6609 found="no"
   6610 
   6611 	if test $found = "no" ; then
   6612 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6614 		fi
   6615 
   6616 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6618 		fi
   6619 
   6620 		CFLAGS="$CFLAGS -Werror=implicit"
   6621 
   6622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6623 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6624 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6625 		if eval \${$cacheid+:} false; then :
   6626   $as_echo_n "(cached) " >&6
   6627 else
   6628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6629 /* end confdefs.h.  */
   6630 int i;
   6631 int
   6632 main ()
   6633 {
   6634 
   6635   ;
   6636   return 0;
   6637 }
   6638 _ACEOF
   6639 if ac_fn_c_try_link "$LINENO"; then :
   6640   eval $cacheid=yes
   6641 else
   6642   eval $cacheid=no
   6643 fi
   6644 rm -f core conftest.err conftest.$ac_objext \
   6645     conftest$ac_exeext conftest.$ac_ext
   6646 fi
   6647 
   6648 
   6649 		CFLAGS="$xorg_testset_save_CFLAGS"
   6650 
   6651 		eval supported=\$$cacheid
   6652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6653 $as_echo "$supported" >&6; }
   6654 		if test "$supported" = "yes" ; then
   6655 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6656 			found="yes"
   6657 		fi
   6658 	fi
   6659 
   6660 	if test $found = "no" ; then
   6661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6663 		fi
   6664 
   6665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6667 		fi
   6668 
   6669 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6670 
   6671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6672 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6673 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6674 		if eval \${$cacheid+:} false; then :
   6675   $as_echo_n "(cached) " >&6
   6676 else
   6677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6678 /* end confdefs.h.  */
   6679 int i;
   6680 int
   6681 main ()
   6682 {
   6683 
   6684   ;
   6685   return 0;
   6686 }
   6687 _ACEOF
   6688 if ac_fn_c_try_link "$LINENO"; then :
   6689   eval $cacheid=yes
   6690 else
   6691   eval $cacheid=no
   6692 fi
   6693 rm -f core conftest.err conftest.$ac_objext \
   6694     conftest$ac_exeext conftest.$ac_ext
   6695 fi
   6696 
   6697 
   6698 		CFLAGS="$xorg_testset_save_CFLAGS"
   6699 
   6700 		eval supported=\$$cacheid
   6701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6702 $as_echo "$supported" >&6; }
   6703 		if test "$supported" = "yes" ; then
   6704 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6705 			found="yes"
   6706 		fi
   6707 	fi
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 xorg_testset_save_CFLAGS="$CFLAGS"
   6724 
   6725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6730   $as_echo_n "(cached) " >&6
   6731 else
   6732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6733 /* end confdefs.h.  */
   6734 int i;
   6735 _ACEOF
   6736 if ac_fn_c_try_compile "$LINENO"; then :
   6737   xorg_cv_cc_flag_unknown_warning_option=yes
   6738 else
   6739   xorg_cv_cc_flag_unknown_warning_option=no
   6740 fi
   6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6742 fi
   6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6746 	CFLAGS="$xorg_testset_save_CFLAGS"
   6747 fi
   6748 
   6749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6752 	fi
   6753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6757   $as_echo_n "(cached) " >&6
   6758 else
   6759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6760 /* end confdefs.h.  */
   6761 int i;
   6762 _ACEOF
   6763 if ac_fn_c_try_compile "$LINENO"; then :
   6764   xorg_cv_cc_flag_unused_command_line_argument=yes
   6765 else
   6766   xorg_cv_cc_flag_unused_command_line_argument=no
   6767 fi
   6768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6769 fi
   6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6773 	CFLAGS="$xorg_testset_save_CFLAGS"
   6774 fi
   6775 
   6776 found="no"
   6777 
   6778 	if test $found = "no" ; then
   6779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6781 		fi
   6782 
   6783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6785 		fi
   6786 
   6787 		CFLAGS="$CFLAGS -Werror=nonnull"
   6788 
   6789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6790 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6791 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6792 		if eval \${$cacheid+:} false; then :
   6793   $as_echo_n "(cached) " >&6
   6794 else
   6795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6796 /* end confdefs.h.  */
   6797 int i;
   6798 int
   6799 main ()
   6800 {
   6801 
   6802   ;
   6803   return 0;
   6804 }
   6805 _ACEOF
   6806 if ac_fn_c_try_link "$LINENO"; then :
   6807   eval $cacheid=yes
   6808 else
   6809   eval $cacheid=no
   6810 fi
   6811 rm -f core conftest.err conftest.$ac_objext \
   6812     conftest$ac_exeext conftest.$ac_ext
   6813 fi
   6814 
   6815 
   6816 		CFLAGS="$xorg_testset_save_CFLAGS"
   6817 
   6818 		eval supported=\$$cacheid
   6819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6820 $as_echo "$supported" >&6; }
   6821 		if test "$supported" = "yes" ; then
   6822 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6823 			found="yes"
   6824 		fi
   6825 	fi
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 xorg_testset_save_CFLAGS="$CFLAGS"
   6842 
   6843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6851 /* end confdefs.h.  */
   6852 int i;
   6853 _ACEOF
   6854 if ac_fn_c_try_compile "$LINENO"; then :
   6855   xorg_cv_cc_flag_unknown_warning_option=yes
   6856 else
   6857   xorg_cv_cc_flag_unknown_warning_option=no
   6858 fi
   6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6860 fi
   6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6864 	CFLAGS="$xorg_testset_save_CFLAGS"
   6865 fi
   6866 
   6867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6870 	fi
   6871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6875   $as_echo_n "(cached) " >&6
   6876 else
   6877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6878 /* end confdefs.h.  */
   6879 int i;
   6880 _ACEOF
   6881 if ac_fn_c_try_compile "$LINENO"; then :
   6882   xorg_cv_cc_flag_unused_command_line_argument=yes
   6883 else
   6884   xorg_cv_cc_flag_unused_command_line_argument=no
   6885 fi
   6886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6887 fi
   6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6891 	CFLAGS="$xorg_testset_save_CFLAGS"
   6892 fi
   6893 
   6894 found="no"
   6895 
   6896 	if test $found = "no" ; then
   6897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6899 		fi
   6900 
   6901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6903 		fi
   6904 
   6905 		CFLAGS="$CFLAGS -Werror=init-self"
   6906 
   6907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6908 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6909 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6910 		if eval \${$cacheid+:} false; then :
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6914 /* end confdefs.h.  */
   6915 int i;
   6916 int
   6917 main ()
   6918 {
   6919 
   6920   ;
   6921   return 0;
   6922 }
   6923 _ACEOF
   6924 if ac_fn_c_try_link "$LINENO"; then :
   6925   eval $cacheid=yes
   6926 else
   6927   eval $cacheid=no
   6928 fi
   6929 rm -f core conftest.err conftest.$ac_objext \
   6930     conftest$ac_exeext conftest.$ac_ext
   6931 fi
   6932 
   6933 
   6934 		CFLAGS="$xorg_testset_save_CFLAGS"
   6935 
   6936 		eval supported=\$$cacheid
   6937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6938 $as_echo "$supported" >&6; }
   6939 		if test "$supported" = "yes" ; then
   6940 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6941 			found="yes"
   6942 		fi
   6943 	fi
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 xorg_testset_save_CFLAGS="$CFLAGS"
   6960 
   6961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6966   $as_echo_n "(cached) " >&6
   6967 else
   6968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6969 /* end confdefs.h.  */
   6970 int i;
   6971 _ACEOF
   6972 if ac_fn_c_try_compile "$LINENO"; then :
   6973   xorg_cv_cc_flag_unknown_warning_option=yes
   6974 else
   6975   xorg_cv_cc_flag_unknown_warning_option=no
   6976 fi
   6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6978 fi
   6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6982 	CFLAGS="$xorg_testset_save_CFLAGS"
   6983 fi
   6984 
   6985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 	fi
   6989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6993   $as_echo_n "(cached) " >&6
   6994 else
   6995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6996 /* end confdefs.h.  */
   6997 int i;
   6998 _ACEOF
   6999 if ac_fn_c_try_compile "$LINENO"; then :
   7000   xorg_cv_cc_flag_unused_command_line_argument=yes
   7001 else
   7002   xorg_cv_cc_flag_unused_command_line_argument=no
   7003 fi
   7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7005 fi
   7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7009 	CFLAGS="$xorg_testset_save_CFLAGS"
   7010 fi
   7011 
   7012 found="no"
   7013 
   7014 	if test $found = "no" ; then
   7015 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7017 		fi
   7018 
   7019 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7021 		fi
   7022 
   7023 		CFLAGS="$CFLAGS -Werror=main"
   7024 
   7025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7026 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7027 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7028 		if eval \${$cacheid+:} false; then :
   7029   $as_echo_n "(cached) " >&6
   7030 else
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 int i;
   7034 int
   7035 main ()
   7036 {
   7037 
   7038   ;
   7039   return 0;
   7040 }
   7041 _ACEOF
   7042 if ac_fn_c_try_link "$LINENO"; then :
   7043   eval $cacheid=yes
   7044 else
   7045   eval $cacheid=no
   7046 fi
   7047 rm -f core conftest.err conftest.$ac_objext \
   7048     conftest$ac_exeext conftest.$ac_ext
   7049 fi
   7050 
   7051 
   7052 		CFLAGS="$xorg_testset_save_CFLAGS"
   7053 
   7054 		eval supported=\$$cacheid
   7055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7056 $as_echo "$supported" >&6; }
   7057 		if test "$supported" = "yes" ; then
   7058 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7059 			found="yes"
   7060 		fi
   7061 	fi
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 xorg_testset_save_CFLAGS="$CFLAGS"
   7078 
   7079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7084   $as_echo_n "(cached) " >&6
   7085 else
   7086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7087 /* end confdefs.h.  */
   7088 int i;
   7089 _ACEOF
   7090 if ac_fn_c_try_compile "$LINENO"; then :
   7091   xorg_cv_cc_flag_unknown_warning_option=yes
   7092 else
   7093   xorg_cv_cc_flag_unknown_warning_option=no
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7096 fi
   7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7100 	CFLAGS="$xorg_testset_save_CFLAGS"
   7101 fi
   7102 
   7103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 	fi
   7107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7111   $as_echo_n "(cached) " >&6
   7112 else
   7113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 int i;
   7116 _ACEOF
   7117 if ac_fn_c_try_compile "$LINENO"; then :
   7118   xorg_cv_cc_flag_unused_command_line_argument=yes
   7119 else
   7120   xorg_cv_cc_flag_unused_command_line_argument=no
   7121 fi
   7122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7123 fi
   7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7127 	CFLAGS="$xorg_testset_save_CFLAGS"
   7128 fi
   7129 
   7130 found="no"
   7131 
   7132 	if test $found = "no" ; then
   7133 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7135 		fi
   7136 
   7137 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7139 		fi
   7140 
   7141 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7142 
   7143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7144 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7145 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7146 		if eval \${$cacheid+:} false; then :
   7147   $as_echo_n "(cached) " >&6
   7148 else
   7149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 int i;
   7152 int
   7153 main ()
   7154 {
   7155 
   7156   ;
   7157   return 0;
   7158 }
   7159 _ACEOF
   7160 if ac_fn_c_try_link "$LINENO"; then :
   7161   eval $cacheid=yes
   7162 else
   7163   eval $cacheid=no
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext \
   7166     conftest$ac_exeext conftest.$ac_ext
   7167 fi
   7168 
   7169 
   7170 		CFLAGS="$xorg_testset_save_CFLAGS"
   7171 
   7172 		eval supported=\$$cacheid
   7173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7174 $as_echo "$supported" >&6; }
   7175 		if test "$supported" = "yes" ; then
   7176 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7177 			found="yes"
   7178 		fi
   7179 	fi
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 xorg_testset_save_CFLAGS="$CFLAGS"
   7196 
   7197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7202   $as_echo_n "(cached) " >&6
   7203 else
   7204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7205 /* end confdefs.h.  */
   7206 int i;
   7207 _ACEOF
   7208 if ac_fn_c_try_compile "$LINENO"; then :
   7209   xorg_cv_cc_flag_unknown_warning_option=yes
   7210 else
   7211   xorg_cv_cc_flag_unknown_warning_option=no
   7212 fi
   7213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7214 fi
   7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7218 	CFLAGS="$xorg_testset_save_CFLAGS"
   7219 fi
   7220 
   7221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7224 	fi
   7225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7229   $as_echo_n "(cached) " >&6
   7230 else
   7231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7232 /* end confdefs.h.  */
   7233 int i;
   7234 _ACEOF
   7235 if ac_fn_c_try_compile "$LINENO"; then :
   7236   xorg_cv_cc_flag_unused_command_line_argument=yes
   7237 else
   7238   xorg_cv_cc_flag_unused_command_line_argument=no
   7239 fi
   7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7241 fi
   7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7245 	CFLAGS="$xorg_testset_save_CFLAGS"
   7246 fi
   7247 
   7248 found="no"
   7249 
   7250 	if test $found = "no" ; then
   7251 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 		fi
   7254 
   7255 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7257 		fi
   7258 
   7259 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7260 
   7261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7262 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7263 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7264 		if eval \${$cacheid+:} false; then :
   7265   $as_echo_n "(cached) " >&6
   7266 else
   7267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7268 /* end confdefs.h.  */
   7269 int i;
   7270 int
   7271 main ()
   7272 {
   7273 
   7274   ;
   7275   return 0;
   7276 }
   7277 _ACEOF
   7278 if ac_fn_c_try_link "$LINENO"; then :
   7279   eval $cacheid=yes
   7280 else
   7281   eval $cacheid=no
   7282 fi
   7283 rm -f core conftest.err conftest.$ac_objext \
   7284     conftest$ac_exeext conftest.$ac_ext
   7285 fi
   7286 
   7287 
   7288 		CFLAGS="$xorg_testset_save_CFLAGS"
   7289 
   7290 		eval supported=\$$cacheid
   7291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7292 $as_echo "$supported" >&6; }
   7293 		if test "$supported" = "yes" ; then
   7294 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7295 			found="yes"
   7296 		fi
   7297 	fi
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 xorg_testset_save_CFLAGS="$CFLAGS"
   7314 
   7315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7320   $as_echo_n "(cached) " >&6
   7321 else
   7322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7323 /* end confdefs.h.  */
   7324 int i;
   7325 _ACEOF
   7326 if ac_fn_c_try_compile "$LINENO"; then :
   7327   xorg_cv_cc_flag_unknown_warning_option=yes
   7328 else
   7329   xorg_cv_cc_flag_unknown_warning_option=no
   7330 fi
   7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7332 fi
   7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7336 	CFLAGS="$xorg_testset_save_CFLAGS"
   7337 fi
   7338 
   7339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7342 	fi
   7343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7347   $as_echo_n "(cached) " >&6
   7348 else
   7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 int i;
   7352 _ACEOF
   7353 if ac_fn_c_try_compile "$LINENO"; then :
   7354   xorg_cv_cc_flag_unused_command_line_argument=yes
   7355 else
   7356   xorg_cv_cc_flag_unused_command_line_argument=no
   7357 fi
   7358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7359 fi
   7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7363 	CFLAGS="$xorg_testset_save_CFLAGS"
   7364 fi
   7365 
   7366 found="no"
   7367 
   7368 	if test $found = "no" ; then
   7369 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7371 		fi
   7372 
   7373 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7375 		fi
   7376 
   7377 		CFLAGS="$CFLAGS -Werror=return-type"
   7378 
   7379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7380 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7381 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7382 		if eval \${$cacheid+:} false; then :
   7383   $as_echo_n "(cached) " >&6
   7384 else
   7385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7386 /* end confdefs.h.  */
   7387 int i;
   7388 int
   7389 main ()
   7390 {
   7391 
   7392   ;
   7393   return 0;
   7394 }
   7395 _ACEOF
   7396 if ac_fn_c_try_link "$LINENO"; then :
   7397   eval $cacheid=yes
   7398 else
   7399   eval $cacheid=no
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext \
   7402     conftest$ac_exeext conftest.$ac_ext
   7403 fi
   7404 
   7405 
   7406 		CFLAGS="$xorg_testset_save_CFLAGS"
   7407 
   7408 		eval supported=\$$cacheid
   7409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7410 $as_echo "$supported" >&6; }
   7411 		if test "$supported" = "yes" ; then
   7412 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7413 			found="yes"
   7414 		fi
   7415 	fi
   7416 
   7417 	if test $found = "no" ; then
   7418 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7420 		fi
   7421 
   7422 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7424 		fi
   7425 
   7426 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7427 
   7428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7429 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7430 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7431 		if eval \${$cacheid+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 int
   7438 main ()
   7439 {
   7440 
   7441   ;
   7442   return 0;
   7443 }
   7444 _ACEOF
   7445 if ac_fn_c_try_link "$LINENO"; then :
   7446   eval $cacheid=yes
   7447 else
   7448   eval $cacheid=no
   7449 fi
   7450 rm -f core conftest.err conftest.$ac_objext \
   7451     conftest$ac_exeext conftest.$ac_ext
   7452 fi
   7453 
   7454 
   7455 		CFLAGS="$xorg_testset_save_CFLAGS"
   7456 
   7457 		eval supported=\$$cacheid
   7458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7459 $as_echo "$supported" >&6; }
   7460 		if test "$supported" = "yes" ; then
   7461 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7462 			found="yes"
   7463 		fi
   7464 	fi
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 xorg_testset_save_CFLAGS="$CFLAGS"
   7481 
   7482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 _ACEOF
   7493 if ac_fn_c_try_compile "$LINENO"; then :
   7494   xorg_cv_cc_flag_unknown_warning_option=yes
   7495 else
   7496   xorg_cv_cc_flag_unknown_warning_option=no
   7497 fi
   7498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7499 fi
   7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7503 	CFLAGS="$xorg_testset_save_CFLAGS"
   7504 fi
   7505 
   7506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7509 	fi
   7510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7514   $as_echo_n "(cached) " >&6
   7515 else
   7516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7517 /* end confdefs.h.  */
   7518 int i;
   7519 _ACEOF
   7520 if ac_fn_c_try_compile "$LINENO"; then :
   7521   xorg_cv_cc_flag_unused_command_line_argument=yes
   7522 else
   7523   xorg_cv_cc_flag_unused_command_line_argument=no
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7526 fi
   7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7530 	CFLAGS="$xorg_testset_save_CFLAGS"
   7531 fi
   7532 
   7533 found="no"
   7534 
   7535 	if test $found = "no" ; then
   7536 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7538 		fi
   7539 
   7540 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7542 		fi
   7543 
   7544 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7545 
   7546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7547 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7548 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7549 		if eval \${$cacheid+:} false; then :
   7550   $as_echo_n "(cached) " >&6
   7551 else
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 int
   7556 main ()
   7557 {
   7558 
   7559   ;
   7560   return 0;
   7561 }
   7562 _ACEOF
   7563 if ac_fn_c_try_link "$LINENO"; then :
   7564   eval $cacheid=yes
   7565 else
   7566   eval $cacheid=no
   7567 fi
   7568 rm -f core conftest.err conftest.$ac_objext \
   7569     conftest$ac_exeext conftest.$ac_ext
   7570 fi
   7571 
   7572 
   7573 		CFLAGS="$xorg_testset_save_CFLAGS"
   7574 
   7575 		eval supported=\$$cacheid
   7576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7577 $as_echo "$supported" >&6; }
   7578 		if test "$supported" = "yes" ; then
   7579 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7580 			found="yes"
   7581 		fi
   7582 	fi
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 xorg_testset_save_CFLAGS="$CFLAGS"
   7599 
   7600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 int i;
   7610 _ACEOF
   7611 if ac_fn_c_try_compile "$LINENO"; then :
   7612   xorg_cv_cc_flag_unknown_warning_option=yes
   7613 else
   7614   xorg_cv_cc_flag_unknown_warning_option=no
   7615 fi
   7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7617 fi
   7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7621 	CFLAGS="$xorg_testset_save_CFLAGS"
   7622 fi
   7623 
   7624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7627 	fi
   7628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7635 /* end confdefs.h.  */
   7636 int i;
   7637 _ACEOF
   7638 if ac_fn_c_try_compile "$LINENO"; then :
   7639   xorg_cv_cc_flag_unused_command_line_argument=yes
   7640 else
   7641   xorg_cv_cc_flag_unused_command_line_argument=no
   7642 fi
   7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7644 fi
   7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7648 	CFLAGS="$xorg_testset_save_CFLAGS"
   7649 fi
   7650 
   7651 found="no"
   7652 
   7653 	if test $found = "no" ; then
   7654 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7656 		fi
   7657 
   7658 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7660 		fi
   7661 
   7662 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7663 
   7664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7665 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7666 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7667 		if eval \${$cacheid+:} false; then :
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7671 /* end confdefs.h.  */
   7672 int i;
   7673 int
   7674 main ()
   7675 {
   7676 
   7677   ;
   7678   return 0;
   7679 }
   7680 _ACEOF
   7681 if ac_fn_c_try_link "$LINENO"; then :
   7682   eval $cacheid=yes
   7683 else
   7684   eval $cacheid=no
   7685 fi
   7686 rm -f core conftest.err conftest.$ac_objext \
   7687     conftest$ac_exeext conftest.$ac_ext
   7688 fi
   7689 
   7690 
   7691 		CFLAGS="$xorg_testset_save_CFLAGS"
   7692 
   7693 		eval supported=\$$cacheid
   7694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7695 $as_echo "$supported" >&6; }
   7696 		if test "$supported" = "yes" ; then
   7697 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7698 			found="yes"
   7699 		fi
   7700 	fi
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 xorg_testset_save_CFLAGS="$CFLAGS"
   7717 
   7718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7723   $as_echo_n "(cached) " >&6
   7724 else
   7725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7726 /* end confdefs.h.  */
   7727 int i;
   7728 _ACEOF
   7729 if ac_fn_c_try_compile "$LINENO"; then :
   7730   xorg_cv_cc_flag_unknown_warning_option=yes
   7731 else
   7732   xorg_cv_cc_flag_unknown_warning_option=no
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7735 fi
   7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7739 	CFLAGS="$xorg_testset_save_CFLAGS"
   7740 fi
   7741 
   7742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 	fi
   7746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7750   $as_echo_n "(cached) " >&6
   7751 else
   7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7753 /* end confdefs.h.  */
   7754 int i;
   7755 _ACEOF
   7756 if ac_fn_c_try_compile "$LINENO"; then :
   7757   xorg_cv_cc_flag_unused_command_line_argument=yes
   7758 else
   7759   xorg_cv_cc_flag_unused_command_line_argument=no
   7760 fi
   7761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7762 fi
   7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7766 	CFLAGS="$xorg_testset_save_CFLAGS"
   7767 fi
   7768 
   7769 found="no"
   7770 
   7771 	if test $found = "no" ; then
   7772 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 		fi
   7775 
   7776 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7778 		fi
   7779 
   7780 		CFLAGS="$CFLAGS -Werror=write-strings"
   7781 
   7782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7783 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7784 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7785 		if eval \${$cacheid+:} false; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 int
   7792 main ()
   7793 {
   7794 
   7795   ;
   7796   return 0;
   7797 }
   7798 _ACEOF
   7799 if ac_fn_c_try_link "$LINENO"; then :
   7800   eval $cacheid=yes
   7801 else
   7802   eval $cacheid=no
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext \
   7805     conftest$ac_exeext conftest.$ac_ext
   7806 fi
   7807 
   7808 
   7809 		CFLAGS="$xorg_testset_save_CFLAGS"
   7810 
   7811 		eval supported=\$$cacheid
   7812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7813 $as_echo "$supported" >&6; }
   7814 		if test "$supported" = "yes" ; then
   7815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7816 			found="yes"
   7817 		fi
   7818 	fi
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 xorg_testset_save_CFLAGS="$CFLAGS"
   7835 
   7836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7840 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7841   $as_echo_n "(cached) " >&6
   7842 else
   7843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7844 /* end confdefs.h.  */
   7845 int i;
   7846 _ACEOF
   7847 if ac_fn_c_try_compile "$LINENO"; then :
   7848   xorg_cv_cc_flag_unknown_warning_option=yes
   7849 else
   7850   xorg_cv_cc_flag_unknown_warning_option=no
   7851 fi
   7852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7853 fi
   7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7855 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7857 	CFLAGS="$xorg_testset_save_CFLAGS"
   7858 fi
   7859 
   7860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 	fi
   7864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7866 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7867 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7868   $as_echo_n "(cached) " >&6
   7869 else
   7870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7871 /* end confdefs.h.  */
   7872 int i;
   7873 _ACEOF
   7874 if ac_fn_c_try_compile "$LINENO"; then :
   7875   xorg_cv_cc_flag_unused_command_line_argument=yes
   7876 else
   7877   xorg_cv_cc_flag_unused_command_line_argument=no
   7878 fi
   7879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7880 fi
   7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7882 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7884 	CFLAGS="$xorg_testset_save_CFLAGS"
   7885 fi
   7886 
   7887 found="no"
   7888 
   7889 	if test $found = "no" ; then
   7890 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7892 		fi
   7893 
   7894 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7896 		fi
   7897 
   7898 		CFLAGS="$CFLAGS -Werror=address"
   7899 
   7900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7901 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7902 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7903 		if eval \${$cacheid+:} false; then :
   7904   $as_echo_n "(cached) " >&6
   7905 else
   7906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7907 /* end confdefs.h.  */
   7908 int i;
   7909 int
   7910 main ()
   7911 {
   7912 
   7913   ;
   7914   return 0;
   7915 }
   7916 _ACEOF
   7917 if ac_fn_c_try_link "$LINENO"; then :
   7918   eval $cacheid=yes
   7919 else
   7920   eval $cacheid=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext \
   7923     conftest$ac_exeext conftest.$ac_ext
   7924 fi
   7925 
   7926 
   7927 		CFLAGS="$xorg_testset_save_CFLAGS"
   7928 
   7929 		eval supported=\$$cacheid
   7930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7931 $as_echo "$supported" >&6; }
   7932 		if test "$supported" = "yes" ; then
   7933 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7934 			found="yes"
   7935 		fi
   7936 	fi
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 xorg_testset_save_CFLAGS="$CFLAGS"
   7953 
   7954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7959   $as_echo_n "(cached) " >&6
   7960 else
   7961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7962 /* end confdefs.h.  */
   7963 int i;
   7964 _ACEOF
   7965 if ac_fn_c_try_compile "$LINENO"; then :
   7966   xorg_cv_cc_flag_unknown_warning_option=yes
   7967 else
   7968   xorg_cv_cc_flag_unknown_warning_option=no
   7969 fi
   7970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7971 fi
   7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7975 	CFLAGS="$xorg_testset_save_CFLAGS"
   7976 fi
   7977 
   7978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 	fi
   7982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7986   $as_echo_n "(cached) " >&6
   7987 else
   7988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7989 /* end confdefs.h.  */
   7990 int i;
   7991 _ACEOF
   7992 if ac_fn_c_try_compile "$LINENO"; then :
   7993   xorg_cv_cc_flag_unused_command_line_argument=yes
   7994 else
   7995   xorg_cv_cc_flag_unused_command_line_argument=no
   7996 fi
   7997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7998 fi
   7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8002 	CFLAGS="$xorg_testset_save_CFLAGS"
   8003 fi
   8004 
   8005 found="no"
   8006 
   8007 	if test $found = "no" ; then
   8008 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8010 		fi
   8011 
   8012 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8014 		fi
   8015 
   8016 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8017 
   8018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8019 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8020 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8021 		if eval \${$cacheid+:} false; then :
   8022   $as_echo_n "(cached) " >&6
   8023 else
   8024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8025 /* end confdefs.h.  */
   8026 int i;
   8027 int
   8028 main ()
   8029 {
   8030 
   8031   ;
   8032   return 0;
   8033 }
   8034 _ACEOF
   8035 if ac_fn_c_try_link "$LINENO"; then :
   8036   eval $cacheid=yes
   8037 else
   8038   eval $cacheid=no
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext \
   8041     conftest$ac_exeext conftest.$ac_ext
   8042 fi
   8043 
   8044 
   8045 		CFLAGS="$xorg_testset_save_CFLAGS"
   8046 
   8047 		eval supported=\$$cacheid
   8048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8049 $as_echo "$supported" >&6; }
   8050 		if test "$supported" = "yes" ; then
   8051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8052 			found="yes"
   8053 		fi
   8054 	fi
   8055 
   8056 	if test $found = "no" ; then
   8057 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8059 		fi
   8060 
   8061 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 		fi
   8064 
   8065 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8066 
   8067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8068 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8069 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8070 		if eval \${$cacheid+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 int
   8077 main ()
   8078 {
   8079 
   8080   ;
   8081   return 0;
   8082 }
   8083 _ACEOF
   8084 if ac_fn_c_try_link "$LINENO"; then :
   8085   eval $cacheid=yes
   8086 else
   8087   eval $cacheid=no
   8088 fi
   8089 rm -f core conftest.err conftest.$ac_objext \
   8090     conftest$ac_exeext conftest.$ac_ext
   8091 fi
   8092 
   8093 
   8094 		CFLAGS="$xorg_testset_save_CFLAGS"
   8095 
   8096 		eval supported=\$$cacheid
   8097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8098 $as_echo "$supported" >&6; }
   8099 		if test "$supported" = "yes" ; then
   8100 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8101 			found="yes"
   8102 		fi
   8103 	fi
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 xorg_testset_save_CFLAGS="$CFLAGS"
   8120 
   8121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8126   $as_echo_n "(cached) " >&6
   8127 else
   8128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 _ACEOF
   8132 if ac_fn_c_try_compile "$LINENO"; then :
   8133   xorg_cv_cc_flag_unknown_warning_option=yes
   8134 else
   8135   xorg_cv_cc_flag_unknown_warning_option=no
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8138 fi
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8142 	CFLAGS="$xorg_testset_save_CFLAGS"
   8143 fi
   8144 
   8145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8148 	fi
   8149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8153   $as_echo_n "(cached) " >&6
   8154 else
   8155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8156 /* end confdefs.h.  */
   8157 int i;
   8158 _ACEOF
   8159 if ac_fn_c_try_compile "$LINENO"; then :
   8160   xorg_cv_cc_flag_unused_command_line_argument=yes
   8161 else
   8162   xorg_cv_cc_flag_unused_command_line_argument=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8165 fi
   8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8169 	CFLAGS="$xorg_testset_save_CFLAGS"
   8170 fi
   8171 
   8172 found="no"
   8173 
   8174 	if test $found = "no" ; then
   8175 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8177 		fi
   8178 
   8179 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8181 		fi
   8182 
   8183 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8184 
   8185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8186 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8187 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8188 		if eval \${$cacheid+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 int i;
   8194 int
   8195 main ()
   8196 {
   8197 
   8198   ;
   8199   return 0;
   8200 }
   8201 _ACEOF
   8202 if ac_fn_c_try_link "$LINENO"; then :
   8203   eval $cacheid=yes
   8204 else
   8205   eval $cacheid=no
   8206 fi
   8207 rm -f core conftest.err conftest.$ac_objext \
   8208     conftest$ac_exeext conftest.$ac_ext
   8209 fi
   8210 
   8211 
   8212 		CFLAGS="$xorg_testset_save_CFLAGS"
   8213 
   8214 		eval supported=\$$cacheid
   8215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8216 $as_echo "$supported" >&6; }
   8217 		if test "$supported" = "yes" ; then
   8218 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8219 			found="yes"
   8220 		fi
   8221 	fi
   8222 
   8223  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8224 else
   8225 { $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
   8226 $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;}
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 xorg_testset_save_CFLAGS="$CFLAGS"
   8241 
   8242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8245 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8246 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8247   $as_echo_n "(cached) " >&6
   8248 else
   8249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8250 /* end confdefs.h.  */
   8251 int i;
   8252 _ACEOF
   8253 if ac_fn_c_try_compile "$LINENO"; then :
   8254   xorg_cv_cc_flag_unknown_warning_option=yes
   8255 else
   8256   xorg_cv_cc_flag_unknown_warning_option=no
   8257 fi
   8258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8259 fi
   8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8261 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8263 	CFLAGS="$xorg_testset_save_CFLAGS"
   8264 fi
   8265 
   8266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8269 	fi
   8270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8272 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8273 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8274   $as_echo_n "(cached) " >&6
   8275 else
   8276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8277 /* end confdefs.h.  */
   8278 int i;
   8279 _ACEOF
   8280 if ac_fn_c_try_compile "$LINENO"; then :
   8281   xorg_cv_cc_flag_unused_command_line_argument=yes
   8282 else
   8283   xorg_cv_cc_flag_unused_command_line_argument=no
   8284 fi
   8285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8286 fi
   8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8288 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8290 	CFLAGS="$xorg_testset_save_CFLAGS"
   8291 fi
   8292 
   8293 found="no"
   8294 
   8295 	if test $found = "no" ; then
   8296 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8298 		fi
   8299 
   8300 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8302 		fi
   8303 
   8304 		CFLAGS="$CFLAGS -Wimplicit"
   8305 
   8306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8307 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8308 		cacheid=xorg_cv_cc_flag__Wimplicit
   8309 		if eval \${$cacheid+:} false; then :
   8310   $as_echo_n "(cached) " >&6
   8311 else
   8312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8313 /* end confdefs.h.  */
   8314 int i;
   8315 int
   8316 main ()
   8317 {
   8318 
   8319   ;
   8320   return 0;
   8321 }
   8322 _ACEOF
   8323 if ac_fn_c_try_link "$LINENO"; then :
   8324   eval $cacheid=yes
   8325 else
   8326   eval $cacheid=no
   8327 fi
   8328 rm -f core conftest.err conftest.$ac_objext \
   8329     conftest$ac_exeext conftest.$ac_ext
   8330 fi
   8331 
   8332 
   8333 		CFLAGS="$xorg_testset_save_CFLAGS"
   8334 
   8335 		eval supported=\$$cacheid
   8336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8337 $as_echo "$supported" >&6; }
   8338 		if test "$supported" = "yes" ; then
   8339 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8340 			found="yes"
   8341 		fi
   8342 	fi
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 xorg_testset_save_CFLAGS="$CFLAGS"
   8359 
   8360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8363 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8364 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8368 /* end confdefs.h.  */
   8369 int i;
   8370 _ACEOF
   8371 if ac_fn_c_try_compile "$LINENO"; then :
   8372   xorg_cv_cc_flag_unknown_warning_option=yes
   8373 else
   8374   xorg_cv_cc_flag_unknown_warning_option=no
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8377 fi
   8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8379 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8381 	CFLAGS="$xorg_testset_save_CFLAGS"
   8382 fi
   8383 
   8384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8387 	fi
   8388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8390 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8391 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8395 /* end confdefs.h.  */
   8396 int i;
   8397 _ACEOF
   8398 if ac_fn_c_try_compile "$LINENO"; then :
   8399   xorg_cv_cc_flag_unused_command_line_argument=yes
   8400 else
   8401   xorg_cv_cc_flag_unused_command_line_argument=no
   8402 fi
   8403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8404 fi
   8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8406 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8408 	CFLAGS="$xorg_testset_save_CFLAGS"
   8409 fi
   8410 
   8411 found="no"
   8412 
   8413 	if test $found = "no" ; then
   8414 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8416 		fi
   8417 
   8418 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8420 		fi
   8421 
   8422 		CFLAGS="$CFLAGS -Wnonnull"
   8423 
   8424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8425 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8426 		cacheid=xorg_cv_cc_flag__Wnonnull
   8427 		if eval \${$cacheid+:} false; then :
   8428   $as_echo_n "(cached) " >&6
   8429 else
   8430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8431 /* end confdefs.h.  */
   8432 int i;
   8433 int
   8434 main ()
   8435 {
   8436 
   8437   ;
   8438   return 0;
   8439 }
   8440 _ACEOF
   8441 if ac_fn_c_try_link "$LINENO"; then :
   8442   eval $cacheid=yes
   8443 else
   8444   eval $cacheid=no
   8445 fi
   8446 rm -f core conftest.err conftest.$ac_objext \
   8447     conftest$ac_exeext conftest.$ac_ext
   8448 fi
   8449 
   8450 
   8451 		CFLAGS="$xorg_testset_save_CFLAGS"
   8452 
   8453 		eval supported=\$$cacheid
   8454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8455 $as_echo "$supported" >&6; }
   8456 		if test "$supported" = "yes" ; then
   8457 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8458 			found="yes"
   8459 		fi
   8460 	fi
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 xorg_testset_save_CFLAGS="$CFLAGS"
   8477 
   8478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8481 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8482 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8483   $as_echo_n "(cached) " >&6
   8484 else
   8485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8486 /* end confdefs.h.  */
   8487 int i;
   8488 _ACEOF
   8489 if ac_fn_c_try_compile "$LINENO"; then :
   8490   xorg_cv_cc_flag_unknown_warning_option=yes
   8491 else
   8492   xorg_cv_cc_flag_unknown_warning_option=no
   8493 fi
   8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8495 fi
   8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8497 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8499 	CFLAGS="$xorg_testset_save_CFLAGS"
   8500 fi
   8501 
   8502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8505 	fi
   8506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8508 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8509 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 _ACEOF
   8516 if ac_fn_c_try_compile "$LINENO"; then :
   8517   xorg_cv_cc_flag_unused_command_line_argument=yes
   8518 else
   8519   xorg_cv_cc_flag_unused_command_line_argument=no
   8520 fi
   8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8522 fi
   8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8524 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8526 	CFLAGS="$xorg_testset_save_CFLAGS"
   8527 fi
   8528 
   8529 found="no"
   8530 
   8531 	if test $found = "no" ; then
   8532 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 		fi
   8535 
   8536 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8538 		fi
   8539 
   8540 		CFLAGS="$CFLAGS -Winit-self"
   8541 
   8542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8543 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8544 		cacheid=xorg_cv_cc_flag__Winit_self
   8545 		if eval \${$cacheid+:} false; then :
   8546   $as_echo_n "(cached) " >&6
   8547 else
   8548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8549 /* end confdefs.h.  */
   8550 int i;
   8551 int
   8552 main ()
   8553 {
   8554 
   8555   ;
   8556   return 0;
   8557 }
   8558 _ACEOF
   8559 if ac_fn_c_try_link "$LINENO"; then :
   8560   eval $cacheid=yes
   8561 else
   8562   eval $cacheid=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext \
   8565     conftest$ac_exeext conftest.$ac_ext
   8566 fi
   8567 
   8568 
   8569 		CFLAGS="$xorg_testset_save_CFLAGS"
   8570 
   8571 		eval supported=\$$cacheid
   8572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8573 $as_echo "$supported" >&6; }
   8574 		if test "$supported" = "yes" ; then
   8575 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8576 			found="yes"
   8577 		fi
   8578 	fi
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 xorg_testset_save_CFLAGS="$CFLAGS"
   8595 
   8596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8599 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8600 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8601   $as_echo_n "(cached) " >&6
   8602 else
   8603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8604 /* end confdefs.h.  */
   8605 int i;
   8606 _ACEOF
   8607 if ac_fn_c_try_compile "$LINENO"; then :
   8608   xorg_cv_cc_flag_unknown_warning_option=yes
   8609 else
   8610   xorg_cv_cc_flag_unknown_warning_option=no
   8611 fi
   8612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8613 fi
   8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8615 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8617 	CFLAGS="$xorg_testset_save_CFLAGS"
   8618 fi
   8619 
   8620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8623 	fi
   8624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8626 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8627 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 _ACEOF
   8634 if ac_fn_c_try_compile "$LINENO"; then :
   8635   xorg_cv_cc_flag_unused_command_line_argument=yes
   8636 else
   8637   xorg_cv_cc_flag_unused_command_line_argument=no
   8638 fi
   8639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8640 fi
   8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8642 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8644 	CFLAGS="$xorg_testset_save_CFLAGS"
   8645 fi
   8646 
   8647 found="no"
   8648 
   8649 	if test $found = "no" ; then
   8650 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 		fi
   8653 
   8654 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8656 		fi
   8657 
   8658 		CFLAGS="$CFLAGS -Wmain"
   8659 
   8660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8661 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8662 		cacheid=xorg_cv_cc_flag__Wmain
   8663 		if eval \${$cacheid+:} false; then :
   8664   $as_echo_n "(cached) " >&6
   8665 else
   8666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8667 /* end confdefs.h.  */
   8668 int i;
   8669 int
   8670 main ()
   8671 {
   8672 
   8673   ;
   8674   return 0;
   8675 }
   8676 _ACEOF
   8677 if ac_fn_c_try_link "$LINENO"; then :
   8678   eval $cacheid=yes
   8679 else
   8680   eval $cacheid=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext \
   8683     conftest$ac_exeext conftest.$ac_ext
   8684 fi
   8685 
   8686 
   8687 		CFLAGS="$xorg_testset_save_CFLAGS"
   8688 
   8689 		eval supported=\$$cacheid
   8690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8691 $as_echo "$supported" >&6; }
   8692 		if test "$supported" = "yes" ; then
   8693 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8694 			found="yes"
   8695 		fi
   8696 	fi
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 xorg_testset_save_CFLAGS="$CFLAGS"
   8713 
   8714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8717 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8718 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8719   $as_echo_n "(cached) " >&6
   8720 else
   8721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8722 /* end confdefs.h.  */
   8723 int i;
   8724 _ACEOF
   8725 if ac_fn_c_try_compile "$LINENO"; then :
   8726   xorg_cv_cc_flag_unknown_warning_option=yes
   8727 else
   8728   xorg_cv_cc_flag_unknown_warning_option=no
   8729 fi
   8730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8731 fi
   8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8733 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8735 	CFLAGS="$xorg_testset_save_CFLAGS"
   8736 fi
   8737 
   8738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 	fi
   8742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8744 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8745 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8746   $as_echo_n "(cached) " >&6
   8747 else
   8748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8749 /* end confdefs.h.  */
   8750 int i;
   8751 _ACEOF
   8752 if ac_fn_c_try_compile "$LINENO"; then :
   8753   xorg_cv_cc_flag_unused_command_line_argument=yes
   8754 else
   8755   xorg_cv_cc_flag_unused_command_line_argument=no
   8756 fi
   8757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8758 fi
   8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8760 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8762 	CFLAGS="$xorg_testset_save_CFLAGS"
   8763 fi
   8764 
   8765 found="no"
   8766 
   8767 	if test $found = "no" ; then
   8768 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8770 		fi
   8771 
   8772 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8774 		fi
   8775 
   8776 		CFLAGS="$CFLAGS -Wmissing-braces"
   8777 
   8778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8779 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8780 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8781 		if eval \${$cacheid+:} false; then :
   8782   $as_echo_n "(cached) " >&6
   8783 else
   8784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8785 /* end confdefs.h.  */
   8786 int i;
   8787 int
   8788 main ()
   8789 {
   8790 
   8791   ;
   8792   return 0;
   8793 }
   8794 _ACEOF
   8795 if ac_fn_c_try_link "$LINENO"; then :
   8796   eval $cacheid=yes
   8797 else
   8798   eval $cacheid=no
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext \
   8801     conftest$ac_exeext conftest.$ac_ext
   8802 fi
   8803 
   8804 
   8805 		CFLAGS="$xorg_testset_save_CFLAGS"
   8806 
   8807 		eval supported=\$$cacheid
   8808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8809 $as_echo "$supported" >&6; }
   8810 		if test "$supported" = "yes" ; then
   8811 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8812 			found="yes"
   8813 		fi
   8814 	fi
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 xorg_testset_save_CFLAGS="$CFLAGS"
   8831 
   8832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8837   $as_echo_n "(cached) " >&6
   8838 else
   8839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8840 /* end confdefs.h.  */
   8841 int i;
   8842 _ACEOF
   8843 if ac_fn_c_try_compile "$LINENO"; then :
   8844   xorg_cv_cc_flag_unknown_warning_option=yes
   8845 else
   8846   xorg_cv_cc_flag_unknown_warning_option=no
   8847 fi
   8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8849 fi
   8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8853 	CFLAGS="$xorg_testset_save_CFLAGS"
   8854 fi
   8855 
   8856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 	fi
   8860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8864   $as_echo_n "(cached) " >&6
   8865 else
   8866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8867 /* end confdefs.h.  */
   8868 int i;
   8869 _ACEOF
   8870 if ac_fn_c_try_compile "$LINENO"; then :
   8871   xorg_cv_cc_flag_unused_command_line_argument=yes
   8872 else
   8873   xorg_cv_cc_flag_unused_command_line_argument=no
   8874 fi
   8875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8876 fi
   8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8880 	CFLAGS="$xorg_testset_save_CFLAGS"
   8881 fi
   8882 
   8883 found="no"
   8884 
   8885 	if test $found = "no" ; then
   8886 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 		fi
   8889 
   8890 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8892 		fi
   8893 
   8894 		CFLAGS="$CFLAGS -Wsequence-point"
   8895 
   8896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8897 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8898 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8899 		if eval \${$cacheid+:} false; then :
   8900   $as_echo_n "(cached) " >&6
   8901 else
   8902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8903 /* end confdefs.h.  */
   8904 int i;
   8905 int
   8906 main ()
   8907 {
   8908 
   8909   ;
   8910   return 0;
   8911 }
   8912 _ACEOF
   8913 if ac_fn_c_try_link "$LINENO"; then :
   8914   eval $cacheid=yes
   8915 else
   8916   eval $cacheid=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext \
   8919     conftest$ac_exeext conftest.$ac_ext
   8920 fi
   8921 
   8922 
   8923 		CFLAGS="$xorg_testset_save_CFLAGS"
   8924 
   8925 		eval supported=\$$cacheid
   8926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8927 $as_echo "$supported" >&6; }
   8928 		if test "$supported" = "yes" ; then
   8929 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8930 			found="yes"
   8931 		fi
   8932 	fi
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 xorg_testset_save_CFLAGS="$CFLAGS"
   8949 
   8950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8955   $as_echo_n "(cached) " >&6
   8956 else
   8957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8958 /* end confdefs.h.  */
   8959 int i;
   8960 _ACEOF
   8961 if ac_fn_c_try_compile "$LINENO"; then :
   8962   xorg_cv_cc_flag_unknown_warning_option=yes
   8963 else
   8964   xorg_cv_cc_flag_unknown_warning_option=no
   8965 fi
   8966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8967 fi
   8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8971 	CFLAGS="$xorg_testset_save_CFLAGS"
   8972 fi
   8973 
   8974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8977 	fi
   8978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8982   $as_echo_n "(cached) " >&6
   8983 else
   8984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8985 /* end confdefs.h.  */
   8986 int i;
   8987 _ACEOF
   8988 if ac_fn_c_try_compile "$LINENO"; then :
   8989   xorg_cv_cc_flag_unused_command_line_argument=yes
   8990 else
   8991   xorg_cv_cc_flag_unused_command_line_argument=no
   8992 fi
   8993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8994 fi
   8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8998 	CFLAGS="$xorg_testset_save_CFLAGS"
   8999 fi
   9000 
   9001 found="no"
   9002 
   9003 	if test $found = "no" ; then
   9004 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9006 		fi
   9007 
   9008 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9010 		fi
   9011 
   9012 		CFLAGS="$CFLAGS -Wreturn-type"
   9013 
   9014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9015 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9016 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9017 		if eval \${$cacheid+:} false; then :
   9018   $as_echo_n "(cached) " >&6
   9019 else
   9020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9021 /* end confdefs.h.  */
   9022 int i;
   9023 int
   9024 main ()
   9025 {
   9026 
   9027   ;
   9028   return 0;
   9029 }
   9030 _ACEOF
   9031 if ac_fn_c_try_link "$LINENO"; then :
   9032   eval $cacheid=yes
   9033 else
   9034   eval $cacheid=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext \
   9037     conftest$ac_exeext conftest.$ac_ext
   9038 fi
   9039 
   9040 
   9041 		CFLAGS="$xorg_testset_save_CFLAGS"
   9042 
   9043 		eval supported=\$$cacheid
   9044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9045 $as_echo "$supported" >&6; }
   9046 		if test "$supported" = "yes" ; then
   9047 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9048 			found="yes"
   9049 		fi
   9050 	fi
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 xorg_testset_save_CFLAGS="$CFLAGS"
   9067 
   9068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9071 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9072 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9073   $as_echo_n "(cached) " >&6
   9074 else
   9075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9076 /* end confdefs.h.  */
   9077 int i;
   9078 _ACEOF
   9079 if ac_fn_c_try_compile "$LINENO"; then :
   9080   xorg_cv_cc_flag_unknown_warning_option=yes
   9081 else
   9082   xorg_cv_cc_flag_unknown_warning_option=no
   9083 fi
   9084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9085 fi
   9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9087 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9089 	CFLAGS="$xorg_testset_save_CFLAGS"
   9090 fi
   9091 
   9092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9095 	fi
   9096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9098 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9099 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9100   $as_echo_n "(cached) " >&6
   9101 else
   9102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9103 /* end confdefs.h.  */
   9104 int i;
   9105 _ACEOF
   9106 if ac_fn_c_try_compile "$LINENO"; then :
   9107   xorg_cv_cc_flag_unused_command_line_argument=yes
   9108 else
   9109   xorg_cv_cc_flag_unused_command_line_argument=no
   9110 fi
   9111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9112 fi
   9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9114 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9116 	CFLAGS="$xorg_testset_save_CFLAGS"
   9117 fi
   9118 
   9119 found="no"
   9120 
   9121 	if test $found = "no" ; then
   9122 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9124 		fi
   9125 
   9126 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9128 		fi
   9129 
   9130 		CFLAGS="$CFLAGS -Wtrigraphs"
   9131 
   9132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9133 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9134 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9135 		if eval \${$cacheid+:} false; then :
   9136   $as_echo_n "(cached) " >&6
   9137 else
   9138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9139 /* end confdefs.h.  */
   9140 int i;
   9141 int
   9142 main ()
   9143 {
   9144 
   9145   ;
   9146   return 0;
   9147 }
   9148 _ACEOF
   9149 if ac_fn_c_try_link "$LINENO"; then :
   9150   eval $cacheid=yes
   9151 else
   9152   eval $cacheid=no
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext \
   9155     conftest$ac_exeext conftest.$ac_ext
   9156 fi
   9157 
   9158 
   9159 		CFLAGS="$xorg_testset_save_CFLAGS"
   9160 
   9161 		eval supported=\$$cacheid
   9162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9163 $as_echo "$supported" >&6; }
   9164 		if test "$supported" = "yes" ; then
   9165 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9166 			found="yes"
   9167 		fi
   9168 	fi
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 xorg_testset_save_CFLAGS="$CFLAGS"
   9185 
   9186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9189 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9190 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9191   $as_echo_n "(cached) " >&6
   9192 else
   9193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9194 /* end confdefs.h.  */
   9195 int i;
   9196 _ACEOF
   9197 if ac_fn_c_try_compile "$LINENO"; then :
   9198   xorg_cv_cc_flag_unknown_warning_option=yes
   9199 else
   9200   xorg_cv_cc_flag_unknown_warning_option=no
   9201 fi
   9202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9203 fi
   9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9205 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9207 	CFLAGS="$xorg_testset_save_CFLAGS"
   9208 fi
   9209 
   9210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9213 	fi
   9214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9216 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9217 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9218   $as_echo_n "(cached) " >&6
   9219 else
   9220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9221 /* end confdefs.h.  */
   9222 int i;
   9223 _ACEOF
   9224 if ac_fn_c_try_compile "$LINENO"; then :
   9225   xorg_cv_cc_flag_unused_command_line_argument=yes
   9226 else
   9227   xorg_cv_cc_flag_unused_command_line_argument=no
   9228 fi
   9229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9230 fi
   9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9232 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9234 	CFLAGS="$xorg_testset_save_CFLAGS"
   9235 fi
   9236 
   9237 found="no"
   9238 
   9239 	if test $found = "no" ; then
   9240 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 		fi
   9243 
   9244 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9246 		fi
   9247 
   9248 		CFLAGS="$CFLAGS -Warray-bounds"
   9249 
   9250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9251 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9252 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9253 		if eval \${$cacheid+:} false; then :
   9254   $as_echo_n "(cached) " >&6
   9255 else
   9256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9257 /* end confdefs.h.  */
   9258 int i;
   9259 int
   9260 main ()
   9261 {
   9262 
   9263   ;
   9264   return 0;
   9265 }
   9266 _ACEOF
   9267 if ac_fn_c_try_link "$LINENO"; then :
   9268   eval $cacheid=yes
   9269 else
   9270   eval $cacheid=no
   9271 fi
   9272 rm -f core conftest.err conftest.$ac_objext \
   9273     conftest$ac_exeext conftest.$ac_ext
   9274 fi
   9275 
   9276 
   9277 		CFLAGS="$xorg_testset_save_CFLAGS"
   9278 
   9279 		eval supported=\$$cacheid
   9280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9281 $as_echo "$supported" >&6; }
   9282 		if test "$supported" = "yes" ; then
   9283 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9284 			found="yes"
   9285 		fi
   9286 	fi
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 xorg_testset_save_CFLAGS="$CFLAGS"
   9303 
   9304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9309   $as_echo_n "(cached) " >&6
   9310 else
   9311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9312 /* end confdefs.h.  */
   9313 int i;
   9314 _ACEOF
   9315 if ac_fn_c_try_compile "$LINENO"; then :
   9316   xorg_cv_cc_flag_unknown_warning_option=yes
   9317 else
   9318   xorg_cv_cc_flag_unknown_warning_option=no
   9319 fi
   9320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9321 fi
   9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9325 	CFLAGS="$xorg_testset_save_CFLAGS"
   9326 fi
   9327 
   9328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9331 	fi
   9332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9336   $as_echo_n "(cached) " >&6
   9337 else
   9338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9339 /* end confdefs.h.  */
   9340 int i;
   9341 _ACEOF
   9342 if ac_fn_c_try_compile "$LINENO"; then :
   9343   xorg_cv_cc_flag_unused_command_line_argument=yes
   9344 else
   9345   xorg_cv_cc_flag_unused_command_line_argument=no
   9346 fi
   9347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9348 fi
   9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9352 	CFLAGS="$xorg_testset_save_CFLAGS"
   9353 fi
   9354 
   9355 found="no"
   9356 
   9357 	if test $found = "no" ; then
   9358 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9360 		fi
   9361 
   9362 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9364 		fi
   9365 
   9366 		CFLAGS="$CFLAGS -Wwrite-strings"
   9367 
   9368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9369 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9370 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9371 		if eval \${$cacheid+:} false; then :
   9372   $as_echo_n "(cached) " >&6
   9373 else
   9374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9375 /* end confdefs.h.  */
   9376 int i;
   9377 int
   9378 main ()
   9379 {
   9380 
   9381   ;
   9382   return 0;
   9383 }
   9384 _ACEOF
   9385 if ac_fn_c_try_link "$LINENO"; then :
   9386   eval $cacheid=yes
   9387 else
   9388   eval $cacheid=no
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext \
   9391     conftest$ac_exeext conftest.$ac_ext
   9392 fi
   9393 
   9394 
   9395 		CFLAGS="$xorg_testset_save_CFLAGS"
   9396 
   9397 		eval supported=\$$cacheid
   9398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9399 $as_echo "$supported" >&6; }
   9400 		if test "$supported" = "yes" ; then
   9401 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9402 			found="yes"
   9403 		fi
   9404 	fi
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 xorg_testset_save_CFLAGS="$CFLAGS"
   9421 
   9422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9427   $as_echo_n "(cached) " >&6
   9428 else
   9429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9430 /* end confdefs.h.  */
   9431 int i;
   9432 _ACEOF
   9433 if ac_fn_c_try_compile "$LINENO"; then :
   9434   xorg_cv_cc_flag_unknown_warning_option=yes
   9435 else
   9436   xorg_cv_cc_flag_unknown_warning_option=no
   9437 fi
   9438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9439 fi
   9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9443 	CFLAGS="$xorg_testset_save_CFLAGS"
   9444 fi
   9445 
   9446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9449 	fi
   9450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9454   $as_echo_n "(cached) " >&6
   9455 else
   9456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9457 /* end confdefs.h.  */
   9458 int i;
   9459 _ACEOF
   9460 if ac_fn_c_try_compile "$LINENO"; then :
   9461   xorg_cv_cc_flag_unused_command_line_argument=yes
   9462 else
   9463   xorg_cv_cc_flag_unused_command_line_argument=no
   9464 fi
   9465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9466 fi
   9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9470 	CFLAGS="$xorg_testset_save_CFLAGS"
   9471 fi
   9472 
   9473 found="no"
   9474 
   9475 	if test $found = "no" ; then
   9476 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9478 		fi
   9479 
   9480 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9482 		fi
   9483 
   9484 		CFLAGS="$CFLAGS -Waddress"
   9485 
   9486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9487 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9488 		cacheid=xorg_cv_cc_flag__Waddress
   9489 		if eval \${$cacheid+:} false; then :
   9490   $as_echo_n "(cached) " >&6
   9491 else
   9492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9493 /* end confdefs.h.  */
   9494 int i;
   9495 int
   9496 main ()
   9497 {
   9498 
   9499   ;
   9500   return 0;
   9501 }
   9502 _ACEOF
   9503 if ac_fn_c_try_link "$LINENO"; then :
   9504   eval $cacheid=yes
   9505 else
   9506   eval $cacheid=no
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext \
   9509     conftest$ac_exeext conftest.$ac_ext
   9510 fi
   9511 
   9512 
   9513 		CFLAGS="$xorg_testset_save_CFLAGS"
   9514 
   9515 		eval supported=\$$cacheid
   9516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9517 $as_echo "$supported" >&6; }
   9518 		if test "$supported" = "yes" ; then
   9519 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9520 			found="yes"
   9521 		fi
   9522 	fi
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 xorg_testset_save_CFLAGS="$CFLAGS"
   9539 
   9540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9543 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9544 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9545   $as_echo_n "(cached) " >&6
   9546 else
   9547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9548 /* end confdefs.h.  */
   9549 int i;
   9550 _ACEOF
   9551 if ac_fn_c_try_compile "$LINENO"; then :
   9552   xorg_cv_cc_flag_unknown_warning_option=yes
   9553 else
   9554   xorg_cv_cc_flag_unknown_warning_option=no
   9555 fi
   9556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9557 fi
   9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9559 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9561 	CFLAGS="$xorg_testset_save_CFLAGS"
   9562 fi
   9563 
   9564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9567 	fi
   9568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9570 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9571 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9572   $as_echo_n "(cached) " >&6
   9573 else
   9574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9575 /* end confdefs.h.  */
   9576 int i;
   9577 _ACEOF
   9578 if ac_fn_c_try_compile "$LINENO"; then :
   9579   xorg_cv_cc_flag_unused_command_line_argument=yes
   9580 else
   9581   xorg_cv_cc_flag_unused_command_line_argument=no
   9582 fi
   9583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9584 fi
   9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9586 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9588 	CFLAGS="$xorg_testset_save_CFLAGS"
   9589 fi
   9590 
   9591 found="no"
   9592 
   9593 	if test $found = "no" ; then
   9594 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9596 		fi
   9597 
   9598 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9600 		fi
   9601 
   9602 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9603 
   9604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9605 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9606 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9607 		if eval \${$cacheid+:} false; then :
   9608   $as_echo_n "(cached) " >&6
   9609 else
   9610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9611 /* end confdefs.h.  */
   9612 int i;
   9613 int
   9614 main ()
   9615 {
   9616 
   9617   ;
   9618   return 0;
   9619 }
   9620 _ACEOF
   9621 if ac_fn_c_try_link "$LINENO"; then :
   9622   eval $cacheid=yes
   9623 else
   9624   eval $cacheid=no
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext \
   9627     conftest$ac_exeext conftest.$ac_ext
   9628 fi
   9629 
   9630 
   9631 		CFLAGS="$xorg_testset_save_CFLAGS"
   9632 
   9633 		eval supported=\$$cacheid
   9634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9635 $as_echo "$supported" >&6; }
   9636 		if test "$supported" = "yes" ; then
   9637 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9638 			found="yes"
   9639 		fi
   9640 	fi
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 xorg_testset_save_CFLAGS="$CFLAGS"
   9657 
   9658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9661 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9662 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9663   $as_echo_n "(cached) " >&6
   9664 else
   9665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9666 /* end confdefs.h.  */
   9667 int i;
   9668 _ACEOF
   9669 if ac_fn_c_try_compile "$LINENO"; then :
   9670   xorg_cv_cc_flag_unknown_warning_option=yes
   9671 else
   9672   xorg_cv_cc_flag_unknown_warning_option=no
   9673 fi
   9674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9675 fi
   9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9677 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9679 	CFLAGS="$xorg_testset_save_CFLAGS"
   9680 fi
   9681 
   9682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9685 	fi
   9686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9688 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9689 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9690   $as_echo_n "(cached) " >&6
   9691 else
   9692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9693 /* end confdefs.h.  */
   9694 int i;
   9695 _ACEOF
   9696 if ac_fn_c_try_compile "$LINENO"; then :
   9697   xorg_cv_cc_flag_unused_command_line_argument=yes
   9698 else
   9699   xorg_cv_cc_flag_unused_command_line_argument=no
   9700 fi
   9701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9702 fi
   9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9704 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9706 	CFLAGS="$xorg_testset_save_CFLAGS"
   9707 fi
   9708 
   9709 found="no"
   9710 
   9711 	if test $found = "no" ; then
   9712 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9714 		fi
   9715 
   9716 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9718 		fi
   9719 
   9720 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9721 
   9722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9723 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9724 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9725 		if eval \${$cacheid+:} false; then :
   9726   $as_echo_n "(cached) " >&6
   9727 else
   9728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9729 /* end confdefs.h.  */
   9730 int i;
   9731 int
   9732 main ()
   9733 {
   9734 
   9735   ;
   9736   return 0;
   9737 }
   9738 _ACEOF
   9739 if ac_fn_c_try_link "$LINENO"; then :
   9740   eval $cacheid=yes
   9741 else
   9742   eval $cacheid=no
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext \
   9745     conftest$ac_exeext conftest.$ac_ext
   9746 fi
   9747 
   9748 
   9749 		CFLAGS="$xorg_testset_save_CFLAGS"
   9750 
   9751 		eval supported=\$$cacheid
   9752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9753 $as_echo "$supported" >&6; }
   9754 		if test "$supported" = "yes" ; then
   9755 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9756 			found="yes"
   9757 		fi
   9758 	fi
   9759 
   9760 
   9761 fi
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 		CWARNFLAGS="$BASE_CFLAGS"
   9770 		if  test "x$GCC" = xyes ; then
   9771 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9772 		fi
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 # Check whether --enable-strict-compilation was given.
   9782 if test "${enable_strict_compilation+set}" = set; then :
   9783   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9784 else
   9785   STRICT_COMPILE=no
   9786 fi
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 STRICT_CFLAGS=""
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 xorg_testset_save_CFLAGS="$CFLAGS"
   9808 
   9809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9814   $as_echo_n "(cached) " >&6
   9815 else
   9816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9817 /* end confdefs.h.  */
   9818 int i;
   9819 _ACEOF
   9820 if ac_fn_c_try_compile "$LINENO"; then :
   9821   xorg_cv_cc_flag_unknown_warning_option=yes
   9822 else
   9823   xorg_cv_cc_flag_unknown_warning_option=no
   9824 fi
   9825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9826 fi
   9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9830 	CFLAGS="$xorg_testset_save_CFLAGS"
   9831 fi
   9832 
   9833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9836 	fi
   9837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9841   $as_echo_n "(cached) " >&6
   9842 else
   9843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9844 /* end confdefs.h.  */
   9845 int i;
   9846 _ACEOF
   9847 if ac_fn_c_try_compile "$LINENO"; then :
   9848   xorg_cv_cc_flag_unused_command_line_argument=yes
   9849 else
   9850   xorg_cv_cc_flag_unused_command_line_argument=no
   9851 fi
   9852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9853 fi
   9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9857 	CFLAGS="$xorg_testset_save_CFLAGS"
   9858 fi
   9859 
   9860 found="no"
   9861 
   9862 	if test $found = "no" ; then
   9863 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9865 		fi
   9866 
   9867 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9869 		fi
   9870 
   9871 		CFLAGS="$CFLAGS -pedantic"
   9872 
   9873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9874 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9875 		cacheid=xorg_cv_cc_flag__pedantic
   9876 		if eval \${$cacheid+:} false; then :
   9877   $as_echo_n "(cached) " >&6
   9878 else
   9879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9880 /* end confdefs.h.  */
   9881 int i;
   9882 int
   9883 main ()
   9884 {
   9885 
   9886   ;
   9887   return 0;
   9888 }
   9889 _ACEOF
   9890 if ac_fn_c_try_link "$LINENO"; then :
   9891   eval $cacheid=yes
   9892 else
   9893   eval $cacheid=no
   9894 fi
   9895 rm -f core conftest.err conftest.$ac_objext \
   9896     conftest$ac_exeext conftest.$ac_ext
   9897 fi
   9898 
   9899 
   9900 		CFLAGS="$xorg_testset_save_CFLAGS"
   9901 
   9902 		eval supported=\$$cacheid
   9903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9904 $as_echo "$supported" >&6; }
   9905 		if test "$supported" = "yes" ; then
   9906 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9907 			found="yes"
   9908 		fi
   9909 	fi
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 xorg_testset_save_CFLAGS="$CFLAGS"
   9926 
   9927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9930 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9931 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9932   $as_echo_n "(cached) " >&6
   9933 else
   9934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9935 /* end confdefs.h.  */
   9936 int i;
   9937 _ACEOF
   9938 if ac_fn_c_try_compile "$LINENO"; then :
   9939   xorg_cv_cc_flag_unknown_warning_option=yes
   9940 else
   9941   xorg_cv_cc_flag_unknown_warning_option=no
   9942 fi
   9943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9944 fi
   9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9946 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9948 	CFLAGS="$xorg_testset_save_CFLAGS"
   9949 fi
   9950 
   9951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9954 	fi
   9955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9957 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9958 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9959   $as_echo_n "(cached) " >&6
   9960 else
   9961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9962 /* end confdefs.h.  */
   9963 int i;
   9964 _ACEOF
   9965 if ac_fn_c_try_compile "$LINENO"; then :
   9966   xorg_cv_cc_flag_unused_command_line_argument=yes
   9967 else
   9968   xorg_cv_cc_flag_unused_command_line_argument=no
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9971 fi
   9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9973 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9975 	CFLAGS="$xorg_testset_save_CFLAGS"
   9976 fi
   9977 
   9978 found="no"
   9979 
   9980 	if test $found = "no" ; then
   9981 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9983 		fi
   9984 
   9985 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9987 		fi
   9988 
   9989 		CFLAGS="$CFLAGS -Werror"
   9990 
   9991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9992 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9993 		cacheid=xorg_cv_cc_flag__Werror
   9994 		if eval \${$cacheid+:} false; then :
   9995   $as_echo_n "(cached) " >&6
   9996 else
   9997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 int
   10001 main ()
   10002 {
   10003 
   10004   ;
   10005   return 0;
   10006 }
   10007 _ACEOF
   10008 if ac_fn_c_try_link "$LINENO"; then :
   10009   eval $cacheid=yes
   10010 else
   10011   eval $cacheid=no
   10012 fi
   10013 rm -f core conftest.err conftest.$ac_objext \
   10014     conftest$ac_exeext conftest.$ac_ext
   10015 fi
   10016 
   10017 
   10018 		CFLAGS="$xorg_testset_save_CFLAGS"
   10019 
   10020 		eval supported=\$$cacheid
   10021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10022 $as_echo "$supported" >&6; }
   10023 		if test "$supported" = "yes" ; then
   10024 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10025 			found="yes"
   10026 		fi
   10027 	fi
   10028 
   10029 	if test $found = "no" ; then
   10030 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10032 		fi
   10033 
   10034 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10036 		fi
   10037 
   10038 		CFLAGS="$CFLAGS -errwarn"
   10039 
   10040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10041 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10042 		cacheid=xorg_cv_cc_flag__errwarn
   10043 		if eval \${$cacheid+:} false; then :
   10044   $as_echo_n "(cached) " >&6
   10045 else
   10046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10047 /* end confdefs.h.  */
   10048 int i;
   10049 int
   10050 main ()
   10051 {
   10052 
   10053   ;
   10054   return 0;
   10055 }
   10056 _ACEOF
   10057 if ac_fn_c_try_link "$LINENO"; then :
   10058   eval $cacheid=yes
   10059 else
   10060   eval $cacheid=no
   10061 fi
   10062 rm -f core conftest.err conftest.$ac_objext \
   10063     conftest$ac_exeext conftest.$ac_ext
   10064 fi
   10065 
   10066 
   10067 		CFLAGS="$xorg_testset_save_CFLAGS"
   10068 
   10069 		eval supported=\$$cacheid
   10070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10071 $as_echo "$supported" >&6; }
   10072 		if test "$supported" = "yes" ; then
   10073 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10074 			found="yes"
   10075 		fi
   10076 	fi
   10077 
   10078 
   10079 
   10080 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10081 # activate it with -Werror, so we add it here explicitly.
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 xorg_testset_save_CFLAGS="$CFLAGS"
   10096 
   10097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 _ACEOF
   10108 if ac_fn_c_try_compile "$LINENO"; then :
   10109   xorg_cv_cc_flag_unknown_warning_option=yes
   10110 else
   10111   xorg_cv_cc_flag_unknown_warning_option=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10132 /* end confdefs.h.  */
   10133 int i;
   10134 _ACEOF
   10135 if ac_fn_c_try_compile "$LINENO"; then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else
   10138   xorg_cv_cc_flag_unused_command_line_argument=no
   10139 fi
   10140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10141 fi
   10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Werror=attributes"
   10160 
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10162 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10163 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10164 		if eval \${$cacheid+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main ()
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"; then :
   10179   eval $cacheid=yes
   10180 else
   10181   eval $cacheid=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext \
   10184     conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 
   10187 
   10188 		CFLAGS="$xorg_testset_save_CFLAGS"
   10189 
   10190 		eval supported=\$$cacheid
   10191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10192 $as_echo "$supported" >&6; }
   10193 		if test "$supported" = "yes" ; then
   10194 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10195 			found="yes"
   10196 		fi
   10197 	fi
   10198 
   10199 
   10200 
   10201 if test "x$STRICT_COMPILE" = "xyes"; then
   10202     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10203     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10204 fi
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 cat >>confdefs.h <<_ACEOF
   10212 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10213 _ACEOF
   10214 
   10215 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10216 	if test "x$PVM" = "x"; then
   10217 		PVM="0"
   10218 	fi
   10219 
   10220 cat >>confdefs.h <<_ACEOF
   10221 #define PACKAGE_VERSION_MINOR $PVM
   10222 _ACEOF
   10223 
   10224 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10225 	if test "x$PVP" = "x"; then
   10226 		PVP="0"
   10227 	fi
   10228 
   10229 cat >>confdefs.h <<_ACEOF
   10230 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10231 _ACEOF
   10232 
   10233 
   10234 
   10235 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10236 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10237 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10238 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10239 
   10240 
   10241 
   10242 
   10243 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10244 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10245 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10246 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10247 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 if test x$APP_MAN_SUFFIX = x    ; then
   10255     APP_MAN_SUFFIX=1
   10256 fi
   10257 if test x$APP_MAN_DIR = x    ; then
   10258     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10259 fi
   10260 
   10261 if test x$LIB_MAN_SUFFIX = x    ; then
   10262     LIB_MAN_SUFFIX=3
   10263 fi
   10264 if test x$LIB_MAN_DIR = x    ; then
   10265     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10266 fi
   10267 
   10268 if test x$FILE_MAN_SUFFIX = x    ; then
   10269     case $host_os in
   10270 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10271 	*)		FILE_MAN_SUFFIX=5  ;;
   10272     esac
   10273 fi
   10274 if test x$FILE_MAN_DIR = x    ; then
   10275     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10276 fi
   10277 
   10278 if test x$MISC_MAN_SUFFIX = x    ; then
   10279     case $host_os in
   10280 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10281 	*)		MISC_MAN_SUFFIX=7  ;;
   10282     esac
   10283 fi
   10284 if test x$MISC_MAN_DIR = x    ; then
   10285     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10286 fi
   10287 
   10288 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10289     case $host_os in
   10290 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10291 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10292     esac
   10293 fi
   10294 if test x$DRIVER_MAN_DIR = x    ; then
   10295     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10296 fi
   10297 
   10298 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10299     case $host_os in
   10300 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10301 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10302     esac
   10303 fi
   10304 if test x$ADMIN_MAN_DIR = x    ; then
   10305     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10306 fi
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 XORG_MAN_PAGE="X Version 11"
   10323 
   10324 MAN_SUBSTS="\
   10325 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10326 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10327 	-e 's|__xservername__|Xorg|g' \
   10328 	-e 's|__xconfigfile__|xorg.conf|g' \
   10329 	-e 's|__projectroot__|\$(prefix)|g' \
   10330 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10331 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10332 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10333 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10334 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10335 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10336 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10337 
   10338 
   10339 
   10340 # Check whether --enable-silent-rules was given.
   10341 if test "${enable_silent_rules+set}" = set; then :
   10342   enableval=$enable_silent_rules;
   10343 fi
   10344 
   10345 case $enable_silent_rules in
   10346 yes) AM_DEFAULT_VERBOSITY=0;;
   10347 no)  AM_DEFAULT_VERBOSITY=1;;
   10348 *)   AM_DEFAULT_VERBOSITY=0;;
   10349 esac
   10350 AM_BACKSLASH='\'
   10351 
   10352 
   10353 
   10354 ac_config_headers="$ac_config_headers config.h"
   10355 
   10356 
   10357 # Checks for pkg-config packages
   10358 
   10359 pkg_failed=no
   10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICO" >&5
   10361 $as_echo_n "checking for ICO... " >&6; }
   10362 
   10363 if test -n "$ICO_CFLAGS"; then
   10364     pkg_cv_ICO_CFLAGS="$ICO_CFLAGS"
   10365  elif test -n "$PKG_CONFIG"; then
   10366     if test -n "$PKG_CONFIG" && \
   10367     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1 xproto >= 7.0.22\""; } >&5
   10368   ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1 xproto >= 7.0.22") 2>&5
   10369   ac_status=$?
   10370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10371   test $ac_status = 0; }; then
   10372   pkg_cv_ICO_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 0.99.1 xproto >= 7.0.22" 2>/dev/null`
   10373 else
   10374   pkg_failed=yes
   10375 fi
   10376  else
   10377     pkg_failed=untried
   10378 fi
   10379 if test -n "$ICO_LIBS"; then
   10380     pkg_cv_ICO_LIBS="$ICO_LIBS"
   10381  elif test -n "$PKG_CONFIG"; then
   10382     if test -n "$PKG_CONFIG" && \
   10383     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 0.99.1 xproto >= 7.0.22\""; } >&5
   10384   ($PKG_CONFIG --exists --print-errors "x11 >= 0.99.1 xproto >= 7.0.22") 2>&5
   10385   ac_status=$?
   10386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10387   test $ac_status = 0; }; then
   10388   pkg_cv_ICO_LIBS=`$PKG_CONFIG --libs "x11 >= 0.99.1 xproto >= 7.0.22" 2>/dev/null`
   10389 else
   10390   pkg_failed=yes
   10391 fi
   10392  else
   10393     pkg_failed=untried
   10394 fi
   10395 
   10396 
   10397 
   10398 if test $pkg_failed = yes; then
   10399 
   10400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10401         _pkg_short_errors_supported=yes
   10402 else
   10403         _pkg_short_errors_supported=no
   10404 fi
   10405         if test $_pkg_short_errors_supported = yes; then
   10406 	        ICO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 >= 0.99.1 xproto >= 7.0.22" 2>&1`
   10407         else
   10408 	        ICO_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 >= 0.99.1 xproto >= 7.0.22" 2>&1`
   10409         fi
   10410 	# Put the nasty error message in config.log where it belongs
   10411 	echo "$ICO_PKG_ERRORS" >&5
   10412 
   10413 	as_fn_error $? "Package requirements (x11 >= 0.99.1 xproto >= 7.0.22) were not met:
   10414 
   10415 $ICO_PKG_ERRORS
   10416 
   10417 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10418 installed software in a non-standard prefix.
   10419 
   10420 Alternatively, you may set the environment variables ICO_CFLAGS
   10421 and ICO_LIBS to avoid the need to call pkg-config.
   10422 See the pkg-config man page for more details.
   10423 " "$LINENO" 5
   10424 elif test $pkg_failed = untried; then
   10425 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10427 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10428 is in your PATH or set the PKG_CONFIG environment variable to the full
   10429 path to pkg-config.
   10430 
   10431 Alternatively, you may set the environment variables ICO_CFLAGS
   10432 and ICO_LIBS to avoid the need to call pkg-config.
   10433 See the pkg-config man page for more details.
   10434 
   10435 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10436 See \`config.log' for more details" "$LINENO" 5; }
   10437 else
   10438 	ICO_CFLAGS=$pkg_cv_ICO_CFLAGS
   10439 	ICO_LIBS=$pkg_cv_ICO_LIBS
   10440         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10441 $as_echo "yes" >&6; }
   10442 	:
   10443 fi
   10444 
   10445 XTHREADLIB=`$PKG_CONFIG --variable=xthreadlib x11`
   10446 
   10447 
   10448 
   10449 ac_config_files="$ac_config_files Makefile man/Makefile"
   10450 
   10451 cat >confcache <<\_ACEOF
   10452 # This file is a shell script that caches the results of configure
   10453 # tests run on this system so they can be shared between configure
   10454 # scripts and configure runs, see configure's option --config-cache.
   10455 # It is not useful on other systems.  If it contains results you don't
   10456 # want to keep, you may remove or edit it.
   10457 #
   10458 # config.status only pays attention to the cache file if you give it
   10459 # the --recheck option to rerun configure.
   10460 #
   10461 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10462 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10463 # following values.
   10464 
   10465 _ACEOF
   10466 
   10467 # The following way of writing the cache mishandles newlines in values,
   10468 # but we know of no workaround that is simple, portable, and efficient.
   10469 # So, we kill variables containing newlines.
   10470 # Ultrix sh set writes to stderr and can't be redirected directly,
   10471 # and sets the high bit in the cache file unless we assign to the vars.
   10472 (
   10473   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10474     eval ac_val=\$$ac_var
   10475     case $ac_val in #(
   10476     *${as_nl}*)
   10477       case $ac_var in #(
   10478       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10479 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10480       esac
   10481       case $ac_var in #(
   10482       _ | IFS | as_nl) ;; #(
   10483       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10484       *) { eval $ac_var=; unset $ac_var;} ;;
   10485       esac ;;
   10486     esac
   10487   done
   10488 
   10489   (set) 2>&1 |
   10490     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10491     *${as_nl}ac_space=\ *)
   10492       # `set' does not quote correctly, so add quotes: double-quote
   10493       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10494       sed -n \
   10495 	"s/'/'\\\\''/g;
   10496 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10497       ;; #(
   10498     *)
   10499       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10500       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10501       ;;
   10502     esac |
   10503     sort
   10504 ) |
   10505   sed '
   10506      /^ac_cv_env_/b end
   10507      t clear
   10508      :clear
   10509      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10510      t end
   10511      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10512      :end' >>confcache
   10513 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10514   if test -w "$cache_file"; then
   10515     if test "x$cache_file" != "x/dev/null"; then
   10516       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10517 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10518       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10519 	cat confcache >"$cache_file"
   10520       else
   10521         case $cache_file in #(
   10522         */* | ?:*)
   10523 	  mv -f confcache "$cache_file"$$ &&
   10524 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10525         *)
   10526 	  mv -f confcache "$cache_file" ;;
   10527 	esac
   10528       fi
   10529     fi
   10530   else
   10531     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10532 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10533   fi
   10534 fi
   10535 rm -f confcache
   10536 
   10537 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10538 # Let make expand exec_prefix.
   10539 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10540 
   10541 DEFS=-DHAVE_CONFIG_H
   10542 
   10543 ac_libobjs=
   10544 ac_ltlibobjs=
   10545 U=
   10546 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10547   # 1. Remove the extension, and $U if already installed.
   10548   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10549   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10550   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10551   #    will be set to the directory where LIBOBJS objects are built.
   10552   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10553   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10554 done
   10555 LIBOBJS=$ac_libobjs
   10556 
   10557 LTLIBOBJS=$ac_ltlibobjs
   10558 
   10559 
   10560  if test -n "$EXEEXT"; then
   10561   am__EXEEXT_TRUE=
   10562   am__EXEEXT_FALSE='#'
   10563 else
   10564   am__EXEEXT_TRUE='#'
   10565   am__EXEEXT_FALSE=
   10566 fi
   10567 
   10568 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10569   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10571 fi
   10572 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10573   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10575 fi
   10576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10577   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10579 fi
   10580 
   10581 : "${CONFIG_STATUS=./config.status}"
   10582 ac_write_fail=0
   10583 ac_clean_files_save=$ac_clean_files
   10584 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10585 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10586 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10587 as_write_fail=0
   10588 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10589 #! $SHELL
   10590 # Generated by $as_me.
   10591 # Run this file to recreate the current configuration.
   10592 # Compiler output produced by configure, useful for debugging
   10593 # configure, is in config.log if it exists.
   10594 
   10595 debug=false
   10596 ac_cs_recheck=false
   10597 ac_cs_silent=false
   10598 
   10599 SHELL=\${CONFIG_SHELL-$SHELL}
   10600 export SHELL
   10601 _ASEOF
   10602 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10603 ## -------------------- ##
   10604 ## M4sh Initialization. ##
   10605 ## -------------------- ##
   10606 
   10607 # Be more Bourne compatible
   10608 DUALCASE=1; export DUALCASE # for MKS sh
   10609 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10610   emulate sh
   10611   NULLCMD=:
   10612   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10613   # is contrary to our usage.  Disable this feature.
   10614   alias -g '${1+"$@"}'='"$@"'
   10615   setopt NO_GLOB_SUBST
   10616 else
   10617   case `(set -o) 2>/dev/null` in #(
   10618   *posix*) :
   10619     set -o posix ;; #(
   10620   *) :
   10621      ;;
   10622 esac
   10623 fi
   10624 
   10625 
   10626 as_nl='
   10627 '
   10628 export as_nl
   10629 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10630 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10631 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10632 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10633 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10634 # but without wasting forks for bash or zsh.
   10635 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10636     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10637   as_echo='print -r --'
   10638   as_echo_n='print -rn --'
   10639 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10640   as_echo='printf %s\n'
   10641   as_echo_n='printf %s'
   10642 else
   10643   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10644     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10645     as_echo_n='/usr/ucb/echo -n'
   10646   else
   10647     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10648     as_echo_n_body='eval
   10649       arg=$1;
   10650       case $arg in #(
   10651       *"$as_nl"*)
   10652 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10653 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10654       esac;
   10655       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10656     '
   10657     export as_echo_n_body
   10658     as_echo_n='sh -c $as_echo_n_body as_echo'
   10659   fi
   10660   export as_echo_body
   10661   as_echo='sh -c $as_echo_body as_echo'
   10662 fi
   10663 
   10664 # The user is always right.
   10665 if test "${PATH_SEPARATOR+set}" != set; then
   10666   PATH_SEPARATOR=:
   10667   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10668     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10669       PATH_SEPARATOR=';'
   10670   }
   10671 fi
   10672 
   10673 
   10674 # IFS
   10675 # We need space, tab and new line, in precisely that order.  Quoting is
   10676 # there to prevent editors from complaining about space-tab.
   10677 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10678 # splitting by setting IFS to empty value.)
   10679 IFS=" ""	$as_nl"
   10680 
   10681 # Find who we are.  Look in the path if we contain no directory separator.
   10682 as_myself=
   10683 case $0 in #((
   10684   *[\\/]* ) as_myself=$0 ;;
   10685   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10686 for as_dir in $PATH
   10687 do
   10688   IFS=$as_save_IFS
   10689   test -z "$as_dir" && as_dir=.
   10690     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10691   done
   10692 IFS=$as_save_IFS
   10693 
   10694      ;;
   10695 esac
   10696 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10697 # in which case we are not to be found in the path.
   10698 if test "x$as_myself" = x; then
   10699   as_myself=$0
   10700 fi
   10701 if test ! -f "$as_myself"; then
   10702   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10703   exit 1
   10704 fi
   10705 
   10706 # Unset variables that we do not need and which cause bugs (e.g. in
   10707 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10708 # suppresses any "Segmentation fault" message there.  '((' could
   10709 # trigger a bug in pdksh 5.2.14.
   10710 for as_var in BASH_ENV ENV MAIL MAILPATH
   10711 do eval test x\${$as_var+set} = xset \
   10712   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10713 done
   10714 PS1='$ '
   10715 PS2='> '
   10716 PS4='+ '
   10717 
   10718 # NLS nuisances.
   10719 LC_ALL=C
   10720 export LC_ALL
   10721 LANGUAGE=C
   10722 export LANGUAGE
   10723 
   10724 # CDPATH.
   10725 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10726 
   10727 
   10728 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10729 # ----------------------------------------
   10730 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10731 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10732 # script with STATUS, using 1 if that was 0.
   10733 as_fn_error ()
   10734 {
   10735   as_status=$1; test $as_status -eq 0 && as_status=1
   10736   if test "$4"; then
   10737     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10738     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10739   fi
   10740   $as_echo "$as_me: error: $2" >&2
   10741   as_fn_exit $as_status
   10742 } # as_fn_error
   10743 
   10744 
   10745 # as_fn_set_status STATUS
   10746 # -----------------------
   10747 # Set $? to STATUS, without forking.
   10748 as_fn_set_status ()
   10749 {
   10750   return $1
   10751 } # as_fn_set_status
   10752 
   10753 # as_fn_exit STATUS
   10754 # -----------------
   10755 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10756 as_fn_exit ()
   10757 {
   10758   set +e
   10759   as_fn_set_status $1
   10760   exit $1
   10761 } # as_fn_exit
   10762 
   10763 # as_fn_unset VAR
   10764 # ---------------
   10765 # Portably unset VAR.
   10766 as_fn_unset ()
   10767 {
   10768   { eval $1=; unset $1;}
   10769 }
   10770 as_unset=as_fn_unset
   10771 # as_fn_append VAR VALUE
   10772 # ----------------------
   10773 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10774 # advantage of any shell optimizations that allow amortized linear growth over
   10775 # repeated appends, instead of the typical quadratic growth present in naive
   10776 # implementations.
   10777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10778   eval 'as_fn_append ()
   10779   {
   10780     eval $1+=\$2
   10781   }'
   10782 else
   10783   as_fn_append ()
   10784   {
   10785     eval $1=\$$1\$2
   10786   }
   10787 fi # as_fn_append
   10788 
   10789 # as_fn_arith ARG...
   10790 # ------------------
   10791 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10792 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10793 # must be portable across $(()) and expr.
   10794 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10795   eval 'as_fn_arith ()
   10796   {
   10797     as_val=$(( $* ))
   10798   }'
   10799 else
   10800   as_fn_arith ()
   10801   {
   10802     as_val=`expr "$@" || test $? -eq 1`
   10803   }
   10804 fi # as_fn_arith
   10805 
   10806 
   10807 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10808    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10809   as_expr=expr
   10810 else
   10811   as_expr=false
   10812 fi
   10813 
   10814 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10815   as_basename=basename
   10816 else
   10817   as_basename=false
   10818 fi
   10819 
   10820 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10821   as_dirname=dirname
   10822 else
   10823   as_dirname=false
   10824 fi
   10825 
   10826 as_me=`$as_basename -- "$0" ||
   10827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10828 	 X"$0" : 'X\(//\)$' \| \
   10829 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10830 $as_echo X/"$0" |
   10831     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10832 	    s//\1/
   10833 	    q
   10834 	  }
   10835 	  /^X\/\(\/\/\)$/{
   10836 	    s//\1/
   10837 	    q
   10838 	  }
   10839 	  /^X\/\(\/\).*/{
   10840 	    s//\1/
   10841 	    q
   10842 	  }
   10843 	  s/.*/./; q'`
   10844 
   10845 # Avoid depending upon Character Ranges.
   10846 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10847 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10848 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10849 as_cr_digits='0123456789'
   10850 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10851 
   10852 ECHO_C= ECHO_N= ECHO_T=
   10853 case `echo -n x` in #(((((
   10854 -n*)
   10855   case `echo 'xy\c'` in
   10856   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10857   xy)  ECHO_C='\c';;
   10858   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10859        ECHO_T='	';;
   10860   esac;;
   10861 *)
   10862   ECHO_N='-n';;
   10863 esac
   10864 
   10865 rm -f conf$$ conf$$.exe conf$$.file
   10866 if test -d conf$$.dir; then
   10867   rm -f conf$$.dir/conf$$.file
   10868 else
   10869   rm -f conf$$.dir
   10870   mkdir conf$$.dir 2>/dev/null
   10871 fi
   10872 if (echo >conf$$.file) 2>/dev/null; then
   10873   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10874     as_ln_s='ln -s'
   10875     # ... but there are two gotchas:
   10876     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10877     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10878     # In both cases, we have to default to `cp -p'.
   10879     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10880       as_ln_s='cp -p'
   10881   elif ln conf$$.file conf$$ 2>/dev/null; then
   10882     as_ln_s=ln
   10883   else
   10884     as_ln_s='cp -p'
   10885   fi
   10886 else
   10887   as_ln_s='cp -p'
   10888 fi
   10889 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   10890 rmdir conf$$.dir 2>/dev/null
   10891 
   10892 
   10893 # as_fn_mkdir_p
   10894 # -------------
   10895 # Create "$as_dir" as a directory, including parents if necessary.
   10896 as_fn_mkdir_p ()
   10897 {
   10898 
   10899   case $as_dir in #(
   10900   -*) as_dir=./$as_dir;;
   10901   esac
   10902   test -d "$as_dir" || eval $as_mkdir_p || {
   10903     as_dirs=
   10904     while :; do
   10905       case $as_dir in #(
   10906       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   10907       *) as_qdir=$as_dir;;
   10908       esac
   10909       as_dirs="'$as_qdir' $as_dirs"
   10910       as_dir=`$as_dirname -- "$as_dir" ||
   10911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   10912 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   10913 	 X"$as_dir" : 'X\(//\)$' \| \
   10914 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   10915 $as_echo X"$as_dir" |
   10916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   10917 	    s//\1/
   10918 	    q
   10919 	  }
   10920 	  /^X\(\/\/\)[^/].*/{
   10921 	    s//\1/
   10922 	    q
   10923 	  }
   10924 	  /^X\(\/\/\)$/{
   10925 	    s//\1/
   10926 	    q
   10927 	  }
   10928 	  /^X\(\/\).*/{
   10929 	    s//\1/
   10930 	    q
   10931 	  }
   10932 	  s/.*/./; q'`
   10933       test -d "$as_dir" && break
   10934     done
   10935     test -z "$as_dirs" || eval "mkdir $as_dirs"
   10936   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   10937 
   10938 
   10939 } # as_fn_mkdir_p
   10940 if mkdir -p . 2>/dev/null; then
   10941   as_mkdir_p='mkdir -p "$as_dir"'
   10942 else
   10943   test -d ./-p && rmdir ./-p
   10944   as_mkdir_p=false
   10945 fi
   10946 
   10947 if test -x / >/dev/null 2>&1; then
   10948   as_test_x='test -x'
   10949 else
   10950   if ls -dL / >/dev/null 2>&1; then
   10951     as_ls_L_option=L
   10952   else
   10953     as_ls_L_option=
   10954   fi
   10955   as_test_x='
   10956     eval sh -c '\''
   10957       if test -d "$1"; then
   10958 	test -d "$1/.";
   10959       else
   10960 	case $1 in #(
   10961 	-*)set "./$1";;
   10962 	esac;
   10963 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   10964 	???[sx]*):;;*)false;;esac;fi
   10965     '\'' sh
   10966   '
   10967 fi
   10968 as_executable_p=$as_test_x
   10969 
   10970 # Sed expression to map a string onto a valid CPP name.
   10971 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   10972 
   10973 # Sed expression to map a string onto a valid variable name.
   10974 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   10975 
   10976 
   10977 exec 6>&1
   10978 ## ----------------------------------- ##
   10979 ## Main body of $CONFIG_STATUS script. ##
   10980 ## ----------------------------------- ##
   10981 _ASEOF
   10982 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   10983 
   10984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10985 # Save the log message, to keep $0 and so on meaningful, and to
   10986 # report actual input values of CONFIG_FILES etc. instead of their
   10987 # values after options handling.
   10988 ac_log="
   10989 This file was extended by ico $as_me 1.0.4, which was
   10990 generated by GNU Autoconf 2.68.  Invocation command line was
   10991 
   10992   CONFIG_FILES    = $CONFIG_FILES
   10993   CONFIG_HEADERS  = $CONFIG_HEADERS
   10994   CONFIG_LINKS    = $CONFIG_LINKS
   10995   CONFIG_COMMANDS = $CONFIG_COMMANDS
   10996   $ $0 $@
   10997 
   10998 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   10999 "
   11000 
   11001 _ACEOF
   11002 
   11003 case $ac_config_files in *"
   11004 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11005 esac
   11006 
   11007 case $ac_config_headers in *"
   11008 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11009 esac
   11010 
   11011 
   11012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11013 # Files that config.status was made for.
   11014 config_files="$ac_config_files"
   11015 config_headers="$ac_config_headers"
   11016 config_commands="$ac_config_commands"
   11017 
   11018 _ACEOF
   11019 
   11020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11021 ac_cs_usage="\
   11022 \`$as_me' instantiates files and other configuration actions
   11023 from templates according to the current configuration.  Unless the files
   11024 and actions are specified as TAGs, all are instantiated by default.
   11025 
   11026 Usage: $0 [OPTION]... [TAG]...
   11027 
   11028   -h, --help       print this help, then exit
   11029   -V, --version    print version number and configuration settings, then exit
   11030       --config     print configuration, then exit
   11031   -q, --quiet, --silent
   11032                    do not print progress messages
   11033   -d, --debug      don't remove temporary files
   11034       --recheck    update $as_me by reconfiguring in the same conditions
   11035       --file=FILE[:TEMPLATE]
   11036                    instantiate the configuration file FILE
   11037       --header=FILE[:TEMPLATE]
   11038                    instantiate the configuration header FILE
   11039 
   11040 Configuration files:
   11041 $config_files
   11042 
   11043 Configuration headers:
   11044 $config_headers
   11045 
   11046 Configuration commands:
   11047 $config_commands
   11048 
   11049 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11050 
   11051 _ACEOF
   11052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11054 ac_cs_version="\\
   11055 ico config.status 1.0.4
   11056 configured by $0, generated by GNU Autoconf 2.68,
   11057   with options \\"\$ac_cs_config\\"
   11058 
   11059 Copyright (C) 2010 Free Software Foundation, Inc.
   11060 This config.status script is free software; the Free Software Foundation
   11061 gives unlimited permission to copy, distribute and modify it."
   11062 
   11063 ac_pwd='$ac_pwd'
   11064 srcdir='$srcdir'
   11065 INSTALL='$INSTALL'
   11066 MKDIR_P='$MKDIR_P'
   11067 AWK='$AWK'
   11068 test -n "\$AWK" || AWK=awk
   11069 _ACEOF
   11070 
   11071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11072 # The default lists apply if the user does not specify any file.
   11073 ac_need_defaults=:
   11074 while test $# != 0
   11075 do
   11076   case $1 in
   11077   --*=?*)
   11078     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11079     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11080     ac_shift=:
   11081     ;;
   11082   --*=)
   11083     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11084     ac_optarg=
   11085     ac_shift=:
   11086     ;;
   11087   *)
   11088     ac_option=$1
   11089     ac_optarg=$2
   11090     ac_shift=shift
   11091     ;;
   11092   esac
   11093 
   11094   case $ac_option in
   11095   # Handling of the options.
   11096   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11097     ac_cs_recheck=: ;;
   11098   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11099     $as_echo "$ac_cs_version"; exit ;;
   11100   --config | --confi | --conf | --con | --co | --c )
   11101     $as_echo "$ac_cs_config"; exit ;;
   11102   --debug | --debu | --deb | --de | --d | -d )
   11103     debug=: ;;
   11104   --file | --fil | --fi | --f )
   11105     $ac_shift
   11106     case $ac_optarg in
   11107     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11108     '') as_fn_error $? "missing file argument" ;;
   11109     esac
   11110     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11111     ac_need_defaults=false;;
   11112   --header | --heade | --head | --hea )
   11113     $ac_shift
   11114     case $ac_optarg in
   11115     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11116     esac
   11117     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11118     ac_need_defaults=false;;
   11119   --he | --h)
   11120     # Conflict between --help and --header
   11121     as_fn_error $? "ambiguous option: \`$1'
   11122 Try \`$0 --help' for more information.";;
   11123   --help | --hel | -h )
   11124     $as_echo "$ac_cs_usage"; exit ;;
   11125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11126   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11127     ac_cs_silent=: ;;
   11128 
   11129   # This is an error.
   11130   -*) as_fn_error $? "unrecognized option: \`$1'
   11131 Try \`$0 --help' for more information." ;;
   11132 
   11133   *) as_fn_append ac_config_targets " $1"
   11134      ac_need_defaults=false ;;
   11135 
   11136   esac
   11137   shift
   11138 done
   11139 
   11140 ac_configure_extra_args=
   11141 
   11142 if $ac_cs_silent; then
   11143   exec 6>/dev/null
   11144   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11145 fi
   11146 
   11147 _ACEOF
   11148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11149 if \$ac_cs_recheck; then
   11150   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11151   shift
   11152   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11153   CONFIG_SHELL='$SHELL'
   11154   export CONFIG_SHELL
   11155   exec "\$@"
   11156 fi
   11157 
   11158 _ACEOF
   11159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11160 exec 5>>config.log
   11161 {
   11162   echo
   11163   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11164 ## Running $as_me. ##
   11165 _ASBOX
   11166   $as_echo "$ac_log"
   11167 } >&5
   11168 
   11169 _ACEOF
   11170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11171 #
   11172 # INIT-COMMANDS
   11173 #
   11174 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11175 
   11176 _ACEOF
   11177 
   11178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11179 
   11180 # Handling of arguments.
   11181 for ac_config_target in $ac_config_targets
   11182 do
   11183   case $ac_config_target in
   11184     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11185     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11186     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11187     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11188 
   11189   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11190   esac
   11191 done
   11192 
   11193 
   11194 # If the user did not use the arguments to specify the items to instantiate,
   11195 # then the envvar interface is used.  Set only those that are not.
   11196 # We use the long form for the default assignment because of an extremely
   11197 # bizarre bug on SunOS 4.1.3.
   11198 if $ac_need_defaults; then
   11199   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11200   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11201   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11202 fi
   11203 
   11204 # Have a temporary directory for convenience.  Make it in the build tree
   11205 # simply because there is no reason against having it here, and in addition,
   11206 # creating and moving files from /tmp can sometimes cause problems.
   11207 # Hook for its removal unless debugging.
   11208 # Note that there is a small window in which the directory will not be cleaned:
   11209 # after its creation but before its name has been assigned to `$tmp'.
   11210 $debug ||
   11211 {
   11212   tmp= ac_tmp=
   11213   trap 'exit_status=$?
   11214   : "${ac_tmp:=$tmp}"
   11215   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11216 ' 0
   11217   trap 'as_fn_exit 1' 1 2 13 15
   11218 }
   11219 # Create a (secure) tmp directory for tmp files.
   11220 
   11221 {
   11222   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11223   test -d "$tmp"
   11224 }  ||
   11225 {
   11226   tmp=./conf$$-$RANDOM
   11227   (umask 077 && mkdir "$tmp")
   11228 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11229 ac_tmp=$tmp
   11230 
   11231 # Set up the scripts for CONFIG_FILES section.
   11232 # No need to generate them if there are no CONFIG_FILES.
   11233 # This happens for instance with `./config.status config.h'.
   11234 if test -n "$CONFIG_FILES"; then
   11235 
   11236 
   11237 ac_cr=`echo X | tr X '\015'`
   11238 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11239 # But we know of no other shell where ac_cr would be empty at this
   11240 # point, so we can use a bashism as a fallback.
   11241 if test "x$ac_cr" = x; then
   11242   eval ac_cr=\$\'\\r\'
   11243 fi
   11244 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11245 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11246   ac_cs_awk_cr='\\r'
   11247 else
   11248   ac_cs_awk_cr=$ac_cr
   11249 fi
   11250 
   11251 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11252 _ACEOF
   11253 
   11254 
   11255 {
   11256   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11257   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11258   echo "_ACEOF"
   11259 } >conf$$subs.sh ||
   11260   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11261 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11262 ac_delim='%!_!# '
   11263 for ac_last_try in false false false false false :; do
   11264   . ./conf$$subs.sh ||
   11265     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11266 
   11267   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11268   if test $ac_delim_n = $ac_delim_num; then
   11269     break
   11270   elif $ac_last_try; then
   11271     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11272   else
   11273     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11274   fi
   11275 done
   11276 rm -f conf$$subs.sh
   11277 
   11278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11279 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11280 _ACEOF
   11281 sed -n '
   11282 h
   11283 s/^/S["/; s/!.*/"]=/
   11284 p
   11285 g
   11286 s/^[^!]*!//
   11287 :repl
   11288 t repl
   11289 s/'"$ac_delim"'$//
   11290 t delim
   11291 :nl
   11292 h
   11293 s/\(.\{148\}\)..*/\1/
   11294 t more1
   11295 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11296 p
   11297 n
   11298 b repl
   11299 :more1
   11300 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11301 p
   11302 g
   11303 s/.\{148\}//
   11304 t nl
   11305 :delim
   11306 h
   11307 s/\(.\{148\}\)..*/\1/
   11308 t more2
   11309 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11310 p
   11311 b
   11312 :more2
   11313 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11314 p
   11315 g
   11316 s/.\{148\}//
   11317 t delim
   11318 ' <conf$$subs.awk | sed '
   11319 /^[^""]/{
   11320   N
   11321   s/\n//
   11322 }
   11323 ' >>$CONFIG_STATUS || ac_write_fail=1
   11324 rm -f conf$$subs.awk
   11325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11326 _ACAWK
   11327 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11328   for (key in S) S_is_set[key] = 1
   11329   FS = ""
   11330 
   11331 }
   11332 {
   11333   line = $ 0
   11334   nfields = split(line, field, "@")
   11335   substed = 0
   11336   len = length(field[1])
   11337   for (i = 2; i < nfields; i++) {
   11338     key = field[i]
   11339     keylen = length(key)
   11340     if (S_is_set[key]) {
   11341       value = S[key]
   11342       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11343       len += length(value) + length(field[++i])
   11344       substed = 1
   11345     } else
   11346       len += 1 + keylen
   11347   }
   11348 
   11349   print line
   11350 }
   11351 
   11352 _ACAWK
   11353 _ACEOF
   11354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11355 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11356   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11357 else
   11358   cat
   11359 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11360   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11361 _ACEOF
   11362 
   11363 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11364 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11365 # trailing colons and then remove the whole line if VPATH becomes empty
   11366 # (actually we leave an empty line to preserve line numbers).
   11367 if test "x$srcdir" = x.; then
   11368   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11369 h
   11370 s///
   11371 s/^/:/
   11372 s/[	 ]*$/:/
   11373 s/:\$(srcdir):/:/g
   11374 s/:\${srcdir}:/:/g
   11375 s/:@srcdir@:/:/g
   11376 s/^:*//
   11377 s/:*$//
   11378 x
   11379 s/\(=[	 ]*\).*/\1/
   11380 G
   11381 s/\n//
   11382 s/^[^=]*=[	 ]*$//
   11383 }'
   11384 fi
   11385 
   11386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11387 fi # test -n "$CONFIG_FILES"
   11388 
   11389 # Set up the scripts for CONFIG_HEADERS section.
   11390 # No need to generate them if there are no CONFIG_HEADERS.
   11391 # This happens for instance with `./config.status Makefile'.
   11392 if test -n "$CONFIG_HEADERS"; then
   11393 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11394 BEGIN {
   11395 _ACEOF
   11396 
   11397 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11398 # here-document in config.status, that substitutes the proper values into
   11399 # config.h.in to produce config.h.
   11400 
   11401 # Create a delimiter string that does not exist in confdefs.h, to ease
   11402 # handling of long lines.
   11403 ac_delim='%!_!# '
   11404 for ac_last_try in false false :; do
   11405   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11406   if test -z "$ac_tt"; then
   11407     break
   11408   elif $ac_last_try; then
   11409     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11410   else
   11411     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11412   fi
   11413 done
   11414 
   11415 # For the awk script, D is an array of macro values keyed by name,
   11416 # likewise P contains macro parameters if any.  Preserve backslash
   11417 # newline sequences.
   11418 
   11419 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11420 sed -n '
   11421 s/.\{148\}/&'"$ac_delim"'/g
   11422 t rset
   11423 :rset
   11424 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11425 t def
   11426 d
   11427 :def
   11428 s/\\$//
   11429 t bsnl
   11430 s/["\\]/\\&/g
   11431 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11432 D["\1"]=" \3"/p
   11433 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11434 d
   11435 :bsnl
   11436 s/["\\]/\\&/g
   11437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11438 D["\1"]=" \3\\\\\\n"\\/p
   11439 t cont
   11440 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11441 t cont
   11442 d
   11443 :cont
   11444 n
   11445 s/.\{148\}/&'"$ac_delim"'/g
   11446 t clear
   11447 :clear
   11448 s/\\$//
   11449 t bsnlc
   11450 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11451 d
   11452 :bsnlc
   11453 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11454 b cont
   11455 ' <confdefs.h | sed '
   11456 s/'"$ac_delim"'/"\\\
   11457 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11458 
   11459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11460   for (key in D) D_is_set[key] = 1
   11461   FS = ""
   11462 }
   11463 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11464   line = \$ 0
   11465   split(line, arg, " ")
   11466   if (arg[1] == "#") {
   11467     defundef = arg[2]
   11468     mac1 = arg[3]
   11469   } else {
   11470     defundef = substr(arg[1], 2)
   11471     mac1 = arg[2]
   11472   }
   11473   split(mac1, mac2, "(") #)
   11474   macro = mac2[1]
   11475   prefix = substr(line, 1, index(line, defundef) - 1)
   11476   if (D_is_set[macro]) {
   11477     # Preserve the white space surrounding the "#".
   11478     print prefix "define", macro P[macro] D[macro]
   11479     next
   11480   } else {
   11481     # Replace #undef with comments.  This is necessary, for example,
   11482     # in the case of _POSIX_SOURCE, which is predefined and required
   11483     # on some systems where configure will not decide to define it.
   11484     if (defundef == "undef") {
   11485       print "/*", prefix defundef, macro, "*/"
   11486       next
   11487     }
   11488   }
   11489 }
   11490 { print }
   11491 _ACAWK
   11492 _ACEOF
   11493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11494   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11495 fi # test -n "$CONFIG_HEADERS"
   11496 
   11497 
   11498 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11499 shift
   11500 for ac_tag
   11501 do
   11502   case $ac_tag in
   11503   :[FHLC]) ac_mode=$ac_tag; continue;;
   11504   esac
   11505   case $ac_mode$ac_tag in
   11506   :[FHL]*:*);;
   11507   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11508   :[FH]-) ac_tag=-:-;;
   11509   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11510   esac
   11511   ac_save_IFS=$IFS
   11512   IFS=:
   11513   set x $ac_tag
   11514   IFS=$ac_save_IFS
   11515   shift
   11516   ac_file=$1
   11517   shift
   11518 
   11519   case $ac_mode in
   11520   :L) ac_source=$1;;
   11521   :[FH])
   11522     ac_file_inputs=
   11523     for ac_f
   11524     do
   11525       case $ac_f in
   11526       -) ac_f="$ac_tmp/stdin";;
   11527       *) # Look for the file first in the build tree, then in the source tree
   11528 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11529 	 # because $ac_f cannot contain `:'.
   11530 	 test -f "$ac_f" ||
   11531 	   case $ac_f in
   11532 	   [\\/$]*) false;;
   11533 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11534 	   esac ||
   11535 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11536       esac
   11537       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11538       as_fn_append ac_file_inputs " '$ac_f'"
   11539     done
   11540 
   11541     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11542     # use $as_me), people would be surprised to read:
   11543     #    /* config.h.  Generated by config.status.  */
   11544     configure_input='Generated from '`
   11545 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11546 	`' by configure.'
   11547     if test x"$ac_file" != x-; then
   11548       configure_input="$ac_file.  $configure_input"
   11549       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11550 $as_echo "$as_me: creating $ac_file" >&6;}
   11551     fi
   11552     # Neutralize special characters interpreted by sed in replacement strings.
   11553     case $configure_input in #(
   11554     *\&* | *\|* | *\\* )
   11555        ac_sed_conf_input=`$as_echo "$configure_input" |
   11556        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11557     *) ac_sed_conf_input=$configure_input;;
   11558     esac
   11559 
   11560     case $ac_tag in
   11561     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11562       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11563     esac
   11564     ;;
   11565   esac
   11566 
   11567   ac_dir=`$as_dirname -- "$ac_file" ||
   11568 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11569 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11570 	 X"$ac_file" : 'X\(//\)$' \| \
   11571 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11572 $as_echo X"$ac_file" |
   11573     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11574 	    s//\1/
   11575 	    q
   11576 	  }
   11577 	  /^X\(\/\/\)[^/].*/{
   11578 	    s//\1/
   11579 	    q
   11580 	  }
   11581 	  /^X\(\/\/\)$/{
   11582 	    s//\1/
   11583 	    q
   11584 	  }
   11585 	  /^X\(\/\).*/{
   11586 	    s//\1/
   11587 	    q
   11588 	  }
   11589 	  s/.*/./; q'`
   11590   as_dir="$ac_dir"; as_fn_mkdir_p
   11591   ac_builddir=.
   11592 
   11593 case "$ac_dir" in
   11594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11595 *)
   11596   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11597   # A ".." for each directory in $ac_dir_suffix.
   11598   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11599   case $ac_top_builddir_sub in
   11600   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11601   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11602   esac ;;
   11603 esac
   11604 ac_abs_top_builddir=$ac_pwd
   11605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11606 # for backward compatibility:
   11607 ac_top_builddir=$ac_top_build_prefix
   11608 
   11609 case $srcdir in
   11610   .)  # We are building in place.
   11611     ac_srcdir=.
   11612     ac_top_srcdir=$ac_top_builddir_sub
   11613     ac_abs_top_srcdir=$ac_pwd ;;
   11614   [\\/]* | ?:[\\/]* )  # Absolute name.
   11615     ac_srcdir=$srcdir$ac_dir_suffix;
   11616     ac_top_srcdir=$srcdir
   11617     ac_abs_top_srcdir=$srcdir ;;
   11618   *) # Relative name.
   11619     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11620     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11621     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11622 esac
   11623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11624 
   11625 
   11626   case $ac_mode in
   11627   :F)
   11628   #
   11629   # CONFIG_FILE
   11630   #
   11631 
   11632   case $INSTALL in
   11633   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11634   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11635   esac
   11636   ac_MKDIR_P=$MKDIR_P
   11637   case $MKDIR_P in
   11638   [\\/$]* | ?:[\\/]* ) ;;
   11639   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11640   esac
   11641 _ACEOF
   11642 
   11643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11644 # If the template does not know about datarootdir, expand it.
   11645 # FIXME: This hack should be removed a few years after 2.60.
   11646 ac_datarootdir_hack=; ac_datarootdir_seen=
   11647 ac_sed_dataroot='
   11648 /datarootdir/ {
   11649   p
   11650   q
   11651 }
   11652 /@datadir@/p
   11653 /@docdir@/p
   11654 /@infodir@/p
   11655 /@localedir@/p
   11656 /@mandir@/p'
   11657 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11658 *datarootdir*) ac_datarootdir_seen=yes;;
   11659 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11660   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11661 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11662 _ACEOF
   11663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11664   ac_datarootdir_hack='
   11665   s&@datadir@&$datadir&g
   11666   s&@docdir@&$docdir&g
   11667   s&@infodir@&$infodir&g
   11668   s&@localedir@&$localedir&g
   11669   s&@mandir@&$mandir&g
   11670   s&\\\${datarootdir}&$datarootdir&g' ;;
   11671 esac
   11672 _ACEOF
   11673 
   11674 # Neutralize VPATH when `$srcdir' = `.'.
   11675 # Shell code in configure.ac might set extrasub.
   11676 # FIXME: do we really want to maintain this feature?
   11677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11678 ac_sed_extra="$ac_vpsub
   11679 $extrasub
   11680 _ACEOF
   11681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11682 :t
   11683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11684 s|@configure_input@|$ac_sed_conf_input|;t t
   11685 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11686 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11687 s&@srcdir@&$ac_srcdir&;t t
   11688 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11689 s&@top_srcdir@&$ac_top_srcdir&;t t
   11690 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11691 s&@builddir@&$ac_builddir&;t t
   11692 s&@abs_builddir@&$ac_abs_builddir&;t t
   11693 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11694 s&@INSTALL@&$ac_INSTALL&;t t
   11695 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11696 $ac_datarootdir_hack
   11697 "
   11698 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11699   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11700 
   11701 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11702   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11703   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11704       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11705   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11706 which seems to be undefined.  Please make sure it is defined" >&5
   11707 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11708 which seems to be undefined.  Please make sure it is defined" >&2;}
   11709 
   11710   rm -f "$ac_tmp/stdin"
   11711   case $ac_file in
   11712   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11713   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11714   esac \
   11715   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11716  ;;
   11717   :H)
   11718   #
   11719   # CONFIG_HEADER
   11720   #
   11721   if test x"$ac_file" != x-; then
   11722     {
   11723       $as_echo "/* $configure_input  */" \
   11724       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11725     } >"$ac_tmp/config.h" \
   11726       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11727     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11728       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11729 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11730     else
   11731       rm -f "$ac_file"
   11732       mv "$ac_tmp/config.h" "$ac_file" \
   11733 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11734     fi
   11735   else
   11736     $as_echo "/* $configure_input  */" \
   11737       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11738       || as_fn_error $? "could not create -" "$LINENO" 5
   11739   fi
   11740 # Compute "$ac_file"'s index in $config_headers.
   11741 _am_arg="$ac_file"
   11742 _am_stamp_count=1
   11743 for _am_header in $config_headers :; do
   11744   case $_am_header in
   11745     $_am_arg | $_am_arg:* )
   11746       break ;;
   11747     * )
   11748       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11749   esac
   11750 done
   11751 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11752 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11753 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11754 	 X"$_am_arg" : 'X\(//\)$' \| \
   11755 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11756 $as_echo X"$_am_arg" |
   11757     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11758 	    s//\1/
   11759 	    q
   11760 	  }
   11761 	  /^X\(\/\/\)[^/].*/{
   11762 	    s//\1/
   11763 	    q
   11764 	  }
   11765 	  /^X\(\/\/\)$/{
   11766 	    s//\1/
   11767 	    q
   11768 	  }
   11769 	  /^X\(\/\).*/{
   11770 	    s//\1/
   11771 	    q
   11772 	  }
   11773 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11774  ;;
   11775 
   11776   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11777 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11778  ;;
   11779   esac
   11780 
   11781 
   11782   case $ac_file$ac_mode in
   11783     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11784   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11785   # are listed without --file.  Let's play safe and only enable the eval
   11786   # if we detect the quoting.
   11787   case $CONFIG_FILES in
   11788   *\'*) eval set x "$CONFIG_FILES" ;;
   11789   *)   set x $CONFIG_FILES ;;
   11790   esac
   11791   shift
   11792   for mf
   11793   do
   11794     # Strip MF so we end up with the name of the file.
   11795     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11796     # Check whether this is an Automake generated Makefile or not.
   11797     # We used to match only the files named `Makefile.in', but
   11798     # some people rename them; so instead we look at the file content.
   11799     # Grep'ing the first line is not enough: some people post-process
   11800     # each Makefile.in and add a new line on top of each file to say so.
   11801     # Grep'ing the whole file is not good either: AIX grep has a line
   11802     # limit of 2048, but all sed's we know have understand at least 4000.
   11803     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11804       dirpart=`$as_dirname -- "$mf" ||
   11805 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11806 	 X"$mf" : 'X\(//\)[^/]' \| \
   11807 	 X"$mf" : 'X\(//\)$' \| \
   11808 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11809 $as_echo X"$mf" |
   11810     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11811 	    s//\1/
   11812 	    q
   11813 	  }
   11814 	  /^X\(\/\/\)[^/].*/{
   11815 	    s//\1/
   11816 	    q
   11817 	  }
   11818 	  /^X\(\/\/\)$/{
   11819 	    s//\1/
   11820 	    q
   11821 	  }
   11822 	  /^X\(\/\).*/{
   11823 	    s//\1/
   11824 	    q
   11825 	  }
   11826 	  s/.*/./; q'`
   11827     else
   11828       continue
   11829     fi
   11830     # Extract the definition of DEPDIR, am__include, and am__quote
   11831     # from the Makefile without running `make'.
   11832     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11833     test -z "$DEPDIR" && continue
   11834     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11835     test -z "am__include" && continue
   11836     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11837     # When using ansi2knr, U may be empty or an underscore; expand it
   11838     U=`sed -n 's/^U = //p' < "$mf"`
   11839     # Find all dependency output files, they are included files with
   11840     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11841     # simplest approach to changing $(DEPDIR) to its actual value in the
   11842     # expansion.
   11843     for file in `sed -n "
   11844       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11845 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11846       # Make sure the directory exists.
   11847       test -f "$dirpart/$file" && continue
   11848       fdir=`$as_dirname -- "$file" ||
   11849 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11850 	 X"$file" : 'X\(//\)[^/]' \| \
   11851 	 X"$file" : 'X\(//\)$' \| \
   11852 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11853 $as_echo X"$file" |
   11854     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11855 	    s//\1/
   11856 	    q
   11857 	  }
   11858 	  /^X\(\/\/\)[^/].*/{
   11859 	    s//\1/
   11860 	    q
   11861 	  }
   11862 	  /^X\(\/\/\)$/{
   11863 	    s//\1/
   11864 	    q
   11865 	  }
   11866 	  /^X\(\/\).*/{
   11867 	    s//\1/
   11868 	    q
   11869 	  }
   11870 	  s/.*/./; q'`
   11871       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11872       # echo "creating $dirpart/$file"
   11873       echo '# dummy' > "$dirpart/$file"
   11874     done
   11875   done
   11876 }
   11877  ;;
   11878 
   11879   esac
   11880 done # for ac_tag
   11881 
   11882 
   11883 as_fn_exit 0
   11884 _ACEOF
   11885 ac_clean_files=$ac_clean_files_save
   11886 
   11887 test $ac_write_fail = 0 ||
   11888   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11889 
   11890 
   11891 # configure is writing to config.log, and then calls config.status.
   11892 # config.status does its own redirection, appending to config.log.
   11893 # Unfortunately, on DOS this fails, as config.log is still kept open
   11894 # by configure, so config.status won't be able to write to it; its
   11895 # output is simply discarded.  So we exec the FD to /dev/null,
   11896 # effectively closing config.log, so it can be properly (re)opened and
   11897 # appended to by config.status.  When coming back to configure, we
   11898 # need to make the FD available again.
   11899 if test "$no_create" != yes; then
   11900   ac_cs_success=:
   11901   ac_config_status_args=
   11902   test "$silent" = yes &&
   11903     ac_config_status_args="$ac_config_status_args --quiet"
   11904   exec 5>/dev/null
   11905   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11906   exec 5>>config.log
   11907   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11908   # would make configure fail if this is the last instruction.
   11909   $ac_cs_success || as_fn_exit 1
   11910 fi
   11911 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11912   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11913 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11914 fi
   11915 
   11916