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