Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xauth 1.0.7.
      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='xauth'
    563 PACKAGE_TARNAME='xauth'
    564 PACKAGE_VERSION='1.0.7'
    565 PACKAGE_STRING='xauth 1.0.7'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 LINT_FALSE
    610 LINT_TRUE
    611 LINT_FLAGS
    612 LINT
    613 XAUTH_LIBS
    614 XAUTH_CFLAGS
    615 AM_BACKSLASH
    616 AM_DEFAULT_VERBOSITY
    617 MAN_SUBSTS
    618 XORG_MAN_PAGE
    619 ADMIN_MAN_DIR
    620 DRIVER_MAN_DIR
    621 MISC_MAN_DIR
    622 FILE_MAN_DIR
    623 LIB_MAN_DIR
    624 APP_MAN_DIR
    625 ADMIN_MAN_SUFFIX
    626 DRIVER_MAN_SUFFIX
    627 MISC_MAN_SUFFIX
    628 FILE_MAN_SUFFIX
    629 LIB_MAN_SUFFIX
    630 APP_MAN_SUFFIX
    631 SED
    632 host_os
    633 host_vendor
    634 host_cpu
    635 host
    636 build_os
    637 build_vendor
    638 build_cpu
    639 build
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 EGREP
    647 GREP
    648 CPP
    649 am__fastdepCC_FALSE
    650 am__fastdepCC_TRUE
    651 CCDEPMODE
    652 AMDEPBACKSLASH
    653 AMDEP_FALSE
    654 AMDEP_TRUE
    655 am__quote
    656 am__include
    657 DEPDIR
    658 OBJEXT
    659 EXEEXT
    660 ac_ct_CC
    661 CPPFLAGS
    662 LDFLAGS
    663 CFLAGS
    664 CC
    665 MAINT
    666 MAINTAINER_MODE_FALSE
    667 MAINTAINER_MODE_TRUE
    668 am__untar
    669 am__tar
    670 AMTAR
    671 am__leading_dot
    672 SET_MAKE
    673 AWK
    674 mkdir_p
    675 MKDIR_P
    676 INSTALL_STRIP_PROGRAM
    677 STRIP
    678 install_sh
    679 MAKEINFO
    680 AUTOHEADER
    681 AUTOMAKE
    682 AUTOCONF
    683 ACLOCAL
    684 VERSION
    685 PACKAGE
    686 CYGPATH_W
    687 am__isrc
    688 INSTALL_DATA
    689 INSTALL_SCRIPT
    690 INSTALL_PROGRAM
    691 target_alias
    692 host_alias
    693 build_alias
    694 LIBS
    695 ECHO_T
    696 ECHO_N
    697 ECHO_C
    698 DEFS
    699 mandir
    700 localedir
    701 libdir
    702 psdir
    703 pdfdir
    704 dvidir
    705 htmldir
    706 infodir
    707 docdir
    708 oldincludedir
    709 includedir
    710 localstatedir
    711 sharedstatedir
    712 sysconfdir
    713 datadir
    714 datarootdir
    715 libexecdir
    716 sbindir
    717 bindir
    718 program_transform_name
    719 prefix
    720 exec_prefix
    721 PACKAGE_URL
    722 PACKAGE_BUGREPORT
    723 PACKAGE_STRING
    724 PACKAGE_VERSION
    725 PACKAGE_TARNAME
    726 PACKAGE_NAME
    727 PATH_SEPARATOR
    728 SHELL'
    729 ac_subst_files=''
    730 ac_user_opts='
    731 enable_option_checking
    732 enable_maintainer_mode
    733 enable_dependency_tracking
    734 enable_selective_werror
    735 enable_strict_compilation
    736 enable_silent_rules
    737 enable_unix_transport
    738 enable_tcp_transport
    739 enable_ipv6
    740 enable_local_transport
    741 with_lint
    742 '
    743       ac_precious_vars='build_alias
    744 host_alias
    745 target_alias
    746 CC
    747 CFLAGS
    748 LDFLAGS
    749 LIBS
    750 CPPFLAGS
    751 CPP
    752 PKG_CONFIG
    753 XAUTH_CFLAGS
    754 XAUTH_LIBS
    755 LINT
    756 LINT_FLAGS'
    757 
    758 
    759 # Initialize some variables set by options.
    760 ac_init_help=
    761 ac_init_version=false
    762 ac_unrecognized_opts=
    763 ac_unrecognized_sep=
    764 # The variables have the same names as the options, with
    765 # dashes changed to underlines.
    766 cache_file=/dev/null
    767 exec_prefix=NONE
    768 no_create=
    769 no_recursion=
    770 prefix=NONE
    771 program_prefix=NONE
    772 program_suffix=NONE
    773 program_transform_name=s,x,x,
    774 silent=
    775 site=
    776 srcdir=
    777 verbose=
    778 x_includes=NONE
    779 x_libraries=NONE
    780 
    781 # Installation directory options.
    782 # These are left unexpanded so users can "make install exec_prefix=/foo"
    783 # and all the variables that are supposed to be based on exec_prefix
    784 # by default will actually change.
    785 # Use braces instead of parens because sh, perl, etc. also accept them.
    786 # (The list follows the same order as the GNU Coding Standards.)
    787 bindir='${exec_prefix}/bin'
    788 sbindir='${exec_prefix}/sbin'
    789 libexecdir='${exec_prefix}/libexec'
    790 datarootdir='${prefix}/share'
    791 datadir='${datarootdir}'
    792 sysconfdir='${prefix}/etc'
    793 sharedstatedir='${prefix}/com'
    794 localstatedir='${prefix}/var'
    795 includedir='${prefix}/include'
    796 oldincludedir='/usr/include'
    797 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    798 infodir='${datarootdir}/info'
    799 htmldir='${docdir}'
    800 dvidir='${docdir}'
    801 pdfdir='${docdir}'
    802 psdir='${docdir}'
    803 libdir='${exec_prefix}/lib'
    804 localedir='${datarootdir}/locale'
    805 mandir='${datarootdir}/man'
    806 
    807 ac_prev=
    808 ac_dashdash=
    809 for ac_option
    810 do
    811   # If the previous option needs an argument, assign it.
    812   if test -n "$ac_prev"; then
    813     eval $ac_prev=\$ac_option
    814     ac_prev=
    815     continue
    816   fi
    817 
    818   case $ac_option in
    819   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    820   *=)   ac_optarg= ;;
    821   *)    ac_optarg=yes ;;
    822   esac
    823 
    824   # Accept the important Cygnus configure options, so we can diagnose typos.
    825 
    826   case $ac_dashdash$ac_option in
    827   --)
    828     ac_dashdash=yes ;;
    829 
    830   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    831     ac_prev=bindir ;;
    832   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    833     bindir=$ac_optarg ;;
    834 
    835   -build | --build | --buil | --bui | --bu)
    836     ac_prev=build_alias ;;
    837   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    838     build_alias=$ac_optarg ;;
    839 
    840   -cache-file | --cache-file | --cache-fil | --cache-fi \
    841   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    842     ac_prev=cache_file ;;
    843   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    844   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    845     cache_file=$ac_optarg ;;
    846 
    847   --config-cache | -C)
    848     cache_file=config.cache ;;
    849 
    850   -datadir | --datadir | --datadi | --datad)
    851     ac_prev=datadir ;;
    852   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    853     datadir=$ac_optarg ;;
    854 
    855   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    856   | --dataroo | --dataro | --datar)
    857     ac_prev=datarootdir ;;
    858   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    859   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    860     datarootdir=$ac_optarg ;;
    861 
    862   -disable-* | --disable-*)
    863     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    864     # Reject names that are not valid shell variable names.
    865     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    866       as_fn_error $? "invalid feature name: $ac_useropt"
    867     ac_useropt_orig=$ac_useropt
    868     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    869     case $ac_user_opts in
    870       *"
    871 "enable_$ac_useropt"
    872 "*) ;;
    873       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    874 	 ac_unrecognized_sep=', ';;
    875     esac
    876     eval enable_$ac_useropt=no ;;
    877 
    878   -docdir | --docdir | --docdi | --doc | --do)
    879     ac_prev=docdir ;;
    880   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    881     docdir=$ac_optarg ;;
    882 
    883   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    884     ac_prev=dvidir ;;
    885   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    886     dvidir=$ac_optarg ;;
    887 
    888   -enable-* | --enable-*)
    889     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    890     # Reject names that are not valid shell variable names.
    891     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    892       as_fn_error $? "invalid feature name: $ac_useropt"
    893     ac_useropt_orig=$ac_useropt
    894     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    895     case $ac_user_opts in
    896       *"
    897 "enable_$ac_useropt"
    898 "*) ;;
    899       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    900 	 ac_unrecognized_sep=', ';;
    901     esac
    902     eval enable_$ac_useropt=\$ac_optarg ;;
    903 
    904   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    905   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    906   | --exec | --exe | --ex)
    907     ac_prev=exec_prefix ;;
    908   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    909   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    910   | --exec=* | --exe=* | --ex=*)
    911     exec_prefix=$ac_optarg ;;
    912 
    913   -gas | --gas | --ga | --g)
    914     # Obsolete; use --with-gas.
    915     with_gas=yes ;;
    916 
    917   -help | --help | --hel | --he | -h)
    918     ac_init_help=long ;;
    919   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    920     ac_init_help=recursive ;;
    921   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    922     ac_init_help=short ;;
    923 
    924   -host | --host | --hos | --ho)
    925     ac_prev=host_alias ;;
    926   -host=* | --host=* | --hos=* | --ho=*)
    927     host_alias=$ac_optarg ;;
    928 
    929   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    930     ac_prev=htmldir ;;
    931   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    932   | --ht=*)
    933     htmldir=$ac_optarg ;;
    934 
    935   -includedir | --includedir | --includedi | --included | --include \
    936   | --includ | --inclu | --incl | --inc)
    937     ac_prev=includedir ;;
    938   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    939   | --includ=* | --inclu=* | --incl=* | --inc=*)
    940     includedir=$ac_optarg ;;
    941 
    942   -infodir | --infodir | --infodi | --infod | --info | --inf)
    943     ac_prev=infodir ;;
    944   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    945     infodir=$ac_optarg ;;
    946 
    947   -libdir | --libdir | --libdi | --libd)
    948     ac_prev=libdir ;;
    949   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    950     libdir=$ac_optarg ;;
    951 
    952   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    953   | --libexe | --libex | --libe)
    954     ac_prev=libexecdir ;;
    955   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    956   | --libexe=* | --libex=* | --libe=*)
    957     libexecdir=$ac_optarg ;;
    958 
    959   -localedir | --localedir | --localedi | --localed | --locale)
    960     ac_prev=localedir ;;
    961   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    962     localedir=$ac_optarg ;;
    963 
    964   -localstatedir | --localstatedir | --localstatedi | --localstated \
    965   | --localstate | --localstat | --localsta | --localst | --locals)
    966     ac_prev=localstatedir ;;
    967   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    968   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    969     localstatedir=$ac_optarg ;;
    970 
    971   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    972     ac_prev=mandir ;;
    973   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    974     mandir=$ac_optarg ;;
    975 
    976   -nfp | --nfp | --nf)
    977     # Obsolete; use --without-fp.
    978     with_fp=no ;;
    979 
    980   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    981   | --no-cr | --no-c | -n)
    982     no_create=yes ;;
    983 
    984   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    985   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    986     no_recursion=yes ;;
    987 
    988   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    989   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    990   | --oldin | --oldi | --old | --ol | --o)
    991     ac_prev=oldincludedir ;;
    992   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    993   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    994   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    995     oldincludedir=$ac_optarg ;;
    996 
    997   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    998     ac_prev=prefix ;;
    999   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1000     prefix=$ac_optarg ;;
   1001 
   1002   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1003   | --program-pre | --program-pr | --program-p)
   1004     ac_prev=program_prefix ;;
   1005   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1006   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1007     program_prefix=$ac_optarg ;;
   1008 
   1009   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1010   | --program-suf | --program-su | --program-s)
   1011     ac_prev=program_suffix ;;
   1012   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1013   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1014     program_suffix=$ac_optarg ;;
   1015 
   1016   -program-transform-name | --program-transform-name \
   1017   | --program-transform-nam | --program-transform-na \
   1018   | --program-transform-n | --program-transform- \
   1019   | --program-transform | --program-transfor \
   1020   | --program-transfo | --program-transf \
   1021   | --program-trans | --program-tran \
   1022   | --progr-tra | --program-tr | --program-t)
   1023     ac_prev=program_transform_name ;;
   1024   -program-transform-name=* | --program-transform-name=* \
   1025   | --program-transform-nam=* | --program-transform-na=* \
   1026   | --program-transform-n=* | --program-transform-=* \
   1027   | --program-transform=* | --program-transfor=* \
   1028   | --program-transfo=* | --program-transf=* \
   1029   | --program-trans=* | --program-tran=* \
   1030   | --progr-tra=* | --program-tr=* | --program-t=*)
   1031     program_transform_name=$ac_optarg ;;
   1032 
   1033   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1034     ac_prev=pdfdir ;;
   1035   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1036     pdfdir=$ac_optarg ;;
   1037 
   1038   -psdir | --psdir | --psdi | --psd | --ps)
   1039     ac_prev=psdir ;;
   1040   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1041     psdir=$ac_optarg ;;
   1042 
   1043   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1044   | -silent | --silent | --silen | --sile | --sil)
   1045     silent=yes ;;
   1046 
   1047   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1048     ac_prev=sbindir ;;
   1049   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1050   | --sbi=* | --sb=*)
   1051     sbindir=$ac_optarg ;;
   1052 
   1053   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1054   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1055   | --sharedst | --shareds | --shared | --share | --shar \
   1056   | --sha | --sh)
   1057     ac_prev=sharedstatedir ;;
   1058   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1059   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1060   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1061   | --sha=* | --sh=*)
   1062     sharedstatedir=$ac_optarg ;;
   1063 
   1064   -site | --site | --sit)
   1065     ac_prev=site ;;
   1066   -site=* | --site=* | --sit=*)
   1067     site=$ac_optarg ;;
   1068 
   1069   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1070     ac_prev=srcdir ;;
   1071   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1072     srcdir=$ac_optarg ;;
   1073 
   1074   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1075   | --syscon | --sysco | --sysc | --sys | --sy)
   1076     ac_prev=sysconfdir ;;
   1077   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1078   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1079     sysconfdir=$ac_optarg ;;
   1080 
   1081   -target | --target | --targe | --targ | --tar | --ta | --t)
   1082     ac_prev=target_alias ;;
   1083   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1084     target_alias=$ac_optarg ;;
   1085 
   1086   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1087     verbose=yes ;;
   1088 
   1089   -version | --version | --versio | --versi | --vers | -V)
   1090     ac_init_version=: ;;
   1091 
   1092   -with-* | --with-*)
   1093     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1094     # Reject names that are not valid shell variable names.
   1095     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1096       as_fn_error $? "invalid package name: $ac_useropt"
   1097     ac_useropt_orig=$ac_useropt
   1098     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1099     case $ac_user_opts in
   1100       *"
   1101 "with_$ac_useropt"
   1102 "*) ;;
   1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1104 	 ac_unrecognized_sep=', ';;
   1105     esac
   1106     eval with_$ac_useropt=\$ac_optarg ;;
   1107 
   1108   -without-* | --without-*)
   1109     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1110     # Reject names that are not valid shell variable names.
   1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1112       as_fn_error $? "invalid package name: $ac_useropt"
   1113     ac_useropt_orig=$ac_useropt
   1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1115     case $ac_user_opts in
   1116       *"
   1117 "with_$ac_useropt"
   1118 "*) ;;
   1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1120 	 ac_unrecognized_sep=', ';;
   1121     esac
   1122     eval with_$ac_useropt=no ;;
   1123 
   1124   --x)
   1125     # Obsolete; use --with-x.
   1126     with_x=yes ;;
   1127 
   1128   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1129   | --x-incl | --x-inc | --x-in | --x-i)
   1130     ac_prev=x_includes ;;
   1131   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1132   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1133     x_includes=$ac_optarg ;;
   1134 
   1135   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1136   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1137     ac_prev=x_libraries ;;
   1138   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1139   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1140     x_libraries=$ac_optarg ;;
   1141 
   1142   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1143 Try \`$0 --help' for more information"
   1144     ;;
   1145 
   1146   *=*)
   1147     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1148     # Reject names that are not valid shell variable names.
   1149     case $ac_envvar in #(
   1150       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1151       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1152     esac
   1153     eval $ac_envvar=\$ac_optarg
   1154     export $ac_envvar ;;
   1155 
   1156   *)
   1157     # FIXME: should be removed in autoconf 3.0.
   1158     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1159     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1160       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1161     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1162     ;;
   1163 
   1164   esac
   1165 done
   1166 
   1167 if test -n "$ac_prev"; then
   1168   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1169   as_fn_error $? "missing argument to $ac_option"
   1170 fi
   1171 
   1172 if test -n "$ac_unrecognized_opts"; then
   1173   case $enable_option_checking in
   1174     no) ;;
   1175     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1176     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1177   esac
   1178 fi
   1179 
   1180 # Check all directory arguments for consistency.
   1181 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1182 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1183 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1184 		libdir localedir mandir
   1185 do
   1186   eval ac_val=\$$ac_var
   1187   # Remove trailing slashes.
   1188   case $ac_val in
   1189     */ )
   1190       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1191       eval $ac_var=\$ac_val;;
   1192   esac
   1193   # Be sure to have absolute directory names.
   1194   case $ac_val in
   1195     [\\/$]* | ?:[\\/]* )  continue;;
   1196     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1197   esac
   1198   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1199 done
   1200 
   1201 # There might be people who depend on the old broken behavior: `$host'
   1202 # used to hold the argument of --host etc.
   1203 # FIXME: To remove some day.
   1204 build=$build_alias
   1205 host=$host_alias
   1206 target=$target_alias
   1207 
   1208 # FIXME: To remove some day.
   1209 if test "x$host_alias" != x; then
   1210   if test "x$build_alias" = x; then
   1211     cross_compiling=maybe
   1212     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1213     If a cross compiler is detected then cross compile mode will be used" >&2
   1214   elif test "x$build_alias" != "x$host_alias"; then
   1215     cross_compiling=yes
   1216   fi
   1217 fi
   1218 
   1219 ac_tool_prefix=
   1220 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1221 
   1222 test "$silent" = yes && exec 6>/dev/null
   1223 
   1224 
   1225 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1226 ac_ls_di=`ls -di .` &&
   1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1228   as_fn_error $? "working directory cannot be determined"
   1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1230   as_fn_error $? "pwd does not report name of working directory"
   1231 
   1232 
   1233 # Find the source files, if location was not specified.
   1234 if test -z "$srcdir"; then
   1235   ac_srcdir_defaulted=yes
   1236   # Try the directory containing this script, then the parent directory.
   1237   ac_confdir=`$as_dirname -- "$as_myself" ||
   1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1239 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1240 	 X"$as_myself" : 'X\(//\)$' \| \
   1241 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1242 $as_echo X"$as_myself" |
   1243     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1244 	    s//\1/
   1245 	    q
   1246 	  }
   1247 	  /^X\(\/\/\)[^/].*/{
   1248 	    s//\1/
   1249 	    q
   1250 	  }
   1251 	  /^X\(\/\/\)$/{
   1252 	    s//\1/
   1253 	    q
   1254 	  }
   1255 	  /^X\(\/\).*/{
   1256 	    s//\1/
   1257 	    q
   1258 	  }
   1259 	  s/.*/./; q'`
   1260   srcdir=$ac_confdir
   1261   if test ! -r "$srcdir/$ac_unique_file"; then
   1262     srcdir=..
   1263   fi
   1264 else
   1265   ac_srcdir_defaulted=no
   1266 fi
   1267 if test ! -r "$srcdir/$ac_unique_file"; then
   1268   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1269   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1270 fi
   1271 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1272 ac_abs_confdir=`(
   1273 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1274 	pwd)`
   1275 # When building in place, set srcdir=.
   1276 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1277   srcdir=.
   1278 fi
   1279 # Remove unnecessary trailing slashes from srcdir.
   1280 # Double slashes in file names in object file debugging info
   1281 # mess up M-x gdb in Emacs.
   1282 case $srcdir in
   1283 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1284 esac
   1285 for ac_var in $ac_precious_vars; do
   1286   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1287   eval ac_env_${ac_var}_value=\$${ac_var}
   1288   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1289   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1290 done
   1291 
   1292 #
   1293 # Report the --help message.
   1294 #
   1295 if test "$ac_init_help" = "long"; then
   1296   # Omit some internal or obsolete options to make the list less imposing.
   1297   # This message is too long to be a string in the A/UX 3.1 sh.
   1298   cat <<_ACEOF
   1299 \`configure' configures xauth 1.0.7 to adapt to many kinds of systems.
   1300 
   1301 Usage: $0 [OPTION]... [VAR=VALUE]...
   1302 
   1303 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1304 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1305 
   1306 Defaults for the options are specified in brackets.
   1307 
   1308 Configuration:
   1309   -h, --help              display this help and exit
   1310       --help=short        display options specific to this package
   1311       --help=recursive    display the short help of all the included packages
   1312   -V, --version           display version information and exit
   1313   -q, --quiet, --silent   do not print \`checking ...' messages
   1314       --cache-file=FILE   cache test results in FILE [disabled]
   1315   -C, --config-cache      alias for \`--cache-file=config.cache'
   1316   -n, --no-create         do not create output files
   1317       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1318 
   1319 Installation directories:
   1320   --prefix=PREFIX         install architecture-independent files in PREFIX
   1321                           [$ac_default_prefix]
   1322   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1323                           [PREFIX]
   1324 
   1325 By default, \`make install' will install all the files in
   1326 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1327 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1328 for instance \`--prefix=\$HOME'.
   1329 
   1330 For better control, use the options below.
   1331 
   1332 Fine tuning of the installation directories:
   1333   --bindir=DIR            user executables [EPREFIX/bin]
   1334   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1335   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1336   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1337   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1338   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1339   --libdir=DIR            object code libraries [EPREFIX/lib]
   1340   --includedir=DIR        C header files [PREFIX/include]
   1341   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1342   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1343   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1344   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1345   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1346   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1347   --docdir=DIR            documentation root [DATAROOTDIR/doc/xauth]
   1348   --htmldir=DIR           html documentation [DOCDIR]
   1349   --dvidir=DIR            dvi documentation [DOCDIR]
   1350   --pdfdir=DIR            pdf documentation [DOCDIR]
   1351   --psdir=DIR             ps documentation [DOCDIR]
   1352 _ACEOF
   1353 
   1354   cat <<\_ACEOF
   1355 
   1356 Program names:
   1357   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1358   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1359   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1360 
   1361 System types:
   1362   --build=BUILD     configure for building on BUILD [guessed]
   1363   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1364 _ACEOF
   1365 fi
   1366 
   1367 if test -n "$ac_init_help"; then
   1368   case $ac_init_help in
   1369      short | recursive ) echo "Configuration of xauth 1.0.7:";;
   1370    esac
   1371   cat <<\_ACEOF
   1372 
   1373 Optional Features:
   1374   --disable-option-checking  ignore unrecognized --enable/--with options
   1375   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1376   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1377   --enable-maintainer-mode  enable make rules and dependencies not useful
   1378 			  (and sometimes confusing) to the casual installer
   1379   --disable-dependency-tracking  speeds up one-time build
   1380   --enable-dependency-tracking   do not reject slow dependency extractors
   1381   --disable-selective-werror
   1382                           Turn off selective compiler errors. (default:
   1383                           enabled)
   1384   --enable-strict-compilation
   1385                           Enable all warnings from compiler and make them
   1386                           errors (default: disabled)
   1387   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1388   --disable-silent-rules         verbose build output (undo: `make V=0')
   1389   --enable-unix-transport Enable UNIX domain socket transport
   1390   --enable-tcp-transport  Enable TCP socket transport
   1391   --enable-ipv6           Enable IPv6 support
   1392   --enable-local-transport
   1393                           Enable os-specific local transport
   1394 
   1395 Optional Packages:
   1396   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1397   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1398   --with-lint             Use a lint-style source code checker (default:
   1399                           disabled)
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   XAUTH_CFLAGS
   1412               C compiler flags for XAUTH, overriding pkg-config
   1413   XAUTH_LIBS  linker flags for XAUTH, overriding pkg-config
   1414   LINT        Path to a lint-style command
   1415   LINT_FLAGS  Flags for the lint-style command
   1416 
   1417 Use these variables to override the choices made by `configure' or to help
   1418 it to find libraries and programs with nonstandard names/locations.
   1419 
   1420 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1421 _ACEOF
   1422 ac_status=$?
   1423 fi
   1424 
   1425 if test "$ac_init_help" = "recursive"; then
   1426   # If there are subdirs, report their specific --help.
   1427   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1428     test -d "$ac_dir" ||
   1429       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1430       continue
   1431     ac_builddir=.
   1432 
   1433 case "$ac_dir" in
   1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1435 *)
   1436   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1437   # A ".." for each directory in $ac_dir_suffix.
   1438   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1439   case $ac_top_builddir_sub in
   1440   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1441   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1442   esac ;;
   1443 esac
   1444 ac_abs_top_builddir=$ac_pwd
   1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1446 # for backward compatibility:
   1447 ac_top_builddir=$ac_top_build_prefix
   1448 
   1449 case $srcdir in
   1450   .)  # We are building in place.
   1451     ac_srcdir=.
   1452     ac_top_srcdir=$ac_top_builddir_sub
   1453     ac_abs_top_srcdir=$ac_pwd ;;
   1454   [\\/]* | ?:[\\/]* )  # Absolute name.
   1455     ac_srcdir=$srcdir$ac_dir_suffix;
   1456     ac_top_srcdir=$srcdir
   1457     ac_abs_top_srcdir=$srcdir ;;
   1458   *) # Relative name.
   1459     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1460     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1461     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1462 esac
   1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1464 
   1465     cd "$ac_dir" || { ac_status=$?; continue; }
   1466     # Check for guested configure.
   1467     if test -f "$ac_srcdir/configure.gnu"; then
   1468       echo &&
   1469       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1470     elif test -f "$ac_srcdir/configure"; then
   1471       echo &&
   1472       $SHELL "$ac_srcdir/configure" --help=recursive
   1473     else
   1474       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1475     fi || ac_status=$?
   1476     cd "$ac_pwd" || { ac_status=$?; break; }
   1477   done
   1478 fi
   1479 
   1480 test -n "$ac_init_help" && exit $ac_status
   1481 if $ac_init_version; then
   1482   cat <<\_ACEOF
   1483 xauth configure 1.0.7
   1484 generated by GNU Autoconf 2.68
   1485 
   1486 Copyright (C) 2010 Free Software Foundation, Inc.
   1487 This configure script is free software; the Free Software Foundation
   1488 gives unlimited permission to copy, distribute and modify it.
   1489 _ACEOF
   1490   exit
   1491 fi
   1492 
   1493 ## ------------------------ ##
   1494 ## Autoconf initialization. ##
   1495 ## ------------------------ ##
   1496 
   1497 # ac_fn_c_try_compile LINENO
   1498 # --------------------------
   1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1500 ac_fn_c_try_compile ()
   1501 {
   1502   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1503   rm -f conftest.$ac_objext
   1504   if { { ac_try="$ac_compile"
   1505 case "(($ac_try" in
   1506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1507   *) ac_try_echo=$ac_try;;
   1508 esac
   1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1510 $as_echo "$ac_try_echo"; } >&5
   1511   (eval "$ac_compile") 2>conftest.err
   1512   ac_status=$?
   1513   if test -s conftest.err; then
   1514     grep -v '^ *+' conftest.err >conftest.er1
   1515     cat conftest.er1 >&5
   1516     mv -f conftest.er1 conftest.err
   1517   fi
   1518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1519   test $ac_status = 0; } && {
   1520 	 test -z "$ac_c_werror_flag" ||
   1521 	 test ! -s conftest.err
   1522        } && test -s conftest.$ac_objext; then :
   1523   ac_retval=0
   1524 else
   1525   $as_echo "$as_me: failed program was:" >&5
   1526 sed 's/^/| /' conftest.$ac_ext >&5
   1527 
   1528 	ac_retval=1
   1529 fi
   1530   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1531   as_fn_set_status $ac_retval
   1532 
   1533 } # ac_fn_c_try_compile
   1534 
   1535 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1536 # ---------------------------------------------
   1537 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1538 # accordingly.
   1539 ac_fn_c_check_decl ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1543   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1545 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1546 if eval \${$3+:} false; then :
   1547   $as_echo_n "(cached) " >&6
   1548 else
   1549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1550 /* end confdefs.h.  */
   1551 $4
   1552 int
   1553 main ()
   1554 {
   1555 #ifndef $as_decl_name
   1556 #ifdef __cplusplus
   1557   (void) $as_decl_use;
   1558 #else
   1559   (void) $as_decl_name;
   1560 #endif
   1561 #endif
   1562 
   1563   ;
   1564   return 0;
   1565 }
   1566 _ACEOF
   1567 if ac_fn_c_try_compile "$LINENO"; then :
   1568   eval "$3=yes"
   1569 else
   1570   eval "$3=no"
   1571 fi
   1572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1573 fi
   1574 eval ac_res=\$$3
   1575 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1576 $as_echo "$ac_res" >&6; }
   1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1578 
   1579 } # ac_fn_c_check_decl
   1580 
   1581 # ac_fn_c_try_cpp LINENO
   1582 # ----------------------
   1583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1584 ac_fn_c_try_cpp ()
   1585 {
   1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1587   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1588 case "(($ac_try" in
   1589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1590   *) ac_try_echo=$ac_try;;
   1591 esac
   1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1593 $as_echo "$ac_try_echo"; } >&5
   1594   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1595   ac_status=$?
   1596   if test -s conftest.err; then
   1597     grep -v '^ *+' conftest.err >conftest.er1
   1598     cat conftest.er1 >&5
   1599     mv -f conftest.er1 conftest.err
   1600   fi
   1601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1602   test $ac_status = 0; } > conftest.i && {
   1603 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1604 	 test ! -s conftest.err
   1605        }; then :
   1606   ac_retval=0
   1607 else
   1608   $as_echo "$as_me: failed program was:" >&5
   1609 sed 's/^/| /' conftest.$ac_ext >&5
   1610 
   1611     ac_retval=1
   1612 fi
   1613   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1614   as_fn_set_status $ac_retval
   1615 
   1616 } # ac_fn_c_try_cpp
   1617 
   1618 # ac_fn_c_try_run LINENO
   1619 # ----------------------
   1620 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1621 # that executables *can* be run.
   1622 ac_fn_c_try_run ()
   1623 {
   1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1625   if { { ac_try="$ac_link"
   1626 case "(($ac_try" in
   1627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1628   *) ac_try_echo=$ac_try;;
   1629 esac
   1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1631 $as_echo "$ac_try_echo"; } >&5
   1632   (eval "$ac_link") 2>&5
   1633   ac_status=$?
   1634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1635   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1636   { { case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_try") 2>&5
   1643   ac_status=$?
   1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1645   test $ac_status = 0; }; }; then :
   1646   ac_retval=0
   1647 else
   1648   $as_echo "$as_me: program exited with status $ac_status" >&5
   1649        $as_echo "$as_me: failed program was:" >&5
   1650 sed 's/^/| /' conftest.$ac_ext >&5
   1651 
   1652        ac_retval=$ac_status
   1653 fi
   1654   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656   as_fn_set_status $ac_retval
   1657 
   1658 } # ac_fn_c_try_run
   1659 
   1660 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1661 # -------------------------------------------------------
   1662 # Tests whether HEADER exists and can be compiled using the include files in
   1663 # INCLUDES, setting the cache variable VAR accordingly.
   1664 ac_fn_c_check_header_compile ()
   1665 {
   1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1668 $as_echo_n "checking for $2... " >&6; }
   1669 if eval \${$3+:} false; then :
   1670   $as_echo_n "(cached) " >&6
   1671 else
   1672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1673 /* end confdefs.h.  */
   1674 $4
   1675 #include <$2>
   1676 _ACEOF
   1677 if ac_fn_c_try_compile "$LINENO"; then :
   1678   eval "$3=yes"
   1679 else
   1680   eval "$3=no"
   1681 fi
   1682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1683 fi
   1684 eval ac_res=\$$3
   1685 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1686 $as_echo "$ac_res" >&6; }
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688 
   1689 } # ac_fn_c_check_header_compile
   1690 
   1691 # ac_fn_c_try_link LINENO
   1692 # -----------------------
   1693 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1694 ac_fn_c_try_link ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   rm -f conftest.$ac_objext conftest$ac_exeext
   1698   if { { ac_try="$ac_link"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_link") 2>conftest.err
   1706   ac_status=$?
   1707   if test -s conftest.err; then
   1708     grep -v '^ *+' conftest.err >conftest.er1
   1709     cat conftest.er1 >&5
   1710     mv -f conftest.er1 conftest.err
   1711   fi
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; } && {
   1714 	 test -z "$ac_c_werror_flag" ||
   1715 	 test ! -s conftest.err
   1716        } && test -s conftest$ac_exeext && {
   1717 	 test "$cross_compiling" = yes ||
   1718 	 $as_test_x conftest$ac_exeext
   1719        }; then :
   1720   ac_retval=0
   1721 else
   1722   $as_echo "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725 	ac_retval=1
   1726 fi
   1727   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1728   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1729   # interfere with the next link command; also delete a directory that is
   1730   # left behind by Apple's compiler.  We do this before executing the actions.
   1731   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1733   as_fn_set_status $ac_retval
   1734 
   1735 } # ac_fn_c_try_link
   1736 
   1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1738 # -------------------------------------------------------
   1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1740 # the include files in INCLUDES and setting the cache variable VAR
   1741 # accordingly.
   1742 ac_fn_c_check_header_mongrel ()
   1743 {
   1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1745   if eval \${$3+:} false; then :
   1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1747 $as_echo_n "checking for $2... " >&6; }
   1748 if eval \${$3+:} false; then :
   1749   $as_echo_n "(cached) " >&6
   1750 fi
   1751 eval ac_res=\$$3
   1752 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1753 $as_echo "$ac_res" >&6; }
   1754 else
   1755   # Is the header compilable?
   1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1757 $as_echo_n "checking $2 usability... " >&6; }
   1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1759 /* end confdefs.h.  */
   1760 $4
   1761 #include <$2>
   1762 _ACEOF
   1763 if ac_fn_c_try_compile "$LINENO"; then :
   1764   ac_header_compiler=yes
   1765 else
   1766   ac_header_compiler=no
   1767 fi
   1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1770 $as_echo "$ac_header_compiler" >&6; }
   1771 
   1772 # Is the header present?
   1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1774 $as_echo_n "checking $2 presence... " >&6; }
   1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1776 /* end confdefs.h.  */
   1777 #include <$2>
   1778 _ACEOF
   1779 if ac_fn_c_try_cpp "$LINENO"; then :
   1780   ac_header_preproc=yes
   1781 else
   1782   ac_header_preproc=no
   1783 fi
   1784 rm -f conftest.err conftest.i conftest.$ac_ext
   1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1786 $as_echo "$ac_header_preproc" >&6; }
   1787 
   1788 # So?  What about this header?
   1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1790   yes:no: )
   1791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1795     ;;
   1796   no:yes:* )
   1797     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1800 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1803     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1804 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1805     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1807 ( $as_echo "## ---------------------------------------------------------------------- ##
   1808 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1809 ## ---------------------------------------------------------------------- ##"
   1810      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1811     ;;
   1812 esac
   1813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1814 $as_echo_n "checking for $2... " >&6; }
   1815 if eval \${$3+:} false; then :
   1816   $as_echo_n "(cached) " >&6
   1817 else
   1818   eval "$3=\$ac_header_compiler"
   1819 fi
   1820 eval ac_res=\$$3
   1821 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1822 $as_echo "$ac_res" >&6; }
   1823 fi
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825 
   1826 } # ac_fn_c_check_header_mongrel
   1827 
   1828 # ac_fn_c_check_func LINENO FUNC VAR
   1829 # ----------------------------------
   1830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1831 ac_fn_c_check_func ()
   1832 {
   1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1835 $as_echo_n "checking for $2... " >&6; }
   1836 if eval \${$3+:} false; then :
   1837   $as_echo_n "(cached) " >&6
   1838 else
   1839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1840 /* end confdefs.h.  */
   1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1843 #define $2 innocuous_$2
   1844 
   1845 /* System header to define __stub macros and hopefully few prototypes,
   1846     which can conflict with char $2 (); below.
   1847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1848     <limits.h> exists even on freestanding compilers.  */
   1849 
   1850 #ifdef __STDC__
   1851 # include <limits.h>
   1852 #else
   1853 # include <assert.h>
   1854 #endif
   1855 
   1856 #undef $2
   1857 
   1858 /* Override any GCC internal prototype to avoid an error.
   1859    Use char because int might match the return type of a GCC
   1860    builtin and then its argument prototype would still apply.  */
   1861 #ifdef __cplusplus
   1862 extern "C"
   1863 #endif
   1864 char $2 ();
   1865 /* The GNU C library defines this for functions which it implements
   1866     to always fail with ENOSYS.  Some functions are actually named
   1867     something starting with __ and the normal name is an alias.  */
   1868 #if defined __stub_$2 || defined __stub___$2
   1869 choke me
   1870 #endif
   1871 
   1872 int
   1873 main ()
   1874 {
   1875 return $2 ();
   1876   ;
   1877   return 0;
   1878 }
   1879 _ACEOF
   1880 if ac_fn_c_try_link "$LINENO"; then :
   1881   eval "$3=yes"
   1882 else
   1883   eval "$3=no"
   1884 fi
   1885 rm -f core conftest.err conftest.$ac_objext \
   1886     conftest$ac_exeext conftest.$ac_ext
   1887 fi
   1888 eval ac_res=\$$3
   1889 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1890 $as_echo "$ac_res" >&6; }
   1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1892 
   1893 } # ac_fn_c_check_func
   1894 
   1895 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1896 # ----------------------------------------------------
   1897 # Tries to find if the field MEMBER exists in type AGGR, after including
   1898 # INCLUDES, setting cache variable VAR accordingly.
   1899 ac_fn_c_check_member ()
   1900 {
   1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1903 $as_echo_n "checking for $2.$3... " >&6; }
   1904 if eval \${$4+:} false; then :
   1905   $as_echo_n "(cached) " >&6
   1906 else
   1907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1908 /* end confdefs.h.  */
   1909 $5
   1910 int
   1911 main ()
   1912 {
   1913 static $2 ac_aggr;
   1914 if (ac_aggr.$3)
   1915 return 0;
   1916   ;
   1917   return 0;
   1918 }
   1919 _ACEOF
   1920 if ac_fn_c_try_compile "$LINENO"; then :
   1921   eval "$4=yes"
   1922 else
   1923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1924 /* end confdefs.h.  */
   1925 $5
   1926 int
   1927 main ()
   1928 {
   1929 static $2 ac_aggr;
   1930 if (sizeof ac_aggr.$3)
   1931 return 0;
   1932   ;
   1933   return 0;
   1934 }
   1935 _ACEOF
   1936 if ac_fn_c_try_compile "$LINENO"; then :
   1937   eval "$4=yes"
   1938 else
   1939   eval "$4=no"
   1940 fi
   1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1942 fi
   1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1944 fi
   1945 eval ac_res=\$$4
   1946 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1947 $as_echo "$ac_res" >&6; }
   1948   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1949 
   1950 } # ac_fn_c_check_member
   1951 
   1952 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1953 # -------------------------------------------
   1954 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1955 # variable VAR accordingly.
   1956 ac_fn_c_check_type ()
   1957 {
   1958   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1960 $as_echo_n "checking for $2... " >&6; }
   1961 if eval \${$3+:} false; then :
   1962   $as_echo_n "(cached) " >&6
   1963 else
   1964   eval "$3=no"
   1965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1966 /* end confdefs.h.  */
   1967 $4
   1968 int
   1969 main ()
   1970 {
   1971 if (sizeof ($2))
   1972 	 return 0;
   1973   ;
   1974   return 0;
   1975 }
   1976 _ACEOF
   1977 if ac_fn_c_try_compile "$LINENO"; then :
   1978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1979 /* end confdefs.h.  */
   1980 $4
   1981 int
   1982 main ()
   1983 {
   1984 if (sizeof (($2)))
   1985 	    return 0;
   1986   ;
   1987   return 0;
   1988 }
   1989 _ACEOF
   1990 if ac_fn_c_try_compile "$LINENO"; then :
   1991 
   1992 else
   1993   eval "$3=yes"
   1994 fi
   1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1996 fi
   1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1998 fi
   1999 eval ac_res=\$$3
   2000 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2001 $as_echo "$ac_res" >&6; }
   2002   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2003 
   2004 } # ac_fn_c_check_type
   2005 cat >config.log <<_ACEOF
   2006 This file contains any messages produced by compilers while
   2007 running configure, to aid debugging if configure makes a mistake.
   2008 
   2009 It was created by xauth $as_me 1.0.7, which was
   2010 generated by GNU Autoconf 2.68.  Invocation command line was
   2011 
   2012   $ $0 $@
   2013 
   2014 _ACEOF
   2015 exec 5>>config.log
   2016 {
   2017 cat <<_ASUNAME
   2018 ## --------- ##
   2019 ## Platform. ##
   2020 ## --------- ##
   2021 
   2022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2027 
   2028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2029 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2030 
   2031 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2032 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2034 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2035 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2036 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2037 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2038 
   2039 _ASUNAME
   2040 
   2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2042 for as_dir in $PATH
   2043 do
   2044   IFS=$as_save_IFS
   2045   test -z "$as_dir" && as_dir=.
   2046     $as_echo "PATH: $as_dir"
   2047   done
   2048 IFS=$as_save_IFS
   2049 
   2050 } >&5
   2051 
   2052 cat >&5 <<_ACEOF
   2053 
   2054 
   2055 ## ----------- ##
   2056 ## Core tests. ##
   2057 ## ----------- ##
   2058 
   2059 _ACEOF
   2060 
   2061 
   2062 # Keep a trace of the command line.
   2063 # Strip out --no-create and --no-recursion so they do not pile up.
   2064 # Strip out --silent because we don't want to record it for future runs.
   2065 # Also quote any args containing shell meta-characters.
   2066 # Make two passes to allow for proper duplicate-argument suppression.
   2067 ac_configure_args=
   2068 ac_configure_args0=
   2069 ac_configure_args1=
   2070 ac_must_keep_next=false
   2071 for ac_pass in 1 2
   2072 do
   2073   for ac_arg
   2074   do
   2075     case $ac_arg in
   2076     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2077     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2078     | -silent | --silent | --silen | --sile | --sil)
   2079       continue ;;
   2080     *\'*)
   2081       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2082     esac
   2083     case $ac_pass in
   2084     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2085     2)
   2086       as_fn_append ac_configure_args1 " '$ac_arg'"
   2087       if test $ac_must_keep_next = true; then
   2088 	ac_must_keep_next=false # Got value, back to normal.
   2089       else
   2090 	case $ac_arg in
   2091 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2092 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2093 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2094 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2095 	    case "$ac_configure_args0 " in
   2096 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2097 	    esac
   2098 	    ;;
   2099 	  -* ) ac_must_keep_next=true ;;
   2100 	esac
   2101       fi
   2102       as_fn_append ac_configure_args " '$ac_arg'"
   2103       ;;
   2104     esac
   2105   done
   2106 done
   2107 { ac_configure_args0=; unset ac_configure_args0;}
   2108 { ac_configure_args1=; unset ac_configure_args1;}
   2109 
   2110 # When interrupted or exit'd, cleanup temporary files, and complete
   2111 # config.log.  We remove comments because anyway the quotes in there
   2112 # would cause problems or look ugly.
   2113 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2114 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2115 trap 'exit_status=$?
   2116   # Save into config.log some information that might help in debugging.
   2117   {
   2118     echo
   2119 
   2120     $as_echo "## ---------------- ##
   2121 ## Cache variables. ##
   2122 ## ---------------- ##"
   2123     echo
   2124     # The following way of writing the cache mishandles newlines in values,
   2125 (
   2126   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2127     eval ac_val=\$$ac_var
   2128     case $ac_val in #(
   2129     *${as_nl}*)
   2130       case $ac_var in #(
   2131       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2133       esac
   2134       case $ac_var in #(
   2135       _ | IFS | as_nl) ;; #(
   2136       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2137       *) { eval $ac_var=; unset $ac_var;} ;;
   2138       esac ;;
   2139     esac
   2140   done
   2141   (set) 2>&1 |
   2142     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2143     *${as_nl}ac_space=\ *)
   2144       sed -n \
   2145 	"s/'\''/'\''\\\\'\'''\''/g;
   2146 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2147       ;; #(
   2148     *)
   2149       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2150       ;;
   2151     esac |
   2152     sort
   2153 )
   2154     echo
   2155 
   2156     $as_echo "## ----------------- ##
   2157 ## Output variables. ##
   2158 ## ----------------- ##"
   2159     echo
   2160     for ac_var in $ac_subst_vars
   2161     do
   2162       eval ac_val=\$$ac_var
   2163       case $ac_val in
   2164       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2165       esac
   2166       $as_echo "$ac_var='\''$ac_val'\''"
   2167     done | sort
   2168     echo
   2169 
   2170     if test -n "$ac_subst_files"; then
   2171       $as_echo "## ------------------- ##
   2172 ## File substitutions. ##
   2173 ## ------------------- ##"
   2174       echo
   2175       for ac_var in $ac_subst_files
   2176       do
   2177 	eval ac_val=\$$ac_var
   2178 	case $ac_val in
   2179 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2180 	esac
   2181 	$as_echo "$ac_var='\''$ac_val'\''"
   2182       done | sort
   2183       echo
   2184     fi
   2185 
   2186     if test -s confdefs.h; then
   2187       $as_echo "## ----------- ##
   2188 ## confdefs.h. ##
   2189 ## ----------- ##"
   2190       echo
   2191       cat confdefs.h
   2192       echo
   2193     fi
   2194     test "$ac_signal" != 0 &&
   2195       $as_echo "$as_me: caught signal $ac_signal"
   2196     $as_echo "$as_me: exit $exit_status"
   2197   } >&5
   2198   rm -f core *.core core.conftest.* &&
   2199     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2200     exit $exit_status
   2201 ' 0
   2202 for ac_signal in 1 2 13 15; do
   2203   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2204 done
   2205 ac_signal=0
   2206 
   2207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2208 rm -f -r conftest* confdefs.h
   2209 
   2210 $as_echo "/* confdefs.h */" > confdefs.h
   2211 
   2212 # Predefined preprocessor variables.
   2213 
   2214 cat >>confdefs.h <<_ACEOF
   2215 #define PACKAGE_NAME "$PACKAGE_NAME"
   2216 _ACEOF
   2217 
   2218 cat >>confdefs.h <<_ACEOF
   2219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2220 _ACEOF
   2221 
   2222 cat >>confdefs.h <<_ACEOF
   2223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2224 _ACEOF
   2225 
   2226 cat >>confdefs.h <<_ACEOF
   2227 #define PACKAGE_STRING "$PACKAGE_STRING"
   2228 _ACEOF
   2229 
   2230 cat >>confdefs.h <<_ACEOF
   2231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2232 _ACEOF
   2233 
   2234 cat >>confdefs.h <<_ACEOF
   2235 #define PACKAGE_URL "$PACKAGE_URL"
   2236 _ACEOF
   2237 
   2238 
   2239 # Let the site file select an alternate cache file if it wants to.
   2240 # Prefer an explicitly selected file to automatically selected ones.
   2241 ac_site_file1=NONE
   2242 ac_site_file2=NONE
   2243 if test -n "$CONFIG_SITE"; then
   2244   # We do not want a PATH search for config.site.
   2245   case $CONFIG_SITE in #((
   2246     -*)  ac_site_file1=./$CONFIG_SITE;;
   2247     */*) ac_site_file1=$CONFIG_SITE;;
   2248     *)   ac_site_file1=./$CONFIG_SITE;;
   2249   esac
   2250 elif test "x$prefix" != xNONE; then
   2251   ac_site_file1=$prefix/share/config.site
   2252   ac_site_file2=$prefix/etc/config.site
   2253 else
   2254   ac_site_file1=$ac_default_prefix/share/config.site
   2255   ac_site_file2=$ac_default_prefix/etc/config.site
   2256 fi
   2257 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2258 do
   2259   test "x$ac_site_file" = xNONE && continue
   2260   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2261     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2262 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2263     sed 's/^/| /' "$ac_site_file" >&5
   2264     . "$ac_site_file" \
   2265       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2267 as_fn_error $? "failed to load site script $ac_site_file
   2268 See \`config.log' for more details" "$LINENO" 5; }
   2269   fi
   2270 done
   2271 
   2272 if test -r "$cache_file"; then
   2273   # Some versions of bash will fail to source /dev/null (special files
   2274   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2275   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2276     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2277 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2278     case $cache_file in
   2279       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2280       *)                      . "./$cache_file";;
   2281     esac
   2282   fi
   2283 else
   2284   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2285 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2286   >$cache_file
   2287 fi
   2288 
   2289 # Check that the precious variables saved in the cache have kept the same
   2290 # value.
   2291 ac_cache_corrupted=false
   2292 for ac_var in $ac_precious_vars; do
   2293   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2294   eval ac_new_set=\$ac_env_${ac_var}_set
   2295   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2296   eval ac_new_val=\$ac_env_${ac_var}_value
   2297   case $ac_old_set,$ac_new_set in
   2298     set,)
   2299       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2300 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2301       ac_cache_corrupted=: ;;
   2302     ,set)
   2303       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2304 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2305       ac_cache_corrupted=: ;;
   2306     ,);;
   2307     *)
   2308       if test "x$ac_old_val" != "x$ac_new_val"; then
   2309 	# differences in whitespace do not lead to failure.
   2310 	ac_old_val_w=`echo x $ac_old_val`
   2311 	ac_new_val_w=`echo x $ac_new_val`
   2312 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2313 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2314 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2315 	  ac_cache_corrupted=:
   2316 	else
   2317 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2318 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2319 	  eval $ac_var=\$ac_old_val
   2320 	fi
   2321 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2322 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2323 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2324 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2325       fi;;
   2326   esac
   2327   # Pass precious variables to config.status.
   2328   if test "$ac_new_set" = set; then
   2329     case $ac_new_val in
   2330     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2331     *) ac_arg=$ac_var=$ac_new_val ;;
   2332     esac
   2333     case " $ac_configure_args " in
   2334       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2335       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2336     esac
   2337   fi
   2338 done
   2339 if $ac_cache_corrupted; then
   2340   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2343 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2344   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2345 fi
   2346 ## -------------------- ##
   2347 ## Main body of script. ##
   2348 ## -------------------- ##
   2349 
   2350 ac_ext=c
   2351 ac_cpp='$CPP $CPPFLAGS'
   2352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2355 
   2356 
   2357 am__api_version='1.11'
   2358 
   2359 ac_aux_dir=
   2360 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2361   if test -f "$ac_dir/install-sh"; then
   2362     ac_aux_dir=$ac_dir
   2363     ac_install_sh="$ac_aux_dir/install-sh -c"
   2364     break
   2365   elif test -f "$ac_dir/install.sh"; then
   2366     ac_aux_dir=$ac_dir
   2367     ac_install_sh="$ac_aux_dir/install.sh -c"
   2368     break
   2369   elif test -f "$ac_dir/shtool"; then
   2370     ac_aux_dir=$ac_dir
   2371     ac_install_sh="$ac_aux_dir/shtool install -c"
   2372     break
   2373   fi
   2374 done
   2375 if test -z "$ac_aux_dir"; then
   2376   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2377 fi
   2378 
   2379 # These three variables are undocumented and unsupported,
   2380 # and are intended to be withdrawn in a future Autoconf release.
   2381 # They can cause serious problems if a builder's source tree is in a directory
   2382 # whose full name contains unusual characters.
   2383 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2384 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2385 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2386 
   2387 
   2388 # Find a good install program.  We prefer a C program (faster),
   2389 # so one script is as good as another.  But avoid the broken or
   2390 # incompatible versions:
   2391 # SysV /etc/install, /usr/sbin/install
   2392 # SunOS /usr/etc/install
   2393 # IRIX /sbin/install
   2394 # AIX /bin/install
   2395 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2399 # OS/2's system install, which has a completely different semantic
   2400 # ./install, which can be erroneously created by make from ./install.sh.
   2401 # Reject install programs that cannot install multiple files.
   2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2403 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2404 if test -z "$INSTALL"; then
   2405 if ${ac_cv_path_install+:} false; then :
   2406   $as_echo_n "(cached) " >&6
   2407 else
   2408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2409 for as_dir in $PATH
   2410 do
   2411   IFS=$as_save_IFS
   2412   test -z "$as_dir" && as_dir=.
   2413     # Account for people who put trailing slashes in PATH elements.
   2414 case $as_dir/ in #((
   2415   ./ | .// | /[cC]/* | \
   2416   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2417   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2418   /usr/ucb/* ) ;;
   2419   *)
   2420     # OSF1 and SCO ODT 3.0 have their own names for install.
   2421     # Don't use installbsd from OSF since it installs stuff as root
   2422     # by default.
   2423     for ac_prog in ginstall scoinst install; do
   2424       for ac_exec_ext in '' $ac_executable_extensions; do
   2425 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2426 	  if test $ac_prog = install &&
   2427 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2428 	    # AIX install.  It has an incompatible calling convention.
   2429 	    :
   2430 	  elif test $ac_prog = install &&
   2431 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2432 	    # program-specific install script used by HP pwplus--don't use.
   2433 	    :
   2434 	  else
   2435 	    rm -rf conftest.one conftest.two conftest.dir
   2436 	    echo one > conftest.one
   2437 	    echo two > conftest.two
   2438 	    mkdir conftest.dir
   2439 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2440 	      test -s conftest.one && test -s conftest.two &&
   2441 	      test -s conftest.dir/conftest.one &&
   2442 	      test -s conftest.dir/conftest.two
   2443 	    then
   2444 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2445 	      break 3
   2446 	    fi
   2447 	  fi
   2448 	fi
   2449       done
   2450     done
   2451     ;;
   2452 esac
   2453 
   2454   done
   2455 IFS=$as_save_IFS
   2456 
   2457 rm -rf conftest.one conftest.two conftest.dir
   2458 
   2459 fi
   2460   if test "${ac_cv_path_install+set}" = set; then
   2461     INSTALL=$ac_cv_path_install
   2462   else
   2463     # As a last resort, use the slow shell script.  Don't cache a
   2464     # value for INSTALL within a source directory, because that will
   2465     # break other packages using the cache if that directory is
   2466     # removed, or if the value is a relative name.
   2467     INSTALL=$ac_install_sh
   2468   fi
   2469 fi
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2471 $as_echo "$INSTALL" >&6; }
   2472 
   2473 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2474 # It thinks the first close brace ends the variable substitution.
   2475 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2476 
   2477 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2478 
   2479 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2480 
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2482 $as_echo_n "checking whether build environment is sane... " >&6; }
   2483 # Just in case
   2484 sleep 1
   2485 echo timestamp > conftest.file
   2486 # Reject unsafe characters in $srcdir or the absolute working directory
   2487 # name.  Accept space and tab only in the latter.
   2488 am_lf='
   2489 '
   2490 case `pwd` in
   2491   *[\\\"\#\$\&\'\`$am_lf]*)
   2492     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2493 esac
   2494 case $srcdir in
   2495   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2496     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2497 esac
   2498 
   2499 # Do `set' in a subshell so we don't clobber the current shell's
   2500 # arguments.  Must try -L first in case configure is actually a
   2501 # symlink; some systems play weird games with the mod time of symlinks
   2502 # (eg FreeBSD returns the mod time of the symlink's containing
   2503 # directory).
   2504 if (
   2505    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2506    if test "$*" = "X"; then
   2507       # -L didn't work.
   2508       set X `ls -t "$srcdir/configure" conftest.file`
   2509    fi
   2510    rm -f conftest.file
   2511    if test "$*" != "X $srcdir/configure conftest.file" \
   2512       && test "$*" != "X conftest.file $srcdir/configure"; then
   2513 
   2514       # If neither matched, then we have a broken ls.  This can happen
   2515       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2516       # broken ls alias from the environment.  This has actually
   2517       # happened.  Such a system could not be considered "sane".
   2518       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2519 alias in your environment" "$LINENO" 5
   2520    fi
   2521 
   2522    test "$2" = conftest.file
   2523    )
   2524 then
   2525    # Ok.
   2526    :
   2527 else
   2528    as_fn_error $? "newly created file is older than distributed files!
   2529 Check your system clock" "$LINENO" 5
   2530 fi
   2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2532 $as_echo "yes" >&6; }
   2533 test "$program_prefix" != NONE &&
   2534   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2535 # Use a double $ so make ignores it.
   2536 test "$program_suffix" != NONE &&
   2537   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2538 # Double any \ or $.
   2539 # By default was `s,x,x', remove it if useless.
   2540 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2541 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2542 
   2543 # expand $ac_aux_dir to an absolute path
   2544 am_aux_dir=`cd $ac_aux_dir && pwd`
   2545 
   2546 if test x"${MISSING+set}" != xset; then
   2547   case $am_aux_dir in
   2548   *\ * | *\	*)
   2549     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2550   *)
   2551     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2552   esac
   2553 fi
   2554 # Use eval to expand $SHELL
   2555 if eval "$MISSING --run true"; then
   2556   am_missing_run="$MISSING --run "
   2557 else
   2558   am_missing_run=
   2559   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2560 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2561 fi
   2562 
   2563 if test x"${install_sh}" != xset; then
   2564   case $am_aux_dir in
   2565   *\ * | *\	*)
   2566     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2567   *)
   2568     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2569   esac
   2570 fi
   2571 
   2572 # Installed binaries are usually stripped using `strip' when the user
   2573 # run `make install-strip'.  However `strip' might not be the right
   2574 # tool to use in cross-compilation environments, therefore Automake
   2575 # will honor the `STRIP' environment variable to overrule this program.
   2576 if test "$cross_compiling" != no; then
   2577   if test -n "$ac_tool_prefix"; then
   2578   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2579 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2581 $as_echo_n "checking for $ac_word... " >&6; }
   2582 if ${ac_cv_prog_STRIP+:} false; then :
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   if test -n "$STRIP"; then
   2586   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2587 else
   2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593     for ac_exec_ext in '' $ac_executable_extensions; do
   2594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2595     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2597     break 2
   2598   fi
   2599 done
   2600   done
   2601 IFS=$as_save_IFS
   2602 
   2603 fi
   2604 fi
   2605 STRIP=$ac_cv_prog_STRIP
   2606 if test -n "$STRIP"; then
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2608 $as_echo "$STRIP" >&6; }
   2609 else
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612 fi
   2613 
   2614 
   2615 fi
   2616 if test -z "$ac_cv_prog_STRIP"; then
   2617   ac_ct_STRIP=$STRIP
   2618   # Extract the first word of "strip", so it can be a program name with args.
   2619 set dummy strip; ac_word=$2
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2621 $as_echo_n "checking for $ac_word... " >&6; }
   2622 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2623   $as_echo_n "(cached) " >&6
   2624 else
   2625   if test -n "$ac_ct_STRIP"; then
   2626   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2627 else
   2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2629 for as_dir in $PATH
   2630 do
   2631   IFS=$as_save_IFS
   2632   test -z "$as_dir" && as_dir=.
   2633     for ac_exec_ext in '' $ac_executable_extensions; do
   2634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2635     ac_cv_prog_ac_ct_STRIP="strip"
   2636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2637     break 2
   2638   fi
   2639 done
   2640   done
   2641 IFS=$as_save_IFS
   2642 
   2643 fi
   2644 fi
   2645 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2646 if test -n "$ac_ct_STRIP"; then
   2647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2648 $as_echo "$ac_ct_STRIP" >&6; }
   2649 else
   2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2651 $as_echo "no" >&6; }
   2652 fi
   2653 
   2654   if test "x$ac_ct_STRIP" = x; then
   2655     STRIP=":"
   2656   else
   2657     case $cross_compiling:$ac_tool_warned in
   2658 yes:)
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2661 ac_tool_warned=yes ;;
   2662 esac
   2663     STRIP=$ac_ct_STRIP
   2664   fi
   2665 else
   2666   STRIP="$ac_cv_prog_STRIP"
   2667 fi
   2668 
   2669 fi
   2670 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2671 
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2673 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2674 if test -z "$MKDIR_P"; then
   2675   if ${ac_cv_path_mkdir+:} false; then :
   2676   $as_echo_n "(cached) " >&6
   2677 else
   2678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2679 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2680 do
   2681   IFS=$as_save_IFS
   2682   test -z "$as_dir" && as_dir=.
   2683     for ac_prog in mkdir gmkdir; do
   2684 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2685 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2686 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2687 	     'mkdir (GNU coreutils) '* | \
   2688 	     'mkdir (coreutils) '* | \
   2689 	     'mkdir (fileutils) '4.1*)
   2690 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2691 	       break 3;;
   2692 	   esac
   2693 	 done
   2694        done
   2695   done
   2696 IFS=$as_save_IFS
   2697 
   2698 fi
   2699 
   2700   test -d ./--version && rmdir ./--version
   2701   if test "${ac_cv_path_mkdir+set}" = set; then
   2702     MKDIR_P="$ac_cv_path_mkdir -p"
   2703   else
   2704     # As a last resort, use the slow shell script.  Don't cache a
   2705     # value for MKDIR_P within a source directory, because that will
   2706     # break other packages using the cache if that directory is
   2707     # removed, or if the value is a relative name.
   2708     MKDIR_P="$ac_install_sh -d"
   2709   fi
   2710 fi
   2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2712 $as_echo "$MKDIR_P" >&6; }
   2713 
   2714 mkdir_p="$MKDIR_P"
   2715 case $mkdir_p in
   2716   [\\/$]* | ?:[\\/]*) ;;
   2717   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2718 esac
   2719 
   2720 for ac_prog in gawk mawk nawk awk
   2721 do
   2722   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2723 set dummy $ac_prog; ac_word=$2
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2725 $as_echo_n "checking for $ac_word... " >&6; }
   2726 if ${ac_cv_prog_AWK+:} false; then :
   2727   $as_echo_n "(cached) " >&6
   2728 else
   2729   if test -n "$AWK"; then
   2730   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2731 else
   2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH
   2734 do
   2735   IFS=$as_save_IFS
   2736   test -z "$as_dir" && as_dir=.
   2737     for ac_exec_ext in '' $ac_executable_extensions; do
   2738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2739     ac_cv_prog_AWK="$ac_prog"
   2740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2741     break 2
   2742   fi
   2743 done
   2744   done
   2745 IFS=$as_save_IFS
   2746 
   2747 fi
   2748 fi
   2749 AWK=$ac_cv_prog_AWK
   2750 if test -n "$AWK"; then
   2751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2752 $as_echo "$AWK" >&6; }
   2753 else
   2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2755 $as_echo "no" >&6; }
   2756 fi
   2757 
   2758 
   2759   test -n "$AWK" && break
   2760 done
   2761 
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2763 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2764 set x ${MAKE-make}
   2765 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2766 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2767   $as_echo_n "(cached) " >&6
   2768 else
   2769   cat >conftest.make <<\_ACEOF
   2770 SHELL = /bin/sh
   2771 all:
   2772 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2773 _ACEOF
   2774 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2775 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2776   *@@@%%%=?*=@@@%%%*)
   2777     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2778   *)
   2779     eval ac_cv_prog_make_${ac_make}_set=no;;
   2780 esac
   2781 rm -f conftest.make
   2782 fi
   2783 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2785 $as_echo "yes" >&6; }
   2786   SET_MAKE=
   2787 else
   2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2789 $as_echo "no" >&6; }
   2790   SET_MAKE="MAKE=${MAKE-make}"
   2791 fi
   2792 
   2793 rm -rf .tst 2>/dev/null
   2794 mkdir .tst 2>/dev/null
   2795 if test -d .tst; then
   2796   am__leading_dot=.
   2797 else
   2798   am__leading_dot=_
   2799 fi
   2800 rmdir .tst 2>/dev/null
   2801 
   2802 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2803   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2804   # is not polluted with repeated "-I."
   2805   am__isrc=' -I$(srcdir)'
   2806   # test to see if srcdir already configured
   2807   if test -f $srcdir/config.status; then
   2808     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2809   fi
   2810 fi
   2811 
   2812 # test whether we have cygpath
   2813 if test -z "$CYGPATH_W"; then
   2814   if (cygpath --version) >/dev/null 2>/dev/null; then
   2815     CYGPATH_W='cygpath -w'
   2816   else
   2817     CYGPATH_W=echo
   2818   fi
   2819 fi
   2820 
   2821 
   2822 # Define the identity of the package.
   2823  PACKAGE='xauth'
   2824  VERSION='1.0.7'
   2825 
   2826 
   2827 cat >>confdefs.h <<_ACEOF
   2828 #define PACKAGE "$PACKAGE"
   2829 _ACEOF
   2830 
   2831 
   2832 cat >>confdefs.h <<_ACEOF
   2833 #define VERSION "$VERSION"
   2834 _ACEOF
   2835 
   2836 # Some tools Automake needs.
   2837 
   2838 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2839 
   2840 
   2841 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2842 
   2843 
   2844 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2845 
   2846 
   2847 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2848 
   2849 
   2850 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2851 
   2852 # We need awk for the "check" target.  The system "awk" is bad on
   2853 # some platforms.
   2854 # Always define AMTAR for backward compatibility.
   2855 
   2856 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2857 
   2858 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2859 
   2860 
   2861 
   2862 
   2863 
   2864 
   2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2866 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2867     # Check whether --enable-maintainer-mode was given.
   2868 if test "${enable_maintainer_mode+set}" = set; then :
   2869   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2870 else
   2871   USE_MAINTAINER_MODE=no
   2872 fi
   2873 
   2874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2875 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2876    if test $USE_MAINTAINER_MODE = yes; then
   2877   MAINTAINER_MODE_TRUE=
   2878   MAINTAINER_MODE_FALSE='#'
   2879 else
   2880   MAINTAINER_MODE_TRUE='#'
   2881   MAINTAINER_MODE_FALSE=
   2882 fi
   2883 
   2884   MAINT=$MAINTAINER_MODE_TRUE
   2885 
   2886 
   2887 
   2888 ac_config_headers="$ac_config_headers config.h"
   2889 
   2890 
   2891 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 
   2903 DEPDIR="${am__leading_dot}deps"
   2904 
   2905 ac_config_commands="$ac_config_commands depfiles"
   2906 
   2907 
   2908 am_make=${MAKE-make}
   2909 cat > confinc << 'END'
   2910 am__doit:
   2911 	@echo this is the am__doit target
   2912 .PHONY: am__doit
   2913 END
   2914 # If we don't find an include directive, just comment out the code.
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2916 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2917 am__include="#"
   2918 am__quote=
   2919 _am_result=none
   2920 # First try GNU make style include.
   2921 echo "include confinc" > confmf
   2922 # Ignore all kinds of additional output from `make'.
   2923 case `$am_make -s -f confmf 2> /dev/null` in #(
   2924 *the\ am__doit\ target*)
   2925   am__include=include
   2926   am__quote=
   2927   _am_result=GNU
   2928   ;;
   2929 esac
   2930 # Now try BSD make style include.
   2931 if test "$am__include" = "#"; then
   2932    echo '.include "confinc"' > confmf
   2933    case `$am_make -s -f confmf 2> /dev/null` in #(
   2934    *the\ am__doit\ target*)
   2935      am__include=.include
   2936      am__quote="\""
   2937      _am_result=BSD
   2938      ;;
   2939    esac
   2940 fi
   2941 
   2942 
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2944 $as_echo "$_am_result" >&6; }
   2945 rm -f confinc confmf
   2946 
   2947 # Check whether --enable-dependency-tracking was given.
   2948 if test "${enable_dependency_tracking+set}" = set; then :
   2949   enableval=$enable_dependency_tracking;
   2950 fi
   2951 
   2952 if test "x$enable_dependency_tracking" != xno; then
   2953   am_depcomp="$ac_aux_dir/depcomp"
   2954   AMDEPBACKSLASH='\'
   2955 fi
   2956  if test "x$enable_dependency_tracking" != xno; then
   2957   AMDEP_TRUE=
   2958   AMDEP_FALSE='#'
   2959 else
   2960   AMDEP_TRUE='#'
   2961   AMDEP_FALSE=
   2962 fi
   2963 
   2964 
   2965 ac_ext=c
   2966 ac_cpp='$CPP $CPPFLAGS'
   2967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2970 if test -n "$ac_tool_prefix"; then
   2971   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2972 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2974 $as_echo_n "checking for $ac_word... " >&6; }
   2975 if ${ac_cv_prog_CC+:} false; then :
   2976   $as_echo_n "(cached) " >&6
   2977 else
   2978   if test -n "$CC"; then
   2979   ac_cv_prog_CC="$CC" # Let the user override the test.
   2980 else
   2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2982 for as_dir in $PATH
   2983 do
   2984   IFS=$as_save_IFS
   2985   test -z "$as_dir" && as_dir=.
   2986     for ac_exec_ext in '' $ac_executable_extensions; do
   2987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2988     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2990     break 2
   2991   fi
   2992 done
   2993   done
   2994 IFS=$as_save_IFS
   2995 
   2996 fi
   2997 fi
   2998 CC=$ac_cv_prog_CC
   2999 if test -n "$CC"; then
   3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3001 $as_echo "$CC" >&6; }
   3002 else
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3004 $as_echo "no" >&6; }
   3005 fi
   3006 
   3007 
   3008 fi
   3009 if test -z "$ac_cv_prog_CC"; then
   3010   ac_ct_CC=$CC
   3011   # Extract the first word of "gcc", so it can be a program name with args.
   3012 set dummy gcc; ac_word=$2
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3014 $as_echo_n "checking for $ac_word... " >&6; }
   3015 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3016   $as_echo_n "(cached) " >&6
   3017 else
   3018   if test -n "$ac_ct_CC"; then
   3019   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3020 else
   3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3022 for as_dir in $PATH
   3023 do
   3024   IFS=$as_save_IFS
   3025   test -z "$as_dir" && as_dir=.
   3026     for ac_exec_ext in '' $ac_executable_extensions; do
   3027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3028     ac_cv_prog_ac_ct_CC="gcc"
   3029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3030     break 2
   3031   fi
   3032 done
   3033   done
   3034 IFS=$as_save_IFS
   3035 
   3036 fi
   3037 fi
   3038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3039 if test -n "$ac_ct_CC"; then
   3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3041 $as_echo "$ac_ct_CC" >&6; }
   3042 else
   3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3044 $as_echo "no" >&6; }
   3045 fi
   3046 
   3047   if test "x$ac_ct_CC" = x; then
   3048     CC=""
   3049   else
   3050     case $cross_compiling:$ac_tool_warned in
   3051 yes:)
   3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3054 ac_tool_warned=yes ;;
   3055 esac
   3056     CC=$ac_ct_CC
   3057   fi
   3058 else
   3059   CC="$ac_cv_prog_CC"
   3060 fi
   3061 
   3062 if test -z "$CC"; then
   3063           if test -n "$ac_tool_prefix"; then
   3064     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3065 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3067 $as_echo_n "checking for $ac_word... " >&6; }
   3068 if ${ac_cv_prog_CC+:} false; then :
   3069   $as_echo_n "(cached) " >&6
   3070 else
   3071   if test -n "$CC"; then
   3072   ac_cv_prog_CC="$CC" # Let the user override the test.
   3073 else
   3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH
   3076 do
   3077   IFS=$as_save_IFS
   3078   test -z "$as_dir" && as_dir=.
   3079     for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3081     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3083     break 2
   3084   fi
   3085 done
   3086   done
   3087 IFS=$as_save_IFS
   3088 
   3089 fi
   3090 fi
   3091 CC=$ac_cv_prog_CC
   3092 if test -n "$CC"; then
   3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3094 $as_echo "$CC" >&6; }
   3095 else
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3097 $as_echo "no" >&6; }
   3098 fi
   3099 
   3100 
   3101   fi
   3102 fi
   3103 if test -z "$CC"; then
   3104   # Extract the first word of "cc", so it can be a program name with args.
   3105 set dummy cc; ac_word=$2
   3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3107 $as_echo_n "checking for $ac_word... " >&6; }
   3108 if ${ac_cv_prog_CC+:} false; then :
   3109   $as_echo_n "(cached) " >&6
   3110 else
   3111   if test -n "$CC"; then
   3112   ac_cv_prog_CC="$CC" # Let the user override the test.
   3113 else
   3114   ac_prog_rejected=no
   3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3116 for as_dir in $PATH
   3117 do
   3118   IFS=$as_save_IFS
   3119   test -z "$as_dir" && as_dir=.
   3120     for ac_exec_ext in '' $ac_executable_extensions; do
   3121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3122     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3123        ac_prog_rejected=yes
   3124        continue
   3125      fi
   3126     ac_cv_prog_CC="cc"
   3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3128     break 2
   3129   fi
   3130 done
   3131   done
   3132 IFS=$as_save_IFS
   3133 
   3134 if test $ac_prog_rejected = yes; then
   3135   # We found a bogon in the path, so make sure we never use it.
   3136   set dummy $ac_cv_prog_CC
   3137   shift
   3138   if test $# != 0; then
   3139     # We chose a different compiler from the bogus one.
   3140     # However, it has the same basename, so the bogon will be chosen
   3141     # first if we set CC to just the basename; use the full file name.
   3142     shift
   3143     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3144   fi
   3145 fi
   3146 fi
   3147 fi
   3148 CC=$ac_cv_prog_CC
   3149 if test -n "$CC"; then
   3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3151 $as_echo "$CC" >&6; }
   3152 else
   3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3154 $as_echo "no" >&6; }
   3155 fi
   3156 
   3157 
   3158 fi
   3159 if test -z "$CC"; then
   3160   if test -n "$ac_tool_prefix"; then
   3161   for ac_prog in cl.exe
   3162   do
   3163     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3166 $as_echo_n "checking for $ac_word... " >&6; }
   3167 if ${ac_cv_prog_CC+:} false; then :
   3168   $as_echo_n "(cached) " >&6
   3169 else
   3170   if test -n "$CC"; then
   3171   ac_cv_prog_CC="$CC" # Let the user override the test.
   3172 else
   3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3174 for as_dir in $PATH
   3175 do
   3176   IFS=$as_save_IFS
   3177   test -z "$as_dir" && as_dir=.
   3178     for ac_exec_ext in '' $ac_executable_extensions; do
   3179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3180     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3182     break 2
   3183   fi
   3184 done
   3185   done
   3186 IFS=$as_save_IFS
   3187 
   3188 fi
   3189 fi
   3190 CC=$ac_cv_prog_CC
   3191 if test -n "$CC"; then
   3192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3193 $as_echo "$CC" >&6; }
   3194 else
   3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3196 $as_echo "no" >&6; }
   3197 fi
   3198 
   3199 
   3200     test -n "$CC" && break
   3201   done
   3202 fi
   3203 if test -z "$CC"; then
   3204   ac_ct_CC=$CC
   3205   for ac_prog in cl.exe
   3206 do
   3207   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3208 set dummy $ac_prog; ac_word=$2
   3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3210 $as_echo_n "checking for $ac_word... " >&6; }
   3211 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3212   $as_echo_n "(cached) " >&6
   3213 else
   3214   if test -n "$ac_ct_CC"; then
   3215   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3216 else
   3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3218 for as_dir in $PATH
   3219 do
   3220   IFS=$as_save_IFS
   3221   test -z "$as_dir" && as_dir=.
   3222     for ac_exec_ext in '' $ac_executable_extensions; do
   3223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3224     ac_cv_prog_ac_ct_CC="$ac_prog"
   3225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3226     break 2
   3227   fi
   3228 done
   3229   done
   3230 IFS=$as_save_IFS
   3231 
   3232 fi
   3233 fi
   3234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3235 if test -n "$ac_ct_CC"; then
   3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3237 $as_echo "$ac_ct_CC" >&6; }
   3238 else
   3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3240 $as_echo "no" >&6; }
   3241 fi
   3242 
   3243 
   3244   test -n "$ac_ct_CC" && break
   3245 done
   3246 
   3247   if test "x$ac_ct_CC" = x; then
   3248     CC=""
   3249   else
   3250     case $cross_compiling:$ac_tool_warned in
   3251 yes:)
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3254 ac_tool_warned=yes ;;
   3255 esac
   3256     CC=$ac_ct_CC
   3257   fi
   3258 fi
   3259 
   3260 fi
   3261 
   3262 
   3263 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3265 as_fn_error $? "no acceptable C compiler found in \$PATH
   3266 See \`config.log' for more details" "$LINENO" 5; }
   3267 
   3268 # Provide some information about the compiler.
   3269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3270 set X $ac_compile
   3271 ac_compiler=$2
   3272 for ac_option in --version -v -V -qversion; do
   3273   { { ac_try="$ac_compiler $ac_option >&5"
   3274 case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo"; } >&5
   3280   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3281   ac_status=$?
   3282   if test -s conftest.err; then
   3283     sed '10a\
   3284 ... rest of stderr output deleted ...
   3285          10q' conftest.err >conftest.er1
   3286     cat conftest.er1 >&5
   3287   fi
   3288   rm -f conftest.er1 conftest.err
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }
   3291 done
   3292 
   3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3294 /* end confdefs.h.  */
   3295 
   3296 int
   3297 main ()
   3298 {
   3299 
   3300   ;
   3301   return 0;
   3302 }
   3303 _ACEOF
   3304 ac_clean_files_save=$ac_clean_files
   3305 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3306 # Try to create an executable without -o first, disregard a.out.
   3307 # It will help us diagnose broken compilers, and finding out an intuition
   3308 # of exeext.
   3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3310 $as_echo_n "checking whether the C compiler works... " >&6; }
   3311 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3312 
   3313 # The possible output files:
   3314 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3315 
   3316 ac_rmfiles=
   3317 for ac_file in $ac_files
   3318 do
   3319   case $ac_file in
   3320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3321     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3322   esac
   3323 done
   3324 rm -f $ac_rmfiles
   3325 
   3326 if { { ac_try="$ac_link_default"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo"; } >&5
   3333   (eval "$ac_link_default") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3336   test $ac_status = 0; }; then :
   3337   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3338 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3339 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3340 # so that the user can short-circuit this test for compilers unknown to
   3341 # Autoconf.
   3342 for ac_file in $ac_files ''
   3343 do
   3344   test -f "$ac_file" || continue
   3345   case $ac_file in
   3346     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3347 	;;
   3348     [ab].out )
   3349 	# We found the default executable, but exeext='' is most
   3350 	# certainly right.
   3351 	break;;
   3352     *.* )
   3353 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3354 	then :; else
   3355 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3356 	fi
   3357 	# We set ac_cv_exeext here because the later test for it is not
   3358 	# safe: cross compilers may not add the suffix if given an `-o'
   3359 	# argument, so we may need to know it at that point already.
   3360 	# Even if this section looks crufty: it has the advantage of
   3361 	# actually working.
   3362 	break;;
   3363     * )
   3364 	break;;
   3365   esac
   3366 done
   3367 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3368 
   3369 else
   3370   ac_file=''
   3371 fi
   3372 if test -z "$ac_file"; then :
   3373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3374 $as_echo "no" >&6; }
   3375 $as_echo "$as_me: failed program was:" >&5
   3376 sed 's/^/| /' conftest.$ac_ext >&5
   3377 
   3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3380 as_fn_error 77 "C compiler cannot create executables
   3381 See \`config.log' for more details" "$LINENO" 5; }
   3382 else
   3383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3384 $as_echo "yes" >&6; }
   3385 fi
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3387 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3389 $as_echo "$ac_file" >&6; }
   3390 ac_exeext=$ac_cv_exeext
   3391 
   3392 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3393 ac_clean_files=$ac_clean_files_save
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3395 $as_echo_n "checking for suffix of executables... " >&6; }
   3396 if { { ac_try="$ac_link"
   3397 case "(($ac_try" in
   3398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3399   *) ac_try_echo=$ac_try;;
   3400 esac
   3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3402 $as_echo "$ac_try_echo"; } >&5
   3403   (eval "$ac_link") 2>&5
   3404   ac_status=$?
   3405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3406   test $ac_status = 0; }; then :
   3407   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3408 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3409 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3410 # `rm'.
   3411 for ac_file in conftest.exe conftest conftest.*; do
   3412   test -f "$ac_file" || continue
   3413   case $ac_file in
   3414     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3415     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3416 	  break;;
   3417     * ) break;;
   3418   esac
   3419 done
   3420 else
   3421   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3423 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3424 See \`config.log' for more details" "$LINENO" 5; }
   3425 fi
   3426 rm -f conftest conftest$ac_cv_exeext
   3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3428 $as_echo "$ac_cv_exeext" >&6; }
   3429 
   3430 rm -f conftest.$ac_ext
   3431 EXEEXT=$ac_cv_exeext
   3432 ac_exeext=$EXEEXT
   3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3434 /* end confdefs.h.  */
   3435 #include <stdio.h>
   3436 int
   3437 main ()
   3438 {
   3439 FILE *f = fopen ("conftest.out", "w");
   3440  return ferror (f) || fclose (f) != 0;
   3441 
   3442   ;
   3443   return 0;
   3444 }
   3445 _ACEOF
   3446 ac_clean_files="$ac_clean_files conftest.out"
   3447 # Check that the compiler produces executables we can run.  If not, either
   3448 # the compiler is broken, or we cross compile.
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3450 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3451 if test "$cross_compiling" != yes; then
   3452   { { ac_try="$ac_link"
   3453 case "(($ac_try" in
   3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3455   *) ac_try_echo=$ac_try;;
   3456 esac
   3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3458 $as_echo "$ac_try_echo"; } >&5
   3459   (eval "$ac_link") 2>&5
   3460   ac_status=$?
   3461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3462   test $ac_status = 0; }
   3463   if { ac_try='./conftest$ac_cv_exeext'
   3464   { { case "(($ac_try" in
   3465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3466   *) ac_try_echo=$ac_try;;
   3467 esac
   3468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3469 $as_echo "$ac_try_echo"; } >&5
   3470   (eval "$ac_try") 2>&5
   3471   ac_status=$?
   3472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3473   test $ac_status = 0; }; }; then
   3474     cross_compiling=no
   3475   else
   3476     if test "$cross_compiling" = maybe; then
   3477 	cross_compiling=yes
   3478     else
   3479 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3481 as_fn_error $? "cannot run C compiled programs.
   3482 If you meant to cross compile, use \`--host'.
   3483 See \`config.log' for more details" "$LINENO" 5; }
   3484     fi
   3485   fi
   3486 fi
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3488 $as_echo "$cross_compiling" >&6; }
   3489 
   3490 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3491 ac_clean_files=$ac_clean_files_save
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3493 $as_echo_n "checking for suffix of object files... " >&6; }
   3494 if ${ac_cv_objext+:} false; then :
   3495   $as_echo_n "(cached) " >&6
   3496 else
   3497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3498 /* end confdefs.h.  */
   3499 
   3500 int
   3501 main ()
   3502 {
   3503 
   3504   ;
   3505   return 0;
   3506 }
   3507 _ACEOF
   3508 rm -f conftest.o conftest.obj
   3509 if { { ac_try="$ac_compile"
   3510 case "(($ac_try" in
   3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3512   *) ac_try_echo=$ac_try;;
   3513 esac
   3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3515 $as_echo "$ac_try_echo"; } >&5
   3516   (eval "$ac_compile") 2>&5
   3517   ac_status=$?
   3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3519   test $ac_status = 0; }; then :
   3520   for ac_file in conftest.o conftest.obj conftest.*; do
   3521   test -f "$ac_file" || continue;
   3522   case $ac_file in
   3523     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3524     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3525        break;;
   3526   esac
   3527 done
   3528 else
   3529   $as_echo "$as_me: failed program was:" >&5
   3530 sed 's/^/| /' conftest.$ac_ext >&5
   3531 
   3532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3534 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3535 See \`config.log' for more details" "$LINENO" 5; }
   3536 fi
   3537 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3538 fi
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3540 $as_echo "$ac_cv_objext" >&6; }
   3541 OBJEXT=$ac_cv_objext
   3542 ac_objext=$OBJEXT
   3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3544 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3545 if ${ac_cv_c_compiler_gnu+:} false; then :
   3546   $as_echo_n "(cached) " >&6
   3547 else
   3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 #ifndef __GNUC__
   3555        choke me
   3556 #endif
   3557 
   3558   ;
   3559   return 0;
   3560 }
   3561 _ACEOF
   3562 if ac_fn_c_try_compile "$LINENO"; then :
   3563   ac_compiler_gnu=yes
   3564 else
   3565   ac_compiler_gnu=no
   3566 fi
   3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3569 
   3570 fi
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3572 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3573 if test $ac_compiler_gnu = yes; then
   3574   GCC=yes
   3575 else
   3576   GCC=
   3577 fi
   3578 ac_test_CFLAGS=${CFLAGS+set}
   3579 ac_save_CFLAGS=$CFLAGS
   3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3581 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3582 if ${ac_cv_prog_cc_g+:} false; then :
   3583   $as_echo_n "(cached) " >&6
   3584 else
   3585   ac_save_c_werror_flag=$ac_c_werror_flag
   3586    ac_c_werror_flag=yes
   3587    ac_cv_prog_cc_g=no
   3588    CFLAGS="-g"
   3589    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3590 /* end confdefs.h.  */
   3591 
   3592 int
   3593 main ()
   3594 {
   3595 
   3596   ;
   3597   return 0;
   3598 }
   3599 _ACEOF
   3600 if ac_fn_c_try_compile "$LINENO"; then :
   3601   ac_cv_prog_cc_g=yes
   3602 else
   3603   CFLAGS=""
   3604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3605 /* end confdefs.h.  */
   3606 
   3607 int
   3608 main ()
   3609 {
   3610 
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 if ac_fn_c_try_compile "$LINENO"; then :
   3616 
   3617 else
   3618   ac_c_werror_flag=$ac_save_c_werror_flag
   3619 	 CFLAGS="-g"
   3620 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3621 /* end confdefs.h.  */
   3622 
   3623 int
   3624 main ()
   3625 {
   3626 
   3627   ;
   3628   return 0;
   3629 }
   3630 _ACEOF
   3631 if ac_fn_c_try_compile "$LINENO"; then :
   3632   ac_cv_prog_cc_g=yes
   3633 fi
   3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3635 fi
   3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3637 fi
   3638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3639    ac_c_werror_flag=$ac_save_c_werror_flag
   3640 fi
   3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3642 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3643 if test "$ac_test_CFLAGS" = set; then
   3644   CFLAGS=$ac_save_CFLAGS
   3645 elif test $ac_cv_prog_cc_g = yes; then
   3646   if test "$GCC" = yes; then
   3647     CFLAGS="-g -O2"
   3648   else
   3649     CFLAGS="-g"
   3650   fi
   3651 else
   3652   if test "$GCC" = yes; then
   3653     CFLAGS="-O2"
   3654   else
   3655     CFLAGS=
   3656   fi
   3657 fi
   3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3659 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3660 if ${ac_cv_prog_cc_c89+:} false; then :
   3661   $as_echo_n "(cached) " >&6
   3662 else
   3663   ac_cv_prog_cc_c89=no
   3664 ac_save_CC=$CC
   3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3666 /* end confdefs.h.  */
   3667 #include <stdarg.h>
   3668 #include <stdio.h>
   3669 #include <sys/types.h>
   3670 #include <sys/stat.h>
   3671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3672 struct buf { int x; };
   3673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3674 static char *e (p, i)
   3675      char **p;
   3676      int i;
   3677 {
   3678   return p[i];
   3679 }
   3680 static char *f (char * (*g) (char **, int), char **p, ...)
   3681 {
   3682   char *s;
   3683   va_list v;
   3684   va_start (v,p);
   3685   s = g (p, va_arg (v,int));
   3686   va_end (v);
   3687   return s;
   3688 }
   3689 
   3690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3691    function prototypes and stuff, but not '\xHH' hex character constants.
   3692    These don't provoke an error unfortunately, instead are silently treated
   3693    as 'x'.  The following induces an error, until -std is added to get
   3694    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3695    array size at least.  It's necessary to write '\x00'==0 to get something
   3696    that's true only with -std.  */
   3697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3698 
   3699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3700    inside strings and character constants.  */
   3701 #define FOO(x) 'x'
   3702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3703 
   3704 int test (int i, double x);
   3705 struct s1 {int (*f) (int a);};
   3706 struct s2 {int (*f) (double a);};
   3707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3708 int argc;
   3709 char **argv;
   3710 int
   3711 main ()
   3712 {
   3713 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3714   ;
   3715   return 0;
   3716 }
   3717 _ACEOF
   3718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3719 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3720 do
   3721   CC="$ac_save_CC $ac_arg"
   3722   if ac_fn_c_try_compile "$LINENO"; then :
   3723   ac_cv_prog_cc_c89=$ac_arg
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext
   3726   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3727 done
   3728 rm -f conftest.$ac_ext
   3729 CC=$ac_save_CC
   3730 
   3731 fi
   3732 # AC_CACHE_VAL
   3733 case "x$ac_cv_prog_cc_c89" in
   3734   x)
   3735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3736 $as_echo "none needed" >&6; } ;;
   3737   xno)
   3738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3739 $as_echo "unsupported" >&6; } ;;
   3740   *)
   3741     CC="$CC $ac_cv_prog_cc_c89"
   3742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3744 esac
   3745 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3746 
   3747 fi
   3748 
   3749 ac_ext=c
   3750 ac_cpp='$CPP $CPPFLAGS'
   3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3754 
   3755 depcc="$CC"   am_compiler_list=
   3756 
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3758 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3759 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3760   $as_echo_n "(cached) " >&6
   3761 else
   3762   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3763   # We make a subdir and do the tests there.  Otherwise we can end up
   3764   # making bogus files that we don't know about and never remove.  For
   3765   # instance it was reported that on HP-UX the gcc test will end up
   3766   # making a dummy file named `D' -- because `-MD' means `put the output
   3767   # in D'.
   3768   mkdir conftest.dir
   3769   # Copy depcomp to subdir because otherwise we won't find it if we're
   3770   # using a relative directory.
   3771   cp "$am_depcomp" conftest.dir
   3772   cd conftest.dir
   3773   # We will build objects and dependencies in a subdirectory because
   3774   # it helps to detect inapplicable dependency modes.  For instance
   3775   # both Tru64's cc and ICC support -MD to output dependencies as a
   3776   # side effect of compilation, but ICC will put the dependencies in
   3777   # the current directory while Tru64 will put them in the object
   3778   # directory.
   3779   mkdir sub
   3780 
   3781   am_cv_CC_dependencies_compiler_type=none
   3782   if test "$am_compiler_list" = ""; then
   3783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3784   fi
   3785   am__universal=false
   3786   case " $depcc " in #(
   3787      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3788      esac
   3789 
   3790   for depmode in $am_compiler_list; do
   3791     # Setup a source with many dependencies, because some compilers
   3792     # like to wrap large dependency lists on column 80 (with \), and
   3793     # we should not choose a depcomp mode which is confused by this.
   3794     #
   3795     # We need to recreate these files for each test, as the compiler may
   3796     # overwrite some of them when testing with obscure command lines.
   3797     # This happens at least with the AIX C compiler.
   3798     : > sub/conftest.c
   3799     for i in 1 2 3 4 5 6; do
   3800       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3801       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3802       # Solaris 8's {/usr,}/bin/sh.
   3803       touch sub/conftst$i.h
   3804     done
   3805     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3806 
   3807     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3808     # mode.  It turns out that the SunPro C++ compiler does not properly
   3809     # handle `-M -o', and we need to detect this.  Also, some Intel
   3810     # versions had trouble with output in subdirs
   3811     am__obj=sub/conftest.${OBJEXT-o}
   3812     am__minus_obj="-o $am__obj"
   3813     case $depmode in
   3814     gcc)
   3815       # This depmode causes a compiler race in universal mode.
   3816       test "$am__universal" = false || continue
   3817       ;;
   3818     nosideeffect)
   3819       # after this tag, mechanisms are not by side-effect, so they'll
   3820       # only be used when explicitly requested
   3821       if test "x$enable_dependency_tracking" = xyes; then
   3822 	continue
   3823       else
   3824 	break
   3825       fi
   3826       ;;
   3827     msvisualcpp | msvcmsys)
   3828       # This compiler won't grok `-c -o', but also, the minuso test has
   3829       # not run yet.  These depmodes are late enough in the game, and
   3830       # so weak that their functioning should not be impacted.
   3831       am__obj=conftest.${OBJEXT-o}
   3832       am__minus_obj=
   3833       ;;
   3834     none) break ;;
   3835     esac
   3836     if depmode=$depmode \
   3837        source=sub/conftest.c object=$am__obj \
   3838        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3839        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3840          >/dev/null 2>conftest.err &&
   3841        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3842        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3843        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3844        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3845       # icc doesn't choke on unknown options, it will just issue warnings
   3846       # or remarks (even with -Werror).  So we grep stderr for any message
   3847       # that says an option was ignored or not supported.
   3848       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3849       #   icc: Command line warning: ignoring option '-M'; no argument required
   3850       # The diagnosis changed in icc 8.0:
   3851       #   icc: Command line remark: option '-MP' not supported
   3852       if (grep 'ignoring option' conftest.err ||
   3853           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3854         am_cv_CC_dependencies_compiler_type=$depmode
   3855         break
   3856       fi
   3857     fi
   3858   done
   3859 
   3860   cd ..
   3861   rm -rf conftest.dir
   3862 else
   3863   am_cv_CC_dependencies_compiler_type=none
   3864 fi
   3865 
   3866 fi
   3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3868 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3869 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3870 
   3871  if
   3872   test "x$enable_dependency_tracking" != xno \
   3873   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3874   am__fastdepCC_TRUE=
   3875   am__fastdepCC_FALSE='#'
   3876 else
   3877   am__fastdepCC_TRUE='#'
   3878   am__fastdepCC_FALSE=
   3879 fi
   3880 
   3881 
   3882    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3883 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3884 if ${ac_cv_prog_cc_c99+:} false; then :
   3885   $as_echo_n "(cached) " >&6
   3886 else
   3887   ac_cv_prog_cc_c99=no
   3888 ac_save_CC=$CC
   3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3890 /* end confdefs.h.  */
   3891 #include <stdarg.h>
   3892 #include <stdbool.h>
   3893 #include <stdlib.h>
   3894 #include <wchar.h>
   3895 #include <stdio.h>
   3896 
   3897 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3898 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3899 #define showlist(...) puts (#__VA_ARGS__)
   3900 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3901 static void
   3902 test_varargs_macros (void)
   3903 {
   3904   int x = 1234;
   3905   int y = 5678;
   3906   debug ("Flag");
   3907   debug ("X = %d\n", x);
   3908   showlist (The first, second, and third items.);
   3909   report (x>y, "x is %d but y is %d", x, y);
   3910 }
   3911 
   3912 // Check long long types.
   3913 #define BIG64 18446744073709551615ull
   3914 #define BIG32 4294967295ul
   3915 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3916 #if !BIG_OK
   3917   your preprocessor is broken;
   3918 #endif
   3919 #if BIG_OK
   3920 #else
   3921   your preprocessor is broken;
   3922 #endif
   3923 static long long int bignum = -9223372036854775807LL;
   3924 static unsigned long long int ubignum = BIG64;
   3925 
   3926 struct incomplete_array
   3927 {
   3928   int datasize;
   3929   double data[];
   3930 };
   3931 
   3932 struct named_init {
   3933   int number;
   3934   const wchar_t *name;
   3935   double average;
   3936 };
   3937 
   3938 typedef const char *ccp;
   3939 
   3940 static inline int
   3941 test_restrict (ccp restrict text)
   3942 {
   3943   // See if C++-style comments work.
   3944   // Iterate through items via the restricted pointer.
   3945   // Also check for declarations in for loops.
   3946   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3947     continue;
   3948   return 0;
   3949 }
   3950 
   3951 // Check varargs and va_copy.
   3952 static void
   3953 test_varargs (const char *format, ...)
   3954 {
   3955   va_list args;
   3956   va_start (args, format);
   3957   va_list args_copy;
   3958   va_copy (args_copy, args);
   3959 
   3960   const char *str;
   3961   int number;
   3962   float fnumber;
   3963 
   3964   while (*format)
   3965     {
   3966       switch (*format++)
   3967 	{
   3968 	case 's': // string
   3969 	  str = va_arg (args_copy, const char *);
   3970 	  break;
   3971 	case 'd': // int
   3972 	  number = va_arg (args_copy, int);
   3973 	  break;
   3974 	case 'f': // float
   3975 	  fnumber = va_arg (args_copy, double);
   3976 	  break;
   3977 	default:
   3978 	  break;
   3979 	}
   3980     }
   3981   va_end (args_copy);
   3982   va_end (args);
   3983 }
   3984 
   3985 int
   3986 main ()
   3987 {
   3988 
   3989   // Check bool.
   3990   _Bool success = false;
   3991 
   3992   // Check restrict.
   3993   if (test_restrict ("String literal") == 0)
   3994     success = true;
   3995   char *restrict newvar = "Another string";
   3996 
   3997   // Check varargs.
   3998   test_varargs ("s, d' f .", "string", 65, 34.234);
   3999   test_varargs_macros ();
   4000 
   4001   // Check flexible array members.
   4002   struct incomplete_array *ia =
   4003     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4004   ia->datasize = 10;
   4005   for (int i = 0; i < ia->datasize; ++i)
   4006     ia->data[i] = i * 1.234;
   4007 
   4008   // Check named initializers.
   4009   struct named_init ni = {
   4010     .number = 34,
   4011     .name = L"Test wide string",
   4012     .average = 543.34343,
   4013   };
   4014 
   4015   ni.number = 58;
   4016 
   4017   int dynamic_array[ni.number];
   4018   dynamic_array[ni.number - 1] = 543;
   4019 
   4020   // work around unused variable warnings
   4021   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4022 	  || dynamic_array[ni.number - 1] != 543);
   4023 
   4024   ;
   4025   return 0;
   4026 }
   4027 _ACEOF
   4028 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4029 do
   4030   CC="$ac_save_CC $ac_arg"
   4031   if ac_fn_c_try_compile "$LINENO"; then :
   4032   ac_cv_prog_cc_c99=$ac_arg
   4033 fi
   4034 rm -f core conftest.err conftest.$ac_objext
   4035   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4036 done
   4037 rm -f conftest.$ac_ext
   4038 CC=$ac_save_CC
   4039 
   4040 fi
   4041 # AC_CACHE_VAL
   4042 case "x$ac_cv_prog_cc_c99" in
   4043   x)
   4044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4045 $as_echo "none needed" >&6; } ;;
   4046   xno)
   4047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4048 $as_echo "unsupported" >&6; } ;;
   4049   *)
   4050     CC="$CC $ac_cv_prog_cc_c99"
   4051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4052 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4053 esac
   4054 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4055 
   4056 fi
   4057 
   4058 
   4059 
   4060 ac_ext=c
   4061 ac_cpp='$CPP $CPPFLAGS'
   4062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4067 # On Suns, sometimes $CPP names a directory.
   4068 if test -n "$CPP" && test -d "$CPP"; then
   4069   CPP=
   4070 fi
   4071 if test -z "$CPP"; then
   4072   if ${ac_cv_prog_CPP+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075       # Double quotes because CPP needs to be expanded
   4076     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4077     do
   4078       ac_preproc_ok=false
   4079 for ac_c_preproc_warn_flag in '' yes
   4080 do
   4081   # Use a header file that comes with gcc, so configuring glibc
   4082   # with a fresh cross-compiler works.
   4083   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4084   # <limits.h> exists even on freestanding compilers.
   4085   # On the NeXT, cc -E runs the code through the compiler's parser,
   4086   # not just through cpp. "Syntax error" is here to catch this case.
   4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4088 /* end confdefs.h.  */
   4089 #ifdef __STDC__
   4090 # include <limits.h>
   4091 #else
   4092 # include <assert.h>
   4093 #endif
   4094 		     Syntax error
   4095 _ACEOF
   4096 if ac_fn_c_try_cpp "$LINENO"; then :
   4097 
   4098 else
   4099   # Broken: fails on valid input.
   4100 continue
   4101 fi
   4102 rm -f conftest.err conftest.i conftest.$ac_ext
   4103 
   4104   # OK, works on sane cases.  Now check whether nonexistent headers
   4105   # can be detected and how.
   4106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4107 /* end confdefs.h.  */
   4108 #include <ac_nonexistent.h>
   4109 _ACEOF
   4110 if ac_fn_c_try_cpp "$LINENO"; then :
   4111   # Broken: success on invalid input.
   4112 continue
   4113 else
   4114   # Passes both tests.
   4115 ac_preproc_ok=:
   4116 break
   4117 fi
   4118 rm -f conftest.err conftest.i conftest.$ac_ext
   4119 
   4120 done
   4121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4122 rm -f conftest.i conftest.err conftest.$ac_ext
   4123 if $ac_preproc_ok; then :
   4124   break
   4125 fi
   4126 
   4127     done
   4128     ac_cv_prog_CPP=$CPP
   4129 
   4130 fi
   4131   CPP=$ac_cv_prog_CPP
   4132 else
   4133   ac_cv_prog_CPP=$CPP
   4134 fi
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4136 $as_echo "$CPP" >&6; }
   4137 ac_preproc_ok=false
   4138 for ac_c_preproc_warn_flag in '' yes
   4139 do
   4140   # Use a header file that comes with gcc, so configuring glibc
   4141   # with a fresh cross-compiler works.
   4142   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4143   # <limits.h> exists even on freestanding compilers.
   4144   # On the NeXT, cc -E runs the code through the compiler's parser,
   4145   # not just through cpp. "Syntax error" is here to catch this case.
   4146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4147 /* end confdefs.h.  */
   4148 #ifdef __STDC__
   4149 # include <limits.h>
   4150 #else
   4151 # include <assert.h>
   4152 #endif
   4153 		     Syntax error
   4154 _ACEOF
   4155 if ac_fn_c_try_cpp "$LINENO"; then :
   4156 
   4157 else
   4158   # Broken: fails on valid input.
   4159 continue
   4160 fi
   4161 rm -f conftest.err conftest.i conftest.$ac_ext
   4162 
   4163   # OK, works on sane cases.  Now check whether nonexistent headers
   4164   # can be detected and how.
   4165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4166 /* end confdefs.h.  */
   4167 #include <ac_nonexistent.h>
   4168 _ACEOF
   4169 if ac_fn_c_try_cpp "$LINENO"; then :
   4170   # Broken: success on invalid input.
   4171 continue
   4172 else
   4173   # Passes both tests.
   4174 ac_preproc_ok=:
   4175 break
   4176 fi
   4177 rm -f conftest.err conftest.i conftest.$ac_ext
   4178 
   4179 done
   4180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4181 rm -f conftest.i conftest.err conftest.$ac_ext
   4182 if $ac_preproc_ok; then :
   4183 
   4184 else
   4185   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4187 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4188 See \`config.log' for more details" "$LINENO" 5; }
   4189 fi
   4190 
   4191 ac_ext=c
   4192 ac_cpp='$CPP $CPPFLAGS'
   4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4196 
   4197 
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4199 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4200 if ${ac_cv_path_GREP+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   if test -z "$GREP"; then
   4204   ac_path_GREP_found=false
   4205   # Loop through the user's path and test for each of PROGNAME-LIST
   4206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4208 do
   4209   IFS=$as_save_IFS
   4210   test -z "$as_dir" && as_dir=.
   4211     for ac_prog in grep ggrep; do
   4212     for ac_exec_ext in '' $ac_executable_extensions; do
   4213       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4214       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4215 # Check for GNU ac_path_GREP and select it if it is found.
   4216   # Check for GNU $ac_path_GREP
   4217 case `"$ac_path_GREP" --version 2>&1` in
   4218 *GNU*)
   4219   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4220 *)
   4221   ac_count=0
   4222   $as_echo_n 0123456789 >"conftest.in"
   4223   while :
   4224   do
   4225     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4226     mv "conftest.tmp" "conftest.in"
   4227     cp "conftest.in" "conftest.nl"
   4228     $as_echo 'GREP' >> "conftest.nl"
   4229     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4230     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4231     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4232     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4233       # Best one so far, save it but keep looking for a better one
   4234       ac_cv_path_GREP="$ac_path_GREP"
   4235       ac_path_GREP_max=$ac_count
   4236     fi
   4237     # 10*(2^10) chars as input seems more than enough
   4238     test $ac_count -gt 10 && break
   4239   done
   4240   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4241 esac
   4242 
   4243       $ac_path_GREP_found && break 3
   4244     done
   4245   done
   4246   done
   4247 IFS=$as_save_IFS
   4248   if test -z "$ac_cv_path_GREP"; then
   4249     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4250   fi
   4251 else
   4252   ac_cv_path_GREP=$GREP
   4253 fi
   4254 
   4255 fi
   4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4257 $as_echo "$ac_cv_path_GREP" >&6; }
   4258  GREP="$ac_cv_path_GREP"
   4259 
   4260 
   4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4262 $as_echo_n "checking for egrep... " >&6; }
   4263 if ${ac_cv_path_EGREP+:} false; then :
   4264   $as_echo_n "(cached) " >&6
   4265 else
   4266   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4267    then ac_cv_path_EGREP="$GREP -E"
   4268    else
   4269      if test -z "$EGREP"; then
   4270   ac_path_EGREP_found=false
   4271   # Loop through the user's path and test for each of PROGNAME-LIST
   4272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4274 do
   4275   IFS=$as_save_IFS
   4276   test -z "$as_dir" && as_dir=.
   4277     for ac_prog in egrep; do
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4280       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4281 # Check for GNU ac_path_EGREP and select it if it is found.
   4282   # Check for GNU $ac_path_EGREP
   4283 case `"$ac_path_EGREP" --version 2>&1` in
   4284 *GNU*)
   4285   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4286 *)
   4287   ac_count=0
   4288   $as_echo_n 0123456789 >"conftest.in"
   4289   while :
   4290   do
   4291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4292     mv "conftest.tmp" "conftest.in"
   4293     cp "conftest.in" "conftest.nl"
   4294     $as_echo 'EGREP' >> "conftest.nl"
   4295     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4297     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4298     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4299       # Best one so far, save it but keep looking for a better one
   4300       ac_cv_path_EGREP="$ac_path_EGREP"
   4301       ac_path_EGREP_max=$ac_count
   4302     fi
   4303     # 10*(2^10) chars as input seems more than enough
   4304     test $ac_count -gt 10 && break
   4305   done
   4306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4307 esac
   4308 
   4309       $ac_path_EGREP_found && break 3
   4310     done
   4311   done
   4312   done
   4313 IFS=$as_save_IFS
   4314   if test -z "$ac_cv_path_EGREP"; then
   4315     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4316   fi
   4317 else
   4318   ac_cv_path_EGREP=$EGREP
   4319 fi
   4320 
   4321    fi
   4322 fi
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4324 $as_echo "$ac_cv_path_EGREP" >&6; }
   4325  EGREP="$ac_cv_path_EGREP"
   4326 
   4327 
   4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4329 $as_echo_n "checking for ANSI C header files... " >&6; }
   4330 if ${ac_cv_header_stdc+:} false; then :
   4331   $as_echo_n "(cached) " >&6
   4332 else
   4333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 #include <stdlib.h>
   4336 #include <stdarg.h>
   4337 #include <string.h>
   4338 #include <float.h>
   4339 
   4340 int
   4341 main ()
   4342 {
   4343 
   4344   ;
   4345   return 0;
   4346 }
   4347 _ACEOF
   4348 if ac_fn_c_try_compile "$LINENO"; then :
   4349   ac_cv_header_stdc=yes
   4350 else
   4351   ac_cv_header_stdc=no
   4352 fi
   4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4354 
   4355 if test $ac_cv_header_stdc = yes; then
   4356   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4358 /* end confdefs.h.  */
   4359 #include <string.h>
   4360 
   4361 _ACEOF
   4362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4363   $EGREP "memchr" >/dev/null 2>&1; then :
   4364 
   4365 else
   4366   ac_cv_header_stdc=no
   4367 fi
   4368 rm -f conftest*
   4369 
   4370 fi
   4371 
   4372 if test $ac_cv_header_stdc = yes; then
   4373   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 #include <stdlib.h>
   4377 
   4378 _ACEOF
   4379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4380   $EGREP "free" >/dev/null 2>&1; then :
   4381 
   4382 else
   4383   ac_cv_header_stdc=no
   4384 fi
   4385 rm -f conftest*
   4386 
   4387 fi
   4388 
   4389 if test $ac_cv_header_stdc = yes; then
   4390   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4391   if test "$cross_compiling" = yes; then :
   4392   :
   4393 else
   4394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4395 /* end confdefs.h.  */
   4396 #include <ctype.h>
   4397 #include <stdlib.h>
   4398 #if ((' ' & 0x0FF) == 0x020)
   4399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4401 #else
   4402 # define ISLOWER(c) \
   4403 		   (('a' <= (c) && (c) <= 'i') \
   4404 		     || ('j' <= (c) && (c) <= 'r') \
   4405 		     || ('s' <= (c) && (c) <= 'z'))
   4406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4407 #endif
   4408 
   4409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4410 int
   4411 main ()
   4412 {
   4413   int i;
   4414   for (i = 0; i < 256; i++)
   4415     if (XOR (islower (i), ISLOWER (i))
   4416 	|| toupper (i) != TOUPPER (i))
   4417       return 2;
   4418   return 0;
   4419 }
   4420 _ACEOF
   4421 if ac_fn_c_try_run "$LINENO"; then :
   4422 
   4423 else
   4424   ac_cv_header_stdc=no
   4425 fi
   4426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4427   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4428 fi
   4429 
   4430 fi
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4433 $as_echo "$ac_cv_header_stdc" >&6; }
   4434 if test $ac_cv_header_stdc = yes; then
   4435 
   4436 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4437 
   4438 fi
   4439 
   4440 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4442 		  inttypes.h stdint.h unistd.h
   4443 do :
   4444   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4445 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4446 "
   4447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4448   cat >>confdefs.h <<_ACEOF
   4449 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4450 _ACEOF
   4451 
   4452 fi
   4453 
   4454 done
   4455 
   4456 
   4457 
   4458 
   4459 
   4460 
   4461 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4462 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4463   CLANGCC="yes"
   4464 else
   4465   CLANGCC="no"
   4466 fi
   4467 
   4468 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4469 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4470   INTELCC="yes"
   4471 else
   4472   INTELCC="no"
   4473 fi
   4474 
   4475 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4476 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4477   SUNCC="yes"
   4478 else
   4479   SUNCC="no"
   4480 fi
   4481 
   4482 
   4483 
   4484 
   4485 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4486 	if test -n "$ac_tool_prefix"; then
   4487   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4488 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4490 $as_echo_n "checking for $ac_word... " >&6; }
   4491 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   case $PKG_CONFIG in
   4495   [\\/]* | ?:[\\/]*)
   4496   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4497   ;;
   4498   *)
   4499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4500 for as_dir in $PATH
   4501 do
   4502   IFS=$as_save_IFS
   4503   test -z "$as_dir" && as_dir=.
   4504     for ac_exec_ext in '' $ac_executable_extensions; do
   4505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4506     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4508     break 2
   4509   fi
   4510 done
   4511   done
   4512 IFS=$as_save_IFS
   4513 
   4514   ;;
   4515 esac
   4516 fi
   4517 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4518 if test -n "$PKG_CONFIG"; then
   4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4520 $as_echo "$PKG_CONFIG" >&6; }
   4521 else
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4523 $as_echo "no" >&6; }
   4524 fi
   4525 
   4526 
   4527 fi
   4528 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4529   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4530   # Extract the first word of "pkg-config", so it can be a program name with args.
   4531 set dummy pkg-config; ac_word=$2
   4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4533 $as_echo_n "checking for $ac_word... " >&6; }
   4534 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4535   $as_echo_n "(cached) " >&6
   4536 else
   4537   case $ac_pt_PKG_CONFIG in
   4538   [\\/]* | ?:[\\/]*)
   4539   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4540   ;;
   4541   *)
   4542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4543 for as_dir in $PATH
   4544 do
   4545   IFS=$as_save_IFS
   4546   test -z "$as_dir" && as_dir=.
   4547     for ac_exec_ext in '' $ac_executable_extensions; do
   4548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4549     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4551     break 2
   4552   fi
   4553 done
   4554   done
   4555 IFS=$as_save_IFS
   4556 
   4557   ;;
   4558 esac
   4559 fi
   4560 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4561 if test -n "$ac_pt_PKG_CONFIG"; then
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4563 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4564 else
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4566 $as_echo "no" >&6; }
   4567 fi
   4568 
   4569   if test "x$ac_pt_PKG_CONFIG" = x; then
   4570     PKG_CONFIG=""
   4571   else
   4572     case $cross_compiling:$ac_tool_warned in
   4573 yes:)
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4576 ac_tool_warned=yes ;;
   4577 esac
   4578     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4579   fi
   4580 else
   4581   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4582 fi
   4583 
   4584 fi
   4585 if test -n "$PKG_CONFIG"; then
   4586 	_pkg_min_version=0.9.0
   4587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4588 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4589 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4591 $as_echo "yes" >&6; }
   4592 	else
   4593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4594 $as_echo "no" >&6; }
   4595 		PKG_CONFIG=""
   4596 	fi
   4597 
   4598 fi
   4599 # Make sure we can run config.sub.
   4600 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4601   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4602 
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4604 $as_echo_n "checking build system type... " >&6; }
   4605 if ${ac_cv_build+:} false; then :
   4606   $as_echo_n "(cached) " >&6
   4607 else
   4608   ac_build_alias=$build_alias
   4609 test "x$ac_build_alias" = x &&
   4610   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4611 test "x$ac_build_alias" = x &&
   4612   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4613 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4614   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4615 
   4616 fi
   4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4618 $as_echo "$ac_cv_build" >&6; }
   4619 case $ac_cv_build in
   4620 *-*-*) ;;
   4621 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4622 esac
   4623 build=$ac_cv_build
   4624 ac_save_IFS=$IFS; IFS='-'
   4625 set x $ac_cv_build
   4626 shift
   4627 build_cpu=$1
   4628 build_vendor=$2
   4629 shift; shift
   4630 # Remember, the first character of IFS is used to create $*,
   4631 # except with old shells:
   4632 build_os=$*
   4633 IFS=$ac_save_IFS
   4634 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4635 
   4636 
   4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4638 $as_echo_n "checking host system type... " >&6; }
   4639 if ${ac_cv_host+:} false; then :
   4640   $as_echo_n "(cached) " >&6
   4641 else
   4642   if test "x$host_alias" = x; then
   4643   ac_cv_host=$ac_cv_build
   4644 else
   4645   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4646     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4647 fi
   4648 
   4649 fi
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4651 $as_echo "$ac_cv_host" >&6; }
   4652 case $ac_cv_host in
   4653 *-*-*) ;;
   4654 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4655 esac
   4656 host=$ac_cv_host
   4657 ac_save_IFS=$IFS; IFS='-'
   4658 set x $ac_cv_host
   4659 shift
   4660 host_cpu=$1
   4661 host_vendor=$2
   4662 shift; shift
   4663 # Remember, the first character of IFS is used to create $*,
   4664 # except with old shells:
   4665 host_os=$*
   4666 IFS=$ac_save_IFS
   4667 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4668 
   4669 
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4671 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4672 if ${ac_cv_path_SED+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4676      for ac_i in 1 2 3 4 5 6 7; do
   4677        ac_script="$ac_script$as_nl$ac_script"
   4678      done
   4679      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4680      { ac_script=; unset ac_script;}
   4681      if test -z "$SED"; then
   4682   ac_path_SED_found=false
   4683   # Loop through the user's path and test for each of PROGNAME-LIST
   4684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4685 for as_dir in $PATH
   4686 do
   4687   IFS=$as_save_IFS
   4688   test -z "$as_dir" && as_dir=.
   4689     for ac_prog in sed gsed; do
   4690     for ac_exec_ext in '' $ac_executable_extensions; do
   4691       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4692       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4693 # Check for GNU ac_path_SED and select it if it is found.
   4694   # Check for GNU $ac_path_SED
   4695 case `"$ac_path_SED" --version 2>&1` in
   4696 *GNU*)
   4697   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4698 *)
   4699   ac_count=0
   4700   $as_echo_n 0123456789 >"conftest.in"
   4701   while :
   4702   do
   4703     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4704     mv "conftest.tmp" "conftest.in"
   4705     cp "conftest.in" "conftest.nl"
   4706     $as_echo '' >> "conftest.nl"
   4707     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4708     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4709     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4710     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4711       # Best one so far, save it but keep looking for a better one
   4712       ac_cv_path_SED="$ac_path_SED"
   4713       ac_path_SED_max=$ac_count
   4714     fi
   4715     # 10*(2^10) chars as input seems more than enough
   4716     test $ac_count -gt 10 && break
   4717   done
   4718   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4719 esac
   4720 
   4721       $ac_path_SED_found && break 3
   4722     done
   4723   done
   4724   done
   4725 IFS=$as_save_IFS
   4726   if test -z "$ac_cv_path_SED"; then
   4727     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4728   fi
   4729 else
   4730   ac_cv_path_SED=$SED
   4731 fi
   4732 
   4733 fi
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4735 $as_echo "$ac_cv_path_SED" >&6; }
   4736  SED="$ac_cv_path_SED"
   4737   rm -f conftest.sed
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 # Check whether --enable-selective-werror was given.
   4745 if test "${enable_selective_werror+set}" = set; then :
   4746   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4747 else
   4748   SELECTIVE_WERROR=yes
   4749 fi
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4756 if test "x$SUNCC" = "xyes"; then
   4757     BASE_CFLAGS="-v"
   4758 else
   4759     BASE_CFLAGS=""
   4760 fi
   4761 
   4762 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 xorg_testset_save_CFLAGS="$CFLAGS"
   4777 
   4778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4781 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4782 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4783   $as_echo_n "(cached) " >&6
   4784 else
   4785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4786 /* end confdefs.h.  */
   4787 int i;
   4788 _ACEOF
   4789 if ac_fn_c_try_compile "$LINENO"; then :
   4790   xorg_cv_cc_flag_unknown_warning_option=yes
   4791 else
   4792   xorg_cv_cc_flag_unknown_warning_option=no
   4793 fi
   4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4795 fi
   4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4797 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4799 	CFLAGS="$xorg_testset_save_CFLAGS"
   4800 fi
   4801 
   4802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4805 	fi
   4806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4808 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4809 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4813 /* end confdefs.h.  */
   4814 int i;
   4815 _ACEOF
   4816 if ac_fn_c_try_compile "$LINENO"; then :
   4817   xorg_cv_cc_flag_unused_command_line_argument=yes
   4818 else
   4819   xorg_cv_cc_flag_unused_command_line_argument=no
   4820 fi
   4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4822 fi
   4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4824 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4826 	CFLAGS="$xorg_testset_save_CFLAGS"
   4827 fi
   4828 
   4829 found="no"
   4830 
   4831 	if test $found = "no" ; then
   4832 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4834 		fi
   4835 
   4836 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4838 		fi
   4839 
   4840 		CFLAGS="$CFLAGS -Wall"
   4841 
   4842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   4843 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   4844 		cacheid=xorg_cv_cc_flag__Wall
   4845 		if eval \${$cacheid+:} false; then :
   4846   $as_echo_n "(cached) " >&6
   4847 else
   4848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4849 /* end confdefs.h.  */
   4850 int i;
   4851 int
   4852 main ()
   4853 {
   4854 
   4855   ;
   4856   return 0;
   4857 }
   4858 _ACEOF
   4859 if ac_fn_c_try_link "$LINENO"; then :
   4860   eval $cacheid=yes
   4861 else
   4862   eval $cacheid=no
   4863 fi
   4864 rm -f core conftest.err conftest.$ac_objext \
   4865     conftest$ac_exeext conftest.$ac_ext
   4866 fi
   4867 
   4868 
   4869 		CFLAGS="$xorg_testset_save_CFLAGS"
   4870 
   4871 		eval supported=\$$cacheid
   4872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4873 $as_echo "$supported" >&6; }
   4874 		if test "$supported" = "yes" ; then
   4875 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4876 			found="yes"
   4877 		fi
   4878 	fi
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 xorg_testset_save_CFLAGS="$CFLAGS"
   4895 
   4896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4899 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4900 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4904 /* end confdefs.h.  */
   4905 int i;
   4906 _ACEOF
   4907 if ac_fn_c_try_compile "$LINENO"; then :
   4908   xorg_cv_cc_flag_unknown_warning_option=yes
   4909 else
   4910   xorg_cv_cc_flag_unknown_warning_option=no
   4911 fi
   4912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4913 fi
   4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4915 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4917 	CFLAGS="$xorg_testset_save_CFLAGS"
   4918 fi
   4919 
   4920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4923 	fi
   4924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4927 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4928   $as_echo_n "(cached) " >&6
   4929 else
   4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4931 /* end confdefs.h.  */
   4932 int i;
   4933 _ACEOF
   4934 if ac_fn_c_try_compile "$LINENO"; then :
   4935   xorg_cv_cc_flag_unused_command_line_argument=yes
   4936 else
   4937   xorg_cv_cc_flag_unused_command_line_argument=no
   4938 fi
   4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4940 fi
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4942 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4944 	CFLAGS="$xorg_testset_save_CFLAGS"
   4945 fi
   4946 
   4947 found="no"
   4948 
   4949 	if test $found = "no" ; then
   4950 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4952 		fi
   4953 
   4954 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4956 		fi
   4957 
   4958 		CFLAGS="$CFLAGS -Wpointer-arith"
   4959 
   4960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   4961 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   4962 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4963 		if eval \${$cacheid+:} false; then :
   4964   $as_echo_n "(cached) " >&6
   4965 else
   4966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4967 /* end confdefs.h.  */
   4968 int i;
   4969 int
   4970 main ()
   4971 {
   4972 
   4973   ;
   4974   return 0;
   4975 }
   4976 _ACEOF
   4977 if ac_fn_c_try_link "$LINENO"; then :
   4978   eval $cacheid=yes
   4979 else
   4980   eval $cacheid=no
   4981 fi
   4982 rm -f core conftest.err conftest.$ac_objext \
   4983     conftest$ac_exeext conftest.$ac_ext
   4984 fi
   4985 
   4986 
   4987 		CFLAGS="$xorg_testset_save_CFLAGS"
   4988 
   4989 		eval supported=\$$cacheid
   4990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4991 $as_echo "$supported" >&6; }
   4992 		if test "$supported" = "yes" ; then
   4993 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4994 			found="yes"
   4995 		fi
   4996 	fi
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 xorg_testset_save_CFLAGS="$CFLAGS"
   5013 
   5014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5019   $as_echo_n "(cached) " >&6
   5020 else
   5021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5022 /* end confdefs.h.  */
   5023 int i;
   5024 _ACEOF
   5025 if ac_fn_c_try_compile "$LINENO"; then :
   5026   xorg_cv_cc_flag_unknown_warning_option=yes
   5027 else
   5028   xorg_cv_cc_flag_unknown_warning_option=no
   5029 fi
   5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5031 fi
   5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5035 	CFLAGS="$xorg_testset_save_CFLAGS"
   5036 fi
   5037 
   5038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5041 	fi
   5042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5049 /* end confdefs.h.  */
   5050 int i;
   5051 _ACEOF
   5052 if ac_fn_c_try_compile "$LINENO"; then :
   5053   xorg_cv_cc_flag_unused_command_line_argument=yes
   5054 else
   5055   xorg_cv_cc_flag_unused_command_line_argument=no
   5056 fi
   5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5058 fi
   5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5062 	CFLAGS="$xorg_testset_save_CFLAGS"
   5063 fi
   5064 
   5065 found="no"
   5066 
   5067 	if test $found = "no" ; then
   5068 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5070 		fi
   5071 
   5072 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5074 		fi
   5075 
   5076 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5077 
   5078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   5079 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   5080 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5081 		if eval \${$cacheid+:} false; then :
   5082   $as_echo_n "(cached) " >&6
   5083 else
   5084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5085 /* end confdefs.h.  */
   5086 int i;
   5087 int
   5088 main ()
   5089 {
   5090 
   5091   ;
   5092   return 0;
   5093 }
   5094 _ACEOF
   5095 if ac_fn_c_try_link "$LINENO"; then :
   5096   eval $cacheid=yes
   5097 else
   5098   eval $cacheid=no
   5099 fi
   5100 rm -f core conftest.err conftest.$ac_objext \
   5101     conftest$ac_exeext conftest.$ac_ext
   5102 fi
   5103 
   5104 
   5105 		CFLAGS="$xorg_testset_save_CFLAGS"
   5106 
   5107 		eval supported=\$$cacheid
   5108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5109 $as_echo "$supported" >&6; }
   5110 		if test "$supported" = "yes" ; then
   5111 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5112 			found="yes"
   5113 		fi
   5114 	fi
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 xorg_testset_save_CFLAGS="$CFLAGS"
   5131 
   5132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5137   $as_echo_n "(cached) " >&6
   5138 else
   5139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5140 /* end confdefs.h.  */
   5141 int i;
   5142 _ACEOF
   5143 if ac_fn_c_try_compile "$LINENO"; then :
   5144   xorg_cv_cc_flag_unknown_warning_option=yes
   5145 else
   5146   xorg_cv_cc_flag_unknown_warning_option=no
   5147 fi
   5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5149 fi
   5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5153 	CFLAGS="$xorg_testset_save_CFLAGS"
   5154 fi
   5155 
   5156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5159 	fi
   5160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5164   $as_echo_n "(cached) " >&6
   5165 else
   5166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5167 /* end confdefs.h.  */
   5168 int i;
   5169 _ACEOF
   5170 if ac_fn_c_try_compile "$LINENO"; then :
   5171   xorg_cv_cc_flag_unused_command_line_argument=yes
   5172 else
   5173   xorg_cv_cc_flag_unused_command_line_argument=no
   5174 fi
   5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5176 fi
   5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5180 	CFLAGS="$xorg_testset_save_CFLAGS"
   5181 fi
   5182 
   5183 found="no"
   5184 
   5185 	if test $found = "no" ; then
   5186 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5188 		fi
   5189 
   5190 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5192 		fi
   5193 
   5194 		CFLAGS="$CFLAGS -Wformat=2"
   5195 
   5196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   5197 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   5198 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5199 		if eval \${$cacheid+:} false; then :
   5200   $as_echo_n "(cached) " >&6
   5201 else
   5202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5203 /* end confdefs.h.  */
   5204 int i;
   5205 int
   5206 main ()
   5207 {
   5208 
   5209   ;
   5210   return 0;
   5211 }
   5212 _ACEOF
   5213 if ac_fn_c_try_link "$LINENO"; then :
   5214   eval $cacheid=yes
   5215 else
   5216   eval $cacheid=no
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext \
   5219     conftest$ac_exeext conftest.$ac_ext
   5220 fi
   5221 
   5222 
   5223 		CFLAGS="$xorg_testset_save_CFLAGS"
   5224 
   5225 		eval supported=\$$cacheid
   5226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5227 $as_echo "$supported" >&6; }
   5228 		if test "$supported" = "yes" ; then
   5229 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5230 			found="yes"
   5231 		fi
   5232 	fi
   5233 
   5234 	if test $found = "no" ; then
   5235 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 		fi
   5238 
   5239 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5241 		fi
   5242 
   5243 		CFLAGS="$CFLAGS -Wformat"
   5244 
   5245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   5246 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   5247 		cacheid=xorg_cv_cc_flag__Wformat
   5248 		if eval \${$cacheid+:} false; then :
   5249   $as_echo_n "(cached) " >&6
   5250 else
   5251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5252 /* end confdefs.h.  */
   5253 int i;
   5254 int
   5255 main ()
   5256 {
   5257 
   5258   ;
   5259   return 0;
   5260 }
   5261 _ACEOF
   5262 if ac_fn_c_try_link "$LINENO"; then :
   5263   eval $cacheid=yes
   5264 else
   5265   eval $cacheid=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext \
   5268     conftest$ac_exeext conftest.$ac_ext
   5269 fi
   5270 
   5271 
   5272 		CFLAGS="$xorg_testset_save_CFLAGS"
   5273 
   5274 		eval supported=\$$cacheid
   5275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5276 $as_echo "$supported" >&6; }
   5277 		if test "$supported" = "yes" ; then
   5278 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5279 			found="yes"
   5280 		fi
   5281 	fi
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 xorg_testset_save_CFLAGS="$CFLAGS"
   5300 
   5301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5306   $as_echo_n "(cached) " >&6
   5307 else
   5308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5309 /* end confdefs.h.  */
   5310 int i;
   5311 _ACEOF
   5312 if ac_fn_c_try_compile "$LINENO"; then :
   5313   xorg_cv_cc_flag_unknown_warning_option=yes
   5314 else
   5315   xorg_cv_cc_flag_unknown_warning_option=no
   5316 fi
   5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5318 fi
   5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5322 	CFLAGS="$xorg_testset_save_CFLAGS"
   5323 fi
   5324 
   5325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5328 	fi
   5329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5333   $as_echo_n "(cached) " >&6
   5334 else
   5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 int i;
   5338 _ACEOF
   5339 if ac_fn_c_try_compile "$LINENO"; then :
   5340   xorg_cv_cc_flag_unused_command_line_argument=yes
   5341 else
   5342   xorg_cv_cc_flag_unused_command_line_argument=no
   5343 fi
   5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5345 fi
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5349 	CFLAGS="$xorg_testset_save_CFLAGS"
   5350 fi
   5351 
   5352 found="no"
   5353 
   5354 	if test $found = "no" ; then
   5355 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5357 		fi
   5358 
   5359 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5361 		fi
   5362 
   5363 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5364 
   5365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   5366 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   5367 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5368 		if eval \${$cacheid+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5372 /* end confdefs.h.  */
   5373 int i;
   5374 int
   5375 main ()
   5376 {
   5377 
   5378   ;
   5379   return 0;
   5380 }
   5381 _ACEOF
   5382 if ac_fn_c_try_link "$LINENO"; then :
   5383   eval $cacheid=yes
   5384 else
   5385   eval $cacheid=no
   5386 fi
   5387 rm -f core conftest.err conftest.$ac_objext \
   5388     conftest$ac_exeext conftest.$ac_ext
   5389 fi
   5390 
   5391 
   5392 		CFLAGS="$xorg_testset_save_CFLAGS"
   5393 
   5394 		eval supported=\$$cacheid
   5395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5396 $as_echo "$supported" >&6; }
   5397 		if test "$supported" = "yes" ; then
   5398 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5399 			found="yes"
   5400 		fi
   5401 	fi
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 xorg_testset_save_CFLAGS="$CFLAGS"
   5418 
   5419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5424   $as_echo_n "(cached) " >&6
   5425 else
   5426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5427 /* end confdefs.h.  */
   5428 int i;
   5429 _ACEOF
   5430 if ac_fn_c_try_compile "$LINENO"; then :
   5431   xorg_cv_cc_flag_unknown_warning_option=yes
   5432 else
   5433   xorg_cv_cc_flag_unknown_warning_option=no
   5434 fi
   5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5436 fi
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5440 	CFLAGS="$xorg_testset_save_CFLAGS"
   5441 fi
   5442 
   5443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5446 	fi
   5447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5451   $as_echo_n "(cached) " >&6
   5452 else
   5453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"; then :
   5458   xorg_cv_cc_flag_unused_command_line_argument=yes
   5459 else
   5460   xorg_cv_cc_flag_unused_command_line_argument=no
   5461 fi
   5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5463 fi
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5467 	CFLAGS="$xorg_testset_save_CFLAGS"
   5468 fi
   5469 
   5470 found="no"
   5471 
   5472 	if test $found = "no" ; then
   5473 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5475 		fi
   5476 
   5477 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5479 		fi
   5480 
   5481 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5482 
   5483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   5484 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   5485 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5486 		if eval \${$cacheid+:} false; then :
   5487   $as_echo_n "(cached) " >&6
   5488 else
   5489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5490 /* end confdefs.h.  */
   5491 int i;
   5492 int
   5493 main ()
   5494 {
   5495 
   5496   ;
   5497   return 0;
   5498 }
   5499 _ACEOF
   5500 if ac_fn_c_try_link "$LINENO"; then :
   5501   eval $cacheid=yes
   5502 else
   5503   eval $cacheid=no
   5504 fi
   5505 rm -f core conftest.err conftest.$ac_objext \
   5506     conftest$ac_exeext conftest.$ac_ext
   5507 fi
   5508 
   5509 
   5510 		CFLAGS="$xorg_testset_save_CFLAGS"
   5511 
   5512 		eval supported=\$$cacheid
   5513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5514 $as_echo "$supported" >&6; }
   5515 		if test "$supported" = "yes" ; then
   5516 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5517 			found="yes"
   5518 		fi
   5519 	fi
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 xorg_testset_save_CFLAGS="$CFLAGS"
   5536 
   5537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5542   $as_echo_n "(cached) " >&6
   5543 else
   5544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5545 /* end confdefs.h.  */
   5546 int i;
   5547 _ACEOF
   5548 if ac_fn_c_try_compile "$LINENO"; then :
   5549   xorg_cv_cc_flag_unknown_warning_option=yes
   5550 else
   5551   xorg_cv_cc_flag_unknown_warning_option=no
   5552 fi
   5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5554 fi
   5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5558 	CFLAGS="$xorg_testset_save_CFLAGS"
   5559 fi
   5560 
   5561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5564 	fi
   5565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5572 /* end confdefs.h.  */
   5573 int i;
   5574 _ACEOF
   5575 if ac_fn_c_try_compile "$LINENO"; then :
   5576   xorg_cv_cc_flag_unused_command_line_argument=yes
   5577 else
   5578   xorg_cv_cc_flag_unused_command_line_argument=no
   5579 fi
   5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5581 fi
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5585 	CFLAGS="$xorg_testset_save_CFLAGS"
   5586 fi
   5587 
   5588 found="no"
   5589 
   5590 	if test $found = "no" ; then
   5591 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5593 		fi
   5594 
   5595 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5597 		fi
   5598 
   5599 		CFLAGS="$CFLAGS -Wnested-externs"
   5600 
   5601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   5602 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   5603 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5604 		if eval \${$cacheid+:} false; then :
   5605   $as_echo_n "(cached) " >&6
   5606 else
   5607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5608 /* end confdefs.h.  */
   5609 int i;
   5610 int
   5611 main ()
   5612 {
   5613 
   5614   ;
   5615   return 0;
   5616 }
   5617 _ACEOF
   5618 if ac_fn_c_try_link "$LINENO"; then :
   5619   eval $cacheid=yes
   5620 else
   5621   eval $cacheid=no
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext \
   5624     conftest$ac_exeext conftest.$ac_ext
   5625 fi
   5626 
   5627 
   5628 		CFLAGS="$xorg_testset_save_CFLAGS"
   5629 
   5630 		eval supported=\$$cacheid
   5631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5632 $as_echo "$supported" >&6; }
   5633 		if test "$supported" = "yes" ; then
   5634 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5635 			found="yes"
   5636 		fi
   5637 	fi
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 xorg_testset_save_CFLAGS="$CFLAGS"
   5654 
   5655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5660   $as_echo_n "(cached) " >&6
   5661 else
   5662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5663 /* end confdefs.h.  */
   5664 int i;
   5665 _ACEOF
   5666 if ac_fn_c_try_compile "$LINENO"; then :
   5667   xorg_cv_cc_flag_unknown_warning_option=yes
   5668 else
   5669   xorg_cv_cc_flag_unknown_warning_option=no
   5670 fi
   5671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5672 fi
   5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5676 	CFLAGS="$xorg_testset_save_CFLAGS"
   5677 fi
   5678 
   5679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5682 	fi
   5683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 _ACEOF
   5693 if ac_fn_c_try_compile "$LINENO"; then :
   5694   xorg_cv_cc_flag_unused_command_line_argument=yes
   5695 else
   5696   xorg_cv_cc_flag_unused_command_line_argument=no
   5697 fi
   5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5699 fi
   5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5703 	CFLAGS="$xorg_testset_save_CFLAGS"
   5704 fi
   5705 
   5706 found="no"
   5707 
   5708 	if test $found = "no" ; then
   5709 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5711 		fi
   5712 
   5713 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5715 		fi
   5716 
   5717 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5718 
   5719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   5720 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   5721 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5722 		if eval \${$cacheid+:} false; then :
   5723   $as_echo_n "(cached) " >&6
   5724 else
   5725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5726 /* end confdefs.h.  */
   5727 int i;
   5728 int
   5729 main ()
   5730 {
   5731 
   5732   ;
   5733   return 0;
   5734 }
   5735 _ACEOF
   5736 if ac_fn_c_try_link "$LINENO"; then :
   5737   eval $cacheid=yes
   5738 else
   5739   eval $cacheid=no
   5740 fi
   5741 rm -f core conftest.err conftest.$ac_objext \
   5742     conftest$ac_exeext conftest.$ac_ext
   5743 fi
   5744 
   5745 
   5746 		CFLAGS="$xorg_testset_save_CFLAGS"
   5747 
   5748 		eval supported=\$$cacheid
   5749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5750 $as_echo "$supported" >&6; }
   5751 		if test "$supported" = "yes" ; then
   5752 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5753 			found="yes"
   5754 		fi
   5755 	fi
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 xorg_testset_save_CFLAGS="$CFLAGS"
   5772 
   5773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5778   $as_echo_n "(cached) " >&6
   5779 else
   5780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5781 /* end confdefs.h.  */
   5782 int i;
   5783 _ACEOF
   5784 if ac_fn_c_try_compile "$LINENO"; then :
   5785   xorg_cv_cc_flag_unknown_warning_option=yes
   5786 else
   5787   xorg_cv_cc_flag_unknown_warning_option=no
   5788 fi
   5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5790 fi
   5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5794 	CFLAGS="$xorg_testset_save_CFLAGS"
   5795 fi
   5796 
   5797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5800 	fi
   5801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5808 /* end confdefs.h.  */
   5809 int i;
   5810 _ACEOF
   5811 if ac_fn_c_try_compile "$LINENO"; then :
   5812   xorg_cv_cc_flag_unused_command_line_argument=yes
   5813 else
   5814   xorg_cv_cc_flag_unused_command_line_argument=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5817 fi
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5821 	CFLAGS="$xorg_testset_save_CFLAGS"
   5822 fi
   5823 
   5824 found="no"
   5825 
   5826 	if test $found = "no" ; then
   5827 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5829 		fi
   5830 
   5831 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5833 		fi
   5834 
   5835 		CFLAGS="$CFLAGS -Wold-style-definition"
   5836 
   5837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   5838 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   5839 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5840 		if eval \${$cacheid+:} false; then :
   5841   $as_echo_n "(cached) " >&6
   5842 else
   5843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5844 /* end confdefs.h.  */
   5845 int i;
   5846 int
   5847 main ()
   5848 {
   5849 
   5850   ;
   5851   return 0;
   5852 }
   5853 _ACEOF
   5854 if ac_fn_c_try_link "$LINENO"; then :
   5855   eval $cacheid=yes
   5856 else
   5857   eval $cacheid=no
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext \
   5860     conftest$ac_exeext conftest.$ac_ext
   5861 fi
   5862 
   5863 
   5864 		CFLAGS="$xorg_testset_save_CFLAGS"
   5865 
   5866 		eval supported=\$$cacheid
   5867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5868 $as_echo "$supported" >&6; }
   5869 		if test "$supported" = "yes" ; then
   5870 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5871 			found="yes"
   5872 		fi
   5873 	fi
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 xorg_testset_save_CFLAGS="$CFLAGS"
   5890 
   5891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5899 /* end confdefs.h.  */
   5900 int i;
   5901 _ACEOF
   5902 if ac_fn_c_try_compile "$LINENO"; then :
   5903   xorg_cv_cc_flag_unknown_warning_option=yes
   5904 else
   5905   xorg_cv_cc_flag_unknown_warning_option=no
   5906 fi
   5907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5908 fi
   5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5912 	CFLAGS="$xorg_testset_save_CFLAGS"
   5913 fi
   5914 
   5915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5918 	fi
   5919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 _ACEOF
   5929 if ac_fn_c_try_compile "$LINENO"; then :
   5930   xorg_cv_cc_flag_unused_command_line_argument=yes
   5931 else
   5932   xorg_cv_cc_flag_unused_command_line_argument=no
   5933 fi
   5934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5935 fi
   5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5939 	CFLAGS="$xorg_testset_save_CFLAGS"
   5940 fi
   5941 
   5942 found="no"
   5943 
   5944 	if test $found = "no" ; then
   5945 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5947 		fi
   5948 
   5949 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5951 		fi
   5952 
   5953 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5954 
   5955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   5956 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   5957 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5958 		if eval \${$cacheid+:} false; then :
   5959   $as_echo_n "(cached) " >&6
   5960 else
   5961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5962 /* end confdefs.h.  */
   5963 int i;
   5964 int
   5965 main ()
   5966 {
   5967 
   5968   ;
   5969   return 0;
   5970 }
   5971 _ACEOF
   5972 if ac_fn_c_try_link "$LINENO"; then :
   5973   eval $cacheid=yes
   5974 else
   5975   eval $cacheid=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext \
   5978     conftest$ac_exeext conftest.$ac_ext
   5979 fi
   5980 
   5981 
   5982 		CFLAGS="$xorg_testset_save_CFLAGS"
   5983 
   5984 		eval supported=\$$cacheid
   5985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5986 $as_echo "$supported" >&6; }
   5987 		if test "$supported" = "yes" ; then
   5988 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5989 			found="yes"
   5990 		fi
   5991 	fi
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 # This chunk adds additional warnings that could catch undesired effects.
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 xorg_testset_save_CFLAGS="$CFLAGS"
   6012 
   6013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6018   $as_echo_n "(cached) " >&6
   6019 else
   6020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 _ACEOF
   6024 if ac_fn_c_try_compile "$LINENO"; then :
   6025   xorg_cv_cc_flag_unknown_warning_option=yes
   6026 else
   6027   xorg_cv_cc_flag_unknown_warning_option=no
   6028 fi
   6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6030 fi
   6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6034 	CFLAGS="$xorg_testset_save_CFLAGS"
   6035 fi
   6036 
   6037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6040 	fi
   6041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6045   $as_echo_n "(cached) " >&6
   6046 else
   6047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6048 /* end confdefs.h.  */
   6049 int i;
   6050 _ACEOF
   6051 if ac_fn_c_try_compile "$LINENO"; then :
   6052   xorg_cv_cc_flag_unused_command_line_argument=yes
   6053 else
   6054   xorg_cv_cc_flag_unused_command_line_argument=no
   6055 fi
   6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6057 fi
   6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6061 	CFLAGS="$xorg_testset_save_CFLAGS"
   6062 fi
   6063 
   6064 found="no"
   6065 
   6066 	if test $found = "no" ; then
   6067 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6069 		fi
   6070 
   6071 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6073 		fi
   6074 
   6075 		CFLAGS="$CFLAGS -Wunused"
   6076 
   6077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   6078 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   6079 		cacheid=xorg_cv_cc_flag__Wunused
   6080 		if eval \${$cacheid+:} false; then :
   6081   $as_echo_n "(cached) " >&6
   6082 else
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 int
   6087 main ()
   6088 {
   6089 
   6090   ;
   6091   return 0;
   6092 }
   6093 _ACEOF
   6094 if ac_fn_c_try_link "$LINENO"; then :
   6095   eval $cacheid=yes
   6096 else
   6097   eval $cacheid=no
   6098 fi
   6099 rm -f core conftest.err conftest.$ac_objext \
   6100     conftest$ac_exeext conftest.$ac_ext
   6101 fi
   6102 
   6103 
   6104 		CFLAGS="$xorg_testset_save_CFLAGS"
   6105 
   6106 		eval supported=\$$cacheid
   6107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6108 $as_echo "$supported" >&6; }
   6109 		if test "$supported" = "yes" ; then
   6110 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6111 			found="yes"
   6112 		fi
   6113 	fi
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 xorg_testset_save_CFLAGS="$CFLAGS"
   6130 
   6131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"; then :
   6143   xorg_cv_cc_flag_unknown_warning_option=yes
   6144 else
   6145   xorg_cv_cc_flag_unknown_warning_option=no
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6148 fi
   6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6152 	CFLAGS="$xorg_testset_save_CFLAGS"
   6153 fi
   6154 
   6155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 	fi
   6159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 _ACEOF
   6169 if ac_fn_c_try_compile "$LINENO"; then :
   6170   xorg_cv_cc_flag_unused_command_line_argument=yes
   6171 else
   6172   xorg_cv_cc_flag_unused_command_line_argument=no
   6173 fi
   6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6175 fi
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6179 	CFLAGS="$xorg_testset_save_CFLAGS"
   6180 fi
   6181 
   6182 found="no"
   6183 
   6184 	if test $found = "no" ; then
   6185 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 		fi
   6188 
   6189 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6191 		fi
   6192 
   6193 		CFLAGS="$CFLAGS -Wuninitialized"
   6194 
   6195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   6196 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   6197 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6198 		if eval \${$cacheid+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 int
   6205 main ()
   6206 {
   6207 
   6208   ;
   6209   return 0;
   6210 }
   6211 _ACEOF
   6212 if ac_fn_c_try_link "$LINENO"; then :
   6213   eval $cacheid=yes
   6214 else
   6215   eval $cacheid=no
   6216 fi
   6217 rm -f core conftest.err conftest.$ac_objext \
   6218     conftest$ac_exeext conftest.$ac_ext
   6219 fi
   6220 
   6221 
   6222 		CFLAGS="$xorg_testset_save_CFLAGS"
   6223 
   6224 		eval supported=\$$cacheid
   6225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6226 $as_echo "$supported" >&6; }
   6227 		if test "$supported" = "yes" ; then
   6228 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6229 			found="yes"
   6230 		fi
   6231 	fi
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 xorg_testset_save_CFLAGS="$CFLAGS"
   6248 
   6249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 _ACEOF
   6260 if ac_fn_c_try_compile "$LINENO"; then :
   6261   xorg_cv_cc_flag_unknown_warning_option=yes
   6262 else
   6263   xorg_cv_cc_flag_unknown_warning_option=no
   6264 fi
   6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6266 fi
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6270 	CFLAGS="$xorg_testset_save_CFLAGS"
   6271 fi
   6272 
   6273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6276 	fi
   6277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 _ACEOF
   6287 if ac_fn_c_try_compile "$LINENO"; then :
   6288   xorg_cv_cc_flag_unused_command_line_argument=yes
   6289 else
   6290   xorg_cv_cc_flag_unused_command_line_argument=no
   6291 fi
   6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6293 fi
   6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6297 	CFLAGS="$xorg_testset_save_CFLAGS"
   6298 fi
   6299 
   6300 found="no"
   6301 
   6302 	if test $found = "no" ; then
   6303 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6305 		fi
   6306 
   6307 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6309 		fi
   6310 
   6311 		CFLAGS="$CFLAGS -Wshadow"
   6312 
   6313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   6314 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   6315 		cacheid=xorg_cv_cc_flag__Wshadow
   6316 		if eval \${$cacheid+:} false; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6320 /* end confdefs.h.  */
   6321 int i;
   6322 int
   6323 main ()
   6324 {
   6325 
   6326   ;
   6327   return 0;
   6328 }
   6329 _ACEOF
   6330 if ac_fn_c_try_link "$LINENO"; then :
   6331   eval $cacheid=yes
   6332 else
   6333   eval $cacheid=no
   6334 fi
   6335 rm -f core conftest.err conftest.$ac_objext \
   6336     conftest$ac_exeext conftest.$ac_ext
   6337 fi
   6338 
   6339 
   6340 		CFLAGS="$xorg_testset_save_CFLAGS"
   6341 
   6342 		eval supported=\$$cacheid
   6343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6344 $as_echo "$supported" >&6; }
   6345 		if test "$supported" = "yes" ; then
   6346 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6347 			found="yes"
   6348 		fi
   6349 	fi
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 xorg_testset_save_CFLAGS="$CFLAGS"
   6366 
   6367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6372   $as_echo_n "(cached) " >&6
   6373 else
   6374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6375 /* end confdefs.h.  */
   6376 int i;
   6377 _ACEOF
   6378 if ac_fn_c_try_compile "$LINENO"; then :
   6379   xorg_cv_cc_flag_unknown_warning_option=yes
   6380 else
   6381   xorg_cv_cc_flag_unknown_warning_option=no
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6384 fi
   6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6388 	CFLAGS="$xorg_testset_save_CFLAGS"
   6389 fi
   6390 
   6391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6394 	fi
   6395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6402 /* end confdefs.h.  */
   6403 int i;
   6404 _ACEOF
   6405 if ac_fn_c_try_compile "$LINENO"; then :
   6406   xorg_cv_cc_flag_unused_command_line_argument=yes
   6407 else
   6408   xorg_cv_cc_flag_unused_command_line_argument=no
   6409 fi
   6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6411 fi
   6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6415 	CFLAGS="$xorg_testset_save_CFLAGS"
   6416 fi
   6417 
   6418 found="no"
   6419 
   6420 	if test $found = "no" ; then
   6421 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6423 		fi
   6424 
   6425 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6427 		fi
   6428 
   6429 		CFLAGS="$CFLAGS -Wcast-qual"
   6430 
   6431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   6432 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   6433 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6434 		if eval \${$cacheid+:} false; then :
   6435   $as_echo_n "(cached) " >&6
   6436 else
   6437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6438 /* end confdefs.h.  */
   6439 int i;
   6440 int
   6441 main ()
   6442 {
   6443 
   6444   ;
   6445   return 0;
   6446 }
   6447 _ACEOF
   6448 if ac_fn_c_try_link "$LINENO"; then :
   6449   eval $cacheid=yes
   6450 else
   6451   eval $cacheid=no
   6452 fi
   6453 rm -f core conftest.err conftest.$ac_objext \
   6454     conftest$ac_exeext conftest.$ac_ext
   6455 fi
   6456 
   6457 
   6458 		CFLAGS="$xorg_testset_save_CFLAGS"
   6459 
   6460 		eval supported=\$$cacheid
   6461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6462 $as_echo "$supported" >&6; }
   6463 		if test "$supported" = "yes" ; then
   6464 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6465 			found="yes"
   6466 		fi
   6467 	fi
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 xorg_testset_save_CFLAGS="$CFLAGS"
   6484 
   6485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6490   $as_echo_n "(cached) " >&6
   6491 else
   6492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6493 /* end confdefs.h.  */
   6494 int i;
   6495 _ACEOF
   6496 if ac_fn_c_try_compile "$LINENO"; then :
   6497   xorg_cv_cc_flag_unknown_warning_option=yes
   6498 else
   6499   xorg_cv_cc_flag_unknown_warning_option=no
   6500 fi
   6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6502 fi
   6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6506 	CFLAGS="$xorg_testset_save_CFLAGS"
   6507 fi
   6508 
   6509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6512 	fi
   6513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6520 /* end confdefs.h.  */
   6521 int i;
   6522 _ACEOF
   6523 if ac_fn_c_try_compile "$LINENO"; then :
   6524   xorg_cv_cc_flag_unused_command_line_argument=yes
   6525 else
   6526   xorg_cv_cc_flag_unused_command_line_argument=no
   6527 fi
   6528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6529 fi
   6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6533 	CFLAGS="$xorg_testset_save_CFLAGS"
   6534 fi
   6535 
   6536 found="no"
   6537 
   6538 	if test $found = "no" ; then
   6539 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6541 		fi
   6542 
   6543 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6545 		fi
   6546 
   6547 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6548 
   6549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   6550 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   6551 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6552 		if eval \${$cacheid+:} false; then :
   6553   $as_echo_n "(cached) " >&6
   6554 else
   6555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 int
   6559 main ()
   6560 {
   6561 
   6562   ;
   6563   return 0;
   6564 }
   6565 _ACEOF
   6566 if ac_fn_c_try_link "$LINENO"; then :
   6567   eval $cacheid=yes
   6568 else
   6569   eval $cacheid=no
   6570 fi
   6571 rm -f core conftest.err conftest.$ac_objext \
   6572     conftest$ac_exeext conftest.$ac_ext
   6573 fi
   6574 
   6575 
   6576 		CFLAGS="$xorg_testset_save_CFLAGS"
   6577 
   6578 		eval supported=\$$cacheid
   6579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6580 $as_echo "$supported" >&6; }
   6581 		if test "$supported" = "yes" ; then
   6582 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6583 			found="yes"
   6584 		fi
   6585 	fi
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 xorg_testset_save_CFLAGS="$CFLAGS"
   6602 
   6603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6607 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   6616 else
   6617   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6624 	CFLAGS="$xorg_testset_save_CFLAGS"
   6625 fi
   6626 
   6627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6630 	fi
   6631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6635   $as_echo_n "(cached) " >&6
   6636 else
   6637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6638 /* end confdefs.h.  */
   6639 int i;
   6640 _ACEOF
   6641 if ac_fn_c_try_compile "$LINENO"; then :
   6642   xorg_cv_cc_flag_unused_command_line_argument=yes
   6643 else
   6644   xorg_cv_cc_flag_unused_command_line_argument=no
   6645 fi
   6646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6647 fi
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6651 	CFLAGS="$xorg_testset_save_CFLAGS"
   6652 fi
   6653 
   6654 found="no"
   6655 
   6656 	if test $found = "no" ; then
   6657 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6659 		fi
   6660 
   6661 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6663 		fi
   6664 
   6665 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6666 
   6667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   6668 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   6669 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6670 		if eval \${$cacheid+:} false; then :
   6671   $as_echo_n "(cached) " >&6
   6672 else
   6673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6674 /* end confdefs.h.  */
   6675 int i;
   6676 int
   6677 main ()
   6678 {
   6679 
   6680   ;
   6681   return 0;
   6682 }
   6683 _ACEOF
   6684 if ac_fn_c_try_link "$LINENO"; then :
   6685   eval $cacheid=yes
   6686 else
   6687   eval $cacheid=no
   6688 fi
   6689 rm -f core conftest.err conftest.$ac_objext \
   6690     conftest$ac_exeext conftest.$ac_ext
   6691 fi
   6692 
   6693 
   6694 		CFLAGS="$xorg_testset_save_CFLAGS"
   6695 
   6696 		eval supported=\$$cacheid
   6697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6698 $as_echo "$supported" >&6; }
   6699 		if test "$supported" = "yes" ; then
   6700 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6701 			found="yes"
   6702 		fi
   6703 	fi
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 xorg_testset_save_CFLAGS="$CFLAGS"
   6720 
   6721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6724 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6725 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6726   $as_echo_n "(cached) " >&6
   6727 else
   6728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6729 /* end confdefs.h.  */
   6730 int i;
   6731 _ACEOF
   6732 if ac_fn_c_try_compile "$LINENO"; then :
   6733   xorg_cv_cc_flag_unknown_warning_option=yes
   6734 else
   6735   xorg_cv_cc_flag_unknown_warning_option=no
   6736 fi
   6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6738 fi
   6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6740 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6742 	CFLAGS="$xorg_testset_save_CFLAGS"
   6743 fi
   6744 
   6745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 	fi
   6749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6751 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6752 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6753   $as_echo_n "(cached) " >&6
   6754 else
   6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 _ACEOF
   6759 if ac_fn_c_try_compile "$LINENO"; then :
   6760   xorg_cv_cc_flag_unused_command_line_argument=yes
   6761 else
   6762   xorg_cv_cc_flag_unused_command_line_argument=no
   6763 fi
   6764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6765 fi
   6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6767 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6769 	CFLAGS="$xorg_testset_save_CFLAGS"
   6770 fi
   6771 
   6772 found="no"
   6773 
   6774 	if test $found = "no" ; then
   6775 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6777 		fi
   6778 
   6779 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6781 		fi
   6782 
   6783 		CFLAGS="$CFLAGS -Wredundant-decls"
   6784 
   6785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   6786 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   6787 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6788 		if eval \${$cacheid+:} false; then :
   6789   $as_echo_n "(cached) " >&6
   6790 else
   6791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6792 /* end confdefs.h.  */
   6793 int i;
   6794 int
   6795 main ()
   6796 {
   6797 
   6798   ;
   6799   return 0;
   6800 }
   6801 _ACEOF
   6802 if ac_fn_c_try_link "$LINENO"; then :
   6803   eval $cacheid=yes
   6804 else
   6805   eval $cacheid=no
   6806 fi
   6807 rm -f core conftest.err conftest.$ac_objext \
   6808     conftest$ac_exeext conftest.$ac_ext
   6809 fi
   6810 
   6811 
   6812 		CFLAGS="$xorg_testset_save_CFLAGS"
   6813 
   6814 		eval supported=\$$cacheid
   6815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6816 $as_echo "$supported" >&6; }
   6817 		if test "$supported" = "yes" ; then
   6818 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6819 			found="yes"
   6820 		fi
   6821 	fi
   6822 
   6823 
   6824 
   6825 # These are currently disabled because they are noisy.  They will be enabled
   6826 # in the future once the codebase is sufficiently modernized to silence
   6827 # them.  For now, I don't want them to drown out the other warnings.
   6828 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6829 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6830 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6831 
   6832 # Turn some warnings into errors, so we don't accidently get successful builds
   6833 # when there are problems that should be fixed.
   6834 
   6835 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 xorg_testset_save_CFLAGS="$CFLAGS"
   6850 
   6851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6854 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6855 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6856   $as_echo_n "(cached) " >&6
   6857 else
   6858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6859 /* end confdefs.h.  */
   6860 int i;
   6861 _ACEOF
   6862 if ac_fn_c_try_compile "$LINENO"; then :
   6863   xorg_cv_cc_flag_unknown_warning_option=yes
   6864 else
   6865   xorg_cv_cc_flag_unknown_warning_option=no
   6866 fi
   6867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6868 fi
   6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6870 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6872 	CFLAGS="$xorg_testset_save_CFLAGS"
   6873 fi
   6874 
   6875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6878 	fi
   6879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6881 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6882 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6883   $as_echo_n "(cached) " >&6
   6884 else
   6885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6886 /* end confdefs.h.  */
   6887 int i;
   6888 _ACEOF
   6889 if ac_fn_c_try_compile "$LINENO"; then :
   6890   xorg_cv_cc_flag_unused_command_line_argument=yes
   6891 else
   6892   xorg_cv_cc_flag_unused_command_line_argument=no
   6893 fi
   6894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6895 fi
   6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6897 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6899 	CFLAGS="$xorg_testset_save_CFLAGS"
   6900 fi
   6901 
   6902 found="no"
   6903 
   6904 	if test $found = "no" ; then
   6905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6907 		fi
   6908 
   6909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6911 		fi
   6912 
   6913 		CFLAGS="$CFLAGS -Werror=implicit"
   6914 
   6915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   6916 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   6917 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6918 		if eval \${$cacheid+:} false; then :
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6922 /* end confdefs.h.  */
   6923 int i;
   6924 int
   6925 main ()
   6926 {
   6927 
   6928   ;
   6929   return 0;
   6930 }
   6931 _ACEOF
   6932 if ac_fn_c_try_link "$LINENO"; then :
   6933   eval $cacheid=yes
   6934 else
   6935   eval $cacheid=no
   6936 fi
   6937 rm -f core conftest.err conftest.$ac_objext \
   6938     conftest$ac_exeext conftest.$ac_ext
   6939 fi
   6940 
   6941 
   6942 		CFLAGS="$xorg_testset_save_CFLAGS"
   6943 
   6944 		eval supported=\$$cacheid
   6945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6946 $as_echo "$supported" >&6; }
   6947 		if test "$supported" = "yes" ; then
   6948 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6949 			found="yes"
   6950 		fi
   6951 	fi
   6952 
   6953 	if test $found = "no" ; then
   6954 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6955 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 		fi
   6957 
   6958 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6959 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6960 		fi
   6961 
   6962 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6963 
   6964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6965 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6966 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6967 		if eval \${$cacheid+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6971 /* end confdefs.h.  */
   6972 int i;
   6973 int
   6974 main ()
   6975 {
   6976 
   6977   ;
   6978   return 0;
   6979 }
   6980 _ACEOF
   6981 if ac_fn_c_try_link "$LINENO"; then :
   6982   eval $cacheid=yes
   6983 else
   6984   eval $cacheid=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext \
   6987     conftest$ac_exeext conftest.$ac_ext
   6988 fi
   6989 
   6990 
   6991 		CFLAGS="$xorg_testset_save_CFLAGS"
   6992 
   6993 		eval supported=\$$cacheid
   6994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6995 $as_echo "$supported" >&6; }
   6996 		if test "$supported" = "yes" ; then
   6997 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6998 			found="yes"
   6999 		fi
   7000 	fi
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 xorg_testset_save_CFLAGS="$CFLAGS"
   7017 
   7018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7021 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7022 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7026 /* end confdefs.h.  */
   7027 int i;
   7028 _ACEOF
   7029 if ac_fn_c_try_compile "$LINENO"; then :
   7030   xorg_cv_cc_flag_unknown_warning_option=yes
   7031 else
   7032   xorg_cv_cc_flag_unknown_warning_option=no
   7033 fi
   7034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7035 fi
   7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7037 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7038 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7039 	CFLAGS="$xorg_testset_save_CFLAGS"
   7040 fi
   7041 
   7042 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7043 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7044 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7045 	fi
   7046 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7049 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"; then :
   7057   xorg_cv_cc_flag_unused_command_line_argument=yes
   7058 else
   7059   xorg_cv_cc_flag_unused_command_line_argument=no
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7064 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7065 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7066 	CFLAGS="$xorg_testset_save_CFLAGS"
   7067 fi
   7068 
   7069 found="no"
   7070 
   7071 	if test $found = "no" ; then
   7072 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7073 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7074 		fi
   7075 
   7076 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7077 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7078 		fi
   7079 
   7080 		CFLAGS="$CFLAGS -Werror=nonnull"
   7081 
   7082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   7083 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   7084 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7085 		if eval \${$cacheid+:} false; then :
   7086   $as_echo_n "(cached) " >&6
   7087 else
   7088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7089 /* end confdefs.h.  */
   7090 int i;
   7091 int
   7092 main ()
   7093 {
   7094 
   7095   ;
   7096   return 0;
   7097 }
   7098 _ACEOF
   7099 if ac_fn_c_try_link "$LINENO"; then :
   7100   eval $cacheid=yes
   7101 else
   7102   eval $cacheid=no
   7103 fi
   7104 rm -f core conftest.err conftest.$ac_objext \
   7105     conftest$ac_exeext conftest.$ac_ext
   7106 fi
   7107 
   7108 
   7109 		CFLAGS="$xorg_testset_save_CFLAGS"
   7110 
   7111 		eval supported=\$$cacheid
   7112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7113 $as_echo "$supported" >&6; }
   7114 		if test "$supported" = "yes" ; then
   7115 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7116 			found="yes"
   7117 		fi
   7118 	fi
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 xorg_testset_save_CFLAGS="$CFLAGS"
   7135 
   7136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7139 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7140 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7141   $as_echo_n "(cached) " >&6
   7142 else
   7143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7144 /* end confdefs.h.  */
   7145 int i;
   7146 _ACEOF
   7147 if ac_fn_c_try_compile "$LINENO"; then :
   7148   xorg_cv_cc_flag_unknown_warning_option=yes
   7149 else
   7150   xorg_cv_cc_flag_unknown_warning_option=no
   7151 fi
   7152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7153 fi
   7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7155 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7157 	CFLAGS="$xorg_testset_save_CFLAGS"
   7158 fi
   7159 
   7160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7163 	fi
   7164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7166 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7167 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7168   $as_echo_n "(cached) " >&6
   7169 else
   7170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7171 /* end confdefs.h.  */
   7172 int i;
   7173 _ACEOF
   7174 if ac_fn_c_try_compile "$LINENO"; then :
   7175   xorg_cv_cc_flag_unused_command_line_argument=yes
   7176 else
   7177   xorg_cv_cc_flag_unused_command_line_argument=no
   7178 fi
   7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7180 fi
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7182 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7184 	CFLAGS="$xorg_testset_save_CFLAGS"
   7185 fi
   7186 
   7187 found="no"
   7188 
   7189 	if test $found = "no" ; then
   7190 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7192 		fi
   7193 
   7194 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7196 		fi
   7197 
   7198 		CFLAGS="$CFLAGS -Werror=init-self"
   7199 
   7200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   7201 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   7202 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7203 		if eval \${$cacheid+:} false; then :
   7204   $as_echo_n "(cached) " >&6
   7205 else
   7206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7207 /* end confdefs.h.  */
   7208 int i;
   7209 int
   7210 main ()
   7211 {
   7212 
   7213   ;
   7214   return 0;
   7215 }
   7216 _ACEOF
   7217 if ac_fn_c_try_link "$LINENO"; then :
   7218   eval $cacheid=yes
   7219 else
   7220   eval $cacheid=no
   7221 fi
   7222 rm -f core conftest.err conftest.$ac_objext \
   7223     conftest$ac_exeext conftest.$ac_ext
   7224 fi
   7225 
   7226 
   7227 		CFLAGS="$xorg_testset_save_CFLAGS"
   7228 
   7229 		eval supported=\$$cacheid
   7230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7231 $as_echo "$supported" >&6; }
   7232 		if test "$supported" = "yes" ; then
   7233 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7234 			found="yes"
   7235 		fi
   7236 	fi
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 xorg_testset_save_CFLAGS="$CFLAGS"
   7253 
   7254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7257 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7258 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7259   $as_echo_n "(cached) " >&6
   7260 else
   7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 _ACEOF
   7265 if ac_fn_c_try_compile "$LINENO"; then :
   7266   xorg_cv_cc_flag_unknown_warning_option=yes
   7267 else
   7268   xorg_cv_cc_flag_unknown_warning_option=no
   7269 fi
   7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7271 fi
   7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7273 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7275 	CFLAGS="$xorg_testset_save_CFLAGS"
   7276 fi
   7277 
   7278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7281 	fi
   7282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7284 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7285 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 int i;
   7291 _ACEOF
   7292 if ac_fn_c_try_compile "$LINENO"; then :
   7293   xorg_cv_cc_flag_unused_command_line_argument=yes
   7294 else
   7295   xorg_cv_cc_flag_unused_command_line_argument=no
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7298 fi
   7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7300 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7302 	CFLAGS="$xorg_testset_save_CFLAGS"
   7303 fi
   7304 
   7305 found="no"
   7306 
   7307 	if test $found = "no" ; then
   7308 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7310 		fi
   7311 
   7312 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7314 		fi
   7315 
   7316 		CFLAGS="$CFLAGS -Werror=main"
   7317 
   7318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   7319 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   7320 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7321 		if eval \${$cacheid+:} false; then :
   7322   $as_echo_n "(cached) " >&6
   7323 else
   7324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7325 /* end confdefs.h.  */
   7326 int i;
   7327 int
   7328 main ()
   7329 {
   7330 
   7331   ;
   7332   return 0;
   7333 }
   7334 _ACEOF
   7335 if ac_fn_c_try_link "$LINENO"; then :
   7336   eval $cacheid=yes
   7337 else
   7338   eval $cacheid=no
   7339 fi
   7340 rm -f core conftest.err conftest.$ac_objext \
   7341     conftest$ac_exeext conftest.$ac_ext
   7342 fi
   7343 
   7344 
   7345 		CFLAGS="$xorg_testset_save_CFLAGS"
   7346 
   7347 		eval supported=\$$cacheid
   7348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7349 $as_echo "$supported" >&6; }
   7350 		if test "$supported" = "yes" ; then
   7351 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7352 			found="yes"
   7353 		fi
   7354 	fi
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 xorg_testset_save_CFLAGS="$CFLAGS"
   7371 
   7372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7375 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7376 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7377   $as_echo_n "(cached) " >&6
   7378 else
   7379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7380 /* end confdefs.h.  */
   7381 int i;
   7382 _ACEOF
   7383 if ac_fn_c_try_compile "$LINENO"; then :
   7384   xorg_cv_cc_flag_unknown_warning_option=yes
   7385 else
   7386   xorg_cv_cc_flag_unknown_warning_option=no
   7387 fi
   7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7389 fi
   7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7391 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7393 	CFLAGS="$xorg_testset_save_CFLAGS"
   7394 fi
   7395 
   7396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7399 	fi
   7400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7402 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7403 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"; then :
   7411   xorg_cv_cc_flag_unused_command_line_argument=yes
   7412 else
   7413   xorg_cv_cc_flag_unused_command_line_argument=no
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7416 fi
   7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7418 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7420 	CFLAGS="$xorg_testset_save_CFLAGS"
   7421 fi
   7422 
   7423 found="no"
   7424 
   7425 	if test $found = "no" ; then
   7426 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7428 		fi
   7429 
   7430 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7432 		fi
   7433 
   7434 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7435 
   7436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   7437 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   7438 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7439 		if eval \${$cacheid+:} false; then :
   7440   $as_echo_n "(cached) " >&6
   7441 else
   7442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7443 /* end confdefs.h.  */
   7444 int i;
   7445 int
   7446 main ()
   7447 {
   7448 
   7449   ;
   7450   return 0;
   7451 }
   7452 _ACEOF
   7453 if ac_fn_c_try_link "$LINENO"; then :
   7454   eval $cacheid=yes
   7455 else
   7456   eval $cacheid=no
   7457 fi
   7458 rm -f core conftest.err conftest.$ac_objext \
   7459     conftest$ac_exeext conftest.$ac_ext
   7460 fi
   7461 
   7462 
   7463 		CFLAGS="$xorg_testset_save_CFLAGS"
   7464 
   7465 		eval supported=\$$cacheid
   7466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7467 $as_echo "$supported" >&6; }
   7468 		if test "$supported" = "yes" ; then
   7469 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7470 			found="yes"
   7471 		fi
   7472 	fi
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 xorg_testset_save_CFLAGS="$CFLAGS"
   7489 
   7490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7495   $as_echo_n "(cached) " >&6
   7496 else
   7497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7498 /* end confdefs.h.  */
   7499 int i;
   7500 _ACEOF
   7501 if ac_fn_c_try_compile "$LINENO"; then :
   7502   xorg_cv_cc_flag_unknown_warning_option=yes
   7503 else
   7504   xorg_cv_cc_flag_unknown_warning_option=no
   7505 fi
   7506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7507 fi
   7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7511 	CFLAGS="$xorg_testset_save_CFLAGS"
   7512 fi
   7513 
   7514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7517 	fi
   7518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7525 /* end confdefs.h.  */
   7526 int i;
   7527 _ACEOF
   7528 if ac_fn_c_try_compile "$LINENO"; then :
   7529   xorg_cv_cc_flag_unused_command_line_argument=yes
   7530 else
   7531   xorg_cv_cc_flag_unused_command_line_argument=no
   7532 fi
   7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7534 fi
   7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7538 	CFLAGS="$xorg_testset_save_CFLAGS"
   7539 fi
   7540 
   7541 found="no"
   7542 
   7543 	if test $found = "no" ; then
   7544 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7546 		fi
   7547 
   7548 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7550 		fi
   7551 
   7552 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7553 
   7554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   7555 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   7556 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7557 		if eval \${$cacheid+:} false; then :
   7558   $as_echo_n "(cached) " >&6
   7559 else
   7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 int i;
   7563 int
   7564 main ()
   7565 {
   7566 
   7567   ;
   7568   return 0;
   7569 }
   7570 _ACEOF
   7571 if ac_fn_c_try_link "$LINENO"; then :
   7572   eval $cacheid=yes
   7573 else
   7574   eval $cacheid=no
   7575 fi
   7576 rm -f core conftest.err conftest.$ac_objext \
   7577     conftest$ac_exeext conftest.$ac_ext
   7578 fi
   7579 
   7580 
   7581 		CFLAGS="$xorg_testset_save_CFLAGS"
   7582 
   7583 		eval supported=\$$cacheid
   7584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7585 $as_echo "$supported" >&6; }
   7586 		if test "$supported" = "yes" ; then
   7587 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7588 			found="yes"
   7589 		fi
   7590 	fi
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 xorg_testset_save_CFLAGS="$CFLAGS"
   7607 
   7608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7613   $as_echo_n "(cached) " >&6
   7614 else
   7615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7616 /* end confdefs.h.  */
   7617 int i;
   7618 _ACEOF
   7619 if ac_fn_c_try_compile "$LINENO"; then :
   7620   xorg_cv_cc_flag_unknown_warning_option=yes
   7621 else
   7622   xorg_cv_cc_flag_unknown_warning_option=no
   7623 fi
   7624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7625 fi
   7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7629 	CFLAGS="$xorg_testset_save_CFLAGS"
   7630 fi
   7631 
   7632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7635 	fi
   7636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7640   $as_echo_n "(cached) " >&6
   7641 else
   7642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7643 /* end confdefs.h.  */
   7644 int i;
   7645 _ACEOF
   7646 if ac_fn_c_try_compile "$LINENO"; then :
   7647   xorg_cv_cc_flag_unused_command_line_argument=yes
   7648 else
   7649   xorg_cv_cc_flag_unused_command_line_argument=no
   7650 fi
   7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7652 fi
   7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7656 	CFLAGS="$xorg_testset_save_CFLAGS"
   7657 fi
   7658 
   7659 found="no"
   7660 
   7661 	if test $found = "no" ; then
   7662 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7664 		fi
   7665 
   7666 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7668 		fi
   7669 
   7670 		CFLAGS="$CFLAGS -Werror=return-type"
   7671 
   7672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   7673 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   7674 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7675 		if eval \${$cacheid+:} false; then :
   7676   $as_echo_n "(cached) " >&6
   7677 else
   7678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7679 /* end confdefs.h.  */
   7680 int i;
   7681 int
   7682 main ()
   7683 {
   7684 
   7685   ;
   7686   return 0;
   7687 }
   7688 _ACEOF
   7689 if ac_fn_c_try_link "$LINENO"; then :
   7690   eval $cacheid=yes
   7691 else
   7692   eval $cacheid=no
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext \
   7695     conftest$ac_exeext conftest.$ac_ext
   7696 fi
   7697 
   7698 
   7699 		CFLAGS="$xorg_testset_save_CFLAGS"
   7700 
   7701 		eval supported=\$$cacheid
   7702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7703 $as_echo "$supported" >&6; }
   7704 		if test "$supported" = "yes" ; then
   7705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7706 			found="yes"
   7707 		fi
   7708 	fi
   7709 
   7710 	if test $found = "no" ; then
   7711 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7713 		fi
   7714 
   7715 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7717 		fi
   7718 
   7719 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7720 
   7721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7722 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7723 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7724 		if eval \${$cacheid+:} false; then :
   7725   $as_echo_n "(cached) " >&6
   7726 else
   7727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7728 /* end confdefs.h.  */
   7729 int i;
   7730 int
   7731 main ()
   7732 {
   7733 
   7734   ;
   7735   return 0;
   7736 }
   7737 _ACEOF
   7738 if ac_fn_c_try_link "$LINENO"; then :
   7739   eval $cacheid=yes
   7740 else
   7741   eval $cacheid=no
   7742 fi
   7743 rm -f core conftest.err conftest.$ac_objext \
   7744     conftest$ac_exeext conftest.$ac_ext
   7745 fi
   7746 
   7747 
   7748 		CFLAGS="$xorg_testset_save_CFLAGS"
   7749 
   7750 		eval supported=\$$cacheid
   7751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7752 $as_echo "$supported" >&6; }
   7753 		if test "$supported" = "yes" ; then
   7754 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7755 			found="yes"
   7756 		fi
   7757 	fi
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 xorg_testset_save_CFLAGS="$CFLAGS"
   7774 
   7775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7780   $as_echo_n "(cached) " >&6
   7781 else
   7782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7783 /* end confdefs.h.  */
   7784 int i;
   7785 _ACEOF
   7786 if ac_fn_c_try_compile "$LINENO"; then :
   7787   xorg_cv_cc_flag_unknown_warning_option=yes
   7788 else
   7789   xorg_cv_cc_flag_unknown_warning_option=no
   7790 fi
   7791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7792 fi
   7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7796 	CFLAGS="$xorg_testset_save_CFLAGS"
   7797 fi
   7798 
   7799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7802 	fi
   7803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7807   $as_echo_n "(cached) " >&6
   7808 else
   7809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 _ACEOF
   7813 if ac_fn_c_try_compile "$LINENO"; then :
   7814   xorg_cv_cc_flag_unused_command_line_argument=yes
   7815 else
   7816   xorg_cv_cc_flag_unused_command_line_argument=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7819 fi
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 found="no"
   7827 
   7828 	if test $found = "no" ; then
   7829 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 		fi
   7832 
   7833 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7835 		fi
   7836 
   7837 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7838 
   7839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   7840 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   7841 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7842 		if eval \${$cacheid+:} false; then :
   7843   $as_echo_n "(cached) " >&6
   7844 else
   7845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7846 /* end confdefs.h.  */
   7847 int i;
   7848 int
   7849 main ()
   7850 {
   7851 
   7852   ;
   7853   return 0;
   7854 }
   7855 _ACEOF
   7856 if ac_fn_c_try_link "$LINENO"; then :
   7857   eval $cacheid=yes
   7858 else
   7859   eval $cacheid=no
   7860 fi
   7861 rm -f core conftest.err conftest.$ac_objext \
   7862     conftest$ac_exeext conftest.$ac_ext
   7863 fi
   7864 
   7865 
   7866 		CFLAGS="$xorg_testset_save_CFLAGS"
   7867 
   7868 		eval supported=\$$cacheid
   7869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7870 $as_echo "$supported" >&6; }
   7871 		if test "$supported" = "yes" ; then
   7872 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7873 			found="yes"
   7874 		fi
   7875 	fi
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 xorg_testset_save_CFLAGS="$CFLAGS"
   7892 
   7893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7898   $as_echo_n "(cached) " >&6
   7899 else
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 _ACEOF
   7904 if ac_fn_c_try_compile "$LINENO"; then :
   7905   xorg_cv_cc_flag_unknown_warning_option=yes
   7906 else
   7907   xorg_cv_cc_flag_unknown_warning_option=no
   7908 fi
   7909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7910 fi
   7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7914 	CFLAGS="$xorg_testset_save_CFLAGS"
   7915 fi
   7916 
   7917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7920 	fi
   7921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"; then :
   7932   xorg_cv_cc_flag_unused_command_line_argument=yes
   7933 else
   7934   xorg_cv_cc_flag_unused_command_line_argument=no
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7941 	CFLAGS="$xorg_testset_save_CFLAGS"
   7942 fi
   7943 
   7944 found="no"
   7945 
   7946 	if test $found = "no" ; then
   7947 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7949 		fi
   7950 
   7951 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7953 		fi
   7954 
   7955 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7956 
   7957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   7958 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   7959 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7960 		if eval \${$cacheid+:} false; then :
   7961   $as_echo_n "(cached) " >&6
   7962 else
   7963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7964 /* end confdefs.h.  */
   7965 int i;
   7966 int
   7967 main ()
   7968 {
   7969 
   7970   ;
   7971   return 0;
   7972 }
   7973 _ACEOF
   7974 if ac_fn_c_try_link "$LINENO"; then :
   7975   eval $cacheid=yes
   7976 else
   7977   eval $cacheid=no
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext \
   7980     conftest$ac_exeext conftest.$ac_ext
   7981 fi
   7982 
   7983 
   7984 		CFLAGS="$xorg_testset_save_CFLAGS"
   7985 
   7986 		eval supported=\$$cacheid
   7987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7988 $as_echo "$supported" >&6; }
   7989 		if test "$supported" = "yes" ; then
   7990 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7991 			found="yes"
   7992 		fi
   7993 	fi
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 xorg_testset_save_CFLAGS="$CFLAGS"
   8010 
   8011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8016   $as_echo_n "(cached) " >&6
   8017 else
   8018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 int i;
   8021 _ACEOF
   8022 if ac_fn_c_try_compile "$LINENO"; then :
   8023   xorg_cv_cc_flag_unknown_warning_option=yes
   8024 else
   8025   xorg_cv_cc_flag_unknown_warning_option=no
   8026 fi
   8027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8028 fi
   8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8032 	CFLAGS="$xorg_testset_save_CFLAGS"
   8033 fi
   8034 
   8035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8038 	fi
   8039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8043   $as_echo_n "(cached) " >&6
   8044 else
   8045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8046 /* end confdefs.h.  */
   8047 int i;
   8048 _ACEOF
   8049 if ac_fn_c_try_compile "$LINENO"; then :
   8050   xorg_cv_cc_flag_unused_command_line_argument=yes
   8051 else
   8052   xorg_cv_cc_flag_unused_command_line_argument=no
   8053 fi
   8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8055 fi
   8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8059 	CFLAGS="$xorg_testset_save_CFLAGS"
   8060 fi
   8061 
   8062 found="no"
   8063 
   8064 	if test $found = "no" ; then
   8065 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8067 		fi
   8068 
   8069 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8071 		fi
   8072 
   8073 		CFLAGS="$CFLAGS -Werror=write-strings"
   8074 
   8075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   8076 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   8077 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8078 		if eval \${$cacheid+:} false; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 int i;
   8084 int
   8085 main ()
   8086 {
   8087 
   8088   ;
   8089   return 0;
   8090 }
   8091 _ACEOF
   8092 if ac_fn_c_try_link "$LINENO"; then :
   8093   eval $cacheid=yes
   8094 else
   8095   eval $cacheid=no
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext \
   8098     conftest$ac_exeext conftest.$ac_ext
   8099 fi
   8100 
   8101 
   8102 		CFLAGS="$xorg_testset_save_CFLAGS"
   8103 
   8104 		eval supported=\$$cacheid
   8105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8106 $as_echo "$supported" >&6; }
   8107 		if test "$supported" = "yes" ; then
   8108 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8109 			found="yes"
   8110 		fi
   8111 	fi
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 xorg_testset_save_CFLAGS="$CFLAGS"
   8128 
   8129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8137 /* end confdefs.h.  */
   8138 int i;
   8139 _ACEOF
   8140 if ac_fn_c_try_compile "$LINENO"; then :
   8141   xorg_cv_cc_flag_unknown_warning_option=yes
   8142 else
   8143   xorg_cv_cc_flag_unknown_warning_option=no
   8144 fi
   8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8146 fi
   8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8150 	CFLAGS="$xorg_testset_save_CFLAGS"
   8151 fi
   8152 
   8153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 	fi
   8157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8161   $as_echo_n "(cached) " >&6
   8162 else
   8163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8164 /* end confdefs.h.  */
   8165 int i;
   8166 _ACEOF
   8167 if ac_fn_c_try_compile "$LINENO"; then :
   8168   xorg_cv_cc_flag_unused_command_line_argument=yes
   8169 else
   8170   xorg_cv_cc_flag_unused_command_line_argument=no
   8171 fi
   8172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8177 	CFLAGS="$xorg_testset_save_CFLAGS"
   8178 fi
   8179 
   8180 found="no"
   8181 
   8182 	if test $found = "no" ; then
   8183 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8185 		fi
   8186 
   8187 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8189 		fi
   8190 
   8191 		CFLAGS="$CFLAGS -Werror=address"
   8192 
   8193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   8194 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   8195 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8196 		if eval \${$cacheid+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 int
   8203 main ()
   8204 {
   8205 
   8206   ;
   8207   return 0;
   8208 }
   8209 _ACEOF
   8210 if ac_fn_c_try_link "$LINENO"; then :
   8211   eval $cacheid=yes
   8212 else
   8213   eval $cacheid=no
   8214 fi
   8215 rm -f core conftest.err conftest.$ac_objext \
   8216     conftest$ac_exeext conftest.$ac_ext
   8217 fi
   8218 
   8219 
   8220 		CFLAGS="$xorg_testset_save_CFLAGS"
   8221 
   8222 		eval supported=\$$cacheid
   8223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8224 $as_echo "$supported" >&6; }
   8225 		if test "$supported" = "yes" ; then
   8226 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8227 			found="yes"
   8228 		fi
   8229 	fi
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 xorg_testset_save_CFLAGS="$CFLAGS"
   8246 
   8247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8250 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8251 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8252   $as_echo_n "(cached) " >&6
   8253 else
   8254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8255 /* end confdefs.h.  */
   8256 int i;
   8257 _ACEOF
   8258 if ac_fn_c_try_compile "$LINENO"; then :
   8259   xorg_cv_cc_flag_unknown_warning_option=yes
   8260 else
   8261   xorg_cv_cc_flag_unknown_warning_option=no
   8262 fi
   8263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8264 fi
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8266 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8268 	CFLAGS="$xorg_testset_save_CFLAGS"
   8269 fi
   8270 
   8271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 	fi
   8275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8277 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8278 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8279   $as_echo_n "(cached) " >&6
   8280 else
   8281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8282 /* end confdefs.h.  */
   8283 int i;
   8284 _ACEOF
   8285 if ac_fn_c_try_compile "$LINENO"; then :
   8286   xorg_cv_cc_flag_unused_command_line_argument=yes
   8287 else
   8288   xorg_cv_cc_flag_unused_command_line_argument=no
   8289 fi
   8290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8291 fi
   8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8293 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8295 	CFLAGS="$xorg_testset_save_CFLAGS"
   8296 fi
   8297 
   8298 found="no"
   8299 
   8300 	if test $found = "no" ; then
   8301 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8303 		fi
   8304 
   8305 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8307 		fi
   8308 
   8309 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8310 
   8311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   8312 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   8313 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8314 		if eval \${$cacheid+:} false; then :
   8315   $as_echo_n "(cached) " >&6
   8316 else
   8317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8318 /* end confdefs.h.  */
   8319 int i;
   8320 int
   8321 main ()
   8322 {
   8323 
   8324   ;
   8325   return 0;
   8326 }
   8327 _ACEOF
   8328 if ac_fn_c_try_link "$LINENO"; then :
   8329   eval $cacheid=yes
   8330 else
   8331   eval $cacheid=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext \
   8334     conftest$ac_exeext conftest.$ac_ext
   8335 fi
   8336 
   8337 
   8338 		CFLAGS="$xorg_testset_save_CFLAGS"
   8339 
   8340 		eval supported=\$$cacheid
   8341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8342 $as_echo "$supported" >&6; }
   8343 		if test "$supported" = "yes" ; then
   8344 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8345 			found="yes"
   8346 		fi
   8347 	fi
   8348 
   8349 	if test $found = "no" ; then
   8350 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 		fi
   8353 
   8354 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8356 		fi
   8357 
   8358 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8359 
   8360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8361 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8362 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8363 		if eval \${$cacheid+:} false; then :
   8364   $as_echo_n "(cached) " >&6
   8365 else
   8366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8367 /* end confdefs.h.  */
   8368 int i;
   8369 int
   8370 main ()
   8371 {
   8372 
   8373   ;
   8374   return 0;
   8375 }
   8376 _ACEOF
   8377 if ac_fn_c_try_link "$LINENO"; then :
   8378   eval $cacheid=yes
   8379 else
   8380   eval $cacheid=no
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext \
   8383     conftest$ac_exeext conftest.$ac_ext
   8384 fi
   8385 
   8386 
   8387 		CFLAGS="$xorg_testset_save_CFLAGS"
   8388 
   8389 		eval supported=\$$cacheid
   8390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8391 $as_echo "$supported" >&6; }
   8392 		if test "$supported" = "yes" ; then
   8393 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8394 			found="yes"
   8395 		fi
   8396 	fi
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 xorg_testset_save_CFLAGS="$CFLAGS"
   8413 
   8414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8422 /* end confdefs.h.  */
   8423 int i;
   8424 _ACEOF
   8425 if ac_fn_c_try_compile "$LINENO"; then :
   8426   xorg_cv_cc_flag_unknown_warning_option=yes
   8427 else
   8428   xorg_cv_cc_flag_unknown_warning_option=no
   8429 fi
   8430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8431 fi
   8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8435 	CFLAGS="$xorg_testset_save_CFLAGS"
   8436 fi
   8437 
   8438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8441 	fi
   8442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8452 if ac_fn_c_try_compile "$LINENO"; then :
   8453   xorg_cv_cc_flag_unused_command_line_argument=yes
   8454 else
   8455   xorg_cv_cc_flag_unused_command_line_argument=no
   8456 fi
   8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8458 fi
   8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8462 	CFLAGS="$xorg_testset_save_CFLAGS"
   8463 fi
   8464 
   8465 found="no"
   8466 
   8467 	if test $found = "no" ; then
   8468 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8470 		fi
   8471 
   8472 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8474 		fi
   8475 
   8476 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8477 
   8478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   8479 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   8480 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8481 		if eval \${$cacheid+:} false; then :
   8482   $as_echo_n "(cached) " >&6
   8483 else
   8484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8485 /* end confdefs.h.  */
   8486 int i;
   8487 int
   8488 main ()
   8489 {
   8490 
   8491   ;
   8492   return 0;
   8493 }
   8494 _ACEOF
   8495 if ac_fn_c_try_link "$LINENO"; then :
   8496   eval $cacheid=yes
   8497 else
   8498   eval $cacheid=no
   8499 fi
   8500 rm -f core conftest.err conftest.$ac_objext \
   8501     conftest$ac_exeext conftest.$ac_ext
   8502 fi
   8503 
   8504 
   8505 		CFLAGS="$xorg_testset_save_CFLAGS"
   8506 
   8507 		eval supported=\$$cacheid
   8508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8509 $as_echo "$supported" >&6; }
   8510 		if test "$supported" = "yes" ; then
   8511 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8512 			found="yes"
   8513 		fi
   8514 	fi
   8515 
   8516  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8517 else
   8518 { $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
   8519 $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;}
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 xorg_testset_save_CFLAGS="$CFLAGS"
   8534 
   8535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8540   $as_echo_n "(cached) " >&6
   8541 else
   8542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8543 /* end confdefs.h.  */
   8544 int i;
   8545 _ACEOF
   8546 if ac_fn_c_try_compile "$LINENO"; then :
   8547   xorg_cv_cc_flag_unknown_warning_option=yes
   8548 else
   8549   xorg_cv_cc_flag_unknown_warning_option=no
   8550 fi
   8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8552 fi
   8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8556 	CFLAGS="$xorg_testset_save_CFLAGS"
   8557 fi
   8558 
   8559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 	fi
   8563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8567   $as_echo_n "(cached) " >&6
   8568 else
   8569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8570 /* end confdefs.h.  */
   8571 int i;
   8572 _ACEOF
   8573 if ac_fn_c_try_compile "$LINENO"; then :
   8574   xorg_cv_cc_flag_unused_command_line_argument=yes
   8575 else
   8576   xorg_cv_cc_flag_unused_command_line_argument=no
   8577 fi
   8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8579 fi
   8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8583 	CFLAGS="$xorg_testset_save_CFLAGS"
   8584 fi
   8585 
   8586 found="no"
   8587 
   8588 	if test $found = "no" ; then
   8589 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8591 		fi
   8592 
   8593 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8595 		fi
   8596 
   8597 		CFLAGS="$CFLAGS -Wimplicit"
   8598 
   8599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   8600 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   8601 		cacheid=xorg_cv_cc_flag__Wimplicit
   8602 		if eval \${$cacheid+:} false; then :
   8603   $as_echo_n "(cached) " >&6
   8604 else
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 int
   8609 main ()
   8610 {
   8611 
   8612   ;
   8613   return 0;
   8614 }
   8615 _ACEOF
   8616 if ac_fn_c_try_link "$LINENO"; then :
   8617   eval $cacheid=yes
   8618 else
   8619   eval $cacheid=no
   8620 fi
   8621 rm -f core conftest.err conftest.$ac_objext \
   8622     conftest$ac_exeext conftest.$ac_ext
   8623 fi
   8624 
   8625 
   8626 		CFLAGS="$xorg_testset_save_CFLAGS"
   8627 
   8628 		eval supported=\$$cacheid
   8629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8630 $as_echo "$supported" >&6; }
   8631 		if test "$supported" = "yes" ; then
   8632 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8633 			found="yes"
   8634 		fi
   8635 	fi
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 xorg_testset_save_CFLAGS="$CFLAGS"
   8652 
   8653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8658   $as_echo_n "(cached) " >&6
   8659 else
   8660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8661 /* end confdefs.h.  */
   8662 int i;
   8663 _ACEOF
   8664 if ac_fn_c_try_compile "$LINENO"; then :
   8665   xorg_cv_cc_flag_unknown_warning_option=yes
   8666 else
   8667   xorg_cv_cc_flag_unknown_warning_option=no
   8668 fi
   8669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8670 fi
   8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8674 	CFLAGS="$xorg_testset_save_CFLAGS"
   8675 fi
   8676 
   8677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8680 	fi
   8681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8685   $as_echo_n "(cached) " >&6
   8686 else
   8687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8688 /* end confdefs.h.  */
   8689 int i;
   8690 _ACEOF
   8691 if ac_fn_c_try_compile "$LINENO"; then :
   8692   xorg_cv_cc_flag_unused_command_line_argument=yes
   8693 else
   8694   xorg_cv_cc_flag_unused_command_line_argument=no
   8695 fi
   8696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8697 fi
   8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8701 	CFLAGS="$xorg_testset_save_CFLAGS"
   8702 fi
   8703 
   8704 found="no"
   8705 
   8706 	if test $found = "no" ; then
   8707 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8709 		fi
   8710 
   8711 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8713 		fi
   8714 
   8715 		CFLAGS="$CFLAGS -Wnonnull"
   8716 
   8717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   8718 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   8719 		cacheid=xorg_cv_cc_flag__Wnonnull
   8720 		if eval \${$cacheid+:} false; then :
   8721   $as_echo_n "(cached) " >&6
   8722 else
   8723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8724 /* end confdefs.h.  */
   8725 int i;
   8726 int
   8727 main ()
   8728 {
   8729 
   8730   ;
   8731   return 0;
   8732 }
   8733 _ACEOF
   8734 if ac_fn_c_try_link "$LINENO"; then :
   8735   eval $cacheid=yes
   8736 else
   8737   eval $cacheid=no
   8738 fi
   8739 rm -f core conftest.err conftest.$ac_objext \
   8740     conftest$ac_exeext conftest.$ac_ext
   8741 fi
   8742 
   8743 
   8744 		CFLAGS="$xorg_testset_save_CFLAGS"
   8745 
   8746 		eval supported=\$$cacheid
   8747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8748 $as_echo "$supported" >&6; }
   8749 		if test "$supported" = "yes" ; then
   8750 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8751 			found="yes"
   8752 		fi
   8753 	fi
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 xorg_testset_save_CFLAGS="$CFLAGS"
   8770 
   8771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8776   $as_echo_n "(cached) " >&6
   8777 else
   8778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8779 /* end confdefs.h.  */
   8780 int i;
   8781 _ACEOF
   8782 if ac_fn_c_try_compile "$LINENO"; then :
   8783   xorg_cv_cc_flag_unknown_warning_option=yes
   8784 else
   8785   xorg_cv_cc_flag_unknown_warning_option=no
   8786 fi
   8787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8788 fi
   8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8792 	CFLAGS="$xorg_testset_save_CFLAGS"
   8793 fi
   8794 
   8795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8798 	fi
   8799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8803   $as_echo_n "(cached) " >&6
   8804 else
   8805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8806 /* end confdefs.h.  */
   8807 int i;
   8808 _ACEOF
   8809 if ac_fn_c_try_compile "$LINENO"; then :
   8810   xorg_cv_cc_flag_unused_command_line_argument=yes
   8811 else
   8812   xorg_cv_cc_flag_unused_command_line_argument=no
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8815 fi
   8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8819 	CFLAGS="$xorg_testset_save_CFLAGS"
   8820 fi
   8821 
   8822 found="no"
   8823 
   8824 	if test $found = "no" ; then
   8825 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8827 		fi
   8828 
   8829 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8831 		fi
   8832 
   8833 		CFLAGS="$CFLAGS -Winit-self"
   8834 
   8835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   8836 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   8837 		cacheid=xorg_cv_cc_flag__Winit_self
   8838 		if eval \${$cacheid+:} false; then :
   8839   $as_echo_n "(cached) " >&6
   8840 else
   8841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8842 /* end confdefs.h.  */
   8843 int i;
   8844 int
   8845 main ()
   8846 {
   8847 
   8848   ;
   8849   return 0;
   8850 }
   8851 _ACEOF
   8852 if ac_fn_c_try_link "$LINENO"; then :
   8853   eval $cacheid=yes
   8854 else
   8855   eval $cacheid=no
   8856 fi
   8857 rm -f core conftest.err conftest.$ac_objext \
   8858     conftest$ac_exeext conftest.$ac_ext
   8859 fi
   8860 
   8861 
   8862 		CFLAGS="$xorg_testset_save_CFLAGS"
   8863 
   8864 		eval supported=\$$cacheid
   8865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8866 $as_echo "$supported" >&6; }
   8867 		if test "$supported" = "yes" ; then
   8868 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8869 			found="yes"
   8870 		fi
   8871 	fi
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 xorg_testset_save_CFLAGS="$CFLAGS"
   8888 
   8889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8894   $as_echo_n "(cached) " >&6
   8895 else
   8896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8897 /* end confdefs.h.  */
   8898 int i;
   8899 _ACEOF
   8900 if ac_fn_c_try_compile "$LINENO"; then :
   8901   xorg_cv_cc_flag_unknown_warning_option=yes
   8902 else
   8903   xorg_cv_cc_flag_unknown_warning_option=no
   8904 fi
   8905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8906 fi
   8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8910 	CFLAGS="$xorg_testset_save_CFLAGS"
   8911 fi
   8912 
   8913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8916 	fi
   8917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8921   $as_echo_n "(cached) " >&6
   8922 else
   8923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8924 /* end confdefs.h.  */
   8925 int i;
   8926 _ACEOF
   8927 if ac_fn_c_try_compile "$LINENO"; then :
   8928   xorg_cv_cc_flag_unused_command_line_argument=yes
   8929 else
   8930   xorg_cv_cc_flag_unused_command_line_argument=no
   8931 fi
   8932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8933 fi
   8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8937 	CFLAGS="$xorg_testset_save_CFLAGS"
   8938 fi
   8939 
   8940 found="no"
   8941 
   8942 	if test $found = "no" ; then
   8943 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8945 		fi
   8946 
   8947 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8949 		fi
   8950 
   8951 		CFLAGS="$CFLAGS -Wmain"
   8952 
   8953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   8954 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   8955 		cacheid=xorg_cv_cc_flag__Wmain
   8956 		if eval \${$cacheid+:} false; then :
   8957   $as_echo_n "(cached) " >&6
   8958 else
   8959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8960 /* end confdefs.h.  */
   8961 int i;
   8962 int
   8963 main ()
   8964 {
   8965 
   8966   ;
   8967   return 0;
   8968 }
   8969 _ACEOF
   8970 if ac_fn_c_try_link "$LINENO"; then :
   8971   eval $cacheid=yes
   8972 else
   8973   eval $cacheid=no
   8974 fi
   8975 rm -f core conftest.err conftest.$ac_objext \
   8976     conftest$ac_exeext conftest.$ac_ext
   8977 fi
   8978 
   8979 
   8980 		CFLAGS="$xorg_testset_save_CFLAGS"
   8981 
   8982 		eval supported=\$$cacheid
   8983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8984 $as_echo "$supported" >&6; }
   8985 		if test "$supported" = "yes" ; then
   8986 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8987 			found="yes"
   8988 		fi
   8989 	fi
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 xorg_testset_save_CFLAGS="$CFLAGS"
   9006 
   9007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9012   $as_echo_n "(cached) " >&6
   9013 else
   9014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9015 /* end confdefs.h.  */
   9016 int i;
   9017 _ACEOF
   9018 if ac_fn_c_try_compile "$LINENO"; then :
   9019   xorg_cv_cc_flag_unknown_warning_option=yes
   9020 else
   9021   xorg_cv_cc_flag_unknown_warning_option=no
   9022 fi
   9023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9024 fi
   9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9028 	CFLAGS="$xorg_testset_save_CFLAGS"
   9029 fi
   9030 
   9031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 	fi
   9035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9039   $as_echo_n "(cached) " >&6
   9040 else
   9041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9042 /* end confdefs.h.  */
   9043 int i;
   9044 _ACEOF
   9045 if ac_fn_c_try_compile "$LINENO"; then :
   9046   xorg_cv_cc_flag_unused_command_line_argument=yes
   9047 else
   9048   xorg_cv_cc_flag_unused_command_line_argument=no
   9049 fi
   9050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9051 fi
   9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9055 	CFLAGS="$xorg_testset_save_CFLAGS"
   9056 fi
   9057 
   9058 found="no"
   9059 
   9060 	if test $found = "no" ; then
   9061 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9063 		fi
   9064 
   9065 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9067 		fi
   9068 
   9069 		CFLAGS="$CFLAGS -Wmissing-braces"
   9070 
   9071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   9072 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   9073 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9074 		if eval \${$cacheid+:} false; then :
   9075   $as_echo_n "(cached) " >&6
   9076 else
   9077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9078 /* end confdefs.h.  */
   9079 int i;
   9080 int
   9081 main ()
   9082 {
   9083 
   9084   ;
   9085   return 0;
   9086 }
   9087 _ACEOF
   9088 if ac_fn_c_try_link "$LINENO"; then :
   9089   eval $cacheid=yes
   9090 else
   9091   eval $cacheid=no
   9092 fi
   9093 rm -f core conftest.err conftest.$ac_objext \
   9094     conftest$ac_exeext conftest.$ac_ext
   9095 fi
   9096 
   9097 
   9098 		CFLAGS="$xorg_testset_save_CFLAGS"
   9099 
   9100 		eval supported=\$$cacheid
   9101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9102 $as_echo "$supported" >&6; }
   9103 		if test "$supported" = "yes" ; then
   9104 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9105 			found="yes"
   9106 		fi
   9107 	fi
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 xorg_testset_save_CFLAGS="$CFLAGS"
   9124 
   9125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9130   $as_echo_n "(cached) " >&6
   9131 else
   9132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9133 /* end confdefs.h.  */
   9134 int i;
   9135 _ACEOF
   9136 if ac_fn_c_try_compile "$LINENO"; then :
   9137   xorg_cv_cc_flag_unknown_warning_option=yes
   9138 else
   9139   xorg_cv_cc_flag_unknown_warning_option=no
   9140 fi
   9141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9142 fi
   9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9146 	CFLAGS="$xorg_testset_save_CFLAGS"
   9147 fi
   9148 
   9149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 	fi
   9153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9157   $as_echo_n "(cached) " >&6
   9158 else
   9159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9160 /* end confdefs.h.  */
   9161 int i;
   9162 _ACEOF
   9163 if ac_fn_c_try_compile "$LINENO"; then :
   9164   xorg_cv_cc_flag_unused_command_line_argument=yes
   9165 else
   9166   xorg_cv_cc_flag_unused_command_line_argument=no
   9167 fi
   9168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9169 fi
   9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9173 	CFLAGS="$xorg_testset_save_CFLAGS"
   9174 fi
   9175 
   9176 found="no"
   9177 
   9178 	if test $found = "no" ; then
   9179 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9181 		fi
   9182 
   9183 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9185 		fi
   9186 
   9187 		CFLAGS="$CFLAGS -Wsequence-point"
   9188 
   9189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   9190 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   9191 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9192 		if eval \${$cacheid+:} false; then :
   9193   $as_echo_n "(cached) " >&6
   9194 else
   9195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9196 /* end confdefs.h.  */
   9197 int i;
   9198 int
   9199 main ()
   9200 {
   9201 
   9202   ;
   9203   return 0;
   9204 }
   9205 _ACEOF
   9206 if ac_fn_c_try_link "$LINENO"; then :
   9207   eval $cacheid=yes
   9208 else
   9209   eval $cacheid=no
   9210 fi
   9211 rm -f core conftest.err conftest.$ac_objext \
   9212     conftest$ac_exeext conftest.$ac_ext
   9213 fi
   9214 
   9215 
   9216 		CFLAGS="$xorg_testset_save_CFLAGS"
   9217 
   9218 		eval supported=\$$cacheid
   9219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9220 $as_echo "$supported" >&6; }
   9221 		if test "$supported" = "yes" ; then
   9222 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9223 			found="yes"
   9224 		fi
   9225 	fi
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 xorg_testset_save_CFLAGS="$CFLAGS"
   9242 
   9243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9248   $as_echo_n "(cached) " >&6
   9249 else
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 _ACEOF
   9254 if ac_fn_c_try_compile "$LINENO"; then :
   9255   xorg_cv_cc_flag_unknown_warning_option=yes
   9256 else
   9257   xorg_cv_cc_flag_unknown_warning_option=no
   9258 fi
   9259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9260 fi
   9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9264 	CFLAGS="$xorg_testset_save_CFLAGS"
   9265 fi
   9266 
   9267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9270 	fi
   9271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9275   $as_echo_n "(cached) " >&6
   9276 else
   9277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9278 /* end confdefs.h.  */
   9279 int i;
   9280 _ACEOF
   9281 if ac_fn_c_try_compile "$LINENO"; then :
   9282   xorg_cv_cc_flag_unused_command_line_argument=yes
   9283 else
   9284   xorg_cv_cc_flag_unused_command_line_argument=no
   9285 fi
   9286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9287 fi
   9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9291 	CFLAGS="$xorg_testset_save_CFLAGS"
   9292 fi
   9293 
   9294 found="no"
   9295 
   9296 	if test $found = "no" ; then
   9297 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9299 		fi
   9300 
   9301 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9303 		fi
   9304 
   9305 		CFLAGS="$CFLAGS -Wreturn-type"
   9306 
   9307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   9308 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   9309 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9310 		if eval \${$cacheid+:} false; then :
   9311   $as_echo_n "(cached) " >&6
   9312 else
   9313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9314 /* end confdefs.h.  */
   9315 int i;
   9316 int
   9317 main ()
   9318 {
   9319 
   9320   ;
   9321   return 0;
   9322 }
   9323 _ACEOF
   9324 if ac_fn_c_try_link "$LINENO"; then :
   9325   eval $cacheid=yes
   9326 else
   9327   eval $cacheid=no
   9328 fi
   9329 rm -f core conftest.err conftest.$ac_objext \
   9330     conftest$ac_exeext conftest.$ac_ext
   9331 fi
   9332 
   9333 
   9334 		CFLAGS="$xorg_testset_save_CFLAGS"
   9335 
   9336 		eval supported=\$$cacheid
   9337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9338 $as_echo "$supported" >&6; }
   9339 		if test "$supported" = "yes" ; then
   9340 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9341 			found="yes"
   9342 		fi
   9343 	fi
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 xorg_testset_save_CFLAGS="$CFLAGS"
   9360 
   9361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9366   $as_echo_n "(cached) " >&6
   9367 else
   9368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9369 /* end confdefs.h.  */
   9370 int i;
   9371 _ACEOF
   9372 if ac_fn_c_try_compile "$LINENO"; then :
   9373   xorg_cv_cc_flag_unknown_warning_option=yes
   9374 else
   9375   xorg_cv_cc_flag_unknown_warning_option=no
   9376 fi
   9377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9378 fi
   9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9382 	CFLAGS="$xorg_testset_save_CFLAGS"
   9383 fi
   9384 
   9385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9388 	fi
   9389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9393   $as_echo_n "(cached) " >&6
   9394 else
   9395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9396 /* end confdefs.h.  */
   9397 int i;
   9398 _ACEOF
   9399 if ac_fn_c_try_compile "$LINENO"; then :
   9400   xorg_cv_cc_flag_unused_command_line_argument=yes
   9401 else
   9402   xorg_cv_cc_flag_unused_command_line_argument=no
   9403 fi
   9404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9405 fi
   9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9409 	CFLAGS="$xorg_testset_save_CFLAGS"
   9410 fi
   9411 
   9412 found="no"
   9413 
   9414 	if test $found = "no" ; then
   9415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9417 		fi
   9418 
   9419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9421 		fi
   9422 
   9423 		CFLAGS="$CFLAGS -Wtrigraphs"
   9424 
   9425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   9426 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   9427 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9428 		if eval \${$cacheid+:} false; then :
   9429   $as_echo_n "(cached) " >&6
   9430 else
   9431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9432 /* end confdefs.h.  */
   9433 int i;
   9434 int
   9435 main ()
   9436 {
   9437 
   9438   ;
   9439   return 0;
   9440 }
   9441 _ACEOF
   9442 if ac_fn_c_try_link "$LINENO"; then :
   9443   eval $cacheid=yes
   9444 else
   9445   eval $cacheid=no
   9446 fi
   9447 rm -f core conftest.err conftest.$ac_objext \
   9448     conftest$ac_exeext conftest.$ac_ext
   9449 fi
   9450 
   9451 
   9452 		CFLAGS="$xorg_testset_save_CFLAGS"
   9453 
   9454 		eval supported=\$$cacheid
   9455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9456 $as_echo "$supported" >&6; }
   9457 		if test "$supported" = "yes" ; then
   9458 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9459 			found="yes"
   9460 		fi
   9461 	fi
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 xorg_testset_save_CFLAGS="$CFLAGS"
   9478 
   9479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9484   $as_echo_n "(cached) " >&6
   9485 else
   9486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9487 /* end confdefs.h.  */
   9488 int i;
   9489 _ACEOF
   9490 if ac_fn_c_try_compile "$LINENO"; then :
   9491   xorg_cv_cc_flag_unknown_warning_option=yes
   9492 else
   9493   xorg_cv_cc_flag_unknown_warning_option=no
   9494 fi
   9495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9496 fi
   9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9500 	CFLAGS="$xorg_testset_save_CFLAGS"
   9501 fi
   9502 
   9503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9506 	fi
   9507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9511   $as_echo_n "(cached) " >&6
   9512 else
   9513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9514 /* end confdefs.h.  */
   9515 int i;
   9516 _ACEOF
   9517 if ac_fn_c_try_compile "$LINENO"; then :
   9518   xorg_cv_cc_flag_unused_command_line_argument=yes
   9519 else
   9520   xorg_cv_cc_flag_unused_command_line_argument=no
   9521 fi
   9522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9523 fi
   9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9527 	CFLAGS="$xorg_testset_save_CFLAGS"
   9528 fi
   9529 
   9530 found="no"
   9531 
   9532 	if test $found = "no" ; then
   9533 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9535 		fi
   9536 
   9537 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9539 		fi
   9540 
   9541 		CFLAGS="$CFLAGS -Warray-bounds"
   9542 
   9543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   9544 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   9545 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9546 		if eval \${$cacheid+:} false; then :
   9547   $as_echo_n "(cached) " >&6
   9548 else
   9549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9550 /* end confdefs.h.  */
   9551 int i;
   9552 int
   9553 main ()
   9554 {
   9555 
   9556   ;
   9557   return 0;
   9558 }
   9559 _ACEOF
   9560 if ac_fn_c_try_link "$LINENO"; then :
   9561   eval $cacheid=yes
   9562 else
   9563   eval $cacheid=no
   9564 fi
   9565 rm -f core conftest.err conftest.$ac_objext \
   9566     conftest$ac_exeext conftest.$ac_ext
   9567 fi
   9568 
   9569 
   9570 		CFLAGS="$xorg_testset_save_CFLAGS"
   9571 
   9572 		eval supported=\$$cacheid
   9573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9574 $as_echo "$supported" >&6; }
   9575 		if test "$supported" = "yes" ; then
   9576 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9577 			found="yes"
   9578 		fi
   9579 	fi
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 xorg_testset_save_CFLAGS="$CFLAGS"
   9596 
   9597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9600 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9601 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9602   $as_echo_n "(cached) " >&6
   9603 else
   9604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9605 /* end confdefs.h.  */
   9606 int i;
   9607 _ACEOF
   9608 if ac_fn_c_try_compile "$LINENO"; then :
   9609   xorg_cv_cc_flag_unknown_warning_option=yes
   9610 else
   9611   xorg_cv_cc_flag_unknown_warning_option=no
   9612 fi
   9613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9614 fi
   9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9616 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9618 	CFLAGS="$xorg_testset_save_CFLAGS"
   9619 fi
   9620 
   9621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9624 	fi
   9625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9627 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9628 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9629   $as_echo_n "(cached) " >&6
   9630 else
   9631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9632 /* end confdefs.h.  */
   9633 int i;
   9634 _ACEOF
   9635 if ac_fn_c_try_compile "$LINENO"; then :
   9636   xorg_cv_cc_flag_unused_command_line_argument=yes
   9637 else
   9638   xorg_cv_cc_flag_unused_command_line_argument=no
   9639 fi
   9640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9641 fi
   9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9643 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9645 	CFLAGS="$xorg_testset_save_CFLAGS"
   9646 fi
   9647 
   9648 found="no"
   9649 
   9650 	if test $found = "no" ; then
   9651 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9653 		fi
   9654 
   9655 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9657 		fi
   9658 
   9659 		CFLAGS="$CFLAGS -Wwrite-strings"
   9660 
   9661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   9662 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   9663 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9664 		if eval \${$cacheid+:} false; then :
   9665   $as_echo_n "(cached) " >&6
   9666 else
   9667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9668 /* end confdefs.h.  */
   9669 int i;
   9670 int
   9671 main ()
   9672 {
   9673 
   9674   ;
   9675   return 0;
   9676 }
   9677 _ACEOF
   9678 if ac_fn_c_try_link "$LINENO"; then :
   9679   eval $cacheid=yes
   9680 else
   9681   eval $cacheid=no
   9682 fi
   9683 rm -f core conftest.err conftest.$ac_objext \
   9684     conftest$ac_exeext conftest.$ac_ext
   9685 fi
   9686 
   9687 
   9688 		CFLAGS="$xorg_testset_save_CFLAGS"
   9689 
   9690 		eval supported=\$$cacheid
   9691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9692 $as_echo "$supported" >&6; }
   9693 		if test "$supported" = "yes" ; then
   9694 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9695 			found="yes"
   9696 		fi
   9697 	fi
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 xorg_testset_save_CFLAGS="$CFLAGS"
   9714 
   9715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9718 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9719 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9720   $as_echo_n "(cached) " >&6
   9721 else
   9722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9723 /* end confdefs.h.  */
   9724 int i;
   9725 _ACEOF
   9726 if ac_fn_c_try_compile "$LINENO"; then :
   9727   xorg_cv_cc_flag_unknown_warning_option=yes
   9728 else
   9729   xorg_cv_cc_flag_unknown_warning_option=no
   9730 fi
   9731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9732 fi
   9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9734 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9736 	CFLAGS="$xorg_testset_save_CFLAGS"
   9737 fi
   9738 
   9739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9742 	fi
   9743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9745 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9746 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9747   $as_echo_n "(cached) " >&6
   9748 else
   9749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9750 /* end confdefs.h.  */
   9751 int i;
   9752 _ACEOF
   9753 if ac_fn_c_try_compile "$LINENO"; then :
   9754   xorg_cv_cc_flag_unused_command_line_argument=yes
   9755 else
   9756   xorg_cv_cc_flag_unused_command_line_argument=no
   9757 fi
   9758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9759 fi
   9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9761 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9763 	CFLAGS="$xorg_testset_save_CFLAGS"
   9764 fi
   9765 
   9766 found="no"
   9767 
   9768 	if test $found = "no" ; then
   9769 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9771 		fi
   9772 
   9773 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9775 		fi
   9776 
   9777 		CFLAGS="$CFLAGS -Waddress"
   9778 
   9779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   9780 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   9781 		cacheid=xorg_cv_cc_flag__Waddress
   9782 		if eval \${$cacheid+:} false; then :
   9783   $as_echo_n "(cached) " >&6
   9784 else
   9785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9786 /* end confdefs.h.  */
   9787 int i;
   9788 int
   9789 main ()
   9790 {
   9791 
   9792   ;
   9793   return 0;
   9794 }
   9795 _ACEOF
   9796 if ac_fn_c_try_link "$LINENO"; then :
   9797   eval $cacheid=yes
   9798 else
   9799   eval $cacheid=no
   9800 fi
   9801 rm -f core conftest.err conftest.$ac_objext \
   9802     conftest$ac_exeext conftest.$ac_ext
   9803 fi
   9804 
   9805 
   9806 		CFLAGS="$xorg_testset_save_CFLAGS"
   9807 
   9808 		eval supported=\$$cacheid
   9809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9810 $as_echo "$supported" >&6; }
   9811 		if test "$supported" = "yes" ; then
   9812 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9813 			found="yes"
   9814 		fi
   9815 	fi
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 xorg_testset_save_CFLAGS="$CFLAGS"
   9832 
   9833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9838   $as_echo_n "(cached) " >&6
   9839 else
   9840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 _ACEOF
   9844 if ac_fn_c_try_compile "$LINENO"; then :
   9845   xorg_cv_cc_flag_unknown_warning_option=yes
   9846 else
   9847   xorg_cv_cc_flag_unknown_warning_option=no
   9848 fi
   9849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9850 fi
   9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9854 	CFLAGS="$xorg_testset_save_CFLAGS"
   9855 fi
   9856 
   9857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9860 	fi
   9861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9865   $as_echo_n "(cached) " >&6
   9866 else
   9867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"; then :
   9872   xorg_cv_cc_flag_unused_command_line_argument=yes
   9873 else
   9874   xorg_cv_cc_flag_unused_command_line_argument=no
   9875 fi
   9876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9877 fi
   9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9881 	CFLAGS="$xorg_testset_save_CFLAGS"
   9882 fi
   9883 
   9884 found="no"
   9885 
   9886 	if test $found = "no" ; then
   9887 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9889 		fi
   9890 
   9891 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9893 		fi
   9894 
   9895 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9896 
   9897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   9898 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   9899 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9900 		if eval \${$cacheid+:} false; then :
   9901   $as_echo_n "(cached) " >&6
   9902 else
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 int
   9907 main ()
   9908 {
   9909 
   9910   ;
   9911   return 0;
   9912 }
   9913 _ACEOF
   9914 if ac_fn_c_try_link "$LINENO"; then :
   9915   eval $cacheid=yes
   9916 else
   9917   eval $cacheid=no
   9918 fi
   9919 rm -f core conftest.err conftest.$ac_objext \
   9920     conftest$ac_exeext conftest.$ac_ext
   9921 fi
   9922 
   9923 
   9924 		CFLAGS="$xorg_testset_save_CFLAGS"
   9925 
   9926 		eval supported=\$$cacheid
   9927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9928 $as_echo "$supported" >&6; }
   9929 		if test "$supported" = "yes" ; then
   9930 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9931 			found="yes"
   9932 		fi
   9933 	fi
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 xorg_testset_save_CFLAGS="$CFLAGS"
   9950 
   9951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9956   $as_echo_n "(cached) " >&6
   9957 else
   9958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9959 /* end confdefs.h.  */
   9960 int i;
   9961 _ACEOF
   9962 if ac_fn_c_try_compile "$LINENO"; then :
   9963   xorg_cv_cc_flag_unknown_warning_option=yes
   9964 else
   9965   xorg_cv_cc_flag_unknown_warning_option=no
   9966 fi
   9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9968 fi
   9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9972 	CFLAGS="$xorg_testset_save_CFLAGS"
   9973 fi
   9974 
   9975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9978 	fi
   9979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9983   $as_echo_n "(cached) " >&6
   9984 else
   9985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 int i;
   9988 _ACEOF
   9989 if ac_fn_c_try_compile "$LINENO"; then :
   9990   xorg_cv_cc_flag_unused_command_line_argument=yes
   9991 else
   9992   xorg_cv_cc_flag_unused_command_line_argument=no
   9993 fi
   9994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9995 fi
   9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9999 	CFLAGS="$xorg_testset_save_CFLAGS"
   10000 fi
   10001 
   10002 found="no"
   10003 
   10004 	if test $found = "no" ; then
   10005 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10007 		fi
   10008 
   10009 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10011 		fi
   10012 
   10013 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10014 
   10015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   10016 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   10017 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10018 		if eval \${$cacheid+:} false; then :
   10019   $as_echo_n "(cached) " >&6
   10020 else
   10021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 int i;
   10024 int
   10025 main ()
   10026 {
   10027 
   10028   ;
   10029   return 0;
   10030 }
   10031 _ACEOF
   10032 if ac_fn_c_try_link "$LINENO"; then :
   10033   eval $cacheid=yes
   10034 else
   10035   eval $cacheid=no
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext \
   10038     conftest$ac_exeext conftest.$ac_ext
   10039 fi
   10040 
   10041 
   10042 		CFLAGS="$xorg_testset_save_CFLAGS"
   10043 
   10044 		eval supported=\$$cacheid
   10045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10046 $as_echo "$supported" >&6; }
   10047 		if test "$supported" = "yes" ; then
   10048 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10049 			found="yes"
   10050 		fi
   10051 	fi
   10052 
   10053 
   10054 fi
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 		CWARNFLAGS="$BASE_CFLAGS"
   10063 		if  test "x$GCC" = xyes ; then
   10064 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10065 		fi
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 # Check whether --enable-strict-compilation was given.
   10075 if test "${enable_strict_compilation+set}" = set; then :
   10076   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10077 else
   10078   STRICT_COMPILE=no
   10079 fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 STRICT_CFLAGS=""
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 xorg_testset_save_CFLAGS="$CFLAGS"
   10101 
   10102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10107   $as_echo_n "(cached) " >&6
   10108 else
   10109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10110 /* end confdefs.h.  */
   10111 int i;
   10112 _ACEOF
   10113 if ac_fn_c_try_compile "$LINENO"; then :
   10114   xorg_cv_cc_flag_unknown_warning_option=yes
   10115 else
   10116   xorg_cv_cc_flag_unknown_warning_option=no
   10117 fi
   10118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10119 fi
   10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10123 	CFLAGS="$xorg_testset_save_CFLAGS"
   10124 fi
   10125 
   10126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10129 	fi
   10130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10134   $as_echo_n "(cached) " >&6
   10135 else
   10136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10137 /* end confdefs.h.  */
   10138 int i;
   10139 _ACEOF
   10140 if ac_fn_c_try_compile "$LINENO"; then :
   10141   xorg_cv_cc_flag_unused_command_line_argument=yes
   10142 else
   10143   xorg_cv_cc_flag_unused_command_line_argument=no
   10144 fi
   10145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10146 fi
   10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10150 	CFLAGS="$xorg_testset_save_CFLAGS"
   10151 fi
   10152 
   10153 found="no"
   10154 
   10155 	if test $found = "no" ; then
   10156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10158 		fi
   10159 
   10160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10162 		fi
   10163 
   10164 		CFLAGS="$CFLAGS -pedantic"
   10165 
   10166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   10167 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   10168 		cacheid=xorg_cv_cc_flag__pedantic
   10169 		if eval \${$cacheid+:} false; then :
   10170   $as_echo_n "(cached) " >&6
   10171 else
   10172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10173 /* end confdefs.h.  */
   10174 int i;
   10175 int
   10176 main ()
   10177 {
   10178 
   10179   ;
   10180   return 0;
   10181 }
   10182 _ACEOF
   10183 if ac_fn_c_try_link "$LINENO"; then :
   10184   eval $cacheid=yes
   10185 else
   10186   eval $cacheid=no
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext \
   10189     conftest$ac_exeext conftest.$ac_ext
   10190 fi
   10191 
   10192 
   10193 		CFLAGS="$xorg_testset_save_CFLAGS"
   10194 
   10195 		eval supported=\$$cacheid
   10196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10197 $as_echo "$supported" >&6; }
   10198 		if test "$supported" = "yes" ; then
   10199 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10200 			found="yes"
   10201 		fi
   10202 	fi
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 xorg_testset_save_CFLAGS="$CFLAGS"
   10219 
   10220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10225   $as_echo_n "(cached) " >&6
   10226 else
   10227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 _ACEOF
   10231 if ac_fn_c_try_compile "$LINENO"; then :
   10232   xorg_cv_cc_flag_unknown_warning_option=yes
   10233 else
   10234   xorg_cv_cc_flag_unknown_warning_option=no
   10235 fi
   10236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10237 fi
   10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10241 	CFLAGS="$xorg_testset_save_CFLAGS"
   10242 fi
   10243 
   10244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10247 	fi
   10248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10252   $as_echo_n "(cached) " >&6
   10253 else
   10254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10255 /* end confdefs.h.  */
   10256 int i;
   10257 _ACEOF
   10258 if ac_fn_c_try_compile "$LINENO"; then :
   10259   xorg_cv_cc_flag_unused_command_line_argument=yes
   10260 else
   10261   xorg_cv_cc_flag_unused_command_line_argument=no
   10262 fi
   10263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10264 fi
   10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10268 	CFLAGS="$xorg_testset_save_CFLAGS"
   10269 fi
   10270 
   10271 found="no"
   10272 
   10273 	if test $found = "no" ; then
   10274 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10276 		fi
   10277 
   10278 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10280 		fi
   10281 
   10282 		CFLAGS="$CFLAGS -Werror"
   10283 
   10284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   10285 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   10286 		cacheid=xorg_cv_cc_flag__Werror
   10287 		if eval \${$cacheid+:} false; then :
   10288   $as_echo_n "(cached) " >&6
   10289 else
   10290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10291 /* end confdefs.h.  */
   10292 int i;
   10293 int
   10294 main ()
   10295 {
   10296 
   10297   ;
   10298   return 0;
   10299 }
   10300 _ACEOF
   10301 if ac_fn_c_try_link "$LINENO"; then :
   10302   eval $cacheid=yes
   10303 else
   10304   eval $cacheid=no
   10305 fi
   10306 rm -f core conftest.err conftest.$ac_objext \
   10307     conftest$ac_exeext conftest.$ac_ext
   10308 fi
   10309 
   10310 
   10311 		CFLAGS="$xorg_testset_save_CFLAGS"
   10312 
   10313 		eval supported=\$$cacheid
   10314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10315 $as_echo "$supported" >&6; }
   10316 		if test "$supported" = "yes" ; then
   10317 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10318 			found="yes"
   10319 		fi
   10320 	fi
   10321 
   10322 	if test $found = "no" ; then
   10323 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10325 		fi
   10326 
   10327 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10329 		fi
   10330 
   10331 		CFLAGS="$CFLAGS -errwarn"
   10332 
   10333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   10334 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   10335 		cacheid=xorg_cv_cc_flag__errwarn
   10336 		if eval \${$cacheid+:} false; then :
   10337   $as_echo_n "(cached) " >&6
   10338 else
   10339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10340 /* end confdefs.h.  */
   10341 int i;
   10342 int
   10343 main ()
   10344 {
   10345 
   10346   ;
   10347   return 0;
   10348 }
   10349 _ACEOF
   10350 if ac_fn_c_try_link "$LINENO"; then :
   10351   eval $cacheid=yes
   10352 else
   10353   eval $cacheid=no
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext \
   10356     conftest$ac_exeext conftest.$ac_ext
   10357 fi
   10358 
   10359 
   10360 		CFLAGS="$xorg_testset_save_CFLAGS"
   10361 
   10362 		eval supported=\$$cacheid
   10363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10364 $as_echo "$supported" >&6; }
   10365 		if test "$supported" = "yes" ; then
   10366 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10367 			found="yes"
   10368 		fi
   10369 	fi
   10370 
   10371 
   10372 
   10373 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10374 # activate it with -Werror, so we add it here explicitly.
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 xorg_testset_save_CFLAGS="$CFLAGS"
   10389 
   10390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10395   $as_echo_n "(cached) " >&6
   10396 else
   10397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10398 /* end confdefs.h.  */
   10399 int i;
   10400 _ACEOF
   10401 if ac_fn_c_try_compile "$LINENO"; then :
   10402   xorg_cv_cc_flag_unknown_warning_option=yes
   10403 else
   10404   xorg_cv_cc_flag_unknown_warning_option=no
   10405 fi
   10406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10407 fi
   10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10411 	CFLAGS="$xorg_testset_save_CFLAGS"
   10412 fi
   10413 
   10414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 	fi
   10418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10422   $as_echo_n "(cached) " >&6
   10423 else
   10424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10425 /* end confdefs.h.  */
   10426 int i;
   10427 _ACEOF
   10428 if ac_fn_c_try_compile "$LINENO"; then :
   10429   xorg_cv_cc_flag_unused_command_line_argument=yes
   10430 else
   10431   xorg_cv_cc_flag_unused_command_line_argument=no
   10432 fi
   10433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10434 fi
   10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10438 	CFLAGS="$xorg_testset_save_CFLAGS"
   10439 fi
   10440 
   10441 found="no"
   10442 
   10443 	if test $found = "no" ; then
   10444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10446 		fi
   10447 
   10448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10450 		fi
   10451 
   10452 		CFLAGS="$CFLAGS -Werror=attributes"
   10453 
   10454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   10455 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   10456 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10457 		if eval \${$cacheid+:} false; then :
   10458   $as_echo_n "(cached) " >&6
   10459 else
   10460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10461 /* end confdefs.h.  */
   10462 int i;
   10463 int
   10464 main ()
   10465 {
   10466 
   10467   ;
   10468   return 0;
   10469 }
   10470 _ACEOF
   10471 if ac_fn_c_try_link "$LINENO"; then :
   10472   eval $cacheid=yes
   10473 else
   10474   eval $cacheid=no
   10475 fi
   10476 rm -f core conftest.err conftest.$ac_objext \
   10477     conftest$ac_exeext conftest.$ac_ext
   10478 fi
   10479 
   10480 
   10481 		CFLAGS="$xorg_testset_save_CFLAGS"
   10482 
   10483 		eval supported=\$$cacheid
   10484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10485 $as_echo "$supported" >&6; }
   10486 		if test "$supported" = "yes" ; then
   10487 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10488 			found="yes"
   10489 		fi
   10490 	fi
   10491 
   10492 
   10493 
   10494 if test "x$STRICT_COMPILE" = "xyes"; then
   10495     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10496     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10497 fi
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 cat >>confdefs.h <<_ACEOF
   10505 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10506 _ACEOF
   10507 
   10508 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10509 	if test "x$PVM" = "x"; then
   10510 		PVM="0"
   10511 	fi
   10512 
   10513 cat >>confdefs.h <<_ACEOF
   10514 #define PACKAGE_VERSION_MINOR $PVM
   10515 _ACEOF
   10516 
   10517 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10518 	if test "x$PVP" = "x"; then
   10519 		PVP="0"
   10520 	fi
   10521 
   10522 cat >>confdefs.h <<_ACEOF
   10523 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10524 _ACEOF
   10525 
   10526 
   10527 
   10528 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10529 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10530 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10531 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10532 
   10533 
   10534 
   10535 
   10536 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10537 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10538 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10539 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10540 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 if test x$APP_MAN_SUFFIX = x    ; then
   10548     APP_MAN_SUFFIX=1
   10549 fi
   10550 if test x$APP_MAN_DIR = x    ; then
   10551     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10552 fi
   10553 
   10554 if test x$LIB_MAN_SUFFIX = x    ; then
   10555     LIB_MAN_SUFFIX=3
   10556 fi
   10557 if test x$LIB_MAN_DIR = x    ; then
   10558     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10559 fi
   10560 
   10561 if test x$FILE_MAN_SUFFIX = x    ; then
   10562     case $host_os in
   10563 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10564 	*)		FILE_MAN_SUFFIX=5  ;;
   10565     esac
   10566 fi
   10567 if test x$FILE_MAN_DIR = x    ; then
   10568     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10569 fi
   10570 
   10571 if test x$MISC_MAN_SUFFIX = x    ; then
   10572     case $host_os in
   10573 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10574 	*)		MISC_MAN_SUFFIX=7  ;;
   10575     esac
   10576 fi
   10577 if test x$MISC_MAN_DIR = x    ; then
   10578     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10579 fi
   10580 
   10581 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10582     case $host_os in
   10583 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10584 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10585     esac
   10586 fi
   10587 if test x$DRIVER_MAN_DIR = x    ; then
   10588     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10589 fi
   10590 
   10591 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10592     case $host_os in
   10593 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10594 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10595     esac
   10596 fi
   10597 if test x$ADMIN_MAN_DIR = x    ; then
   10598     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10599 fi
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 XORG_MAN_PAGE="X Version 11"
   10616 
   10617 MAN_SUBSTS="\
   10618 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10619 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10620 	-e 's|__xservername__|Xorg|g' \
   10621 	-e 's|__xconfigfile__|xorg.conf|g' \
   10622 	-e 's|__projectroot__|\$(prefix)|g' \
   10623 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10624 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10625 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10626 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10627 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10628 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10629 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10630 
   10631 
   10632 
   10633 # Check whether --enable-silent-rules was given.
   10634 if test "${enable_silent_rules+set}" = set; then :
   10635   enableval=$enable_silent_rules;
   10636 fi
   10637 
   10638 case $enable_silent_rules in
   10639 yes) AM_DEFAULT_VERBOSITY=0;;
   10640 no)  AM_DEFAULT_VERBOSITY=1;;
   10641 *)   AM_DEFAULT_VERBOSITY=0;;
   10642 esac
   10643 AM_BACKSLASH='\'
   10644 
   10645 
   10646 
   10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   10648 $as_echo_n "checking return type of signal handlers... " >&6; }
   10649 if ${ac_cv_type_signal+:} false; then :
   10650   $as_echo_n "(cached) " >&6
   10651 else
   10652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10653 /* end confdefs.h.  */
   10654 #include <sys/types.h>
   10655 #include <signal.h>
   10656 
   10657 int
   10658 main ()
   10659 {
   10660 return *(signal (0, 0)) (0) == 1;
   10661   ;
   10662   return 0;
   10663 }
   10664 _ACEOF
   10665 if ac_fn_c_try_compile "$LINENO"; then :
   10666   ac_cv_type_signal=int
   10667 else
   10668   ac_cv_type_signal=void
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10671 fi
   10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   10673 $as_echo "$ac_cv_type_signal" >&6; }
   10674 
   10675 cat >>confdefs.h <<_ACEOF
   10676 #define RETSIGTYPE $ac_cv_type_signal
   10677 _ACEOF
   10678 
   10679 
   10680 
   10681 for ac_header in net/errno.h
   10682 do :
   10683   ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default"
   10684 if test "x$ac_cv_header_net_errno_h" = xyes; then :
   10685   cat >>confdefs.h <<_ACEOF
   10686 #define HAVE_NET_ERRNO_H 1
   10687 _ACEOF
   10688 
   10689 fi
   10690 
   10691 done
   10692 
   10693 
   10694 for ac_func in strlcpy
   10695 do :
   10696   ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   10697 if test "x$ac_cv_func_strlcpy" = xyes; then :
   10698   cat >>confdefs.h <<_ACEOF
   10699 #define HAVE_STRLCPY 1
   10700 _ACEOF
   10701 
   10702 fi
   10703 done
   10704 
   10705 
   10706 # Checks for pkg-config packages
   10707 
   10708 pkg_failed=no
   10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAUTH" >&5
   10710 $as_echo_n "checking for XAUTH... " >&6; }
   10711 
   10712 if test -n "$XAUTH_CFLAGS"; then
   10713     pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS"
   10714  elif test -n "$PKG_CONFIG"; then
   10715     if test -n "$PKG_CONFIG" && \
   10716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
   10717   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
   10718   ac_status=$?
   10719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10720   test $ac_status = 0; }; then
   10721   pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu" 2>/dev/null`
   10722 else
   10723   pkg_failed=yes
   10724 fi
   10725  else
   10726     pkg_failed=untried
   10727 fi
   10728 if test -n "$XAUTH_LIBS"; then
   10729     pkg_cv_XAUTH_LIBS="$XAUTH_LIBS"
   10730  elif test -n "$PKG_CONFIG"; then
   10731     if test -n "$PKG_CONFIG" && \
   10732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
   10733   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
   10734   ac_status=$?
   10735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10736   test $ac_status = 0; }; then
   10737   pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu" 2>/dev/null`
   10738 else
   10739   pkg_failed=yes
   10740 fi
   10741  else
   10742     pkg_failed=untried
   10743 fi
   10744 
   10745 
   10746 
   10747 if test $pkg_failed = yes; then
   10748 
   10749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10750         _pkg_short_errors_supported=yes
   10751 else
   10752         _pkg_short_errors_supported=no
   10753 fi
   10754         if test $_pkg_short_errors_supported = yes; then
   10755 	        XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xau xext xmuu" 2>&1`
   10756         else
   10757 	        XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xau xext xmuu" 2>&1`
   10758         fi
   10759 	# Put the nasty error message in config.log where it belongs
   10760 	echo "$XAUTH_PKG_ERRORS" >&5
   10761 
   10762 	as_fn_error $? "Package requirements (x11 xau xext xmuu) were not met:
   10763 
   10764 $XAUTH_PKG_ERRORS
   10765 
   10766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10767 installed software in a non-standard prefix.
   10768 
   10769 Alternatively, you may set the environment variables XAUTH_CFLAGS
   10770 and XAUTH_LIBS to avoid the need to call pkg-config.
   10771 See the pkg-config man page for more details.
   10772 " "$LINENO" 5
   10773 elif test $pkg_failed = untried; then
   10774 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10776 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10777 is in your PATH or set the PKG_CONFIG environment variable to the full
   10778 path to pkg-config.
   10779 
   10780 Alternatively, you may set the environment variables XAUTH_CFLAGS
   10781 and XAUTH_LIBS to avoid the need to call pkg-config.
   10782 See the pkg-config man page for more details.
   10783 
   10784 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10785 See \`config.log' for more details" "$LINENO" 5; }
   10786 else
   10787 	XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS
   10788 	XAUTH_LIBS=$pkg_cv_XAUTH_LIBS
   10789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10790 $as_echo "yes" >&6; }
   10791 	:
   10792 fi
   10793 
   10794 # Transport selection macro from xtrans.m4
   10795 # Needed to set *CONN defines for gethost.c & parsedpy.c
   10796 
   10797 
   10798 
   10799  case $host_os in
   10800 	mingw*)	unixdef="no"   ;;
   10801 	*)	unixdef="yes"  ;;
   10802  esac
   10803  # Check whether --enable-unix-transport was given.
   10804 if test "${enable_unix_transport+set}" = set; then :
   10805   enableval=$enable_unix_transport; UNIXCONN=$enableval
   10806 else
   10807   UNIXCONN=$unixdef
   10808 fi
   10809 
   10810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   10811 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   10812  if test "$UNIXCONN" = "yes"; then
   10813 
   10814 $as_echo "#define UNIXCONN 1" >>confdefs.h
   10815 
   10816  fi
   10817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   10818 $as_echo "$UNIXCONN" >&6; }
   10819  # Check whether --enable-tcp-transport was given.
   10820 if test "${enable_tcp_transport+set}" = set; then :
   10821   enableval=$enable_tcp_transport; TCPCONN=$enableval
   10822 else
   10823   TCPCONN=yes
   10824 fi
   10825 
   10826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   10827 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   10828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   10829 $as_echo "$TCPCONN" >&6; }
   10830  if test "$TCPCONN" = "yes"; then
   10831 
   10832 $as_echo "#define TCPCONN 1" >>confdefs.h
   10833 
   10834 
   10835  # SVR4 hides these in libraries other than libc
   10836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   10837 $as_echo_n "checking for library containing socket... " >&6; }
   10838 if ${ac_cv_search_socket+:} false; then :
   10839   $as_echo_n "(cached) " >&6
   10840 else
   10841   ac_func_search_save_LIBS=$LIBS
   10842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10843 /* end confdefs.h.  */
   10844 
   10845 /* Override any GCC internal prototype to avoid an error.
   10846    Use char because int might match the return type of a GCC
   10847    builtin and then its argument prototype would still apply.  */
   10848 #ifdef __cplusplus
   10849 extern "C"
   10850 #endif
   10851 char socket ();
   10852 int
   10853 main ()
   10854 {
   10855 return socket ();
   10856   ;
   10857   return 0;
   10858 }
   10859 _ACEOF
   10860 for ac_lib in '' socket; do
   10861   if test -z "$ac_lib"; then
   10862     ac_res="none required"
   10863   else
   10864     ac_res=-l$ac_lib
   10865     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10866   fi
   10867   if ac_fn_c_try_link "$LINENO"; then :
   10868   ac_cv_search_socket=$ac_res
   10869 fi
   10870 rm -f core conftest.err conftest.$ac_objext \
   10871     conftest$ac_exeext
   10872   if ${ac_cv_search_socket+:} false; then :
   10873   break
   10874 fi
   10875 done
   10876 if ${ac_cv_search_socket+:} false; then :
   10877 
   10878 else
   10879   ac_cv_search_socket=no
   10880 fi
   10881 rm conftest.$ac_ext
   10882 LIBS=$ac_func_search_save_LIBS
   10883 fi
   10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   10885 $as_echo "$ac_cv_search_socket" >&6; }
   10886 ac_res=$ac_cv_search_socket
   10887 if test "$ac_res" != no; then :
   10888   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10889 
   10890 fi
   10891 
   10892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   10893 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   10894 if ${ac_cv_search_gethostbyname+:} false; then :
   10895   $as_echo_n "(cached) " >&6
   10896 else
   10897   ac_func_search_save_LIBS=$LIBS
   10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10899 /* end confdefs.h.  */
   10900 
   10901 /* Override any GCC internal prototype to avoid an error.
   10902    Use char because int might match the return type of a GCC
   10903    builtin and then its argument prototype would still apply.  */
   10904 #ifdef __cplusplus
   10905 extern "C"
   10906 #endif
   10907 char gethostbyname ();
   10908 int
   10909 main ()
   10910 {
   10911 return gethostbyname ();
   10912   ;
   10913   return 0;
   10914 }
   10915 _ACEOF
   10916 for ac_lib in '' nsl; do
   10917   if test -z "$ac_lib"; then
   10918     ac_res="none required"
   10919   else
   10920     ac_res=-l$ac_lib
   10921     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10922   fi
   10923   if ac_fn_c_try_link "$LINENO"; then :
   10924   ac_cv_search_gethostbyname=$ac_res
   10925 fi
   10926 rm -f core conftest.err conftest.$ac_objext \
   10927     conftest$ac_exeext
   10928   if ${ac_cv_search_gethostbyname+:} false; then :
   10929   break
   10930 fi
   10931 done
   10932 if ${ac_cv_search_gethostbyname+:} false; then :
   10933 
   10934 else
   10935   ac_cv_search_gethostbyname=no
   10936 fi
   10937 rm conftest.$ac_ext
   10938 LIBS=$ac_func_search_save_LIBS
   10939 fi
   10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   10941 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   10942 ac_res=$ac_cv_search_gethostbyname
   10943 if test "$ac_res" != no; then :
   10944   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10945 
   10946 fi
   10947 
   10948  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   10949    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   10950 $as_echo_n "checking for main in -lws2_32... " >&6; }
   10951 if ${ac_cv_lib_ws2_32_main+:} false; then :
   10952   $as_echo_n "(cached) " >&6
   10953 else
   10954   ac_check_lib_save_LIBS=$LIBS
   10955 LIBS="-lws2_32  $LIBS"
   10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10957 /* end confdefs.h.  */
   10958 
   10959 
   10960 int
   10961 main ()
   10962 {
   10963 return main ();
   10964   ;
   10965   return 0;
   10966 }
   10967 _ACEOF
   10968 if ac_fn_c_try_link "$LINENO"; then :
   10969   ac_cv_lib_ws2_32_main=yes
   10970 else
   10971   ac_cv_lib_ws2_32_main=no
   10972 fi
   10973 rm -f core conftest.err conftest.$ac_objext \
   10974     conftest$ac_exeext conftest.$ac_ext
   10975 LIBS=$ac_check_lib_save_LIBS
   10976 fi
   10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   10978 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   10979 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   10980   cat >>confdefs.h <<_ACEOF
   10981 #define HAVE_LIBWS2_32 1
   10982 _ACEOF
   10983 
   10984   LIBS="-lws2_32 $LIBS"
   10985 
   10986 fi
   10987 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   10988 
   10989  fi
   10990 
   10991  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   10992  # Check whether --enable-ipv6 was given.
   10993 if test "${enable_ipv6+set}" = set; then :
   10994   enableval=$enable_ipv6; IPV6CONN=$enableval
   10995 else
   10996   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   10997 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   10998   IPV6CONN=yes
   10999 else
   11000   IPV6CONN=no
   11001 fi
   11002 
   11003 fi
   11004 
   11005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11006 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11007  if test "$IPV6CONN" = "yes"; then
   11008 
   11009 $as_echo "#define IPv6 1" >>confdefs.h
   11010 
   11011  fi
   11012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11013 $as_echo "$IPV6CONN" >&6; }
   11014 
   11015  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11016  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11017 #include <sys/types.h>
   11018 #include <sys/socket.h>
   11019 #include <netinet/in.h>
   11020 
   11021 "
   11022 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11023 
   11024 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11025 
   11026 fi
   11027 
   11028 
   11029  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11030  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11031 $ac_includes_default
   11032 #include <sys/socket.h>
   11033 "
   11034 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11035 
   11036 cat >>confdefs.h <<_ACEOF
   11037 #define HAVE_SOCKLEN_T 1
   11038 _ACEOF
   11039 
   11040 
   11041 fi
   11042 
   11043 
   11044 
   11045  fi
   11046  case $host_os in
   11047 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11048 	*)			localdef="no"  ;;
   11049  esac
   11050  # Check whether --enable-local-transport was given.
   11051 if test "${enable_local_transport+set}" = set; then :
   11052   enableval=$enable_local_transport; LOCALCONN=$enableval
   11053 else
   11054   LOCALCONN=$localdef
   11055 fi
   11056 
   11057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11058 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11060 $as_echo "$LOCALCONN" >&6; }
   11061  if test "$LOCALCONN" = "yes"; then
   11062 
   11063 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11064 
   11065  fi
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 # Check whether --with-lint was given.
   11075 if test "${with_lint+set}" = set; then :
   11076   withval=$with_lint; use_lint=$withval
   11077 else
   11078   use_lint=no
   11079 fi
   11080 
   11081 
   11082 # Obtain platform specific info like program name and options
   11083 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11084 case $host_os in
   11085   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11086 	lint_name=splint
   11087 	lint_options="-badflag"
   11088 	;;
   11089   *freebsd* | *netbsd*)
   11090 	lint_name=lint
   11091 	lint_options="-u -b"
   11092 	;;
   11093   *solaris*)
   11094 	lint_name=lint
   11095 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11096 	;;
   11097 esac
   11098 
   11099 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11100 if test "x$use_lint" = x"yes" ; then
   11101    # Extract the first word of "$lint_name", so it can be a program name with args.
   11102 set dummy $lint_name; ac_word=$2
   11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11104 $as_echo_n "checking for $ac_word... " >&6; }
   11105 if ${ac_cv_path_LINT+:} false; then :
   11106   $as_echo_n "(cached) " >&6
   11107 else
   11108   case $LINT in
   11109   [\\/]* | ?:[\\/]*)
   11110   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11111   ;;
   11112   *)
   11113   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11114 for as_dir in $PATH
   11115 do
   11116   IFS=$as_save_IFS
   11117   test -z "$as_dir" && as_dir=.
   11118     for ac_exec_ext in '' $ac_executable_extensions; do
   11119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11120     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11122     break 2
   11123   fi
   11124 done
   11125   done
   11126 IFS=$as_save_IFS
   11127 
   11128   ;;
   11129 esac
   11130 fi
   11131 LINT=$ac_cv_path_LINT
   11132 if test -n "$LINT"; then
   11133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11134 $as_echo "$LINT" >&6; }
   11135 else
   11136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11137 $as_echo "no" >&6; }
   11138 fi
   11139 
   11140 
   11141    if test "x$LINT" = "x"; then
   11142         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11143    fi
   11144 elif test "x$use_lint" = x"no" ; then
   11145    if test "x$LINT" != "x"; then
   11146       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11147 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11148    fi
   11149 else
   11150    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11151 fi
   11152 
   11153 # User supplied flags override default flags
   11154 if test "x$LINT_FLAGS" != "x"; then
   11155    lint_options=$LINT_FLAGS
   11156 fi
   11157 
   11158 LINT_FLAGS=$lint_options
   11159 
   11160  if test "x$LINT" != x; then
   11161   LINT_TRUE=
   11162   LINT_FALSE='#'
   11163 else
   11164   LINT_TRUE='#'
   11165   LINT_FALSE=
   11166 fi
   11167 
   11168 
   11169 
   11170 
   11171 ac_config_files="$ac_config_files Makefile man/Makefile"
   11172 
   11173 cat >confcache <<\_ACEOF
   11174 # This file is a shell script that caches the results of configure
   11175 # tests run on this system so they can be shared between configure
   11176 # scripts and configure runs, see configure's option --config-cache.
   11177 # It is not useful on other systems.  If it contains results you don't
   11178 # want to keep, you may remove or edit it.
   11179 #
   11180 # config.status only pays attention to the cache file if you give it
   11181 # the --recheck option to rerun configure.
   11182 #
   11183 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11184 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11185 # following values.
   11186 
   11187 _ACEOF
   11188 
   11189 # The following way of writing the cache mishandles newlines in values,
   11190 # but we know of no workaround that is simple, portable, and efficient.
   11191 # So, we kill variables containing newlines.
   11192 # Ultrix sh set writes to stderr and can't be redirected directly,
   11193 # and sets the high bit in the cache file unless we assign to the vars.
   11194 (
   11195   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11196     eval ac_val=\$$ac_var
   11197     case $ac_val in #(
   11198     *${as_nl}*)
   11199       case $ac_var in #(
   11200       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11201 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11202       esac
   11203       case $ac_var in #(
   11204       _ | IFS | as_nl) ;; #(
   11205       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11206       *) { eval $ac_var=; unset $ac_var;} ;;
   11207       esac ;;
   11208     esac
   11209   done
   11210 
   11211   (set) 2>&1 |
   11212     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11213     *${as_nl}ac_space=\ *)
   11214       # `set' does not quote correctly, so add quotes: double-quote
   11215       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11216       sed -n \
   11217 	"s/'/'\\\\''/g;
   11218 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11219       ;; #(
   11220     *)
   11221       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11222       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11223       ;;
   11224     esac |
   11225     sort
   11226 ) |
   11227   sed '
   11228      /^ac_cv_env_/b end
   11229      t clear
   11230      :clear
   11231      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11232      t end
   11233      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11234      :end' >>confcache
   11235 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11236   if test -w "$cache_file"; then
   11237     if test "x$cache_file" != "x/dev/null"; then
   11238       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11239 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11240       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11241 	cat confcache >"$cache_file"
   11242       else
   11243         case $cache_file in #(
   11244         */* | ?:*)
   11245 	  mv -f confcache "$cache_file"$$ &&
   11246 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11247         *)
   11248 	  mv -f confcache "$cache_file" ;;
   11249 	esac
   11250       fi
   11251     fi
   11252   else
   11253     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11254 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11255   fi
   11256 fi
   11257 rm -f confcache
   11258 
   11259 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11260 # Let make expand exec_prefix.
   11261 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11262 
   11263 DEFS=-DHAVE_CONFIG_H
   11264 
   11265 ac_libobjs=
   11266 ac_ltlibobjs=
   11267 U=
   11268 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11269   # 1. Remove the extension, and $U if already installed.
   11270   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11271   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11272   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11273   #    will be set to the directory where LIBOBJS objects are built.
   11274   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11275   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11276 done
   11277 LIBOBJS=$ac_libobjs
   11278 
   11279 LTLIBOBJS=$ac_ltlibobjs
   11280 
   11281 
   11282  if test -n "$EXEEXT"; then
   11283   am__EXEEXT_TRUE=
   11284   am__EXEEXT_FALSE='#'
   11285 else
   11286   am__EXEEXT_TRUE='#'
   11287   am__EXEEXT_FALSE=
   11288 fi
   11289 
   11290 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11291   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11293 fi
   11294 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11295   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11297 fi
   11298 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11299   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11301 fi
   11302 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11303   as_fn_error $? "conditional \"LINT\" was never defined.
   11304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11305 fi
   11306 
   11307 : "${CONFIG_STATUS=./config.status}"
   11308 ac_write_fail=0
   11309 ac_clean_files_save=$ac_clean_files
   11310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11313 as_write_fail=0
   11314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11315 #! $SHELL
   11316 # Generated by $as_me.
   11317 # Run this file to recreate the current configuration.
   11318 # Compiler output produced by configure, useful for debugging
   11319 # configure, is in config.log if it exists.
   11320 
   11321 debug=false
   11322 ac_cs_recheck=false
   11323 ac_cs_silent=false
   11324 
   11325 SHELL=\${CONFIG_SHELL-$SHELL}
   11326 export SHELL
   11327 _ASEOF
   11328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11329 ## -------------------- ##
   11330 ## M4sh Initialization. ##
   11331 ## -------------------- ##
   11332 
   11333 # Be more Bourne compatible
   11334 DUALCASE=1; export DUALCASE # for MKS sh
   11335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11336   emulate sh
   11337   NULLCMD=:
   11338   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11339   # is contrary to our usage.  Disable this feature.
   11340   alias -g '${1+"$@"}'='"$@"'
   11341   setopt NO_GLOB_SUBST
   11342 else
   11343   case `(set -o) 2>/dev/null` in #(
   11344   *posix*) :
   11345     set -o posix ;; #(
   11346   *) :
   11347      ;;
   11348 esac
   11349 fi
   11350 
   11351 
   11352 as_nl='
   11353 '
   11354 export as_nl
   11355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11356 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11359 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11360 # but without wasting forks for bash or zsh.
   11361 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11362     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11363   as_echo='print -r --'
   11364   as_echo_n='print -rn --'
   11365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11366   as_echo='printf %s\n'
   11367   as_echo_n='printf %s'
   11368 else
   11369   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11370     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11371     as_echo_n='/usr/ucb/echo -n'
   11372   else
   11373     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11374     as_echo_n_body='eval
   11375       arg=$1;
   11376       case $arg in #(
   11377       *"$as_nl"*)
   11378 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11379 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11380       esac;
   11381       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11382     '
   11383     export as_echo_n_body
   11384     as_echo_n='sh -c $as_echo_n_body as_echo'
   11385   fi
   11386   export as_echo_body
   11387   as_echo='sh -c $as_echo_body as_echo'
   11388 fi
   11389 
   11390 # The user is always right.
   11391 if test "${PATH_SEPARATOR+set}" != set; then
   11392   PATH_SEPARATOR=:
   11393   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11394     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11395       PATH_SEPARATOR=';'
   11396   }
   11397 fi
   11398 
   11399 
   11400 # IFS
   11401 # We need space, tab and new line, in precisely that order.  Quoting is
   11402 # there to prevent editors from complaining about space-tab.
   11403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11404 # splitting by setting IFS to empty value.)
   11405 IFS=" ""	$as_nl"
   11406 
   11407 # Find who we are.  Look in the path if we contain no directory separator.
   11408 as_myself=
   11409 case $0 in #((
   11410   *[\\/]* ) as_myself=$0 ;;
   11411   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11412 for as_dir in $PATH
   11413 do
   11414   IFS=$as_save_IFS
   11415   test -z "$as_dir" && as_dir=.
   11416     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11417   done
   11418 IFS=$as_save_IFS
   11419 
   11420      ;;
   11421 esac
   11422 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11423 # in which case we are not to be found in the path.
   11424 if test "x$as_myself" = x; then
   11425   as_myself=$0
   11426 fi
   11427 if test ! -f "$as_myself"; then
   11428   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11429   exit 1
   11430 fi
   11431 
   11432 # Unset variables that we do not need and which cause bugs (e.g. in
   11433 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11434 # suppresses any "Segmentation fault" message there.  '((' could
   11435 # trigger a bug in pdksh 5.2.14.
   11436 for as_var in BASH_ENV ENV MAIL MAILPATH
   11437 do eval test x\${$as_var+set} = xset \
   11438   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11439 done
   11440 PS1='$ '
   11441 PS2='> '
   11442 PS4='+ '
   11443 
   11444 # NLS nuisances.
   11445 LC_ALL=C
   11446 export LC_ALL
   11447 LANGUAGE=C
   11448 export LANGUAGE
   11449 
   11450 # CDPATH.
   11451 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11452 
   11453 
   11454 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11455 # ----------------------------------------
   11456 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11457 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11458 # script with STATUS, using 1 if that was 0.
   11459 as_fn_error ()
   11460 {
   11461   as_status=$1; test $as_status -eq 0 && as_status=1
   11462   if test "$4"; then
   11463     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11464     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11465   fi
   11466   $as_echo "$as_me: error: $2" >&2
   11467   as_fn_exit $as_status
   11468 } # as_fn_error
   11469 
   11470 
   11471 # as_fn_set_status STATUS
   11472 # -----------------------
   11473 # Set $? to STATUS, without forking.
   11474 as_fn_set_status ()
   11475 {
   11476   return $1
   11477 } # as_fn_set_status
   11478 
   11479 # as_fn_exit STATUS
   11480 # -----------------
   11481 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11482 as_fn_exit ()
   11483 {
   11484   set +e
   11485   as_fn_set_status $1
   11486   exit $1
   11487 } # as_fn_exit
   11488 
   11489 # as_fn_unset VAR
   11490 # ---------------
   11491 # Portably unset VAR.
   11492 as_fn_unset ()
   11493 {
   11494   { eval $1=; unset $1;}
   11495 }
   11496 as_unset=as_fn_unset
   11497 # as_fn_append VAR VALUE
   11498 # ----------------------
   11499 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11500 # advantage of any shell optimizations that allow amortized linear growth over
   11501 # repeated appends, instead of the typical quadratic growth present in naive
   11502 # implementations.
   11503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11504   eval 'as_fn_append ()
   11505   {
   11506     eval $1+=\$2
   11507   }'
   11508 else
   11509   as_fn_append ()
   11510   {
   11511     eval $1=\$$1\$2
   11512   }
   11513 fi # as_fn_append
   11514 
   11515 # as_fn_arith ARG...
   11516 # ------------------
   11517 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11518 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11519 # must be portable across $(()) and expr.
   11520 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11521   eval 'as_fn_arith ()
   11522   {
   11523     as_val=$(( $* ))
   11524   }'
   11525 else
   11526   as_fn_arith ()
   11527   {
   11528     as_val=`expr "$@" || test $? -eq 1`
   11529   }
   11530 fi # as_fn_arith
   11531 
   11532 
   11533 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11534    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11535   as_expr=expr
   11536 else
   11537   as_expr=false
   11538 fi
   11539 
   11540 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11541   as_basename=basename
   11542 else
   11543   as_basename=false
   11544 fi
   11545 
   11546 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11547   as_dirname=dirname
   11548 else
   11549   as_dirname=false
   11550 fi
   11551 
   11552 as_me=`$as_basename -- "$0" ||
   11553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11554 	 X"$0" : 'X\(//\)$' \| \
   11555 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11556 $as_echo X/"$0" |
   11557     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11558 	    s//\1/
   11559 	    q
   11560 	  }
   11561 	  /^X\/\(\/\/\)$/{
   11562 	    s//\1/
   11563 	    q
   11564 	  }
   11565 	  /^X\/\(\/\).*/{
   11566 	    s//\1/
   11567 	    q
   11568 	  }
   11569 	  s/.*/./; q'`
   11570 
   11571 # Avoid depending upon Character Ranges.
   11572 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11573 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11574 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11575 as_cr_digits='0123456789'
   11576 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11577 
   11578 ECHO_C= ECHO_N= ECHO_T=
   11579 case `echo -n x` in #(((((
   11580 -n*)
   11581   case `echo 'xy\c'` in
   11582   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11583   xy)  ECHO_C='\c';;
   11584   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11585        ECHO_T='	';;
   11586   esac;;
   11587 *)
   11588   ECHO_N='-n';;
   11589 esac
   11590 
   11591 rm -f conf$$ conf$$.exe conf$$.file
   11592 if test -d conf$$.dir; then
   11593   rm -f conf$$.dir/conf$$.file
   11594 else
   11595   rm -f conf$$.dir
   11596   mkdir conf$$.dir 2>/dev/null
   11597 fi
   11598 if (echo >conf$$.file) 2>/dev/null; then
   11599   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11600     as_ln_s='ln -s'
   11601     # ... but there are two gotchas:
   11602     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11603     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11604     # In both cases, we have to default to `cp -p'.
   11605     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11606       as_ln_s='cp -p'
   11607   elif ln conf$$.file conf$$ 2>/dev/null; then
   11608     as_ln_s=ln
   11609   else
   11610     as_ln_s='cp -p'
   11611   fi
   11612 else
   11613   as_ln_s='cp -p'
   11614 fi
   11615 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11616 rmdir conf$$.dir 2>/dev/null
   11617 
   11618 
   11619 # as_fn_mkdir_p
   11620 # -------------
   11621 # Create "$as_dir" as a directory, including parents if necessary.
   11622 as_fn_mkdir_p ()
   11623 {
   11624 
   11625   case $as_dir in #(
   11626   -*) as_dir=./$as_dir;;
   11627   esac
   11628   test -d "$as_dir" || eval $as_mkdir_p || {
   11629     as_dirs=
   11630     while :; do
   11631       case $as_dir in #(
   11632       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11633       *) as_qdir=$as_dir;;
   11634       esac
   11635       as_dirs="'$as_qdir' $as_dirs"
   11636       as_dir=`$as_dirname -- "$as_dir" ||
   11637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11638 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11639 	 X"$as_dir" : 'X\(//\)$' \| \
   11640 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11641 $as_echo X"$as_dir" |
   11642     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11643 	    s//\1/
   11644 	    q
   11645 	  }
   11646 	  /^X\(\/\/\)[^/].*/{
   11647 	    s//\1/
   11648 	    q
   11649 	  }
   11650 	  /^X\(\/\/\)$/{
   11651 	    s//\1/
   11652 	    q
   11653 	  }
   11654 	  /^X\(\/\).*/{
   11655 	    s//\1/
   11656 	    q
   11657 	  }
   11658 	  s/.*/./; q'`
   11659       test -d "$as_dir" && break
   11660     done
   11661     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11662   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11663 
   11664 
   11665 } # as_fn_mkdir_p
   11666 if mkdir -p . 2>/dev/null; then
   11667   as_mkdir_p='mkdir -p "$as_dir"'
   11668 else
   11669   test -d ./-p && rmdir ./-p
   11670   as_mkdir_p=false
   11671 fi
   11672 
   11673 if test -x / >/dev/null 2>&1; then
   11674   as_test_x='test -x'
   11675 else
   11676   if ls -dL / >/dev/null 2>&1; then
   11677     as_ls_L_option=L
   11678   else
   11679     as_ls_L_option=
   11680   fi
   11681   as_test_x='
   11682     eval sh -c '\''
   11683       if test -d "$1"; then
   11684 	test -d "$1/.";
   11685       else
   11686 	case $1 in #(
   11687 	-*)set "./$1";;
   11688 	esac;
   11689 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11690 	???[sx]*):;;*)false;;esac;fi
   11691     '\'' sh
   11692   '
   11693 fi
   11694 as_executable_p=$as_test_x
   11695 
   11696 # Sed expression to map a string onto a valid CPP name.
   11697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11698 
   11699 # Sed expression to map a string onto a valid variable name.
   11700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11701 
   11702 
   11703 exec 6>&1
   11704 ## ----------------------------------- ##
   11705 ## Main body of $CONFIG_STATUS script. ##
   11706 ## ----------------------------------- ##
   11707 _ASEOF
   11708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11709 
   11710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11711 # Save the log message, to keep $0 and so on meaningful, and to
   11712 # report actual input values of CONFIG_FILES etc. instead of their
   11713 # values after options handling.
   11714 ac_log="
   11715 This file was extended by xauth $as_me 1.0.7, which was
   11716 generated by GNU Autoconf 2.68.  Invocation command line was
   11717 
   11718   CONFIG_FILES    = $CONFIG_FILES
   11719   CONFIG_HEADERS  = $CONFIG_HEADERS
   11720   CONFIG_LINKS    = $CONFIG_LINKS
   11721   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11722   $ $0 $@
   11723 
   11724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11725 "
   11726 
   11727 _ACEOF
   11728 
   11729 case $ac_config_files in *"
   11730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11731 esac
   11732 
   11733 case $ac_config_headers in *"
   11734 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11735 esac
   11736 
   11737 
   11738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11739 # Files that config.status was made for.
   11740 config_files="$ac_config_files"
   11741 config_headers="$ac_config_headers"
   11742 config_commands="$ac_config_commands"
   11743 
   11744 _ACEOF
   11745 
   11746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11747 ac_cs_usage="\
   11748 \`$as_me' instantiates files and other configuration actions
   11749 from templates according to the current configuration.  Unless the files
   11750 and actions are specified as TAGs, all are instantiated by default.
   11751 
   11752 Usage: $0 [OPTION]... [TAG]...
   11753 
   11754   -h, --help       print this help, then exit
   11755   -V, --version    print version number and configuration settings, then exit
   11756       --config     print configuration, then exit
   11757   -q, --quiet, --silent
   11758                    do not print progress messages
   11759   -d, --debug      don't remove temporary files
   11760       --recheck    update $as_me by reconfiguring in the same conditions
   11761       --file=FILE[:TEMPLATE]
   11762                    instantiate the configuration file FILE
   11763       --header=FILE[:TEMPLATE]
   11764                    instantiate the configuration header FILE
   11765 
   11766 Configuration files:
   11767 $config_files
   11768 
   11769 Configuration headers:
   11770 $config_headers
   11771 
   11772 Configuration commands:
   11773 $config_commands
   11774 
   11775 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11776 
   11777 _ACEOF
   11778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11779 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11780 ac_cs_version="\\
   11781 xauth config.status 1.0.7
   11782 configured by $0, generated by GNU Autoconf 2.68,
   11783   with options \\"\$ac_cs_config\\"
   11784 
   11785 Copyright (C) 2010 Free Software Foundation, Inc.
   11786 This config.status script is free software; the Free Software Foundation
   11787 gives unlimited permission to copy, distribute and modify it."
   11788 
   11789 ac_pwd='$ac_pwd'
   11790 srcdir='$srcdir'
   11791 INSTALL='$INSTALL'
   11792 MKDIR_P='$MKDIR_P'
   11793 AWK='$AWK'
   11794 test -n "\$AWK" || AWK=awk
   11795 _ACEOF
   11796 
   11797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11798 # The default lists apply if the user does not specify any file.
   11799 ac_need_defaults=:
   11800 while test $# != 0
   11801 do
   11802   case $1 in
   11803   --*=?*)
   11804     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11805     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11806     ac_shift=:
   11807     ;;
   11808   --*=)
   11809     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11810     ac_optarg=
   11811     ac_shift=:
   11812     ;;
   11813   *)
   11814     ac_option=$1
   11815     ac_optarg=$2
   11816     ac_shift=shift
   11817     ;;
   11818   esac
   11819 
   11820   case $ac_option in
   11821   # Handling of the options.
   11822   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11823     ac_cs_recheck=: ;;
   11824   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11825     $as_echo "$ac_cs_version"; exit ;;
   11826   --config | --confi | --conf | --con | --co | --c )
   11827     $as_echo "$ac_cs_config"; exit ;;
   11828   --debug | --debu | --deb | --de | --d | -d )
   11829     debug=: ;;
   11830   --file | --fil | --fi | --f )
   11831     $ac_shift
   11832     case $ac_optarg in
   11833     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11834     '') as_fn_error $? "missing file argument" ;;
   11835     esac
   11836     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11837     ac_need_defaults=false;;
   11838   --header | --heade | --head | --hea )
   11839     $ac_shift
   11840     case $ac_optarg in
   11841     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11842     esac
   11843     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11844     ac_need_defaults=false;;
   11845   --he | --h)
   11846     # Conflict between --help and --header
   11847     as_fn_error $? "ambiguous option: \`$1'
   11848 Try \`$0 --help' for more information.";;
   11849   --help | --hel | -h )
   11850     $as_echo "$ac_cs_usage"; exit ;;
   11851   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11852   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11853     ac_cs_silent=: ;;
   11854 
   11855   # This is an error.
   11856   -*) as_fn_error $? "unrecognized option: \`$1'
   11857 Try \`$0 --help' for more information." ;;
   11858 
   11859   *) as_fn_append ac_config_targets " $1"
   11860      ac_need_defaults=false ;;
   11861 
   11862   esac
   11863   shift
   11864 done
   11865 
   11866 ac_configure_extra_args=
   11867 
   11868 if $ac_cs_silent; then
   11869   exec 6>/dev/null
   11870   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11871 fi
   11872 
   11873 _ACEOF
   11874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11875 if \$ac_cs_recheck; then
   11876   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11877   shift
   11878   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11879   CONFIG_SHELL='$SHELL'
   11880   export CONFIG_SHELL
   11881   exec "\$@"
   11882 fi
   11883 
   11884 _ACEOF
   11885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11886 exec 5>>config.log
   11887 {
   11888   echo
   11889   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11890 ## Running $as_me. ##
   11891 _ASBOX
   11892   $as_echo "$ac_log"
   11893 } >&5
   11894 
   11895 _ACEOF
   11896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11897 #
   11898 # INIT-COMMANDS
   11899 #
   11900 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11901 
   11902 _ACEOF
   11903 
   11904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11905 
   11906 # Handling of arguments.
   11907 for ac_config_target in $ac_config_targets
   11908 do
   11909   case $ac_config_target in
   11910     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11911     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11912     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11913     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11914 
   11915   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11916   esac
   11917 done
   11918 
   11919 
   11920 # If the user did not use the arguments to specify the items to instantiate,
   11921 # then the envvar interface is used.  Set only those that are not.
   11922 # We use the long form for the default assignment because of an extremely
   11923 # bizarre bug on SunOS 4.1.3.
   11924 if $ac_need_defaults; then
   11925   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11926   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11927   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11928 fi
   11929 
   11930 # Have a temporary directory for convenience.  Make it in the build tree
   11931 # simply because there is no reason against having it here, and in addition,
   11932 # creating and moving files from /tmp can sometimes cause problems.
   11933 # Hook for its removal unless debugging.
   11934 # Note that there is a small window in which the directory will not be cleaned:
   11935 # after its creation but before its name has been assigned to `$tmp'.
   11936 $debug ||
   11937 {
   11938   tmp= ac_tmp=
   11939   trap 'exit_status=$?
   11940   : "${ac_tmp:=$tmp}"
   11941   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11942 ' 0
   11943   trap 'as_fn_exit 1' 1 2 13 15
   11944 }
   11945 # Create a (secure) tmp directory for tmp files.
   11946 
   11947 {
   11948   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11949   test -d "$tmp"
   11950 }  ||
   11951 {
   11952   tmp=./conf$$-$RANDOM
   11953   (umask 077 && mkdir "$tmp")
   11954 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11955 ac_tmp=$tmp
   11956 
   11957 # Set up the scripts for CONFIG_FILES section.
   11958 # No need to generate them if there are no CONFIG_FILES.
   11959 # This happens for instance with `./config.status config.h'.
   11960 if test -n "$CONFIG_FILES"; then
   11961 
   11962 
   11963 ac_cr=`echo X | tr X '\015'`
   11964 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11965 # But we know of no other shell where ac_cr would be empty at this
   11966 # point, so we can use a bashism as a fallback.
   11967 if test "x$ac_cr" = x; then
   11968   eval ac_cr=\$\'\\r\'
   11969 fi
   11970 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11971 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11972   ac_cs_awk_cr='\\r'
   11973 else
   11974   ac_cs_awk_cr=$ac_cr
   11975 fi
   11976 
   11977 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11978 _ACEOF
   11979 
   11980 
   11981 {
   11982   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11983   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11984   echo "_ACEOF"
   11985 } >conf$$subs.sh ||
   11986   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11987 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11988 ac_delim='%!_!# '
   11989 for ac_last_try in false false false false false :; do
   11990   . ./conf$$subs.sh ||
   11991     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11992 
   11993   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11994   if test $ac_delim_n = $ac_delim_num; then
   11995     break
   11996   elif $ac_last_try; then
   11997     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11998   else
   11999     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12000   fi
   12001 done
   12002 rm -f conf$$subs.sh
   12003 
   12004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12005 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12006 _ACEOF
   12007 sed -n '
   12008 h
   12009 s/^/S["/; s/!.*/"]=/
   12010 p
   12011 g
   12012 s/^[^!]*!//
   12013 :repl
   12014 t repl
   12015 s/'"$ac_delim"'$//
   12016 t delim
   12017 :nl
   12018 h
   12019 s/\(.\{148\}\)..*/\1/
   12020 t more1
   12021 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12022 p
   12023 n
   12024 b repl
   12025 :more1
   12026 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12027 p
   12028 g
   12029 s/.\{148\}//
   12030 t nl
   12031 :delim
   12032 h
   12033 s/\(.\{148\}\)..*/\1/
   12034 t more2
   12035 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12036 p
   12037 b
   12038 :more2
   12039 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12040 p
   12041 g
   12042 s/.\{148\}//
   12043 t delim
   12044 ' <conf$$subs.awk | sed '
   12045 /^[^""]/{
   12046   N
   12047   s/\n//
   12048 }
   12049 ' >>$CONFIG_STATUS || ac_write_fail=1
   12050 rm -f conf$$subs.awk
   12051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12052 _ACAWK
   12053 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12054   for (key in S) S_is_set[key] = 1
   12055   FS = ""
   12056 
   12057 }
   12058 {
   12059   line = $ 0
   12060   nfields = split(line, field, "@")
   12061   substed = 0
   12062   len = length(field[1])
   12063   for (i = 2; i < nfields; i++) {
   12064     key = field[i]
   12065     keylen = length(key)
   12066     if (S_is_set[key]) {
   12067       value = S[key]
   12068       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12069       len += length(value) + length(field[++i])
   12070       substed = 1
   12071     } else
   12072       len += 1 + keylen
   12073   }
   12074 
   12075   print line
   12076 }
   12077 
   12078 _ACAWK
   12079 _ACEOF
   12080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12081 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12082   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12083 else
   12084   cat
   12085 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12086   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12087 _ACEOF
   12088 
   12089 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12090 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12091 # trailing colons and then remove the whole line if VPATH becomes empty
   12092 # (actually we leave an empty line to preserve line numbers).
   12093 if test "x$srcdir" = x.; then
   12094   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12095 h
   12096 s///
   12097 s/^/:/
   12098 s/[	 ]*$/:/
   12099 s/:\$(srcdir):/:/g
   12100 s/:\${srcdir}:/:/g
   12101 s/:@srcdir@:/:/g
   12102 s/^:*//
   12103 s/:*$//
   12104 x
   12105 s/\(=[	 ]*\).*/\1/
   12106 G
   12107 s/\n//
   12108 s/^[^=]*=[	 ]*$//
   12109 }'
   12110 fi
   12111 
   12112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12113 fi # test -n "$CONFIG_FILES"
   12114 
   12115 # Set up the scripts for CONFIG_HEADERS section.
   12116 # No need to generate them if there are no CONFIG_HEADERS.
   12117 # This happens for instance with `./config.status Makefile'.
   12118 if test -n "$CONFIG_HEADERS"; then
   12119 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12120 BEGIN {
   12121 _ACEOF
   12122 
   12123 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12124 # here-document in config.status, that substitutes the proper values into
   12125 # config.h.in to produce config.h.
   12126 
   12127 # Create a delimiter string that does not exist in confdefs.h, to ease
   12128 # handling of long lines.
   12129 ac_delim='%!_!# '
   12130 for ac_last_try in false false :; do
   12131   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12132   if test -z "$ac_tt"; then
   12133     break
   12134   elif $ac_last_try; then
   12135     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12136   else
   12137     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12138   fi
   12139 done
   12140 
   12141 # For the awk script, D is an array of macro values keyed by name,
   12142 # likewise P contains macro parameters if any.  Preserve backslash
   12143 # newline sequences.
   12144 
   12145 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12146 sed -n '
   12147 s/.\{148\}/&'"$ac_delim"'/g
   12148 t rset
   12149 :rset
   12150 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12151 t def
   12152 d
   12153 :def
   12154 s/\\$//
   12155 t bsnl
   12156 s/["\\]/\\&/g
   12157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12158 D["\1"]=" \3"/p
   12159 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12160 d
   12161 :bsnl
   12162 s/["\\]/\\&/g
   12163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12164 D["\1"]=" \3\\\\\\n"\\/p
   12165 t cont
   12166 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12167 t cont
   12168 d
   12169 :cont
   12170 n
   12171 s/.\{148\}/&'"$ac_delim"'/g
   12172 t clear
   12173 :clear
   12174 s/\\$//
   12175 t bsnlc
   12176 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12177 d
   12178 :bsnlc
   12179 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12180 b cont
   12181 ' <confdefs.h | sed '
   12182 s/'"$ac_delim"'/"\\\
   12183 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12184 
   12185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12186   for (key in D) D_is_set[key] = 1
   12187   FS = ""
   12188 }
   12189 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12190   line = \$ 0
   12191   split(line, arg, " ")
   12192   if (arg[1] == "#") {
   12193     defundef = arg[2]
   12194     mac1 = arg[3]
   12195   } else {
   12196     defundef = substr(arg[1], 2)
   12197     mac1 = arg[2]
   12198   }
   12199   split(mac1, mac2, "(") #)
   12200   macro = mac2[1]
   12201   prefix = substr(line, 1, index(line, defundef) - 1)
   12202   if (D_is_set[macro]) {
   12203     # Preserve the white space surrounding the "#".
   12204     print prefix "define", macro P[macro] D[macro]
   12205     next
   12206   } else {
   12207     # Replace #undef with comments.  This is necessary, for example,
   12208     # in the case of _POSIX_SOURCE, which is predefined and required
   12209     # on some systems where configure will not decide to define it.
   12210     if (defundef == "undef") {
   12211       print "/*", prefix defundef, macro, "*/"
   12212       next
   12213     }
   12214   }
   12215 }
   12216 { print }
   12217 _ACAWK
   12218 _ACEOF
   12219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12220   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12221 fi # test -n "$CONFIG_HEADERS"
   12222 
   12223 
   12224 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12225 shift
   12226 for ac_tag
   12227 do
   12228   case $ac_tag in
   12229   :[FHLC]) ac_mode=$ac_tag; continue;;
   12230   esac
   12231   case $ac_mode$ac_tag in
   12232   :[FHL]*:*);;
   12233   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12234   :[FH]-) ac_tag=-:-;;
   12235   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12236   esac
   12237   ac_save_IFS=$IFS
   12238   IFS=:
   12239   set x $ac_tag
   12240   IFS=$ac_save_IFS
   12241   shift
   12242   ac_file=$1
   12243   shift
   12244 
   12245   case $ac_mode in
   12246   :L) ac_source=$1;;
   12247   :[FH])
   12248     ac_file_inputs=
   12249     for ac_f
   12250     do
   12251       case $ac_f in
   12252       -) ac_f="$ac_tmp/stdin";;
   12253       *) # Look for the file first in the build tree, then in the source tree
   12254 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12255 	 # because $ac_f cannot contain `:'.
   12256 	 test -f "$ac_f" ||
   12257 	   case $ac_f in
   12258 	   [\\/$]*) false;;
   12259 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12260 	   esac ||
   12261 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12262       esac
   12263       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12264       as_fn_append ac_file_inputs " '$ac_f'"
   12265     done
   12266 
   12267     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12268     # use $as_me), people would be surprised to read:
   12269     #    /* config.h.  Generated by config.status.  */
   12270     configure_input='Generated from '`
   12271 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12272 	`' by configure.'
   12273     if test x"$ac_file" != x-; then
   12274       configure_input="$ac_file.  $configure_input"
   12275       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12276 $as_echo "$as_me: creating $ac_file" >&6;}
   12277     fi
   12278     # Neutralize special characters interpreted by sed in replacement strings.
   12279     case $configure_input in #(
   12280     *\&* | *\|* | *\\* )
   12281        ac_sed_conf_input=`$as_echo "$configure_input" |
   12282        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12283     *) ac_sed_conf_input=$configure_input;;
   12284     esac
   12285 
   12286     case $ac_tag in
   12287     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12288       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12289     esac
   12290     ;;
   12291   esac
   12292 
   12293   ac_dir=`$as_dirname -- "$ac_file" ||
   12294 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12295 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12296 	 X"$ac_file" : 'X\(//\)$' \| \
   12297 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12298 $as_echo X"$ac_file" |
   12299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12300 	    s//\1/
   12301 	    q
   12302 	  }
   12303 	  /^X\(\/\/\)[^/].*/{
   12304 	    s//\1/
   12305 	    q
   12306 	  }
   12307 	  /^X\(\/\/\)$/{
   12308 	    s//\1/
   12309 	    q
   12310 	  }
   12311 	  /^X\(\/\).*/{
   12312 	    s//\1/
   12313 	    q
   12314 	  }
   12315 	  s/.*/./; q'`
   12316   as_dir="$ac_dir"; as_fn_mkdir_p
   12317   ac_builddir=.
   12318 
   12319 case "$ac_dir" in
   12320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12321 *)
   12322   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12323   # A ".." for each directory in $ac_dir_suffix.
   12324   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12325   case $ac_top_builddir_sub in
   12326   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12327   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12328   esac ;;
   12329 esac
   12330 ac_abs_top_builddir=$ac_pwd
   12331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12332 # for backward compatibility:
   12333 ac_top_builddir=$ac_top_build_prefix
   12334 
   12335 case $srcdir in
   12336   .)  # We are building in place.
   12337     ac_srcdir=.
   12338     ac_top_srcdir=$ac_top_builddir_sub
   12339     ac_abs_top_srcdir=$ac_pwd ;;
   12340   [\\/]* | ?:[\\/]* )  # Absolute name.
   12341     ac_srcdir=$srcdir$ac_dir_suffix;
   12342     ac_top_srcdir=$srcdir
   12343     ac_abs_top_srcdir=$srcdir ;;
   12344   *) # Relative name.
   12345     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12346     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12347     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12348 esac
   12349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12350 
   12351 
   12352   case $ac_mode in
   12353   :F)
   12354   #
   12355   # CONFIG_FILE
   12356   #
   12357 
   12358   case $INSTALL in
   12359   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12360   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12361   esac
   12362   ac_MKDIR_P=$MKDIR_P
   12363   case $MKDIR_P in
   12364   [\\/$]* | ?:[\\/]* ) ;;
   12365   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12366   esac
   12367 _ACEOF
   12368 
   12369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12370 # If the template does not know about datarootdir, expand it.
   12371 # FIXME: This hack should be removed a few years after 2.60.
   12372 ac_datarootdir_hack=; ac_datarootdir_seen=
   12373 ac_sed_dataroot='
   12374 /datarootdir/ {
   12375   p
   12376   q
   12377 }
   12378 /@datadir@/p
   12379 /@docdir@/p
   12380 /@infodir@/p
   12381 /@localedir@/p
   12382 /@mandir@/p'
   12383 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12384 *datarootdir*) ac_datarootdir_seen=yes;;
   12385 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12386   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12387 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12388 _ACEOF
   12389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12390   ac_datarootdir_hack='
   12391   s&@datadir@&$datadir&g
   12392   s&@docdir@&$docdir&g
   12393   s&@infodir@&$infodir&g
   12394   s&@localedir@&$localedir&g
   12395   s&@mandir@&$mandir&g
   12396   s&\\\${datarootdir}&$datarootdir&g' ;;
   12397 esac
   12398 _ACEOF
   12399 
   12400 # Neutralize VPATH when `$srcdir' = `.'.
   12401 # Shell code in configure.ac might set extrasub.
   12402 # FIXME: do we really want to maintain this feature?
   12403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12404 ac_sed_extra="$ac_vpsub
   12405 $extrasub
   12406 _ACEOF
   12407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12408 :t
   12409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12410 s|@configure_input@|$ac_sed_conf_input|;t t
   12411 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12412 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12413 s&@srcdir@&$ac_srcdir&;t t
   12414 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12415 s&@top_srcdir@&$ac_top_srcdir&;t t
   12416 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12417 s&@builddir@&$ac_builddir&;t t
   12418 s&@abs_builddir@&$ac_abs_builddir&;t t
   12419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12420 s&@INSTALL@&$ac_INSTALL&;t t
   12421 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12422 $ac_datarootdir_hack
   12423 "
   12424 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12425   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12426 
   12427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12428   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12429   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12430       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12431   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12432 which seems to be undefined.  Please make sure it is defined" >&5
   12433 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12434 which seems to be undefined.  Please make sure it is defined" >&2;}
   12435 
   12436   rm -f "$ac_tmp/stdin"
   12437   case $ac_file in
   12438   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12439   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12440   esac \
   12441   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12442  ;;
   12443   :H)
   12444   #
   12445   # CONFIG_HEADER
   12446   #
   12447   if test x"$ac_file" != x-; then
   12448     {
   12449       $as_echo "/* $configure_input  */" \
   12450       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12451     } >"$ac_tmp/config.h" \
   12452       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12453     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12454       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12455 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12456     else
   12457       rm -f "$ac_file"
   12458       mv "$ac_tmp/config.h" "$ac_file" \
   12459 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12460     fi
   12461   else
   12462     $as_echo "/* $configure_input  */" \
   12463       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12464       || as_fn_error $? "could not create -" "$LINENO" 5
   12465   fi
   12466 # Compute "$ac_file"'s index in $config_headers.
   12467 _am_arg="$ac_file"
   12468 _am_stamp_count=1
   12469 for _am_header in $config_headers :; do
   12470   case $_am_header in
   12471     $_am_arg | $_am_arg:* )
   12472       break ;;
   12473     * )
   12474       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12475   esac
   12476 done
   12477 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12478 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12479 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12480 	 X"$_am_arg" : 'X\(//\)$' \| \
   12481 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12482 $as_echo X"$_am_arg" |
   12483     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12484 	    s//\1/
   12485 	    q
   12486 	  }
   12487 	  /^X\(\/\/\)[^/].*/{
   12488 	    s//\1/
   12489 	    q
   12490 	  }
   12491 	  /^X\(\/\/\)$/{
   12492 	    s//\1/
   12493 	    q
   12494 	  }
   12495 	  /^X\(\/\).*/{
   12496 	    s//\1/
   12497 	    q
   12498 	  }
   12499 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12500  ;;
   12501 
   12502   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12503 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12504  ;;
   12505   esac
   12506 
   12507 
   12508   case $ac_file$ac_mode in
   12509     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12510   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12511   # are listed without --file.  Let's play safe and only enable the eval
   12512   # if we detect the quoting.
   12513   case $CONFIG_FILES in
   12514   *\'*) eval set x "$CONFIG_FILES" ;;
   12515   *)   set x $CONFIG_FILES ;;
   12516   esac
   12517   shift
   12518   for mf
   12519   do
   12520     # Strip MF so we end up with the name of the file.
   12521     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12522     # Check whether this is an Automake generated Makefile or not.
   12523     # We used to match only the files named `Makefile.in', but
   12524     # some people rename them; so instead we look at the file content.
   12525     # Grep'ing the first line is not enough: some people post-process
   12526     # each Makefile.in and add a new line on top of each file to say so.
   12527     # Grep'ing the whole file is not good either: AIX grep has a line
   12528     # limit of 2048, but all sed's we know have understand at least 4000.
   12529     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12530       dirpart=`$as_dirname -- "$mf" ||
   12531 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12532 	 X"$mf" : 'X\(//\)[^/]' \| \
   12533 	 X"$mf" : 'X\(//\)$' \| \
   12534 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12535 $as_echo X"$mf" |
   12536     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12537 	    s//\1/
   12538 	    q
   12539 	  }
   12540 	  /^X\(\/\/\)[^/].*/{
   12541 	    s//\1/
   12542 	    q
   12543 	  }
   12544 	  /^X\(\/\/\)$/{
   12545 	    s//\1/
   12546 	    q
   12547 	  }
   12548 	  /^X\(\/\).*/{
   12549 	    s//\1/
   12550 	    q
   12551 	  }
   12552 	  s/.*/./; q'`
   12553     else
   12554       continue
   12555     fi
   12556     # Extract the definition of DEPDIR, am__include, and am__quote
   12557     # from the Makefile without running `make'.
   12558     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12559     test -z "$DEPDIR" && continue
   12560     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12561     test -z "am__include" && continue
   12562     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12563     # When using ansi2knr, U may be empty or an underscore; expand it
   12564     U=`sed -n 's/^U = //p' < "$mf"`
   12565     # Find all dependency output files, they are included files with
   12566     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12567     # simplest approach to changing $(DEPDIR) to its actual value in the
   12568     # expansion.
   12569     for file in `sed -n "
   12570       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12571 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12572       # Make sure the directory exists.
   12573       test -f "$dirpart/$file" && continue
   12574       fdir=`$as_dirname -- "$file" ||
   12575 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12576 	 X"$file" : 'X\(//\)[^/]' \| \
   12577 	 X"$file" : 'X\(//\)$' \| \
   12578 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12579 $as_echo X"$file" |
   12580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12581 	    s//\1/
   12582 	    q
   12583 	  }
   12584 	  /^X\(\/\/\)[^/].*/{
   12585 	    s//\1/
   12586 	    q
   12587 	  }
   12588 	  /^X\(\/\/\)$/{
   12589 	    s//\1/
   12590 	    q
   12591 	  }
   12592 	  /^X\(\/\).*/{
   12593 	    s//\1/
   12594 	    q
   12595 	  }
   12596 	  s/.*/./; q'`
   12597       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12598       # echo "creating $dirpart/$file"
   12599       echo '# dummy' > "$dirpart/$file"
   12600     done
   12601   done
   12602 }
   12603  ;;
   12604 
   12605   esac
   12606 done # for ac_tag
   12607 
   12608 
   12609 as_fn_exit 0
   12610 _ACEOF
   12611 ac_clean_files=$ac_clean_files_save
   12612 
   12613 test $ac_write_fail = 0 ||
   12614   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12615 
   12616 
   12617 # configure is writing to config.log, and then calls config.status.
   12618 # config.status does its own redirection, appending to config.log.
   12619 # Unfortunately, on DOS this fails, as config.log is still kept open
   12620 # by configure, so config.status won't be able to write to it; its
   12621 # output is simply discarded.  So we exec the FD to /dev/null,
   12622 # effectively closing config.log, so it can be properly (re)opened and
   12623 # appended to by config.status.  When coming back to configure, we
   12624 # need to make the FD available again.
   12625 if test "$no_create" != yes; then
   12626   ac_cs_success=:
   12627   ac_config_status_args=
   12628   test "$silent" = yes &&
   12629     ac_config_status_args="$ac_config_status_args --quiet"
   12630   exec 5>/dev/null
   12631   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12632   exec 5>>config.log
   12633   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12634   # would make configure fail if this is the last instruction.
   12635   $ac_cs_success || as_fn_exit 1
   12636 fi
   12637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12640 fi
   12641 
   12642