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