Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for bdftopcf 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='bdftopcf'
    563 PACKAGE_TARNAME='bdftopcf'
    564 PACKAGE_VERSION='1.0.4'
    565 PACKAGE_STRING='bdftopcf 1.0.4'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 LINT_FALSE
    610 LINT_TRUE
    611 LINT_FLAGS
    612 LINT
    613 BDFTOPCF_LIBS
    614 BDFTOPCF_CFLAGS
    615 AM_BACKSLASH
    616 AM_DEFAULT_VERBOSITY
    617 MAN_SUBSTS
    618 XORG_MAN_PAGE
    619 ADMIN_MAN_DIR
    620 DRIVER_MAN_DIR
    621 MISC_MAN_DIR
    622 FILE_MAN_DIR
    623 LIB_MAN_DIR
    624 APP_MAN_DIR
    625 ADMIN_MAN_SUFFIX
    626 DRIVER_MAN_SUFFIX
    627 MISC_MAN_SUFFIX
    628 FILE_MAN_SUFFIX
    629 LIB_MAN_SUFFIX
    630 APP_MAN_SUFFIX
    631 SED
    632 host_os
    633 host_vendor
    634 host_cpu
    635 host
    636 build_os
    637 build_vendor
    638 build_cpu
    639 build
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 EGREP
    647 GREP
    648 CPP
    649 am__fastdepCC_FALSE
    650 am__fastdepCC_TRUE
    651 CCDEPMODE
    652 am__nodep
    653 AMDEPBACKSLASH
    654 AMDEP_FALSE
    655 AMDEP_TRUE
    656 am__quote
    657 am__include
    658 DEPDIR
    659 OBJEXT
    660 EXEEXT
    661 ac_ct_CC
    662 CPPFLAGS
    663 LDFLAGS
    664 CFLAGS
    665 CC
    666 MAINT
    667 MAINTAINER_MODE_FALSE
    668 MAINTAINER_MODE_TRUE
    669 am__untar
    670 am__tar
    671 AMTAR
    672 am__leading_dot
    673 SET_MAKE
    674 AWK
    675 mkdir_p
    676 MKDIR_P
    677 INSTALL_STRIP_PROGRAM
    678 STRIP
    679 install_sh
    680 MAKEINFO
    681 AUTOHEADER
    682 AUTOMAKE
    683 AUTOCONF
    684 ACLOCAL
    685 VERSION
    686 PACKAGE
    687 CYGPATH_W
    688 am__isrc
    689 INSTALL_DATA
    690 INSTALL_SCRIPT
    691 INSTALL_PROGRAM
    692 target_alias
    693 host_alias
    694 build_alias
    695 LIBS
    696 ECHO_T
    697 ECHO_N
    698 ECHO_C
    699 DEFS
    700 mandir
    701 localedir
    702 libdir
    703 psdir
    704 pdfdir
    705 dvidir
    706 htmldir
    707 infodir
    708 docdir
    709 oldincludedir
    710 includedir
    711 localstatedir
    712 sharedstatedir
    713 sysconfdir
    714 datadir
    715 datarootdir
    716 libexecdir
    717 sbindir
    718 bindir
    719 program_transform_name
    720 prefix
    721 exec_prefix
    722 PACKAGE_URL
    723 PACKAGE_BUGREPORT
    724 PACKAGE_STRING
    725 PACKAGE_VERSION
    726 PACKAGE_TARNAME
    727 PACKAGE_NAME
    728 PATH_SEPARATOR
    729 SHELL'
    730 ac_subst_files=''
    731 ac_user_opts='
    732 enable_option_checking
    733 enable_maintainer_mode
    734 enable_dependency_tracking
    735 enable_selective_werror
    736 enable_strict_compilation
    737 enable_silent_rules
    738 with_lint
    739 '
    740       ac_precious_vars='build_alias
    741 host_alias
    742 target_alias
    743 CC
    744 CFLAGS
    745 LDFLAGS
    746 LIBS
    747 CPPFLAGS
    748 CPP
    749 PKG_CONFIG
    750 BDFTOPCF_CFLAGS
    751 BDFTOPCF_LIBS
    752 LINT
    753 LINT_FLAGS'
    754 
    755 
    756 # Initialize some variables set by options.
    757 ac_init_help=
    758 ac_init_version=false
    759 ac_unrecognized_opts=
    760 ac_unrecognized_sep=
    761 # The variables have the same names as the options, with
    762 # dashes changed to underlines.
    763 cache_file=/dev/null
    764 exec_prefix=NONE
    765 no_create=
    766 no_recursion=
    767 prefix=NONE
    768 program_prefix=NONE
    769 program_suffix=NONE
    770 program_transform_name=s,x,x,
    771 silent=
    772 site=
    773 srcdir=
    774 verbose=
    775 x_includes=NONE
    776 x_libraries=NONE
    777 
    778 # Installation directory options.
    779 # These are left unexpanded so users can "make install exec_prefix=/foo"
    780 # and all the variables that are supposed to be based on exec_prefix
    781 # by default will actually change.
    782 # Use braces instead of parens because sh, perl, etc. also accept them.
    783 # (The list follows the same order as the GNU Coding Standards.)
    784 bindir='${exec_prefix}/bin'
    785 sbindir='${exec_prefix}/sbin'
    786 libexecdir='${exec_prefix}/libexec'
    787 datarootdir='${prefix}/share'
    788 datadir='${datarootdir}'
    789 sysconfdir='${prefix}/etc'
    790 sharedstatedir='${prefix}/com'
    791 localstatedir='${prefix}/var'
    792 includedir='${prefix}/include'
    793 oldincludedir='/usr/include'
    794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    795 infodir='${datarootdir}/info'
    796 htmldir='${docdir}'
    797 dvidir='${docdir}'
    798 pdfdir='${docdir}'
    799 psdir='${docdir}'
    800 libdir='${exec_prefix}/lib'
    801 localedir='${datarootdir}/locale'
    802 mandir='${datarootdir}/man'
    803 
    804 ac_prev=
    805 ac_dashdash=
    806 for ac_option
    807 do
    808   # If the previous option needs an argument, assign it.
    809   if test -n "$ac_prev"; then
    810     eval $ac_prev=\$ac_option
    811     ac_prev=
    812     continue
    813   fi
    814 
    815   case $ac_option in
    816   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    817   *=)   ac_optarg= ;;
    818   *)    ac_optarg=yes ;;
    819   esac
    820 
    821   # Accept the important Cygnus configure options, so we can diagnose typos.
    822 
    823   case $ac_dashdash$ac_option in
    824   --)
    825     ac_dashdash=yes ;;
    826 
    827   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    828     ac_prev=bindir ;;
    829   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    830     bindir=$ac_optarg ;;
    831 
    832   -build | --build | --buil | --bui | --bu)
    833     ac_prev=build_alias ;;
    834   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    835     build_alias=$ac_optarg ;;
    836 
    837   -cache-file | --cache-file | --cache-fil | --cache-fi \
    838   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    839     ac_prev=cache_file ;;
    840   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    841   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    842     cache_file=$ac_optarg ;;
    843 
    844   --config-cache | -C)
    845     cache_file=config.cache ;;
    846 
    847   -datadir | --datadir | --datadi | --datad)
    848     ac_prev=datadir ;;
    849   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    850     datadir=$ac_optarg ;;
    851 
    852   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    853   | --dataroo | --dataro | --datar)
    854     ac_prev=datarootdir ;;
    855   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    856   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    857     datarootdir=$ac_optarg ;;
    858 
    859   -disable-* | --disable-*)
    860     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    861     # Reject names that are not valid shell variable names.
    862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    863       as_fn_error $? "invalid feature name: $ac_useropt"
    864     ac_useropt_orig=$ac_useropt
    865     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    866     case $ac_user_opts in
    867       *"
    868 "enable_$ac_useropt"
    869 "*) ;;
    870       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    871 	 ac_unrecognized_sep=', ';;
    872     esac
    873     eval enable_$ac_useropt=no ;;
    874 
    875   -docdir | --docdir | --docdi | --doc | --do)
    876     ac_prev=docdir ;;
    877   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    878     docdir=$ac_optarg ;;
    879 
    880   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    881     ac_prev=dvidir ;;
    882   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    883     dvidir=$ac_optarg ;;
    884 
    885   -enable-* | --enable-*)
    886     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    887     # Reject names that are not valid shell variable names.
    888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       as_fn_error $? "invalid feature name: $ac_useropt"
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=\$ac_optarg ;;
    900 
    901   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    902   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    903   | --exec | --exe | --ex)
    904     ac_prev=exec_prefix ;;
    905   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    906   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    907   | --exec=* | --exe=* | --ex=*)
    908     exec_prefix=$ac_optarg ;;
    909 
    910   -gas | --gas | --ga | --g)
    911     # Obsolete; use --with-gas.
    912     with_gas=yes ;;
    913 
    914   -help | --help | --hel | --he | -h)
    915     ac_init_help=long ;;
    916   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    917     ac_init_help=recursive ;;
    918   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    919     ac_init_help=short ;;
    920 
    921   -host | --host | --hos | --ho)
    922     ac_prev=host_alias ;;
    923   -host=* | --host=* | --hos=* | --ho=*)
    924     host_alias=$ac_optarg ;;
    925 
    926   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    927     ac_prev=htmldir ;;
    928   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    929   | --ht=*)
    930     htmldir=$ac_optarg ;;
    931 
    932   -includedir | --includedir | --includedi | --included | --include \
    933   | --includ | --inclu | --incl | --inc)
    934     ac_prev=includedir ;;
    935   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    936   | --includ=* | --inclu=* | --incl=* | --inc=*)
    937     includedir=$ac_optarg ;;
    938 
    939   -infodir | --infodir | --infodi | --infod | --info | --inf)
    940     ac_prev=infodir ;;
    941   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    942     infodir=$ac_optarg ;;
    943 
    944   -libdir | --libdir | --libdi | --libd)
    945     ac_prev=libdir ;;
    946   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    947     libdir=$ac_optarg ;;
    948 
    949   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    950   | --libexe | --libex | --libe)
    951     ac_prev=libexecdir ;;
    952   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    953   | --libexe=* | --libex=* | --libe=*)
    954     libexecdir=$ac_optarg ;;
    955 
    956   -localedir | --localedir | --localedi | --localed | --locale)
    957     ac_prev=localedir ;;
    958   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    959     localedir=$ac_optarg ;;
    960 
    961   -localstatedir | --localstatedir | --localstatedi | --localstated \
    962   | --localstate | --localstat | --localsta | --localst | --locals)
    963     ac_prev=localstatedir ;;
    964   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    965   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    966     localstatedir=$ac_optarg ;;
    967 
    968   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    969     ac_prev=mandir ;;
    970   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    971     mandir=$ac_optarg ;;
    972 
    973   -nfp | --nfp | --nf)
    974     # Obsolete; use --without-fp.
    975     with_fp=no ;;
    976 
    977   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    978   | --no-cr | --no-c | -n)
    979     no_create=yes ;;
    980 
    981   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    982   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    983     no_recursion=yes ;;
    984 
    985   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    986   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    987   | --oldin | --oldi | --old | --ol | --o)
    988     ac_prev=oldincludedir ;;
    989   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    990   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    991   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    992     oldincludedir=$ac_optarg ;;
    993 
    994   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    995     ac_prev=prefix ;;
    996   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    997     prefix=$ac_optarg ;;
    998 
    999   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1000   | --program-pre | --program-pr | --program-p)
   1001     ac_prev=program_prefix ;;
   1002   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1003   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1004     program_prefix=$ac_optarg ;;
   1005 
   1006   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1007   | --program-suf | --program-su | --program-s)
   1008     ac_prev=program_suffix ;;
   1009   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1010   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1011     program_suffix=$ac_optarg ;;
   1012 
   1013   -program-transform-name | --program-transform-name \
   1014   | --program-transform-nam | --program-transform-na \
   1015   | --program-transform-n | --program-transform- \
   1016   | --program-transform | --program-transfor \
   1017   | --program-transfo | --program-transf \
   1018   | --program-trans | --program-tran \
   1019   | --progr-tra | --program-tr | --program-t)
   1020     ac_prev=program_transform_name ;;
   1021   -program-transform-name=* | --program-transform-name=* \
   1022   | --program-transform-nam=* | --program-transform-na=* \
   1023   | --program-transform-n=* | --program-transform-=* \
   1024   | --program-transform=* | --program-transfor=* \
   1025   | --program-transfo=* | --program-transf=* \
   1026   | --program-trans=* | --program-tran=* \
   1027   | --progr-tra=* | --program-tr=* | --program-t=*)
   1028     program_transform_name=$ac_optarg ;;
   1029 
   1030   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1031     ac_prev=pdfdir ;;
   1032   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1033     pdfdir=$ac_optarg ;;
   1034 
   1035   -psdir | --psdir | --psdi | --psd | --ps)
   1036     ac_prev=psdir ;;
   1037   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1038     psdir=$ac_optarg ;;
   1039 
   1040   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1041   | -silent | --silent | --silen | --sile | --sil)
   1042     silent=yes ;;
   1043 
   1044   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1045     ac_prev=sbindir ;;
   1046   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1047   | --sbi=* | --sb=*)
   1048     sbindir=$ac_optarg ;;
   1049 
   1050   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1051   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1052   | --sharedst | --shareds | --shared | --share | --shar \
   1053   | --sha | --sh)
   1054     ac_prev=sharedstatedir ;;
   1055   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1056   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1057   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1058   | --sha=* | --sh=*)
   1059     sharedstatedir=$ac_optarg ;;
   1060 
   1061   -site | --site | --sit)
   1062     ac_prev=site ;;
   1063   -site=* | --site=* | --sit=*)
   1064     site=$ac_optarg ;;
   1065 
   1066   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1067     ac_prev=srcdir ;;
   1068   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1069     srcdir=$ac_optarg ;;
   1070 
   1071   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1072   | --syscon | --sysco | --sysc | --sys | --sy)
   1073     ac_prev=sysconfdir ;;
   1074   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1075   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1076     sysconfdir=$ac_optarg ;;
   1077 
   1078   -target | --target | --targe | --targ | --tar | --ta | --t)
   1079     ac_prev=target_alias ;;
   1080   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1081     target_alias=$ac_optarg ;;
   1082 
   1083   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1084     verbose=yes ;;
   1085 
   1086   -version | --version | --versio | --versi | --vers | -V)
   1087     ac_init_version=: ;;
   1088 
   1089   -with-* | --with-*)
   1090     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1091     # Reject names that are not valid shell variable names.
   1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1093       as_fn_error $? "invalid package name: $ac_useropt"
   1094     ac_useropt_orig=$ac_useropt
   1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1096     case $ac_user_opts in
   1097       *"
   1098 "with_$ac_useropt"
   1099 "*) ;;
   1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1101 	 ac_unrecognized_sep=', ';;
   1102     esac
   1103     eval with_$ac_useropt=\$ac_optarg ;;
   1104 
   1105   -without-* | --without-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=no ;;
   1120 
   1121   --x)
   1122     # Obsolete; use --with-x.
   1123     with_x=yes ;;
   1124 
   1125   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1126   | --x-incl | --x-inc | --x-in | --x-i)
   1127     ac_prev=x_includes ;;
   1128   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1129   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1130     x_includes=$ac_optarg ;;
   1131 
   1132   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1133   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1134     ac_prev=x_libraries ;;
   1135   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1136   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1137     x_libraries=$ac_optarg ;;
   1138 
   1139   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1140 Try \`$0 --help' for more information"
   1141     ;;
   1142 
   1143   *=*)
   1144     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1145     # Reject names that are not valid shell variable names.
   1146     case $ac_envvar in #(
   1147       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1148       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1149     esac
   1150     eval $ac_envvar=\$ac_optarg
   1151     export $ac_envvar ;;
   1152 
   1153   *)
   1154     # FIXME: should be removed in autoconf 3.0.
   1155     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1156     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1157       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1158     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1159     ;;
   1160 
   1161   esac
   1162 done
   1163 
   1164 if test -n "$ac_prev"; then
   1165   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1166   as_fn_error $? "missing argument to $ac_option"
   1167 fi
   1168 
   1169 if test -n "$ac_unrecognized_opts"; then
   1170   case $enable_option_checking in
   1171     no) ;;
   1172     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1173     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1174   esac
   1175 fi
   1176 
   1177 # Check all directory arguments for consistency.
   1178 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1179 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1180 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1181 		libdir localedir mandir
   1182 do
   1183   eval ac_val=\$$ac_var
   1184   # Remove trailing slashes.
   1185   case $ac_val in
   1186     */ )
   1187       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1188       eval $ac_var=\$ac_val;;
   1189   esac
   1190   # Be sure to have absolute directory names.
   1191   case $ac_val in
   1192     [\\/$]* | ?:[\\/]* )  continue;;
   1193     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1194   esac
   1195   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1196 done
   1197 
   1198 # There might be people who depend on the old broken behavior: `$host'
   1199 # used to hold the argument of --host etc.
   1200 # FIXME: To remove some day.
   1201 build=$build_alias
   1202 host=$host_alias
   1203 target=$target_alias
   1204 
   1205 # FIXME: To remove some day.
   1206 if test "x$host_alias" != x; then
   1207   if test "x$build_alias" = x; then
   1208     cross_compiling=maybe
   1209     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1210     If a cross compiler is detected then cross compile mode will be used" >&2
   1211   elif test "x$build_alias" != "x$host_alias"; then
   1212     cross_compiling=yes
   1213   fi
   1214 fi
   1215 
   1216 ac_tool_prefix=
   1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1218 
   1219 test "$silent" = yes && exec 6>/dev/null
   1220 
   1221 
   1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1223 ac_ls_di=`ls -di .` &&
   1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1225   as_fn_error $? "working directory cannot be determined"
   1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1227   as_fn_error $? "pwd does not report name of working directory"
   1228 
   1229 
   1230 # Find the source files, if location was not specified.
   1231 if test -z "$srcdir"; then
   1232   ac_srcdir_defaulted=yes
   1233   # Try the directory containing this script, then the parent directory.
   1234   ac_confdir=`$as_dirname -- "$as_myself" ||
   1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1236 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1237 	 X"$as_myself" : 'X\(//\)$' \| \
   1238 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1239 $as_echo X"$as_myself" |
   1240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)[^/].*/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\/\)$/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  /^X\(\/\).*/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  s/.*/./; q'`
   1257   srcdir=$ac_confdir
   1258   if test ! -r "$srcdir/$ac_unique_file"; then
   1259     srcdir=..
   1260   fi
   1261 else
   1262   ac_srcdir_defaulted=no
   1263 fi
   1264 if test ! -r "$srcdir/$ac_unique_file"; then
   1265   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1266   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1267 fi
   1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1269 ac_abs_confdir=`(
   1270 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1271 	pwd)`
   1272 # When building in place, set srcdir=.
   1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1274   srcdir=.
   1275 fi
   1276 # Remove unnecessary trailing slashes from srcdir.
   1277 # Double slashes in file names in object file debugging info
   1278 # mess up M-x gdb in Emacs.
   1279 case $srcdir in
   1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1281 esac
   1282 for ac_var in $ac_precious_vars; do
   1283   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1284   eval ac_env_${ac_var}_value=\$${ac_var}
   1285   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1287 done
   1288 
   1289 #
   1290 # Report the --help message.
   1291 #
   1292 if test "$ac_init_help" = "long"; then
   1293   # Omit some internal or obsolete options to make the list less imposing.
   1294   # This message is too long to be a string in the A/UX 3.1 sh.
   1295   cat <<_ACEOF
   1296 \`configure' configures bdftopcf 1.0.4 to adapt to many kinds of systems.
   1297 
   1298 Usage: $0 [OPTION]... [VAR=VALUE]...
   1299 
   1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1301 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1302 
   1303 Defaults for the options are specified in brackets.
   1304 
   1305 Configuration:
   1306   -h, --help              display this help and exit
   1307       --help=short        display options specific to this package
   1308       --help=recursive    display the short help of all the included packages
   1309   -V, --version           display version information and exit
   1310   -q, --quiet, --silent   do not print \`checking ...' messages
   1311       --cache-file=FILE   cache test results in FILE [disabled]
   1312   -C, --config-cache      alias for \`--cache-file=config.cache'
   1313   -n, --no-create         do not create output files
   1314       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1315 
   1316 Installation directories:
   1317   --prefix=PREFIX         install architecture-independent files in PREFIX
   1318                           [$ac_default_prefix]
   1319   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1320                           [PREFIX]
   1321 
   1322 By default, \`make install' will install all the files in
   1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1325 for instance \`--prefix=\$HOME'.
   1326 
   1327 For better control, use the options below.
   1328 
   1329 Fine tuning of the installation directories:
   1330   --bindir=DIR            user executables [EPREFIX/bin]
   1331   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1332   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1333   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1334   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1335   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1336   --libdir=DIR            object code libraries [EPREFIX/lib]
   1337   --includedir=DIR        C header files [PREFIX/include]
   1338   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1339   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1340   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1341   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1342   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1343   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1344   --docdir=DIR            documentation root [DATAROOTDIR/doc/bdftopcf]
   1345   --htmldir=DIR           html documentation [DOCDIR]
   1346   --dvidir=DIR            dvi documentation [DOCDIR]
   1347   --pdfdir=DIR            pdf documentation [DOCDIR]
   1348   --psdir=DIR             ps documentation [DOCDIR]
   1349 _ACEOF
   1350 
   1351   cat <<\_ACEOF
   1352 
   1353 Program names:
   1354   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1355   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1356   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1357 
   1358 System types:
   1359   --build=BUILD     configure for building on BUILD [guessed]
   1360   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1361 _ACEOF
   1362 fi
   1363 
   1364 if test -n "$ac_init_help"; then
   1365   case $ac_init_help in
   1366      short | recursive ) echo "Configuration of bdftopcf 1.0.4:";;
   1367    esac
   1368   cat <<\_ACEOF
   1369 
   1370 Optional Features:
   1371   --disable-option-checking  ignore unrecognized --enable/--with options
   1372   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1373   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1374   --enable-maintainer-mode  enable make rules and dependencies not useful
   1375 			  (and sometimes confusing) to the casual installer
   1376   --disable-dependency-tracking  speeds up one-time build
   1377   --enable-dependency-tracking   do not reject slow dependency extractors
   1378   --disable-selective-werror
   1379                           Turn off selective compiler errors. (default:
   1380                           enabled)
   1381   --enable-strict-compilation
   1382                           Enable all warnings from compiler and make them
   1383                           errors (default: disabled)
   1384   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1385   --disable-silent-rules         verbose build output (undo: `make V=0')
   1386 
   1387 Optional Packages:
   1388   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1389   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1390   --with-lint             Use a lint-style source code checker (default:
   1391                           disabled)
   1392 
   1393 Some influential environment variables:
   1394   CC          C compiler command
   1395   CFLAGS      C compiler flags
   1396   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1397               nonstandard directory <lib dir>
   1398   LIBS        libraries to pass to the linker, e.g. -l<library>
   1399   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1400               you have headers in a nonstandard directory <include dir>
   1401   CPP         C preprocessor
   1402   PKG_CONFIG  path to pkg-config utility
   1403   BDFTOPCF_CFLAGS
   1404               C compiler flags for BDFTOPCF, overriding pkg-config
   1405   BDFTOPCF_LIBS
   1406               linker flags for BDFTOPCF, overriding pkg-config
   1407   LINT        Path to a lint-style command
   1408   LINT_FLAGS  Flags for the lint-style command
   1409 
   1410 Use these variables to override the choices made by `configure' or to help
   1411 it to find libraries and programs with nonstandard names/locations.
   1412 
   1413 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1414 _ACEOF
   1415 ac_status=$?
   1416 fi
   1417 
   1418 if test "$ac_init_help" = "recursive"; then
   1419   # If there are subdirs, report their specific --help.
   1420   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1421     test -d "$ac_dir" ||
   1422       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1423       continue
   1424     ac_builddir=.
   1425 
   1426 case "$ac_dir" in
   1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1428 *)
   1429   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1430   # A ".." for each directory in $ac_dir_suffix.
   1431   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1432   case $ac_top_builddir_sub in
   1433   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1434   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1435   esac ;;
   1436 esac
   1437 ac_abs_top_builddir=$ac_pwd
   1438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1439 # for backward compatibility:
   1440 ac_top_builddir=$ac_top_build_prefix
   1441 
   1442 case $srcdir in
   1443   .)  # We are building in place.
   1444     ac_srcdir=.
   1445     ac_top_srcdir=$ac_top_builddir_sub
   1446     ac_abs_top_srcdir=$ac_pwd ;;
   1447   [\\/]* | ?:[\\/]* )  # Absolute name.
   1448     ac_srcdir=$srcdir$ac_dir_suffix;
   1449     ac_top_srcdir=$srcdir
   1450     ac_abs_top_srcdir=$srcdir ;;
   1451   *) # Relative name.
   1452     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1453     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1454     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1455 esac
   1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1457 
   1458     cd "$ac_dir" || { ac_status=$?; continue; }
   1459     # Check for guested configure.
   1460     if test -f "$ac_srcdir/configure.gnu"; then
   1461       echo &&
   1462       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1463     elif test -f "$ac_srcdir/configure"; then
   1464       echo &&
   1465       $SHELL "$ac_srcdir/configure" --help=recursive
   1466     else
   1467       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1468     fi || ac_status=$?
   1469     cd "$ac_pwd" || { ac_status=$?; break; }
   1470   done
   1471 fi
   1472 
   1473 test -n "$ac_init_help" && exit $ac_status
   1474 if $ac_init_version; then
   1475   cat <<\_ACEOF
   1476 bdftopcf configure 1.0.4
   1477 generated by GNU Autoconf 2.68
   1478 
   1479 Copyright (C) 2010 Free Software Foundation, Inc.
   1480 This configure script is free software; the Free Software Foundation
   1481 gives unlimited permission to copy, distribute and modify it.
   1482 _ACEOF
   1483   exit
   1484 fi
   1485 
   1486 ## ------------------------ ##
   1487 ## Autoconf initialization. ##
   1488 ## ------------------------ ##
   1489 
   1490 # ac_fn_c_try_compile LINENO
   1491 # --------------------------
   1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1493 ac_fn_c_try_compile ()
   1494 {
   1495   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1496   rm -f conftest.$ac_objext
   1497   if { { ac_try="$ac_compile"
   1498 case "(($ac_try" in
   1499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1500   *) ac_try_echo=$ac_try;;
   1501 esac
   1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1503 $as_echo "$ac_try_echo"; } >&5
   1504   (eval "$ac_compile") 2>conftest.err
   1505   ac_status=$?
   1506   if test -s conftest.err; then
   1507     grep -v '^ *+' conftest.err >conftest.er1
   1508     cat conftest.er1 >&5
   1509     mv -f conftest.er1 conftest.err
   1510   fi
   1511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1512   test $ac_status = 0; } && {
   1513 	 test -z "$ac_c_werror_flag" ||
   1514 	 test ! -s conftest.err
   1515        } && test -s conftest.$ac_objext; then :
   1516   ac_retval=0
   1517 else
   1518   $as_echo "$as_me: failed program was:" >&5
   1519 sed 's/^/| /' conftest.$ac_ext >&5
   1520 
   1521 	ac_retval=1
   1522 fi
   1523   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1524   as_fn_set_status $ac_retval
   1525 
   1526 } # ac_fn_c_try_compile
   1527 
   1528 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1529 # ---------------------------------------------
   1530 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1531 # accordingly.
   1532 ac_fn_c_check_decl ()
   1533 {
   1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1535   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1536   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1538 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1539 if eval \${$3+:} false; then :
   1540   $as_echo_n "(cached) " >&6
   1541 else
   1542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1543 /* end confdefs.h.  */
   1544 $4
   1545 int
   1546 main ()
   1547 {
   1548 #ifndef $as_decl_name
   1549 #ifdef __cplusplus
   1550   (void) $as_decl_use;
   1551 #else
   1552   (void) $as_decl_name;
   1553 #endif
   1554 #endif
   1555 
   1556   ;
   1557   return 0;
   1558 }
   1559 _ACEOF
   1560 if ac_fn_c_try_compile "$LINENO"; then :
   1561   eval "$3=yes"
   1562 else
   1563   eval "$3=no"
   1564 fi
   1565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1566 fi
   1567 eval ac_res=\$$3
   1568 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1569 $as_echo "$ac_res" >&6; }
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571 
   1572 } # ac_fn_c_check_decl
   1573 
   1574 # ac_fn_c_try_cpp LINENO
   1575 # ----------------------
   1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1577 ac_fn_c_try_cpp ()
   1578 {
   1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1580   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1581 case "(($ac_try" in
   1582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1583   *) ac_try_echo=$ac_try;;
   1584 esac
   1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1586 $as_echo "$ac_try_echo"; } >&5
   1587   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1588   ac_status=$?
   1589   if test -s conftest.err; then
   1590     grep -v '^ *+' conftest.err >conftest.er1
   1591     cat conftest.er1 >&5
   1592     mv -f conftest.er1 conftest.err
   1593   fi
   1594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1595   test $ac_status = 0; } > conftest.i && {
   1596 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1597 	 test ! -s conftest.err
   1598        }; then :
   1599   ac_retval=0
   1600 else
   1601   $as_echo "$as_me: failed program was:" >&5
   1602 sed 's/^/| /' conftest.$ac_ext >&5
   1603 
   1604     ac_retval=1
   1605 fi
   1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1607   as_fn_set_status $ac_retval
   1608 
   1609 } # ac_fn_c_try_cpp
   1610 
   1611 # ac_fn_c_try_run LINENO
   1612 # ----------------------
   1613 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1614 # that executables *can* be run.
   1615 ac_fn_c_try_run ()
   1616 {
   1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1618   if { { ac_try="$ac_link"
   1619 case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 $as_echo "$ac_try_echo"; } >&5
   1625   (eval "$ac_link") 2>&5
   1626   ac_status=$?
   1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1628   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1629   { { case "(($ac_try" in
   1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1631   *) ac_try_echo=$ac_try;;
   1632 esac
   1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1634 $as_echo "$ac_try_echo"; } >&5
   1635   (eval "$ac_try") 2>&5
   1636   ac_status=$?
   1637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1638   test $ac_status = 0; }; }; then :
   1639   ac_retval=0
   1640 else
   1641   $as_echo "$as_me: program exited with status $ac_status" >&5
   1642        $as_echo "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645        ac_retval=$ac_status
   1646 fi
   1647   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_run
   1652 
   1653 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1654 # -------------------------------------------------------
   1655 # Tests whether HEADER exists and can be compiled using the include files in
   1656 # INCLUDES, setting the cache variable VAR accordingly.
   1657 ac_fn_c_check_header_compile ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1661 $as_echo_n "checking for $2... " >&6; }
   1662 if eval \${$3+:} false; then :
   1663   $as_echo_n "(cached) " >&6
   1664 else
   1665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1666 /* end confdefs.h.  */
   1667 $4
   1668 #include <$2>
   1669 _ACEOF
   1670 if ac_fn_c_try_compile "$LINENO"; then :
   1671   eval "$3=yes"
   1672 else
   1673   eval "$3=no"
   1674 fi
   1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1676 fi
   1677 eval ac_res=\$$3
   1678 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1679 $as_echo "$ac_res" >&6; }
   1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1681 
   1682 } # ac_fn_c_check_header_compile
   1683 
   1684 # ac_fn_c_try_link LINENO
   1685 # -----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_link ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext conftest$ac_exeext
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && {
   1707 	 test -z "$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        } && test -s conftest$ac_exeext && {
   1710 	 test "$cross_compiling" = yes ||
   1711 	 $as_test_x conftest$ac_exeext
   1712        }; then :
   1713   ac_retval=0
   1714 else
   1715   $as_echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 	ac_retval=1
   1719 fi
   1720   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1721   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1722   # interfere with the next link command; also delete a directory that is
   1723   # left behind by Apple's compiler.  We do this before executing the actions.
   1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1726   as_fn_set_status $ac_retval
   1727 
   1728 } # ac_fn_c_try_link
   1729 cat >config.log <<_ACEOF
   1730 This file contains any messages produced by compilers while
   1731 running configure, to aid debugging if configure makes a mistake.
   1732 
   1733 It was created by bdftopcf $as_me 1.0.4, which was
   1734 generated by GNU Autoconf 2.68.  Invocation command line was
   1735 
   1736   $ $0 $@
   1737 
   1738 _ACEOF
   1739 exec 5>>config.log
   1740 {
   1741 cat <<_ASUNAME
   1742 ## --------- ##
   1743 ## Platform. ##
   1744 ## --------- ##
   1745 
   1746 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1747 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1748 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1749 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1750 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1751 
   1752 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1753 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1754 
   1755 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1756 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1757 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1758 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1759 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1760 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1761 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1762 
   1763 _ASUNAME
   1764 
   1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1766 for as_dir in $PATH
   1767 do
   1768   IFS=$as_save_IFS
   1769   test -z "$as_dir" && as_dir=.
   1770     $as_echo "PATH: $as_dir"
   1771   done
   1772 IFS=$as_save_IFS
   1773 
   1774 } >&5
   1775 
   1776 cat >&5 <<_ACEOF
   1777 
   1778 
   1779 ## ----------- ##
   1780 ## Core tests. ##
   1781 ## ----------- ##
   1782 
   1783 _ACEOF
   1784 
   1785 
   1786 # Keep a trace of the command line.
   1787 # Strip out --no-create and --no-recursion so they do not pile up.
   1788 # Strip out --silent because we don't want to record it for future runs.
   1789 # Also quote any args containing shell meta-characters.
   1790 # Make two passes to allow for proper duplicate-argument suppression.
   1791 ac_configure_args=
   1792 ac_configure_args0=
   1793 ac_configure_args1=
   1794 ac_must_keep_next=false
   1795 for ac_pass in 1 2
   1796 do
   1797   for ac_arg
   1798   do
   1799     case $ac_arg in
   1800     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1801     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1802     | -silent | --silent | --silen | --sile | --sil)
   1803       continue ;;
   1804     *\'*)
   1805       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1806     esac
   1807     case $ac_pass in
   1808     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1809     2)
   1810       as_fn_append ac_configure_args1 " '$ac_arg'"
   1811       if test $ac_must_keep_next = true; then
   1812 	ac_must_keep_next=false # Got value, back to normal.
   1813       else
   1814 	case $ac_arg in
   1815 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1816 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1817 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1818 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1819 	    case "$ac_configure_args0 " in
   1820 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1821 	    esac
   1822 	    ;;
   1823 	  -* ) ac_must_keep_next=true ;;
   1824 	esac
   1825       fi
   1826       as_fn_append ac_configure_args " '$ac_arg'"
   1827       ;;
   1828     esac
   1829   done
   1830 done
   1831 { ac_configure_args0=; unset ac_configure_args0;}
   1832 { ac_configure_args1=; unset ac_configure_args1;}
   1833 
   1834 # When interrupted or exit'd, cleanup temporary files, and complete
   1835 # config.log.  We remove comments because anyway the quotes in there
   1836 # would cause problems or look ugly.
   1837 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1838 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1839 trap 'exit_status=$?
   1840   # Save into config.log some information that might help in debugging.
   1841   {
   1842     echo
   1843 
   1844     $as_echo "## ---------------- ##
   1845 ## Cache variables. ##
   1846 ## ---------------- ##"
   1847     echo
   1848     # The following way of writing the cache mishandles newlines in values,
   1849 (
   1850   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1851     eval ac_val=\$$ac_var
   1852     case $ac_val in #(
   1853     *${as_nl}*)
   1854       case $ac_var in #(
   1855       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1856 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1857       esac
   1858       case $ac_var in #(
   1859       _ | IFS | as_nl) ;; #(
   1860       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1861       *) { eval $ac_var=; unset $ac_var;} ;;
   1862       esac ;;
   1863     esac
   1864   done
   1865   (set) 2>&1 |
   1866     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1867     *${as_nl}ac_space=\ *)
   1868       sed -n \
   1869 	"s/'\''/'\''\\\\'\'''\''/g;
   1870 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1871       ;; #(
   1872     *)
   1873       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1874       ;;
   1875     esac |
   1876     sort
   1877 )
   1878     echo
   1879 
   1880     $as_echo "## ----------------- ##
   1881 ## Output variables. ##
   1882 ## ----------------- ##"
   1883     echo
   1884     for ac_var in $ac_subst_vars
   1885     do
   1886       eval ac_val=\$$ac_var
   1887       case $ac_val in
   1888       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1889       esac
   1890       $as_echo "$ac_var='\''$ac_val'\''"
   1891     done | sort
   1892     echo
   1893 
   1894     if test -n "$ac_subst_files"; then
   1895       $as_echo "## ------------------- ##
   1896 ## File substitutions. ##
   1897 ## ------------------- ##"
   1898       echo
   1899       for ac_var in $ac_subst_files
   1900       do
   1901 	eval ac_val=\$$ac_var
   1902 	case $ac_val in
   1903 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1904 	esac
   1905 	$as_echo "$ac_var='\''$ac_val'\''"
   1906       done | sort
   1907       echo
   1908     fi
   1909 
   1910     if test -s confdefs.h; then
   1911       $as_echo "## ----------- ##
   1912 ## confdefs.h. ##
   1913 ## ----------- ##"
   1914       echo
   1915       cat confdefs.h
   1916       echo
   1917     fi
   1918     test "$ac_signal" != 0 &&
   1919       $as_echo "$as_me: caught signal $ac_signal"
   1920     $as_echo "$as_me: exit $exit_status"
   1921   } >&5
   1922   rm -f core *.core core.conftest.* &&
   1923     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1924     exit $exit_status
   1925 ' 0
   1926 for ac_signal in 1 2 13 15; do
   1927   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1928 done
   1929 ac_signal=0
   1930 
   1931 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1932 rm -f -r conftest* confdefs.h
   1933 
   1934 $as_echo "/* confdefs.h */" > confdefs.h
   1935 
   1936 # Predefined preprocessor variables.
   1937 
   1938 cat >>confdefs.h <<_ACEOF
   1939 #define PACKAGE_NAME "$PACKAGE_NAME"
   1940 _ACEOF
   1941 
   1942 cat >>confdefs.h <<_ACEOF
   1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1944 _ACEOF
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1948 _ACEOF
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_STRING "$PACKAGE_STRING"
   1952 _ACEOF
   1953 
   1954 cat >>confdefs.h <<_ACEOF
   1955 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1956 _ACEOF
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_URL "$PACKAGE_URL"
   1960 _ACEOF
   1961 
   1962 
   1963 # Let the site file select an alternate cache file if it wants to.
   1964 # Prefer an explicitly selected file to automatically selected ones.
   1965 ac_site_file1=NONE
   1966 ac_site_file2=NONE
   1967 if test -n "$CONFIG_SITE"; then
   1968   # We do not want a PATH search for config.site.
   1969   case $CONFIG_SITE in #((
   1970     -*)  ac_site_file1=./$CONFIG_SITE;;
   1971     */*) ac_site_file1=$CONFIG_SITE;;
   1972     *)   ac_site_file1=./$CONFIG_SITE;;
   1973   esac
   1974 elif test "x$prefix" != xNONE; then
   1975   ac_site_file1=$prefix/share/config.site
   1976   ac_site_file2=$prefix/etc/config.site
   1977 else
   1978   ac_site_file1=$ac_default_prefix/share/config.site
   1979   ac_site_file2=$ac_default_prefix/etc/config.site
   1980 fi
   1981 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1982 do
   1983   test "x$ac_site_file" = xNONE && continue
   1984   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1985     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1986 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1987     sed 's/^/| /' "$ac_site_file" >&5
   1988     . "$ac_site_file" \
   1989       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1991 as_fn_error $? "failed to load site script $ac_site_file
   1992 See \`config.log' for more details" "$LINENO" 5; }
   1993   fi
   1994 done
   1995 
   1996 if test -r "$cache_file"; then
   1997   # Some versions of bash will fail to source /dev/null (special files
   1998   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1999   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2000     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2001 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2002     case $cache_file in
   2003       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2004       *)                      . "./$cache_file";;
   2005     esac
   2006   fi
   2007 else
   2008   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2009 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2010   >$cache_file
   2011 fi
   2012 
   2013 # Check that the precious variables saved in the cache have kept the same
   2014 # value.
   2015 ac_cache_corrupted=false
   2016 for ac_var in $ac_precious_vars; do
   2017   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2018   eval ac_new_set=\$ac_env_${ac_var}_set
   2019   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2020   eval ac_new_val=\$ac_env_${ac_var}_value
   2021   case $ac_old_set,$ac_new_set in
   2022     set,)
   2023       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2024 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2025       ac_cache_corrupted=: ;;
   2026     ,set)
   2027       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2028 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2029       ac_cache_corrupted=: ;;
   2030     ,);;
   2031     *)
   2032       if test "x$ac_old_val" != "x$ac_new_val"; then
   2033 	# differences in whitespace do not lead to failure.
   2034 	ac_old_val_w=`echo x $ac_old_val`
   2035 	ac_new_val_w=`echo x $ac_new_val`
   2036 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2037 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2038 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2039 	  ac_cache_corrupted=:
   2040 	else
   2041 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2042 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2043 	  eval $ac_var=\$ac_old_val
   2044 	fi
   2045 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2046 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2047 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2048 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2049       fi;;
   2050   esac
   2051   # Pass precious variables to config.status.
   2052   if test "$ac_new_set" = set; then
   2053     case $ac_new_val in
   2054     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2055     *) ac_arg=$ac_var=$ac_new_val ;;
   2056     esac
   2057     case " $ac_configure_args " in
   2058       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2059       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2060     esac
   2061   fi
   2062 done
   2063 if $ac_cache_corrupted; then
   2064   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2066   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2067 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2068   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2069 fi
   2070 ## -------------------- ##
   2071 ## Main body of script. ##
   2072 ## -------------------- ##
   2073 
   2074 ac_ext=c
   2075 ac_cpp='$CPP $CPPFLAGS'
   2076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2079 
   2080 
   2081 am__api_version='1.11'
   2082 
   2083 ac_aux_dir=
   2084 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2085   if test -f "$ac_dir/install-sh"; then
   2086     ac_aux_dir=$ac_dir
   2087     ac_install_sh="$ac_aux_dir/install-sh -c"
   2088     break
   2089   elif test -f "$ac_dir/install.sh"; then
   2090     ac_aux_dir=$ac_dir
   2091     ac_install_sh="$ac_aux_dir/install.sh -c"
   2092     break
   2093   elif test -f "$ac_dir/shtool"; then
   2094     ac_aux_dir=$ac_dir
   2095     ac_install_sh="$ac_aux_dir/shtool install -c"
   2096     break
   2097   fi
   2098 done
   2099 if test -z "$ac_aux_dir"; then
   2100   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2101 fi
   2102 
   2103 # These three variables are undocumented and unsupported,
   2104 # and are intended to be withdrawn in a future Autoconf release.
   2105 # They can cause serious problems if a builder's source tree is in a directory
   2106 # whose full name contains unusual characters.
   2107 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2108 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2109 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2110 
   2111 
   2112 # Find a good install program.  We prefer a C program (faster),
   2113 # so one script is as good as another.  But avoid the broken or
   2114 # incompatible versions:
   2115 # SysV /etc/install, /usr/sbin/install
   2116 # SunOS /usr/etc/install
   2117 # IRIX /sbin/install
   2118 # AIX /bin/install
   2119 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2123 # OS/2's system install, which has a completely different semantic
   2124 # ./install, which can be erroneously created by make from ./install.sh.
   2125 # Reject install programs that cannot install multiple files.
   2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2127 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2128 if test -z "$INSTALL"; then
   2129 if ${ac_cv_path_install+:} false; then :
   2130   $as_echo_n "(cached) " >&6
   2131 else
   2132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2133 for as_dir in $PATH
   2134 do
   2135   IFS=$as_save_IFS
   2136   test -z "$as_dir" && as_dir=.
   2137     # Account for people who put trailing slashes in PATH elements.
   2138 case $as_dir/ in #((
   2139   ./ | .// | /[cC]/* | \
   2140   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2141   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2142   /usr/ucb/* ) ;;
   2143   *)
   2144     # OSF1 and SCO ODT 3.0 have their own names for install.
   2145     # Don't use installbsd from OSF since it installs stuff as root
   2146     # by default.
   2147     for ac_prog in ginstall scoinst install; do
   2148       for ac_exec_ext in '' $ac_executable_extensions; do
   2149 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2150 	  if test $ac_prog = install &&
   2151 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2152 	    # AIX install.  It has an incompatible calling convention.
   2153 	    :
   2154 	  elif test $ac_prog = install &&
   2155 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2156 	    # program-specific install script used by HP pwplus--don't use.
   2157 	    :
   2158 	  else
   2159 	    rm -rf conftest.one conftest.two conftest.dir
   2160 	    echo one > conftest.one
   2161 	    echo two > conftest.two
   2162 	    mkdir conftest.dir
   2163 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2164 	      test -s conftest.one && test -s conftest.two &&
   2165 	      test -s conftest.dir/conftest.one &&
   2166 	      test -s conftest.dir/conftest.two
   2167 	    then
   2168 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2169 	      break 3
   2170 	    fi
   2171 	  fi
   2172 	fi
   2173       done
   2174     done
   2175     ;;
   2176 esac
   2177 
   2178   done
   2179 IFS=$as_save_IFS
   2180 
   2181 rm -rf conftest.one conftest.two conftest.dir
   2182 
   2183 fi
   2184   if test "${ac_cv_path_install+set}" = set; then
   2185     INSTALL=$ac_cv_path_install
   2186   else
   2187     # As a last resort, use the slow shell script.  Don't cache a
   2188     # value for INSTALL within a source directory, because that will
   2189     # break other packages using the cache if that directory is
   2190     # removed, or if the value is a relative name.
   2191     INSTALL=$ac_install_sh
   2192   fi
   2193 fi
   2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2195 $as_echo "$INSTALL" >&6; }
   2196 
   2197 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2198 # It thinks the first close brace ends the variable substitution.
   2199 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2200 
   2201 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2202 
   2203 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2204 
   2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2206 $as_echo_n "checking whether build environment is sane... " >&6; }
   2207 # Just in case
   2208 sleep 1
   2209 echo timestamp > conftest.file
   2210 # Reject unsafe characters in $srcdir or the absolute working directory
   2211 # name.  Accept space and tab only in the latter.
   2212 am_lf='
   2213 '
   2214 case `pwd` in
   2215   *[\\\"\#\$\&\'\`$am_lf]*)
   2216     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2217 esac
   2218 case $srcdir in
   2219   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2220     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2221 esac
   2222 
   2223 # Do `set' in a subshell so we don't clobber the current shell's
   2224 # arguments.  Must try -L first in case configure is actually a
   2225 # symlink; some systems play weird games with the mod time of symlinks
   2226 # (eg FreeBSD returns the mod time of the symlink's containing
   2227 # directory).
   2228 if (
   2229    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2230    if test "$*" = "X"; then
   2231       # -L didn't work.
   2232       set X `ls -t "$srcdir/configure" conftest.file`
   2233    fi
   2234    rm -f conftest.file
   2235    if test "$*" != "X $srcdir/configure conftest.file" \
   2236       && test "$*" != "X conftest.file $srcdir/configure"; then
   2237 
   2238       # If neither matched, then we have a broken ls.  This can happen
   2239       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2240       # broken ls alias from the environment.  This has actually
   2241       # happened.  Such a system could not be considered "sane".
   2242       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2243 alias in your environment" "$LINENO" 5
   2244    fi
   2245 
   2246    test "$2" = conftest.file
   2247    )
   2248 then
   2249    # Ok.
   2250    :
   2251 else
   2252    as_fn_error $? "newly created file is older than distributed files!
   2253 Check your system clock" "$LINENO" 5
   2254 fi
   2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2256 $as_echo "yes" >&6; }
   2257 test "$program_prefix" != NONE &&
   2258   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2259 # Use a double $ so make ignores it.
   2260 test "$program_suffix" != NONE &&
   2261   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2262 # Double any \ or $.
   2263 # By default was `s,x,x', remove it if useless.
   2264 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2265 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2266 
   2267 # expand $ac_aux_dir to an absolute path
   2268 am_aux_dir=`cd $ac_aux_dir && pwd`
   2269 
   2270 if test x"${MISSING+set}" != xset; then
   2271   case $am_aux_dir in
   2272   *\ * | *\	*)
   2273     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2274   *)
   2275     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2276   esac
   2277 fi
   2278 # Use eval to expand $SHELL
   2279 if eval "$MISSING --run true"; then
   2280   am_missing_run="$MISSING --run "
   2281 else
   2282   am_missing_run=
   2283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2284 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2285 fi
   2286 
   2287 if test x"${install_sh}" != xset; then
   2288   case $am_aux_dir in
   2289   *\ * | *\	*)
   2290     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2291   *)
   2292     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2293   esac
   2294 fi
   2295 
   2296 # Installed binaries are usually stripped using `strip' when the user
   2297 # run `make install-strip'.  However `strip' might not be the right
   2298 # tool to use in cross-compilation environments, therefore Automake
   2299 # will honor the `STRIP' environment variable to overrule this program.
   2300 if test "$cross_compiling" != no; then
   2301   if test -n "$ac_tool_prefix"; then
   2302   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2305 $as_echo_n "checking for $ac_word... " >&6; }
   2306 if ${ac_cv_prog_STRIP+:} false; then :
   2307   $as_echo_n "(cached) " >&6
   2308 else
   2309   if test -n "$STRIP"; then
   2310   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2311 else
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   test -z "$as_dir" && as_dir=.
   2317     for ac_exec_ext in '' $ac_executable_extensions; do
   2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2319     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2321     break 2
   2322   fi
   2323 done
   2324   done
   2325 IFS=$as_save_IFS
   2326 
   2327 fi
   2328 fi
   2329 STRIP=$ac_cv_prog_STRIP
   2330 if test -n "$STRIP"; then
   2331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2332 $as_echo "$STRIP" >&6; }
   2333 else
   2334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2335 $as_echo "no" >&6; }
   2336 fi
   2337 
   2338 
   2339 fi
   2340 if test -z "$ac_cv_prog_STRIP"; then
   2341   ac_ct_STRIP=$STRIP
   2342   # Extract the first word of "strip", so it can be a program name with args.
   2343 set dummy strip; ac_word=$2
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2345 $as_echo_n "checking for $ac_word... " >&6; }
   2346 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2347   $as_echo_n "(cached) " >&6
   2348 else
   2349   if test -n "$ac_ct_STRIP"; then
   2350   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2351 else
   2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2353 for as_dir in $PATH
   2354 do
   2355   IFS=$as_save_IFS
   2356   test -z "$as_dir" && as_dir=.
   2357     for ac_exec_ext in '' $ac_executable_extensions; do
   2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2359     ac_cv_prog_ac_ct_STRIP="strip"
   2360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2361     break 2
   2362   fi
   2363 done
   2364   done
   2365 IFS=$as_save_IFS
   2366 
   2367 fi
   2368 fi
   2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2370 if test -n "$ac_ct_STRIP"; then
   2371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2372 $as_echo "$ac_ct_STRIP" >&6; }
   2373 else
   2374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2375 $as_echo "no" >&6; }
   2376 fi
   2377 
   2378   if test "x$ac_ct_STRIP" = x; then
   2379     STRIP=":"
   2380   else
   2381     case $cross_compiling:$ac_tool_warned in
   2382 yes:)
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2385 ac_tool_warned=yes ;;
   2386 esac
   2387     STRIP=$ac_ct_STRIP
   2388   fi
   2389 else
   2390   STRIP="$ac_cv_prog_STRIP"
   2391 fi
   2392 
   2393 fi
   2394 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2395 
   2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2397 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2398 if test -z "$MKDIR_P"; then
   2399   if ${ac_cv_path_mkdir+:} false; then :
   2400   $as_echo_n "(cached) " >&6
   2401 else
   2402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2403 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2404 do
   2405   IFS=$as_save_IFS
   2406   test -z "$as_dir" && as_dir=.
   2407     for ac_prog in mkdir gmkdir; do
   2408 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2409 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2410 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2411 	     'mkdir (GNU coreutils) '* | \
   2412 	     'mkdir (coreutils) '* | \
   2413 	     'mkdir (fileutils) '4.1*)
   2414 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2415 	       break 3;;
   2416 	   esac
   2417 	 done
   2418        done
   2419   done
   2420 IFS=$as_save_IFS
   2421 
   2422 fi
   2423 
   2424   test -d ./--version && rmdir ./--version
   2425   if test "${ac_cv_path_mkdir+set}" = set; then
   2426     MKDIR_P="$ac_cv_path_mkdir -p"
   2427   else
   2428     # As a last resort, use the slow shell script.  Don't cache a
   2429     # value for MKDIR_P within a source directory, because that will
   2430     # break other packages using the cache if that directory is
   2431     # removed, or if the value is a relative name.
   2432     MKDIR_P="$ac_install_sh -d"
   2433   fi
   2434 fi
   2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2436 $as_echo "$MKDIR_P" >&6; }
   2437 
   2438 mkdir_p="$MKDIR_P"
   2439 case $mkdir_p in
   2440   [\\/$]* | ?:[\\/]*) ;;
   2441   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2442 esac
   2443 
   2444 for ac_prog in gawk mawk nawk awk
   2445 do
   2446   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2447 set dummy $ac_prog; ac_word=$2
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2449 $as_echo_n "checking for $ac_word... " >&6; }
   2450 if ${ac_cv_prog_AWK+:} false; then :
   2451   $as_echo_n "(cached) " >&6
   2452 else
   2453   if test -n "$AWK"; then
   2454   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2455 else
   2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2457 for as_dir in $PATH
   2458 do
   2459   IFS=$as_save_IFS
   2460   test -z "$as_dir" && as_dir=.
   2461     for ac_exec_ext in '' $ac_executable_extensions; do
   2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2463     ac_cv_prog_AWK="$ac_prog"
   2464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2465     break 2
   2466   fi
   2467 done
   2468   done
   2469 IFS=$as_save_IFS
   2470 
   2471 fi
   2472 fi
   2473 AWK=$ac_cv_prog_AWK
   2474 if test -n "$AWK"; then
   2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2476 $as_echo "$AWK" >&6; }
   2477 else
   2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2479 $as_echo "no" >&6; }
   2480 fi
   2481 
   2482 
   2483   test -n "$AWK" && break
   2484 done
   2485 
   2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2487 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2488 set x ${MAKE-make}
   2489 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2490 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   cat >conftest.make <<\_ACEOF
   2494 SHELL = /bin/sh
   2495 all:
   2496 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2497 _ACEOF
   2498 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2499 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2500   *@@@%%%=?*=@@@%%%*)
   2501     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2502   *)
   2503     eval ac_cv_prog_make_${ac_make}_set=no;;
   2504 esac
   2505 rm -f conftest.make
   2506 fi
   2507 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2509 $as_echo "yes" >&6; }
   2510   SET_MAKE=
   2511 else
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2513 $as_echo "no" >&6; }
   2514   SET_MAKE="MAKE=${MAKE-make}"
   2515 fi
   2516 
   2517 rm -rf .tst 2>/dev/null
   2518 mkdir .tst 2>/dev/null
   2519 if test -d .tst; then
   2520   am__leading_dot=.
   2521 else
   2522   am__leading_dot=_
   2523 fi
   2524 rmdir .tst 2>/dev/null
   2525 
   2526 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2527   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2528   # is not polluted with repeated "-I."
   2529   am__isrc=' -I$(srcdir)'
   2530   # test to see if srcdir already configured
   2531   if test -f $srcdir/config.status; then
   2532     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2533   fi
   2534 fi
   2535 
   2536 # test whether we have cygpath
   2537 if test -z "$CYGPATH_W"; then
   2538   if (cygpath --version) >/dev/null 2>/dev/null; then
   2539     CYGPATH_W='cygpath -w'
   2540   else
   2541     CYGPATH_W=echo
   2542   fi
   2543 fi
   2544 
   2545 
   2546 # Define the identity of the package.
   2547  PACKAGE='bdftopcf'
   2548  VERSION='1.0.4'
   2549 
   2550 
   2551 cat >>confdefs.h <<_ACEOF
   2552 #define PACKAGE "$PACKAGE"
   2553 _ACEOF
   2554 
   2555 
   2556 cat >>confdefs.h <<_ACEOF
   2557 #define VERSION "$VERSION"
   2558 _ACEOF
   2559 
   2560 # Some tools Automake needs.
   2561 
   2562 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2563 
   2564 
   2565 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2566 
   2567 
   2568 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2569 
   2570 
   2571 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2572 
   2573 
   2574 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2575 
   2576 # We need awk for the "check" target.  The system "awk" is bad on
   2577 # some platforms.
   2578 # Always define AMTAR for backward compatibility.
   2579 
   2580 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2581 
   2582 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2583 
   2584 
   2585 
   2586 
   2587 
   2588 
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2590 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2591     # Check whether --enable-maintainer-mode was given.
   2592 if test "${enable_maintainer_mode+set}" = set; then :
   2593   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2594 else
   2595   USE_MAINTAINER_MODE=no
   2596 fi
   2597 
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2599 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2600    if test $USE_MAINTAINER_MODE = yes; then
   2601   MAINTAINER_MODE_TRUE=
   2602   MAINTAINER_MODE_FALSE='#'
   2603 else
   2604   MAINTAINER_MODE_TRUE='#'
   2605   MAINTAINER_MODE_FALSE=
   2606 fi
   2607 
   2608   MAINT=$MAINTAINER_MODE_TRUE
   2609 
   2610 
   2611 
   2612 ac_config_headers="$ac_config_headers config.h"
   2613 
   2614 
   2615 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 
   2627 DEPDIR="${am__leading_dot}deps"
   2628 
   2629 ac_config_commands="$ac_config_commands depfiles"
   2630 
   2631 
   2632 am_make=${MAKE-make}
   2633 cat > confinc << 'END'
   2634 am__doit:
   2635 	@echo this is the am__doit target
   2636 .PHONY: am__doit
   2637 END
   2638 # If we don't find an include directive, just comment out the code.
   2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2640 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2641 am__include="#"
   2642 am__quote=
   2643 _am_result=none
   2644 # First try GNU make style include.
   2645 echo "include confinc" > confmf
   2646 # Ignore all kinds of additional output from `make'.
   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=GNU
   2652   ;;
   2653 esac
   2654 # Now try BSD make style include.
   2655 if test "$am__include" = "#"; then
   2656    echo '.include "confinc"' > confmf
   2657    case `$am_make -s -f confmf 2> /dev/null` in #(
   2658    *the\ am__doit\ target*)
   2659      am__include=.include
   2660      am__quote="\""
   2661      _am_result=BSD
   2662      ;;
   2663    esac
   2664 fi
   2665 
   2666 
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2668 $as_echo "$_am_result" >&6; }
   2669 rm -f confinc confmf
   2670 
   2671 # Check whether --enable-dependency-tracking was given.
   2672 if test "${enable_dependency_tracking+set}" = set; then :
   2673   enableval=$enable_dependency_tracking;
   2674 fi
   2675 
   2676 if test "x$enable_dependency_tracking" != xno; then
   2677   am_depcomp="$ac_aux_dir/depcomp"
   2678   AMDEPBACKSLASH='\'
   2679   am__nodep='_no'
   2680 fi
   2681  if test "x$enable_dependency_tracking" != xno; then
   2682   AMDEP_TRUE=
   2683   AMDEP_FALSE='#'
   2684 else
   2685   AMDEP_TRUE='#'
   2686   AMDEP_FALSE=
   2687 fi
   2688 
   2689 
   2690 ac_ext=c
   2691 ac_cpp='$CPP $CPPFLAGS'
   2692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2695 if test -n "$ac_tool_prefix"; then
   2696   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2697 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2699 $as_echo_n "checking for $ac_word... " >&6; }
   2700 if ${ac_cv_prog_CC+:} false; then :
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   if test -n "$CC"; then
   2704   ac_cv_prog_CC="$CC" # Let the user override the test.
   2705 else
   2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2707 for as_dir in $PATH
   2708 do
   2709   IFS=$as_save_IFS
   2710   test -z "$as_dir" && as_dir=.
   2711     for ac_exec_ext in '' $ac_executable_extensions; do
   2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2713     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2715     break 2
   2716   fi
   2717 done
   2718   done
   2719 IFS=$as_save_IFS
   2720 
   2721 fi
   2722 fi
   2723 CC=$ac_cv_prog_CC
   2724 if test -n "$CC"; then
   2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2726 $as_echo "$CC" >&6; }
   2727 else
   2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2729 $as_echo "no" >&6; }
   2730 fi
   2731 
   2732 
   2733 fi
   2734 if test -z "$ac_cv_prog_CC"; then
   2735   ac_ct_CC=$CC
   2736   # Extract the first word of "gcc", so it can be a program name with args.
   2737 set dummy gcc; ac_word=$2
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2739 $as_echo_n "checking for $ac_word... " >&6; }
   2740 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2741   $as_echo_n "(cached) " >&6
   2742 else
   2743   if test -n "$ac_ct_CC"; then
   2744   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2745 else
   2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2747 for as_dir in $PATH
   2748 do
   2749   IFS=$as_save_IFS
   2750   test -z "$as_dir" && as_dir=.
   2751     for ac_exec_ext in '' $ac_executable_extensions; do
   2752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2753     ac_cv_prog_ac_ct_CC="gcc"
   2754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2755     break 2
   2756   fi
   2757 done
   2758   done
   2759 IFS=$as_save_IFS
   2760 
   2761 fi
   2762 fi
   2763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2764 if test -n "$ac_ct_CC"; then
   2765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2766 $as_echo "$ac_ct_CC" >&6; }
   2767 else
   2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2769 $as_echo "no" >&6; }
   2770 fi
   2771 
   2772   if test "x$ac_ct_CC" = x; then
   2773     CC=""
   2774   else
   2775     case $cross_compiling:$ac_tool_warned in
   2776 yes:)
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2779 ac_tool_warned=yes ;;
   2780 esac
   2781     CC=$ac_ct_CC
   2782   fi
   2783 else
   2784   CC="$ac_cv_prog_CC"
   2785 fi
   2786 
   2787 if test -z "$CC"; then
   2788           if test -n "$ac_tool_prefix"; then
   2789     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2790 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2792 $as_echo_n "checking for $ac_word... " >&6; }
   2793 if ${ac_cv_prog_CC+:} false; then :
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   if test -n "$CC"; then
   2797   ac_cv_prog_CC="$CC" # Let the user override the test.
   2798 else
   2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2800 for as_dir in $PATH
   2801 do
   2802   IFS=$as_save_IFS
   2803   test -z "$as_dir" && as_dir=.
   2804     for ac_exec_ext in '' $ac_executable_extensions; do
   2805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2806     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2808     break 2
   2809   fi
   2810 done
   2811   done
   2812 IFS=$as_save_IFS
   2813 
   2814 fi
   2815 fi
   2816 CC=$ac_cv_prog_CC
   2817 if test -n "$CC"; then
   2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2819 $as_echo "$CC" >&6; }
   2820 else
   2821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2822 $as_echo "no" >&6; }
   2823 fi
   2824 
   2825 
   2826   fi
   2827 fi
   2828 if test -z "$CC"; then
   2829   # Extract the first word of "cc", so it can be a program name with args.
   2830 set dummy cc; ac_word=$2
   2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2832 $as_echo_n "checking for $ac_word... " >&6; }
   2833 if ${ac_cv_prog_CC+:} false; then :
   2834   $as_echo_n "(cached) " >&6
   2835 else
   2836   if test -n "$CC"; then
   2837   ac_cv_prog_CC="$CC" # Let the user override the test.
   2838 else
   2839   ac_prog_rejected=no
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   test -z "$as_dir" && as_dir=.
   2845     for ac_exec_ext in '' $ac_executable_extensions; do
   2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2847     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2848        ac_prog_rejected=yes
   2849        continue
   2850      fi
   2851     ac_cv_prog_CC="cc"
   2852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2853     break 2
   2854   fi
   2855 done
   2856   done
   2857 IFS=$as_save_IFS
   2858 
   2859 if test $ac_prog_rejected = yes; then
   2860   # We found a bogon in the path, so make sure we never use it.
   2861   set dummy $ac_cv_prog_CC
   2862   shift
   2863   if test $# != 0; then
   2864     # We chose a different compiler from the bogus one.
   2865     # However, it has the same basename, so the bogon will be chosen
   2866     # first if we set CC to just the basename; use the full file name.
   2867     shift
   2868     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2869   fi
   2870 fi
   2871 fi
   2872 fi
   2873 CC=$ac_cv_prog_CC
   2874 if test -n "$CC"; then
   2875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2876 $as_echo "$CC" >&6; }
   2877 else
   2878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2879 $as_echo "no" >&6; }
   2880 fi
   2881 
   2882 
   2883 fi
   2884 if test -z "$CC"; then
   2885   if test -n "$ac_tool_prefix"; then
   2886   for ac_prog in cl.exe
   2887   do
   2888     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2891 $as_echo_n "checking for $ac_word... " >&6; }
   2892 if ${ac_cv_prog_CC+:} false; then :
   2893   $as_echo_n "(cached) " >&6
   2894 else
   2895   if test -n "$CC"; then
   2896   ac_cv_prog_CC="$CC" # Let the user override the test.
   2897 else
   2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2899 for as_dir in $PATH
   2900 do
   2901   IFS=$as_save_IFS
   2902   test -z "$as_dir" && as_dir=.
   2903     for ac_exec_ext in '' $ac_executable_extensions; do
   2904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2905     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2907     break 2
   2908   fi
   2909 done
   2910   done
   2911 IFS=$as_save_IFS
   2912 
   2913 fi
   2914 fi
   2915 CC=$ac_cv_prog_CC
   2916 if test -n "$CC"; then
   2917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2918 $as_echo "$CC" >&6; }
   2919 else
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2921 $as_echo "no" >&6; }
   2922 fi
   2923 
   2924 
   2925     test -n "$CC" && break
   2926   done
   2927 fi
   2928 if test -z "$CC"; then
   2929   ac_ct_CC=$CC
   2930   for ac_prog in cl.exe
   2931 do
   2932   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2933 set dummy $ac_prog; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$ac_ct_CC"; then
   2940   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2941 else
   2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2943 for as_dir in $PATH
   2944 do
   2945   IFS=$as_save_IFS
   2946   test -z "$as_dir" && as_dir=.
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2949     ac_cv_prog_ac_ct_CC="$ac_prog"
   2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2951     break 2
   2952   fi
   2953 done
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 fi
   2958 fi
   2959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2960 if test -n "$ac_ct_CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2962 $as_echo "$ac_ct_CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968 
   2969   test -n "$ac_ct_CC" && break
   2970 done
   2971 
   2972   if test "x$ac_ct_CC" = x; then
   2973     CC=""
   2974   else
   2975     case $cross_compiling:$ac_tool_warned in
   2976 yes:)
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2979 ac_tool_warned=yes ;;
   2980 esac
   2981     CC=$ac_ct_CC
   2982   fi
   2983 fi
   2984 
   2985 fi
   2986 
   2987 
   2988 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2990 as_fn_error $? "no acceptable C compiler found in \$PATH
   2991 See \`config.log' for more details" "$LINENO" 5; }
   2992 
   2993 # Provide some information about the compiler.
   2994 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2995 set X $ac_compile
   2996 ac_compiler=$2
   2997 for ac_option in --version -v -V -qversion; do
   2998   { { ac_try="$ac_compiler $ac_option >&5"
   2999 case "(($ac_try" in
   3000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3001   *) ac_try_echo=$ac_try;;
   3002 esac
   3003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3004 $as_echo "$ac_try_echo"; } >&5
   3005   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3006   ac_status=$?
   3007   if test -s conftest.err; then
   3008     sed '10a\
   3009 ... rest of stderr output deleted ...
   3010          10q' conftest.err >conftest.er1
   3011     cat conftest.er1 >&5
   3012   fi
   3013   rm -f conftest.er1 conftest.err
   3014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3015   test $ac_status = 0; }
   3016 done
   3017 
   3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3019 /* end confdefs.h.  */
   3020 
   3021 int
   3022 main ()
   3023 {
   3024 
   3025   ;
   3026   return 0;
   3027 }
   3028 _ACEOF
   3029 ac_clean_files_save=$ac_clean_files
   3030 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3031 # Try to create an executable without -o first, disregard a.out.
   3032 # It will help us diagnose broken compilers, and finding out an intuition
   3033 # of exeext.
   3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3035 $as_echo_n "checking whether the C compiler works... " >&6; }
   3036 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3037 
   3038 # The possible output files:
   3039 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3040 
   3041 ac_rmfiles=
   3042 for ac_file in $ac_files
   3043 do
   3044   case $ac_file in
   3045     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3046     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3047   esac
   3048 done
   3049 rm -f $ac_rmfiles
   3050 
   3051 if { { ac_try="$ac_link_default"
   3052 case "(($ac_try" in
   3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3054   *) ac_try_echo=$ac_try;;
   3055 esac
   3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3057 $as_echo "$ac_try_echo"; } >&5
   3058   (eval "$ac_link_default") 2>&5
   3059   ac_status=$?
   3060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3061   test $ac_status = 0; }; then :
   3062   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3063 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3064 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3065 # so that the user can short-circuit this test for compilers unknown to
   3066 # Autoconf.
   3067 for ac_file in $ac_files ''
   3068 do
   3069   test -f "$ac_file" || continue
   3070   case $ac_file in
   3071     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3072 	;;
   3073     [ab].out )
   3074 	# We found the default executable, but exeext='' is most
   3075 	# certainly right.
   3076 	break;;
   3077     *.* )
   3078 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3079 	then :; else
   3080 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3081 	fi
   3082 	# We set ac_cv_exeext here because the later test for it is not
   3083 	# safe: cross compilers may not add the suffix if given an `-o'
   3084 	# argument, so we may need to know it at that point already.
   3085 	# Even if this section looks crufty: it has the advantage of
   3086 	# actually working.
   3087 	break;;
   3088     * )
   3089 	break;;
   3090   esac
   3091 done
   3092 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3093 
   3094 else
   3095   ac_file=''
   3096 fi
   3097 if test -z "$ac_file"; then :
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3099 $as_echo "no" >&6; }
   3100 $as_echo "$as_me: failed program was:" >&5
   3101 sed 's/^/| /' conftest.$ac_ext >&5
   3102 
   3103 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3105 as_fn_error 77 "C compiler cannot create executables
   3106 See \`config.log' for more details" "$LINENO" 5; }
   3107 else
   3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3109 $as_echo "yes" >&6; }
   3110 fi
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3112 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3114 $as_echo "$ac_file" >&6; }
   3115 ac_exeext=$ac_cv_exeext
   3116 
   3117 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3118 ac_clean_files=$ac_clean_files_save
   3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3120 $as_echo_n "checking for suffix of executables... " >&6; }
   3121 if { { ac_try="$ac_link"
   3122 case "(($ac_try" in
   3123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3124   *) ac_try_echo=$ac_try;;
   3125 esac
   3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3127 $as_echo "$ac_try_echo"; } >&5
   3128   (eval "$ac_link") 2>&5
   3129   ac_status=$?
   3130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3131   test $ac_status = 0; }; then :
   3132   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3133 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3134 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3135 # `rm'.
   3136 for ac_file in conftest.exe conftest conftest.*; do
   3137   test -f "$ac_file" || continue
   3138   case $ac_file in
   3139     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3140     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3141 	  break;;
   3142     * ) break;;
   3143   esac
   3144 done
   3145 else
   3146   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3148 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3149 See \`config.log' for more details" "$LINENO" 5; }
   3150 fi
   3151 rm -f conftest conftest$ac_cv_exeext
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3153 $as_echo "$ac_cv_exeext" >&6; }
   3154 
   3155 rm -f conftest.$ac_ext
   3156 EXEEXT=$ac_cv_exeext
   3157 ac_exeext=$EXEEXT
   3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3159 /* end confdefs.h.  */
   3160 #include <stdio.h>
   3161 int
   3162 main ()
   3163 {
   3164 FILE *f = fopen ("conftest.out", "w");
   3165  return ferror (f) || fclose (f) != 0;
   3166 
   3167   ;
   3168   return 0;
   3169 }
   3170 _ACEOF
   3171 ac_clean_files="$ac_clean_files conftest.out"
   3172 # Check that the compiler produces executables we can run.  If not, either
   3173 # the compiler is broken, or we cross compile.
   3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3175 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3176 if test "$cross_compiling" != yes; then
   3177   { { ac_try="$ac_link"
   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_link") 2>&5
   3185   ac_status=$?
   3186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3187   test $ac_status = 0; }
   3188   if { ac_try='./conftest$ac_cv_exeext'
   3189   { { case "(($ac_try" in
   3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3191   *) ac_try_echo=$ac_try;;
   3192 esac
   3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3194 $as_echo "$ac_try_echo"; } >&5
   3195   (eval "$ac_try") 2>&5
   3196   ac_status=$?
   3197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3198   test $ac_status = 0; }; }; then
   3199     cross_compiling=no
   3200   else
   3201     if test "$cross_compiling" = maybe; then
   3202 	cross_compiling=yes
   3203     else
   3204 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3206 as_fn_error $? "cannot run C compiled programs.
   3207 If you meant to cross compile, use \`--host'.
   3208 See \`config.log' for more details" "$LINENO" 5; }
   3209     fi
   3210   fi
   3211 fi
   3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3213 $as_echo "$cross_compiling" >&6; }
   3214 
   3215 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3216 ac_clean_files=$ac_clean_files_save
   3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3218 $as_echo_n "checking for suffix of object files... " >&6; }
   3219 if ${ac_cv_objext+:} false; then :
   3220   $as_echo_n "(cached) " >&6
   3221 else
   3222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3223 /* end confdefs.h.  */
   3224 
   3225 int
   3226 main ()
   3227 {
   3228 
   3229   ;
   3230   return 0;
   3231 }
   3232 _ACEOF
   3233 rm -f conftest.o conftest.obj
   3234 if { { ac_try="$ac_compile"
   3235 case "(($ac_try" in
   3236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3237   *) ac_try_echo=$ac_try;;
   3238 esac
   3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3240 $as_echo "$ac_try_echo"; } >&5
   3241   (eval "$ac_compile") 2>&5
   3242   ac_status=$?
   3243   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3244   test $ac_status = 0; }; then :
   3245   for ac_file in conftest.o conftest.obj conftest.*; do
   3246   test -f "$ac_file" || continue;
   3247   case $ac_file in
   3248     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3249     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3250        break;;
   3251   esac
   3252 done
   3253 else
   3254   $as_echo "$as_me: failed program was:" >&5
   3255 sed 's/^/| /' conftest.$ac_ext >&5
   3256 
   3257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3259 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3260 See \`config.log' for more details" "$LINENO" 5; }
   3261 fi
   3262 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3263 fi
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3265 $as_echo "$ac_cv_objext" >&6; }
   3266 OBJEXT=$ac_cv_objext
   3267 ac_objext=$OBJEXT
   3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3269 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3270 if ${ac_cv_c_compiler_gnu+:} false; then :
   3271   $as_echo_n "(cached) " >&6
   3272 else
   3273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3274 /* end confdefs.h.  */
   3275 
   3276 int
   3277 main ()
   3278 {
   3279 #ifndef __GNUC__
   3280        choke me
   3281 #endif
   3282 
   3283   ;
   3284   return 0;
   3285 }
   3286 _ACEOF
   3287 if ac_fn_c_try_compile "$LINENO"; then :
   3288   ac_compiler_gnu=yes
   3289 else
   3290   ac_compiler_gnu=no
   3291 fi
   3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3294 
   3295 fi
   3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3297 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3298 if test $ac_compiler_gnu = yes; then
   3299   GCC=yes
   3300 else
   3301   GCC=
   3302 fi
   3303 ac_test_CFLAGS=${CFLAGS+set}
   3304 ac_save_CFLAGS=$CFLAGS
   3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3306 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3307 if ${ac_cv_prog_cc_g+:} false; then :
   3308   $as_echo_n "(cached) " >&6
   3309 else
   3310   ac_save_c_werror_flag=$ac_c_werror_flag
   3311    ac_c_werror_flag=yes
   3312    ac_cv_prog_cc_g=no
   3313    CFLAGS="-g"
   3314    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3315 /* end confdefs.h.  */
   3316 
   3317 int
   3318 main ()
   3319 {
   3320 
   3321   ;
   3322   return 0;
   3323 }
   3324 _ACEOF
   3325 if ac_fn_c_try_compile "$LINENO"; then :
   3326   ac_cv_prog_cc_g=yes
   3327 else
   3328   CFLAGS=""
   3329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3330 /* end confdefs.h.  */
   3331 
   3332 int
   3333 main ()
   3334 {
   3335 
   3336   ;
   3337   return 0;
   3338 }
   3339 _ACEOF
   3340 if ac_fn_c_try_compile "$LINENO"; then :
   3341 
   3342 else
   3343   ac_c_werror_flag=$ac_save_c_werror_flag
   3344 	 CFLAGS="-g"
   3345 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3346 /* end confdefs.h.  */
   3347 
   3348 int
   3349 main ()
   3350 {
   3351 
   3352   ;
   3353   return 0;
   3354 }
   3355 _ACEOF
   3356 if ac_fn_c_try_compile "$LINENO"; then :
   3357   ac_cv_prog_cc_g=yes
   3358 fi
   3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3360 fi
   3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3362 fi
   3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3364    ac_c_werror_flag=$ac_save_c_werror_flag
   3365 fi
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3367 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3368 if test "$ac_test_CFLAGS" = set; then
   3369   CFLAGS=$ac_save_CFLAGS
   3370 elif test $ac_cv_prog_cc_g = yes; then
   3371   if test "$GCC" = yes; then
   3372     CFLAGS="-g -O2"
   3373   else
   3374     CFLAGS="-g"
   3375   fi
   3376 else
   3377   if test "$GCC" = yes; then
   3378     CFLAGS="-O2"
   3379   else
   3380     CFLAGS=
   3381   fi
   3382 fi
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3384 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3385 if ${ac_cv_prog_cc_c89+:} false; then :
   3386   $as_echo_n "(cached) " >&6
   3387 else
   3388   ac_cv_prog_cc_c89=no
   3389 ac_save_CC=$CC
   3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3391 /* end confdefs.h.  */
   3392 #include <stdarg.h>
   3393 #include <stdio.h>
   3394 #include <sys/types.h>
   3395 #include <sys/stat.h>
   3396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3397 struct buf { int x; };
   3398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3399 static char *e (p, i)
   3400      char **p;
   3401      int i;
   3402 {
   3403   return p[i];
   3404 }
   3405 static char *f (char * (*g) (char **, int), char **p, ...)
   3406 {
   3407   char *s;
   3408   va_list v;
   3409   va_start (v,p);
   3410   s = g (p, va_arg (v,int));
   3411   va_end (v);
   3412   return s;
   3413 }
   3414 
   3415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3416    function prototypes and stuff, but not '\xHH' hex character constants.
   3417    These don't provoke an error unfortunately, instead are silently treated
   3418    as 'x'.  The following induces an error, until -std is added to get
   3419    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3420    array size at least.  It's necessary to write '\x00'==0 to get something
   3421    that's true only with -std.  */
   3422 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3423 
   3424 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3425    inside strings and character constants.  */
   3426 #define FOO(x) 'x'
   3427 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3428 
   3429 int test (int i, double x);
   3430 struct s1 {int (*f) (int a);};
   3431 struct s2 {int (*f) (double a);};
   3432 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3433 int argc;
   3434 char **argv;
   3435 int
   3436 main ()
   3437 {
   3438 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3439   ;
   3440   return 0;
   3441 }
   3442 _ACEOF
   3443 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3444 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3445 do
   3446   CC="$ac_save_CC $ac_arg"
   3447   if ac_fn_c_try_compile "$LINENO"; then :
   3448   ac_cv_prog_cc_c89=$ac_arg
   3449 fi
   3450 rm -f core conftest.err conftest.$ac_objext
   3451   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3452 done
   3453 rm -f conftest.$ac_ext
   3454 CC=$ac_save_CC
   3455 
   3456 fi
   3457 # AC_CACHE_VAL
   3458 case "x$ac_cv_prog_cc_c89" in
   3459   x)
   3460     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3461 $as_echo "none needed" >&6; } ;;
   3462   xno)
   3463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3464 $as_echo "unsupported" >&6; } ;;
   3465   *)
   3466     CC="$CC $ac_cv_prog_cc_c89"
   3467     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3468 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3469 esac
   3470 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3471 
   3472 fi
   3473 
   3474 ac_ext=c
   3475 ac_cpp='$CPP $CPPFLAGS'
   3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3479 
   3480 depcc="$CC"   am_compiler_list=
   3481 
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3483 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3484 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3485   $as_echo_n "(cached) " >&6
   3486 else
   3487   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3488   # We make a subdir and do the tests there.  Otherwise we can end up
   3489   # making bogus files that we don't know about and never remove.  For
   3490   # instance it was reported that on HP-UX the gcc test will end up
   3491   # making a dummy file named `D' -- because `-MD' means `put the output
   3492   # in D'.
   3493   rm -rf conftest.dir
   3494   mkdir conftest.dir
   3495   # Copy depcomp to subdir because otherwise we won't find it if we're
   3496   # using a relative directory.
   3497   cp "$am_depcomp" conftest.dir
   3498   cd conftest.dir
   3499   # We will build objects and dependencies in a subdirectory because
   3500   # it helps to detect inapplicable dependency modes.  For instance
   3501   # both Tru64's cc and ICC support -MD to output dependencies as a
   3502   # side effect of compilation, but ICC will put the dependencies in
   3503   # the current directory while Tru64 will put them in the object
   3504   # directory.
   3505   mkdir sub
   3506 
   3507   am_cv_CC_dependencies_compiler_type=none
   3508   if test "$am_compiler_list" = ""; then
   3509      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3510   fi
   3511   am__universal=false
   3512   case " $depcc " in #(
   3513      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3514      esac
   3515 
   3516   for depmode in $am_compiler_list; do
   3517     # Setup a source with many dependencies, because some compilers
   3518     # like to wrap large dependency lists on column 80 (with \), and
   3519     # we should not choose a depcomp mode which is confused by this.
   3520     #
   3521     # We need to recreate these files for each test, as the compiler may
   3522     # overwrite some of them when testing with obscure command lines.
   3523     # This happens at least with the AIX C compiler.
   3524     : > sub/conftest.c
   3525     for i in 1 2 3 4 5 6; do
   3526       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3527       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3528       # Solaris 8's {/usr,}/bin/sh.
   3529       touch sub/conftst$i.h
   3530     done
   3531     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3532 
   3533     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3534     # mode.  It turns out that the SunPro C++ compiler does not properly
   3535     # handle `-M -o', and we need to detect this.  Also, some Intel
   3536     # versions had trouble with output in subdirs
   3537     am__obj=sub/conftest.${OBJEXT-o}
   3538     am__minus_obj="-o $am__obj"
   3539     case $depmode in
   3540     gcc)
   3541       # This depmode causes a compiler race in universal mode.
   3542       test "$am__universal" = false || continue
   3543       ;;
   3544     nosideeffect)
   3545       # after this tag, mechanisms are not by side-effect, so they'll
   3546       # only be used when explicitly requested
   3547       if test "x$enable_dependency_tracking" = xyes; then
   3548 	continue
   3549       else
   3550 	break
   3551       fi
   3552       ;;
   3553     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3554       # This compiler won't grok `-c -o', but also, the minuso test has
   3555       # not run yet.  These depmodes are late enough in the game, and
   3556       # so weak that their functioning should not be impacted.
   3557       am__obj=conftest.${OBJEXT-o}
   3558       am__minus_obj=
   3559       ;;
   3560     none) break ;;
   3561     esac
   3562     if depmode=$depmode \
   3563        source=sub/conftest.c object=$am__obj \
   3564        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3565        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3566          >/dev/null 2>conftest.err &&
   3567        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3568        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3569        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3570        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3571       # icc doesn't choke on unknown options, it will just issue warnings
   3572       # or remarks (even with -Werror).  So we grep stderr for any message
   3573       # that says an option was ignored or not supported.
   3574       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3575       #   icc: Command line warning: ignoring option '-M'; no argument required
   3576       # The diagnosis changed in icc 8.0:
   3577       #   icc: Command line remark: option '-MP' not supported
   3578       if (grep 'ignoring option' conftest.err ||
   3579           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3580         am_cv_CC_dependencies_compiler_type=$depmode
   3581         break
   3582       fi
   3583     fi
   3584   done
   3585 
   3586   cd ..
   3587   rm -rf conftest.dir
   3588 else
   3589   am_cv_CC_dependencies_compiler_type=none
   3590 fi
   3591 
   3592 fi
   3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3594 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3595 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3596 
   3597  if
   3598   test "x$enable_dependency_tracking" != xno \
   3599   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3600   am__fastdepCC_TRUE=
   3601   am__fastdepCC_FALSE='#'
   3602 else
   3603   am__fastdepCC_TRUE='#'
   3604   am__fastdepCC_FALSE=
   3605 fi
   3606 
   3607 
   3608    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3609 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3610 if ${ac_cv_prog_cc_c99+:} false; then :
   3611   $as_echo_n "(cached) " >&6
   3612 else
   3613   ac_cv_prog_cc_c99=no
   3614 ac_save_CC=$CC
   3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3616 /* end confdefs.h.  */
   3617 #include <stdarg.h>
   3618 #include <stdbool.h>
   3619 #include <stdlib.h>
   3620 #include <wchar.h>
   3621 #include <stdio.h>
   3622 
   3623 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3624 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3625 #define showlist(...) puts (#__VA_ARGS__)
   3626 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3627 static void
   3628 test_varargs_macros (void)
   3629 {
   3630   int x = 1234;
   3631   int y = 5678;
   3632   debug ("Flag");
   3633   debug ("X = %d\n", x);
   3634   showlist (The first, second, and third items.);
   3635   report (x>y, "x is %d but y is %d", x, y);
   3636 }
   3637 
   3638 // Check long long types.
   3639 #define BIG64 18446744073709551615ull
   3640 #define BIG32 4294967295ul
   3641 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3642 #if !BIG_OK
   3643   your preprocessor is broken;
   3644 #endif
   3645 #if BIG_OK
   3646 #else
   3647   your preprocessor is broken;
   3648 #endif
   3649 static long long int bignum = -9223372036854775807LL;
   3650 static unsigned long long int ubignum = BIG64;
   3651 
   3652 struct incomplete_array
   3653 {
   3654   int datasize;
   3655   double data[];
   3656 };
   3657 
   3658 struct named_init {
   3659   int number;
   3660   const wchar_t *name;
   3661   double average;
   3662 };
   3663 
   3664 typedef const char *ccp;
   3665 
   3666 static inline int
   3667 test_restrict (ccp restrict text)
   3668 {
   3669   // See if C++-style comments work.
   3670   // Iterate through items via the restricted pointer.
   3671   // Also check for declarations in for loops.
   3672   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3673     continue;
   3674   return 0;
   3675 }
   3676 
   3677 // Check varargs and va_copy.
   3678 static void
   3679 test_varargs (const char *format, ...)
   3680 {
   3681   va_list args;
   3682   va_start (args, format);
   3683   va_list args_copy;
   3684   va_copy (args_copy, args);
   3685 
   3686   const char *str;
   3687   int number;
   3688   float fnumber;
   3689 
   3690   while (*format)
   3691     {
   3692       switch (*format++)
   3693 	{
   3694 	case 's': // string
   3695 	  str = va_arg (args_copy, const char *);
   3696 	  break;
   3697 	case 'd': // int
   3698 	  number = va_arg (args_copy, int);
   3699 	  break;
   3700 	case 'f': // float
   3701 	  fnumber = va_arg (args_copy, double);
   3702 	  break;
   3703 	default:
   3704 	  break;
   3705 	}
   3706     }
   3707   va_end (args_copy);
   3708   va_end (args);
   3709 }
   3710 
   3711 int
   3712 main ()
   3713 {
   3714 
   3715   // Check bool.
   3716   _Bool success = false;
   3717 
   3718   // Check restrict.
   3719   if (test_restrict ("String literal") == 0)
   3720     success = true;
   3721   char *restrict newvar = "Another string";
   3722 
   3723   // Check varargs.
   3724   test_varargs ("s, d' f .", "string", 65, 34.234);
   3725   test_varargs_macros ();
   3726 
   3727   // Check flexible array members.
   3728   struct incomplete_array *ia =
   3729     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3730   ia->datasize = 10;
   3731   for (int i = 0; i < ia->datasize; ++i)
   3732     ia->data[i] = i * 1.234;
   3733 
   3734   // Check named initializers.
   3735   struct named_init ni = {
   3736     .number = 34,
   3737     .name = L"Test wide string",
   3738     .average = 543.34343,
   3739   };
   3740 
   3741   ni.number = 58;
   3742 
   3743   int dynamic_array[ni.number];
   3744   dynamic_array[ni.number - 1] = 543;
   3745 
   3746   // work around unused variable warnings
   3747   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3748 	  || dynamic_array[ni.number - 1] != 543);
   3749 
   3750   ;
   3751   return 0;
   3752 }
   3753 _ACEOF
   3754 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3755 do
   3756   CC="$ac_save_CC $ac_arg"
   3757   if ac_fn_c_try_compile "$LINENO"; then :
   3758   ac_cv_prog_cc_c99=$ac_arg
   3759 fi
   3760 rm -f core conftest.err conftest.$ac_objext
   3761   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3762 done
   3763 rm -f conftest.$ac_ext
   3764 CC=$ac_save_CC
   3765 
   3766 fi
   3767 # AC_CACHE_VAL
   3768 case "x$ac_cv_prog_cc_c99" in
   3769   x)
   3770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3771 $as_echo "none needed" >&6; } ;;
   3772   xno)
   3773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3774 $as_echo "unsupported" >&6; } ;;
   3775   *)
   3776     CC="$CC $ac_cv_prog_cc_c99"
   3777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3778 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3779 esac
   3780 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3781 
   3782 fi
   3783 
   3784 
   3785 
   3786 ac_ext=c
   3787 ac_cpp='$CPP $CPPFLAGS'
   3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3792 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3793 # On Suns, sometimes $CPP names a directory.
   3794 if test -n "$CPP" && test -d "$CPP"; then
   3795   CPP=
   3796 fi
   3797 if test -z "$CPP"; then
   3798   if ${ac_cv_prog_CPP+:} false; then :
   3799   $as_echo_n "(cached) " >&6
   3800 else
   3801       # Double quotes because CPP needs to be expanded
   3802     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3803     do
   3804       ac_preproc_ok=false
   3805 for ac_c_preproc_warn_flag in '' yes
   3806 do
   3807   # Use a header file that comes with gcc, so configuring glibc
   3808   # with a fresh cross-compiler works.
   3809   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3810   # <limits.h> exists even on freestanding compilers.
   3811   # On the NeXT, cc -E runs the code through the compiler's parser,
   3812   # not just through cpp. "Syntax error" is here to catch this case.
   3813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3814 /* end confdefs.h.  */
   3815 #ifdef __STDC__
   3816 # include <limits.h>
   3817 #else
   3818 # include <assert.h>
   3819 #endif
   3820 		     Syntax error
   3821 _ACEOF
   3822 if ac_fn_c_try_cpp "$LINENO"; then :
   3823 
   3824 else
   3825   # Broken: fails on valid input.
   3826 continue
   3827 fi
   3828 rm -f conftest.err conftest.i conftest.$ac_ext
   3829 
   3830   # OK, works on sane cases.  Now check whether nonexistent headers
   3831   # can be detected and how.
   3832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3833 /* end confdefs.h.  */
   3834 #include <ac_nonexistent.h>
   3835 _ACEOF
   3836 if ac_fn_c_try_cpp "$LINENO"; then :
   3837   # Broken: success on invalid input.
   3838 continue
   3839 else
   3840   # Passes both tests.
   3841 ac_preproc_ok=:
   3842 break
   3843 fi
   3844 rm -f conftest.err conftest.i conftest.$ac_ext
   3845 
   3846 done
   3847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3848 rm -f conftest.i conftest.err conftest.$ac_ext
   3849 if $ac_preproc_ok; then :
   3850   break
   3851 fi
   3852 
   3853     done
   3854     ac_cv_prog_CPP=$CPP
   3855 
   3856 fi
   3857   CPP=$ac_cv_prog_CPP
   3858 else
   3859   ac_cv_prog_CPP=$CPP
   3860 fi
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3862 $as_echo "$CPP" >&6; }
   3863 ac_preproc_ok=false
   3864 for ac_c_preproc_warn_flag in '' yes
   3865 do
   3866   # Use a header file that comes with gcc, so configuring glibc
   3867   # with a fresh cross-compiler works.
   3868   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3869   # <limits.h> exists even on freestanding compilers.
   3870   # On the NeXT, cc -E runs the code through the compiler's parser,
   3871   # not just through cpp. "Syntax error" is here to catch this case.
   3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3873 /* end confdefs.h.  */
   3874 #ifdef __STDC__
   3875 # include <limits.h>
   3876 #else
   3877 # include <assert.h>
   3878 #endif
   3879 		     Syntax error
   3880 _ACEOF
   3881 if ac_fn_c_try_cpp "$LINENO"; then :
   3882 
   3883 else
   3884   # Broken: fails on valid input.
   3885 continue
   3886 fi
   3887 rm -f conftest.err conftest.i conftest.$ac_ext
   3888 
   3889   # OK, works on sane cases.  Now check whether nonexistent headers
   3890   # can be detected and how.
   3891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3892 /* end confdefs.h.  */
   3893 #include <ac_nonexistent.h>
   3894 _ACEOF
   3895 if ac_fn_c_try_cpp "$LINENO"; then :
   3896   # Broken: success on invalid input.
   3897 continue
   3898 else
   3899   # Passes both tests.
   3900 ac_preproc_ok=:
   3901 break
   3902 fi
   3903 rm -f conftest.err conftest.i conftest.$ac_ext
   3904 
   3905 done
   3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3907 rm -f conftest.i conftest.err conftest.$ac_ext
   3908 if $ac_preproc_ok; then :
   3909 
   3910 else
   3911   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3913 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3914 See \`config.log' for more details" "$LINENO" 5; }
   3915 fi
   3916 
   3917 ac_ext=c
   3918 ac_cpp='$CPP $CPPFLAGS'
   3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3922 
   3923 
   3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3925 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3926 if ${ac_cv_path_GREP+:} false; then :
   3927   $as_echo_n "(cached) " >&6
   3928 else
   3929   if test -z "$GREP"; then
   3930   ac_path_GREP_found=false
   3931   # Loop through the user's path and test for each of PROGNAME-LIST
   3932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3934 do
   3935   IFS=$as_save_IFS
   3936   test -z "$as_dir" && as_dir=.
   3937     for ac_prog in grep ggrep; do
   3938     for ac_exec_ext in '' $ac_executable_extensions; do
   3939       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3940       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3941 # Check for GNU ac_path_GREP and select it if it is found.
   3942   # Check for GNU $ac_path_GREP
   3943 case `"$ac_path_GREP" --version 2>&1` in
   3944 *GNU*)
   3945   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3946 *)
   3947   ac_count=0
   3948   $as_echo_n 0123456789 >"conftest.in"
   3949   while :
   3950   do
   3951     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3952     mv "conftest.tmp" "conftest.in"
   3953     cp "conftest.in" "conftest.nl"
   3954     $as_echo 'GREP' >> "conftest.nl"
   3955     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3956     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3957     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3958     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3959       # Best one so far, save it but keep looking for a better one
   3960       ac_cv_path_GREP="$ac_path_GREP"
   3961       ac_path_GREP_max=$ac_count
   3962     fi
   3963     # 10*(2^10) chars as input seems more than enough
   3964     test $ac_count -gt 10 && break
   3965   done
   3966   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3967 esac
   3968 
   3969       $ac_path_GREP_found && break 3
   3970     done
   3971   done
   3972   done
   3973 IFS=$as_save_IFS
   3974   if test -z "$ac_cv_path_GREP"; then
   3975     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3976   fi
   3977 else
   3978   ac_cv_path_GREP=$GREP
   3979 fi
   3980 
   3981 fi
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3983 $as_echo "$ac_cv_path_GREP" >&6; }
   3984  GREP="$ac_cv_path_GREP"
   3985 
   3986 
   3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3988 $as_echo_n "checking for egrep... " >&6; }
   3989 if ${ac_cv_path_EGREP+:} false; then :
   3990   $as_echo_n "(cached) " >&6
   3991 else
   3992   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3993    then ac_cv_path_EGREP="$GREP -E"
   3994    else
   3995      if test -z "$EGREP"; then
   3996   ac_path_EGREP_found=false
   3997   # Loop through the user's path and test for each of PROGNAME-LIST
   3998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4000 do
   4001   IFS=$as_save_IFS
   4002   test -z "$as_dir" && as_dir=.
   4003     for ac_prog in egrep; do
   4004     for ac_exec_ext in '' $ac_executable_extensions; do
   4005       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4006       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4007 # Check for GNU ac_path_EGREP and select it if it is found.
   4008   # Check for GNU $ac_path_EGREP
   4009 case `"$ac_path_EGREP" --version 2>&1` in
   4010 *GNU*)
   4011   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4012 *)
   4013   ac_count=0
   4014   $as_echo_n 0123456789 >"conftest.in"
   4015   while :
   4016   do
   4017     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4018     mv "conftest.tmp" "conftest.in"
   4019     cp "conftest.in" "conftest.nl"
   4020     $as_echo 'EGREP' >> "conftest.nl"
   4021     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4022     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4023     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4024     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4025       # Best one so far, save it but keep looking for a better one
   4026       ac_cv_path_EGREP="$ac_path_EGREP"
   4027       ac_path_EGREP_max=$ac_count
   4028     fi
   4029     # 10*(2^10) chars as input seems more than enough
   4030     test $ac_count -gt 10 && break
   4031   done
   4032   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4033 esac
   4034 
   4035       $ac_path_EGREP_found && break 3
   4036     done
   4037   done
   4038   done
   4039 IFS=$as_save_IFS
   4040   if test -z "$ac_cv_path_EGREP"; then
   4041     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4042   fi
   4043 else
   4044   ac_cv_path_EGREP=$EGREP
   4045 fi
   4046 
   4047    fi
   4048 fi
   4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4050 $as_echo "$ac_cv_path_EGREP" >&6; }
   4051  EGREP="$ac_cv_path_EGREP"
   4052 
   4053 
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4055 $as_echo_n "checking for ANSI C header files... " >&6; }
   4056 if ${ac_cv_header_stdc+:} false; then :
   4057   $as_echo_n "(cached) " >&6
   4058 else
   4059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4060 /* end confdefs.h.  */
   4061 #include <stdlib.h>
   4062 #include <stdarg.h>
   4063 #include <string.h>
   4064 #include <float.h>
   4065 
   4066 int
   4067 main ()
   4068 {
   4069 
   4070   ;
   4071   return 0;
   4072 }
   4073 _ACEOF
   4074 if ac_fn_c_try_compile "$LINENO"; then :
   4075   ac_cv_header_stdc=yes
   4076 else
   4077   ac_cv_header_stdc=no
   4078 fi
   4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4080 
   4081 if test $ac_cv_header_stdc = yes; then
   4082   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4084 /* end confdefs.h.  */
   4085 #include <string.h>
   4086 
   4087 _ACEOF
   4088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4089   $EGREP "memchr" >/dev/null 2>&1; then :
   4090 
   4091 else
   4092   ac_cv_header_stdc=no
   4093 fi
   4094 rm -f conftest*
   4095 
   4096 fi
   4097 
   4098 if test $ac_cv_header_stdc = yes; then
   4099   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4101 /* end confdefs.h.  */
   4102 #include <stdlib.h>
   4103 
   4104 _ACEOF
   4105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4106   $EGREP "free" >/dev/null 2>&1; then :
   4107 
   4108 else
   4109   ac_cv_header_stdc=no
   4110 fi
   4111 rm -f conftest*
   4112 
   4113 fi
   4114 
   4115 if test $ac_cv_header_stdc = yes; then
   4116   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4117   if test "$cross_compiling" = yes; then :
   4118   :
   4119 else
   4120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4121 /* end confdefs.h.  */
   4122 #include <ctype.h>
   4123 #include <stdlib.h>
   4124 #if ((' ' & 0x0FF) == 0x020)
   4125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4127 #else
   4128 # define ISLOWER(c) \
   4129 		   (('a' <= (c) && (c) <= 'i') \
   4130 		     || ('j' <= (c) && (c) <= 'r') \
   4131 		     || ('s' <= (c) && (c) <= 'z'))
   4132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4133 #endif
   4134 
   4135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4136 int
   4137 main ()
   4138 {
   4139   int i;
   4140   for (i = 0; i < 256; i++)
   4141     if (XOR (islower (i), ISLOWER (i))
   4142 	|| toupper (i) != TOUPPER (i))
   4143       return 2;
   4144   return 0;
   4145 }
   4146 _ACEOF
   4147 if ac_fn_c_try_run "$LINENO"; then :
   4148 
   4149 else
   4150   ac_cv_header_stdc=no
   4151 fi
   4152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4153   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4154 fi
   4155 
   4156 fi
   4157 fi
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4159 $as_echo "$ac_cv_header_stdc" >&6; }
   4160 if test $ac_cv_header_stdc = yes; then
   4161 
   4162 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4163 
   4164 fi
   4165 
   4166 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4167 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4168 		  inttypes.h stdint.h unistd.h
   4169 do :
   4170   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4171 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4172 "
   4173 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4174   cat >>confdefs.h <<_ACEOF
   4175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4176 _ACEOF
   4177 
   4178 fi
   4179 
   4180 done
   4181 
   4182 
   4183 
   4184 
   4185 
   4186 
   4187 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4188 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4189   CLANGCC="yes"
   4190 else
   4191   CLANGCC="no"
   4192 fi
   4193 
   4194 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4195 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4196   INTELCC="yes"
   4197 else
   4198   INTELCC="no"
   4199 fi
   4200 
   4201 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4202 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4203   SUNCC="yes"
   4204 else
   4205   SUNCC="no"
   4206 fi
   4207 
   4208 
   4209 
   4210 
   4211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4212 	if test -n "$ac_tool_prefix"; then
   4213   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4216 $as_echo_n "checking for $ac_word... " >&6; }
   4217 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   case $PKG_CONFIG in
   4221   [\\/]* | ?:[\\/]*)
   4222   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4223   ;;
   4224   *)
   4225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4226 for as_dir in $PATH
   4227 do
   4228   IFS=$as_save_IFS
   4229   test -z "$as_dir" && as_dir=.
   4230     for ac_exec_ext in '' $ac_executable_extensions; do
   4231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4232     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4234     break 2
   4235   fi
   4236 done
   4237   done
   4238 IFS=$as_save_IFS
   4239 
   4240   ;;
   4241 esac
   4242 fi
   4243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4244 if test -n "$PKG_CONFIG"; then
   4245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4246 $as_echo "$PKG_CONFIG" >&6; }
   4247 else
   4248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4249 $as_echo "no" >&6; }
   4250 fi
   4251 
   4252 
   4253 fi
   4254 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4255   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4256   # Extract the first word of "pkg-config", so it can be a program name with args.
   4257 set dummy pkg-config; ac_word=$2
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4259 $as_echo_n "checking for $ac_word... " >&6; }
   4260 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4261   $as_echo_n "(cached) " >&6
   4262 else
   4263   case $ac_pt_PKG_CONFIG in
   4264   [\\/]* | ?:[\\/]*)
   4265   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4266   ;;
   4267   *)
   4268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4269 for as_dir in $PATH
   4270 do
   4271   IFS=$as_save_IFS
   4272   test -z "$as_dir" && as_dir=.
   4273     for ac_exec_ext in '' $ac_executable_extensions; do
   4274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4275     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4277     break 2
   4278   fi
   4279 done
   4280   done
   4281 IFS=$as_save_IFS
   4282 
   4283   ;;
   4284 esac
   4285 fi
   4286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4287 if test -n "$ac_pt_PKG_CONFIG"; then
   4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4290 else
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4292 $as_echo "no" >&6; }
   4293 fi
   4294 
   4295   if test "x$ac_pt_PKG_CONFIG" = x; then
   4296     PKG_CONFIG=""
   4297   else
   4298     case $cross_compiling:$ac_tool_warned in
   4299 yes:)
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4302 ac_tool_warned=yes ;;
   4303 esac
   4304     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4305   fi
   4306 else
   4307   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4308 fi
   4309 
   4310 fi
   4311 if test -n "$PKG_CONFIG"; then
   4312 	_pkg_min_version=0.9.0
   4313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4315 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4317 $as_echo "yes" >&6; }
   4318 	else
   4319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4320 $as_echo "no" >&6; }
   4321 		PKG_CONFIG=""
   4322 	fi
   4323 
   4324 fi
   4325 # Make sure we can run config.sub.
   4326 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4327   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4328 
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4330 $as_echo_n "checking build system type... " >&6; }
   4331 if ${ac_cv_build+:} false; then :
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   ac_build_alias=$build_alias
   4335 test "x$ac_build_alias" = x &&
   4336   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4337 test "x$ac_build_alias" = x &&
   4338   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4339 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4340   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4341 
   4342 fi
   4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4344 $as_echo "$ac_cv_build" >&6; }
   4345 case $ac_cv_build in
   4346 *-*-*) ;;
   4347 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4348 esac
   4349 build=$ac_cv_build
   4350 ac_save_IFS=$IFS; IFS='-'
   4351 set x $ac_cv_build
   4352 shift
   4353 build_cpu=$1
   4354 build_vendor=$2
   4355 shift; shift
   4356 # Remember, the first character of IFS is used to create $*,
   4357 # except with old shells:
   4358 build_os=$*
   4359 IFS=$ac_save_IFS
   4360 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4361 
   4362 
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4364 $as_echo_n "checking host system type... " >&6; }
   4365 if ${ac_cv_host+:} false; then :
   4366   $as_echo_n "(cached) " >&6
   4367 else
   4368   if test "x$host_alias" = x; then
   4369   ac_cv_host=$ac_cv_build
   4370 else
   4371   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4372     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4373 fi
   4374 
   4375 fi
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4377 $as_echo "$ac_cv_host" >&6; }
   4378 case $ac_cv_host in
   4379 *-*-*) ;;
   4380 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4381 esac
   4382 host=$ac_cv_host
   4383 ac_save_IFS=$IFS; IFS='-'
   4384 set x $ac_cv_host
   4385 shift
   4386 host_cpu=$1
   4387 host_vendor=$2
   4388 shift; shift
   4389 # Remember, the first character of IFS is used to create $*,
   4390 # except with old shells:
   4391 host_os=$*
   4392 IFS=$ac_save_IFS
   4393 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4394 
   4395 
   4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4397 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4398 if ${ac_cv_path_SED+:} false; then :
   4399   $as_echo_n "(cached) " >&6
   4400 else
   4401             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4402      for ac_i in 1 2 3 4 5 6 7; do
   4403        ac_script="$ac_script$as_nl$ac_script"
   4404      done
   4405      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4406      { ac_script=; unset ac_script;}
   4407      if test -z "$SED"; then
   4408   ac_path_SED_found=false
   4409   # Loop through the user's path and test for each of PROGNAME-LIST
   4410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4411 for as_dir in $PATH
   4412 do
   4413   IFS=$as_save_IFS
   4414   test -z "$as_dir" && as_dir=.
   4415     for ac_prog in sed gsed; do
   4416     for ac_exec_ext in '' $ac_executable_extensions; do
   4417       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4418       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4419 # Check for GNU ac_path_SED and select it if it is found.
   4420   # Check for GNU $ac_path_SED
   4421 case `"$ac_path_SED" --version 2>&1` in
   4422 *GNU*)
   4423   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4424 *)
   4425   ac_count=0
   4426   $as_echo_n 0123456789 >"conftest.in"
   4427   while :
   4428   do
   4429     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4430     mv "conftest.tmp" "conftest.in"
   4431     cp "conftest.in" "conftest.nl"
   4432     $as_echo '' >> "conftest.nl"
   4433     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4434     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4435     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4436     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4437       # Best one so far, save it but keep looking for a better one
   4438       ac_cv_path_SED="$ac_path_SED"
   4439       ac_path_SED_max=$ac_count
   4440     fi
   4441     # 10*(2^10) chars as input seems more than enough
   4442     test $ac_count -gt 10 && break
   4443   done
   4444   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4445 esac
   4446 
   4447       $ac_path_SED_found && break 3
   4448     done
   4449   done
   4450   done
   4451 IFS=$as_save_IFS
   4452   if test -z "$ac_cv_path_SED"; then
   4453     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4454   fi
   4455 else
   4456   ac_cv_path_SED=$SED
   4457 fi
   4458 
   4459 fi
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4461 $as_echo "$ac_cv_path_SED" >&6; }
   4462  SED="$ac_cv_path_SED"
   4463   rm -f conftest.sed
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 # Check whether --enable-selective-werror was given.
   4471 if test "${enable_selective_werror+set}" = set; then :
   4472   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4473 else
   4474   SELECTIVE_WERROR=yes
   4475 fi
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4482 if test "x$SUNCC" = "xyes"; then
   4483     BASE_CFLAGS="-v"
   4484 else
   4485     BASE_CFLAGS=""
   4486 fi
   4487 
   4488 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 
   4496 
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 xorg_testset_save_CFLAGS="$CFLAGS"
   4503 
   4504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4509   $as_echo_n "(cached) " >&6
   4510 else
   4511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4512 /* end confdefs.h.  */
   4513 int i;
   4514 _ACEOF
   4515 if ac_fn_c_try_compile "$LINENO"; then :
   4516   xorg_cv_cc_flag_unknown_warning_option=yes
   4517 else
   4518   xorg_cv_cc_flag_unknown_warning_option=no
   4519 fi
   4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4521 fi
   4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4525 	CFLAGS="$xorg_testset_save_CFLAGS"
   4526 fi
   4527 
   4528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4531 	fi
   4532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4536   $as_echo_n "(cached) " >&6
   4537 else
   4538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4539 /* end confdefs.h.  */
   4540 int i;
   4541 _ACEOF
   4542 if ac_fn_c_try_compile "$LINENO"; then :
   4543   xorg_cv_cc_flag_unused_command_line_argument=yes
   4544 else
   4545   xorg_cv_cc_flag_unused_command_line_argument=no
   4546 fi
   4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4548 fi
   4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4552 	CFLAGS="$xorg_testset_save_CFLAGS"
   4553 fi
   4554 
   4555 found="no"
   4556 
   4557 	if test $found = "no" ; then
   4558 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4560 		fi
   4561 
   4562 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4564 		fi
   4565 
   4566 		CFLAGS="$CFLAGS -Wall"
   4567 
   4568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4569 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4570 		cacheid=xorg_cv_cc_flag__Wall
   4571 		if eval \${$cacheid+:} false; then :
   4572   $as_echo_n "(cached) " >&6
   4573 else
   4574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4575 /* end confdefs.h.  */
   4576 int i;
   4577 int
   4578 main ()
   4579 {
   4580 
   4581   ;
   4582   return 0;
   4583 }
   4584 _ACEOF
   4585 if ac_fn_c_try_link "$LINENO"; then :
   4586   eval $cacheid=yes
   4587 else
   4588   eval $cacheid=no
   4589 fi
   4590 rm -f core conftest.err conftest.$ac_objext \
   4591     conftest$ac_exeext conftest.$ac_ext
   4592 fi
   4593 
   4594 
   4595 		CFLAGS="$xorg_testset_save_CFLAGS"
   4596 
   4597 		eval supported=\$$cacheid
   4598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4599 $as_echo "$supported" >&6; }
   4600 		if test "$supported" = "yes" ; then
   4601 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4602 			found="yes"
   4603 		fi
   4604 	fi
   4605 
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 xorg_testset_save_CFLAGS="$CFLAGS"
   4621 
   4622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4625 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4626 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4627   $as_echo_n "(cached) " >&6
   4628 else
   4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4630 /* end confdefs.h.  */
   4631 int i;
   4632 _ACEOF
   4633 if ac_fn_c_try_compile "$LINENO"; then :
   4634   xorg_cv_cc_flag_unknown_warning_option=yes
   4635 else
   4636   xorg_cv_cc_flag_unknown_warning_option=no
   4637 fi
   4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4639 fi
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4641 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4643 	CFLAGS="$xorg_testset_save_CFLAGS"
   4644 fi
   4645 
   4646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4649 	fi
   4650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4653 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4654   $as_echo_n "(cached) " >&6
   4655 else
   4656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4657 /* end confdefs.h.  */
   4658 int i;
   4659 _ACEOF
   4660 if ac_fn_c_try_compile "$LINENO"; then :
   4661   xorg_cv_cc_flag_unused_command_line_argument=yes
   4662 else
   4663   xorg_cv_cc_flag_unused_command_line_argument=no
   4664 fi
   4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4666 fi
   4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4668 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4670 	CFLAGS="$xorg_testset_save_CFLAGS"
   4671 fi
   4672 
   4673 found="no"
   4674 
   4675 	if test $found = "no" ; then
   4676 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4678 		fi
   4679 
   4680 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4682 		fi
   4683 
   4684 		CFLAGS="$CFLAGS -Wpointer-arith"
   4685 
   4686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4687 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4688 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4689 		if eval \${$cacheid+:} false; then :
   4690   $as_echo_n "(cached) " >&6
   4691 else
   4692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4693 /* end confdefs.h.  */
   4694 int i;
   4695 int
   4696 main ()
   4697 {
   4698 
   4699   ;
   4700   return 0;
   4701 }
   4702 _ACEOF
   4703 if ac_fn_c_try_link "$LINENO"; then :
   4704   eval $cacheid=yes
   4705 else
   4706   eval $cacheid=no
   4707 fi
   4708 rm -f core conftest.err conftest.$ac_objext \
   4709     conftest$ac_exeext conftest.$ac_ext
   4710 fi
   4711 
   4712 
   4713 		CFLAGS="$xorg_testset_save_CFLAGS"
   4714 
   4715 		eval supported=\$$cacheid
   4716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4717 $as_echo "$supported" >&6; }
   4718 		if test "$supported" = "yes" ; then
   4719 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4720 			found="yes"
   4721 		fi
   4722 	fi
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 xorg_testset_save_CFLAGS="$CFLAGS"
   4739 
   4740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4743 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4744 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4745   $as_echo_n "(cached) " >&6
   4746 else
   4747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4748 /* end confdefs.h.  */
   4749 int i;
   4750 _ACEOF
   4751 if ac_fn_c_try_compile "$LINENO"; then :
   4752   xorg_cv_cc_flag_unknown_warning_option=yes
   4753 else
   4754   xorg_cv_cc_flag_unknown_warning_option=no
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4759 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4761 	CFLAGS="$xorg_testset_save_CFLAGS"
   4762 fi
   4763 
   4764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4767 	fi
   4768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4770 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4771 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4772   $as_echo_n "(cached) " >&6
   4773 else
   4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4775 /* end confdefs.h.  */
   4776 int i;
   4777 _ACEOF
   4778 if ac_fn_c_try_compile "$LINENO"; then :
   4779   xorg_cv_cc_flag_unused_command_line_argument=yes
   4780 else
   4781   xorg_cv_cc_flag_unused_command_line_argument=no
   4782 fi
   4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4784 fi
   4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4786 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4788 	CFLAGS="$xorg_testset_save_CFLAGS"
   4789 fi
   4790 
   4791 found="no"
   4792 
   4793 	if test $found = "no" ; then
   4794 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4796 		fi
   4797 
   4798 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4800 		fi
   4801 
   4802 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4803 
   4804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4805 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4806 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4807 		if eval \${$cacheid+:} false; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4811 /* end confdefs.h.  */
   4812 int i;
   4813 int
   4814 main ()
   4815 {
   4816 
   4817   ;
   4818   return 0;
   4819 }
   4820 _ACEOF
   4821 if ac_fn_c_try_link "$LINENO"; then :
   4822   eval $cacheid=yes
   4823 else
   4824   eval $cacheid=no
   4825 fi
   4826 rm -f core conftest.err conftest.$ac_objext \
   4827     conftest$ac_exeext conftest.$ac_ext
   4828 fi
   4829 
   4830 
   4831 		CFLAGS="$xorg_testset_save_CFLAGS"
   4832 
   4833 		eval supported=\$$cacheid
   4834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4835 $as_echo "$supported" >&6; }
   4836 		if test "$supported" = "yes" ; then
   4837 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4838 			found="yes"
   4839 		fi
   4840 	fi
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 xorg_testset_save_CFLAGS="$CFLAGS"
   4857 
   4858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4861 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4862 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4863   $as_echo_n "(cached) " >&6
   4864 else
   4865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4866 /* end confdefs.h.  */
   4867 int i;
   4868 _ACEOF
   4869 if ac_fn_c_try_compile "$LINENO"; then :
   4870   xorg_cv_cc_flag_unknown_warning_option=yes
   4871 else
   4872   xorg_cv_cc_flag_unknown_warning_option=no
   4873 fi
   4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4875 fi
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4877 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4879 	CFLAGS="$xorg_testset_save_CFLAGS"
   4880 fi
   4881 
   4882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4885 	fi
   4886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4888 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4889 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4893 /* end confdefs.h.  */
   4894 int i;
   4895 _ACEOF
   4896 if ac_fn_c_try_compile "$LINENO"; then :
   4897   xorg_cv_cc_flag_unused_command_line_argument=yes
   4898 else
   4899   xorg_cv_cc_flag_unused_command_line_argument=no
   4900 fi
   4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4902 fi
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4904 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4906 	CFLAGS="$xorg_testset_save_CFLAGS"
   4907 fi
   4908 
   4909 found="no"
   4910 
   4911 	if test $found = "no" ; then
   4912 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4914 		fi
   4915 
   4916 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4918 		fi
   4919 
   4920 		CFLAGS="$CFLAGS -Wformat=2"
   4921 
   4922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4923 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4924 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4925 		if eval \${$cacheid+:} false; then :
   4926   $as_echo_n "(cached) " >&6
   4927 else
   4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4929 /* end confdefs.h.  */
   4930 int i;
   4931 int
   4932 main ()
   4933 {
   4934 
   4935   ;
   4936   return 0;
   4937 }
   4938 _ACEOF
   4939 if ac_fn_c_try_link "$LINENO"; then :
   4940   eval $cacheid=yes
   4941 else
   4942   eval $cacheid=no
   4943 fi
   4944 rm -f core conftest.err conftest.$ac_objext \
   4945     conftest$ac_exeext conftest.$ac_ext
   4946 fi
   4947 
   4948 
   4949 		CFLAGS="$xorg_testset_save_CFLAGS"
   4950 
   4951 		eval supported=\$$cacheid
   4952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4953 $as_echo "$supported" >&6; }
   4954 		if test "$supported" = "yes" ; then
   4955 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4956 			found="yes"
   4957 		fi
   4958 	fi
   4959 
   4960 	if test $found = "no" ; then
   4961 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4963 		fi
   4964 
   4965 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4967 		fi
   4968 
   4969 		CFLAGS="$CFLAGS -Wformat"
   4970 
   4971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4972 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4973 		cacheid=xorg_cv_cc_flag__Wformat
   4974 		if eval \${$cacheid+:} false; then :
   4975   $as_echo_n "(cached) " >&6
   4976 else
   4977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4978 /* end confdefs.h.  */
   4979 int i;
   4980 int
   4981 main ()
   4982 {
   4983 
   4984   ;
   4985   return 0;
   4986 }
   4987 _ACEOF
   4988 if ac_fn_c_try_link "$LINENO"; then :
   4989   eval $cacheid=yes
   4990 else
   4991   eval $cacheid=no
   4992 fi
   4993 rm -f core conftest.err conftest.$ac_objext \
   4994     conftest$ac_exeext conftest.$ac_ext
   4995 fi
   4996 
   4997 
   4998 		CFLAGS="$xorg_testset_save_CFLAGS"
   4999 
   5000 		eval supported=\$$cacheid
   5001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5002 $as_echo "$supported" >&6; }
   5003 		if test "$supported" = "yes" ; then
   5004 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5005 			found="yes"
   5006 		fi
   5007 	fi
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 xorg_testset_save_CFLAGS="$CFLAGS"
   5026 
   5027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5032   $as_echo_n "(cached) " >&6
   5033 else
   5034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5035 /* end confdefs.h.  */
   5036 int i;
   5037 _ACEOF
   5038 if ac_fn_c_try_compile "$LINENO"; then :
   5039   xorg_cv_cc_flag_unknown_warning_option=yes
   5040 else
   5041   xorg_cv_cc_flag_unknown_warning_option=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 fi
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5054 	fi
   5055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5059   $as_echo_n "(cached) " >&6
   5060 else
   5061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5062 /* end confdefs.h.  */
   5063 int i;
   5064 _ACEOF
   5065 if ac_fn_c_try_compile "$LINENO"; then :
   5066   xorg_cv_cc_flag_unused_command_line_argument=yes
   5067 else
   5068   xorg_cv_cc_flag_unused_command_line_argument=no
   5069 fi
   5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5071 fi
   5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5075 	CFLAGS="$xorg_testset_save_CFLAGS"
   5076 fi
   5077 
   5078 found="no"
   5079 
   5080 	if test $found = "no" ; then
   5081 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5083 		fi
   5084 
   5085 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5087 		fi
   5088 
   5089 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5090 
   5091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5092 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5093 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5094 		if eval \${$cacheid+:} false; then :
   5095   $as_echo_n "(cached) " >&6
   5096 else
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 int
   5101 main ()
   5102 {
   5103 
   5104   ;
   5105   return 0;
   5106 }
   5107 _ACEOF
   5108 if ac_fn_c_try_link "$LINENO"; then :
   5109   eval $cacheid=yes
   5110 else
   5111   eval $cacheid=no
   5112 fi
   5113 rm -f core conftest.err conftest.$ac_objext \
   5114     conftest$ac_exeext conftest.$ac_ext
   5115 fi
   5116 
   5117 
   5118 		CFLAGS="$xorg_testset_save_CFLAGS"
   5119 
   5120 		eval supported=\$$cacheid
   5121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5122 $as_echo "$supported" >&6; }
   5123 		if test "$supported" = "yes" ; then
   5124 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5125 			found="yes"
   5126 		fi
   5127 	fi
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 xorg_testset_save_CFLAGS="$CFLAGS"
   5144 
   5145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5150   $as_echo_n "(cached) " >&6
   5151 else
   5152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5153 /* end confdefs.h.  */
   5154 int i;
   5155 _ACEOF
   5156 if ac_fn_c_try_compile "$LINENO"; then :
   5157   xorg_cv_cc_flag_unknown_warning_option=yes
   5158 else
   5159   xorg_cv_cc_flag_unknown_warning_option=no
   5160 fi
   5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5162 fi
   5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5166 	CFLAGS="$xorg_testset_save_CFLAGS"
   5167 fi
   5168 
   5169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5172 	fi
   5173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5177   $as_echo_n "(cached) " >&6
   5178 else
   5179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5180 /* end confdefs.h.  */
   5181 int i;
   5182 _ACEOF
   5183 if ac_fn_c_try_compile "$LINENO"; then :
   5184   xorg_cv_cc_flag_unused_command_line_argument=yes
   5185 else
   5186   xorg_cv_cc_flag_unused_command_line_argument=no
   5187 fi
   5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5189 fi
   5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5193 	CFLAGS="$xorg_testset_save_CFLAGS"
   5194 fi
   5195 
   5196 found="no"
   5197 
   5198 	if test $found = "no" ; then
   5199 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 		fi
   5202 
   5203 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5205 		fi
   5206 
   5207 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5208 
   5209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5210 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5211 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5212 		if eval \${$cacheid+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5216 /* end confdefs.h.  */
   5217 int i;
   5218 int
   5219 main ()
   5220 {
   5221 
   5222   ;
   5223   return 0;
   5224 }
   5225 _ACEOF
   5226 if ac_fn_c_try_link "$LINENO"; then :
   5227   eval $cacheid=yes
   5228 else
   5229   eval $cacheid=no
   5230 fi
   5231 rm -f core conftest.err conftest.$ac_objext \
   5232     conftest$ac_exeext conftest.$ac_ext
   5233 fi
   5234 
   5235 
   5236 		CFLAGS="$xorg_testset_save_CFLAGS"
   5237 
   5238 		eval supported=\$$cacheid
   5239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5240 $as_echo "$supported" >&6; }
   5241 		if test "$supported" = "yes" ; then
   5242 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5243 			found="yes"
   5244 		fi
   5245 	fi
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 xorg_testset_save_CFLAGS="$CFLAGS"
   5262 
   5263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5266 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5267 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 _ACEOF
   5274 if ac_fn_c_try_compile "$LINENO"; then :
   5275   xorg_cv_cc_flag_unknown_warning_option=yes
   5276 else
   5277   xorg_cv_cc_flag_unknown_warning_option=no
   5278 fi
   5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5280 fi
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5282 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5284 	CFLAGS="$xorg_testset_save_CFLAGS"
   5285 fi
   5286 
   5287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5290 	fi
   5291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5293 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5294 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5295   $as_echo_n "(cached) " >&6
   5296 else
   5297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5298 /* end confdefs.h.  */
   5299 int i;
   5300 _ACEOF
   5301 if ac_fn_c_try_compile "$LINENO"; then :
   5302   xorg_cv_cc_flag_unused_command_line_argument=yes
   5303 else
   5304   xorg_cv_cc_flag_unused_command_line_argument=no
   5305 fi
   5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5307 fi
   5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5309 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5311 	CFLAGS="$xorg_testset_save_CFLAGS"
   5312 fi
   5313 
   5314 found="no"
   5315 
   5316 	if test $found = "no" ; then
   5317 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 		fi
   5320 
   5321 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5323 		fi
   5324 
   5325 		CFLAGS="$CFLAGS -Wnested-externs"
   5326 
   5327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5328 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5329 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5330 		if eval \${$cacheid+:} false; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 int
   5337 main ()
   5338 {
   5339 
   5340   ;
   5341   return 0;
   5342 }
   5343 _ACEOF
   5344 if ac_fn_c_try_link "$LINENO"; then :
   5345   eval $cacheid=yes
   5346 else
   5347   eval $cacheid=no
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext \
   5350     conftest$ac_exeext conftest.$ac_ext
   5351 fi
   5352 
   5353 
   5354 		CFLAGS="$xorg_testset_save_CFLAGS"
   5355 
   5356 		eval supported=\$$cacheid
   5357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5358 $as_echo "$supported" >&6; }
   5359 		if test "$supported" = "yes" ; then
   5360 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5361 			found="yes"
   5362 		fi
   5363 	fi
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 xorg_testset_save_CFLAGS="$CFLAGS"
   5380 
   5381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5384 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5385 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5386   $as_echo_n "(cached) " >&6
   5387 else
   5388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5389 /* end confdefs.h.  */
   5390 int i;
   5391 _ACEOF
   5392 if ac_fn_c_try_compile "$LINENO"; then :
   5393   xorg_cv_cc_flag_unknown_warning_option=yes
   5394 else
   5395   xorg_cv_cc_flag_unknown_warning_option=no
   5396 fi
   5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5398 fi
   5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5400 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5402 	CFLAGS="$xorg_testset_save_CFLAGS"
   5403 fi
   5404 
   5405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5408 	fi
   5409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5411 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5412 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   5421 else
   5422   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   5427 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5429 	CFLAGS="$xorg_testset_save_CFLAGS"
   5430 fi
   5431 
   5432 found="no"
   5433 
   5434 	if test $found = "no" ; then
   5435 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 		fi
   5438 
   5439 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5441 		fi
   5442 
   5443 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5444 
   5445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5446 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5447 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5448 		if eval \${$cacheid+:} false; then :
   5449   $as_echo_n "(cached) " >&6
   5450 else
   5451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 int
   5455 main ()
   5456 {
   5457 
   5458   ;
   5459   return 0;
   5460 }
   5461 _ACEOF
   5462 if ac_fn_c_try_link "$LINENO"; then :
   5463   eval $cacheid=yes
   5464 else
   5465   eval $cacheid=no
   5466 fi
   5467 rm -f core conftest.err conftest.$ac_objext \
   5468     conftest$ac_exeext conftest.$ac_ext
   5469 fi
   5470 
   5471 
   5472 		CFLAGS="$xorg_testset_save_CFLAGS"
   5473 
   5474 		eval supported=\$$cacheid
   5475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5476 $as_echo "$supported" >&6; }
   5477 		if test "$supported" = "yes" ; then
   5478 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5479 			found="yes"
   5480 		fi
   5481 	fi
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 xorg_testset_save_CFLAGS="$CFLAGS"
   5498 
   5499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5502 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5503 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5507 /* end confdefs.h.  */
   5508 int i;
   5509 _ACEOF
   5510 if ac_fn_c_try_compile "$LINENO"; then :
   5511   xorg_cv_cc_flag_unknown_warning_option=yes
   5512 else
   5513   xorg_cv_cc_flag_unknown_warning_option=no
   5514 fi
   5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5516 fi
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5518 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5520 	CFLAGS="$xorg_testset_save_CFLAGS"
   5521 fi
   5522 
   5523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5526 	fi
   5527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5529 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5530 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5531   $as_echo_n "(cached) " >&6
   5532 else
   5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5534 /* end confdefs.h.  */
   5535 int i;
   5536 _ACEOF
   5537 if ac_fn_c_try_compile "$LINENO"; then :
   5538   xorg_cv_cc_flag_unused_command_line_argument=yes
   5539 else
   5540   xorg_cv_cc_flag_unused_command_line_argument=no
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5543 fi
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5545 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5547 	CFLAGS="$xorg_testset_save_CFLAGS"
   5548 fi
   5549 
   5550 found="no"
   5551 
   5552 	if test $found = "no" ; then
   5553 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 		fi
   5556 
   5557 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5559 		fi
   5560 
   5561 		CFLAGS="$CFLAGS -Wold-style-definition"
   5562 
   5563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5564 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5565 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5566 		if eval \${$cacheid+:} false; then :
   5567   $as_echo_n "(cached) " >&6
   5568 else
   5569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5570 /* end confdefs.h.  */
   5571 int i;
   5572 int
   5573 main ()
   5574 {
   5575 
   5576   ;
   5577   return 0;
   5578 }
   5579 _ACEOF
   5580 if ac_fn_c_try_link "$LINENO"; then :
   5581   eval $cacheid=yes
   5582 else
   5583   eval $cacheid=no
   5584 fi
   5585 rm -f core conftest.err conftest.$ac_objext \
   5586     conftest$ac_exeext conftest.$ac_ext
   5587 fi
   5588 
   5589 
   5590 		CFLAGS="$xorg_testset_save_CFLAGS"
   5591 
   5592 		eval supported=\$$cacheid
   5593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5594 $as_echo "$supported" >&6; }
   5595 		if test "$supported" = "yes" ; then
   5596 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5597 			found="yes"
   5598 		fi
   5599 	fi
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 xorg_testset_save_CFLAGS="$CFLAGS"
   5616 
   5617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5620 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5621 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5625 /* end confdefs.h.  */
   5626 int i;
   5627 _ACEOF
   5628 if ac_fn_c_try_compile "$LINENO"; then :
   5629   xorg_cv_cc_flag_unknown_warning_option=yes
   5630 else
   5631   xorg_cv_cc_flag_unknown_warning_option=no
   5632 fi
   5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5634 fi
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5636 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5638 	CFLAGS="$xorg_testset_save_CFLAGS"
   5639 fi
   5640 
   5641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 	fi
   5645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5647 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5648 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5649   $as_echo_n "(cached) " >&6
   5650 else
   5651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5652 /* end confdefs.h.  */
   5653 int i;
   5654 _ACEOF
   5655 if ac_fn_c_try_compile "$LINENO"; then :
   5656   xorg_cv_cc_flag_unused_command_line_argument=yes
   5657 else
   5658   xorg_cv_cc_flag_unused_command_line_argument=no
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5661 fi
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5663 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5665 	CFLAGS="$xorg_testset_save_CFLAGS"
   5666 fi
   5667 
   5668 found="no"
   5669 
   5670 	if test $found = "no" ; then
   5671 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 		fi
   5674 
   5675 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5677 		fi
   5678 
   5679 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5680 
   5681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5682 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5683 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5684 		if eval \${$cacheid+:} false; then :
   5685   $as_echo_n "(cached) " >&6
   5686 else
   5687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5688 /* end confdefs.h.  */
   5689 int i;
   5690 int
   5691 main ()
   5692 {
   5693 
   5694   ;
   5695   return 0;
   5696 }
   5697 _ACEOF
   5698 if ac_fn_c_try_link "$LINENO"; then :
   5699   eval $cacheid=yes
   5700 else
   5701   eval $cacheid=no
   5702 fi
   5703 rm -f core conftest.err conftest.$ac_objext \
   5704     conftest$ac_exeext conftest.$ac_ext
   5705 fi
   5706 
   5707 
   5708 		CFLAGS="$xorg_testset_save_CFLAGS"
   5709 
   5710 		eval supported=\$$cacheid
   5711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5712 $as_echo "$supported" >&6; }
   5713 		if test "$supported" = "yes" ; then
   5714 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5715 			found="yes"
   5716 		fi
   5717 	fi
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 # This chunk adds additional warnings that could catch undesired effects.
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 xorg_testset_save_CFLAGS="$CFLAGS"
   5738 
   5739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5744   $as_echo_n "(cached) " >&6
   5745 else
   5746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5747 /* end confdefs.h.  */
   5748 int i;
   5749 _ACEOF
   5750 if ac_fn_c_try_compile "$LINENO"; then :
   5751   xorg_cv_cc_flag_unknown_warning_option=yes
   5752 else
   5753   xorg_cv_cc_flag_unknown_warning_option=no
   5754 fi
   5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5756 fi
   5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5760 	CFLAGS="$xorg_testset_save_CFLAGS"
   5761 fi
   5762 
   5763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	fi
   5767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5771   $as_echo_n "(cached) " >&6
   5772 else
   5773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5774 /* end confdefs.h.  */
   5775 int i;
   5776 _ACEOF
   5777 if ac_fn_c_try_compile "$LINENO"; then :
   5778   xorg_cv_cc_flag_unused_command_line_argument=yes
   5779 else
   5780   xorg_cv_cc_flag_unused_command_line_argument=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5783 fi
   5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5787 	CFLAGS="$xorg_testset_save_CFLAGS"
   5788 fi
   5789 
   5790 found="no"
   5791 
   5792 	if test $found = "no" ; then
   5793 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5795 		fi
   5796 
   5797 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 		fi
   5800 
   5801 		CFLAGS="$CFLAGS -Wunused"
   5802 
   5803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5804 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5805 		cacheid=xorg_cv_cc_flag__Wunused
   5806 		if eval \${$cacheid+:} false; then :
   5807   $as_echo_n "(cached) " >&6
   5808 else
   5809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 int i;
   5812 int
   5813 main ()
   5814 {
   5815 
   5816   ;
   5817   return 0;
   5818 }
   5819 _ACEOF
   5820 if ac_fn_c_try_link "$LINENO"; then :
   5821   eval $cacheid=yes
   5822 else
   5823   eval $cacheid=no
   5824 fi
   5825 rm -f core conftest.err conftest.$ac_objext \
   5826     conftest$ac_exeext conftest.$ac_ext
   5827 fi
   5828 
   5829 
   5830 		CFLAGS="$xorg_testset_save_CFLAGS"
   5831 
   5832 		eval supported=\$$cacheid
   5833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5834 $as_echo "$supported" >&6; }
   5835 		if test "$supported" = "yes" ; then
   5836 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5837 			found="yes"
   5838 		fi
   5839 	fi
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 xorg_testset_save_CFLAGS="$CFLAGS"
   5856 
   5857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5862   $as_echo_n "(cached) " >&6
   5863 else
   5864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5865 /* end confdefs.h.  */
   5866 int i;
   5867 _ACEOF
   5868 if ac_fn_c_try_compile "$LINENO"; then :
   5869   xorg_cv_cc_flag_unknown_warning_option=yes
   5870 else
   5871   xorg_cv_cc_flag_unknown_warning_option=no
   5872 fi
   5873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5874 fi
   5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5878 	CFLAGS="$xorg_testset_save_CFLAGS"
   5879 fi
   5880 
   5881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 	fi
   5885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5889   $as_echo_n "(cached) " >&6
   5890 else
   5891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5892 /* end confdefs.h.  */
   5893 int i;
   5894 _ACEOF
   5895 if ac_fn_c_try_compile "$LINENO"; then :
   5896   xorg_cv_cc_flag_unused_command_line_argument=yes
   5897 else
   5898   xorg_cv_cc_flag_unused_command_line_argument=no
   5899 fi
   5900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5901 fi
   5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5905 	CFLAGS="$xorg_testset_save_CFLAGS"
   5906 fi
   5907 
   5908 found="no"
   5909 
   5910 	if test $found = "no" ; then
   5911 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5913 		fi
   5914 
   5915 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5917 		fi
   5918 
   5919 		CFLAGS="$CFLAGS -Wuninitialized"
   5920 
   5921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5922 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5923 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5924 		if eval \${$cacheid+:} false; then :
   5925   $as_echo_n "(cached) " >&6
   5926 else
   5927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5928 /* end confdefs.h.  */
   5929 int i;
   5930 int
   5931 main ()
   5932 {
   5933 
   5934   ;
   5935   return 0;
   5936 }
   5937 _ACEOF
   5938 if ac_fn_c_try_link "$LINENO"; then :
   5939   eval $cacheid=yes
   5940 else
   5941   eval $cacheid=no
   5942 fi
   5943 rm -f core conftest.err conftest.$ac_objext \
   5944     conftest$ac_exeext conftest.$ac_ext
   5945 fi
   5946 
   5947 
   5948 		CFLAGS="$xorg_testset_save_CFLAGS"
   5949 
   5950 		eval supported=\$$cacheid
   5951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5952 $as_echo "$supported" >&6; }
   5953 		if test "$supported" = "yes" ; then
   5954 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5955 			found="yes"
   5956 		fi
   5957 	fi
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 xorg_testset_save_CFLAGS="$CFLAGS"
   5974 
   5975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5980   $as_echo_n "(cached) " >&6
   5981 else
   5982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5983 /* end confdefs.h.  */
   5984 int i;
   5985 _ACEOF
   5986 if ac_fn_c_try_compile "$LINENO"; then :
   5987   xorg_cv_cc_flag_unknown_warning_option=yes
   5988 else
   5989   xorg_cv_cc_flag_unknown_warning_option=no
   5990 fi
   5991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5992 fi
   5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5996 	CFLAGS="$xorg_testset_save_CFLAGS"
   5997 fi
   5998 
   5999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6002 	fi
   6003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6007   $as_echo_n "(cached) " >&6
   6008 else
   6009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6010 /* end confdefs.h.  */
   6011 int i;
   6012 _ACEOF
   6013 if ac_fn_c_try_compile "$LINENO"; then :
   6014   xorg_cv_cc_flag_unused_command_line_argument=yes
   6015 else
   6016   xorg_cv_cc_flag_unused_command_line_argument=no
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6019 fi
   6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6023 	CFLAGS="$xorg_testset_save_CFLAGS"
   6024 fi
   6025 
   6026 found="no"
   6027 
   6028 	if test $found = "no" ; then
   6029 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6031 		fi
   6032 
   6033 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6035 		fi
   6036 
   6037 		CFLAGS="$CFLAGS -Wshadow"
   6038 
   6039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6040 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6041 		cacheid=xorg_cv_cc_flag__Wshadow
   6042 		if eval \${$cacheid+:} false; then :
   6043   $as_echo_n "(cached) " >&6
   6044 else
   6045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6046 /* end confdefs.h.  */
   6047 int i;
   6048 int
   6049 main ()
   6050 {
   6051 
   6052   ;
   6053   return 0;
   6054 }
   6055 _ACEOF
   6056 if ac_fn_c_try_link "$LINENO"; then :
   6057   eval $cacheid=yes
   6058 else
   6059   eval $cacheid=no
   6060 fi
   6061 rm -f core conftest.err conftest.$ac_objext \
   6062     conftest$ac_exeext conftest.$ac_ext
   6063 fi
   6064 
   6065 
   6066 		CFLAGS="$xorg_testset_save_CFLAGS"
   6067 
   6068 		eval supported=\$$cacheid
   6069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6070 $as_echo "$supported" >&6; }
   6071 		if test "$supported" = "yes" ; then
   6072 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6073 			found="yes"
   6074 		fi
   6075 	fi
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 xorg_testset_save_CFLAGS="$CFLAGS"
   6092 
   6093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"; then :
   6105   xorg_cv_cc_flag_unknown_warning_option=yes
   6106 else
   6107   xorg_cv_cc_flag_unknown_warning_option=no
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6110 fi
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6114 	CFLAGS="$xorg_testset_save_CFLAGS"
   6115 fi
   6116 
   6117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6120 	fi
   6121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6125   $as_echo_n "(cached) " >&6
   6126 else
   6127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6128 /* end confdefs.h.  */
   6129 int i;
   6130 _ACEOF
   6131 if ac_fn_c_try_compile "$LINENO"; then :
   6132   xorg_cv_cc_flag_unused_command_line_argument=yes
   6133 else
   6134   xorg_cv_cc_flag_unused_command_line_argument=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6137 fi
   6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6141 	CFLAGS="$xorg_testset_save_CFLAGS"
   6142 fi
   6143 
   6144 found="no"
   6145 
   6146 	if test $found = "no" ; then
   6147 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6149 		fi
   6150 
   6151 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6153 		fi
   6154 
   6155 		CFLAGS="$CFLAGS -Wcast-qual"
   6156 
   6157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6158 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6159 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6160 		if eval \${$cacheid+:} false; then :
   6161   $as_echo_n "(cached) " >&6
   6162 else
   6163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6164 /* end confdefs.h.  */
   6165 int i;
   6166 int
   6167 main ()
   6168 {
   6169 
   6170   ;
   6171   return 0;
   6172 }
   6173 _ACEOF
   6174 if ac_fn_c_try_link "$LINENO"; then :
   6175   eval $cacheid=yes
   6176 else
   6177   eval $cacheid=no
   6178 fi
   6179 rm -f core conftest.err conftest.$ac_objext \
   6180     conftest$ac_exeext conftest.$ac_ext
   6181 fi
   6182 
   6183 
   6184 		CFLAGS="$xorg_testset_save_CFLAGS"
   6185 
   6186 		eval supported=\$$cacheid
   6187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6188 $as_echo "$supported" >&6; }
   6189 		if test "$supported" = "yes" ; then
   6190 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6191 			found="yes"
   6192 		fi
   6193 	fi
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 xorg_testset_save_CFLAGS="$CFLAGS"
   6210 
   6211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6216   $as_echo_n "(cached) " >&6
   6217 else
   6218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 _ACEOF
   6222 if ac_fn_c_try_compile "$LINENO"; then :
   6223   xorg_cv_cc_flag_unknown_warning_option=yes
   6224 else
   6225   xorg_cv_cc_flag_unknown_warning_option=no
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6228 fi
   6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6232 	CFLAGS="$xorg_testset_save_CFLAGS"
   6233 fi
   6234 
   6235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 	fi
   6239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 int i;
   6248 _ACEOF
   6249 if ac_fn_c_try_compile "$LINENO"; then :
   6250   xorg_cv_cc_flag_unused_command_line_argument=yes
   6251 else
   6252   xorg_cv_cc_flag_unused_command_line_argument=no
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6255 fi
   6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6259 	CFLAGS="$xorg_testset_save_CFLAGS"
   6260 fi
   6261 
   6262 found="no"
   6263 
   6264 	if test $found = "no" ; then
   6265 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6267 		fi
   6268 
   6269 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6271 		fi
   6272 
   6273 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6274 
   6275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6276 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6277 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6278 		if eval \${$cacheid+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6282 /* end confdefs.h.  */
   6283 int i;
   6284 int
   6285 main ()
   6286 {
   6287 
   6288   ;
   6289   return 0;
   6290 }
   6291 _ACEOF
   6292 if ac_fn_c_try_link "$LINENO"; then :
   6293   eval $cacheid=yes
   6294 else
   6295   eval $cacheid=no
   6296 fi
   6297 rm -f core conftest.err conftest.$ac_objext \
   6298     conftest$ac_exeext conftest.$ac_ext
   6299 fi
   6300 
   6301 
   6302 		CFLAGS="$xorg_testset_save_CFLAGS"
   6303 
   6304 		eval supported=\$$cacheid
   6305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6306 $as_echo "$supported" >&6; }
   6307 		if test "$supported" = "yes" ; then
   6308 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6309 			found="yes"
   6310 		fi
   6311 	fi
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 xorg_testset_save_CFLAGS="$CFLAGS"
   6328 
   6329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6333 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6334   $as_echo_n "(cached) " >&6
   6335 else
   6336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6337 /* end confdefs.h.  */
   6338 int i;
   6339 _ACEOF
   6340 if ac_fn_c_try_compile "$LINENO"; then :
   6341   xorg_cv_cc_flag_unknown_warning_option=yes
   6342 else
   6343   xorg_cv_cc_flag_unknown_warning_option=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6346 fi
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6350 	CFLAGS="$xorg_testset_save_CFLAGS"
   6351 fi
   6352 
   6353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6356 	fi
   6357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6361   $as_echo_n "(cached) " >&6
   6362 else
   6363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6364 /* end confdefs.h.  */
   6365 int i;
   6366 _ACEOF
   6367 if ac_fn_c_try_compile "$LINENO"; then :
   6368   xorg_cv_cc_flag_unused_command_line_argument=yes
   6369 else
   6370   xorg_cv_cc_flag_unused_command_line_argument=no
   6371 fi
   6372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6373 fi
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6377 	CFLAGS="$xorg_testset_save_CFLAGS"
   6378 fi
   6379 
   6380 found="no"
   6381 
   6382 	if test $found = "no" ; then
   6383 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6385 		fi
   6386 
   6387 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6389 		fi
   6390 
   6391 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6392 
   6393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6394 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6395 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6396 		if eval \${$cacheid+:} false; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6400 /* end confdefs.h.  */
   6401 int i;
   6402 int
   6403 main ()
   6404 {
   6405 
   6406   ;
   6407   return 0;
   6408 }
   6409 _ACEOF
   6410 if ac_fn_c_try_link "$LINENO"; then :
   6411   eval $cacheid=yes
   6412 else
   6413   eval $cacheid=no
   6414 fi
   6415 rm -f core conftest.err conftest.$ac_objext \
   6416     conftest$ac_exeext conftest.$ac_ext
   6417 fi
   6418 
   6419 
   6420 		CFLAGS="$xorg_testset_save_CFLAGS"
   6421 
   6422 		eval supported=\$$cacheid
   6423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6424 $as_echo "$supported" >&6; }
   6425 		if test "$supported" = "yes" ; then
   6426 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6427 			found="yes"
   6428 		fi
   6429 	fi
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 xorg_testset_save_CFLAGS="$CFLAGS"
   6446 
   6447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 _ACEOF
   6458 if ac_fn_c_try_compile "$LINENO"; then :
   6459   xorg_cv_cc_flag_unknown_warning_option=yes
   6460 else
   6461   xorg_cv_cc_flag_unknown_warning_option=no
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6464 fi
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6468 	CFLAGS="$xorg_testset_save_CFLAGS"
   6469 fi
   6470 
   6471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6474 	fi
   6475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6479   $as_echo_n "(cached) " >&6
   6480 else
   6481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"; then :
   6486   xorg_cv_cc_flag_unused_command_line_argument=yes
   6487 else
   6488   xorg_cv_cc_flag_unused_command_line_argument=no
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6491 fi
   6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6495 	CFLAGS="$xorg_testset_save_CFLAGS"
   6496 fi
   6497 
   6498 found="no"
   6499 
   6500 	if test $found = "no" ; then
   6501 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6503 		fi
   6504 
   6505 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 		fi
   6508 
   6509 		CFLAGS="$CFLAGS -Wredundant-decls"
   6510 
   6511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6512 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6513 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6514 		if eval \${$cacheid+:} false; then :
   6515   $as_echo_n "(cached) " >&6
   6516 else
   6517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6518 /* end confdefs.h.  */
   6519 int i;
   6520 int
   6521 main ()
   6522 {
   6523 
   6524   ;
   6525   return 0;
   6526 }
   6527 _ACEOF
   6528 if ac_fn_c_try_link "$LINENO"; then :
   6529   eval $cacheid=yes
   6530 else
   6531   eval $cacheid=no
   6532 fi
   6533 rm -f core conftest.err conftest.$ac_objext \
   6534     conftest$ac_exeext conftest.$ac_ext
   6535 fi
   6536 
   6537 
   6538 		CFLAGS="$xorg_testset_save_CFLAGS"
   6539 
   6540 		eval supported=\$$cacheid
   6541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6542 $as_echo "$supported" >&6; }
   6543 		if test "$supported" = "yes" ; then
   6544 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6545 			found="yes"
   6546 		fi
   6547 	fi
   6548 
   6549 
   6550 
   6551 # These are currently disabled because they are noisy.  They will be enabled
   6552 # in the future once the codebase is sufficiently modernized to silence
   6553 # them.  For now, I don't want them to drown out the other warnings.
   6554 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6555 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6556 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6557 
   6558 # Turn some warnings into errors, so we don't accidently get successful builds
   6559 # when there are problems that should be fixed.
   6560 
   6561 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 xorg_testset_save_CFLAGS="$CFLAGS"
   6576 
   6577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6582   $as_echo_n "(cached) " >&6
   6583 else
   6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6585 /* end confdefs.h.  */
   6586 int i;
   6587 _ACEOF
   6588 if ac_fn_c_try_compile "$LINENO"; then :
   6589   xorg_cv_cc_flag_unknown_warning_option=yes
   6590 else
   6591   xorg_cv_cc_flag_unknown_warning_option=no
   6592 fi
   6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6594 fi
   6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6598 	CFLAGS="$xorg_testset_save_CFLAGS"
   6599 fi
   6600 
   6601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6604 	fi
   6605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6612 /* end confdefs.h.  */
   6613 int i;
   6614 _ACEOF
   6615 if ac_fn_c_try_compile "$LINENO"; then :
   6616   xorg_cv_cc_flag_unused_command_line_argument=yes
   6617 else
   6618   xorg_cv_cc_flag_unused_command_line_argument=no
   6619 fi
   6620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6621 fi
   6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6625 	CFLAGS="$xorg_testset_save_CFLAGS"
   6626 fi
   6627 
   6628 found="no"
   6629 
   6630 	if test $found = "no" ; then
   6631 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 		fi
   6634 
   6635 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 		fi
   6638 
   6639 		CFLAGS="$CFLAGS -Werror=implicit"
   6640 
   6641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6642 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6643 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6644 		if eval \${$cacheid+:} false; then :
   6645   $as_echo_n "(cached) " >&6
   6646 else
   6647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6648 /* end confdefs.h.  */
   6649 int i;
   6650 int
   6651 main ()
   6652 {
   6653 
   6654   ;
   6655   return 0;
   6656 }
   6657 _ACEOF
   6658 if ac_fn_c_try_link "$LINENO"; then :
   6659   eval $cacheid=yes
   6660 else
   6661   eval $cacheid=no
   6662 fi
   6663 rm -f core conftest.err conftest.$ac_objext \
   6664     conftest$ac_exeext conftest.$ac_ext
   6665 fi
   6666 
   6667 
   6668 		CFLAGS="$xorg_testset_save_CFLAGS"
   6669 
   6670 		eval supported=\$$cacheid
   6671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6672 $as_echo "$supported" >&6; }
   6673 		if test "$supported" = "yes" ; then
   6674 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6675 			found="yes"
   6676 		fi
   6677 	fi
   6678 
   6679 	if test $found = "no" ; then
   6680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 		fi
   6683 
   6684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6686 		fi
   6687 
   6688 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6689 
   6690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6691 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6692 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6693 		if eval \${$cacheid+:} false; then :
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6697 /* end confdefs.h.  */
   6698 int i;
   6699 int
   6700 main ()
   6701 {
   6702 
   6703   ;
   6704   return 0;
   6705 }
   6706 _ACEOF
   6707 if ac_fn_c_try_link "$LINENO"; then :
   6708   eval $cacheid=yes
   6709 else
   6710   eval $cacheid=no
   6711 fi
   6712 rm -f core conftest.err conftest.$ac_objext \
   6713     conftest$ac_exeext conftest.$ac_ext
   6714 fi
   6715 
   6716 
   6717 		CFLAGS="$xorg_testset_save_CFLAGS"
   6718 
   6719 		eval supported=\$$cacheid
   6720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6721 $as_echo "$supported" >&6; }
   6722 		if test "$supported" = "yes" ; then
   6723 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6724 			found="yes"
   6725 		fi
   6726 	fi
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 xorg_testset_save_CFLAGS="$CFLAGS"
   6743 
   6744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6748 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   6755 if ac_fn_c_try_compile "$LINENO"; then :
   6756   xorg_cv_cc_flag_unknown_warning_option=yes
   6757 else
   6758   xorg_cv_cc_flag_unknown_warning_option=no
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6761 fi
   6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6765 	CFLAGS="$xorg_testset_save_CFLAGS"
   6766 fi
   6767 
   6768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6771 	fi
   6772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6776   $as_echo_n "(cached) " >&6
   6777 else
   6778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6779 /* end confdefs.h.  */
   6780 int i;
   6781 _ACEOF
   6782 if ac_fn_c_try_compile "$LINENO"; then :
   6783   xorg_cv_cc_flag_unused_command_line_argument=yes
   6784 else
   6785   xorg_cv_cc_flag_unused_command_line_argument=no
   6786 fi
   6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6788 fi
   6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6792 	CFLAGS="$xorg_testset_save_CFLAGS"
   6793 fi
   6794 
   6795 found="no"
   6796 
   6797 	if test $found = "no" ; then
   6798 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 		fi
   6801 
   6802 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6804 		fi
   6805 
   6806 		CFLAGS="$CFLAGS -Werror=nonnull"
   6807 
   6808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6809 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6810 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6811 		if eval \${$cacheid+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 int i;
   6817 int
   6818 main ()
   6819 {
   6820 
   6821   ;
   6822   return 0;
   6823 }
   6824 _ACEOF
   6825 if ac_fn_c_try_link "$LINENO"; then :
   6826   eval $cacheid=yes
   6827 else
   6828   eval $cacheid=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext \
   6831     conftest$ac_exeext conftest.$ac_ext
   6832 fi
   6833 
   6834 
   6835 		CFLAGS="$xorg_testset_save_CFLAGS"
   6836 
   6837 		eval supported=\$$cacheid
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6839 $as_echo "$supported" >&6; }
   6840 		if test "$supported" = "yes" ; then
   6841 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6842 			found="yes"
   6843 		fi
   6844 	fi
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 xorg_testset_save_CFLAGS="$CFLAGS"
   6861 
   6862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6870 /* end confdefs.h.  */
   6871 int i;
   6872 _ACEOF
   6873 if ac_fn_c_try_compile "$LINENO"; then :
   6874   xorg_cv_cc_flag_unknown_warning_option=yes
   6875 else
   6876   xorg_cv_cc_flag_unknown_warning_option=no
   6877 fi
   6878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6879 fi
   6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6883 	CFLAGS="$xorg_testset_save_CFLAGS"
   6884 fi
   6885 
   6886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6889 	fi
   6890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6894   $as_echo_n "(cached) " >&6
   6895 else
   6896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6897 /* end confdefs.h.  */
   6898 int i;
   6899 _ACEOF
   6900 if ac_fn_c_try_compile "$LINENO"; then :
   6901   xorg_cv_cc_flag_unused_command_line_argument=yes
   6902 else
   6903   xorg_cv_cc_flag_unused_command_line_argument=no
   6904 fi
   6905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6906 fi
   6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6910 	CFLAGS="$xorg_testset_save_CFLAGS"
   6911 fi
   6912 
   6913 found="no"
   6914 
   6915 	if test $found = "no" ; then
   6916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6918 		fi
   6919 
   6920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6922 		fi
   6923 
   6924 		CFLAGS="$CFLAGS -Werror=init-self"
   6925 
   6926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6927 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6928 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6929 		if eval \${$cacheid+:} false; then :
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6933 /* end confdefs.h.  */
   6934 int i;
   6935 int
   6936 main ()
   6937 {
   6938 
   6939   ;
   6940   return 0;
   6941 }
   6942 _ACEOF
   6943 if ac_fn_c_try_link "$LINENO"; then :
   6944   eval $cacheid=yes
   6945 else
   6946   eval $cacheid=no
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext \
   6949     conftest$ac_exeext conftest.$ac_ext
   6950 fi
   6951 
   6952 
   6953 		CFLAGS="$xorg_testset_save_CFLAGS"
   6954 
   6955 		eval supported=\$$cacheid
   6956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6957 $as_echo "$supported" >&6; }
   6958 		if test "$supported" = "yes" ; then
   6959 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6960 			found="yes"
   6961 		fi
   6962 	fi
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 xorg_testset_save_CFLAGS="$CFLAGS"
   6979 
   6980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6988 /* end confdefs.h.  */
   6989 int i;
   6990 _ACEOF
   6991 if ac_fn_c_try_compile "$LINENO"; then :
   6992   xorg_cv_cc_flag_unknown_warning_option=yes
   6993 else
   6994   xorg_cv_cc_flag_unknown_warning_option=no
   6995 fi
   6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6997 fi
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7001 	CFLAGS="$xorg_testset_save_CFLAGS"
   7002 fi
   7003 
   7004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7007 	fi
   7008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7012   $as_echo_n "(cached) " >&6
   7013 else
   7014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 _ACEOF
   7018 if ac_fn_c_try_compile "$LINENO"; then :
   7019   xorg_cv_cc_flag_unused_command_line_argument=yes
   7020 else
   7021   xorg_cv_cc_flag_unused_command_line_argument=no
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7024 fi
   7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7028 	CFLAGS="$xorg_testset_save_CFLAGS"
   7029 fi
   7030 
   7031 found="no"
   7032 
   7033 	if test $found = "no" ; then
   7034 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7036 		fi
   7037 
   7038 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7040 		fi
   7041 
   7042 		CFLAGS="$CFLAGS -Werror=main"
   7043 
   7044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7045 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7046 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7047 		if eval \${$cacheid+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 int i;
   7053 int
   7054 main ()
   7055 {
   7056 
   7057   ;
   7058   return 0;
   7059 }
   7060 _ACEOF
   7061 if ac_fn_c_try_link "$LINENO"; then :
   7062   eval $cacheid=yes
   7063 else
   7064   eval $cacheid=no
   7065 fi
   7066 rm -f core conftest.err conftest.$ac_objext \
   7067     conftest$ac_exeext conftest.$ac_ext
   7068 fi
   7069 
   7070 
   7071 		CFLAGS="$xorg_testset_save_CFLAGS"
   7072 
   7073 		eval supported=\$$cacheid
   7074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7075 $as_echo "$supported" >&6; }
   7076 		if test "$supported" = "yes" ; then
   7077 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7078 			found="yes"
   7079 		fi
   7080 	fi
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 xorg_testset_save_CFLAGS="$CFLAGS"
   7097 
   7098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"; then :
   7110   xorg_cv_cc_flag_unknown_warning_option=yes
   7111 else
   7112   xorg_cv_cc_flag_unknown_warning_option=no
   7113 fi
   7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7119 	CFLAGS="$xorg_testset_save_CFLAGS"
   7120 fi
   7121 
   7122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	fi
   7126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7130   $as_echo_n "(cached) " >&6
   7131 else
   7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 _ACEOF
   7136 if ac_fn_c_try_compile "$LINENO"; then :
   7137   xorg_cv_cc_flag_unused_command_line_argument=yes
   7138 else
   7139   xorg_cv_cc_flag_unused_command_line_argument=no
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7142 fi
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7146 	CFLAGS="$xorg_testset_save_CFLAGS"
   7147 fi
   7148 
   7149 found="no"
   7150 
   7151 	if test $found = "no" ; then
   7152 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7154 		fi
   7155 
   7156 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7158 		fi
   7159 
   7160 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7161 
   7162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7163 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7164 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7165 		if eval \${$cacheid+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 int i;
   7171 int
   7172 main ()
   7173 {
   7174 
   7175   ;
   7176   return 0;
   7177 }
   7178 _ACEOF
   7179 if ac_fn_c_try_link "$LINENO"; then :
   7180   eval $cacheid=yes
   7181 else
   7182   eval $cacheid=no
   7183 fi
   7184 rm -f core conftest.err conftest.$ac_objext \
   7185     conftest$ac_exeext conftest.$ac_ext
   7186 fi
   7187 
   7188 
   7189 		CFLAGS="$xorg_testset_save_CFLAGS"
   7190 
   7191 		eval supported=\$$cacheid
   7192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7193 $as_echo "$supported" >&6; }
   7194 		if test "$supported" = "yes" ; then
   7195 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7196 			found="yes"
   7197 		fi
   7198 	fi
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 xorg_testset_save_CFLAGS="$CFLAGS"
   7215 
   7216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"; then :
   7228   xorg_cv_cc_flag_unknown_warning_option=yes
   7229 else
   7230   xorg_cv_cc_flag_unknown_warning_option=no
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7237 	CFLAGS="$xorg_testset_save_CFLAGS"
   7238 fi
   7239 
   7240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7243 	fi
   7244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7248   $as_echo_n "(cached) " >&6
   7249 else
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 int i;
   7253 _ACEOF
   7254 if ac_fn_c_try_compile "$LINENO"; then :
   7255   xorg_cv_cc_flag_unused_command_line_argument=yes
   7256 else
   7257   xorg_cv_cc_flag_unused_command_line_argument=no
   7258 fi
   7259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7260 fi
   7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7264 	CFLAGS="$xorg_testset_save_CFLAGS"
   7265 fi
   7266 
   7267 found="no"
   7268 
   7269 	if test $found = "no" ; then
   7270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7272 		fi
   7273 
   7274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7276 		fi
   7277 
   7278 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7279 
   7280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7281 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7282 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7283 		if eval \${$cacheid+:} false; then :
   7284   $as_echo_n "(cached) " >&6
   7285 else
   7286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7287 /* end confdefs.h.  */
   7288 int i;
   7289 int
   7290 main ()
   7291 {
   7292 
   7293   ;
   7294   return 0;
   7295 }
   7296 _ACEOF
   7297 if ac_fn_c_try_link "$LINENO"; then :
   7298   eval $cacheid=yes
   7299 else
   7300   eval $cacheid=no
   7301 fi
   7302 rm -f core conftest.err conftest.$ac_objext \
   7303     conftest$ac_exeext conftest.$ac_ext
   7304 fi
   7305 
   7306 
   7307 		CFLAGS="$xorg_testset_save_CFLAGS"
   7308 
   7309 		eval supported=\$$cacheid
   7310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7311 $as_echo "$supported" >&6; }
   7312 		if test "$supported" = "yes" ; then
   7313 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7314 			found="yes"
   7315 		fi
   7316 	fi
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 xorg_testset_save_CFLAGS="$CFLAGS"
   7333 
   7334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"; then :
   7346   xorg_cv_cc_flag_unknown_warning_option=yes
   7347 else
   7348   xorg_cv_cc_flag_unknown_warning_option=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7351 fi
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7355 	CFLAGS="$xorg_testset_save_CFLAGS"
   7356 fi
   7357 
   7358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7361 	fi
   7362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7366   $as_echo_n "(cached) " >&6
   7367 else
   7368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7369 /* end confdefs.h.  */
   7370 int i;
   7371 _ACEOF
   7372 if ac_fn_c_try_compile "$LINENO"; then :
   7373   xorg_cv_cc_flag_unused_command_line_argument=yes
   7374 else
   7375   xorg_cv_cc_flag_unused_command_line_argument=no
   7376 fi
   7377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7378 fi
   7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7382 	CFLAGS="$xorg_testset_save_CFLAGS"
   7383 fi
   7384 
   7385 found="no"
   7386 
   7387 	if test $found = "no" ; then
   7388 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7390 		fi
   7391 
   7392 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7394 		fi
   7395 
   7396 		CFLAGS="$CFLAGS -Werror=return-type"
   7397 
   7398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7399 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7400 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7401 		if eval \${$cacheid+:} false; then :
   7402   $as_echo_n "(cached) " >&6
   7403 else
   7404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 int
   7408 main ()
   7409 {
   7410 
   7411   ;
   7412   return 0;
   7413 }
   7414 _ACEOF
   7415 if ac_fn_c_try_link "$LINENO"; then :
   7416   eval $cacheid=yes
   7417 else
   7418   eval $cacheid=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext \
   7421     conftest$ac_exeext conftest.$ac_ext
   7422 fi
   7423 
   7424 
   7425 		CFLAGS="$xorg_testset_save_CFLAGS"
   7426 
   7427 		eval supported=\$$cacheid
   7428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7429 $as_echo "$supported" >&6; }
   7430 		if test "$supported" = "yes" ; then
   7431 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7432 			found="yes"
   7433 		fi
   7434 	fi
   7435 
   7436 	if test $found = "no" ; then
   7437 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7439 		fi
   7440 
   7441 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7443 		fi
   7444 
   7445 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7446 
   7447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7448 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7449 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7450 		if eval \${$cacheid+:} false; then :
   7451   $as_echo_n "(cached) " >&6
   7452 else
   7453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7454 /* end confdefs.h.  */
   7455 int i;
   7456 int
   7457 main ()
   7458 {
   7459 
   7460   ;
   7461   return 0;
   7462 }
   7463 _ACEOF
   7464 if ac_fn_c_try_link "$LINENO"; then :
   7465   eval $cacheid=yes
   7466 else
   7467   eval $cacheid=no
   7468 fi
   7469 rm -f core conftest.err conftest.$ac_objext \
   7470     conftest$ac_exeext conftest.$ac_ext
   7471 fi
   7472 
   7473 
   7474 		CFLAGS="$xorg_testset_save_CFLAGS"
   7475 
   7476 		eval supported=\$$cacheid
   7477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7478 $as_echo "$supported" >&6; }
   7479 		if test "$supported" = "yes" ; then
   7480 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7481 			found="yes"
   7482 		fi
   7483 	fi
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 xorg_testset_save_CFLAGS="$CFLAGS"
   7500 
   7501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7504 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7505 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7506   $as_echo_n "(cached) " >&6
   7507 else
   7508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7509 /* end confdefs.h.  */
   7510 int i;
   7511 _ACEOF
   7512 if ac_fn_c_try_compile "$LINENO"; then :
   7513   xorg_cv_cc_flag_unknown_warning_option=yes
   7514 else
   7515   xorg_cv_cc_flag_unknown_warning_option=no
   7516 fi
   7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7518 fi
   7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7520 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7522 	CFLAGS="$xorg_testset_save_CFLAGS"
   7523 fi
   7524 
   7525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	fi
   7529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7531 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7532 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7533   $as_echo_n "(cached) " >&6
   7534 else
   7535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7536 /* end confdefs.h.  */
   7537 int i;
   7538 _ACEOF
   7539 if ac_fn_c_try_compile "$LINENO"; then :
   7540   xorg_cv_cc_flag_unused_command_line_argument=yes
   7541 else
   7542   xorg_cv_cc_flag_unused_command_line_argument=no
   7543 fi
   7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7545 fi
   7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7547 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7549 	CFLAGS="$xorg_testset_save_CFLAGS"
   7550 fi
   7551 
   7552 found="no"
   7553 
   7554 	if test $found = "no" ; then
   7555 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7557 		fi
   7558 
   7559 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7561 		fi
   7562 
   7563 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7564 
   7565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7566 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7567 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7568 		if eval \${$cacheid+:} false; then :
   7569   $as_echo_n "(cached) " >&6
   7570 else
   7571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7572 /* end confdefs.h.  */
   7573 int i;
   7574 int
   7575 main ()
   7576 {
   7577 
   7578   ;
   7579   return 0;
   7580 }
   7581 _ACEOF
   7582 if ac_fn_c_try_link "$LINENO"; then :
   7583   eval $cacheid=yes
   7584 else
   7585   eval $cacheid=no
   7586 fi
   7587 rm -f core conftest.err conftest.$ac_objext \
   7588     conftest$ac_exeext conftest.$ac_ext
   7589 fi
   7590 
   7591 
   7592 		CFLAGS="$xorg_testset_save_CFLAGS"
   7593 
   7594 		eval supported=\$$cacheid
   7595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7596 $as_echo "$supported" >&6; }
   7597 		if test "$supported" = "yes" ; then
   7598 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7599 			found="yes"
   7600 		fi
   7601 	fi
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 xorg_testset_save_CFLAGS="$CFLAGS"
   7618 
   7619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7622 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7623 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7624   $as_echo_n "(cached) " >&6
   7625 else
   7626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7627 /* end confdefs.h.  */
   7628 int i;
   7629 _ACEOF
   7630 if ac_fn_c_try_compile "$LINENO"; then :
   7631   xorg_cv_cc_flag_unknown_warning_option=yes
   7632 else
   7633   xorg_cv_cc_flag_unknown_warning_option=no
   7634 fi
   7635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7636 fi
   7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7638 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7640 	CFLAGS="$xorg_testset_save_CFLAGS"
   7641 fi
   7642 
   7643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7646 	fi
   7647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7649 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7650 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7651   $as_echo_n "(cached) " >&6
   7652 else
   7653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7654 /* end confdefs.h.  */
   7655 int i;
   7656 _ACEOF
   7657 if ac_fn_c_try_compile "$LINENO"; then :
   7658   xorg_cv_cc_flag_unused_command_line_argument=yes
   7659 else
   7660   xorg_cv_cc_flag_unused_command_line_argument=no
   7661 fi
   7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7663 fi
   7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7665 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7667 	CFLAGS="$xorg_testset_save_CFLAGS"
   7668 fi
   7669 
   7670 found="no"
   7671 
   7672 	if test $found = "no" ; then
   7673 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 		fi
   7676 
   7677 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7679 		fi
   7680 
   7681 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7682 
   7683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7684 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7685 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7686 		if eval \${$cacheid+:} false; then :
   7687   $as_echo_n "(cached) " >&6
   7688 else
   7689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7690 /* end confdefs.h.  */
   7691 int i;
   7692 int
   7693 main ()
   7694 {
   7695 
   7696   ;
   7697   return 0;
   7698 }
   7699 _ACEOF
   7700 if ac_fn_c_try_link "$LINENO"; then :
   7701   eval $cacheid=yes
   7702 else
   7703   eval $cacheid=no
   7704 fi
   7705 rm -f core conftest.err conftest.$ac_objext \
   7706     conftest$ac_exeext conftest.$ac_ext
   7707 fi
   7708 
   7709 
   7710 		CFLAGS="$xorg_testset_save_CFLAGS"
   7711 
   7712 		eval supported=\$$cacheid
   7713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7714 $as_echo "$supported" >&6; }
   7715 		if test "$supported" = "yes" ; then
   7716 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7717 			found="yes"
   7718 		fi
   7719 	fi
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 xorg_testset_save_CFLAGS="$CFLAGS"
   7736 
   7737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7745 /* end confdefs.h.  */
   7746 int i;
   7747 _ACEOF
   7748 if ac_fn_c_try_compile "$LINENO"; then :
   7749   xorg_cv_cc_flag_unknown_warning_option=yes
   7750 else
   7751   xorg_cv_cc_flag_unknown_warning_option=no
   7752 fi
   7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7754 fi
   7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7764 	fi
   7765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7769   $as_echo_n "(cached) " >&6
   7770 else
   7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7772 /* end confdefs.h.  */
   7773 int i;
   7774 _ACEOF
   7775 if ac_fn_c_try_compile "$LINENO"; then :
   7776   xorg_cv_cc_flag_unused_command_line_argument=yes
   7777 else
   7778   xorg_cv_cc_flag_unused_command_line_argument=no
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7781 fi
   7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7785 	CFLAGS="$xorg_testset_save_CFLAGS"
   7786 fi
   7787 
   7788 found="no"
   7789 
   7790 	if test $found = "no" ; then
   7791 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7793 		fi
   7794 
   7795 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7797 		fi
   7798 
   7799 		CFLAGS="$CFLAGS -Werror=write-strings"
   7800 
   7801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7802 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7803 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7804 		if eval \${$cacheid+:} false; then :
   7805   $as_echo_n "(cached) " >&6
   7806 else
   7807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7808 /* end confdefs.h.  */
   7809 int i;
   7810 int
   7811 main ()
   7812 {
   7813 
   7814   ;
   7815   return 0;
   7816 }
   7817 _ACEOF
   7818 if ac_fn_c_try_link "$LINENO"; then :
   7819   eval $cacheid=yes
   7820 else
   7821   eval $cacheid=no
   7822 fi
   7823 rm -f core conftest.err conftest.$ac_objext \
   7824     conftest$ac_exeext conftest.$ac_ext
   7825 fi
   7826 
   7827 
   7828 		CFLAGS="$xorg_testset_save_CFLAGS"
   7829 
   7830 		eval supported=\$$cacheid
   7831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7832 $as_echo "$supported" >&6; }
   7833 		if test "$supported" = "yes" ; then
   7834 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7835 			found="yes"
   7836 		fi
   7837 	fi
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 xorg_testset_save_CFLAGS="$CFLAGS"
   7854 
   7855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7860   $as_echo_n "(cached) " >&6
   7861 else
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 _ACEOF
   7866 if ac_fn_c_try_compile "$LINENO"; then :
   7867   xorg_cv_cc_flag_unknown_warning_option=yes
   7868 else
   7869   xorg_cv_cc_flag_unknown_warning_option=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7872 fi
   7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7876 	CFLAGS="$xorg_testset_save_CFLAGS"
   7877 fi
   7878 
   7879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 	fi
   7883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7887   $as_echo_n "(cached) " >&6
   7888 else
   7889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7890 /* end confdefs.h.  */
   7891 int i;
   7892 _ACEOF
   7893 if ac_fn_c_try_compile "$LINENO"; then :
   7894   xorg_cv_cc_flag_unused_command_line_argument=yes
   7895 else
   7896   xorg_cv_cc_flag_unused_command_line_argument=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7899 fi
   7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7903 	CFLAGS="$xorg_testset_save_CFLAGS"
   7904 fi
   7905 
   7906 found="no"
   7907 
   7908 	if test $found = "no" ; then
   7909 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7911 		fi
   7912 
   7913 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7915 		fi
   7916 
   7917 		CFLAGS="$CFLAGS -Werror=address"
   7918 
   7919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7920 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7921 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7922 		if eval \${$cacheid+:} false; then :
   7923   $as_echo_n "(cached) " >&6
   7924 else
   7925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7926 /* end confdefs.h.  */
   7927 int i;
   7928 int
   7929 main ()
   7930 {
   7931 
   7932   ;
   7933   return 0;
   7934 }
   7935 _ACEOF
   7936 if ac_fn_c_try_link "$LINENO"; then :
   7937   eval $cacheid=yes
   7938 else
   7939   eval $cacheid=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext \
   7942     conftest$ac_exeext conftest.$ac_ext
   7943 fi
   7944 
   7945 
   7946 		CFLAGS="$xorg_testset_save_CFLAGS"
   7947 
   7948 		eval supported=\$$cacheid
   7949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7950 $as_echo "$supported" >&6; }
   7951 		if test "$supported" = "yes" ; then
   7952 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7953 			found="yes"
   7954 		fi
   7955 	fi
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 xorg_testset_save_CFLAGS="$CFLAGS"
   7972 
   7973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int i;
   7983 _ACEOF
   7984 if ac_fn_c_try_compile "$LINENO"; then :
   7985   xorg_cv_cc_flag_unknown_warning_option=yes
   7986 else
   7987   xorg_cv_cc_flag_unknown_warning_option=no
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7990 fi
   7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7994 	CFLAGS="$xorg_testset_save_CFLAGS"
   7995 fi
   7996 
   7997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 	fi
   8001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8005   $as_echo_n "(cached) " >&6
   8006 else
   8007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 _ACEOF
   8011 if ac_fn_c_try_compile "$LINENO"; then :
   8012   xorg_cv_cc_flag_unused_command_line_argument=yes
   8013 else
   8014   xorg_cv_cc_flag_unused_command_line_argument=no
   8015 fi
   8016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8017 fi
   8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8021 	CFLAGS="$xorg_testset_save_CFLAGS"
   8022 fi
   8023 
   8024 found="no"
   8025 
   8026 	if test $found = "no" ; then
   8027 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 		fi
   8030 
   8031 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8033 		fi
   8034 
   8035 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8036 
   8037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8038 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8039 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8040 		if eval \${$cacheid+:} false; then :
   8041   $as_echo_n "(cached) " >&6
   8042 else
   8043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8044 /* end confdefs.h.  */
   8045 int i;
   8046 int
   8047 main ()
   8048 {
   8049 
   8050   ;
   8051   return 0;
   8052 }
   8053 _ACEOF
   8054 if ac_fn_c_try_link "$LINENO"; then :
   8055   eval $cacheid=yes
   8056 else
   8057   eval $cacheid=no
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext \
   8060     conftest$ac_exeext conftest.$ac_ext
   8061 fi
   8062 
   8063 
   8064 		CFLAGS="$xorg_testset_save_CFLAGS"
   8065 
   8066 		eval supported=\$$cacheid
   8067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8068 $as_echo "$supported" >&6; }
   8069 		if test "$supported" = "yes" ; then
   8070 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8071 			found="yes"
   8072 		fi
   8073 	fi
   8074 
   8075 	if test $found = "no" ; then
   8076 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 		fi
   8079 
   8080 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8082 		fi
   8083 
   8084 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8085 
   8086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8087 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8088 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8089 		if eval \${$cacheid+:} false; then :
   8090   $as_echo_n "(cached) " >&6
   8091 else
   8092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8093 /* end confdefs.h.  */
   8094 int i;
   8095 int
   8096 main ()
   8097 {
   8098 
   8099   ;
   8100   return 0;
   8101 }
   8102 _ACEOF
   8103 if ac_fn_c_try_link "$LINENO"; then :
   8104   eval $cacheid=yes
   8105 else
   8106   eval $cacheid=no
   8107 fi
   8108 rm -f core conftest.err conftest.$ac_objext \
   8109     conftest$ac_exeext conftest.$ac_ext
   8110 fi
   8111 
   8112 
   8113 		CFLAGS="$xorg_testset_save_CFLAGS"
   8114 
   8115 		eval supported=\$$cacheid
   8116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8117 $as_echo "$supported" >&6; }
   8118 		if test "$supported" = "yes" ; then
   8119 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8120 			found="yes"
   8121 		fi
   8122 	fi
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 xorg_testset_save_CFLAGS="$CFLAGS"
   8139 
   8140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8143 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8144 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8145   $as_echo_n "(cached) " >&6
   8146 else
   8147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8148 /* end confdefs.h.  */
   8149 int i;
   8150 _ACEOF
   8151 if ac_fn_c_try_compile "$LINENO"; then :
   8152   xorg_cv_cc_flag_unknown_warning_option=yes
   8153 else
   8154   xorg_cv_cc_flag_unknown_warning_option=no
   8155 fi
   8156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8157 fi
   8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8159 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8161 	CFLAGS="$xorg_testset_save_CFLAGS"
   8162 fi
   8163 
   8164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8167 	fi
   8168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8170 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8171 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8172   $as_echo_n "(cached) " >&6
   8173 else
   8174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8175 /* end confdefs.h.  */
   8176 int i;
   8177 _ACEOF
   8178 if ac_fn_c_try_compile "$LINENO"; then :
   8179   xorg_cv_cc_flag_unused_command_line_argument=yes
   8180 else
   8181   xorg_cv_cc_flag_unused_command_line_argument=no
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8184 fi
   8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8186 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8188 	CFLAGS="$xorg_testset_save_CFLAGS"
   8189 fi
   8190 
   8191 found="no"
   8192 
   8193 	if test $found = "no" ; then
   8194 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8196 		fi
   8197 
   8198 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8200 		fi
   8201 
   8202 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8203 
   8204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8205 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8206 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8207 		if eval \${$cacheid+:} false; then :
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8211 /* end confdefs.h.  */
   8212 int i;
   8213 int
   8214 main ()
   8215 {
   8216 
   8217   ;
   8218   return 0;
   8219 }
   8220 _ACEOF
   8221 if ac_fn_c_try_link "$LINENO"; then :
   8222   eval $cacheid=yes
   8223 else
   8224   eval $cacheid=no
   8225 fi
   8226 rm -f core conftest.err conftest.$ac_objext \
   8227     conftest$ac_exeext conftest.$ac_ext
   8228 fi
   8229 
   8230 
   8231 		CFLAGS="$xorg_testset_save_CFLAGS"
   8232 
   8233 		eval supported=\$$cacheid
   8234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8235 $as_echo "$supported" >&6; }
   8236 		if test "$supported" = "yes" ; then
   8237 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8238 			found="yes"
   8239 		fi
   8240 	fi
   8241 
   8242  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8243 else
   8244 { $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
   8245 $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;}
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 xorg_testset_save_CFLAGS="$CFLAGS"
   8260 
   8261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8266   $as_echo_n "(cached) " >&6
   8267 else
   8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"; then :
   8273   xorg_cv_cc_flag_unknown_warning_option=yes
   8274 else
   8275   xorg_cv_cc_flag_unknown_warning_option=no
   8276 fi
   8277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8278 fi
   8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8282 	CFLAGS="$xorg_testset_save_CFLAGS"
   8283 fi
   8284 
   8285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8288 	fi
   8289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 _ACEOF
   8299 if ac_fn_c_try_compile "$LINENO"; then :
   8300   xorg_cv_cc_flag_unused_command_line_argument=yes
   8301 else
   8302   xorg_cv_cc_flag_unused_command_line_argument=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8305 fi
   8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8309 	CFLAGS="$xorg_testset_save_CFLAGS"
   8310 fi
   8311 
   8312 found="no"
   8313 
   8314 	if test $found = "no" ; then
   8315 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8317 		fi
   8318 
   8319 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 		fi
   8322 
   8323 		CFLAGS="$CFLAGS -Wimplicit"
   8324 
   8325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8326 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8327 		cacheid=xorg_cv_cc_flag__Wimplicit
   8328 		if eval \${$cacheid+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 int
   8335 main ()
   8336 {
   8337 
   8338   ;
   8339   return 0;
   8340 }
   8341 _ACEOF
   8342 if ac_fn_c_try_link "$LINENO"; then :
   8343   eval $cacheid=yes
   8344 else
   8345   eval $cacheid=no
   8346 fi
   8347 rm -f core conftest.err conftest.$ac_objext \
   8348     conftest$ac_exeext conftest.$ac_ext
   8349 fi
   8350 
   8351 
   8352 		CFLAGS="$xorg_testset_save_CFLAGS"
   8353 
   8354 		eval supported=\$$cacheid
   8355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8356 $as_echo "$supported" >&6; }
   8357 		if test "$supported" = "yes" ; then
   8358 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8359 			found="yes"
   8360 		fi
   8361 	fi
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 xorg_testset_save_CFLAGS="$CFLAGS"
   8378 
   8379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8384   $as_echo_n "(cached) " >&6
   8385 else
   8386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8387 /* end confdefs.h.  */
   8388 int i;
   8389 _ACEOF
   8390 if ac_fn_c_try_compile "$LINENO"; then :
   8391   xorg_cv_cc_flag_unknown_warning_option=yes
   8392 else
   8393   xorg_cv_cc_flag_unknown_warning_option=no
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8396 fi
   8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8400 	CFLAGS="$xorg_testset_save_CFLAGS"
   8401 fi
   8402 
   8403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 	fi
   8407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8411   $as_echo_n "(cached) " >&6
   8412 else
   8413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 _ACEOF
   8417 if ac_fn_c_try_compile "$LINENO"; then :
   8418   xorg_cv_cc_flag_unused_command_line_argument=yes
   8419 else
   8420   xorg_cv_cc_flag_unused_command_line_argument=no
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8423 fi
   8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8427 	CFLAGS="$xorg_testset_save_CFLAGS"
   8428 fi
   8429 
   8430 found="no"
   8431 
   8432 	if test $found = "no" ; then
   8433 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8435 		fi
   8436 
   8437 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8439 		fi
   8440 
   8441 		CFLAGS="$CFLAGS -Wnonnull"
   8442 
   8443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8444 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8445 		cacheid=xorg_cv_cc_flag__Wnonnull
   8446 		if eval \${$cacheid+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8450 /* end confdefs.h.  */
   8451 int i;
   8452 int
   8453 main ()
   8454 {
   8455 
   8456   ;
   8457   return 0;
   8458 }
   8459 _ACEOF
   8460 if ac_fn_c_try_link "$LINENO"; then :
   8461   eval $cacheid=yes
   8462 else
   8463   eval $cacheid=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext \
   8466     conftest$ac_exeext conftest.$ac_ext
   8467 fi
   8468 
   8469 
   8470 		CFLAGS="$xorg_testset_save_CFLAGS"
   8471 
   8472 		eval supported=\$$cacheid
   8473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8474 $as_echo "$supported" >&6; }
   8475 		if test "$supported" = "yes" ; then
   8476 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8477 			found="yes"
   8478 		fi
   8479 	fi
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 xorg_testset_save_CFLAGS="$CFLAGS"
   8496 
   8497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8502   $as_echo_n "(cached) " >&6
   8503 else
   8504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8505 /* end confdefs.h.  */
   8506 int i;
   8507 _ACEOF
   8508 if ac_fn_c_try_compile "$LINENO"; then :
   8509   xorg_cv_cc_flag_unknown_warning_option=yes
   8510 else
   8511   xorg_cv_cc_flag_unknown_warning_option=no
   8512 fi
   8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8514 fi
   8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8518 	CFLAGS="$xorg_testset_save_CFLAGS"
   8519 fi
   8520 
   8521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8524 	fi
   8525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8529   $as_echo_n "(cached) " >&6
   8530 else
   8531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8532 /* end confdefs.h.  */
   8533 int i;
   8534 _ACEOF
   8535 if ac_fn_c_try_compile "$LINENO"; then :
   8536   xorg_cv_cc_flag_unused_command_line_argument=yes
   8537 else
   8538   xorg_cv_cc_flag_unused_command_line_argument=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8541 fi
   8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8545 	CFLAGS="$xorg_testset_save_CFLAGS"
   8546 fi
   8547 
   8548 found="no"
   8549 
   8550 	if test $found = "no" ; then
   8551 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 		fi
   8554 
   8555 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8557 		fi
   8558 
   8559 		CFLAGS="$CFLAGS -Winit-self"
   8560 
   8561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8562 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8563 		cacheid=xorg_cv_cc_flag__Winit_self
   8564 		if eval \${$cacheid+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 int
   8571 main ()
   8572 {
   8573 
   8574   ;
   8575   return 0;
   8576 }
   8577 _ACEOF
   8578 if ac_fn_c_try_link "$LINENO"; then :
   8579   eval $cacheid=yes
   8580 else
   8581   eval $cacheid=no
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext \
   8584     conftest$ac_exeext conftest.$ac_ext
   8585 fi
   8586 
   8587 
   8588 		CFLAGS="$xorg_testset_save_CFLAGS"
   8589 
   8590 		eval supported=\$$cacheid
   8591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8592 $as_echo "$supported" >&6; }
   8593 		if test "$supported" = "yes" ; then
   8594 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8595 			found="yes"
   8596 		fi
   8597 	fi
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 xorg_testset_save_CFLAGS="$CFLAGS"
   8614 
   8615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"; then :
   8627   xorg_cv_cc_flag_unknown_warning_option=yes
   8628 else
   8629   xorg_cv_cc_flag_unknown_warning_option=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8636 	CFLAGS="$xorg_testset_save_CFLAGS"
   8637 fi
   8638 
   8639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8642 	fi
   8643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8647   $as_echo_n "(cached) " >&6
   8648 else
   8649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8650 /* end confdefs.h.  */
   8651 int i;
   8652 _ACEOF
   8653 if ac_fn_c_try_compile "$LINENO"; then :
   8654   xorg_cv_cc_flag_unused_command_line_argument=yes
   8655 else
   8656   xorg_cv_cc_flag_unused_command_line_argument=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8659 fi
   8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8663 	CFLAGS="$xorg_testset_save_CFLAGS"
   8664 fi
   8665 
   8666 found="no"
   8667 
   8668 	if test $found = "no" ; then
   8669 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8671 		fi
   8672 
   8673 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8675 		fi
   8676 
   8677 		CFLAGS="$CFLAGS -Wmain"
   8678 
   8679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8680 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8681 		cacheid=xorg_cv_cc_flag__Wmain
   8682 		if eval \${$cacheid+:} false; then :
   8683   $as_echo_n "(cached) " >&6
   8684 else
   8685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8686 /* end confdefs.h.  */
   8687 int i;
   8688 int
   8689 main ()
   8690 {
   8691 
   8692   ;
   8693   return 0;
   8694 }
   8695 _ACEOF
   8696 if ac_fn_c_try_link "$LINENO"; then :
   8697   eval $cacheid=yes
   8698 else
   8699   eval $cacheid=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext \
   8702     conftest$ac_exeext conftest.$ac_ext
   8703 fi
   8704 
   8705 
   8706 		CFLAGS="$xorg_testset_save_CFLAGS"
   8707 
   8708 		eval supported=\$$cacheid
   8709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8710 $as_echo "$supported" >&6; }
   8711 		if test "$supported" = "yes" ; then
   8712 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8713 			found="yes"
   8714 		fi
   8715 	fi
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 xorg_testset_save_CFLAGS="$CFLAGS"
   8732 
   8733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8738   $as_echo_n "(cached) " >&6
   8739 else
   8740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"; then :
   8745   xorg_cv_cc_flag_unknown_warning_option=yes
   8746 else
   8747   xorg_cv_cc_flag_unknown_warning_option=no
   8748 fi
   8749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8750 fi
   8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8754 	CFLAGS="$xorg_testset_save_CFLAGS"
   8755 fi
   8756 
   8757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8760 	fi
   8761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8765   $as_echo_n "(cached) " >&6
   8766 else
   8767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 _ACEOF
   8771 if ac_fn_c_try_compile "$LINENO"; then :
   8772   xorg_cv_cc_flag_unused_command_line_argument=yes
   8773 else
   8774   xorg_cv_cc_flag_unused_command_line_argument=no
   8775 fi
   8776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8777 fi
   8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8781 	CFLAGS="$xorg_testset_save_CFLAGS"
   8782 fi
   8783 
   8784 found="no"
   8785 
   8786 	if test $found = "no" ; then
   8787 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8789 		fi
   8790 
   8791 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8793 		fi
   8794 
   8795 		CFLAGS="$CFLAGS -Wmissing-braces"
   8796 
   8797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8798 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8799 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8800 		if eval \${$cacheid+:} false; then :
   8801   $as_echo_n "(cached) " >&6
   8802 else
   8803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8804 /* end confdefs.h.  */
   8805 int i;
   8806 int
   8807 main ()
   8808 {
   8809 
   8810   ;
   8811   return 0;
   8812 }
   8813 _ACEOF
   8814 if ac_fn_c_try_link "$LINENO"; then :
   8815   eval $cacheid=yes
   8816 else
   8817   eval $cacheid=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext \
   8820     conftest$ac_exeext conftest.$ac_ext
   8821 fi
   8822 
   8823 
   8824 		CFLAGS="$xorg_testset_save_CFLAGS"
   8825 
   8826 		eval supported=\$$cacheid
   8827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8828 $as_echo "$supported" >&6; }
   8829 		if test "$supported" = "yes" ; then
   8830 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8831 			found="yes"
   8832 		fi
   8833 	fi
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 xorg_testset_save_CFLAGS="$CFLAGS"
   8850 
   8851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8854 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8855 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8856   $as_echo_n "(cached) " >&6
   8857 else
   8858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 _ACEOF
   8862 if ac_fn_c_try_compile "$LINENO"; then :
   8863   xorg_cv_cc_flag_unknown_warning_option=yes
   8864 else
   8865   xorg_cv_cc_flag_unknown_warning_option=no
   8866 fi
   8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8868 fi
   8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8870 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8872 	CFLAGS="$xorg_testset_save_CFLAGS"
   8873 fi
   8874 
   8875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8878 	fi
   8879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8881 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8882 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8883   $as_echo_n "(cached) " >&6
   8884 else
   8885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8886 /* end confdefs.h.  */
   8887 int i;
   8888 _ACEOF
   8889 if ac_fn_c_try_compile "$LINENO"; then :
   8890   xorg_cv_cc_flag_unused_command_line_argument=yes
   8891 else
   8892   xorg_cv_cc_flag_unused_command_line_argument=no
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8895 fi
   8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8897 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8899 	CFLAGS="$xorg_testset_save_CFLAGS"
   8900 fi
   8901 
   8902 found="no"
   8903 
   8904 	if test $found = "no" ; then
   8905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8907 		fi
   8908 
   8909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8911 		fi
   8912 
   8913 		CFLAGS="$CFLAGS -Wsequence-point"
   8914 
   8915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8916 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8917 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8918 		if eval \${$cacheid+:} false; then :
   8919   $as_echo_n "(cached) " >&6
   8920 else
   8921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8922 /* end confdefs.h.  */
   8923 int i;
   8924 int
   8925 main ()
   8926 {
   8927 
   8928   ;
   8929   return 0;
   8930 }
   8931 _ACEOF
   8932 if ac_fn_c_try_link "$LINENO"; then :
   8933   eval $cacheid=yes
   8934 else
   8935   eval $cacheid=no
   8936 fi
   8937 rm -f core conftest.err conftest.$ac_objext \
   8938     conftest$ac_exeext conftest.$ac_ext
   8939 fi
   8940 
   8941 
   8942 		CFLAGS="$xorg_testset_save_CFLAGS"
   8943 
   8944 		eval supported=\$$cacheid
   8945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8946 $as_echo "$supported" >&6; }
   8947 		if test "$supported" = "yes" ; then
   8948 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8949 			found="yes"
   8950 		fi
   8951 	fi
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 xorg_testset_save_CFLAGS="$CFLAGS"
   8968 
   8969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"; then :
   8981   xorg_cv_cc_flag_unknown_warning_option=yes
   8982 else
   8983   xorg_cv_cc_flag_unknown_warning_option=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8986 fi
   8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8990 	CFLAGS="$xorg_testset_save_CFLAGS"
   8991 fi
   8992 
   8993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 	fi
   8997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 _ACEOF
   9007 if ac_fn_c_try_compile "$LINENO"; then :
   9008   xorg_cv_cc_flag_unused_command_line_argument=yes
   9009 else
   9010   xorg_cv_cc_flag_unused_command_line_argument=no
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9013 fi
   9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9017 	CFLAGS="$xorg_testset_save_CFLAGS"
   9018 fi
   9019 
   9020 found="no"
   9021 
   9022 	if test $found = "no" ; then
   9023 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9025 		fi
   9026 
   9027 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9029 		fi
   9030 
   9031 		CFLAGS="$CFLAGS -Wreturn-type"
   9032 
   9033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9034 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9035 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9036 		if eval \${$cacheid+:} false; then :
   9037   $as_echo_n "(cached) " >&6
   9038 else
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 int i;
   9042 int
   9043 main ()
   9044 {
   9045 
   9046   ;
   9047   return 0;
   9048 }
   9049 _ACEOF
   9050 if ac_fn_c_try_link "$LINENO"; then :
   9051   eval $cacheid=yes
   9052 else
   9053   eval $cacheid=no
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext \
   9056     conftest$ac_exeext conftest.$ac_ext
   9057 fi
   9058 
   9059 
   9060 		CFLAGS="$xorg_testset_save_CFLAGS"
   9061 
   9062 		eval supported=\$$cacheid
   9063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9064 $as_echo "$supported" >&6; }
   9065 		if test "$supported" = "yes" ; then
   9066 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9067 			found="yes"
   9068 		fi
   9069 	fi
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 xorg_testset_save_CFLAGS="$CFLAGS"
   9086 
   9087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9095 /* end confdefs.h.  */
   9096 int i;
   9097 _ACEOF
   9098 if ac_fn_c_try_compile "$LINENO"; then :
   9099   xorg_cv_cc_flag_unknown_warning_option=yes
   9100 else
   9101   xorg_cv_cc_flag_unknown_warning_option=no
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9108 	CFLAGS="$xorg_testset_save_CFLAGS"
   9109 fi
   9110 
   9111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9114 	fi
   9115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9119   $as_echo_n "(cached) " >&6
   9120 else
   9121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9122 /* end confdefs.h.  */
   9123 int i;
   9124 _ACEOF
   9125 if ac_fn_c_try_compile "$LINENO"; then :
   9126   xorg_cv_cc_flag_unused_command_line_argument=yes
   9127 else
   9128   xorg_cv_cc_flag_unused_command_line_argument=no
   9129 fi
   9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9131 fi
   9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9135 	CFLAGS="$xorg_testset_save_CFLAGS"
   9136 fi
   9137 
   9138 found="no"
   9139 
   9140 	if test $found = "no" ; then
   9141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9143 		fi
   9144 
   9145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 		fi
   9148 
   9149 		CFLAGS="$CFLAGS -Wtrigraphs"
   9150 
   9151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9152 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9153 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9154 		if eval \${$cacheid+:} false; then :
   9155   $as_echo_n "(cached) " >&6
   9156 else
   9157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9158 /* end confdefs.h.  */
   9159 int i;
   9160 int
   9161 main ()
   9162 {
   9163 
   9164   ;
   9165   return 0;
   9166 }
   9167 _ACEOF
   9168 if ac_fn_c_try_link "$LINENO"; then :
   9169   eval $cacheid=yes
   9170 else
   9171   eval $cacheid=no
   9172 fi
   9173 rm -f core conftest.err conftest.$ac_objext \
   9174     conftest$ac_exeext conftest.$ac_ext
   9175 fi
   9176 
   9177 
   9178 		CFLAGS="$xorg_testset_save_CFLAGS"
   9179 
   9180 		eval supported=\$$cacheid
   9181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9182 $as_echo "$supported" >&6; }
   9183 		if test "$supported" = "yes" ; then
   9184 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9185 			found="yes"
   9186 		fi
   9187 	fi
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 xorg_testset_save_CFLAGS="$CFLAGS"
   9204 
   9205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9208 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9209 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9210   $as_echo_n "(cached) " >&6
   9211 else
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"; then :
   9217   xorg_cv_cc_flag_unknown_warning_option=yes
   9218 else
   9219   xorg_cv_cc_flag_unknown_warning_option=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9222 fi
   9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9224 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9226 	CFLAGS="$xorg_testset_save_CFLAGS"
   9227 fi
   9228 
   9229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9232 	fi
   9233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9235 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9236 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9237   $as_echo_n "(cached) " >&6
   9238 else
   9239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9240 /* end confdefs.h.  */
   9241 int i;
   9242 _ACEOF
   9243 if ac_fn_c_try_compile "$LINENO"; then :
   9244   xorg_cv_cc_flag_unused_command_line_argument=yes
   9245 else
   9246   xorg_cv_cc_flag_unused_command_line_argument=no
   9247 fi
   9248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9249 fi
   9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9251 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9253 	CFLAGS="$xorg_testset_save_CFLAGS"
   9254 fi
   9255 
   9256 found="no"
   9257 
   9258 	if test $found = "no" ; then
   9259 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9261 		fi
   9262 
   9263 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9265 		fi
   9266 
   9267 		CFLAGS="$CFLAGS -Warray-bounds"
   9268 
   9269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9270 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9271 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9272 		if eval \${$cacheid+:} false; then :
   9273   $as_echo_n "(cached) " >&6
   9274 else
   9275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9276 /* end confdefs.h.  */
   9277 int i;
   9278 int
   9279 main ()
   9280 {
   9281 
   9282   ;
   9283   return 0;
   9284 }
   9285 _ACEOF
   9286 if ac_fn_c_try_link "$LINENO"; then :
   9287   eval $cacheid=yes
   9288 else
   9289   eval $cacheid=no
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext \
   9292     conftest$ac_exeext conftest.$ac_ext
   9293 fi
   9294 
   9295 
   9296 		CFLAGS="$xorg_testset_save_CFLAGS"
   9297 
   9298 		eval supported=\$$cacheid
   9299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9300 $as_echo "$supported" >&6; }
   9301 		if test "$supported" = "yes" ; then
   9302 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9303 			found="yes"
   9304 		fi
   9305 	fi
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 xorg_testset_save_CFLAGS="$CFLAGS"
   9322 
   9323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"; then :
   9335   xorg_cv_cc_flag_unknown_warning_option=yes
   9336 else
   9337   xorg_cv_cc_flag_unknown_warning_option=no
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9340 fi
   9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9344 	CFLAGS="$xorg_testset_save_CFLAGS"
   9345 fi
   9346 
   9347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9350 	fi
   9351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9355   $as_echo_n "(cached) " >&6
   9356 else
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 int i;
   9360 _ACEOF
   9361 if ac_fn_c_try_compile "$LINENO"; then :
   9362   xorg_cv_cc_flag_unused_command_line_argument=yes
   9363 else
   9364   xorg_cv_cc_flag_unused_command_line_argument=no
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9367 fi
   9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9371 	CFLAGS="$xorg_testset_save_CFLAGS"
   9372 fi
   9373 
   9374 found="no"
   9375 
   9376 	if test $found = "no" ; then
   9377 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 		fi
   9380 
   9381 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9383 		fi
   9384 
   9385 		CFLAGS="$CFLAGS -Wwrite-strings"
   9386 
   9387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9388 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9389 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9390 		if eval \${$cacheid+:} false; then :
   9391   $as_echo_n "(cached) " >&6
   9392 else
   9393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9394 /* end confdefs.h.  */
   9395 int i;
   9396 int
   9397 main ()
   9398 {
   9399 
   9400   ;
   9401   return 0;
   9402 }
   9403 _ACEOF
   9404 if ac_fn_c_try_link "$LINENO"; then :
   9405   eval $cacheid=yes
   9406 else
   9407   eval $cacheid=no
   9408 fi
   9409 rm -f core conftest.err conftest.$ac_objext \
   9410     conftest$ac_exeext conftest.$ac_ext
   9411 fi
   9412 
   9413 
   9414 		CFLAGS="$xorg_testset_save_CFLAGS"
   9415 
   9416 		eval supported=\$$cacheid
   9417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9418 $as_echo "$supported" >&6; }
   9419 		if test "$supported" = "yes" ; then
   9420 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9421 			found="yes"
   9422 		fi
   9423 	fi
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 xorg_testset_save_CFLAGS="$CFLAGS"
   9440 
   9441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9446   $as_echo_n "(cached) " >&6
   9447 else
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 _ACEOF
   9452 if ac_fn_c_try_compile "$LINENO"; then :
   9453   xorg_cv_cc_flag_unknown_warning_option=yes
   9454 else
   9455   xorg_cv_cc_flag_unknown_warning_option=no
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9458 fi
   9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9462 	CFLAGS="$xorg_testset_save_CFLAGS"
   9463 fi
   9464 
   9465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9468 	fi
   9469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9473   $as_echo_n "(cached) " >&6
   9474 else
   9475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9476 /* end confdefs.h.  */
   9477 int i;
   9478 _ACEOF
   9479 if ac_fn_c_try_compile "$LINENO"; then :
   9480   xorg_cv_cc_flag_unused_command_line_argument=yes
   9481 else
   9482   xorg_cv_cc_flag_unused_command_line_argument=no
   9483 fi
   9484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9485 fi
   9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9489 	CFLAGS="$xorg_testset_save_CFLAGS"
   9490 fi
   9491 
   9492 found="no"
   9493 
   9494 	if test $found = "no" ; then
   9495 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9497 		fi
   9498 
   9499 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9501 		fi
   9502 
   9503 		CFLAGS="$CFLAGS -Waddress"
   9504 
   9505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9506 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9507 		cacheid=xorg_cv_cc_flag__Waddress
   9508 		if eval \${$cacheid+:} false; then :
   9509   $as_echo_n "(cached) " >&6
   9510 else
   9511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9512 /* end confdefs.h.  */
   9513 int i;
   9514 int
   9515 main ()
   9516 {
   9517 
   9518   ;
   9519   return 0;
   9520 }
   9521 _ACEOF
   9522 if ac_fn_c_try_link "$LINENO"; then :
   9523   eval $cacheid=yes
   9524 else
   9525   eval $cacheid=no
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext \
   9528     conftest$ac_exeext conftest.$ac_ext
   9529 fi
   9530 
   9531 
   9532 		CFLAGS="$xorg_testset_save_CFLAGS"
   9533 
   9534 		eval supported=\$$cacheid
   9535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9536 $as_echo "$supported" >&6; }
   9537 		if test "$supported" = "yes" ; then
   9538 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9539 			found="yes"
   9540 		fi
   9541 	fi
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 xorg_testset_save_CFLAGS="$CFLAGS"
   9558 
   9559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"; then :
   9571   xorg_cv_cc_flag_unknown_warning_option=yes
   9572 else
   9573   xorg_cv_cc_flag_unknown_warning_option=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9576 fi
   9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9580 	CFLAGS="$xorg_testset_save_CFLAGS"
   9581 fi
   9582 
   9583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9586 	fi
   9587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9591   $as_echo_n "(cached) " >&6
   9592 else
   9593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9594 /* end confdefs.h.  */
   9595 int i;
   9596 _ACEOF
   9597 if ac_fn_c_try_compile "$LINENO"; then :
   9598   xorg_cv_cc_flag_unused_command_line_argument=yes
   9599 else
   9600   xorg_cv_cc_flag_unused_command_line_argument=no
   9601 fi
   9602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9603 fi
   9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9607 	CFLAGS="$xorg_testset_save_CFLAGS"
   9608 fi
   9609 
   9610 found="no"
   9611 
   9612 	if test $found = "no" ; then
   9613 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9615 		fi
   9616 
   9617 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9619 		fi
   9620 
   9621 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9622 
   9623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9624 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9625 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9626 		if eval \${$cacheid+:} false; then :
   9627   $as_echo_n "(cached) " >&6
   9628 else
   9629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9630 /* end confdefs.h.  */
   9631 int i;
   9632 int
   9633 main ()
   9634 {
   9635 
   9636   ;
   9637   return 0;
   9638 }
   9639 _ACEOF
   9640 if ac_fn_c_try_link "$LINENO"; then :
   9641   eval $cacheid=yes
   9642 else
   9643   eval $cacheid=no
   9644 fi
   9645 rm -f core conftest.err conftest.$ac_objext \
   9646     conftest$ac_exeext conftest.$ac_ext
   9647 fi
   9648 
   9649 
   9650 		CFLAGS="$xorg_testset_save_CFLAGS"
   9651 
   9652 		eval supported=\$$cacheid
   9653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9654 $as_echo "$supported" >&6; }
   9655 		if test "$supported" = "yes" ; then
   9656 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9657 			found="yes"
   9658 		fi
   9659 	fi
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 xorg_testset_save_CFLAGS="$CFLAGS"
   9676 
   9677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9680 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9681 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9682   $as_echo_n "(cached) " >&6
   9683 else
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"; then :
   9689   xorg_cv_cc_flag_unknown_warning_option=yes
   9690 else
   9691   xorg_cv_cc_flag_unknown_warning_option=no
   9692 fi
   9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9694 fi
   9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9696 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9698 	CFLAGS="$xorg_testset_save_CFLAGS"
   9699 fi
   9700 
   9701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9704 	fi
   9705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9707 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9708 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9709   $as_echo_n "(cached) " >&6
   9710 else
   9711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9712 /* end confdefs.h.  */
   9713 int i;
   9714 _ACEOF
   9715 if ac_fn_c_try_compile "$LINENO"; then :
   9716   xorg_cv_cc_flag_unused_command_line_argument=yes
   9717 else
   9718   xorg_cv_cc_flag_unused_command_line_argument=no
   9719 fi
   9720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9721 fi
   9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9723 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9725 	CFLAGS="$xorg_testset_save_CFLAGS"
   9726 fi
   9727 
   9728 found="no"
   9729 
   9730 	if test $found = "no" ; then
   9731 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9733 		fi
   9734 
   9735 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9737 		fi
   9738 
   9739 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9740 
   9741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9742 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9743 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9744 		if eval \${$cacheid+:} false; then :
   9745   $as_echo_n "(cached) " >&6
   9746 else
   9747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9748 /* end confdefs.h.  */
   9749 int i;
   9750 int
   9751 main ()
   9752 {
   9753 
   9754   ;
   9755   return 0;
   9756 }
   9757 _ACEOF
   9758 if ac_fn_c_try_link "$LINENO"; then :
   9759   eval $cacheid=yes
   9760 else
   9761   eval $cacheid=no
   9762 fi
   9763 rm -f core conftest.err conftest.$ac_objext \
   9764     conftest$ac_exeext conftest.$ac_ext
   9765 fi
   9766 
   9767 
   9768 		CFLAGS="$xorg_testset_save_CFLAGS"
   9769 
   9770 		eval supported=\$$cacheid
   9771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9772 $as_echo "$supported" >&6; }
   9773 		if test "$supported" = "yes" ; then
   9774 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9775 			found="yes"
   9776 		fi
   9777 	fi
   9778 
   9779 
   9780 fi
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 		CWARNFLAGS="$BASE_CFLAGS"
   9789 		if  test "x$GCC" = xyes ; then
   9790 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9791 		fi
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 # Check whether --enable-strict-compilation was given.
   9801 if test "${enable_strict_compilation+set}" = set; then :
   9802   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9803 else
   9804   STRICT_COMPILE=no
   9805 fi
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 STRICT_CFLAGS=""
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 xorg_testset_save_CFLAGS="$CFLAGS"
   9827 
   9828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9831 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9832 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9836 /* end confdefs.h.  */
   9837 int i;
   9838 _ACEOF
   9839 if ac_fn_c_try_compile "$LINENO"; then :
   9840   xorg_cv_cc_flag_unknown_warning_option=yes
   9841 else
   9842   xorg_cv_cc_flag_unknown_warning_option=no
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9845 fi
   9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9847 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9849 	CFLAGS="$xorg_testset_save_CFLAGS"
   9850 fi
   9851 
   9852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9855 	fi
   9856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9858 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9859 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9860   $as_echo_n "(cached) " >&6
   9861 else
   9862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9863 /* end confdefs.h.  */
   9864 int i;
   9865 _ACEOF
   9866 if ac_fn_c_try_compile "$LINENO"; then :
   9867   xorg_cv_cc_flag_unused_command_line_argument=yes
   9868 else
   9869   xorg_cv_cc_flag_unused_command_line_argument=no
   9870 fi
   9871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9872 fi
   9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9874 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9876 	CFLAGS="$xorg_testset_save_CFLAGS"
   9877 fi
   9878 
   9879 found="no"
   9880 
   9881 	if test $found = "no" ; then
   9882 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9884 		fi
   9885 
   9886 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9888 		fi
   9889 
   9890 		CFLAGS="$CFLAGS -pedantic"
   9891 
   9892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9893 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9894 		cacheid=xorg_cv_cc_flag__pedantic
   9895 		if eval \${$cacheid+:} false; then :
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9899 /* end confdefs.h.  */
   9900 int i;
   9901 int
   9902 main ()
   9903 {
   9904 
   9905   ;
   9906   return 0;
   9907 }
   9908 _ACEOF
   9909 if ac_fn_c_try_link "$LINENO"; then :
   9910   eval $cacheid=yes
   9911 else
   9912   eval $cacheid=no
   9913 fi
   9914 rm -f core conftest.err conftest.$ac_objext \
   9915     conftest$ac_exeext conftest.$ac_ext
   9916 fi
   9917 
   9918 
   9919 		CFLAGS="$xorg_testset_save_CFLAGS"
   9920 
   9921 		eval supported=\$$cacheid
   9922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9923 $as_echo "$supported" >&6; }
   9924 		if test "$supported" = "yes" ; then
   9925 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9926 			found="yes"
   9927 		fi
   9928 	fi
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 xorg_testset_save_CFLAGS="$CFLAGS"
   9945 
   9946 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9947 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9949 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9950 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9951   $as_echo_n "(cached) " >&6
   9952 else
   9953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9954 /* end confdefs.h.  */
   9955 int i;
   9956 _ACEOF
   9957 if ac_fn_c_try_compile "$LINENO"; then :
   9958   xorg_cv_cc_flag_unknown_warning_option=yes
   9959 else
   9960   xorg_cv_cc_flag_unknown_warning_option=no
   9961 fi
   9962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9963 fi
   9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9965 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9967 	CFLAGS="$xorg_testset_save_CFLAGS"
   9968 fi
   9969 
   9970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9973 	fi
   9974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9976 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9977 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9978   $as_echo_n "(cached) " >&6
   9979 else
   9980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9981 /* end confdefs.h.  */
   9982 int i;
   9983 _ACEOF
   9984 if ac_fn_c_try_compile "$LINENO"; then :
   9985   xorg_cv_cc_flag_unused_command_line_argument=yes
   9986 else
   9987   xorg_cv_cc_flag_unused_command_line_argument=no
   9988 fi
   9989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9990 fi
   9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9992 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9994 	CFLAGS="$xorg_testset_save_CFLAGS"
   9995 fi
   9996 
   9997 found="no"
   9998 
   9999 	if test $found = "no" ; then
   10000 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 		fi
   10003 
   10004 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10006 		fi
   10007 
   10008 		CFLAGS="$CFLAGS -Werror"
   10009 
   10010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10011 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10012 		cacheid=xorg_cv_cc_flag__Werror
   10013 		if eval \${$cacheid+:} false; then :
   10014   $as_echo_n "(cached) " >&6
   10015 else
   10016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10017 /* end confdefs.h.  */
   10018 int i;
   10019 int
   10020 main ()
   10021 {
   10022 
   10023   ;
   10024   return 0;
   10025 }
   10026 _ACEOF
   10027 if ac_fn_c_try_link "$LINENO"; then :
   10028   eval $cacheid=yes
   10029 else
   10030   eval $cacheid=no
   10031 fi
   10032 rm -f core conftest.err conftest.$ac_objext \
   10033     conftest$ac_exeext conftest.$ac_ext
   10034 fi
   10035 
   10036 
   10037 		CFLAGS="$xorg_testset_save_CFLAGS"
   10038 
   10039 		eval supported=\$$cacheid
   10040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10041 $as_echo "$supported" >&6; }
   10042 		if test "$supported" = "yes" ; then
   10043 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10044 			found="yes"
   10045 		fi
   10046 	fi
   10047 
   10048 	if test $found = "no" ; then
   10049 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10051 		fi
   10052 
   10053 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10055 		fi
   10056 
   10057 		CFLAGS="$CFLAGS -errwarn"
   10058 
   10059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10060 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10061 		cacheid=xorg_cv_cc_flag__errwarn
   10062 		if eval \${$cacheid+:} false; then :
   10063   $as_echo_n "(cached) " >&6
   10064 else
   10065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10066 /* end confdefs.h.  */
   10067 int i;
   10068 int
   10069 main ()
   10070 {
   10071 
   10072   ;
   10073   return 0;
   10074 }
   10075 _ACEOF
   10076 if ac_fn_c_try_link "$LINENO"; then :
   10077   eval $cacheid=yes
   10078 else
   10079   eval $cacheid=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext \
   10082     conftest$ac_exeext conftest.$ac_ext
   10083 fi
   10084 
   10085 
   10086 		CFLAGS="$xorg_testset_save_CFLAGS"
   10087 
   10088 		eval supported=\$$cacheid
   10089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10090 $as_echo "$supported" >&6; }
   10091 		if test "$supported" = "yes" ; then
   10092 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10093 			found="yes"
   10094 		fi
   10095 	fi
   10096 
   10097 
   10098 
   10099 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10100 # activate it with -Werror, so we add it here explicitly.
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 xorg_testset_save_CFLAGS="$CFLAGS"
   10115 
   10116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10121   $as_echo_n "(cached) " >&6
   10122 else
   10123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10124 /* end confdefs.h.  */
   10125 int i;
   10126 _ACEOF
   10127 if ac_fn_c_try_compile "$LINENO"; then :
   10128   xorg_cv_cc_flag_unknown_warning_option=yes
   10129 else
   10130   xorg_cv_cc_flag_unknown_warning_option=no
   10131 fi
   10132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10133 fi
   10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10137 	CFLAGS="$xorg_testset_save_CFLAGS"
   10138 fi
   10139 
   10140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10143 	fi
   10144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10148   $as_echo_n "(cached) " >&6
   10149 else
   10150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10151 /* end confdefs.h.  */
   10152 int i;
   10153 _ACEOF
   10154 if ac_fn_c_try_compile "$LINENO"; then :
   10155   xorg_cv_cc_flag_unused_command_line_argument=yes
   10156 else
   10157   xorg_cv_cc_flag_unused_command_line_argument=no
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10160 fi
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10164 	CFLAGS="$xorg_testset_save_CFLAGS"
   10165 fi
   10166 
   10167 found="no"
   10168 
   10169 	if test $found = "no" ; then
   10170 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 		fi
   10173 
   10174 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10176 		fi
   10177 
   10178 		CFLAGS="$CFLAGS -Werror=attributes"
   10179 
   10180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10181 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10182 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10183 		if eval \${$cacheid+:} false; then :
   10184   $as_echo_n "(cached) " >&6
   10185 else
   10186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10187 /* end confdefs.h.  */
   10188 int i;
   10189 int
   10190 main ()
   10191 {
   10192 
   10193   ;
   10194   return 0;
   10195 }
   10196 _ACEOF
   10197 if ac_fn_c_try_link "$LINENO"; then :
   10198   eval $cacheid=yes
   10199 else
   10200   eval $cacheid=no
   10201 fi
   10202 rm -f core conftest.err conftest.$ac_objext \
   10203     conftest$ac_exeext conftest.$ac_ext
   10204 fi
   10205 
   10206 
   10207 		CFLAGS="$xorg_testset_save_CFLAGS"
   10208 
   10209 		eval supported=\$$cacheid
   10210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10211 $as_echo "$supported" >&6; }
   10212 		if test "$supported" = "yes" ; then
   10213 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10214 			found="yes"
   10215 		fi
   10216 	fi
   10217 
   10218 
   10219 
   10220 if test "x$STRICT_COMPILE" = "xyes"; then
   10221     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10222     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10223 fi
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 cat >>confdefs.h <<_ACEOF
   10231 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10232 _ACEOF
   10233 
   10234 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10235 	if test "x$PVM" = "x"; then
   10236 		PVM="0"
   10237 	fi
   10238 
   10239 cat >>confdefs.h <<_ACEOF
   10240 #define PACKAGE_VERSION_MINOR $PVM
   10241 _ACEOF
   10242 
   10243 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10244 	if test "x$PVP" = "x"; then
   10245 		PVP="0"
   10246 	fi
   10247 
   10248 cat >>confdefs.h <<_ACEOF
   10249 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10250 _ACEOF
   10251 
   10252 
   10253 
   10254 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10255 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10256 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10257 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10258 
   10259 
   10260 
   10261 
   10262 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10263 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10264 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10265 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10266 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 if test x$APP_MAN_SUFFIX = x    ; then
   10274     APP_MAN_SUFFIX=1
   10275 fi
   10276 if test x$APP_MAN_DIR = x    ; then
   10277     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10278 fi
   10279 
   10280 if test x$LIB_MAN_SUFFIX = x    ; then
   10281     LIB_MAN_SUFFIX=3
   10282 fi
   10283 if test x$LIB_MAN_DIR = x    ; then
   10284     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10285 fi
   10286 
   10287 if test x$FILE_MAN_SUFFIX = x    ; then
   10288     case $host_os in
   10289 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10290 	*)		FILE_MAN_SUFFIX=5  ;;
   10291     esac
   10292 fi
   10293 if test x$FILE_MAN_DIR = x    ; then
   10294     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10295 fi
   10296 
   10297 if test x$MISC_MAN_SUFFIX = x    ; then
   10298     case $host_os in
   10299 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10300 	*)		MISC_MAN_SUFFIX=7  ;;
   10301     esac
   10302 fi
   10303 if test x$MISC_MAN_DIR = x    ; then
   10304     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10305 fi
   10306 
   10307 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10308     case $host_os in
   10309 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10310 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10311     esac
   10312 fi
   10313 if test x$DRIVER_MAN_DIR = x    ; then
   10314     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10315 fi
   10316 
   10317 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10318     case $host_os in
   10319 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10320 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10321     esac
   10322 fi
   10323 if test x$ADMIN_MAN_DIR = x    ; then
   10324     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10325 fi
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 XORG_MAN_PAGE="X Version 11"
   10342 
   10343 MAN_SUBSTS="\
   10344 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10345 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10346 	-e 's|__xservername__|Xorg|g' \
   10347 	-e 's|__xconfigfile__|xorg.conf|g' \
   10348 	-e 's|__projectroot__|\$(prefix)|g' \
   10349 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10350 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10351 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10352 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10353 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10354 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10355 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10356 
   10357 
   10358 
   10359 # Check whether --enable-silent-rules was given.
   10360 if test "${enable_silent_rules+set}" = set; then :
   10361   enableval=$enable_silent_rules;
   10362 fi
   10363 
   10364 case $enable_silent_rules in
   10365 yes) AM_DEFAULT_VERBOSITY=0;;
   10366 no)  AM_DEFAULT_VERBOSITY=1;;
   10367 *)   AM_DEFAULT_VERBOSITY=0;;
   10368 esac
   10369 AM_BACKSLASH='\'
   10370 
   10371 
   10372 
   10373 
   10374 # Checks for pkg-config packages
   10375 
   10376 pkg_failed=no
   10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BDFTOPCF" >&5
   10378 $as_echo_n "checking for BDFTOPCF... " >&6; }
   10379 
   10380 if test -n "$BDFTOPCF_CFLAGS"; then
   10381     pkg_cv_BDFTOPCF_CFLAGS="$BDFTOPCF_CFLAGS"
   10382  elif test -n "$PKG_CONFIG"; then
   10383     if test -n "$PKG_CONFIG" && \
   10384     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfont\""; } >&5
   10385   ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
   10386   ac_status=$?
   10387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10388   test $ac_status = 0; }; then
   10389   pkg_cv_BDFTOPCF_CFLAGS=`$PKG_CONFIG --cflags "xfont" 2>/dev/null`
   10390 else
   10391   pkg_failed=yes
   10392 fi
   10393  else
   10394     pkg_failed=untried
   10395 fi
   10396 if test -n "$BDFTOPCF_LIBS"; then
   10397     pkg_cv_BDFTOPCF_LIBS="$BDFTOPCF_LIBS"
   10398  elif test -n "$PKG_CONFIG"; then
   10399     if test -n "$PKG_CONFIG" && \
   10400     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfont\""; } >&5
   10401   ($PKG_CONFIG --exists --print-errors "xfont") 2>&5
   10402   ac_status=$?
   10403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10404   test $ac_status = 0; }; then
   10405   pkg_cv_BDFTOPCF_LIBS=`$PKG_CONFIG --libs "xfont" 2>/dev/null`
   10406 else
   10407   pkg_failed=yes
   10408 fi
   10409  else
   10410     pkg_failed=untried
   10411 fi
   10412 
   10413 
   10414 
   10415 if test $pkg_failed = yes; then
   10416 
   10417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10418         _pkg_short_errors_supported=yes
   10419 else
   10420         _pkg_short_errors_supported=no
   10421 fi
   10422         if test $_pkg_short_errors_supported = yes; then
   10423 	        BDFTOPCF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xfont" 2>&1`
   10424         else
   10425 	        BDFTOPCF_PKG_ERRORS=`$PKG_CONFIG --print-errors "xfont" 2>&1`
   10426         fi
   10427 	# Put the nasty error message in config.log where it belongs
   10428 	echo "$BDFTOPCF_PKG_ERRORS" >&5
   10429 
   10430 	as_fn_error $? "Package requirements (xfont) were not met:
   10431 
   10432 $BDFTOPCF_PKG_ERRORS
   10433 
   10434 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10435 installed software in a non-standard prefix.
   10436 
   10437 Alternatively, you may set the environment variables BDFTOPCF_CFLAGS
   10438 and BDFTOPCF_LIBS to avoid the need to call pkg-config.
   10439 See the pkg-config man page for more details.
   10440 " "$LINENO" 5
   10441 elif test $pkg_failed = untried; then
   10442 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10444 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10445 is in your PATH or set the PKG_CONFIG environment variable to the full
   10446 path to pkg-config.
   10447 
   10448 Alternatively, you may set the environment variables BDFTOPCF_CFLAGS
   10449 and BDFTOPCF_LIBS to avoid the need to call pkg-config.
   10450 See the pkg-config man page for more details.
   10451 
   10452 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10453 See \`config.log' for more details" "$LINENO" 5; }
   10454 else
   10455 	BDFTOPCF_CFLAGS=$pkg_cv_BDFTOPCF_CFLAGS
   10456 	BDFTOPCF_LIBS=$pkg_cv_BDFTOPCF_LIBS
   10457         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10458 $as_echo "yes" >&6; }
   10459 	:
   10460 fi
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 # Check whether --with-lint was given.
   10468 if test "${with_lint+set}" = set; then :
   10469   withval=$with_lint; use_lint=$withval
   10470 else
   10471   use_lint=no
   10472 fi
   10473 
   10474 
   10475 # Obtain platform specific info like program name and options
   10476 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10477 case $host_os in
   10478   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10479 	lint_name=splint
   10480 	lint_options="-badflag"
   10481 	;;
   10482   *freebsd* | *netbsd*)
   10483 	lint_name=lint
   10484 	lint_options="-u -b"
   10485 	;;
   10486   *solaris*)
   10487 	lint_name=lint
   10488 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10489 	;;
   10490 esac
   10491 
   10492 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10493 if test "x$use_lint" = x"yes" ; then
   10494    # Extract the first word of "$lint_name", so it can be a program name with args.
   10495 set dummy $lint_name; ac_word=$2
   10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10497 $as_echo_n "checking for $ac_word... " >&6; }
   10498 if ${ac_cv_path_LINT+:} false; then :
   10499   $as_echo_n "(cached) " >&6
   10500 else
   10501   case $LINT in
   10502   [\\/]* | ?:[\\/]*)
   10503   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10504   ;;
   10505   *)
   10506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10507 for as_dir in $PATH
   10508 do
   10509   IFS=$as_save_IFS
   10510   test -z "$as_dir" && as_dir=.
   10511     for ac_exec_ext in '' $ac_executable_extensions; do
   10512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10513     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10515     break 2
   10516   fi
   10517 done
   10518   done
   10519 IFS=$as_save_IFS
   10520 
   10521   ;;
   10522 esac
   10523 fi
   10524 LINT=$ac_cv_path_LINT
   10525 if test -n "$LINT"; then
   10526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10527 $as_echo "$LINT" >&6; }
   10528 else
   10529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10530 $as_echo "no" >&6; }
   10531 fi
   10532 
   10533 
   10534    if test "x$LINT" = "x"; then
   10535         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10536    fi
   10537 elif test "x$use_lint" = x"no" ; then
   10538    if test "x$LINT" != "x"; then
   10539       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10540 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10541    fi
   10542 else
   10543    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10544 fi
   10545 
   10546 # User supplied flags override default flags
   10547 if test "x$LINT_FLAGS" != "x"; then
   10548    lint_options=$LINT_FLAGS
   10549 fi
   10550 
   10551 LINT_FLAGS=$lint_options
   10552 
   10553  if test "x$LINT" != x; then
   10554   LINT_TRUE=
   10555   LINT_FALSE='#'
   10556 else
   10557   LINT_TRUE='#'
   10558   LINT_FALSE=
   10559 fi
   10560 
   10561 
   10562 
   10563 
   10564 ac_config_files="$ac_config_files Makefile man/Makefile"
   10565 
   10566 cat >confcache <<\_ACEOF
   10567 # This file is a shell script that caches the results of configure
   10568 # tests run on this system so they can be shared between configure
   10569 # scripts and configure runs, see configure's option --config-cache.
   10570 # It is not useful on other systems.  If it contains results you don't
   10571 # want to keep, you may remove or edit it.
   10572 #
   10573 # config.status only pays attention to the cache file if you give it
   10574 # the --recheck option to rerun configure.
   10575 #
   10576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10578 # following values.
   10579 
   10580 _ACEOF
   10581 
   10582 # The following way of writing the cache mishandles newlines in values,
   10583 # but we know of no workaround that is simple, portable, and efficient.
   10584 # So, we kill variables containing newlines.
   10585 # Ultrix sh set writes to stderr and can't be redirected directly,
   10586 # and sets the high bit in the cache file unless we assign to the vars.
   10587 (
   10588   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10589     eval ac_val=\$$ac_var
   10590     case $ac_val in #(
   10591     *${as_nl}*)
   10592       case $ac_var in #(
   10593       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10595       esac
   10596       case $ac_var in #(
   10597       _ | IFS | as_nl) ;; #(
   10598       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10599       *) { eval $ac_var=; unset $ac_var;} ;;
   10600       esac ;;
   10601     esac
   10602   done
   10603 
   10604   (set) 2>&1 |
   10605     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10606     *${as_nl}ac_space=\ *)
   10607       # `set' does not quote correctly, so add quotes: double-quote
   10608       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10609       sed -n \
   10610 	"s/'/'\\\\''/g;
   10611 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10612       ;; #(
   10613     *)
   10614       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10615       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10616       ;;
   10617     esac |
   10618     sort
   10619 ) |
   10620   sed '
   10621      /^ac_cv_env_/b end
   10622      t clear
   10623      :clear
   10624      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10625      t end
   10626      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10627      :end' >>confcache
   10628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10629   if test -w "$cache_file"; then
   10630     if test "x$cache_file" != "x/dev/null"; then
   10631       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10632 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10633       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10634 	cat confcache >"$cache_file"
   10635       else
   10636         case $cache_file in #(
   10637         */* | ?:*)
   10638 	  mv -f confcache "$cache_file"$$ &&
   10639 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10640         *)
   10641 	  mv -f confcache "$cache_file" ;;
   10642 	esac
   10643       fi
   10644     fi
   10645   else
   10646     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10647 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10648   fi
   10649 fi
   10650 rm -f confcache
   10651 
   10652 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10653 # Let make expand exec_prefix.
   10654 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10655 
   10656 DEFS=-DHAVE_CONFIG_H
   10657 
   10658 ac_libobjs=
   10659 ac_ltlibobjs=
   10660 U=
   10661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10662   # 1. Remove the extension, and $U if already installed.
   10663   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10664   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10665   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10666   #    will be set to the directory where LIBOBJS objects are built.
   10667   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10668   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10669 done
   10670 LIBOBJS=$ac_libobjs
   10671 
   10672 LTLIBOBJS=$ac_ltlibobjs
   10673 
   10674 
   10675  if test -n "$EXEEXT"; then
   10676   am__EXEEXT_TRUE=
   10677   am__EXEEXT_FALSE='#'
   10678 else
   10679   am__EXEEXT_TRUE='#'
   10680   am__EXEEXT_FALSE=
   10681 fi
   10682 
   10683 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10684   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10686 fi
   10687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10688   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10690 fi
   10691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10692   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10694 fi
   10695 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   10696   as_fn_error $? "conditional \"LINT\" was never defined.
   10697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10698 fi
   10699 
   10700 : "${CONFIG_STATUS=./config.status}"
   10701 ac_write_fail=0
   10702 ac_clean_files_save=$ac_clean_files
   10703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10704 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10705 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10706 as_write_fail=0
   10707 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10708 #! $SHELL
   10709 # Generated by $as_me.
   10710 # Run this file to recreate the current configuration.
   10711 # Compiler output produced by configure, useful for debugging
   10712 # configure, is in config.log if it exists.
   10713 
   10714 debug=false
   10715 ac_cs_recheck=false
   10716 ac_cs_silent=false
   10717 
   10718 SHELL=\${CONFIG_SHELL-$SHELL}
   10719 export SHELL
   10720 _ASEOF
   10721 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10722 ## -------------------- ##
   10723 ## M4sh Initialization. ##
   10724 ## -------------------- ##
   10725 
   10726 # Be more Bourne compatible
   10727 DUALCASE=1; export DUALCASE # for MKS sh
   10728 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10729   emulate sh
   10730   NULLCMD=:
   10731   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10732   # is contrary to our usage.  Disable this feature.
   10733   alias -g '${1+"$@"}'='"$@"'
   10734   setopt NO_GLOB_SUBST
   10735 else
   10736   case `(set -o) 2>/dev/null` in #(
   10737   *posix*) :
   10738     set -o posix ;; #(
   10739   *) :
   10740      ;;
   10741 esac
   10742 fi
   10743 
   10744 
   10745 as_nl='
   10746 '
   10747 export as_nl
   10748 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10749 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10750 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10752 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10753 # but without wasting forks for bash or zsh.
   10754 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10755     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10756   as_echo='print -r --'
   10757   as_echo_n='print -rn --'
   10758 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10759   as_echo='printf %s\n'
   10760   as_echo_n='printf %s'
   10761 else
   10762   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10763     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10764     as_echo_n='/usr/ucb/echo -n'
   10765   else
   10766     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10767     as_echo_n_body='eval
   10768       arg=$1;
   10769       case $arg in #(
   10770       *"$as_nl"*)
   10771 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10772 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10773       esac;
   10774       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10775     '
   10776     export as_echo_n_body
   10777     as_echo_n='sh -c $as_echo_n_body as_echo'
   10778   fi
   10779   export as_echo_body
   10780   as_echo='sh -c $as_echo_body as_echo'
   10781 fi
   10782 
   10783 # The user is always right.
   10784 if test "${PATH_SEPARATOR+set}" != set; then
   10785   PATH_SEPARATOR=:
   10786   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10787     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10788       PATH_SEPARATOR=';'
   10789   }
   10790 fi
   10791 
   10792 
   10793 # IFS
   10794 # We need space, tab and new line, in precisely that order.  Quoting is
   10795 # there to prevent editors from complaining about space-tab.
   10796 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10797 # splitting by setting IFS to empty value.)
   10798 IFS=" ""	$as_nl"
   10799 
   10800 # Find who we are.  Look in the path if we contain no directory separator.
   10801 as_myself=
   10802 case $0 in #((
   10803   *[\\/]* ) as_myself=$0 ;;
   10804   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10805 for as_dir in $PATH
   10806 do
   10807   IFS=$as_save_IFS
   10808   test -z "$as_dir" && as_dir=.
   10809     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10810   done
   10811 IFS=$as_save_IFS
   10812 
   10813      ;;
   10814 esac
   10815 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10816 # in which case we are not to be found in the path.
   10817 if test "x$as_myself" = x; then
   10818   as_myself=$0
   10819 fi
   10820 if test ! -f "$as_myself"; then
   10821   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10822   exit 1
   10823 fi
   10824 
   10825 # Unset variables that we do not need and which cause bugs (e.g. in
   10826 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10827 # suppresses any "Segmentation fault" message there.  '((' could
   10828 # trigger a bug in pdksh 5.2.14.
   10829 for as_var in BASH_ENV ENV MAIL MAILPATH
   10830 do eval test x\${$as_var+set} = xset \
   10831   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10832 done
   10833 PS1='$ '
   10834 PS2='> '
   10835 PS4='+ '
   10836 
   10837 # NLS nuisances.
   10838 LC_ALL=C
   10839 export LC_ALL
   10840 LANGUAGE=C
   10841 export LANGUAGE
   10842 
   10843 # CDPATH.
   10844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10845 
   10846 
   10847 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10848 # ----------------------------------------
   10849 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10850 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10851 # script with STATUS, using 1 if that was 0.
   10852 as_fn_error ()
   10853 {
   10854   as_status=$1; test $as_status -eq 0 && as_status=1
   10855   if test "$4"; then
   10856     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10857     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10858   fi
   10859   $as_echo "$as_me: error: $2" >&2
   10860   as_fn_exit $as_status
   10861 } # as_fn_error
   10862 
   10863 
   10864 # as_fn_set_status STATUS
   10865 # -----------------------
   10866 # Set $? to STATUS, without forking.
   10867 as_fn_set_status ()
   10868 {
   10869   return $1
   10870 } # as_fn_set_status
   10871 
   10872 # as_fn_exit STATUS
   10873 # -----------------
   10874 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10875 as_fn_exit ()
   10876 {
   10877   set +e
   10878   as_fn_set_status $1
   10879   exit $1
   10880 } # as_fn_exit
   10881 
   10882 # as_fn_unset VAR
   10883 # ---------------
   10884 # Portably unset VAR.
   10885 as_fn_unset ()
   10886 {
   10887   { eval $1=; unset $1;}
   10888 }
   10889 as_unset=as_fn_unset
   10890 # as_fn_append VAR VALUE
   10891 # ----------------------
   10892 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10893 # advantage of any shell optimizations that allow amortized linear growth over
   10894 # repeated appends, instead of the typical quadratic growth present in naive
   10895 # implementations.
   10896 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10897   eval 'as_fn_append ()
   10898   {
   10899     eval $1+=\$2
   10900   }'
   10901 else
   10902   as_fn_append ()
   10903   {
   10904     eval $1=\$$1\$2
   10905   }
   10906 fi # as_fn_append
   10907 
   10908 # as_fn_arith ARG...
   10909 # ------------------
   10910 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10911 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10912 # must be portable across $(()) and expr.
   10913 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10914   eval 'as_fn_arith ()
   10915   {
   10916     as_val=$(( $* ))
   10917   }'
   10918 else
   10919   as_fn_arith ()
   10920   {
   10921     as_val=`expr "$@" || test $? -eq 1`
   10922   }
   10923 fi # as_fn_arith
   10924 
   10925 
   10926 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10927    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10928   as_expr=expr
   10929 else
   10930   as_expr=false
   10931 fi
   10932 
   10933 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10934   as_basename=basename
   10935 else
   10936   as_basename=false
   10937 fi
   10938 
   10939 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10940   as_dirname=dirname
   10941 else
   10942   as_dirname=false
   10943 fi
   10944 
   10945 as_me=`$as_basename -- "$0" ||
   10946 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10947 	 X"$0" : 'X\(//\)$' \| \
   10948 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10949 $as_echo X/"$0" |
   10950     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10951 	    s//\1/
   10952 	    q
   10953 	  }
   10954 	  /^X\/\(\/\/\)$/{
   10955 	    s//\1/
   10956 	    q
   10957 	  }
   10958 	  /^X\/\(\/\).*/{
   10959 	    s//\1/
   10960 	    q
   10961 	  }
   10962 	  s/.*/./; q'`
   10963 
   10964 # Avoid depending upon Character Ranges.
   10965 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10966 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10967 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10968 as_cr_digits='0123456789'
   10969 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10970 
   10971 ECHO_C= ECHO_N= ECHO_T=
   10972 case `echo -n x` in #(((((
   10973 -n*)
   10974   case `echo 'xy\c'` in
   10975   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10976   xy)  ECHO_C='\c';;
   10977   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   10978        ECHO_T='	';;
   10979   esac;;
   10980 *)
   10981   ECHO_N='-n';;
   10982 esac
   10983 
   10984 rm -f conf$$ conf$$.exe conf$$.file
   10985 if test -d conf$$.dir; then
   10986   rm -f conf$$.dir/conf$$.file
   10987 else
   10988   rm -f conf$$.dir
   10989   mkdir conf$$.dir 2>/dev/null
   10990 fi
   10991 if (echo >conf$$.file) 2>/dev/null; then
   10992   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10993     as_ln_s='ln -s'
   10994     # ... but there are two gotchas:
   10995     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10996     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10997     # In both cases, we have to default to `cp -p'.
   10998     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10999       as_ln_s='cp -p'
   11000   elif ln conf$$.file conf$$ 2>/dev/null; then
   11001     as_ln_s=ln
   11002   else
   11003     as_ln_s='cp -p'
   11004   fi
   11005 else
   11006   as_ln_s='cp -p'
   11007 fi
   11008 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11009 rmdir conf$$.dir 2>/dev/null
   11010 
   11011 
   11012 # as_fn_mkdir_p
   11013 # -------------
   11014 # Create "$as_dir" as a directory, including parents if necessary.
   11015 as_fn_mkdir_p ()
   11016 {
   11017 
   11018   case $as_dir in #(
   11019   -*) as_dir=./$as_dir;;
   11020   esac
   11021   test -d "$as_dir" || eval $as_mkdir_p || {
   11022     as_dirs=
   11023     while :; do
   11024       case $as_dir in #(
   11025       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11026       *) as_qdir=$as_dir;;
   11027       esac
   11028       as_dirs="'$as_qdir' $as_dirs"
   11029       as_dir=`$as_dirname -- "$as_dir" ||
   11030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11031 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11032 	 X"$as_dir" : 'X\(//\)$' \| \
   11033 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11034 $as_echo X"$as_dir" |
   11035     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11036 	    s//\1/
   11037 	    q
   11038 	  }
   11039 	  /^X\(\/\/\)[^/].*/{
   11040 	    s//\1/
   11041 	    q
   11042 	  }
   11043 	  /^X\(\/\/\)$/{
   11044 	    s//\1/
   11045 	    q
   11046 	  }
   11047 	  /^X\(\/\).*/{
   11048 	    s//\1/
   11049 	    q
   11050 	  }
   11051 	  s/.*/./; q'`
   11052       test -d "$as_dir" && break
   11053     done
   11054     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11055   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11056 
   11057 
   11058 } # as_fn_mkdir_p
   11059 if mkdir -p . 2>/dev/null; then
   11060   as_mkdir_p='mkdir -p "$as_dir"'
   11061 else
   11062   test -d ./-p && rmdir ./-p
   11063   as_mkdir_p=false
   11064 fi
   11065 
   11066 if test -x / >/dev/null 2>&1; then
   11067   as_test_x='test -x'
   11068 else
   11069   if ls -dL / >/dev/null 2>&1; then
   11070     as_ls_L_option=L
   11071   else
   11072     as_ls_L_option=
   11073   fi
   11074   as_test_x='
   11075     eval sh -c '\''
   11076       if test -d "$1"; then
   11077 	test -d "$1/.";
   11078       else
   11079 	case $1 in #(
   11080 	-*)set "./$1";;
   11081 	esac;
   11082 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11083 	???[sx]*):;;*)false;;esac;fi
   11084     '\'' sh
   11085   '
   11086 fi
   11087 as_executable_p=$as_test_x
   11088 
   11089 # Sed expression to map a string onto a valid CPP name.
   11090 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11091 
   11092 # Sed expression to map a string onto a valid variable name.
   11093 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11094 
   11095 
   11096 exec 6>&1
   11097 ## ----------------------------------- ##
   11098 ## Main body of $CONFIG_STATUS script. ##
   11099 ## ----------------------------------- ##
   11100 _ASEOF
   11101 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11102 
   11103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11104 # Save the log message, to keep $0 and so on meaningful, and to
   11105 # report actual input values of CONFIG_FILES etc. instead of their
   11106 # values after options handling.
   11107 ac_log="
   11108 This file was extended by bdftopcf $as_me 1.0.4, which was
   11109 generated by GNU Autoconf 2.68.  Invocation command line was
   11110 
   11111   CONFIG_FILES    = $CONFIG_FILES
   11112   CONFIG_HEADERS  = $CONFIG_HEADERS
   11113   CONFIG_LINKS    = $CONFIG_LINKS
   11114   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11115   $ $0 $@
   11116 
   11117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11118 "
   11119 
   11120 _ACEOF
   11121 
   11122 case $ac_config_files in *"
   11123 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11124 esac
   11125 
   11126 case $ac_config_headers in *"
   11127 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11128 esac
   11129 
   11130 
   11131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11132 # Files that config.status was made for.
   11133 config_files="$ac_config_files"
   11134 config_headers="$ac_config_headers"
   11135 config_commands="$ac_config_commands"
   11136 
   11137 _ACEOF
   11138 
   11139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11140 ac_cs_usage="\
   11141 \`$as_me' instantiates files and other configuration actions
   11142 from templates according to the current configuration.  Unless the files
   11143 and actions are specified as TAGs, all are instantiated by default.
   11144 
   11145 Usage: $0 [OPTION]... [TAG]...
   11146 
   11147   -h, --help       print this help, then exit
   11148   -V, --version    print version number and configuration settings, then exit
   11149       --config     print configuration, then exit
   11150   -q, --quiet, --silent
   11151                    do not print progress messages
   11152   -d, --debug      don't remove temporary files
   11153       --recheck    update $as_me by reconfiguring in the same conditions
   11154       --file=FILE[:TEMPLATE]
   11155                    instantiate the configuration file FILE
   11156       --header=FILE[:TEMPLATE]
   11157                    instantiate the configuration header FILE
   11158 
   11159 Configuration files:
   11160 $config_files
   11161 
   11162 Configuration headers:
   11163 $config_headers
   11164 
   11165 Configuration commands:
   11166 $config_commands
   11167 
   11168 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11169 
   11170 _ACEOF
   11171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11172 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11173 ac_cs_version="\\
   11174 bdftopcf config.status 1.0.4
   11175 configured by $0, generated by GNU Autoconf 2.68,
   11176   with options \\"\$ac_cs_config\\"
   11177 
   11178 Copyright (C) 2010 Free Software Foundation, Inc.
   11179 This config.status script is free software; the Free Software Foundation
   11180 gives unlimited permission to copy, distribute and modify it."
   11181 
   11182 ac_pwd='$ac_pwd'
   11183 srcdir='$srcdir'
   11184 INSTALL='$INSTALL'
   11185 MKDIR_P='$MKDIR_P'
   11186 AWK='$AWK'
   11187 test -n "\$AWK" || AWK=awk
   11188 _ACEOF
   11189 
   11190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11191 # The default lists apply if the user does not specify any file.
   11192 ac_need_defaults=:
   11193 while test $# != 0
   11194 do
   11195   case $1 in
   11196   --*=?*)
   11197     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11198     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11199     ac_shift=:
   11200     ;;
   11201   --*=)
   11202     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11203     ac_optarg=
   11204     ac_shift=:
   11205     ;;
   11206   *)
   11207     ac_option=$1
   11208     ac_optarg=$2
   11209     ac_shift=shift
   11210     ;;
   11211   esac
   11212 
   11213   case $ac_option in
   11214   # Handling of the options.
   11215   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11216     ac_cs_recheck=: ;;
   11217   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11218     $as_echo "$ac_cs_version"; exit ;;
   11219   --config | --confi | --conf | --con | --co | --c )
   11220     $as_echo "$ac_cs_config"; exit ;;
   11221   --debug | --debu | --deb | --de | --d | -d )
   11222     debug=: ;;
   11223   --file | --fil | --fi | --f )
   11224     $ac_shift
   11225     case $ac_optarg in
   11226     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11227     '') as_fn_error $? "missing file argument" ;;
   11228     esac
   11229     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11230     ac_need_defaults=false;;
   11231   --header | --heade | --head | --hea )
   11232     $ac_shift
   11233     case $ac_optarg in
   11234     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11235     esac
   11236     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11237     ac_need_defaults=false;;
   11238   --he | --h)
   11239     # Conflict between --help and --header
   11240     as_fn_error $? "ambiguous option: \`$1'
   11241 Try \`$0 --help' for more information.";;
   11242   --help | --hel | -h )
   11243     $as_echo "$ac_cs_usage"; exit ;;
   11244   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11245   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11246     ac_cs_silent=: ;;
   11247 
   11248   # This is an error.
   11249   -*) as_fn_error $? "unrecognized option: \`$1'
   11250 Try \`$0 --help' for more information." ;;
   11251 
   11252   *) as_fn_append ac_config_targets " $1"
   11253      ac_need_defaults=false ;;
   11254 
   11255   esac
   11256   shift
   11257 done
   11258 
   11259 ac_configure_extra_args=
   11260 
   11261 if $ac_cs_silent; then
   11262   exec 6>/dev/null
   11263   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11264 fi
   11265 
   11266 _ACEOF
   11267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11268 if \$ac_cs_recheck; then
   11269   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11270   shift
   11271   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11272   CONFIG_SHELL='$SHELL'
   11273   export CONFIG_SHELL
   11274   exec "\$@"
   11275 fi
   11276 
   11277 _ACEOF
   11278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11279 exec 5>>config.log
   11280 {
   11281   echo
   11282   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11283 ## Running $as_me. ##
   11284 _ASBOX
   11285   $as_echo "$ac_log"
   11286 } >&5
   11287 
   11288 _ACEOF
   11289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11290 #
   11291 # INIT-COMMANDS
   11292 #
   11293 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11294 
   11295 _ACEOF
   11296 
   11297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11298 
   11299 # Handling of arguments.
   11300 for ac_config_target in $ac_config_targets
   11301 do
   11302   case $ac_config_target in
   11303     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11304     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11305     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11306     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11307 
   11308   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11309   esac
   11310 done
   11311 
   11312 
   11313 # If the user did not use the arguments to specify the items to instantiate,
   11314 # then the envvar interface is used.  Set only those that are not.
   11315 # We use the long form for the default assignment because of an extremely
   11316 # bizarre bug on SunOS 4.1.3.
   11317 if $ac_need_defaults; then
   11318   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11319   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11320   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11321 fi
   11322 
   11323 # Have a temporary directory for convenience.  Make it in the build tree
   11324 # simply because there is no reason against having it here, and in addition,
   11325 # creating and moving files from /tmp can sometimes cause problems.
   11326 # Hook for its removal unless debugging.
   11327 # Note that there is a small window in which the directory will not be cleaned:
   11328 # after its creation but before its name has been assigned to `$tmp'.
   11329 $debug ||
   11330 {
   11331   tmp= ac_tmp=
   11332   trap 'exit_status=$?
   11333   : "${ac_tmp:=$tmp}"
   11334   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11335 ' 0
   11336   trap 'as_fn_exit 1' 1 2 13 15
   11337 }
   11338 # Create a (secure) tmp directory for tmp files.
   11339 
   11340 {
   11341   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11342   test -d "$tmp"
   11343 }  ||
   11344 {
   11345   tmp=./conf$$-$RANDOM
   11346   (umask 077 && mkdir "$tmp")
   11347 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11348 ac_tmp=$tmp
   11349 
   11350 # Set up the scripts for CONFIG_FILES section.
   11351 # No need to generate them if there are no CONFIG_FILES.
   11352 # This happens for instance with `./config.status config.h'.
   11353 if test -n "$CONFIG_FILES"; then
   11354 
   11355 
   11356 ac_cr=`echo X | tr X '\015'`
   11357 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11358 # But we know of no other shell where ac_cr would be empty at this
   11359 # point, so we can use a bashism as a fallback.
   11360 if test "x$ac_cr" = x; then
   11361   eval ac_cr=\$\'\\r\'
   11362 fi
   11363 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11364 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11365   ac_cs_awk_cr='\\r'
   11366 else
   11367   ac_cs_awk_cr=$ac_cr
   11368 fi
   11369 
   11370 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11371 _ACEOF
   11372 
   11373 
   11374 {
   11375   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11376   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11377   echo "_ACEOF"
   11378 } >conf$$subs.sh ||
   11379   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11380 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11381 ac_delim='%!_!# '
   11382 for ac_last_try in false false false false false :; do
   11383   . ./conf$$subs.sh ||
   11384     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11385 
   11386   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11387   if test $ac_delim_n = $ac_delim_num; then
   11388     break
   11389   elif $ac_last_try; then
   11390     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11391   else
   11392     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11393   fi
   11394 done
   11395 rm -f conf$$subs.sh
   11396 
   11397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11398 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11399 _ACEOF
   11400 sed -n '
   11401 h
   11402 s/^/S["/; s/!.*/"]=/
   11403 p
   11404 g
   11405 s/^[^!]*!//
   11406 :repl
   11407 t repl
   11408 s/'"$ac_delim"'$//
   11409 t delim
   11410 :nl
   11411 h
   11412 s/\(.\{148\}\)..*/\1/
   11413 t more1
   11414 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11415 p
   11416 n
   11417 b repl
   11418 :more1
   11419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11420 p
   11421 g
   11422 s/.\{148\}//
   11423 t nl
   11424 :delim
   11425 h
   11426 s/\(.\{148\}\)..*/\1/
   11427 t more2
   11428 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11429 p
   11430 b
   11431 :more2
   11432 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11433 p
   11434 g
   11435 s/.\{148\}//
   11436 t delim
   11437 ' <conf$$subs.awk | sed '
   11438 /^[^""]/{
   11439   N
   11440   s/\n//
   11441 }
   11442 ' >>$CONFIG_STATUS || ac_write_fail=1
   11443 rm -f conf$$subs.awk
   11444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11445 _ACAWK
   11446 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11447   for (key in S) S_is_set[key] = 1
   11448   FS = ""
   11449 
   11450 }
   11451 {
   11452   line = $ 0
   11453   nfields = split(line, field, "@")
   11454   substed = 0
   11455   len = length(field[1])
   11456   for (i = 2; i < nfields; i++) {
   11457     key = field[i]
   11458     keylen = length(key)
   11459     if (S_is_set[key]) {
   11460       value = S[key]
   11461       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11462       len += length(value) + length(field[++i])
   11463       substed = 1
   11464     } else
   11465       len += 1 + keylen
   11466   }
   11467 
   11468   print line
   11469 }
   11470 
   11471 _ACAWK
   11472 _ACEOF
   11473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11474 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11475   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11476 else
   11477   cat
   11478 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11479   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11480 _ACEOF
   11481 
   11482 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11483 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11484 # trailing colons and then remove the whole line if VPATH becomes empty
   11485 # (actually we leave an empty line to preserve line numbers).
   11486 if test "x$srcdir" = x.; then
   11487   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11488 h
   11489 s///
   11490 s/^/:/
   11491 s/[	 ]*$/:/
   11492 s/:\$(srcdir):/:/g
   11493 s/:\${srcdir}:/:/g
   11494 s/:@srcdir@:/:/g
   11495 s/^:*//
   11496 s/:*$//
   11497 x
   11498 s/\(=[	 ]*\).*/\1/
   11499 G
   11500 s/\n//
   11501 s/^[^=]*=[	 ]*$//
   11502 }'
   11503 fi
   11504 
   11505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11506 fi # test -n "$CONFIG_FILES"
   11507 
   11508 # Set up the scripts for CONFIG_HEADERS section.
   11509 # No need to generate them if there are no CONFIG_HEADERS.
   11510 # This happens for instance with `./config.status Makefile'.
   11511 if test -n "$CONFIG_HEADERS"; then
   11512 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11513 BEGIN {
   11514 _ACEOF
   11515 
   11516 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11517 # here-document in config.status, that substitutes the proper values into
   11518 # config.h.in to produce config.h.
   11519 
   11520 # Create a delimiter string that does not exist in confdefs.h, to ease
   11521 # handling of long lines.
   11522 ac_delim='%!_!# '
   11523 for ac_last_try in false false :; do
   11524   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11525   if test -z "$ac_tt"; then
   11526     break
   11527   elif $ac_last_try; then
   11528     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11529   else
   11530     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11531   fi
   11532 done
   11533 
   11534 # For the awk script, D is an array of macro values keyed by name,
   11535 # likewise P contains macro parameters if any.  Preserve backslash
   11536 # newline sequences.
   11537 
   11538 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11539 sed -n '
   11540 s/.\{148\}/&'"$ac_delim"'/g
   11541 t rset
   11542 :rset
   11543 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11544 t def
   11545 d
   11546 :def
   11547 s/\\$//
   11548 t bsnl
   11549 s/["\\]/\\&/g
   11550 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11551 D["\1"]=" \3"/p
   11552 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11553 d
   11554 :bsnl
   11555 s/["\\]/\\&/g
   11556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11557 D["\1"]=" \3\\\\\\n"\\/p
   11558 t cont
   11559 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11560 t cont
   11561 d
   11562 :cont
   11563 n
   11564 s/.\{148\}/&'"$ac_delim"'/g
   11565 t clear
   11566 :clear
   11567 s/\\$//
   11568 t bsnlc
   11569 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11570 d
   11571 :bsnlc
   11572 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11573 b cont
   11574 ' <confdefs.h | sed '
   11575 s/'"$ac_delim"'/"\\\
   11576 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11577 
   11578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11579   for (key in D) D_is_set[key] = 1
   11580   FS = ""
   11581 }
   11582 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11583   line = \$ 0
   11584   split(line, arg, " ")
   11585   if (arg[1] == "#") {
   11586     defundef = arg[2]
   11587     mac1 = arg[3]
   11588   } else {
   11589     defundef = substr(arg[1], 2)
   11590     mac1 = arg[2]
   11591   }
   11592   split(mac1, mac2, "(") #)
   11593   macro = mac2[1]
   11594   prefix = substr(line, 1, index(line, defundef) - 1)
   11595   if (D_is_set[macro]) {
   11596     # Preserve the white space surrounding the "#".
   11597     print prefix "define", macro P[macro] D[macro]
   11598     next
   11599   } else {
   11600     # Replace #undef with comments.  This is necessary, for example,
   11601     # in the case of _POSIX_SOURCE, which is predefined and required
   11602     # on some systems where configure will not decide to define it.
   11603     if (defundef == "undef") {
   11604       print "/*", prefix defundef, macro, "*/"
   11605       next
   11606     }
   11607   }
   11608 }
   11609 { print }
   11610 _ACAWK
   11611 _ACEOF
   11612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11613   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11614 fi # test -n "$CONFIG_HEADERS"
   11615 
   11616 
   11617 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11618 shift
   11619 for ac_tag
   11620 do
   11621   case $ac_tag in
   11622   :[FHLC]) ac_mode=$ac_tag; continue;;
   11623   esac
   11624   case $ac_mode$ac_tag in
   11625   :[FHL]*:*);;
   11626   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11627   :[FH]-) ac_tag=-:-;;
   11628   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11629   esac
   11630   ac_save_IFS=$IFS
   11631   IFS=:
   11632   set x $ac_tag
   11633   IFS=$ac_save_IFS
   11634   shift
   11635   ac_file=$1
   11636   shift
   11637 
   11638   case $ac_mode in
   11639   :L) ac_source=$1;;
   11640   :[FH])
   11641     ac_file_inputs=
   11642     for ac_f
   11643     do
   11644       case $ac_f in
   11645       -) ac_f="$ac_tmp/stdin";;
   11646       *) # Look for the file first in the build tree, then in the source tree
   11647 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11648 	 # because $ac_f cannot contain `:'.
   11649 	 test -f "$ac_f" ||
   11650 	   case $ac_f in
   11651 	   [\\/$]*) false;;
   11652 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11653 	   esac ||
   11654 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11655       esac
   11656       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11657       as_fn_append ac_file_inputs " '$ac_f'"
   11658     done
   11659 
   11660     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11661     # use $as_me), people would be surprised to read:
   11662     #    /* config.h.  Generated by config.status.  */
   11663     configure_input='Generated from '`
   11664 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11665 	`' by configure.'
   11666     if test x"$ac_file" != x-; then
   11667       configure_input="$ac_file.  $configure_input"
   11668       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11669 $as_echo "$as_me: creating $ac_file" >&6;}
   11670     fi
   11671     # Neutralize special characters interpreted by sed in replacement strings.
   11672     case $configure_input in #(
   11673     *\&* | *\|* | *\\* )
   11674        ac_sed_conf_input=`$as_echo "$configure_input" |
   11675        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11676     *) ac_sed_conf_input=$configure_input;;
   11677     esac
   11678 
   11679     case $ac_tag in
   11680     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11681       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11682     esac
   11683     ;;
   11684   esac
   11685 
   11686   ac_dir=`$as_dirname -- "$ac_file" ||
   11687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11688 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11689 	 X"$ac_file" : 'X\(//\)$' \| \
   11690 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11691 $as_echo X"$ac_file" |
   11692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11693 	    s//\1/
   11694 	    q
   11695 	  }
   11696 	  /^X\(\/\/\)[^/].*/{
   11697 	    s//\1/
   11698 	    q
   11699 	  }
   11700 	  /^X\(\/\/\)$/{
   11701 	    s//\1/
   11702 	    q
   11703 	  }
   11704 	  /^X\(\/\).*/{
   11705 	    s//\1/
   11706 	    q
   11707 	  }
   11708 	  s/.*/./; q'`
   11709   as_dir="$ac_dir"; as_fn_mkdir_p
   11710   ac_builddir=.
   11711 
   11712 case "$ac_dir" in
   11713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11714 *)
   11715   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11716   # A ".." for each directory in $ac_dir_suffix.
   11717   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11718   case $ac_top_builddir_sub in
   11719   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11720   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11721   esac ;;
   11722 esac
   11723 ac_abs_top_builddir=$ac_pwd
   11724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11725 # for backward compatibility:
   11726 ac_top_builddir=$ac_top_build_prefix
   11727 
   11728 case $srcdir in
   11729   .)  # We are building in place.
   11730     ac_srcdir=.
   11731     ac_top_srcdir=$ac_top_builddir_sub
   11732     ac_abs_top_srcdir=$ac_pwd ;;
   11733   [\\/]* | ?:[\\/]* )  # Absolute name.
   11734     ac_srcdir=$srcdir$ac_dir_suffix;
   11735     ac_top_srcdir=$srcdir
   11736     ac_abs_top_srcdir=$srcdir ;;
   11737   *) # Relative name.
   11738     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11739     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11740     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11741 esac
   11742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11743 
   11744 
   11745   case $ac_mode in
   11746   :F)
   11747   #
   11748   # CONFIG_FILE
   11749   #
   11750 
   11751   case $INSTALL in
   11752   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11753   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11754   esac
   11755   ac_MKDIR_P=$MKDIR_P
   11756   case $MKDIR_P in
   11757   [\\/$]* | ?:[\\/]* ) ;;
   11758   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11759   esac
   11760 _ACEOF
   11761 
   11762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11763 # If the template does not know about datarootdir, expand it.
   11764 # FIXME: This hack should be removed a few years after 2.60.
   11765 ac_datarootdir_hack=; ac_datarootdir_seen=
   11766 ac_sed_dataroot='
   11767 /datarootdir/ {
   11768   p
   11769   q
   11770 }
   11771 /@datadir@/p
   11772 /@docdir@/p
   11773 /@infodir@/p
   11774 /@localedir@/p
   11775 /@mandir@/p'
   11776 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11777 *datarootdir*) ac_datarootdir_seen=yes;;
   11778 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11779   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11780 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11781 _ACEOF
   11782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11783   ac_datarootdir_hack='
   11784   s&@datadir@&$datadir&g
   11785   s&@docdir@&$docdir&g
   11786   s&@infodir@&$infodir&g
   11787   s&@localedir@&$localedir&g
   11788   s&@mandir@&$mandir&g
   11789   s&\\\${datarootdir}&$datarootdir&g' ;;
   11790 esac
   11791 _ACEOF
   11792 
   11793 # Neutralize VPATH when `$srcdir' = `.'.
   11794 # Shell code in configure.ac might set extrasub.
   11795 # FIXME: do we really want to maintain this feature?
   11796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11797 ac_sed_extra="$ac_vpsub
   11798 $extrasub
   11799 _ACEOF
   11800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11801 :t
   11802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11803 s|@configure_input@|$ac_sed_conf_input|;t t
   11804 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11805 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11806 s&@srcdir@&$ac_srcdir&;t t
   11807 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11808 s&@top_srcdir@&$ac_top_srcdir&;t t
   11809 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11810 s&@builddir@&$ac_builddir&;t t
   11811 s&@abs_builddir@&$ac_abs_builddir&;t t
   11812 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11813 s&@INSTALL@&$ac_INSTALL&;t t
   11814 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11815 $ac_datarootdir_hack
   11816 "
   11817 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11818   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11819 
   11820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11821   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11822   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11823       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11824   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11825 which seems to be undefined.  Please make sure it is defined" >&5
   11826 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11827 which seems to be undefined.  Please make sure it is defined" >&2;}
   11828 
   11829   rm -f "$ac_tmp/stdin"
   11830   case $ac_file in
   11831   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11832   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11833   esac \
   11834   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11835  ;;
   11836   :H)
   11837   #
   11838   # CONFIG_HEADER
   11839   #
   11840   if test x"$ac_file" != x-; then
   11841     {
   11842       $as_echo "/* $configure_input  */" \
   11843       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11844     } >"$ac_tmp/config.h" \
   11845       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11846     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11847       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11848 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11849     else
   11850       rm -f "$ac_file"
   11851       mv "$ac_tmp/config.h" "$ac_file" \
   11852 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11853     fi
   11854   else
   11855     $as_echo "/* $configure_input  */" \
   11856       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11857       || as_fn_error $? "could not create -" "$LINENO" 5
   11858   fi
   11859 # Compute "$ac_file"'s index in $config_headers.
   11860 _am_arg="$ac_file"
   11861 _am_stamp_count=1
   11862 for _am_header in $config_headers :; do
   11863   case $_am_header in
   11864     $_am_arg | $_am_arg:* )
   11865       break ;;
   11866     * )
   11867       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11868   esac
   11869 done
   11870 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11871 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11872 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11873 	 X"$_am_arg" : 'X\(//\)$' \| \
   11874 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11875 $as_echo X"$_am_arg" |
   11876     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11877 	    s//\1/
   11878 	    q
   11879 	  }
   11880 	  /^X\(\/\/\)[^/].*/{
   11881 	    s//\1/
   11882 	    q
   11883 	  }
   11884 	  /^X\(\/\/\)$/{
   11885 	    s//\1/
   11886 	    q
   11887 	  }
   11888 	  /^X\(\/\).*/{
   11889 	    s//\1/
   11890 	    q
   11891 	  }
   11892 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11893  ;;
   11894 
   11895   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11896 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11897  ;;
   11898   esac
   11899 
   11900 
   11901   case $ac_file$ac_mode in
   11902     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11903   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   11904   # are listed without --file.  Let's play safe and only enable the eval
   11905   # if we detect the quoting.
   11906   case $CONFIG_FILES in
   11907   *\'*) eval set x "$CONFIG_FILES" ;;
   11908   *)   set x $CONFIG_FILES ;;
   11909   esac
   11910   shift
   11911   for mf
   11912   do
   11913     # Strip MF so we end up with the name of the file.
   11914     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11915     # Check whether this is an Automake generated Makefile or not.
   11916     # We used to match only the files named `Makefile.in', but
   11917     # some people rename them; so instead we look at the file content.
   11918     # Grep'ing the first line is not enough: some people post-process
   11919     # each Makefile.in and add a new line on top of each file to say so.
   11920     # Grep'ing the whole file is not good either: AIX grep has a line
   11921     # limit of 2048, but all sed's we know have understand at least 4000.
   11922     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11923       dirpart=`$as_dirname -- "$mf" ||
   11924 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11925 	 X"$mf" : 'X\(//\)[^/]' \| \
   11926 	 X"$mf" : 'X\(//\)$' \| \
   11927 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11928 $as_echo X"$mf" |
   11929     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11930 	    s//\1/
   11931 	    q
   11932 	  }
   11933 	  /^X\(\/\/\)[^/].*/{
   11934 	    s//\1/
   11935 	    q
   11936 	  }
   11937 	  /^X\(\/\/\)$/{
   11938 	    s//\1/
   11939 	    q
   11940 	  }
   11941 	  /^X\(\/\).*/{
   11942 	    s//\1/
   11943 	    q
   11944 	  }
   11945 	  s/.*/./; q'`
   11946     else
   11947       continue
   11948     fi
   11949     # Extract the definition of DEPDIR, am__include, and am__quote
   11950     # from the Makefile without running `make'.
   11951     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11952     test -z "$DEPDIR" && continue
   11953     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11954     test -z "am__include" && continue
   11955     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11956     # When using ansi2knr, U may be empty or an underscore; expand it
   11957     U=`sed -n 's/^U = //p' < "$mf"`
   11958     # Find all dependency output files, they are included files with
   11959     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11960     # simplest approach to changing $(DEPDIR) to its actual value in the
   11961     # expansion.
   11962     for file in `sed -n "
   11963       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11964 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   11965       # Make sure the directory exists.
   11966       test -f "$dirpart/$file" && continue
   11967       fdir=`$as_dirname -- "$file" ||
   11968 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11969 	 X"$file" : 'X\(//\)[^/]' \| \
   11970 	 X"$file" : 'X\(//\)$' \| \
   11971 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11972 $as_echo X"$file" |
   11973     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11974 	    s//\1/
   11975 	    q
   11976 	  }
   11977 	  /^X\(\/\/\)[^/].*/{
   11978 	    s//\1/
   11979 	    q
   11980 	  }
   11981 	  /^X\(\/\/\)$/{
   11982 	    s//\1/
   11983 	    q
   11984 	  }
   11985 	  /^X\(\/\).*/{
   11986 	    s//\1/
   11987 	    q
   11988 	  }
   11989 	  s/.*/./; q'`
   11990       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11991       # echo "creating $dirpart/$file"
   11992       echo '# dummy' > "$dirpart/$file"
   11993     done
   11994   done
   11995 }
   11996  ;;
   11997 
   11998   esac
   11999 done # for ac_tag
   12000 
   12001 
   12002 as_fn_exit 0
   12003 _ACEOF
   12004 ac_clean_files=$ac_clean_files_save
   12005 
   12006 test $ac_write_fail = 0 ||
   12007   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12008 
   12009 
   12010 # configure is writing to config.log, and then calls config.status.
   12011 # config.status does its own redirection, appending to config.log.
   12012 # Unfortunately, on DOS this fails, as config.log is still kept open
   12013 # by configure, so config.status won't be able to write to it; its
   12014 # output is simply discarded.  So we exec the FD to /dev/null,
   12015 # effectively closing config.log, so it can be properly (re)opened and
   12016 # appended to by config.status.  When coming back to configure, we
   12017 # need to make the FD available again.
   12018 if test "$no_create" != yes; then
   12019   ac_cs_success=:
   12020   ac_config_status_args=
   12021   test "$silent" = yes &&
   12022     ac_config_status_args="$ac_config_status_args --quiet"
   12023   exec 5>/dev/null
   12024   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12025   exec 5>>config.log
   12026   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12027   # would make configure fail if this is the last instruction.
   12028   $ac_cs_success || as_fn_exit 1
   12029 fi
   12030 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12031   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12032 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12033 fi
   12034 
   12035