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