Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xhost 1.0.5.
      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='xhost'
    563 PACKAGE_TARNAME='xhost'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='xhost 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XAU_LIBS
    611 XAU_CFLAGS
    612 XHOST_LIBS
    613 XHOST_CFLAGS
    614 AM_BACKSLASH
    615 AM_DEFAULT_VERBOSITY
    616 MAN_SUBSTS
    617 XORG_MAN_PAGE
    618 ADMIN_MAN_DIR
    619 DRIVER_MAN_DIR
    620 MISC_MAN_DIR
    621 FILE_MAN_DIR
    622 LIB_MAN_DIR
    623 APP_MAN_DIR
    624 ADMIN_MAN_SUFFIX
    625 DRIVER_MAN_SUFFIX
    626 MISC_MAN_SUFFIX
    627 FILE_MAN_SUFFIX
    628 LIB_MAN_SUFFIX
    629 APP_MAN_SUFFIX
    630 SED
    631 host_os
    632 host_vendor
    633 host_cpu
    634 host
    635 build_os
    636 build_vendor
    637 build_cpu
    638 build
    639 INSTALL_CMD
    640 PKG_CONFIG
    641 CHANGELOG_CMD
    642 STRICT_CFLAGS
    643 CWARNFLAGS
    644 BASE_CFLAGS
    645 EGREP
    646 GREP
    647 CPP
    648 am__fastdepCC_FALSE
    649 am__fastdepCC_TRUE
    650 CCDEPMODE
    651 AMDEPBACKSLASH
    652 AMDEP_FALSE
    653 AMDEP_TRUE
    654 am__quote
    655 am__include
    656 DEPDIR
    657 OBJEXT
    658 EXEEXT
    659 ac_ct_CC
    660 CPPFLAGS
    661 LDFLAGS
    662 CFLAGS
    663 CC
    664 MAINT
    665 MAINTAINER_MODE_FALSE
    666 MAINTAINER_MODE_TRUE
    667 am__untar
    668 am__tar
    669 AMTAR
    670 am__leading_dot
    671 SET_MAKE
    672 AWK
    673 mkdir_p
    674 MKDIR_P
    675 INSTALL_STRIP_PROGRAM
    676 STRIP
    677 install_sh
    678 MAKEINFO
    679 AUTOHEADER
    680 AUTOMAKE
    681 AUTOCONF
    682 ACLOCAL
    683 VERSION
    684 PACKAGE
    685 CYGPATH_W
    686 am__isrc
    687 INSTALL_DATA
    688 INSTALL_SCRIPT
    689 INSTALL_PROGRAM
    690 target_alias
    691 host_alias
    692 build_alias
    693 LIBS
    694 ECHO_T
    695 ECHO_N
    696 ECHO_C
    697 DEFS
    698 mandir
    699 localedir
    700 libdir
    701 psdir
    702 pdfdir
    703 dvidir
    704 htmldir
    705 infodir
    706 docdir
    707 oldincludedir
    708 includedir
    709 localstatedir
    710 sharedstatedir
    711 sysconfdir
    712 datadir
    713 datarootdir
    714 libexecdir
    715 sbindir
    716 bindir
    717 program_transform_name
    718 prefix
    719 exec_prefix
    720 PACKAGE_URL
    721 PACKAGE_BUGREPORT
    722 PACKAGE_STRING
    723 PACKAGE_VERSION
    724 PACKAGE_TARNAME
    725 PACKAGE_NAME
    726 PATH_SEPARATOR
    727 SHELL'
    728 ac_subst_files=''
    729 ac_user_opts='
    730 enable_option_checking
    731 enable_maintainer_mode
    732 enable_dependency_tracking
    733 enable_selective_werror
    734 enable_strict_compilation
    735 enable_silent_rules
    736 enable_unix_transport
    737 enable_tcp_transport
    738 enable_ipv6
    739 enable_local_transport
    740 enable_secure_rpc
    741 '
    742       ac_precious_vars='build_alias
    743 host_alias
    744 target_alias
    745 CC
    746 CFLAGS
    747 LDFLAGS
    748 LIBS
    749 CPPFLAGS
    750 CPP
    751 PKG_CONFIG
    752 XHOST_CFLAGS
    753 XHOST_LIBS
    754 XAU_CFLAGS
    755 XAU_LIBS'
    756 
    757 
    758 # Initialize some variables set by options.
    759 ac_init_help=
    760 ac_init_version=false
    761 ac_unrecognized_opts=
    762 ac_unrecognized_sep=
    763 # The variables have the same names as the options, with
    764 # dashes changed to underlines.
    765 cache_file=/dev/null
    766 exec_prefix=NONE
    767 no_create=
    768 no_recursion=
    769 prefix=NONE
    770 program_prefix=NONE
    771 program_suffix=NONE
    772 program_transform_name=s,x,x,
    773 silent=
    774 site=
    775 srcdir=
    776 verbose=
    777 x_includes=NONE
    778 x_libraries=NONE
    779 
    780 # Installation directory options.
    781 # These are left unexpanded so users can "make install exec_prefix=/foo"
    782 # and all the variables that are supposed to be based on exec_prefix
    783 # by default will actually change.
    784 # Use braces instead of parens because sh, perl, etc. also accept them.
    785 # (The list follows the same order as the GNU Coding Standards.)
    786 bindir='${exec_prefix}/bin'
    787 sbindir='${exec_prefix}/sbin'
    788 libexecdir='${exec_prefix}/libexec'
    789 datarootdir='${prefix}/share'
    790 datadir='${datarootdir}'
    791 sysconfdir='${prefix}/etc'
    792 sharedstatedir='${prefix}/com'
    793 localstatedir='${prefix}/var'
    794 includedir='${prefix}/include'
    795 oldincludedir='/usr/include'
    796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    797 infodir='${datarootdir}/info'
    798 htmldir='${docdir}'
    799 dvidir='${docdir}'
    800 pdfdir='${docdir}'
    801 psdir='${docdir}'
    802 libdir='${exec_prefix}/lib'
    803 localedir='${datarootdir}/locale'
    804 mandir='${datarootdir}/man'
    805 
    806 ac_prev=
    807 ac_dashdash=
    808 for ac_option
    809 do
    810   # If the previous option needs an argument, assign it.
    811   if test -n "$ac_prev"; then
    812     eval $ac_prev=\$ac_option
    813     ac_prev=
    814     continue
    815   fi
    816 
    817   case $ac_option in
    818   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    819   *=)   ac_optarg= ;;
    820   *)    ac_optarg=yes ;;
    821   esac
    822 
    823   # Accept the important Cygnus configure options, so we can diagnose typos.
    824 
    825   case $ac_dashdash$ac_option in
    826   --)
    827     ac_dashdash=yes ;;
    828 
    829   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    830     ac_prev=bindir ;;
    831   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    832     bindir=$ac_optarg ;;
    833 
    834   -build | --build | --buil | --bui | --bu)
    835     ac_prev=build_alias ;;
    836   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    837     build_alias=$ac_optarg ;;
    838 
    839   -cache-file | --cache-file | --cache-fil | --cache-fi \
    840   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    841     ac_prev=cache_file ;;
    842   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    843   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    844     cache_file=$ac_optarg ;;
    845 
    846   --config-cache | -C)
    847     cache_file=config.cache ;;
    848 
    849   -datadir | --datadir | --datadi | --datad)
    850     ac_prev=datadir ;;
    851   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    852     datadir=$ac_optarg ;;
    853 
    854   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    855   | --dataroo | --dataro | --datar)
    856     ac_prev=datarootdir ;;
    857   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    858   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    859     datarootdir=$ac_optarg ;;
    860 
    861   -disable-* | --disable-*)
    862     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    863     # Reject names that are not valid shell variable names.
    864     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    865       as_fn_error $? "invalid feature name: $ac_useropt"
    866     ac_useropt_orig=$ac_useropt
    867     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    868     case $ac_user_opts in
    869       *"
    870 "enable_$ac_useropt"
    871 "*) ;;
    872       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    873 	 ac_unrecognized_sep=', ';;
    874     esac
    875     eval enable_$ac_useropt=no ;;
    876 
    877   -docdir | --docdir | --docdi | --doc | --do)
    878     ac_prev=docdir ;;
    879   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    880     docdir=$ac_optarg ;;
    881 
    882   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    883     ac_prev=dvidir ;;
    884   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    885     dvidir=$ac_optarg ;;
    886 
    887   -enable-* | --enable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
    902 
    903   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    904   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    905   | --exec | --exe | --ex)
    906     ac_prev=exec_prefix ;;
    907   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    908   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    909   | --exec=* | --exe=* | --ex=*)
    910     exec_prefix=$ac_optarg ;;
    911 
    912   -gas | --gas | --ga | --g)
    913     # Obsolete; use --with-gas.
    914     with_gas=yes ;;
    915 
    916   -help | --help | --hel | --he | -h)
    917     ac_init_help=long ;;
    918   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    919     ac_init_help=recursive ;;
    920   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    921     ac_init_help=short ;;
    922 
    923   -host | --host | --hos | --ho)
    924     ac_prev=host_alias ;;
    925   -host=* | --host=* | --hos=* | --ho=*)
    926     host_alias=$ac_optarg ;;
    927 
    928   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    929     ac_prev=htmldir ;;
    930   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    931   | --ht=*)
    932     htmldir=$ac_optarg ;;
    933 
    934   -includedir | --includedir | --includedi | --included | --include \
    935   | --includ | --inclu | --incl | --inc)
    936     ac_prev=includedir ;;
    937   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    938   | --includ=* | --inclu=* | --incl=* | --inc=*)
    939     includedir=$ac_optarg ;;
    940 
    941   -infodir | --infodir | --infodi | --infod | --info | --inf)
    942     ac_prev=infodir ;;
    943   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    944     infodir=$ac_optarg ;;
    945 
    946   -libdir | --libdir | --libdi | --libd)
    947     ac_prev=libdir ;;
    948   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    949     libdir=$ac_optarg ;;
    950 
    951   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    952   | --libexe | --libex | --libe)
    953     ac_prev=libexecdir ;;
    954   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    955   | --libexe=* | --libex=* | --libe=*)
    956     libexecdir=$ac_optarg ;;
    957 
    958   -localedir | --localedir | --localedi | --localed | --locale)
    959     ac_prev=localedir ;;
    960   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    961     localedir=$ac_optarg ;;
    962 
    963   -localstatedir | --localstatedir | --localstatedi | --localstated \
    964   | --localstate | --localstat | --localsta | --localst | --locals)
    965     ac_prev=localstatedir ;;
    966   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    967   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    968     localstatedir=$ac_optarg ;;
    969 
    970   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    971     ac_prev=mandir ;;
    972   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    973     mandir=$ac_optarg ;;
    974 
    975   -nfp | --nfp | --nf)
    976     # Obsolete; use --without-fp.
    977     with_fp=no ;;
    978 
    979   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    980   | --no-cr | --no-c | -n)
    981     no_create=yes ;;
    982 
    983   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    984   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    985     no_recursion=yes ;;
    986 
    987   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    988   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    989   | --oldin | --oldi | --old | --ol | --o)
    990     ac_prev=oldincludedir ;;
    991   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    992   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    993   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    994     oldincludedir=$ac_optarg ;;
    995 
    996   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    997     ac_prev=prefix ;;
    998   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    999     prefix=$ac_optarg ;;
   1000 
   1001   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1002   | --program-pre | --program-pr | --program-p)
   1003     ac_prev=program_prefix ;;
   1004   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1005   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1006     program_prefix=$ac_optarg ;;
   1007 
   1008   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1009   | --program-suf | --program-su | --program-s)
   1010     ac_prev=program_suffix ;;
   1011   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1012   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1013     program_suffix=$ac_optarg ;;
   1014 
   1015   -program-transform-name | --program-transform-name \
   1016   | --program-transform-nam | --program-transform-na \
   1017   | --program-transform-n | --program-transform- \
   1018   | --program-transform | --program-transfor \
   1019   | --program-transfo | --program-transf \
   1020   | --program-trans | --program-tran \
   1021   | --progr-tra | --program-tr | --program-t)
   1022     ac_prev=program_transform_name ;;
   1023   -program-transform-name=* | --program-transform-name=* \
   1024   | --program-transform-nam=* | --program-transform-na=* \
   1025   | --program-transform-n=* | --program-transform-=* \
   1026   | --program-transform=* | --program-transfor=* \
   1027   | --program-transfo=* | --program-transf=* \
   1028   | --program-trans=* | --program-tran=* \
   1029   | --progr-tra=* | --program-tr=* | --program-t=*)
   1030     program_transform_name=$ac_optarg ;;
   1031 
   1032   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1033     ac_prev=pdfdir ;;
   1034   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1035     pdfdir=$ac_optarg ;;
   1036 
   1037   -psdir | --psdir | --psdi | --psd | --ps)
   1038     ac_prev=psdir ;;
   1039   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1040     psdir=$ac_optarg ;;
   1041 
   1042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1043   | -silent | --silent | --silen | --sile | --sil)
   1044     silent=yes ;;
   1045 
   1046   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1047     ac_prev=sbindir ;;
   1048   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1049   | --sbi=* | --sb=*)
   1050     sbindir=$ac_optarg ;;
   1051 
   1052   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1053   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1054   | --sharedst | --shareds | --shared | --share | --shar \
   1055   | --sha | --sh)
   1056     ac_prev=sharedstatedir ;;
   1057   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1058   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1059   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1060   | --sha=* | --sh=*)
   1061     sharedstatedir=$ac_optarg ;;
   1062 
   1063   -site | --site | --sit)
   1064     ac_prev=site ;;
   1065   -site=* | --site=* | --sit=*)
   1066     site=$ac_optarg ;;
   1067 
   1068   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1069     ac_prev=srcdir ;;
   1070   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1071     srcdir=$ac_optarg ;;
   1072 
   1073   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1074   | --syscon | --sysco | --sysc | --sys | --sy)
   1075     ac_prev=sysconfdir ;;
   1076   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1077   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1078     sysconfdir=$ac_optarg ;;
   1079 
   1080   -target | --target | --targe | --targ | --tar | --ta | --t)
   1081     ac_prev=target_alias ;;
   1082   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1083     target_alias=$ac_optarg ;;
   1084 
   1085   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1086     verbose=yes ;;
   1087 
   1088   -version | --version | --versio | --versi | --vers | -V)
   1089     ac_init_version=: ;;
   1090 
   1091   -with-* | --with-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error $? "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -without-* | --without-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=no ;;
   1122 
   1123   --x)
   1124     # Obsolete; use --with-x.
   1125     with_x=yes ;;
   1126 
   1127   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1128   | --x-incl | --x-inc | --x-in | --x-i)
   1129     ac_prev=x_includes ;;
   1130   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1131   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1132     x_includes=$ac_optarg ;;
   1133 
   1134   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1135   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1136     ac_prev=x_libraries ;;
   1137   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1138   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1139     x_libraries=$ac_optarg ;;
   1140 
   1141   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1142 Try \`$0 --help' for more information"
   1143     ;;
   1144 
   1145   *=*)
   1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1147     # Reject names that are not valid shell variable names.
   1148     case $ac_envvar in #(
   1149       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1150       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1151     esac
   1152     eval $ac_envvar=\$ac_optarg
   1153     export $ac_envvar ;;
   1154 
   1155   *)
   1156     # FIXME: should be removed in autoconf 3.0.
   1157     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1158     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1159       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1160     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1161     ;;
   1162 
   1163   esac
   1164 done
   1165 
   1166 if test -n "$ac_prev"; then
   1167   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1168   as_fn_error $? "missing argument to $ac_option"
   1169 fi
   1170 
   1171 if test -n "$ac_unrecognized_opts"; then
   1172   case $enable_option_checking in
   1173     no) ;;
   1174     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1175     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1176   esac
   1177 fi
   1178 
   1179 # Check all directory arguments for consistency.
   1180 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1181 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1182 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1183 		libdir localedir mandir
   1184 do
   1185   eval ac_val=\$$ac_var
   1186   # Remove trailing slashes.
   1187   case $ac_val in
   1188     */ )
   1189       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1190       eval $ac_var=\$ac_val;;
   1191   esac
   1192   # Be sure to have absolute directory names.
   1193   case $ac_val in
   1194     [\\/$]* | ?:[\\/]* )  continue;;
   1195     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1196   esac
   1197   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1198 done
   1199 
   1200 # There might be people who depend on the old broken behavior: `$host'
   1201 # used to hold the argument of --host etc.
   1202 # FIXME: To remove some day.
   1203 build=$build_alias
   1204 host=$host_alias
   1205 target=$target_alias
   1206 
   1207 # FIXME: To remove some day.
   1208 if test "x$host_alias" != x; then
   1209   if test "x$build_alias" = x; then
   1210     cross_compiling=maybe
   1211     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1212     If a cross compiler is detected then cross compile mode will be used" >&2
   1213   elif test "x$build_alias" != "x$host_alias"; then
   1214     cross_compiling=yes
   1215   fi
   1216 fi
   1217 
   1218 ac_tool_prefix=
   1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1220 
   1221 test "$silent" = yes && exec 6>/dev/null
   1222 
   1223 
   1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1225 ac_ls_di=`ls -di .` &&
   1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1227   as_fn_error $? "working directory cannot be determined"
   1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1229   as_fn_error $? "pwd does not report name of working directory"
   1230 
   1231 
   1232 # Find the source files, if location was not specified.
   1233 if test -z "$srcdir"; then
   1234   ac_srcdir_defaulted=yes
   1235   # Try the directory containing this script, then the parent directory.
   1236   ac_confdir=`$as_dirname -- "$as_myself" ||
   1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1238 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1239 	 X"$as_myself" : 'X\(//\)$' \| \
   1240 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1241 $as_echo X"$as_myself" |
   1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\/\)[^/].*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\).*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  s/.*/./; q'`
   1259   srcdir=$ac_confdir
   1260   if test ! -r "$srcdir/$ac_unique_file"; then
   1261     srcdir=..
   1262   fi
   1263 else
   1264   ac_srcdir_defaulted=no
   1265 fi
   1266 if test ! -r "$srcdir/$ac_unique_file"; then
   1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1269 fi
   1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1271 ac_abs_confdir=`(
   1272 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1273 	pwd)`
   1274 # When building in place, set srcdir=.
   1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1276   srcdir=.
   1277 fi
   1278 # Remove unnecessary trailing slashes from srcdir.
   1279 # Double slashes in file names in object file debugging info
   1280 # mess up M-x gdb in Emacs.
   1281 case $srcdir in
   1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1283 esac
   1284 for ac_var in $ac_precious_vars; do
   1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_env_${ac_var}_value=\$${ac_var}
   1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1289 done
   1290 
   1291 #
   1292 # Report the --help message.
   1293 #
   1294 if test "$ac_init_help" = "long"; then
   1295   # Omit some internal or obsolete options to make the list less imposing.
   1296   # This message is too long to be a string in the A/UX 3.1 sh.
   1297   cat <<_ACEOF
   1298 \`configure' configures xhost 1.0.5 to adapt to many kinds of systems.
   1299 
   1300 Usage: $0 [OPTION]... [VAR=VALUE]...
   1301 
   1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1304 
   1305 Defaults for the options are specified in brackets.
   1306 
   1307 Configuration:
   1308   -h, --help              display this help and exit
   1309       --help=short        display options specific to this package
   1310       --help=recursive    display the short help of all the included packages
   1311   -V, --version           display version information and exit
   1312   -q, --quiet, --silent   do not print \`checking ...' messages
   1313       --cache-file=FILE   cache test results in FILE [disabled]
   1314   -C, --config-cache      alias for \`--cache-file=config.cache'
   1315   -n, --no-create         do not create output files
   1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1317 
   1318 Installation directories:
   1319   --prefix=PREFIX         install architecture-independent files in PREFIX
   1320                           [$ac_default_prefix]
   1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1322                           [PREFIX]
   1323 
   1324 By default, \`make install' will install all the files in
   1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1327 for instance \`--prefix=\$HOME'.
   1328 
   1329 For better control, use the options below.
   1330 
   1331 Fine tuning of the installation directories:
   1332   --bindir=DIR            user executables [EPREFIX/bin]
   1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1338   --libdir=DIR            object code libraries [EPREFIX/lib]
   1339   --includedir=DIR        C header files [PREFIX/include]
   1340   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1341   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1342   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1343   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1344   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1345   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1346   --docdir=DIR            documentation root [DATAROOTDIR/doc/xhost]
   1347   --htmldir=DIR           html documentation [DOCDIR]
   1348   --dvidir=DIR            dvi documentation [DOCDIR]
   1349   --pdfdir=DIR            pdf documentation [DOCDIR]
   1350   --psdir=DIR             ps documentation [DOCDIR]
   1351 _ACEOF
   1352 
   1353   cat <<\_ACEOF
   1354 
   1355 Program names:
   1356   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1357   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1358   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1359 
   1360 System types:
   1361   --build=BUILD     configure for building on BUILD [guessed]
   1362   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1363 _ACEOF
   1364 fi
   1365 
   1366 if test -n "$ac_init_help"; then
   1367   case $ac_init_help in
   1368      short | recursive ) echo "Configuration of xhost 1.0.5:";;
   1369    esac
   1370   cat <<\_ACEOF
   1371 
   1372 Optional Features:
   1373   --disable-option-checking  ignore unrecognized --enable/--with options
   1374   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1375   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1376   --enable-maintainer-mode  enable make rules and dependencies not useful
   1377 			  (and sometimes confusing) to the casual installer
   1378   --disable-dependency-tracking  speeds up one-time build
   1379   --enable-dependency-tracking   do not reject slow dependency extractors
   1380   --disable-selective-werror
   1381                           Turn off selective compiler errors. (default:
   1382                           enabled)
   1383   --enable-strict-compilation
   1384                           Enable all warnings from compiler and make them
   1385                           errors (default: disabled)
   1386   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1387   --disable-silent-rules         verbose build output (undo: `make V=0')
   1388   --enable-unix-transport Enable UNIX domain socket transport
   1389   --enable-tcp-transport  Enable TCP socket transport
   1390   --enable-ipv6           Enable IPv6 support
   1391   --enable-local-transport
   1392                           Enable os-specific local transport
   1393   --enable-secure-rpc     Enable Secure RPC
   1394 
   1395 Some influential environment variables:
   1396   CC          C compiler command
   1397   CFLAGS      C compiler flags
   1398   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1399               nonstandard directory <lib dir>
   1400   LIBS        libraries to pass to the linker, e.g. -l<library>
   1401   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1402               you have headers in a nonstandard directory <include dir>
   1403   CPP         C preprocessor
   1404   PKG_CONFIG  path to pkg-config utility
   1405   XHOST_CFLAGS
   1406               C compiler flags for XHOST, overriding pkg-config
   1407   XHOST_LIBS  linker flags for XHOST, overriding pkg-config
   1408   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1409   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1410 
   1411 Use these variables to override the choices made by `configure' or to help
   1412 it to find libraries and programs with nonstandard names/locations.
   1413 
   1414 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1415 _ACEOF
   1416 ac_status=$?
   1417 fi
   1418 
   1419 if test "$ac_init_help" = "recursive"; then
   1420   # If there are subdirs, report their specific --help.
   1421   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1422     test -d "$ac_dir" ||
   1423       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1424       continue
   1425     ac_builddir=.
   1426 
   1427 case "$ac_dir" in
   1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1429 *)
   1430   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1431   # A ".." for each directory in $ac_dir_suffix.
   1432   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1433   case $ac_top_builddir_sub in
   1434   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1435   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1436   esac ;;
   1437 esac
   1438 ac_abs_top_builddir=$ac_pwd
   1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1440 # for backward compatibility:
   1441 ac_top_builddir=$ac_top_build_prefix
   1442 
   1443 case $srcdir in
   1444   .)  # We are building in place.
   1445     ac_srcdir=.
   1446     ac_top_srcdir=$ac_top_builddir_sub
   1447     ac_abs_top_srcdir=$ac_pwd ;;
   1448   [\\/]* | ?:[\\/]* )  # Absolute name.
   1449     ac_srcdir=$srcdir$ac_dir_suffix;
   1450     ac_top_srcdir=$srcdir
   1451     ac_abs_top_srcdir=$srcdir ;;
   1452   *) # Relative name.
   1453     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1454     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1455     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1456 esac
   1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1458 
   1459     cd "$ac_dir" || { ac_status=$?; continue; }
   1460     # Check for guested configure.
   1461     if test -f "$ac_srcdir/configure.gnu"; then
   1462       echo &&
   1463       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1464     elif test -f "$ac_srcdir/configure"; then
   1465       echo &&
   1466       $SHELL "$ac_srcdir/configure" --help=recursive
   1467     else
   1468       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1469     fi || ac_status=$?
   1470     cd "$ac_pwd" || { ac_status=$?; break; }
   1471   done
   1472 fi
   1473 
   1474 test -n "$ac_init_help" && exit $ac_status
   1475 if $ac_init_version; then
   1476   cat <<\_ACEOF
   1477 xhost configure 1.0.5
   1478 generated by GNU Autoconf 2.68
   1479 
   1480 Copyright (C) 2010 Free Software Foundation, Inc.
   1481 This configure script is free software; the Free Software Foundation
   1482 gives unlimited permission to copy, distribute and modify it.
   1483 _ACEOF
   1484   exit
   1485 fi
   1486 
   1487 ## ------------------------ ##
   1488 ## Autoconf initialization. ##
   1489 ## ------------------------ ##
   1490 
   1491 # ac_fn_c_try_compile LINENO
   1492 # --------------------------
   1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1494 ac_fn_c_try_compile ()
   1495 {
   1496   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1497   rm -f conftest.$ac_objext
   1498   if { { ac_try="$ac_compile"
   1499 case "(($ac_try" in
   1500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1501   *) ac_try_echo=$ac_try;;
   1502 esac
   1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1504 $as_echo "$ac_try_echo"; } >&5
   1505   (eval "$ac_compile") 2>conftest.err
   1506   ac_status=$?
   1507   if test -s conftest.err; then
   1508     grep -v '^ *+' conftest.err >conftest.er1
   1509     cat conftest.er1 >&5
   1510     mv -f conftest.er1 conftest.err
   1511   fi
   1512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1513   test $ac_status = 0; } && {
   1514 	 test -z "$ac_c_werror_flag" ||
   1515 	 test ! -s conftest.err
   1516        } && test -s conftest.$ac_objext; then :
   1517   ac_retval=0
   1518 else
   1519   $as_echo "$as_me: failed program was:" >&5
   1520 sed 's/^/| /' conftest.$ac_ext >&5
   1521 
   1522 	ac_retval=1
   1523 fi
   1524   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1525   as_fn_set_status $ac_retval
   1526 
   1527 } # ac_fn_c_try_compile
   1528 
   1529 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1530 # ---------------------------------------------
   1531 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1532 # accordingly.
   1533 ac_fn_c_check_decl ()
   1534 {
   1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1536   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1537   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1539 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1540 if eval \${$3+:} false; then :
   1541   $as_echo_n "(cached) " >&6
   1542 else
   1543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1544 /* end confdefs.h.  */
   1545 $4
   1546 int
   1547 main ()
   1548 {
   1549 #ifndef $as_decl_name
   1550 #ifdef __cplusplus
   1551   (void) $as_decl_use;
   1552 #else
   1553   (void) $as_decl_name;
   1554 #endif
   1555 #endif
   1556 
   1557   ;
   1558   return 0;
   1559 }
   1560 _ACEOF
   1561 if ac_fn_c_try_compile "$LINENO"; then :
   1562   eval "$3=yes"
   1563 else
   1564   eval "$3=no"
   1565 fi
   1566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1567 fi
   1568 eval ac_res=\$$3
   1569 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1570 $as_echo "$ac_res" >&6; }
   1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1572 
   1573 } # ac_fn_c_check_decl
   1574 
   1575 # ac_fn_c_try_cpp LINENO
   1576 # ----------------------
   1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1578 ac_fn_c_try_cpp ()
   1579 {
   1580   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1581   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1582 case "(($ac_try" in
   1583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1584   *) ac_try_echo=$ac_try;;
   1585 esac
   1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1587 $as_echo "$ac_try_echo"; } >&5
   1588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1589   ac_status=$?
   1590   if test -s conftest.err; then
   1591     grep -v '^ *+' conftest.err >conftest.er1
   1592     cat conftest.er1 >&5
   1593     mv -f conftest.er1 conftest.err
   1594   fi
   1595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1596   test $ac_status = 0; } > conftest.i && {
   1597 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1598 	 test ! -s conftest.err
   1599        }; then :
   1600   ac_retval=0
   1601 else
   1602   $as_echo "$as_me: failed program was:" >&5
   1603 sed 's/^/| /' conftest.$ac_ext >&5
   1604 
   1605     ac_retval=1
   1606 fi
   1607   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1608   as_fn_set_status $ac_retval
   1609 
   1610 } # ac_fn_c_try_cpp
   1611 
   1612 # ac_fn_c_try_run LINENO
   1613 # ----------------------
   1614 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1615 # that executables *can* be run.
   1616 ac_fn_c_try_run ()
   1617 {
   1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1619   if { { ac_try="$ac_link"
   1620 case "(($ac_try" in
   1621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1622   *) ac_try_echo=$ac_try;;
   1623 esac
   1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1625 $as_echo "$ac_try_echo"; } >&5
   1626   (eval "$ac_link") 2>&5
   1627   ac_status=$?
   1628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1629   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1630   { { case "(($ac_try" in
   1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1632   *) ac_try_echo=$ac_try;;
   1633 esac
   1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1635 $as_echo "$ac_try_echo"; } >&5
   1636   (eval "$ac_try") 2>&5
   1637   ac_status=$?
   1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1639   test $ac_status = 0; }; }; then :
   1640   ac_retval=0
   1641 else
   1642   $as_echo "$as_me: program exited with status $ac_status" >&5
   1643        $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646        ac_retval=$ac_status
   1647 fi
   1648   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650   as_fn_set_status $ac_retval
   1651 
   1652 } # ac_fn_c_try_run
   1653 
   1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1655 # -------------------------------------------------------
   1656 # Tests whether HEADER exists and can be compiled using the include files in
   1657 # INCLUDES, setting the cache variable VAR accordingly.
   1658 ac_fn_c_check_header_compile ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1662 $as_echo_n "checking for $2... " >&6; }
   1663 if eval \${$3+:} false; then :
   1664   $as_echo_n "(cached) " >&6
   1665 else
   1666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1667 /* end confdefs.h.  */
   1668 $4
   1669 #include <$2>
   1670 _ACEOF
   1671 if ac_fn_c_try_compile "$LINENO"; then :
   1672   eval "$3=yes"
   1673 else
   1674   eval "$3=no"
   1675 fi
   1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1677 fi
   1678 eval ac_res=\$$3
   1679 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1680 $as_echo "$ac_res" >&6; }
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682 
   1683 } # ac_fn_c_check_header_compile
   1684 
   1685 # ac_fn_c_try_link LINENO
   1686 # -----------------------
   1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1688 ac_fn_c_try_link ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   rm -f conftest.$ac_objext conftest$ac_exeext
   1692   if { { ac_try="$ac_link"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_link") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && {
   1708 	 test -z "$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        } && test -s conftest$ac_exeext && {
   1711 	 test "$cross_compiling" = yes ||
   1712 	 $as_test_x conftest$ac_exeext
   1713        }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719 	ac_retval=1
   1720 fi
   1721   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1722   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1723   # interfere with the next link command; also delete a directory that is
   1724   # left behind by Apple's compiler.  We do this before executing the actions.
   1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_link
   1730 
   1731 # ac_fn_c_check_func LINENO FUNC VAR
   1732 # ----------------------------------
   1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1734 ac_fn_c_check_func ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 $as_echo_n "checking for $2... " >&6; }
   1739 if eval \${$3+:} false; then :
   1740   $as_echo_n "(cached) " >&6
   1741 else
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1746 #define $2 innocuous_$2
   1747 
   1748 /* System header to define __stub macros and hopefully few prototypes,
   1749     which can conflict with char $2 (); below.
   1750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1751     <limits.h> exists even on freestanding compilers.  */
   1752 
   1753 #ifdef __STDC__
   1754 # include <limits.h>
   1755 #else
   1756 # include <assert.h>
   1757 #endif
   1758 
   1759 #undef $2
   1760 
   1761 /* Override any GCC internal prototype to avoid an error.
   1762    Use char because int might match the return type of a GCC
   1763    builtin and then its argument prototype would still apply.  */
   1764 #ifdef __cplusplus
   1765 extern "C"
   1766 #endif
   1767 char $2 ();
   1768 /* The GNU C library defines this for functions which it implements
   1769     to always fail with ENOSYS.  Some functions are actually named
   1770     something starting with __ and the normal name is an alias.  */
   1771 #if defined __stub_$2 || defined __stub___$2
   1772 choke me
   1773 #endif
   1774 
   1775 int
   1776 main ()
   1777 {
   1778 return $2 ();
   1779   ;
   1780   return 0;
   1781 }
   1782 _ACEOF
   1783 if ac_fn_c_try_link "$LINENO"; then :
   1784   eval "$3=yes"
   1785 else
   1786   eval "$3=no"
   1787 fi
   1788 rm -f core conftest.err conftest.$ac_objext \
   1789     conftest$ac_exeext conftest.$ac_ext
   1790 fi
   1791 eval ac_res=\$$3
   1792 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1793 $as_echo "$ac_res" >&6; }
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795 
   1796 } # ac_fn_c_check_func
   1797 
   1798 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1799 # ----------------------------------------------------
   1800 # Tries to find if the field MEMBER exists in type AGGR, after including
   1801 # INCLUDES, setting cache variable VAR accordingly.
   1802 ac_fn_c_check_member ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1806 $as_echo_n "checking for $2.$3... " >&6; }
   1807 if eval \${$4+:} false; then :
   1808   $as_echo_n "(cached) " >&6
   1809 else
   1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1811 /* end confdefs.h.  */
   1812 $5
   1813 int
   1814 main ()
   1815 {
   1816 static $2 ac_aggr;
   1817 if (ac_aggr.$3)
   1818 return 0;
   1819   ;
   1820   return 0;
   1821 }
   1822 _ACEOF
   1823 if ac_fn_c_try_compile "$LINENO"; then :
   1824   eval "$4=yes"
   1825 else
   1826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1827 /* end confdefs.h.  */
   1828 $5
   1829 int
   1830 main ()
   1831 {
   1832 static $2 ac_aggr;
   1833 if (sizeof ac_aggr.$3)
   1834 return 0;
   1835   ;
   1836   return 0;
   1837 }
   1838 _ACEOF
   1839 if ac_fn_c_try_compile "$LINENO"; then :
   1840   eval "$4=yes"
   1841 else
   1842   eval "$4=no"
   1843 fi
   1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1845 fi
   1846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1847 fi
   1848 eval ac_res=\$$4
   1849 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1850 $as_echo "$ac_res" >&6; }
   1851   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1852 
   1853 } # ac_fn_c_check_member
   1854 
   1855 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1856 # -------------------------------------------
   1857 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1858 # variable VAR accordingly.
   1859 ac_fn_c_check_type ()
   1860 {
   1861   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1863 $as_echo_n "checking for $2... " >&6; }
   1864 if eval \${$3+:} false; then :
   1865   $as_echo_n "(cached) " >&6
   1866 else
   1867   eval "$3=no"
   1868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1869 /* end confdefs.h.  */
   1870 $4
   1871 int
   1872 main ()
   1873 {
   1874 if (sizeof ($2))
   1875 	 return 0;
   1876   ;
   1877   return 0;
   1878 }
   1879 _ACEOF
   1880 if ac_fn_c_try_compile "$LINENO"; then :
   1881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1882 /* end confdefs.h.  */
   1883 $4
   1884 int
   1885 main ()
   1886 {
   1887 if (sizeof (($2)))
   1888 	    return 0;
   1889   ;
   1890   return 0;
   1891 }
   1892 _ACEOF
   1893 if ac_fn_c_try_compile "$LINENO"; then :
   1894 
   1895 else
   1896   eval "$3=yes"
   1897 fi
   1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1899 fi
   1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1901 fi
   1902 eval ac_res=\$$3
   1903 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1904 $as_echo "$ac_res" >&6; }
   1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1906 
   1907 } # ac_fn_c_check_type
   1908 cat >config.log <<_ACEOF
   1909 This file contains any messages produced by compilers while
   1910 running configure, to aid debugging if configure makes a mistake.
   1911 
   1912 It was created by xhost $as_me 1.0.5, which was
   1913 generated by GNU Autoconf 2.68.  Invocation command line was
   1914 
   1915   $ $0 $@
   1916 
   1917 _ACEOF
   1918 exec 5>>config.log
   1919 {
   1920 cat <<_ASUNAME
   1921 ## --------- ##
   1922 ## Platform. ##
   1923 ## --------- ##
   1924 
   1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1930 
   1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1932 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1933 
   1934 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1935 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1937 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1938 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1939 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1940 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1941 
   1942 _ASUNAME
   1943 
   1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1945 for as_dir in $PATH
   1946 do
   1947   IFS=$as_save_IFS
   1948   test -z "$as_dir" && as_dir=.
   1949     $as_echo "PATH: $as_dir"
   1950   done
   1951 IFS=$as_save_IFS
   1952 
   1953 } >&5
   1954 
   1955 cat >&5 <<_ACEOF
   1956 
   1957 
   1958 ## ----------- ##
   1959 ## Core tests. ##
   1960 ## ----------- ##
   1961 
   1962 _ACEOF
   1963 
   1964 
   1965 # Keep a trace of the command line.
   1966 # Strip out --no-create and --no-recursion so they do not pile up.
   1967 # Strip out --silent because we don't want to record it for future runs.
   1968 # Also quote any args containing shell meta-characters.
   1969 # Make two passes to allow for proper duplicate-argument suppression.
   1970 ac_configure_args=
   1971 ac_configure_args0=
   1972 ac_configure_args1=
   1973 ac_must_keep_next=false
   1974 for ac_pass in 1 2
   1975 do
   1976   for ac_arg
   1977   do
   1978     case $ac_arg in
   1979     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1980     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1981     | -silent | --silent | --silen | --sile | --sil)
   1982       continue ;;
   1983     *\'*)
   1984       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1985     esac
   1986     case $ac_pass in
   1987     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1988     2)
   1989       as_fn_append ac_configure_args1 " '$ac_arg'"
   1990       if test $ac_must_keep_next = true; then
   1991 	ac_must_keep_next=false # Got value, back to normal.
   1992       else
   1993 	case $ac_arg in
   1994 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1995 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1996 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1997 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1998 	    case "$ac_configure_args0 " in
   1999 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2000 	    esac
   2001 	    ;;
   2002 	  -* ) ac_must_keep_next=true ;;
   2003 	esac
   2004       fi
   2005       as_fn_append ac_configure_args " '$ac_arg'"
   2006       ;;
   2007     esac
   2008   done
   2009 done
   2010 { ac_configure_args0=; unset ac_configure_args0;}
   2011 { ac_configure_args1=; unset ac_configure_args1;}
   2012 
   2013 # When interrupted or exit'd, cleanup temporary files, and complete
   2014 # config.log.  We remove comments because anyway the quotes in there
   2015 # would cause problems or look ugly.
   2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2018 trap 'exit_status=$?
   2019   # Save into config.log some information that might help in debugging.
   2020   {
   2021     echo
   2022 
   2023     $as_echo "## ---------------- ##
   2024 ## Cache variables. ##
   2025 ## ---------------- ##"
   2026     echo
   2027     # The following way of writing the cache mishandles newlines in values,
   2028 (
   2029   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2030     eval ac_val=\$$ac_var
   2031     case $ac_val in #(
   2032     *${as_nl}*)
   2033       case $ac_var in #(
   2034       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2036       esac
   2037       case $ac_var in #(
   2038       _ | IFS | as_nl) ;; #(
   2039       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2040       *) { eval $ac_var=; unset $ac_var;} ;;
   2041       esac ;;
   2042     esac
   2043   done
   2044   (set) 2>&1 |
   2045     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2046     *${as_nl}ac_space=\ *)
   2047       sed -n \
   2048 	"s/'\''/'\''\\\\'\'''\''/g;
   2049 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2050       ;; #(
   2051     *)
   2052       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2053       ;;
   2054     esac |
   2055     sort
   2056 )
   2057     echo
   2058 
   2059     $as_echo "## ----------------- ##
   2060 ## Output variables. ##
   2061 ## ----------------- ##"
   2062     echo
   2063     for ac_var in $ac_subst_vars
   2064     do
   2065       eval ac_val=\$$ac_var
   2066       case $ac_val in
   2067       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2068       esac
   2069       $as_echo "$ac_var='\''$ac_val'\''"
   2070     done | sort
   2071     echo
   2072 
   2073     if test -n "$ac_subst_files"; then
   2074       $as_echo "## ------------------- ##
   2075 ## File substitutions. ##
   2076 ## ------------------- ##"
   2077       echo
   2078       for ac_var in $ac_subst_files
   2079       do
   2080 	eval ac_val=\$$ac_var
   2081 	case $ac_val in
   2082 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2083 	esac
   2084 	$as_echo "$ac_var='\''$ac_val'\''"
   2085       done | sort
   2086       echo
   2087     fi
   2088 
   2089     if test -s confdefs.h; then
   2090       $as_echo "## ----------- ##
   2091 ## confdefs.h. ##
   2092 ## ----------- ##"
   2093       echo
   2094       cat confdefs.h
   2095       echo
   2096     fi
   2097     test "$ac_signal" != 0 &&
   2098       $as_echo "$as_me: caught signal $ac_signal"
   2099     $as_echo "$as_me: exit $exit_status"
   2100   } >&5
   2101   rm -f core *.core core.conftest.* &&
   2102     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2103     exit $exit_status
   2104 ' 0
   2105 for ac_signal in 1 2 13 15; do
   2106   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2107 done
   2108 ac_signal=0
   2109 
   2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2111 rm -f -r conftest* confdefs.h
   2112 
   2113 $as_echo "/* confdefs.h */" > confdefs.h
   2114 
   2115 # Predefined preprocessor variables.
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_NAME "$PACKAGE_NAME"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_STRING "$PACKAGE_STRING"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_URL "$PACKAGE_URL"
   2139 _ACEOF
   2140 
   2141 
   2142 # Let the site file select an alternate cache file if it wants to.
   2143 # Prefer an explicitly selected file to automatically selected ones.
   2144 ac_site_file1=NONE
   2145 ac_site_file2=NONE
   2146 if test -n "$CONFIG_SITE"; then
   2147   # We do not want a PATH search for config.site.
   2148   case $CONFIG_SITE in #((
   2149     -*)  ac_site_file1=./$CONFIG_SITE;;
   2150     */*) ac_site_file1=$CONFIG_SITE;;
   2151     *)   ac_site_file1=./$CONFIG_SITE;;
   2152   esac
   2153 elif test "x$prefix" != xNONE; then
   2154   ac_site_file1=$prefix/share/config.site
   2155   ac_site_file2=$prefix/etc/config.site
   2156 else
   2157   ac_site_file1=$ac_default_prefix/share/config.site
   2158   ac_site_file2=$ac_default_prefix/etc/config.site
   2159 fi
   2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2161 do
   2162   test "x$ac_site_file" = xNONE && continue
   2163   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2164     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2166     sed 's/^/| /' "$ac_site_file" >&5
   2167     . "$ac_site_file" \
   2168       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2170 as_fn_error $? "failed to load site script $ac_site_file
   2171 See \`config.log' for more details" "$LINENO" 5; }
   2172   fi
   2173 done
   2174 
   2175 if test -r "$cache_file"; then
   2176   # Some versions of bash will fail to source /dev/null (special files
   2177   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2178   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2179     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2181     case $cache_file in
   2182       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2183       *)                      . "./$cache_file";;
   2184     esac
   2185   fi
   2186 else
   2187   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2189   >$cache_file
   2190 fi
   2191 
   2192 # Check that the precious variables saved in the cache have kept the same
   2193 # value.
   2194 ac_cache_corrupted=false
   2195 for ac_var in $ac_precious_vars; do
   2196   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2197   eval ac_new_set=\$ac_env_${ac_var}_set
   2198   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2199   eval ac_new_val=\$ac_env_${ac_var}_value
   2200   case $ac_old_set,$ac_new_set in
   2201     set,)
   2202       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2203 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2204       ac_cache_corrupted=: ;;
   2205     ,set)
   2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2208       ac_cache_corrupted=: ;;
   2209     ,);;
   2210     *)
   2211       if test "x$ac_old_val" != "x$ac_new_val"; then
   2212 	# differences in whitespace do not lead to failure.
   2213 	ac_old_val_w=`echo x $ac_old_val`
   2214 	ac_new_val_w=`echo x $ac_new_val`
   2215 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2218 	  ac_cache_corrupted=:
   2219 	else
   2220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2222 	  eval $ac_var=\$ac_old_val
   2223 	fi
   2224 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2225 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2226 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2227 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2228       fi;;
   2229   esac
   2230   # Pass precious variables to config.status.
   2231   if test "$ac_new_set" = set; then
   2232     case $ac_new_val in
   2233     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2234     *) ac_arg=$ac_var=$ac_new_val ;;
   2235     esac
   2236     case " $ac_configure_args " in
   2237       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2238       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2239     esac
   2240   fi
   2241 done
   2242 if $ac_cache_corrupted; then
   2243   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2245   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2247   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2248 fi
   2249 ## -------------------- ##
   2250 ## Main body of script. ##
   2251 ## -------------------- ##
   2252 
   2253 ac_ext=c
   2254 ac_cpp='$CPP $CPPFLAGS'
   2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2258 
   2259 
   2260 
   2261 ac_config_headers="$ac_config_headers config.h"
   2262 
   2263 
   2264 # Initialize Automake
   2265 am__api_version='1.11'
   2266 
   2267 ac_aux_dir=
   2268 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2269   if test -f "$ac_dir/install-sh"; then
   2270     ac_aux_dir=$ac_dir
   2271     ac_install_sh="$ac_aux_dir/install-sh -c"
   2272     break
   2273   elif test -f "$ac_dir/install.sh"; then
   2274     ac_aux_dir=$ac_dir
   2275     ac_install_sh="$ac_aux_dir/install.sh -c"
   2276     break
   2277   elif test -f "$ac_dir/shtool"; then
   2278     ac_aux_dir=$ac_dir
   2279     ac_install_sh="$ac_aux_dir/shtool install -c"
   2280     break
   2281   fi
   2282 done
   2283 if test -z "$ac_aux_dir"; then
   2284   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2285 fi
   2286 
   2287 # These three variables are undocumented and unsupported,
   2288 # and are intended to be withdrawn in a future Autoconf release.
   2289 # They can cause serious problems if a builder's source tree is in a directory
   2290 # whose full name contains unusual characters.
   2291 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2292 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2293 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2294 
   2295 
   2296 # Find a good install program.  We prefer a C program (faster),
   2297 # so one script is as good as another.  But avoid the broken or
   2298 # incompatible versions:
   2299 # SysV /etc/install, /usr/sbin/install
   2300 # SunOS /usr/etc/install
   2301 # IRIX /sbin/install
   2302 # AIX /bin/install
   2303 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2304 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2305 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2306 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2307 # OS/2's system install, which has a completely different semantic
   2308 # ./install, which can be erroneously created by make from ./install.sh.
   2309 # Reject install programs that cannot install multiple files.
   2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2311 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2312 if test -z "$INSTALL"; then
   2313 if ${ac_cv_path_install+:} false; then :
   2314   $as_echo_n "(cached) " >&6
   2315 else
   2316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2317 for as_dir in $PATH
   2318 do
   2319   IFS=$as_save_IFS
   2320   test -z "$as_dir" && as_dir=.
   2321     # Account for people who put trailing slashes in PATH elements.
   2322 case $as_dir/ in #((
   2323   ./ | .// | /[cC]/* | \
   2324   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2325   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2326   /usr/ucb/* ) ;;
   2327   *)
   2328     # OSF1 and SCO ODT 3.0 have their own names for install.
   2329     # Don't use installbsd from OSF since it installs stuff as root
   2330     # by default.
   2331     for ac_prog in ginstall scoinst install; do
   2332       for ac_exec_ext in '' $ac_executable_extensions; do
   2333 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2334 	  if test $ac_prog = install &&
   2335 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2336 	    # AIX install.  It has an incompatible calling convention.
   2337 	    :
   2338 	  elif test $ac_prog = install &&
   2339 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2340 	    # program-specific install script used by HP pwplus--don't use.
   2341 	    :
   2342 	  else
   2343 	    rm -rf conftest.one conftest.two conftest.dir
   2344 	    echo one > conftest.one
   2345 	    echo two > conftest.two
   2346 	    mkdir conftest.dir
   2347 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2348 	      test -s conftest.one && test -s conftest.two &&
   2349 	      test -s conftest.dir/conftest.one &&
   2350 	      test -s conftest.dir/conftest.two
   2351 	    then
   2352 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2353 	      break 3
   2354 	    fi
   2355 	  fi
   2356 	fi
   2357       done
   2358     done
   2359     ;;
   2360 esac
   2361 
   2362   done
   2363 IFS=$as_save_IFS
   2364 
   2365 rm -rf conftest.one conftest.two conftest.dir
   2366 
   2367 fi
   2368   if test "${ac_cv_path_install+set}" = set; then
   2369     INSTALL=$ac_cv_path_install
   2370   else
   2371     # As a last resort, use the slow shell script.  Don't cache a
   2372     # value for INSTALL within a source directory, because that will
   2373     # break other packages using the cache if that directory is
   2374     # removed, or if the value is a relative name.
   2375     INSTALL=$ac_install_sh
   2376   fi
   2377 fi
   2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2379 $as_echo "$INSTALL" >&6; }
   2380 
   2381 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2382 # It thinks the first close brace ends the variable substitution.
   2383 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2384 
   2385 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2386 
   2387 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2388 
   2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2390 $as_echo_n "checking whether build environment is sane... " >&6; }
   2391 # Just in case
   2392 sleep 1
   2393 echo timestamp > conftest.file
   2394 # Reject unsafe characters in $srcdir or the absolute working directory
   2395 # name.  Accept space and tab only in the latter.
   2396 am_lf='
   2397 '
   2398 case `pwd` in
   2399   *[\\\"\#\$\&\'\`$am_lf]*)
   2400     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2401 esac
   2402 case $srcdir in
   2403   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2404     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2405 esac
   2406 
   2407 # Do `set' in a subshell so we don't clobber the current shell's
   2408 # arguments.  Must try -L first in case configure is actually a
   2409 # symlink; some systems play weird games with the mod time of symlinks
   2410 # (eg FreeBSD returns the mod time of the symlink's containing
   2411 # directory).
   2412 if (
   2413    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2414    if test "$*" = "X"; then
   2415       # -L didn't work.
   2416       set X `ls -t "$srcdir/configure" conftest.file`
   2417    fi
   2418    rm -f conftest.file
   2419    if test "$*" != "X $srcdir/configure conftest.file" \
   2420       && test "$*" != "X conftest.file $srcdir/configure"; then
   2421 
   2422       # If neither matched, then we have a broken ls.  This can happen
   2423       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2424       # broken ls alias from the environment.  This has actually
   2425       # happened.  Such a system could not be considered "sane".
   2426       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2427 alias in your environment" "$LINENO" 5
   2428    fi
   2429 
   2430    test "$2" = conftest.file
   2431    )
   2432 then
   2433    # Ok.
   2434    :
   2435 else
   2436    as_fn_error $? "newly created file is older than distributed files!
   2437 Check your system clock" "$LINENO" 5
   2438 fi
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2440 $as_echo "yes" >&6; }
   2441 test "$program_prefix" != NONE &&
   2442   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2443 # Use a double $ so make ignores it.
   2444 test "$program_suffix" != NONE &&
   2445   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2446 # Double any \ or $.
   2447 # By default was `s,x,x', remove it if useless.
   2448 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2449 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2450 
   2451 # expand $ac_aux_dir to an absolute path
   2452 am_aux_dir=`cd $ac_aux_dir && pwd`
   2453 
   2454 if test x"${MISSING+set}" != xset; then
   2455   case $am_aux_dir in
   2456   *\ * | *\	*)
   2457     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2458   *)
   2459     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2460   esac
   2461 fi
   2462 # Use eval to expand $SHELL
   2463 if eval "$MISSING --run true"; then
   2464   am_missing_run="$MISSING --run "
   2465 else
   2466   am_missing_run=
   2467   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2468 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2469 fi
   2470 
   2471 if test x"${install_sh}" != xset; then
   2472   case $am_aux_dir in
   2473   *\ * | *\	*)
   2474     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2475   *)
   2476     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2477   esac
   2478 fi
   2479 
   2480 # Installed binaries are usually stripped using `strip' when the user
   2481 # run `make install-strip'.  However `strip' might not be the right
   2482 # tool to use in cross-compilation environments, therefore Automake
   2483 # will honor the `STRIP' environment variable to overrule this program.
   2484 if test "$cross_compiling" != no; then
   2485   if test -n "$ac_tool_prefix"; then
   2486   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2487 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2489 $as_echo_n "checking for $ac_word... " >&6; }
   2490 if ${ac_cv_prog_STRIP+:} false; then :
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   if test -n "$STRIP"; then
   2494   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2495 else
   2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2497 for as_dir in $PATH
   2498 do
   2499   IFS=$as_save_IFS
   2500   test -z "$as_dir" && as_dir=.
   2501     for ac_exec_ext in '' $ac_executable_extensions; do
   2502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2503     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2505     break 2
   2506   fi
   2507 done
   2508   done
   2509 IFS=$as_save_IFS
   2510 
   2511 fi
   2512 fi
   2513 STRIP=$ac_cv_prog_STRIP
   2514 if test -n "$STRIP"; then
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2516 $as_echo "$STRIP" >&6; }
   2517 else
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2519 $as_echo "no" >&6; }
   2520 fi
   2521 
   2522 
   2523 fi
   2524 if test -z "$ac_cv_prog_STRIP"; then
   2525   ac_ct_STRIP=$STRIP
   2526   # Extract the first word of "strip", so it can be a program name with args.
   2527 set dummy strip; ac_word=$2
   2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2529 $as_echo_n "checking for $ac_word... " >&6; }
   2530 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   if test -n "$ac_ct_STRIP"; then
   2534   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2535 else
   2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2537 for as_dir in $PATH
   2538 do
   2539   IFS=$as_save_IFS
   2540   test -z "$as_dir" && as_dir=.
   2541     for ac_exec_ext in '' $ac_executable_extensions; do
   2542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2543     ac_cv_prog_ac_ct_STRIP="strip"
   2544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2545     break 2
   2546   fi
   2547 done
   2548   done
   2549 IFS=$as_save_IFS
   2550 
   2551 fi
   2552 fi
   2553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2554 if test -n "$ac_ct_STRIP"; then
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2556 $as_echo "$ac_ct_STRIP" >&6; }
   2557 else
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2559 $as_echo "no" >&6; }
   2560 fi
   2561 
   2562   if test "x$ac_ct_STRIP" = x; then
   2563     STRIP=":"
   2564   else
   2565     case $cross_compiling:$ac_tool_warned in
   2566 yes:)
   2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2569 ac_tool_warned=yes ;;
   2570 esac
   2571     STRIP=$ac_ct_STRIP
   2572   fi
   2573 else
   2574   STRIP="$ac_cv_prog_STRIP"
   2575 fi
   2576 
   2577 fi
   2578 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2579 
   2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2581 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2582 if test -z "$MKDIR_P"; then
   2583   if ${ac_cv_path_mkdir+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2588 do
   2589   IFS=$as_save_IFS
   2590   test -z "$as_dir" && as_dir=.
   2591     for ac_prog in mkdir gmkdir; do
   2592 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2593 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2594 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2595 	     'mkdir (GNU coreutils) '* | \
   2596 	     'mkdir (coreutils) '* | \
   2597 	     'mkdir (fileutils) '4.1*)
   2598 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2599 	       break 3;;
   2600 	   esac
   2601 	 done
   2602        done
   2603   done
   2604 IFS=$as_save_IFS
   2605 
   2606 fi
   2607 
   2608   test -d ./--version && rmdir ./--version
   2609   if test "${ac_cv_path_mkdir+set}" = set; then
   2610     MKDIR_P="$ac_cv_path_mkdir -p"
   2611   else
   2612     # As a last resort, use the slow shell script.  Don't cache a
   2613     # value for MKDIR_P within a source directory, because that will
   2614     # break other packages using the cache if that directory is
   2615     # removed, or if the value is a relative name.
   2616     MKDIR_P="$ac_install_sh -d"
   2617   fi
   2618 fi
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2620 $as_echo "$MKDIR_P" >&6; }
   2621 
   2622 mkdir_p="$MKDIR_P"
   2623 case $mkdir_p in
   2624   [\\/$]* | ?:[\\/]*) ;;
   2625   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2626 esac
   2627 
   2628 for ac_prog in gawk mawk nawk awk
   2629 do
   2630   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2631 set dummy $ac_prog; ac_word=$2
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2633 $as_echo_n "checking for $ac_word... " >&6; }
   2634 if ${ac_cv_prog_AWK+:} false; then :
   2635   $as_echo_n "(cached) " >&6
   2636 else
   2637   if test -n "$AWK"; then
   2638   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2639 else
   2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2641 for as_dir in $PATH
   2642 do
   2643   IFS=$as_save_IFS
   2644   test -z "$as_dir" && as_dir=.
   2645     for ac_exec_ext in '' $ac_executable_extensions; do
   2646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2647     ac_cv_prog_AWK="$ac_prog"
   2648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2649     break 2
   2650   fi
   2651 done
   2652   done
   2653 IFS=$as_save_IFS
   2654 
   2655 fi
   2656 fi
   2657 AWK=$ac_cv_prog_AWK
   2658 if test -n "$AWK"; then
   2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2660 $as_echo "$AWK" >&6; }
   2661 else
   2662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2663 $as_echo "no" >&6; }
   2664 fi
   2665 
   2666 
   2667   test -n "$AWK" && break
   2668 done
   2669 
   2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2671 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2672 set x ${MAKE-make}
   2673 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2674 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   cat >conftest.make <<\_ACEOF
   2678 SHELL = /bin/sh
   2679 all:
   2680 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2681 _ACEOF
   2682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2683 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2684   *@@@%%%=?*=@@@%%%*)
   2685     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2686   *)
   2687     eval ac_cv_prog_make_${ac_make}_set=no;;
   2688 esac
   2689 rm -f conftest.make
   2690 fi
   2691 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2693 $as_echo "yes" >&6; }
   2694   SET_MAKE=
   2695 else
   2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2697 $as_echo "no" >&6; }
   2698   SET_MAKE="MAKE=${MAKE-make}"
   2699 fi
   2700 
   2701 rm -rf .tst 2>/dev/null
   2702 mkdir .tst 2>/dev/null
   2703 if test -d .tst; then
   2704   am__leading_dot=.
   2705 else
   2706   am__leading_dot=_
   2707 fi
   2708 rmdir .tst 2>/dev/null
   2709 
   2710 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2711   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2712   # is not polluted with repeated "-I."
   2713   am__isrc=' -I$(srcdir)'
   2714   # test to see if srcdir already configured
   2715   if test -f $srcdir/config.status; then
   2716     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2717   fi
   2718 fi
   2719 
   2720 # test whether we have cygpath
   2721 if test -z "$CYGPATH_W"; then
   2722   if (cygpath --version) >/dev/null 2>/dev/null; then
   2723     CYGPATH_W='cygpath -w'
   2724   else
   2725     CYGPATH_W=echo
   2726   fi
   2727 fi
   2728 
   2729 
   2730 # Define the identity of the package.
   2731  PACKAGE='xhost'
   2732  VERSION='1.0.5'
   2733 
   2734 
   2735 cat >>confdefs.h <<_ACEOF
   2736 #define PACKAGE "$PACKAGE"
   2737 _ACEOF
   2738 
   2739 
   2740 cat >>confdefs.h <<_ACEOF
   2741 #define VERSION "$VERSION"
   2742 _ACEOF
   2743 
   2744 # Some tools Automake needs.
   2745 
   2746 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2747 
   2748 
   2749 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2750 
   2751 
   2752 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2753 
   2754 
   2755 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2756 
   2757 
   2758 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2759 
   2760 # We need awk for the "check" target.  The system "awk" is bad on
   2761 # some platforms.
   2762 # Always define AMTAR for backward compatibility.
   2763 
   2764 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2765 
   2766 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2767 
   2768 
   2769 
   2770 
   2771 
   2772 
   2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2774 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2775     # Check whether --enable-maintainer-mode was given.
   2776 if test "${enable_maintainer_mode+set}" = set; then :
   2777   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2778 else
   2779   USE_MAINTAINER_MODE=no
   2780 fi
   2781 
   2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2783 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2784    if test $USE_MAINTAINER_MODE = yes; then
   2785   MAINTAINER_MODE_TRUE=
   2786   MAINTAINER_MODE_FALSE='#'
   2787 else
   2788   MAINTAINER_MODE_TRUE='#'
   2789   MAINTAINER_MODE_FALSE=
   2790 fi
   2791 
   2792   MAINT=$MAINTAINER_MODE_TRUE
   2793 
   2794 
   2795 
   2796 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 DEPDIR="${am__leading_dot}deps"
   2809 
   2810 ac_config_commands="$ac_config_commands depfiles"
   2811 
   2812 
   2813 am_make=${MAKE-make}
   2814 cat > confinc << 'END'
   2815 am__doit:
   2816 	@echo this is the am__doit target
   2817 .PHONY: am__doit
   2818 END
   2819 # If we don't find an include directive, just comment out the code.
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2821 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2822 am__include="#"
   2823 am__quote=
   2824 _am_result=none
   2825 # First try GNU make style include.
   2826 echo "include confinc" > confmf
   2827 # Ignore all kinds of additional output from `make'.
   2828 case `$am_make -s -f confmf 2> /dev/null` in #(
   2829 *the\ am__doit\ target*)
   2830   am__include=include
   2831   am__quote=
   2832   _am_result=GNU
   2833   ;;
   2834 esac
   2835 # Now try BSD make style include.
   2836 if test "$am__include" = "#"; then
   2837    echo '.include "confinc"' > confmf
   2838    case `$am_make -s -f confmf 2> /dev/null` in #(
   2839    *the\ am__doit\ target*)
   2840      am__include=.include
   2841      am__quote="\""
   2842      _am_result=BSD
   2843      ;;
   2844    esac
   2845 fi
   2846 
   2847 
   2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2849 $as_echo "$_am_result" >&6; }
   2850 rm -f confinc confmf
   2851 
   2852 # Check whether --enable-dependency-tracking was given.
   2853 if test "${enable_dependency_tracking+set}" = set; then :
   2854   enableval=$enable_dependency_tracking;
   2855 fi
   2856 
   2857 if test "x$enable_dependency_tracking" != xno; then
   2858   am_depcomp="$ac_aux_dir/depcomp"
   2859   AMDEPBACKSLASH='\'
   2860 fi
   2861  if test "x$enable_dependency_tracking" != xno; then
   2862   AMDEP_TRUE=
   2863   AMDEP_FALSE='#'
   2864 else
   2865   AMDEP_TRUE='#'
   2866   AMDEP_FALSE=
   2867 fi
   2868 
   2869 
   2870 ac_ext=c
   2871 ac_cpp='$CPP $CPPFLAGS'
   2872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2875 if test -n "$ac_tool_prefix"; then
   2876   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2877 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2879 $as_echo_n "checking for $ac_word... " >&6; }
   2880 if ${ac_cv_prog_CC+:} false; then :
   2881   $as_echo_n "(cached) " >&6
   2882 else
   2883   if test -n "$CC"; then
   2884   ac_cv_prog_CC="$CC" # Let the user override the test.
   2885 else
   2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2887 for as_dir in $PATH
   2888 do
   2889   IFS=$as_save_IFS
   2890   test -z "$as_dir" && as_dir=.
   2891     for ac_exec_ext in '' $ac_executable_extensions; do
   2892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2893     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2895     break 2
   2896   fi
   2897 done
   2898   done
   2899 IFS=$as_save_IFS
   2900 
   2901 fi
   2902 fi
   2903 CC=$ac_cv_prog_CC
   2904 if test -n "$CC"; then
   2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2906 $as_echo "$CC" >&6; }
   2907 else
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 $as_echo "no" >&6; }
   2910 fi
   2911 
   2912 
   2913 fi
   2914 if test -z "$ac_cv_prog_CC"; then
   2915   ac_ct_CC=$CC
   2916   # Extract the first word of "gcc", so it can be a program name with args.
   2917 set dummy gcc; ac_word=$2
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2919 $as_echo_n "checking for $ac_word... " >&6; }
   2920 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2921   $as_echo_n "(cached) " >&6
   2922 else
   2923   if test -n "$ac_ct_CC"; then
   2924   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2933     ac_cv_prog_ac_ct_CC="gcc"
   2934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2935     break 2
   2936   fi
   2937 done
   2938   done
   2939 IFS=$as_save_IFS
   2940 
   2941 fi
   2942 fi
   2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2944 if test -n "$ac_ct_CC"; then
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2946 $as_echo "$ac_ct_CC" >&6; }
   2947 else
   2948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2949 $as_echo "no" >&6; }
   2950 fi
   2951 
   2952   if test "x$ac_ct_CC" = x; then
   2953     CC=""
   2954   else
   2955     case $cross_compiling:$ac_tool_warned in
   2956 yes:)
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2959 ac_tool_warned=yes ;;
   2960 esac
   2961     CC=$ac_ct_CC
   2962   fi
   2963 else
   2964   CC="$ac_cv_prog_CC"
   2965 fi
   2966 
   2967 if test -z "$CC"; then
   2968           if test -n "$ac_tool_prefix"; then
   2969     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2970 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_CC+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$CC"; then
   2977   ac_cv_prog_CC="$CC" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2986     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 CC=$ac_cv_prog_CC
   2997 if test -n "$CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2999 $as_echo "$CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005 
   3006   fi
   3007 fi
   3008 if test -z "$CC"; then
   3009   # Extract the first word of "cc", so it can be a program name with args.
   3010 set dummy cc; ac_word=$2
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 $as_echo_n "checking for $ac_word... " >&6; }
   3013 if ${ac_cv_prog_CC+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   if test -n "$CC"; then
   3017   ac_cv_prog_CC="$CC" # Let the user override the test.
   3018 else
   3019   ac_prog_rejected=no
   3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3021 for as_dir in $PATH
   3022 do
   3023   IFS=$as_save_IFS
   3024   test -z "$as_dir" && as_dir=.
   3025     for ac_exec_ext in '' $ac_executable_extensions; do
   3026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3027     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3028        ac_prog_rejected=yes
   3029        continue
   3030      fi
   3031     ac_cv_prog_CC="cc"
   3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 if test $ac_prog_rejected = yes; then
   3040   # We found a bogon in the path, so make sure we never use it.
   3041   set dummy $ac_cv_prog_CC
   3042   shift
   3043   if test $# != 0; then
   3044     # We chose a different compiler from the bogus one.
   3045     # However, it has the same basename, so the bogon will be chosen
   3046     # first if we set CC to just the basename; use the full file name.
   3047     shift
   3048     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3049   fi
   3050 fi
   3051 fi
   3052 fi
   3053 CC=$ac_cv_prog_CC
   3054 if test -n "$CC"; then
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3056 $as_echo "$CC" >&6; }
   3057 else
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 $as_echo "no" >&6; }
   3060 fi
   3061 
   3062 
   3063 fi
   3064 if test -z "$CC"; then
   3065   if test -n "$ac_tool_prefix"; then
   3066   for ac_prog in cl.exe
   3067   do
   3068     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3071 $as_echo_n "checking for $ac_word... " >&6; }
   3072 if ${ac_cv_prog_CC+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   if test -n "$CC"; then
   3076   ac_cv_prog_CC="$CC" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   test -z "$as_dir" && as_dir=.
   3083     for ac_exec_ext in '' $ac_executable_extensions; do
   3084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3085     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 fi
   3094 fi
   3095 CC=$ac_cv_prog_CC
   3096 if test -n "$CC"; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3098 $as_echo "$CC" >&6; }
   3099 else
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3101 $as_echo "no" >&6; }
   3102 fi
   3103 
   3104 
   3105     test -n "$CC" && break
   3106   done
   3107 fi
   3108 if test -z "$CC"; then
   3109   ac_ct_CC=$CC
   3110   for ac_prog in cl.exe
   3111 do
   3112   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3113 set dummy $ac_prog; ac_word=$2
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3115 $as_echo_n "checking for $ac_word... " >&6; }
   3116 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3117   $as_echo_n "(cached) " >&6
   3118 else
   3119   if test -n "$ac_ct_CC"; then
   3120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3121 else
   3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3123 for as_dir in $PATH
   3124 do
   3125   IFS=$as_save_IFS
   3126   test -z "$as_dir" && as_dir=.
   3127     for ac_exec_ext in '' $ac_executable_extensions; do
   3128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3129     ac_cv_prog_ac_ct_CC="$ac_prog"
   3130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3131     break 2
   3132   fi
   3133 done
   3134   done
   3135 IFS=$as_save_IFS
   3136 
   3137 fi
   3138 fi
   3139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3140 if test -n "$ac_ct_CC"; then
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3142 $as_echo "$ac_ct_CC" >&6; }
   3143 else
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3145 $as_echo "no" >&6; }
   3146 fi
   3147 
   3148 
   3149   test -n "$ac_ct_CC" && break
   3150 done
   3151 
   3152   if test "x$ac_ct_CC" = x; then
   3153     CC=""
   3154   else
   3155     case $cross_compiling:$ac_tool_warned in
   3156 yes:)
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3159 ac_tool_warned=yes ;;
   3160 esac
   3161     CC=$ac_ct_CC
   3162   fi
   3163 fi
   3164 
   3165 fi
   3166 
   3167 
   3168 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3170 as_fn_error $? "no acceptable C compiler found in \$PATH
   3171 See \`config.log' for more details" "$LINENO" 5; }
   3172 
   3173 # Provide some information about the compiler.
   3174 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3175 set X $ac_compile
   3176 ac_compiler=$2
   3177 for ac_option in --version -v -V -qversion; do
   3178   { { ac_try="$ac_compiler $ac_option >&5"
   3179 case "(($ac_try" in
   3180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3181   *) ac_try_echo=$ac_try;;
   3182 esac
   3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3184 $as_echo "$ac_try_echo"; } >&5
   3185   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3186   ac_status=$?
   3187   if test -s conftest.err; then
   3188     sed '10a\
   3189 ... rest of stderr output deleted ...
   3190          10q' conftest.err >conftest.er1
   3191     cat conftest.er1 >&5
   3192   fi
   3193   rm -f conftest.er1 conftest.err
   3194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3195   test $ac_status = 0; }
   3196 done
   3197 
   3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3199 /* end confdefs.h.  */
   3200 
   3201 int
   3202 main ()
   3203 {
   3204 
   3205   ;
   3206   return 0;
   3207 }
   3208 _ACEOF
   3209 ac_clean_files_save=$ac_clean_files
   3210 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3211 # Try to create an executable without -o first, disregard a.out.
   3212 # It will help us diagnose broken compilers, and finding out an intuition
   3213 # of exeext.
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3215 $as_echo_n "checking whether the C compiler works... " >&6; }
   3216 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3217 
   3218 # The possible output files:
   3219 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3220 
   3221 ac_rmfiles=
   3222 for ac_file in $ac_files
   3223 do
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3227   esac
   3228 done
   3229 rm -f $ac_rmfiles
   3230 
   3231 if { { ac_try="$ac_link_default"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link_default") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }; then :
   3242   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3243 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3244 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3245 # so that the user can short-circuit this test for compilers unknown to
   3246 # Autoconf.
   3247 for ac_file in $ac_files ''
   3248 do
   3249   test -f "$ac_file" || continue
   3250   case $ac_file in
   3251     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3252 	;;
   3253     [ab].out )
   3254 	# We found the default executable, but exeext='' is most
   3255 	# certainly right.
   3256 	break;;
   3257     *.* )
   3258 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3259 	then :; else
   3260 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3261 	fi
   3262 	# We set ac_cv_exeext here because the later test for it is not
   3263 	# safe: cross compilers may not add the suffix if given an `-o'
   3264 	# argument, so we may need to know it at that point already.
   3265 	# Even if this section looks crufty: it has the advantage of
   3266 	# actually working.
   3267 	break;;
   3268     * )
   3269 	break;;
   3270   esac
   3271 done
   3272 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3273 
   3274 else
   3275   ac_file=''
   3276 fi
   3277 if test -z "$ac_file"; then :
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 $as_echo "no" >&6; }
   3280 $as_echo "$as_me: failed program was:" >&5
   3281 sed 's/^/| /' conftest.$ac_ext >&5
   3282 
   3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3285 as_fn_error 77 "C compiler cannot create executables
   3286 See \`config.log' for more details" "$LINENO" 5; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3289 $as_echo "yes" >&6; }
   3290 fi
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3292 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3294 $as_echo "$ac_file" >&6; }
   3295 ac_exeext=$ac_cv_exeext
   3296 
   3297 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3298 ac_clean_files=$ac_clean_files_save
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3300 $as_echo_n "checking for suffix of executables... " >&6; }
   3301 if { { ac_try="$ac_link"
   3302 case "(($ac_try" in
   3303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3304   *) ac_try_echo=$ac_try;;
   3305 esac
   3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3307 $as_echo "$ac_try_echo"; } >&5
   3308   (eval "$ac_link") 2>&5
   3309   ac_status=$?
   3310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3311   test $ac_status = 0; }; then :
   3312   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3313 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3315 # `rm'.
   3316 for ac_file in conftest.exe conftest conftest.*; do
   3317   test -f "$ac_file" || continue
   3318   case $ac_file in
   3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3320     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3321 	  break;;
   3322     * ) break;;
   3323   esac
   3324 done
   3325 else
   3326   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3329 See \`config.log' for more details" "$LINENO" 5; }
   3330 fi
   3331 rm -f conftest conftest$ac_cv_exeext
   3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3333 $as_echo "$ac_cv_exeext" >&6; }
   3334 
   3335 rm -f conftest.$ac_ext
   3336 EXEEXT=$ac_cv_exeext
   3337 ac_exeext=$EXEEXT
   3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3339 /* end confdefs.h.  */
   3340 #include <stdio.h>
   3341 int
   3342 main ()
   3343 {
   3344 FILE *f = fopen ("conftest.out", "w");
   3345  return ferror (f) || fclose (f) != 0;
   3346 
   3347   ;
   3348   return 0;
   3349 }
   3350 _ACEOF
   3351 ac_clean_files="$ac_clean_files conftest.out"
   3352 # Check that the compiler produces executables we can run.  If not, either
   3353 # the compiler is broken, or we cross compile.
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3355 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3356 if test "$cross_compiling" != yes; then
   3357   { { ac_try="$ac_link"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3363 $as_echo "$ac_try_echo"; } >&5
   3364   (eval "$ac_link") 2>&5
   3365   ac_status=$?
   3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3367   test $ac_status = 0; }
   3368   if { ac_try='./conftest$ac_cv_exeext'
   3369   { { case "(($ac_try" in
   3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3371   *) ac_try_echo=$ac_try;;
   3372 esac
   3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3374 $as_echo "$ac_try_echo"; } >&5
   3375   (eval "$ac_try") 2>&5
   3376   ac_status=$?
   3377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3378   test $ac_status = 0; }; }; then
   3379     cross_compiling=no
   3380   else
   3381     if test "$cross_compiling" = maybe; then
   3382 	cross_compiling=yes
   3383     else
   3384 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3386 as_fn_error $? "cannot run C compiled programs.
   3387 If you meant to cross compile, use \`--host'.
   3388 See \`config.log' for more details" "$LINENO" 5; }
   3389     fi
   3390   fi
   3391 fi
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3393 $as_echo "$cross_compiling" >&6; }
   3394 
   3395 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3396 ac_clean_files=$ac_clean_files_save
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3398 $as_echo_n "checking for suffix of object files... " >&6; }
   3399 if ${ac_cv_objext+:} false; then :
   3400   $as_echo_n "(cached) " >&6
   3401 else
   3402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3403 /* end confdefs.h.  */
   3404 
   3405 int
   3406 main ()
   3407 {
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 rm -f conftest.o conftest.obj
   3414 if { { ac_try="$ac_compile"
   3415 case "(($ac_try" in
   3416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3417   *) ac_try_echo=$ac_try;;
   3418 esac
   3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3420 $as_echo "$ac_try_echo"; } >&5
   3421   (eval "$ac_compile") 2>&5
   3422   ac_status=$?
   3423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3424   test $ac_status = 0; }; then :
   3425   for ac_file in conftest.o conftest.obj conftest.*; do
   3426   test -f "$ac_file" || continue;
   3427   case $ac_file in
   3428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3429     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3430        break;;
   3431   esac
   3432 done
   3433 else
   3434   $as_echo "$as_me: failed program was:" >&5
   3435 sed 's/^/| /' conftest.$ac_ext >&5
   3436 
   3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3439 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3440 See \`config.log' for more details" "$LINENO" 5; }
   3441 fi
   3442 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3443 fi
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3445 $as_echo "$ac_cv_objext" >&6; }
   3446 OBJEXT=$ac_cv_objext
   3447 ac_objext=$OBJEXT
   3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3449 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3450 if ${ac_cv_c_compiler_gnu+:} false; then :
   3451   $as_echo_n "(cached) " >&6
   3452 else
   3453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 #ifndef __GNUC__
   3460        choke me
   3461 #endif
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 if ac_fn_c_try_compile "$LINENO"; then :
   3468   ac_compiler_gnu=yes
   3469 else
   3470   ac_compiler_gnu=no
   3471 fi
   3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3474 
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3477 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3478 if test $ac_compiler_gnu = yes; then
   3479   GCC=yes
   3480 else
   3481   GCC=
   3482 fi
   3483 ac_test_CFLAGS=${CFLAGS+set}
   3484 ac_save_CFLAGS=$CFLAGS
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3486 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3487 if ${ac_cv_prog_cc_g+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   ac_save_c_werror_flag=$ac_c_werror_flag
   3491    ac_c_werror_flag=yes
   3492    ac_cv_prog_cc_g=no
   3493    CFLAGS="-g"
   3494    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 
   3497 int
   3498 main ()
   3499 {
   3500 
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 if ac_fn_c_try_compile "$LINENO"; then :
   3506   ac_cv_prog_cc_g=yes
   3507 else
   3508   CFLAGS=""
   3509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521 
   3522 else
   3523   ac_c_werror_flag=$ac_save_c_werror_flag
   3524 	 CFLAGS="-g"
   3525 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_c_try_compile "$LINENO"; then :
   3537   ac_cv_prog_cc_g=yes
   3538 fi
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540 fi
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542 fi
   3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3544    ac_c_werror_flag=$ac_save_c_werror_flag
   3545 fi
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3547 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3548 if test "$ac_test_CFLAGS" = set; then
   3549   CFLAGS=$ac_save_CFLAGS
   3550 elif test $ac_cv_prog_cc_g = yes; then
   3551   if test "$GCC" = yes; then
   3552     CFLAGS="-g -O2"
   3553   else
   3554     CFLAGS="-g"
   3555   fi
   3556 else
   3557   if test "$GCC" = yes; then
   3558     CFLAGS="-O2"
   3559   else
   3560     CFLAGS=
   3561   fi
   3562 fi
   3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3564 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3565 if ${ac_cv_prog_cc_c89+:} false; then :
   3566   $as_echo_n "(cached) " >&6
   3567 else
   3568   ac_cv_prog_cc_c89=no
   3569 ac_save_CC=$CC
   3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 #include <stdarg.h>
   3573 #include <stdio.h>
   3574 #include <sys/types.h>
   3575 #include <sys/stat.h>
   3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3577 struct buf { int x; };
   3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3579 static char *e (p, i)
   3580      char **p;
   3581      int i;
   3582 {
   3583   return p[i];
   3584 }
   3585 static char *f (char * (*g) (char **, int), char **p, ...)
   3586 {
   3587   char *s;
   3588   va_list v;
   3589   va_start (v,p);
   3590   s = g (p, va_arg (v,int));
   3591   va_end (v);
   3592   return s;
   3593 }
   3594 
   3595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3596    function prototypes and stuff, but not '\xHH' hex character constants.
   3597    These don't provoke an error unfortunately, instead are silently treated
   3598    as 'x'.  The following induces an error, until -std is added to get
   3599    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3600    array size at least.  It's necessary to write '\x00'==0 to get something
   3601    that's true only with -std.  */
   3602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3603 
   3604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3605    inside strings and character constants.  */
   3606 #define FOO(x) 'x'
   3607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3608 
   3609 int test (int i, double x);
   3610 struct s1 {int (*f) (int a);};
   3611 struct s2 {int (*f) (double a);};
   3612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3613 int argc;
   3614 char **argv;
   3615 int
   3616 main ()
   3617 {
   3618 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3624 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3625 do
   3626   CC="$ac_save_CC $ac_arg"
   3627   if ac_fn_c_try_compile "$LINENO"; then :
   3628   ac_cv_prog_cc_c89=$ac_arg
   3629 fi
   3630 rm -f core conftest.err conftest.$ac_objext
   3631   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3632 done
   3633 rm -f conftest.$ac_ext
   3634 CC=$ac_save_CC
   3635 
   3636 fi
   3637 # AC_CACHE_VAL
   3638 case "x$ac_cv_prog_cc_c89" in
   3639   x)
   3640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3641 $as_echo "none needed" >&6; } ;;
   3642   xno)
   3643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3644 $as_echo "unsupported" >&6; } ;;
   3645   *)
   3646     CC="$CC $ac_cv_prog_cc_c89"
   3647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3648 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3649 esac
   3650 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3651 
   3652 fi
   3653 
   3654 ac_ext=c
   3655 ac_cpp='$CPP $CPPFLAGS'
   3656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3659 
   3660 depcc="$CC"   am_compiler_list=
   3661 
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3663 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3664 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3665   $as_echo_n "(cached) " >&6
   3666 else
   3667   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3668   # We make a subdir and do the tests there.  Otherwise we can end up
   3669   # making bogus files that we don't know about and never remove.  For
   3670   # instance it was reported that on HP-UX the gcc test will end up
   3671   # making a dummy file named `D' -- because `-MD' means `put the output
   3672   # in D'.
   3673   mkdir conftest.dir
   3674   # Copy depcomp to subdir because otherwise we won't find it if we're
   3675   # using a relative directory.
   3676   cp "$am_depcomp" conftest.dir
   3677   cd conftest.dir
   3678   # We will build objects and dependencies in a subdirectory because
   3679   # it helps to detect inapplicable dependency modes.  For instance
   3680   # both Tru64's cc and ICC support -MD to output dependencies as a
   3681   # side effect of compilation, but ICC will put the dependencies in
   3682   # the current directory while Tru64 will put them in the object
   3683   # directory.
   3684   mkdir sub
   3685 
   3686   am_cv_CC_dependencies_compiler_type=none
   3687   if test "$am_compiler_list" = ""; then
   3688      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3689   fi
   3690   am__universal=false
   3691   case " $depcc " in #(
   3692      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3693      esac
   3694 
   3695   for depmode in $am_compiler_list; do
   3696     # Setup a source with many dependencies, because some compilers
   3697     # like to wrap large dependency lists on column 80 (with \), and
   3698     # we should not choose a depcomp mode which is confused by this.
   3699     #
   3700     # We need to recreate these files for each test, as the compiler may
   3701     # overwrite some of them when testing with obscure command lines.
   3702     # This happens at least with the AIX C compiler.
   3703     : > sub/conftest.c
   3704     for i in 1 2 3 4 5 6; do
   3705       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3706       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3707       # Solaris 8's {/usr,}/bin/sh.
   3708       touch sub/conftst$i.h
   3709     done
   3710     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3711 
   3712     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3713     # mode.  It turns out that the SunPro C++ compiler does not properly
   3714     # handle `-M -o', and we need to detect this.  Also, some Intel
   3715     # versions had trouble with output in subdirs
   3716     am__obj=sub/conftest.${OBJEXT-o}
   3717     am__minus_obj="-o $am__obj"
   3718     case $depmode in
   3719     gcc)
   3720       # This depmode causes a compiler race in universal mode.
   3721       test "$am__universal" = false || continue
   3722       ;;
   3723     nosideeffect)
   3724       # after this tag, mechanisms are not by side-effect, so they'll
   3725       # only be used when explicitly requested
   3726       if test "x$enable_dependency_tracking" = xyes; then
   3727 	continue
   3728       else
   3729 	break
   3730       fi
   3731       ;;
   3732     msvisualcpp | msvcmsys)
   3733       # This compiler won't grok `-c -o', but also, the minuso test has
   3734       # not run yet.  These depmodes are late enough in the game, and
   3735       # so weak that their functioning should not be impacted.
   3736       am__obj=conftest.${OBJEXT-o}
   3737       am__minus_obj=
   3738       ;;
   3739     none) break ;;
   3740     esac
   3741     if depmode=$depmode \
   3742        source=sub/conftest.c object=$am__obj \
   3743        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3744        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3745          >/dev/null 2>conftest.err &&
   3746        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3747        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3748        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3749        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3750       # icc doesn't choke on unknown options, it will just issue warnings
   3751       # or remarks (even with -Werror).  So we grep stderr for any message
   3752       # that says an option was ignored or not supported.
   3753       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3754       #   icc: Command line warning: ignoring option '-M'; no argument required
   3755       # The diagnosis changed in icc 8.0:
   3756       #   icc: Command line remark: option '-MP' not supported
   3757       if (grep 'ignoring option' conftest.err ||
   3758           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3759         am_cv_CC_dependencies_compiler_type=$depmode
   3760         break
   3761       fi
   3762     fi
   3763   done
   3764 
   3765   cd ..
   3766   rm -rf conftest.dir
   3767 else
   3768   am_cv_CC_dependencies_compiler_type=none
   3769 fi
   3770 
   3771 fi
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3773 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3774 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3775 
   3776  if
   3777   test "x$enable_dependency_tracking" != xno \
   3778   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3779   am__fastdepCC_TRUE=
   3780   am__fastdepCC_FALSE='#'
   3781 else
   3782   am__fastdepCC_TRUE='#'
   3783   am__fastdepCC_FALSE=
   3784 fi
   3785 
   3786 
   3787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3788 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3789 if ${ac_cv_prog_cc_c99+:} false; then :
   3790   $as_echo_n "(cached) " >&6
   3791 else
   3792   ac_cv_prog_cc_c99=no
   3793 ac_save_CC=$CC
   3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3795 /* end confdefs.h.  */
   3796 #include <stdarg.h>
   3797 #include <stdbool.h>
   3798 #include <stdlib.h>
   3799 #include <wchar.h>
   3800 #include <stdio.h>
   3801 
   3802 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3803 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3804 #define showlist(...) puts (#__VA_ARGS__)
   3805 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3806 static void
   3807 test_varargs_macros (void)
   3808 {
   3809   int x = 1234;
   3810   int y = 5678;
   3811   debug ("Flag");
   3812   debug ("X = %d\n", x);
   3813   showlist (The first, second, and third items.);
   3814   report (x>y, "x is %d but y is %d", x, y);
   3815 }
   3816 
   3817 // Check long long types.
   3818 #define BIG64 18446744073709551615ull
   3819 #define BIG32 4294967295ul
   3820 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3821 #if !BIG_OK
   3822   your preprocessor is broken;
   3823 #endif
   3824 #if BIG_OK
   3825 #else
   3826   your preprocessor is broken;
   3827 #endif
   3828 static long long int bignum = -9223372036854775807LL;
   3829 static unsigned long long int ubignum = BIG64;
   3830 
   3831 struct incomplete_array
   3832 {
   3833   int datasize;
   3834   double data[];
   3835 };
   3836 
   3837 struct named_init {
   3838   int number;
   3839   const wchar_t *name;
   3840   double average;
   3841 };
   3842 
   3843 typedef const char *ccp;
   3844 
   3845 static inline int
   3846 test_restrict (ccp restrict text)
   3847 {
   3848   // See if C++-style comments work.
   3849   // Iterate through items via the restricted pointer.
   3850   // Also check for declarations in for loops.
   3851   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3852     continue;
   3853   return 0;
   3854 }
   3855 
   3856 // Check varargs and va_copy.
   3857 static void
   3858 test_varargs (const char *format, ...)
   3859 {
   3860   va_list args;
   3861   va_start (args, format);
   3862   va_list args_copy;
   3863   va_copy (args_copy, args);
   3864 
   3865   const char *str;
   3866   int number;
   3867   float fnumber;
   3868 
   3869   while (*format)
   3870     {
   3871       switch (*format++)
   3872 	{
   3873 	case 's': // string
   3874 	  str = va_arg (args_copy, const char *);
   3875 	  break;
   3876 	case 'd': // int
   3877 	  number = va_arg (args_copy, int);
   3878 	  break;
   3879 	case 'f': // float
   3880 	  fnumber = va_arg (args_copy, double);
   3881 	  break;
   3882 	default:
   3883 	  break;
   3884 	}
   3885     }
   3886   va_end (args_copy);
   3887   va_end (args);
   3888 }
   3889 
   3890 int
   3891 main ()
   3892 {
   3893 
   3894   // Check bool.
   3895   _Bool success = false;
   3896 
   3897   // Check restrict.
   3898   if (test_restrict ("String literal") == 0)
   3899     success = true;
   3900   char *restrict newvar = "Another string";
   3901 
   3902   // Check varargs.
   3903   test_varargs ("s, d' f .", "string", 65, 34.234);
   3904   test_varargs_macros ();
   3905 
   3906   // Check flexible array members.
   3907   struct incomplete_array *ia =
   3908     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3909   ia->datasize = 10;
   3910   for (int i = 0; i < ia->datasize; ++i)
   3911     ia->data[i] = i * 1.234;
   3912 
   3913   // Check named initializers.
   3914   struct named_init ni = {
   3915     .number = 34,
   3916     .name = L"Test wide string",
   3917     .average = 543.34343,
   3918   };
   3919 
   3920   ni.number = 58;
   3921 
   3922   int dynamic_array[ni.number];
   3923   dynamic_array[ni.number - 1] = 543;
   3924 
   3925   // work around unused variable warnings
   3926   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3927 	  || dynamic_array[ni.number - 1] != 543);
   3928 
   3929   ;
   3930   return 0;
   3931 }
   3932 _ACEOF
   3933 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3934 do
   3935   CC="$ac_save_CC $ac_arg"
   3936   if ac_fn_c_try_compile "$LINENO"; then :
   3937   ac_cv_prog_cc_c99=$ac_arg
   3938 fi
   3939 rm -f core conftest.err conftest.$ac_objext
   3940   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3941 done
   3942 rm -f conftest.$ac_ext
   3943 CC=$ac_save_CC
   3944 
   3945 fi
   3946 # AC_CACHE_VAL
   3947 case "x$ac_cv_prog_cc_c99" in
   3948   x)
   3949     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3950 $as_echo "none needed" >&6; } ;;
   3951   xno)
   3952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3953 $as_echo "unsupported" >&6; } ;;
   3954   *)
   3955     CC="$CC $ac_cv_prog_cc_c99"
   3956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3957 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3958 esac
   3959 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3960 
   3961 fi
   3962 
   3963 
   3964 
   3965 ac_ext=c
   3966 ac_cpp='$CPP $CPPFLAGS'
   3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3971 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3972 # On Suns, sometimes $CPP names a directory.
   3973 if test -n "$CPP" && test -d "$CPP"; then
   3974   CPP=
   3975 fi
   3976 if test -z "$CPP"; then
   3977   if ${ac_cv_prog_CPP+:} false; then :
   3978   $as_echo_n "(cached) " >&6
   3979 else
   3980       # Double quotes because CPP needs to be expanded
   3981     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3982     do
   3983       ac_preproc_ok=false
   3984 for ac_c_preproc_warn_flag in '' yes
   3985 do
   3986   # Use a header file that comes with gcc, so configuring glibc
   3987   # with a fresh cross-compiler works.
   3988   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3989   # <limits.h> exists even on freestanding compilers.
   3990   # On the NeXT, cc -E runs the code through the compiler's parser,
   3991   # not just through cpp. "Syntax error" is here to catch this case.
   3992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3993 /* end confdefs.h.  */
   3994 #ifdef __STDC__
   3995 # include <limits.h>
   3996 #else
   3997 # include <assert.h>
   3998 #endif
   3999 		     Syntax error
   4000 _ACEOF
   4001 if ac_fn_c_try_cpp "$LINENO"; then :
   4002 
   4003 else
   4004   # Broken: fails on valid input.
   4005 continue
   4006 fi
   4007 rm -f conftest.err conftest.i conftest.$ac_ext
   4008 
   4009   # OK, works on sane cases.  Now check whether nonexistent headers
   4010   # can be detected and how.
   4011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4012 /* end confdefs.h.  */
   4013 #include <ac_nonexistent.h>
   4014 _ACEOF
   4015 if ac_fn_c_try_cpp "$LINENO"; then :
   4016   # Broken: success on invalid input.
   4017 continue
   4018 else
   4019   # Passes both tests.
   4020 ac_preproc_ok=:
   4021 break
   4022 fi
   4023 rm -f conftest.err conftest.i conftest.$ac_ext
   4024 
   4025 done
   4026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4027 rm -f conftest.i conftest.err conftest.$ac_ext
   4028 if $ac_preproc_ok; then :
   4029   break
   4030 fi
   4031 
   4032     done
   4033     ac_cv_prog_CPP=$CPP
   4034 
   4035 fi
   4036   CPP=$ac_cv_prog_CPP
   4037 else
   4038   ac_cv_prog_CPP=$CPP
   4039 fi
   4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4041 $as_echo "$CPP" >&6; }
   4042 ac_preproc_ok=false
   4043 for ac_c_preproc_warn_flag in '' yes
   4044 do
   4045   # Use a header file that comes with gcc, so configuring glibc
   4046   # with a fresh cross-compiler works.
   4047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4048   # <limits.h> exists even on freestanding compilers.
   4049   # On the NeXT, cc -E runs the code through the compiler's parser,
   4050   # not just through cpp. "Syntax error" is here to catch this case.
   4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4052 /* end confdefs.h.  */
   4053 #ifdef __STDC__
   4054 # include <limits.h>
   4055 #else
   4056 # include <assert.h>
   4057 #endif
   4058 		     Syntax error
   4059 _ACEOF
   4060 if ac_fn_c_try_cpp "$LINENO"; then :
   4061 
   4062 else
   4063   # Broken: fails on valid input.
   4064 continue
   4065 fi
   4066 rm -f conftest.err conftest.i conftest.$ac_ext
   4067 
   4068   # OK, works on sane cases.  Now check whether nonexistent headers
   4069   # can be detected and how.
   4070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4071 /* end confdefs.h.  */
   4072 #include <ac_nonexistent.h>
   4073 _ACEOF
   4074 if ac_fn_c_try_cpp "$LINENO"; then :
   4075   # Broken: success on invalid input.
   4076 continue
   4077 else
   4078   # Passes both tests.
   4079 ac_preproc_ok=:
   4080 break
   4081 fi
   4082 rm -f conftest.err conftest.i conftest.$ac_ext
   4083 
   4084 done
   4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4086 rm -f conftest.i conftest.err conftest.$ac_ext
   4087 if $ac_preproc_ok; then :
   4088 
   4089 else
   4090   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4092 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4093 See \`config.log' for more details" "$LINENO" 5; }
   4094 fi
   4095 
   4096 ac_ext=c
   4097 ac_cpp='$CPP $CPPFLAGS'
   4098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4101 
   4102 
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4104 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4105 if ${ac_cv_path_GREP+:} false; then :
   4106   $as_echo_n "(cached) " >&6
   4107 else
   4108   if test -z "$GREP"; then
   4109   ac_path_GREP_found=false
   4110   # Loop through the user's path and test for each of PROGNAME-LIST
   4111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4112 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4113 do
   4114   IFS=$as_save_IFS
   4115   test -z "$as_dir" && as_dir=.
   4116     for ac_prog in grep ggrep; do
   4117     for ac_exec_ext in '' $ac_executable_extensions; do
   4118       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4119       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4120 # Check for GNU ac_path_GREP and select it if it is found.
   4121   # Check for GNU $ac_path_GREP
   4122 case `"$ac_path_GREP" --version 2>&1` in
   4123 *GNU*)
   4124   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4125 *)
   4126   ac_count=0
   4127   $as_echo_n 0123456789 >"conftest.in"
   4128   while :
   4129   do
   4130     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4131     mv "conftest.tmp" "conftest.in"
   4132     cp "conftest.in" "conftest.nl"
   4133     $as_echo 'GREP' >> "conftest.nl"
   4134     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4135     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4136     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4137     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4138       # Best one so far, save it but keep looking for a better one
   4139       ac_cv_path_GREP="$ac_path_GREP"
   4140       ac_path_GREP_max=$ac_count
   4141     fi
   4142     # 10*(2^10) chars as input seems more than enough
   4143     test $ac_count -gt 10 && break
   4144   done
   4145   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4146 esac
   4147 
   4148       $ac_path_GREP_found && break 3
   4149     done
   4150   done
   4151   done
   4152 IFS=$as_save_IFS
   4153   if test -z "$ac_cv_path_GREP"; then
   4154     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4155   fi
   4156 else
   4157   ac_cv_path_GREP=$GREP
   4158 fi
   4159 
   4160 fi
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4162 $as_echo "$ac_cv_path_GREP" >&6; }
   4163  GREP="$ac_cv_path_GREP"
   4164 
   4165 
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4167 $as_echo_n "checking for egrep... " >&6; }
   4168 if ${ac_cv_path_EGREP+:} false; then :
   4169   $as_echo_n "(cached) " >&6
   4170 else
   4171   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4172    then ac_cv_path_EGREP="$GREP -E"
   4173    else
   4174      if test -z "$EGREP"; then
   4175   ac_path_EGREP_found=false
   4176   # Loop through the user's path and test for each of PROGNAME-LIST
   4177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4179 do
   4180   IFS=$as_save_IFS
   4181   test -z "$as_dir" && as_dir=.
   4182     for ac_prog in egrep; do
   4183     for ac_exec_ext in '' $ac_executable_extensions; do
   4184       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4185       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4186 # Check for GNU ac_path_EGREP and select it if it is found.
   4187   # Check for GNU $ac_path_EGREP
   4188 case `"$ac_path_EGREP" --version 2>&1` in
   4189 *GNU*)
   4190   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4191 *)
   4192   ac_count=0
   4193   $as_echo_n 0123456789 >"conftest.in"
   4194   while :
   4195   do
   4196     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4197     mv "conftest.tmp" "conftest.in"
   4198     cp "conftest.in" "conftest.nl"
   4199     $as_echo 'EGREP' >> "conftest.nl"
   4200     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4201     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4202     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4203     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4204       # Best one so far, save it but keep looking for a better one
   4205       ac_cv_path_EGREP="$ac_path_EGREP"
   4206       ac_path_EGREP_max=$ac_count
   4207     fi
   4208     # 10*(2^10) chars as input seems more than enough
   4209     test $ac_count -gt 10 && break
   4210   done
   4211   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4212 esac
   4213 
   4214       $ac_path_EGREP_found && break 3
   4215     done
   4216   done
   4217   done
   4218 IFS=$as_save_IFS
   4219   if test -z "$ac_cv_path_EGREP"; then
   4220     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4221   fi
   4222 else
   4223   ac_cv_path_EGREP=$EGREP
   4224 fi
   4225 
   4226    fi
   4227 fi
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4229 $as_echo "$ac_cv_path_EGREP" >&6; }
   4230  EGREP="$ac_cv_path_EGREP"
   4231 
   4232 
   4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4234 $as_echo_n "checking for ANSI C header files... " >&6; }
   4235 if ${ac_cv_header_stdc+:} false; then :
   4236   $as_echo_n "(cached) " >&6
   4237 else
   4238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 #include <stdlib.h>
   4241 #include <stdarg.h>
   4242 #include <string.h>
   4243 #include <float.h>
   4244 
   4245 int
   4246 main ()
   4247 {
   4248 
   4249   ;
   4250   return 0;
   4251 }
   4252 _ACEOF
   4253 if ac_fn_c_try_compile "$LINENO"; then :
   4254   ac_cv_header_stdc=yes
   4255 else
   4256   ac_cv_header_stdc=no
   4257 fi
   4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4259 
   4260 if test $ac_cv_header_stdc = yes; then
   4261   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4263 /* end confdefs.h.  */
   4264 #include <string.h>
   4265 
   4266 _ACEOF
   4267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4268   $EGREP "memchr" >/dev/null 2>&1; then :
   4269 
   4270 else
   4271   ac_cv_header_stdc=no
   4272 fi
   4273 rm -f conftest*
   4274 
   4275 fi
   4276 
   4277 if test $ac_cv_header_stdc = yes; then
   4278   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4280 /* end confdefs.h.  */
   4281 #include <stdlib.h>
   4282 
   4283 _ACEOF
   4284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4285   $EGREP "free" >/dev/null 2>&1; then :
   4286 
   4287 else
   4288   ac_cv_header_stdc=no
   4289 fi
   4290 rm -f conftest*
   4291 
   4292 fi
   4293 
   4294 if test $ac_cv_header_stdc = yes; then
   4295   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4296   if test "$cross_compiling" = yes; then :
   4297   :
   4298 else
   4299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 #include <ctype.h>
   4302 #include <stdlib.h>
   4303 #if ((' ' & 0x0FF) == 0x020)
   4304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4306 #else
   4307 # define ISLOWER(c) \
   4308 		   (('a' <= (c) && (c) <= 'i') \
   4309 		     || ('j' <= (c) && (c) <= 'r') \
   4310 		     || ('s' <= (c) && (c) <= 'z'))
   4311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4312 #endif
   4313 
   4314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4315 int
   4316 main ()
   4317 {
   4318   int i;
   4319   for (i = 0; i < 256; i++)
   4320     if (XOR (islower (i), ISLOWER (i))
   4321 	|| toupper (i) != TOUPPER (i))
   4322       return 2;
   4323   return 0;
   4324 }
   4325 _ACEOF
   4326 if ac_fn_c_try_run "$LINENO"; then :
   4327 
   4328 else
   4329   ac_cv_header_stdc=no
   4330 fi
   4331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4332   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4333 fi
   4334 
   4335 fi
   4336 fi
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4338 $as_echo "$ac_cv_header_stdc" >&6; }
   4339 if test $ac_cv_header_stdc = yes; then
   4340 
   4341 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4342 
   4343 fi
   4344 
   4345 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4346 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4347 		  inttypes.h stdint.h unistd.h
   4348 do :
   4349   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4351 "
   4352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4353   cat >>confdefs.h <<_ACEOF
   4354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4355 _ACEOF
   4356 
   4357 fi
   4358 
   4359 done
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4367 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4368   CLANGCC="yes"
   4369 else
   4370   CLANGCC="no"
   4371 fi
   4372 
   4373 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4374 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4375   INTELCC="yes"
   4376 else
   4377   INTELCC="no"
   4378 fi
   4379 
   4380 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4381 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4382   SUNCC="yes"
   4383 else
   4384   SUNCC="no"
   4385 fi
   4386 
   4387 
   4388 
   4389 
   4390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4391 	if test -n "$ac_tool_prefix"; then
   4392   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4393 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4395 $as_echo_n "checking for $ac_word... " >&6; }
   4396 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4397   $as_echo_n "(cached) " >&6
   4398 else
   4399   case $PKG_CONFIG in
   4400   [\\/]* | ?:[\\/]*)
   4401   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4402   ;;
   4403   *)
   4404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4405 for as_dir in $PATH
   4406 do
   4407   IFS=$as_save_IFS
   4408   test -z "$as_dir" && as_dir=.
   4409     for ac_exec_ext in '' $ac_executable_extensions; do
   4410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4411     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4413     break 2
   4414   fi
   4415 done
   4416   done
   4417 IFS=$as_save_IFS
   4418 
   4419   ;;
   4420 esac
   4421 fi
   4422 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4423 if test -n "$PKG_CONFIG"; then
   4424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4425 $as_echo "$PKG_CONFIG" >&6; }
   4426 else
   4427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4428 $as_echo "no" >&6; }
   4429 fi
   4430 
   4431 
   4432 fi
   4433 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4434   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4435   # Extract the first word of "pkg-config", so it can be a program name with args.
   4436 set dummy pkg-config; ac_word=$2
   4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4438 $as_echo_n "checking for $ac_word... " >&6; }
   4439 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4440   $as_echo_n "(cached) " >&6
   4441 else
   4442   case $ac_pt_PKG_CONFIG in
   4443   [\\/]* | ?:[\\/]*)
   4444   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4445   ;;
   4446   *)
   4447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4448 for as_dir in $PATH
   4449 do
   4450   IFS=$as_save_IFS
   4451   test -z "$as_dir" && as_dir=.
   4452     for ac_exec_ext in '' $ac_executable_extensions; do
   4453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4454     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4456     break 2
   4457   fi
   4458 done
   4459   done
   4460 IFS=$as_save_IFS
   4461 
   4462   ;;
   4463 esac
   4464 fi
   4465 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4466 if test -n "$ac_pt_PKG_CONFIG"; then
   4467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4468 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4469 else
   4470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4471 $as_echo "no" >&6; }
   4472 fi
   4473 
   4474   if test "x$ac_pt_PKG_CONFIG" = x; then
   4475     PKG_CONFIG=""
   4476   else
   4477     case $cross_compiling:$ac_tool_warned in
   4478 yes:)
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4481 ac_tool_warned=yes ;;
   4482 esac
   4483     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4484   fi
   4485 else
   4486   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4487 fi
   4488 
   4489 fi
   4490 if test -n "$PKG_CONFIG"; then
   4491 	_pkg_min_version=0.9.0
   4492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4493 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4494 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4496 $as_echo "yes" >&6; }
   4497 	else
   4498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4499 $as_echo "no" >&6; }
   4500 		PKG_CONFIG=""
   4501 	fi
   4502 
   4503 fi
   4504 # Make sure we can run config.sub.
   4505 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4506   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4507 
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4509 $as_echo_n "checking build system type... " >&6; }
   4510 if ${ac_cv_build+:} false; then :
   4511   $as_echo_n "(cached) " >&6
   4512 else
   4513   ac_build_alias=$build_alias
   4514 test "x$ac_build_alias" = x &&
   4515   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4516 test "x$ac_build_alias" = x &&
   4517   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4518 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4519   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4520 
   4521 fi
   4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4523 $as_echo "$ac_cv_build" >&6; }
   4524 case $ac_cv_build in
   4525 *-*-*) ;;
   4526 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4527 esac
   4528 build=$ac_cv_build
   4529 ac_save_IFS=$IFS; IFS='-'
   4530 set x $ac_cv_build
   4531 shift
   4532 build_cpu=$1
   4533 build_vendor=$2
   4534 shift; shift
   4535 # Remember, the first character of IFS is used to create $*,
   4536 # except with old shells:
   4537 build_os=$*
   4538 IFS=$ac_save_IFS
   4539 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4540 
   4541 
   4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4543 $as_echo_n "checking host system type... " >&6; }
   4544 if ${ac_cv_host+:} false; then :
   4545   $as_echo_n "(cached) " >&6
   4546 else
   4547   if test "x$host_alias" = x; then
   4548   ac_cv_host=$ac_cv_build
   4549 else
   4550   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4551     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4552 fi
   4553 
   4554 fi
   4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4556 $as_echo "$ac_cv_host" >&6; }
   4557 case $ac_cv_host in
   4558 *-*-*) ;;
   4559 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4560 esac
   4561 host=$ac_cv_host
   4562 ac_save_IFS=$IFS; IFS='-'
   4563 set x $ac_cv_host
   4564 shift
   4565 host_cpu=$1
   4566 host_vendor=$2
   4567 shift; shift
   4568 # Remember, the first character of IFS is used to create $*,
   4569 # except with old shells:
   4570 host_os=$*
   4571 IFS=$ac_save_IFS
   4572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4573 
   4574 
   4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4576 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4577 if ${ac_cv_path_SED+:} false; then :
   4578   $as_echo_n "(cached) " >&6
   4579 else
   4580             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4581      for ac_i in 1 2 3 4 5 6 7; do
   4582        ac_script="$ac_script$as_nl$ac_script"
   4583      done
   4584      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4585      { ac_script=; unset ac_script;}
   4586      if test -z "$SED"; then
   4587   ac_path_SED_found=false
   4588   # Loop through the user's path and test for each of PROGNAME-LIST
   4589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4590 for as_dir in $PATH
   4591 do
   4592   IFS=$as_save_IFS
   4593   test -z "$as_dir" && as_dir=.
   4594     for ac_prog in sed gsed; do
   4595     for ac_exec_ext in '' $ac_executable_extensions; do
   4596       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4597       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4598 # Check for GNU ac_path_SED and select it if it is found.
   4599   # Check for GNU $ac_path_SED
   4600 case `"$ac_path_SED" --version 2>&1` in
   4601 *GNU*)
   4602   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4603 *)
   4604   ac_count=0
   4605   $as_echo_n 0123456789 >"conftest.in"
   4606   while :
   4607   do
   4608     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4609     mv "conftest.tmp" "conftest.in"
   4610     cp "conftest.in" "conftest.nl"
   4611     $as_echo '' >> "conftest.nl"
   4612     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4613     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4614     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4615     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4616       # Best one so far, save it but keep looking for a better one
   4617       ac_cv_path_SED="$ac_path_SED"
   4618       ac_path_SED_max=$ac_count
   4619     fi
   4620     # 10*(2^10) chars as input seems more than enough
   4621     test $ac_count -gt 10 && break
   4622   done
   4623   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4624 esac
   4625 
   4626       $ac_path_SED_found && break 3
   4627     done
   4628   done
   4629   done
   4630 IFS=$as_save_IFS
   4631   if test -z "$ac_cv_path_SED"; then
   4632     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4633   fi
   4634 else
   4635   ac_cv_path_SED=$SED
   4636 fi
   4637 
   4638 fi
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4640 $as_echo "$ac_cv_path_SED" >&6; }
   4641  SED="$ac_cv_path_SED"
   4642   rm -f conftest.sed
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 # Check whether --enable-selective-werror was given.
   4650 if test "${enable_selective_werror+set}" = set; then :
   4651   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4652 else
   4653   SELECTIVE_WERROR=yes
   4654 fi
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4661 if test "x$SUNCC" = "xyes"; then
   4662     BASE_CFLAGS="-v"
   4663 else
   4664     BASE_CFLAGS=""
   4665 fi
   4666 
   4667 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 xorg_testset_save_CFLAGS="$CFLAGS"
   4682 
   4683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4688   $as_echo_n "(cached) " >&6
   4689 else
   4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4691 /* end confdefs.h.  */
   4692 int i;
   4693 _ACEOF
   4694 if ac_fn_c_try_compile "$LINENO"; then :
   4695   xorg_cv_cc_flag_unknown_warning_option=yes
   4696 else
   4697   xorg_cv_cc_flag_unknown_warning_option=no
   4698 fi
   4699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4700 fi
   4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4704 	CFLAGS="$xorg_testset_save_CFLAGS"
   4705 fi
   4706 
   4707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4710 	fi
   4711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4718 /* end confdefs.h.  */
   4719 int i;
   4720 _ACEOF
   4721 if ac_fn_c_try_compile "$LINENO"; then :
   4722   xorg_cv_cc_flag_unused_command_line_argument=yes
   4723 else
   4724   xorg_cv_cc_flag_unused_command_line_argument=no
   4725 fi
   4726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4727 fi
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4731 	CFLAGS="$xorg_testset_save_CFLAGS"
   4732 fi
   4733 
   4734 found="no"
   4735 
   4736 	if test $found = "no" ; then
   4737 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4739 		fi
   4740 
   4741 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4743 		fi
   4744 
   4745 		CFLAGS="$CFLAGS -Wall"
   4746 
   4747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   4748 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   4749 		cacheid=xorg_cv_cc_flag__Wall
   4750 		if eval \${$cacheid+:} false; then :
   4751   $as_echo_n "(cached) " >&6
   4752 else
   4753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4754 /* end confdefs.h.  */
   4755 int i;
   4756 int
   4757 main ()
   4758 {
   4759 
   4760   ;
   4761   return 0;
   4762 }
   4763 _ACEOF
   4764 if ac_fn_c_try_link "$LINENO"; then :
   4765   eval $cacheid=yes
   4766 else
   4767   eval $cacheid=no
   4768 fi
   4769 rm -f core conftest.err conftest.$ac_objext \
   4770     conftest$ac_exeext conftest.$ac_ext
   4771 fi
   4772 
   4773 
   4774 		CFLAGS="$xorg_testset_save_CFLAGS"
   4775 
   4776 		eval supported=\$$cacheid
   4777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4778 $as_echo "$supported" >&6; }
   4779 		if test "$supported" = "yes" ; then
   4780 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4781 			found="yes"
   4782 		fi
   4783 	fi
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 xorg_testset_save_CFLAGS="$CFLAGS"
   4800 
   4801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4806   $as_echo_n "(cached) " >&6
   4807 else
   4808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4809 /* end confdefs.h.  */
   4810 int i;
   4811 _ACEOF
   4812 if ac_fn_c_try_compile "$LINENO"; then :
   4813   xorg_cv_cc_flag_unknown_warning_option=yes
   4814 else
   4815   xorg_cv_cc_flag_unknown_warning_option=no
   4816 fi
   4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4818 fi
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4822 	CFLAGS="$xorg_testset_save_CFLAGS"
   4823 fi
   4824 
   4825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4828 	fi
   4829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4833   $as_echo_n "(cached) " >&6
   4834 else
   4835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4836 /* end confdefs.h.  */
   4837 int i;
   4838 _ACEOF
   4839 if ac_fn_c_try_compile "$LINENO"; then :
   4840   xorg_cv_cc_flag_unused_command_line_argument=yes
   4841 else
   4842   xorg_cv_cc_flag_unused_command_line_argument=no
   4843 fi
   4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4845 fi
   4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4849 	CFLAGS="$xorg_testset_save_CFLAGS"
   4850 fi
   4851 
   4852 found="no"
   4853 
   4854 	if test $found = "no" ; then
   4855 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4857 		fi
   4858 
   4859 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4861 		fi
   4862 
   4863 		CFLAGS="$CFLAGS -Wpointer-arith"
   4864 
   4865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   4866 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   4867 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4868 		if eval \${$cacheid+:} false; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4872 /* end confdefs.h.  */
   4873 int i;
   4874 int
   4875 main ()
   4876 {
   4877 
   4878   ;
   4879   return 0;
   4880 }
   4881 _ACEOF
   4882 if ac_fn_c_try_link "$LINENO"; then :
   4883   eval $cacheid=yes
   4884 else
   4885   eval $cacheid=no
   4886 fi
   4887 rm -f core conftest.err conftest.$ac_objext \
   4888     conftest$ac_exeext conftest.$ac_ext
   4889 fi
   4890 
   4891 
   4892 		CFLAGS="$xorg_testset_save_CFLAGS"
   4893 
   4894 		eval supported=\$$cacheid
   4895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4896 $as_echo "$supported" >&6; }
   4897 		if test "$supported" = "yes" ; then
   4898 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4899 			found="yes"
   4900 		fi
   4901 	fi
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 xorg_testset_save_CFLAGS="$CFLAGS"
   4918 
   4919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4924   $as_echo_n "(cached) " >&6
   4925 else
   4926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4927 /* end confdefs.h.  */
   4928 int i;
   4929 _ACEOF
   4930 if ac_fn_c_try_compile "$LINENO"; then :
   4931   xorg_cv_cc_flag_unknown_warning_option=yes
   4932 else
   4933   xorg_cv_cc_flag_unknown_warning_option=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4940 	CFLAGS="$xorg_testset_save_CFLAGS"
   4941 fi
   4942 
   4943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4946 	fi
   4947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4951   $as_echo_n "(cached) " >&6
   4952 else
   4953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4954 /* end confdefs.h.  */
   4955 int i;
   4956 _ACEOF
   4957 if ac_fn_c_try_compile "$LINENO"; then :
   4958   xorg_cv_cc_flag_unused_command_line_argument=yes
   4959 else
   4960   xorg_cv_cc_flag_unused_command_line_argument=no
   4961 fi
   4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4963 fi
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4967 	CFLAGS="$xorg_testset_save_CFLAGS"
   4968 fi
   4969 
   4970 found="no"
   4971 
   4972 	if test $found = "no" ; then
   4973 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4975 		fi
   4976 
   4977 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4979 		fi
   4980 
   4981 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4982 
   4983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   4984 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   4985 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4986 		if eval \${$cacheid+:} false; then :
   4987   $as_echo_n "(cached) " >&6
   4988 else
   4989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 int i;
   4992 int
   4993 main ()
   4994 {
   4995 
   4996   ;
   4997   return 0;
   4998 }
   4999 _ACEOF
   5000 if ac_fn_c_try_link "$LINENO"; then :
   5001   eval $cacheid=yes
   5002 else
   5003   eval $cacheid=no
   5004 fi
   5005 rm -f core conftest.err conftest.$ac_objext \
   5006     conftest$ac_exeext conftest.$ac_ext
   5007 fi
   5008 
   5009 
   5010 		CFLAGS="$xorg_testset_save_CFLAGS"
   5011 
   5012 		eval supported=\$$cacheid
   5013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5014 $as_echo "$supported" >&6; }
   5015 		if test "$supported" = "yes" ; then
   5016 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5017 			found="yes"
   5018 		fi
   5019 	fi
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 xorg_testset_save_CFLAGS="$CFLAGS"
   5036 
   5037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unknown_warning_option=yes
   5050 else
   5051   xorg_cv_cc_flag_unknown_warning_option=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 	fi
   5065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5069   $as_echo_n "(cached) " >&6
   5070 else
   5071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 _ACEOF
   5075 if ac_fn_c_try_compile "$LINENO"; then :
   5076   xorg_cv_cc_flag_unused_command_line_argument=yes
   5077 else
   5078   xorg_cv_cc_flag_unused_command_line_argument=no
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5081 fi
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5085 	CFLAGS="$xorg_testset_save_CFLAGS"
   5086 fi
   5087 
   5088 found="no"
   5089 
   5090 	if test $found = "no" ; then
   5091 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 		fi
   5094 
   5095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5097 		fi
   5098 
   5099 		CFLAGS="$CFLAGS -Wformat=2"
   5100 
   5101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   5102 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   5103 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5104 		if eval \${$cacheid+:} false; then :
   5105   $as_echo_n "(cached) " >&6
   5106 else
   5107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5108 /* end confdefs.h.  */
   5109 int i;
   5110 int
   5111 main ()
   5112 {
   5113 
   5114   ;
   5115   return 0;
   5116 }
   5117 _ACEOF
   5118 if ac_fn_c_try_link "$LINENO"; then :
   5119   eval $cacheid=yes
   5120 else
   5121   eval $cacheid=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext \
   5124     conftest$ac_exeext conftest.$ac_ext
   5125 fi
   5126 
   5127 
   5128 		CFLAGS="$xorg_testset_save_CFLAGS"
   5129 
   5130 		eval supported=\$$cacheid
   5131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5132 $as_echo "$supported" >&6; }
   5133 		if test "$supported" = "yes" ; then
   5134 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5135 			found="yes"
   5136 		fi
   5137 	fi
   5138 
   5139 	if test $found = "no" ; then
   5140 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5142 		fi
   5143 
   5144 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5146 		fi
   5147 
   5148 		CFLAGS="$CFLAGS -Wformat"
   5149 
   5150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   5151 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   5152 		cacheid=xorg_cv_cc_flag__Wformat
   5153 		if eval \${$cacheid+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5157 /* end confdefs.h.  */
   5158 int i;
   5159 int
   5160 main ()
   5161 {
   5162 
   5163   ;
   5164   return 0;
   5165 }
   5166 _ACEOF
   5167 if ac_fn_c_try_link "$LINENO"; then :
   5168   eval $cacheid=yes
   5169 else
   5170   eval $cacheid=no
   5171 fi
   5172 rm -f core conftest.err conftest.$ac_objext \
   5173     conftest$ac_exeext conftest.$ac_ext
   5174 fi
   5175 
   5176 
   5177 		CFLAGS="$xorg_testset_save_CFLAGS"
   5178 
   5179 		eval supported=\$$cacheid
   5180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5181 $as_echo "$supported" >&6; }
   5182 		if test "$supported" = "yes" ; then
   5183 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5184 			found="yes"
   5185 		fi
   5186 	fi
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 xorg_testset_save_CFLAGS="$CFLAGS"
   5205 
   5206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5211   $as_echo_n "(cached) " >&6
   5212 else
   5213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 int i;
   5216 _ACEOF
   5217 if ac_fn_c_try_compile "$LINENO"; then :
   5218   xorg_cv_cc_flag_unknown_warning_option=yes
   5219 else
   5220   xorg_cv_cc_flag_unknown_warning_option=no
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5223 fi
   5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5227 	CFLAGS="$xorg_testset_save_CFLAGS"
   5228 fi
   5229 
   5230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5233 	fi
   5234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5238   $as_echo_n "(cached) " >&6
   5239 else
   5240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5241 /* end confdefs.h.  */
   5242 int i;
   5243 _ACEOF
   5244 if ac_fn_c_try_compile "$LINENO"; then :
   5245   xorg_cv_cc_flag_unused_command_line_argument=yes
   5246 else
   5247   xorg_cv_cc_flag_unused_command_line_argument=no
   5248 fi
   5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5250 fi
   5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5254 	CFLAGS="$xorg_testset_save_CFLAGS"
   5255 fi
   5256 
   5257 found="no"
   5258 
   5259 	if test $found = "no" ; then
   5260 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 		fi
   5263 
   5264 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5266 		fi
   5267 
   5268 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5269 
   5270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   5271 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   5272 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5273 		if eval \${$cacheid+:} false; then :
   5274   $as_echo_n "(cached) " >&6
   5275 else
   5276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5277 /* end confdefs.h.  */
   5278 int i;
   5279 int
   5280 main ()
   5281 {
   5282 
   5283   ;
   5284   return 0;
   5285 }
   5286 _ACEOF
   5287 if ac_fn_c_try_link "$LINENO"; then :
   5288   eval $cacheid=yes
   5289 else
   5290   eval $cacheid=no
   5291 fi
   5292 rm -f core conftest.err conftest.$ac_objext \
   5293     conftest$ac_exeext conftest.$ac_ext
   5294 fi
   5295 
   5296 
   5297 		CFLAGS="$xorg_testset_save_CFLAGS"
   5298 
   5299 		eval supported=\$$cacheid
   5300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5301 $as_echo "$supported" >&6; }
   5302 		if test "$supported" = "yes" ; then
   5303 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5304 			found="yes"
   5305 		fi
   5306 	fi
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 xorg_testset_save_CFLAGS="$CFLAGS"
   5323 
   5324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5329   $as_echo_n "(cached) " >&6
   5330 else
   5331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5332 /* end confdefs.h.  */
   5333 int i;
   5334 _ACEOF
   5335 if ac_fn_c_try_compile "$LINENO"; then :
   5336   xorg_cv_cc_flag_unknown_warning_option=yes
   5337 else
   5338   xorg_cv_cc_flag_unknown_warning_option=no
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5341 fi
   5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5345 	CFLAGS="$xorg_testset_save_CFLAGS"
   5346 fi
   5347 
   5348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5351 	fi
   5352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5356   $as_echo_n "(cached) " >&6
   5357 else
   5358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5359 /* end confdefs.h.  */
   5360 int i;
   5361 _ACEOF
   5362 if ac_fn_c_try_compile "$LINENO"; then :
   5363   xorg_cv_cc_flag_unused_command_line_argument=yes
   5364 else
   5365   xorg_cv_cc_flag_unused_command_line_argument=no
   5366 fi
   5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5368 fi
   5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5372 	CFLAGS="$xorg_testset_save_CFLAGS"
   5373 fi
   5374 
   5375 found="no"
   5376 
   5377 	if test $found = "no" ; then
   5378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5380 		fi
   5381 
   5382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5384 		fi
   5385 
   5386 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5387 
   5388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   5389 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   5390 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5391 		if eval \${$cacheid+:} false; then :
   5392   $as_echo_n "(cached) " >&6
   5393 else
   5394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 int
   5398 main ()
   5399 {
   5400 
   5401   ;
   5402   return 0;
   5403 }
   5404 _ACEOF
   5405 if ac_fn_c_try_link "$LINENO"; then :
   5406   eval $cacheid=yes
   5407 else
   5408   eval $cacheid=no
   5409 fi
   5410 rm -f core conftest.err conftest.$ac_objext \
   5411     conftest$ac_exeext conftest.$ac_ext
   5412 fi
   5413 
   5414 
   5415 		CFLAGS="$xorg_testset_save_CFLAGS"
   5416 
   5417 		eval supported=\$$cacheid
   5418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5419 $as_echo "$supported" >&6; }
   5420 		if test "$supported" = "yes" ; then
   5421 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5422 			found="yes"
   5423 		fi
   5424 	fi
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 xorg_testset_save_CFLAGS="$CFLAGS"
   5441 
   5442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5447   $as_echo_n "(cached) " >&6
   5448 else
   5449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5450 /* end confdefs.h.  */
   5451 int i;
   5452 _ACEOF
   5453 if ac_fn_c_try_compile "$LINENO"; then :
   5454   xorg_cv_cc_flag_unknown_warning_option=yes
   5455 else
   5456   xorg_cv_cc_flag_unknown_warning_option=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5459 fi
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5463 	CFLAGS="$xorg_testset_save_CFLAGS"
   5464 fi
   5465 
   5466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5469 	fi
   5470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5474   $as_echo_n "(cached) " >&6
   5475 else
   5476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5477 /* end confdefs.h.  */
   5478 int i;
   5479 _ACEOF
   5480 if ac_fn_c_try_compile "$LINENO"; then :
   5481   xorg_cv_cc_flag_unused_command_line_argument=yes
   5482 else
   5483   xorg_cv_cc_flag_unused_command_line_argument=no
   5484 fi
   5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5486 fi
   5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5490 	CFLAGS="$xorg_testset_save_CFLAGS"
   5491 fi
   5492 
   5493 found="no"
   5494 
   5495 	if test $found = "no" ; then
   5496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5498 		fi
   5499 
   5500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5502 		fi
   5503 
   5504 		CFLAGS="$CFLAGS -Wnested-externs"
   5505 
   5506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   5507 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   5508 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5509 		if eval \${$cacheid+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5513 /* end confdefs.h.  */
   5514 int i;
   5515 int
   5516 main ()
   5517 {
   5518 
   5519   ;
   5520   return 0;
   5521 }
   5522 _ACEOF
   5523 if ac_fn_c_try_link "$LINENO"; then :
   5524   eval $cacheid=yes
   5525 else
   5526   eval $cacheid=no
   5527 fi
   5528 rm -f core conftest.err conftest.$ac_objext \
   5529     conftest$ac_exeext conftest.$ac_ext
   5530 fi
   5531 
   5532 
   5533 		CFLAGS="$xorg_testset_save_CFLAGS"
   5534 
   5535 		eval supported=\$$cacheid
   5536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5537 $as_echo "$supported" >&6; }
   5538 		if test "$supported" = "yes" ; then
   5539 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5540 			found="yes"
   5541 		fi
   5542 	fi
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 xorg_testset_save_CFLAGS="$CFLAGS"
   5559 
   5560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unknown_warning_option=yes
   5573 else
   5574   xorg_cv_cc_flag_unknown_warning_option=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 	fi
   5588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5592   $as_echo_n "(cached) " >&6
   5593 else
   5594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 _ACEOF
   5598 if ac_fn_c_try_compile "$LINENO"; then :
   5599   xorg_cv_cc_flag_unused_command_line_argument=yes
   5600 else
   5601   xorg_cv_cc_flag_unused_command_line_argument=no
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5604 fi
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5608 	CFLAGS="$xorg_testset_save_CFLAGS"
   5609 fi
   5610 
   5611 found="no"
   5612 
   5613 	if test $found = "no" ; then
   5614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 		fi
   5617 
   5618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5620 		fi
   5621 
   5622 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5623 
   5624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   5625 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   5626 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5627 		if eval \${$cacheid+:} false; then :
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 int
   5634 main ()
   5635 {
   5636 
   5637   ;
   5638   return 0;
   5639 }
   5640 _ACEOF
   5641 if ac_fn_c_try_link "$LINENO"; then :
   5642   eval $cacheid=yes
   5643 else
   5644   eval $cacheid=no
   5645 fi
   5646 rm -f core conftest.err conftest.$ac_objext \
   5647     conftest$ac_exeext conftest.$ac_ext
   5648 fi
   5649 
   5650 
   5651 		CFLAGS="$xorg_testset_save_CFLAGS"
   5652 
   5653 		eval supported=\$$cacheid
   5654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5655 $as_echo "$supported" >&6; }
   5656 		if test "$supported" = "yes" ; then
   5657 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5658 			found="yes"
   5659 		fi
   5660 	fi
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 xorg_testset_save_CFLAGS="$CFLAGS"
   5677 
   5678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unknown_warning_option=yes
   5691 else
   5692   xorg_cv_cc_flag_unknown_warning_option=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 	fi
   5706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 _ACEOF
   5716 if ac_fn_c_try_compile "$LINENO"; then :
   5717   xorg_cv_cc_flag_unused_command_line_argument=yes
   5718 else
   5719   xorg_cv_cc_flag_unused_command_line_argument=no
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722 fi
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5726 	CFLAGS="$xorg_testset_save_CFLAGS"
   5727 fi
   5728 
   5729 found="no"
   5730 
   5731 	if test $found = "no" ; then
   5732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 		fi
   5735 
   5736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5738 		fi
   5739 
   5740 		CFLAGS="$CFLAGS -Wold-style-definition"
   5741 
   5742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   5743 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   5744 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5745 		if eval \${$cacheid+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 int
   5752 main ()
   5753 {
   5754 
   5755   ;
   5756   return 0;
   5757 }
   5758 _ACEOF
   5759 if ac_fn_c_try_link "$LINENO"; then :
   5760   eval $cacheid=yes
   5761 else
   5762   eval $cacheid=no
   5763 fi
   5764 rm -f core conftest.err conftest.$ac_objext \
   5765     conftest$ac_exeext conftest.$ac_ext
   5766 fi
   5767 
   5768 
   5769 		CFLAGS="$xorg_testset_save_CFLAGS"
   5770 
   5771 		eval supported=\$$cacheid
   5772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5773 $as_echo "$supported" >&6; }
   5774 		if test "$supported" = "yes" ; then
   5775 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5776 			found="yes"
   5777 		fi
   5778 	fi
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 xorg_testset_save_CFLAGS="$CFLAGS"
   5795 
   5796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unknown_warning_option=yes
   5809 else
   5810   xorg_cv_cc_flag_unknown_warning_option=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 	fi
   5824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5831 /* end confdefs.h.  */
   5832 int i;
   5833 _ACEOF
   5834 if ac_fn_c_try_compile "$LINENO"; then :
   5835   xorg_cv_cc_flag_unused_command_line_argument=yes
   5836 else
   5837   xorg_cv_cc_flag_unused_command_line_argument=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5840 fi
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5859 
   5860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   5861 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5863 		if eval \${$cacheid+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 int
   5870 main ()
   5871 {
   5872 
   5873   ;
   5874   return 0;
   5875 }
   5876 _ACEOF
   5877 if ac_fn_c_try_link "$LINENO"; then :
   5878   eval $cacheid=yes
   5879 else
   5880   eval $cacheid=no
   5881 fi
   5882 rm -f core conftest.err conftest.$ac_objext \
   5883     conftest$ac_exeext conftest.$ac_ext
   5884 fi
   5885 
   5886 
   5887 		CFLAGS="$xorg_testset_save_CFLAGS"
   5888 
   5889 		eval supported=\$$cacheid
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5891 $as_echo "$supported" >&6; }
   5892 		if test "$supported" = "yes" ; then
   5893 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5894 			found="yes"
   5895 		fi
   5896 	fi
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 # This chunk adds additional warnings that could catch undesired effects.
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 xorg_testset_save_CFLAGS="$CFLAGS"
   5917 
   5918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5922 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   5931 else
   5932   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   5937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5939 	CFLAGS="$xorg_testset_save_CFLAGS"
   5940 fi
   5941 
   5942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 	fi
   5946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5950   $as_echo_n "(cached) " >&6
   5951 else
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 int i;
   5955 _ACEOF
   5956 if ac_fn_c_try_compile "$LINENO"; then :
   5957   xorg_cv_cc_flag_unused_command_line_argument=yes
   5958 else
   5959   xorg_cv_cc_flag_unused_command_line_argument=no
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5962 fi
   5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5966 	CFLAGS="$xorg_testset_save_CFLAGS"
   5967 fi
   5968 
   5969 found="no"
   5970 
   5971 	if test $found = "no" ; then
   5972 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5974 		fi
   5975 
   5976 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5978 		fi
   5979 
   5980 		CFLAGS="$CFLAGS -Wunused"
   5981 
   5982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   5983 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   5984 		cacheid=xorg_cv_cc_flag__Wunused
   5985 		if eval \${$cacheid+:} false; then :
   5986   $as_echo_n "(cached) " >&6
   5987 else
   5988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5989 /* end confdefs.h.  */
   5990 int i;
   5991 int
   5992 main ()
   5993 {
   5994 
   5995   ;
   5996   return 0;
   5997 }
   5998 _ACEOF
   5999 if ac_fn_c_try_link "$LINENO"; then :
   6000   eval $cacheid=yes
   6001 else
   6002   eval $cacheid=no
   6003 fi
   6004 rm -f core conftest.err conftest.$ac_objext \
   6005     conftest$ac_exeext conftest.$ac_ext
   6006 fi
   6007 
   6008 
   6009 		CFLAGS="$xorg_testset_save_CFLAGS"
   6010 
   6011 		eval supported=\$$cacheid
   6012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6013 $as_echo "$supported" >&6; }
   6014 		if test "$supported" = "yes" ; then
   6015 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6016 			found="yes"
   6017 		fi
   6018 	fi
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 xorg_testset_save_CFLAGS="$CFLAGS"
   6035 
   6036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6041   $as_echo_n "(cached) " >&6
   6042 else
   6043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6044 /* end confdefs.h.  */
   6045 int i;
   6046 _ACEOF
   6047 if ac_fn_c_try_compile "$LINENO"; then :
   6048   xorg_cv_cc_flag_unknown_warning_option=yes
   6049 else
   6050   xorg_cv_cc_flag_unknown_warning_option=no
   6051 fi
   6052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6053 fi
   6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6057 	CFLAGS="$xorg_testset_save_CFLAGS"
   6058 fi
   6059 
   6060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6063 	fi
   6064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6068   $as_echo_n "(cached) " >&6
   6069 else
   6070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6071 /* end confdefs.h.  */
   6072 int i;
   6073 _ACEOF
   6074 if ac_fn_c_try_compile "$LINENO"; then :
   6075   xorg_cv_cc_flag_unused_command_line_argument=yes
   6076 else
   6077   xorg_cv_cc_flag_unused_command_line_argument=no
   6078 fi
   6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6080 fi
   6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6084 	CFLAGS="$xorg_testset_save_CFLAGS"
   6085 fi
   6086 
   6087 found="no"
   6088 
   6089 	if test $found = "no" ; then
   6090 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 		fi
   6093 
   6094 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6096 		fi
   6097 
   6098 		CFLAGS="$CFLAGS -Wuninitialized"
   6099 
   6100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   6101 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   6102 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6103 		if eval \${$cacheid+:} false; then :
   6104   $as_echo_n "(cached) " >&6
   6105 else
   6106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 int
   6110 main ()
   6111 {
   6112 
   6113   ;
   6114   return 0;
   6115 }
   6116 _ACEOF
   6117 if ac_fn_c_try_link "$LINENO"; then :
   6118   eval $cacheid=yes
   6119 else
   6120   eval $cacheid=no
   6121 fi
   6122 rm -f core conftest.err conftest.$ac_objext \
   6123     conftest$ac_exeext conftest.$ac_ext
   6124 fi
   6125 
   6126 
   6127 		CFLAGS="$xorg_testset_save_CFLAGS"
   6128 
   6129 		eval supported=\$$cacheid
   6130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6131 $as_echo "$supported" >&6; }
   6132 		if test "$supported" = "yes" ; then
   6133 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6134 			found="yes"
   6135 		fi
   6136 	fi
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 xorg_testset_save_CFLAGS="$CFLAGS"
   6153 
   6154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6159   $as_echo_n "(cached) " >&6
   6160 else
   6161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6162 /* end confdefs.h.  */
   6163 int i;
   6164 _ACEOF
   6165 if ac_fn_c_try_compile "$LINENO"; then :
   6166   xorg_cv_cc_flag_unknown_warning_option=yes
   6167 else
   6168   xorg_cv_cc_flag_unknown_warning_option=no
   6169 fi
   6170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6171 fi
   6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6175 	CFLAGS="$xorg_testset_save_CFLAGS"
   6176 fi
   6177 
   6178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 	fi
   6182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6186   $as_echo_n "(cached) " >&6
   6187 else
   6188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6189 /* end confdefs.h.  */
   6190 int i;
   6191 _ACEOF
   6192 if ac_fn_c_try_compile "$LINENO"; then :
   6193   xorg_cv_cc_flag_unused_command_line_argument=yes
   6194 else
   6195   xorg_cv_cc_flag_unused_command_line_argument=no
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6198 fi
   6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6202 	CFLAGS="$xorg_testset_save_CFLAGS"
   6203 fi
   6204 
   6205 found="no"
   6206 
   6207 	if test $found = "no" ; then
   6208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6210 		fi
   6211 
   6212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6214 		fi
   6215 
   6216 		CFLAGS="$CFLAGS -Wshadow"
   6217 
   6218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   6219 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   6220 		cacheid=xorg_cv_cc_flag__Wshadow
   6221 		if eval \${$cacheid+:} false; then :
   6222   $as_echo_n "(cached) " >&6
   6223 else
   6224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6225 /* end confdefs.h.  */
   6226 int i;
   6227 int
   6228 main ()
   6229 {
   6230 
   6231   ;
   6232   return 0;
   6233 }
   6234 _ACEOF
   6235 if ac_fn_c_try_link "$LINENO"; then :
   6236   eval $cacheid=yes
   6237 else
   6238   eval $cacheid=no
   6239 fi
   6240 rm -f core conftest.err conftest.$ac_objext \
   6241     conftest$ac_exeext conftest.$ac_ext
   6242 fi
   6243 
   6244 
   6245 		CFLAGS="$xorg_testset_save_CFLAGS"
   6246 
   6247 		eval supported=\$$cacheid
   6248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6249 $as_echo "$supported" >&6; }
   6250 		if test "$supported" = "yes" ; then
   6251 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6252 			found="yes"
   6253 		fi
   6254 	fi
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 xorg_testset_save_CFLAGS="$CFLAGS"
   6271 
   6272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6280 /* end confdefs.h.  */
   6281 int i;
   6282 _ACEOF
   6283 if ac_fn_c_try_compile "$LINENO"; then :
   6284   xorg_cv_cc_flag_unknown_warning_option=yes
   6285 else
   6286   xorg_cv_cc_flag_unknown_warning_option=no
   6287 fi
   6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6289 fi
   6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6293 	CFLAGS="$xorg_testset_save_CFLAGS"
   6294 fi
   6295 
   6296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6299 	fi
   6300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6304   $as_echo_n "(cached) " >&6
   6305 else
   6306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6307 /* end confdefs.h.  */
   6308 int i;
   6309 _ACEOF
   6310 if ac_fn_c_try_compile "$LINENO"; then :
   6311   xorg_cv_cc_flag_unused_command_line_argument=yes
   6312 else
   6313   xorg_cv_cc_flag_unused_command_line_argument=no
   6314 fi
   6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6316 fi
   6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6320 	CFLAGS="$xorg_testset_save_CFLAGS"
   6321 fi
   6322 
   6323 found="no"
   6324 
   6325 	if test $found = "no" ; then
   6326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 		fi
   6329 
   6330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6332 		fi
   6333 
   6334 		CFLAGS="$CFLAGS -Wcast-qual"
   6335 
   6336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   6337 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   6338 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6339 		if eval \${$cacheid+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6343 /* end confdefs.h.  */
   6344 int i;
   6345 int
   6346 main ()
   6347 {
   6348 
   6349   ;
   6350   return 0;
   6351 }
   6352 _ACEOF
   6353 if ac_fn_c_try_link "$LINENO"; then :
   6354   eval $cacheid=yes
   6355 else
   6356   eval $cacheid=no
   6357 fi
   6358 rm -f core conftest.err conftest.$ac_objext \
   6359     conftest$ac_exeext conftest.$ac_ext
   6360 fi
   6361 
   6362 
   6363 		CFLAGS="$xorg_testset_save_CFLAGS"
   6364 
   6365 		eval supported=\$$cacheid
   6366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6367 $as_echo "$supported" >&6; }
   6368 		if test "$supported" = "yes" ; then
   6369 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6370 			found="yes"
   6371 		fi
   6372 	fi
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 xorg_testset_save_CFLAGS="$CFLAGS"
   6389 
   6390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6398 /* end confdefs.h.  */
   6399 int i;
   6400 _ACEOF
   6401 if ac_fn_c_try_compile "$LINENO"; then :
   6402   xorg_cv_cc_flag_unknown_warning_option=yes
   6403 else
   6404   xorg_cv_cc_flag_unknown_warning_option=no
   6405 fi
   6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6407 fi
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6411 	CFLAGS="$xorg_testset_save_CFLAGS"
   6412 fi
   6413 
   6414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6417 	fi
   6418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6422   $as_echo_n "(cached) " >&6
   6423 else
   6424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6425 /* end confdefs.h.  */
   6426 int i;
   6427 _ACEOF
   6428 if ac_fn_c_try_compile "$LINENO"; then :
   6429   xorg_cv_cc_flag_unused_command_line_argument=yes
   6430 else
   6431   xorg_cv_cc_flag_unused_command_line_argument=no
   6432 fi
   6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6434 fi
   6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6438 	CFLAGS="$xorg_testset_save_CFLAGS"
   6439 fi
   6440 
   6441 found="no"
   6442 
   6443 	if test $found = "no" ; then
   6444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 		fi
   6447 
   6448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 		fi
   6451 
   6452 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6453 
   6454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   6455 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   6456 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6457 		if eval \${$cacheid+:} false; then :
   6458   $as_echo_n "(cached) " >&6
   6459 else
   6460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6461 /* end confdefs.h.  */
   6462 int i;
   6463 int
   6464 main ()
   6465 {
   6466 
   6467   ;
   6468   return 0;
   6469 }
   6470 _ACEOF
   6471 if ac_fn_c_try_link "$LINENO"; then :
   6472   eval $cacheid=yes
   6473 else
   6474   eval $cacheid=no
   6475 fi
   6476 rm -f core conftest.err conftest.$ac_objext \
   6477     conftest$ac_exeext conftest.$ac_ext
   6478 fi
   6479 
   6480 
   6481 		CFLAGS="$xorg_testset_save_CFLAGS"
   6482 
   6483 		eval supported=\$$cacheid
   6484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6485 $as_echo "$supported" >&6; }
   6486 		if test "$supported" = "yes" ; then
   6487 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6488 			found="yes"
   6489 		fi
   6490 	fi
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 xorg_testset_save_CFLAGS="$CFLAGS"
   6507 
   6508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6511 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6512 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6513   $as_echo_n "(cached) " >&6
   6514 else
   6515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"; then :
   6520   xorg_cv_cc_flag_unknown_warning_option=yes
   6521 else
   6522   xorg_cv_cc_flag_unknown_warning_option=no
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6525 fi
   6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6527 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6529 	CFLAGS="$xorg_testset_save_CFLAGS"
   6530 fi
   6531 
   6532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6535 	fi
   6536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6538 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6539 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6540   $as_echo_n "(cached) " >&6
   6541 else
   6542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6543 /* end confdefs.h.  */
   6544 int i;
   6545 _ACEOF
   6546 if ac_fn_c_try_compile "$LINENO"; then :
   6547   xorg_cv_cc_flag_unused_command_line_argument=yes
   6548 else
   6549   xorg_cv_cc_flag_unused_command_line_argument=no
   6550 fi
   6551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6552 fi
   6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6554 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6555 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6556 	CFLAGS="$xorg_testset_save_CFLAGS"
   6557 fi
   6558 
   6559 found="no"
   6560 
   6561 	if test $found = "no" ; then
   6562 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6563 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6564 		fi
   6565 
   6566 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6567 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6568 		fi
   6569 
   6570 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6571 
   6572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   6573 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   6574 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6575 		if eval \${$cacheid+:} false; then :
   6576   $as_echo_n "(cached) " >&6
   6577 else
   6578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 int i;
   6581 int
   6582 main ()
   6583 {
   6584 
   6585   ;
   6586   return 0;
   6587 }
   6588 _ACEOF
   6589 if ac_fn_c_try_link "$LINENO"; then :
   6590   eval $cacheid=yes
   6591 else
   6592   eval $cacheid=no
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext \
   6595     conftest$ac_exeext conftest.$ac_ext
   6596 fi
   6597 
   6598 
   6599 		CFLAGS="$xorg_testset_save_CFLAGS"
   6600 
   6601 		eval supported=\$$cacheid
   6602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6603 $as_echo "$supported" >&6; }
   6604 		if test "$supported" = "yes" ; then
   6605 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6606 			found="yes"
   6607 		fi
   6608 	fi
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 xorg_testset_save_CFLAGS="$CFLAGS"
   6625 
   6626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6629 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6630 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6631   $as_echo_n "(cached) " >&6
   6632 else
   6633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6634 /* end confdefs.h.  */
   6635 int i;
   6636 _ACEOF
   6637 if ac_fn_c_try_compile "$LINENO"; then :
   6638   xorg_cv_cc_flag_unknown_warning_option=yes
   6639 else
   6640   xorg_cv_cc_flag_unknown_warning_option=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6643 fi
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6645 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6647 	CFLAGS="$xorg_testset_save_CFLAGS"
   6648 fi
   6649 
   6650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 	fi
   6654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6656 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6657 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6658   $as_echo_n "(cached) " >&6
   6659 else
   6660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 int i;
   6663 _ACEOF
   6664 if ac_fn_c_try_compile "$LINENO"; then :
   6665   xorg_cv_cc_flag_unused_command_line_argument=yes
   6666 else
   6667   xorg_cv_cc_flag_unused_command_line_argument=no
   6668 fi
   6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6670 fi
   6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6672 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6674 	CFLAGS="$xorg_testset_save_CFLAGS"
   6675 fi
   6676 
   6677 found="no"
   6678 
   6679 	if test $found = "no" ; then
   6680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 		fi
   6683 
   6684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6686 		fi
   6687 
   6688 		CFLAGS="$CFLAGS -Wredundant-decls"
   6689 
   6690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   6691 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   6692 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6693 		if eval \${$cacheid+:} false; then :
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6697 /* end confdefs.h.  */
   6698 int i;
   6699 int
   6700 main ()
   6701 {
   6702 
   6703   ;
   6704   return 0;
   6705 }
   6706 _ACEOF
   6707 if ac_fn_c_try_link "$LINENO"; then :
   6708   eval $cacheid=yes
   6709 else
   6710   eval $cacheid=no
   6711 fi
   6712 rm -f core conftest.err conftest.$ac_objext \
   6713     conftest$ac_exeext conftest.$ac_ext
   6714 fi
   6715 
   6716 
   6717 		CFLAGS="$xorg_testset_save_CFLAGS"
   6718 
   6719 		eval supported=\$$cacheid
   6720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6721 $as_echo "$supported" >&6; }
   6722 		if test "$supported" = "yes" ; then
   6723 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6724 			found="yes"
   6725 		fi
   6726 	fi
   6727 
   6728 
   6729 
   6730 # These are currently disabled because they are noisy.  They will be enabled
   6731 # in the future once the codebase is sufficiently modernized to silence
   6732 # them.  For now, I don't want them to drown out the other warnings.
   6733 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6734 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6735 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6736 
   6737 # Turn some warnings into errors, so we don't accidently get successful builds
   6738 # when there are problems that should be fixed.
   6739 
   6740 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 xorg_testset_save_CFLAGS="$CFLAGS"
   6755 
   6756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 _ACEOF
   6767 if ac_fn_c_try_compile "$LINENO"; then :
   6768   xorg_cv_cc_flag_unknown_warning_option=yes
   6769 else
   6770   xorg_cv_cc_flag_unknown_warning_option=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6773 fi
   6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6777 	CFLAGS="$xorg_testset_save_CFLAGS"
   6778 fi
   6779 
   6780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6783 	fi
   6784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 _ACEOF
   6794 if ac_fn_c_try_compile "$LINENO"; then :
   6795   xorg_cv_cc_flag_unused_command_line_argument=yes
   6796 else
   6797   xorg_cv_cc_flag_unused_command_line_argument=no
   6798 fi
   6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6800 fi
   6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6804 	CFLAGS="$xorg_testset_save_CFLAGS"
   6805 fi
   6806 
   6807 found="no"
   6808 
   6809 	if test $found = "no" ; then
   6810 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6812 		fi
   6813 
   6814 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6816 		fi
   6817 
   6818 		CFLAGS="$CFLAGS -Werror=implicit"
   6819 
   6820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   6821 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   6822 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6823 		if eval \${$cacheid+:} false; then :
   6824   $as_echo_n "(cached) " >&6
   6825 else
   6826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6827 /* end confdefs.h.  */
   6828 int i;
   6829 int
   6830 main ()
   6831 {
   6832 
   6833   ;
   6834   return 0;
   6835 }
   6836 _ACEOF
   6837 if ac_fn_c_try_link "$LINENO"; then :
   6838   eval $cacheid=yes
   6839 else
   6840   eval $cacheid=no
   6841 fi
   6842 rm -f core conftest.err conftest.$ac_objext \
   6843     conftest$ac_exeext conftest.$ac_ext
   6844 fi
   6845 
   6846 
   6847 		CFLAGS="$xorg_testset_save_CFLAGS"
   6848 
   6849 		eval supported=\$$cacheid
   6850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6851 $as_echo "$supported" >&6; }
   6852 		if test "$supported" = "yes" ; then
   6853 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6854 			found="yes"
   6855 		fi
   6856 	fi
   6857 
   6858 	if test $found = "no" ; then
   6859 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6861 		fi
   6862 
   6863 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6865 		fi
   6866 
   6867 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6868 
   6869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6870 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6871 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6872 		if eval \${$cacheid+:} false; then :
   6873   $as_echo_n "(cached) " >&6
   6874 else
   6875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6876 /* end confdefs.h.  */
   6877 int i;
   6878 int
   6879 main ()
   6880 {
   6881 
   6882   ;
   6883   return 0;
   6884 }
   6885 _ACEOF
   6886 if ac_fn_c_try_link "$LINENO"; then :
   6887   eval $cacheid=yes
   6888 else
   6889   eval $cacheid=no
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext \
   6892     conftest$ac_exeext conftest.$ac_ext
   6893 fi
   6894 
   6895 
   6896 		CFLAGS="$xorg_testset_save_CFLAGS"
   6897 
   6898 		eval supported=\$$cacheid
   6899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6900 $as_echo "$supported" >&6; }
   6901 		if test "$supported" = "yes" ; then
   6902 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6903 			found="yes"
   6904 		fi
   6905 	fi
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 xorg_testset_save_CFLAGS="$CFLAGS"
   6922 
   6923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6931 /* end confdefs.h.  */
   6932 int i;
   6933 _ACEOF
   6934 if ac_fn_c_try_compile "$LINENO"; then :
   6935   xorg_cv_cc_flag_unknown_warning_option=yes
   6936 else
   6937   xorg_cv_cc_flag_unknown_warning_option=no
   6938 fi
   6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6940 fi
   6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6944 	CFLAGS="$xorg_testset_save_CFLAGS"
   6945 fi
   6946 
   6947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6950 	fi
   6951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6958 /* end confdefs.h.  */
   6959 int i;
   6960 _ACEOF
   6961 if ac_fn_c_try_compile "$LINENO"; then :
   6962   xorg_cv_cc_flag_unused_command_line_argument=yes
   6963 else
   6964   xorg_cv_cc_flag_unused_command_line_argument=no
   6965 fi
   6966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6967 fi
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6971 	CFLAGS="$xorg_testset_save_CFLAGS"
   6972 fi
   6973 
   6974 found="no"
   6975 
   6976 	if test $found = "no" ; then
   6977 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6979 		fi
   6980 
   6981 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6983 		fi
   6984 
   6985 		CFLAGS="$CFLAGS -Werror=nonnull"
   6986 
   6987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   6988 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   6989 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6990 		if eval \${$cacheid+:} false; then :
   6991   $as_echo_n "(cached) " >&6
   6992 else
   6993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 int
   6997 main ()
   6998 {
   6999 
   7000   ;
   7001   return 0;
   7002 }
   7003 _ACEOF
   7004 if ac_fn_c_try_link "$LINENO"; then :
   7005   eval $cacheid=yes
   7006 else
   7007   eval $cacheid=no
   7008 fi
   7009 rm -f core conftest.err conftest.$ac_objext \
   7010     conftest$ac_exeext conftest.$ac_ext
   7011 fi
   7012 
   7013 
   7014 		CFLAGS="$xorg_testset_save_CFLAGS"
   7015 
   7016 		eval supported=\$$cacheid
   7017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7018 $as_echo "$supported" >&6; }
   7019 		if test "$supported" = "yes" ; then
   7020 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7021 			found="yes"
   7022 		fi
   7023 	fi
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 xorg_testset_save_CFLAGS="$CFLAGS"
   7040 
   7041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7049 /* end confdefs.h.  */
   7050 int i;
   7051 _ACEOF
   7052 if ac_fn_c_try_compile "$LINENO"; then :
   7053   xorg_cv_cc_flag_unknown_warning_option=yes
   7054 else
   7055   xorg_cv_cc_flag_unknown_warning_option=no
   7056 fi
   7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7058 fi
   7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7062 	CFLAGS="$xorg_testset_save_CFLAGS"
   7063 fi
   7064 
   7065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7068 	fi
   7069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7073   $as_echo_n "(cached) " >&6
   7074 else
   7075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7076 /* end confdefs.h.  */
   7077 int i;
   7078 _ACEOF
   7079 if ac_fn_c_try_compile "$LINENO"; then :
   7080   xorg_cv_cc_flag_unused_command_line_argument=yes
   7081 else
   7082   xorg_cv_cc_flag_unused_command_line_argument=no
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7085 fi
   7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7089 	CFLAGS="$xorg_testset_save_CFLAGS"
   7090 fi
   7091 
   7092 found="no"
   7093 
   7094 	if test $found = "no" ; then
   7095 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 		fi
   7098 
   7099 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7101 		fi
   7102 
   7103 		CFLAGS="$CFLAGS -Werror=init-self"
   7104 
   7105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   7106 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   7107 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7108 		if eval \${$cacheid+:} false; then :
   7109   $as_echo_n "(cached) " >&6
   7110 else
   7111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7112 /* end confdefs.h.  */
   7113 int i;
   7114 int
   7115 main ()
   7116 {
   7117 
   7118   ;
   7119   return 0;
   7120 }
   7121 _ACEOF
   7122 if ac_fn_c_try_link "$LINENO"; then :
   7123   eval $cacheid=yes
   7124 else
   7125   eval $cacheid=no
   7126 fi
   7127 rm -f core conftest.err conftest.$ac_objext \
   7128     conftest$ac_exeext conftest.$ac_ext
   7129 fi
   7130 
   7131 
   7132 		CFLAGS="$xorg_testset_save_CFLAGS"
   7133 
   7134 		eval supported=\$$cacheid
   7135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7136 $as_echo "$supported" >&6; }
   7137 		if test "$supported" = "yes" ; then
   7138 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7139 			found="yes"
   7140 		fi
   7141 	fi
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 xorg_testset_save_CFLAGS="$CFLAGS"
   7158 
   7159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7164   $as_echo_n "(cached) " >&6
   7165 else
   7166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7167 /* end confdefs.h.  */
   7168 int i;
   7169 _ACEOF
   7170 if ac_fn_c_try_compile "$LINENO"; then :
   7171   xorg_cv_cc_flag_unknown_warning_option=yes
   7172 else
   7173   xorg_cv_cc_flag_unknown_warning_option=no
   7174 fi
   7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7176 fi
   7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7180 	CFLAGS="$xorg_testset_save_CFLAGS"
   7181 fi
   7182 
   7183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 	fi
   7187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7191   $as_echo_n "(cached) " >&6
   7192 else
   7193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7194 /* end confdefs.h.  */
   7195 int i;
   7196 _ACEOF
   7197 if ac_fn_c_try_compile "$LINENO"; then :
   7198   xorg_cv_cc_flag_unused_command_line_argument=yes
   7199 else
   7200   xorg_cv_cc_flag_unused_command_line_argument=no
   7201 fi
   7202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7203 fi
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7207 	CFLAGS="$xorg_testset_save_CFLAGS"
   7208 fi
   7209 
   7210 found="no"
   7211 
   7212 	if test $found = "no" ; then
   7213 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 		fi
   7216 
   7217 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7219 		fi
   7220 
   7221 		CFLAGS="$CFLAGS -Werror=main"
   7222 
   7223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   7224 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   7225 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7226 		if eval \${$cacheid+:} false; then :
   7227   $as_echo_n "(cached) " >&6
   7228 else
   7229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7230 /* end confdefs.h.  */
   7231 int i;
   7232 int
   7233 main ()
   7234 {
   7235 
   7236   ;
   7237   return 0;
   7238 }
   7239 _ACEOF
   7240 if ac_fn_c_try_link "$LINENO"; then :
   7241   eval $cacheid=yes
   7242 else
   7243   eval $cacheid=no
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext \
   7246     conftest$ac_exeext conftest.$ac_ext
   7247 fi
   7248 
   7249 
   7250 		CFLAGS="$xorg_testset_save_CFLAGS"
   7251 
   7252 		eval supported=\$$cacheid
   7253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7254 $as_echo "$supported" >&6; }
   7255 		if test "$supported" = "yes" ; then
   7256 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7257 			found="yes"
   7258 		fi
   7259 	fi
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 xorg_testset_save_CFLAGS="$CFLAGS"
   7276 
   7277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7282   $as_echo_n "(cached) " >&6
   7283 else
   7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"; then :
   7289   xorg_cv_cc_flag_unknown_warning_option=yes
   7290 else
   7291   xorg_cv_cc_flag_unknown_warning_option=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7294 fi
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 	fi
   7305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 int i;
   7314 _ACEOF
   7315 if ac_fn_c_try_compile "$LINENO"; then :
   7316   xorg_cv_cc_flag_unused_command_line_argument=yes
   7317 else
   7318   xorg_cv_cc_flag_unused_command_line_argument=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7321 fi
   7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7325 	CFLAGS="$xorg_testset_save_CFLAGS"
   7326 fi
   7327 
   7328 found="no"
   7329 
   7330 	if test $found = "no" ; then
   7331 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 		fi
   7334 
   7335 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 		fi
   7338 
   7339 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7340 
   7341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   7342 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   7343 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7344 		if eval \${$cacheid+:} false; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 int i;
   7350 int
   7351 main ()
   7352 {
   7353 
   7354   ;
   7355   return 0;
   7356 }
   7357 _ACEOF
   7358 if ac_fn_c_try_link "$LINENO"; then :
   7359   eval $cacheid=yes
   7360 else
   7361   eval $cacheid=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext \
   7364     conftest$ac_exeext conftest.$ac_ext
   7365 fi
   7366 
   7367 
   7368 		CFLAGS="$xorg_testset_save_CFLAGS"
   7369 
   7370 		eval supported=\$$cacheid
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7372 $as_echo "$supported" >&6; }
   7373 		if test "$supported" = "yes" ; then
   7374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7375 			found="yes"
   7376 		fi
   7377 	fi
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 xorg_testset_save_CFLAGS="$CFLAGS"
   7394 
   7395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7400   $as_echo_n "(cached) " >&6
   7401 else
   7402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7403 /* end confdefs.h.  */
   7404 int i;
   7405 _ACEOF
   7406 if ac_fn_c_try_compile "$LINENO"; then :
   7407   xorg_cv_cc_flag_unknown_warning_option=yes
   7408 else
   7409   xorg_cv_cc_flag_unknown_warning_option=no
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7412 fi
   7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7416 	CFLAGS="$xorg_testset_save_CFLAGS"
   7417 fi
   7418 
   7419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7422 	fi
   7423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7427   $as_echo_n "(cached) " >&6
   7428 else
   7429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7430 /* end confdefs.h.  */
   7431 int i;
   7432 _ACEOF
   7433 if ac_fn_c_try_compile "$LINENO"; then :
   7434   xorg_cv_cc_flag_unused_command_line_argument=yes
   7435 else
   7436   xorg_cv_cc_flag_unused_command_line_argument=no
   7437 fi
   7438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7439 fi
   7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7443 	CFLAGS="$xorg_testset_save_CFLAGS"
   7444 fi
   7445 
   7446 found="no"
   7447 
   7448 	if test $found = "no" ; then
   7449 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7451 		fi
   7452 
   7453 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7455 		fi
   7456 
   7457 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7458 
   7459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   7460 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   7461 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7462 		if eval \${$cacheid+:} false; then :
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 int i;
   7468 int
   7469 main ()
   7470 {
   7471 
   7472   ;
   7473   return 0;
   7474 }
   7475 _ACEOF
   7476 if ac_fn_c_try_link "$LINENO"; then :
   7477   eval $cacheid=yes
   7478 else
   7479   eval $cacheid=no
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext \
   7482     conftest$ac_exeext conftest.$ac_ext
   7483 fi
   7484 
   7485 
   7486 		CFLAGS="$xorg_testset_save_CFLAGS"
   7487 
   7488 		eval supported=\$$cacheid
   7489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7490 $as_echo "$supported" >&6; }
   7491 		if test "$supported" = "yes" ; then
   7492 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7493 			found="yes"
   7494 		fi
   7495 	fi
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 xorg_testset_save_CFLAGS="$CFLAGS"
   7512 
   7513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 int i;
   7523 _ACEOF
   7524 if ac_fn_c_try_compile "$LINENO"; then :
   7525   xorg_cv_cc_flag_unknown_warning_option=yes
   7526 else
   7527   xorg_cv_cc_flag_unknown_warning_option=no
   7528 fi
   7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7530 fi
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7534 	CFLAGS="$xorg_testset_save_CFLAGS"
   7535 fi
   7536 
   7537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7540 	fi
   7541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7545   $as_echo_n "(cached) " >&6
   7546 else
   7547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 int i;
   7550 _ACEOF
   7551 if ac_fn_c_try_compile "$LINENO"; then :
   7552   xorg_cv_cc_flag_unused_command_line_argument=yes
   7553 else
   7554   xorg_cv_cc_flag_unused_command_line_argument=no
   7555 fi
   7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7557 fi
   7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7561 	CFLAGS="$xorg_testset_save_CFLAGS"
   7562 fi
   7563 
   7564 found="no"
   7565 
   7566 	if test $found = "no" ; then
   7567 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 		fi
   7570 
   7571 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7573 		fi
   7574 
   7575 		CFLAGS="$CFLAGS -Werror=return-type"
   7576 
   7577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   7578 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   7579 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7580 		if eval \${$cacheid+:} false; then :
   7581   $as_echo_n "(cached) " >&6
   7582 else
   7583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7584 /* end confdefs.h.  */
   7585 int i;
   7586 int
   7587 main ()
   7588 {
   7589 
   7590   ;
   7591   return 0;
   7592 }
   7593 _ACEOF
   7594 if ac_fn_c_try_link "$LINENO"; then :
   7595   eval $cacheid=yes
   7596 else
   7597   eval $cacheid=no
   7598 fi
   7599 rm -f core conftest.err conftest.$ac_objext \
   7600     conftest$ac_exeext conftest.$ac_ext
   7601 fi
   7602 
   7603 
   7604 		CFLAGS="$xorg_testset_save_CFLAGS"
   7605 
   7606 		eval supported=\$$cacheid
   7607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7608 $as_echo "$supported" >&6; }
   7609 		if test "$supported" = "yes" ; then
   7610 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7611 			found="yes"
   7612 		fi
   7613 	fi
   7614 
   7615 	if test $found = "no" ; then
   7616 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7618 		fi
   7619 
   7620 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7622 		fi
   7623 
   7624 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7625 
   7626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7627 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7628 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7629 		if eval \${$cacheid+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 int
   7636 main ()
   7637 {
   7638 
   7639   ;
   7640   return 0;
   7641 }
   7642 _ACEOF
   7643 if ac_fn_c_try_link "$LINENO"; then :
   7644   eval $cacheid=yes
   7645 else
   7646   eval $cacheid=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext \
   7649     conftest$ac_exeext conftest.$ac_ext
   7650 fi
   7651 
   7652 
   7653 		CFLAGS="$xorg_testset_save_CFLAGS"
   7654 
   7655 		eval supported=\$$cacheid
   7656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7657 $as_echo "$supported" >&6; }
   7658 		if test "$supported" = "yes" ; then
   7659 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7660 			found="yes"
   7661 		fi
   7662 	fi
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 xorg_testset_save_CFLAGS="$CFLAGS"
   7679 
   7680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7688 /* end confdefs.h.  */
   7689 int i;
   7690 _ACEOF
   7691 if ac_fn_c_try_compile "$LINENO"; then :
   7692   xorg_cv_cc_flag_unknown_warning_option=yes
   7693 else
   7694   xorg_cv_cc_flag_unknown_warning_option=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7697 fi
   7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7701 	CFLAGS="$xorg_testset_save_CFLAGS"
   7702 fi
   7703 
   7704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 	fi
   7708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7712   $as_echo_n "(cached) " >&6
   7713 else
   7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 _ACEOF
   7718 if ac_fn_c_try_compile "$LINENO"; then :
   7719   xorg_cv_cc_flag_unused_command_line_argument=yes
   7720 else
   7721   xorg_cv_cc_flag_unused_command_line_argument=no
   7722 fi
   7723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7724 fi
   7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7728 	CFLAGS="$xorg_testset_save_CFLAGS"
   7729 fi
   7730 
   7731 found="no"
   7732 
   7733 	if test $found = "no" ; then
   7734 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 		fi
   7737 
   7738 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7740 		fi
   7741 
   7742 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7743 
   7744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   7745 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   7746 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7747 		if eval \${$cacheid+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 int
   7754 main ()
   7755 {
   7756 
   7757   ;
   7758   return 0;
   7759 }
   7760 _ACEOF
   7761 if ac_fn_c_try_link "$LINENO"; then :
   7762   eval $cacheid=yes
   7763 else
   7764   eval $cacheid=no
   7765 fi
   7766 rm -f core conftest.err conftest.$ac_objext \
   7767     conftest$ac_exeext conftest.$ac_ext
   7768 fi
   7769 
   7770 
   7771 		CFLAGS="$xorg_testset_save_CFLAGS"
   7772 
   7773 		eval supported=\$$cacheid
   7774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7775 $as_echo "$supported" >&6; }
   7776 		if test "$supported" = "yes" ; then
   7777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7778 			found="yes"
   7779 		fi
   7780 	fi
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 xorg_testset_save_CFLAGS="$CFLAGS"
   7797 
   7798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7806 /* end confdefs.h.  */
   7807 int i;
   7808 _ACEOF
   7809 if ac_fn_c_try_compile "$LINENO"; then :
   7810   xorg_cv_cc_flag_unknown_warning_option=yes
   7811 else
   7812   xorg_cv_cc_flag_unknown_warning_option=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7819 	CFLAGS="$xorg_testset_save_CFLAGS"
   7820 fi
   7821 
   7822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7825 	fi
   7826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7830   $as_echo_n "(cached) " >&6
   7831 else
   7832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7833 /* end confdefs.h.  */
   7834 int i;
   7835 _ACEOF
   7836 if ac_fn_c_try_compile "$LINENO"; then :
   7837   xorg_cv_cc_flag_unused_command_line_argument=yes
   7838 else
   7839   xorg_cv_cc_flag_unused_command_line_argument=no
   7840 fi
   7841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7842 fi
   7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7846 	CFLAGS="$xorg_testset_save_CFLAGS"
   7847 fi
   7848 
   7849 found="no"
   7850 
   7851 	if test $found = "no" ; then
   7852 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 		fi
   7855 
   7856 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7858 		fi
   7859 
   7860 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7861 
   7862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   7863 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   7864 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7865 		if eval \${$cacheid+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 int
   7872 main ()
   7873 {
   7874 
   7875   ;
   7876   return 0;
   7877 }
   7878 _ACEOF
   7879 if ac_fn_c_try_link "$LINENO"; then :
   7880   eval $cacheid=yes
   7881 else
   7882   eval $cacheid=no
   7883 fi
   7884 rm -f core conftest.err conftest.$ac_objext \
   7885     conftest$ac_exeext conftest.$ac_ext
   7886 fi
   7887 
   7888 
   7889 		CFLAGS="$xorg_testset_save_CFLAGS"
   7890 
   7891 		eval supported=\$$cacheid
   7892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7893 $as_echo "$supported" >&6; }
   7894 		if test "$supported" = "yes" ; then
   7895 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7896 			found="yes"
   7897 		fi
   7898 	fi
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 xorg_testset_save_CFLAGS="$CFLAGS"
   7915 
   7916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7924 /* end confdefs.h.  */
   7925 int i;
   7926 _ACEOF
   7927 if ac_fn_c_try_compile "$LINENO"; then :
   7928   xorg_cv_cc_flag_unknown_warning_option=yes
   7929 else
   7930   xorg_cv_cc_flag_unknown_warning_option=no
   7931 fi
   7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7933 fi
   7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7937 	CFLAGS="$xorg_testset_save_CFLAGS"
   7938 fi
   7939 
   7940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7943 	fi
   7944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7948   $as_echo_n "(cached) " >&6
   7949 else
   7950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7951 /* end confdefs.h.  */
   7952 int i;
   7953 _ACEOF
   7954 if ac_fn_c_try_compile "$LINENO"; then :
   7955   xorg_cv_cc_flag_unused_command_line_argument=yes
   7956 else
   7957   xorg_cv_cc_flag_unused_command_line_argument=no
   7958 fi
   7959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7960 fi
   7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7964 	CFLAGS="$xorg_testset_save_CFLAGS"
   7965 fi
   7966 
   7967 found="no"
   7968 
   7969 	if test $found = "no" ; then
   7970 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 		fi
   7973 
   7974 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7976 		fi
   7977 
   7978 		CFLAGS="$CFLAGS -Werror=write-strings"
   7979 
   7980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   7981 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   7982 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7983 		if eval \${$cacheid+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 int i;
   7989 int
   7990 main ()
   7991 {
   7992 
   7993   ;
   7994   return 0;
   7995 }
   7996 _ACEOF
   7997 if ac_fn_c_try_link "$LINENO"; then :
   7998   eval $cacheid=yes
   7999 else
   8000   eval $cacheid=no
   8001 fi
   8002 rm -f core conftest.err conftest.$ac_objext \
   8003     conftest$ac_exeext conftest.$ac_ext
   8004 fi
   8005 
   8006 
   8007 		CFLAGS="$xorg_testset_save_CFLAGS"
   8008 
   8009 		eval supported=\$$cacheid
   8010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8011 $as_echo "$supported" >&6; }
   8012 		if test "$supported" = "yes" ; then
   8013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8014 			found="yes"
   8015 		fi
   8016 	fi
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 xorg_testset_save_CFLAGS="$CFLAGS"
   8033 
   8034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8039   $as_echo_n "(cached) " >&6
   8040 else
   8041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 _ACEOF
   8045 if ac_fn_c_try_compile "$LINENO"; then :
   8046   xorg_cv_cc_flag_unknown_warning_option=yes
   8047 else
   8048   xorg_cv_cc_flag_unknown_warning_option=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8051 fi
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	fi
   8062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8066   $as_echo_n "(cached) " >&6
   8067 else
   8068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"; then :
   8073   xorg_cv_cc_flag_unused_command_line_argument=yes
   8074 else
   8075   xorg_cv_cc_flag_unused_command_line_argument=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8078 fi
   8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8082 	CFLAGS="$xorg_testset_save_CFLAGS"
   8083 fi
   8084 
   8085 found="no"
   8086 
   8087 	if test $found = "no" ; then
   8088 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 		fi
   8091 
   8092 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8094 		fi
   8095 
   8096 		CFLAGS="$CFLAGS -Werror=address"
   8097 
   8098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   8099 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   8100 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8101 		if eval \${$cacheid+:} false; then :
   8102   $as_echo_n "(cached) " >&6
   8103 else
   8104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 int
   8108 main ()
   8109 {
   8110 
   8111   ;
   8112   return 0;
   8113 }
   8114 _ACEOF
   8115 if ac_fn_c_try_link "$LINENO"; then :
   8116   eval $cacheid=yes
   8117 else
   8118   eval $cacheid=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext \
   8121     conftest$ac_exeext conftest.$ac_ext
   8122 fi
   8123 
   8124 
   8125 		CFLAGS="$xorg_testset_save_CFLAGS"
   8126 
   8127 		eval supported=\$$cacheid
   8128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8129 $as_echo "$supported" >&6; }
   8130 		if test "$supported" = "yes" ; then
   8131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8132 			found="yes"
   8133 		fi
   8134 	fi
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 xorg_testset_save_CFLAGS="$CFLAGS"
   8151 
   8152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8160 /* end confdefs.h.  */
   8161 int i;
   8162 _ACEOF
   8163 if ac_fn_c_try_compile "$LINENO"; then :
   8164   xorg_cv_cc_flag_unknown_warning_option=yes
   8165 else
   8166   xorg_cv_cc_flag_unknown_warning_option=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8169 fi
   8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8173 	CFLAGS="$xorg_testset_save_CFLAGS"
   8174 fi
   8175 
   8176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8179 	fi
   8180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 _ACEOF
   8190 if ac_fn_c_try_compile "$LINENO"; then :
   8191   xorg_cv_cc_flag_unused_command_line_argument=yes
   8192 else
   8193   xorg_cv_cc_flag_unused_command_line_argument=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8196 fi
   8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8200 	CFLAGS="$xorg_testset_save_CFLAGS"
   8201 fi
   8202 
   8203 found="no"
   8204 
   8205 	if test $found = "no" ; then
   8206 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 		fi
   8209 
   8210 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8212 		fi
   8213 
   8214 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8215 
   8216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   8217 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   8218 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8219 		if eval \${$cacheid+:} false; then :
   8220   $as_echo_n "(cached) " >&6
   8221 else
   8222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8223 /* end confdefs.h.  */
   8224 int i;
   8225 int
   8226 main ()
   8227 {
   8228 
   8229   ;
   8230   return 0;
   8231 }
   8232 _ACEOF
   8233 if ac_fn_c_try_link "$LINENO"; then :
   8234   eval $cacheid=yes
   8235 else
   8236   eval $cacheid=no
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext \
   8239     conftest$ac_exeext conftest.$ac_ext
   8240 fi
   8241 
   8242 
   8243 		CFLAGS="$xorg_testset_save_CFLAGS"
   8244 
   8245 		eval supported=\$$cacheid
   8246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8247 $as_echo "$supported" >&6; }
   8248 		if test "$supported" = "yes" ; then
   8249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8250 			found="yes"
   8251 		fi
   8252 	fi
   8253 
   8254 	if test $found = "no" ; then
   8255 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8257 		fi
   8258 
   8259 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8261 		fi
   8262 
   8263 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8264 
   8265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8266 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8267 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8268 		if eval \${$cacheid+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 int
   8275 main ()
   8276 {
   8277 
   8278   ;
   8279   return 0;
   8280 }
   8281 _ACEOF
   8282 if ac_fn_c_try_link "$LINENO"; then :
   8283   eval $cacheid=yes
   8284 else
   8285   eval $cacheid=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext \
   8288     conftest$ac_exeext conftest.$ac_ext
   8289 fi
   8290 
   8291 
   8292 		CFLAGS="$xorg_testset_save_CFLAGS"
   8293 
   8294 		eval supported=\$$cacheid
   8295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8296 $as_echo "$supported" >&6; }
   8297 		if test "$supported" = "yes" ; then
   8298 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8299 			found="yes"
   8300 		fi
   8301 	fi
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 xorg_testset_save_CFLAGS="$CFLAGS"
   8318 
   8319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8324   $as_echo_n "(cached) " >&6
   8325 else
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"; then :
   8331   xorg_cv_cc_flag_unknown_warning_option=yes
   8332 else
   8333   xorg_cv_cc_flag_unknown_warning_option=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8340 	CFLAGS="$xorg_testset_save_CFLAGS"
   8341 fi
   8342 
   8343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8346 	fi
   8347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8351   $as_echo_n "(cached) " >&6
   8352 else
   8353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8354 /* end confdefs.h.  */
   8355 int i;
   8356 _ACEOF
   8357 if ac_fn_c_try_compile "$LINENO"; then :
   8358   xorg_cv_cc_flag_unused_command_line_argument=yes
   8359 else
   8360   xorg_cv_cc_flag_unused_command_line_argument=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8363 fi
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8367 	CFLAGS="$xorg_testset_save_CFLAGS"
   8368 fi
   8369 
   8370 found="no"
   8371 
   8372 	if test $found = "no" ; then
   8373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8375 		fi
   8376 
   8377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8379 		fi
   8380 
   8381 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8382 
   8383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   8384 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   8385 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8386 		if eval \${$cacheid+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 int
   8393 main ()
   8394 {
   8395 
   8396   ;
   8397   return 0;
   8398 }
   8399 _ACEOF
   8400 if ac_fn_c_try_link "$LINENO"; then :
   8401   eval $cacheid=yes
   8402 else
   8403   eval $cacheid=no
   8404 fi
   8405 rm -f core conftest.err conftest.$ac_objext \
   8406     conftest$ac_exeext conftest.$ac_ext
   8407 fi
   8408 
   8409 
   8410 		CFLAGS="$xorg_testset_save_CFLAGS"
   8411 
   8412 		eval supported=\$$cacheid
   8413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8414 $as_echo "$supported" >&6; }
   8415 		if test "$supported" = "yes" ; then
   8416 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8417 			found="yes"
   8418 		fi
   8419 	fi
   8420 
   8421  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8422 else
   8423 { $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
   8424 $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;}
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 xorg_testset_save_CFLAGS="$CFLAGS"
   8439 
   8440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8443 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8444 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 _ACEOF
   8451 if ac_fn_c_try_compile "$LINENO"; then :
   8452   xorg_cv_cc_flag_unknown_warning_option=yes
   8453 else
   8454   xorg_cv_cc_flag_unknown_warning_option=no
   8455 fi
   8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8457 fi
   8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8459 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8461 	CFLAGS="$xorg_testset_save_CFLAGS"
   8462 fi
   8463 
   8464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8467 	fi
   8468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8470 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8471 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8472   $as_echo_n "(cached) " >&6
   8473 else
   8474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8475 /* end confdefs.h.  */
   8476 int i;
   8477 _ACEOF
   8478 if ac_fn_c_try_compile "$LINENO"; then :
   8479   xorg_cv_cc_flag_unused_command_line_argument=yes
   8480 else
   8481   xorg_cv_cc_flag_unused_command_line_argument=no
   8482 fi
   8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8484 fi
   8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8486 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8488 	CFLAGS="$xorg_testset_save_CFLAGS"
   8489 fi
   8490 
   8491 found="no"
   8492 
   8493 	if test $found = "no" ; then
   8494 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8496 		fi
   8497 
   8498 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8500 		fi
   8501 
   8502 		CFLAGS="$CFLAGS -Wimplicit"
   8503 
   8504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   8505 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   8506 		cacheid=xorg_cv_cc_flag__Wimplicit
   8507 		if eval \${$cacheid+:} false; then :
   8508   $as_echo_n "(cached) " >&6
   8509 else
   8510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8511 /* end confdefs.h.  */
   8512 int i;
   8513 int
   8514 main ()
   8515 {
   8516 
   8517   ;
   8518   return 0;
   8519 }
   8520 _ACEOF
   8521 if ac_fn_c_try_link "$LINENO"; then :
   8522   eval $cacheid=yes
   8523 else
   8524   eval $cacheid=no
   8525 fi
   8526 rm -f core conftest.err conftest.$ac_objext \
   8527     conftest$ac_exeext conftest.$ac_ext
   8528 fi
   8529 
   8530 
   8531 		CFLAGS="$xorg_testset_save_CFLAGS"
   8532 
   8533 		eval supported=\$$cacheid
   8534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8535 $as_echo "$supported" >&6; }
   8536 		if test "$supported" = "yes" ; then
   8537 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8538 			found="yes"
   8539 		fi
   8540 	fi
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 xorg_testset_save_CFLAGS="$CFLAGS"
   8557 
   8558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8563   $as_echo_n "(cached) " >&6
   8564 else
   8565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8566 /* end confdefs.h.  */
   8567 int i;
   8568 _ACEOF
   8569 if ac_fn_c_try_compile "$LINENO"; then :
   8570   xorg_cv_cc_flag_unknown_warning_option=yes
   8571 else
   8572   xorg_cv_cc_flag_unknown_warning_option=no
   8573 fi
   8574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8575 fi
   8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8579 	CFLAGS="$xorg_testset_save_CFLAGS"
   8580 fi
   8581 
   8582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8585 	fi
   8586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8590   $as_echo_n "(cached) " >&6
   8591 else
   8592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8593 /* end confdefs.h.  */
   8594 int i;
   8595 _ACEOF
   8596 if ac_fn_c_try_compile "$LINENO"; then :
   8597   xorg_cv_cc_flag_unused_command_line_argument=yes
   8598 else
   8599   xorg_cv_cc_flag_unused_command_line_argument=no
   8600 fi
   8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8602 fi
   8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8606 	CFLAGS="$xorg_testset_save_CFLAGS"
   8607 fi
   8608 
   8609 found="no"
   8610 
   8611 	if test $found = "no" ; then
   8612 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8614 		fi
   8615 
   8616 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8618 		fi
   8619 
   8620 		CFLAGS="$CFLAGS -Wnonnull"
   8621 
   8622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   8623 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   8624 		cacheid=xorg_cv_cc_flag__Wnonnull
   8625 		if eval \${$cacheid+:} false; then :
   8626   $as_echo_n "(cached) " >&6
   8627 else
   8628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8629 /* end confdefs.h.  */
   8630 int i;
   8631 int
   8632 main ()
   8633 {
   8634 
   8635   ;
   8636   return 0;
   8637 }
   8638 _ACEOF
   8639 if ac_fn_c_try_link "$LINENO"; then :
   8640   eval $cacheid=yes
   8641 else
   8642   eval $cacheid=no
   8643 fi
   8644 rm -f core conftest.err conftest.$ac_objext \
   8645     conftest$ac_exeext conftest.$ac_ext
   8646 fi
   8647 
   8648 
   8649 		CFLAGS="$xorg_testset_save_CFLAGS"
   8650 
   8651 		eval supported=\$$cacheid
   8652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8653 $as_echo "$supported" >&6; }
   8654 		if test "$supported" = "yes" ; then
   8655 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8656 			found="yes"
   8657 		fi
   8658 	fi
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 xorg_testset_save_CFLAGS="$CFLAGS"
   8675 
   8676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8681   $as_echo_n "(cached) " >&6
   8682 else
   8683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8684 /* end confdefs.h.  */
   8685 int i;
   8686 _ACEOF
   8687 if ac_fn_c_try_compile "$LINENO"; then :
   8688   xorg_cv_cc_flag_unknown_warning_option=yes
   8689 else
   8690   xorg_cv_cc_flag_unknown_warning_option=no
   8691 fi
   8692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8693 fi
   8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8697 	CFLAGS="$xorg_testset_save_CFLAGS"
   8698 fi
   8699 
   8700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8703 	fi
   8704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8708   $as_echo_n "(cached) " >&6
   8709 else
   8710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8711 /* end confdefs.h.  */
   8712 int i;
   8713 _ACEOF
   8714 if ac_fn_c_try_compile "$LINENO"; then :
   8715   xorg_cv_cc_flag_unused_command_line_argument=yes
   8716 else
   8717   xorg_cv_cc_flag_unused_command_line_argument=no
   8718 fi
   8719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8720 fi
   8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8724 	CFLAGS="$xorg_testset_save_CFLAGS"
   8725 fi
   8726 
   8727 found="no"
   8728 
   8729 	if test $found = "no" ; then
   8730 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 		fi
   8733 
   8734 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8736 		fi
   8737 
   8738 		CFLAGS="$CFLAGS -Winit-self"
   8739 
   8740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   8741 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   8742 		cacheid=xorg_cv_cc_flag__Winit_self
   8743 		if eval \${$cacheid+:} false; then :
   8744   $as_echo_n "(cached) " >&6
   8745 else
   8746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8747 /* end confdefs.h.  */
   8748 int i;
   8749 int
   8750 main ()
   8751 {
   8752 
   8753   ;
   8754   return 0;
   8755 }
   8756 _ACEOF
   8757 if ac_fn_c_try_link "$LINENO"; then :
   8758   eval $cacheid=yes
   8759 else
   8760   eval $cacheid=no
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext \
   8763     conftest$ac_exeext conftest.$ac_ext
   8764 fi
   8765 
   8766 
   8767 		CFLAGS="$xorg_testset_save_CFLAGS"
   8768 
   8769 		eval supported=\$$cacheid
   8770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8771 $as_echo "$supported" >&6; }
   8772 		if test "$supported" = "yes" ; then
   8773 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8774 			found="yes"
   8775 		fi
   8776 	fi
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 xorg_testset_save_CFLAGS="$CFLAGS"
   8793 
   8794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8799   $as_echo_n "(cached) " >&6
   8800 else
   8801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 _ACEOF
   8805 if ac_fn_c_try_compile "$LINENO"; then :
   8806   xorg_cv_cc_flag_unknown_warning_option=yes
   8807 else
   8808   xorg_cv_cc_flag_unknown_warning_option=no
   8809 fi
   8810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8811 fi
   8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8815 	CFLAGS="$xorg_testset_save_CFLAGS"
   8816 fi
   8817 
   8818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8821 	fi
   8822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8826   $as_echo_n "(cached) " >&6
   8827 else
   8828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8829 /* end confdefs.h.  */
   8830 int i;
   8831 _ACEOF
   8832 if ac_fn_c_try_compile "$LINENO"; then :
   8833   xorg_cv_cc_flag_unused_command_line_argument=yes
   8834 else
   8835   xorg_cv_cc_flag_unused_command_line_argument=no
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8838 fi
   8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8842 	CFLAGS="$xorg_testset_save_CFLAGS"
   8843 fi
   8844 
   8845 found="no"
   8846 
   8847 	if test $found = "no" ; then
   8848 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8850 		fi
   8851 
   8852 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8854 		fi
   8855 
   8856 		CFLAGS="$CFLAGS -Wmain"
   8857 
   8858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   8859 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   8860 		cacheid=xorg_cv_cc_flag__Wmain
   8861 		if eval \${$cacheid+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8865 /* end confdefs.h.  */
   8866 int i;
   8867 int
   8868 main ()
   8869 {
   8870 
   8871   ;
   8872   return 0;
   8873 }
   8874 _ACEOF
   8875 if ac_fn_c_try_link "$LINENO"; then :
   8876   eval $cacheid=yes
   8877 else
   8878   eval $cacheid=no
   8879 fi
   8880 rm -f core conftest.err conftest.$ac_objext \
   8881     conftest$ac_exeext conftest.$ac_ext
   8882 fi
   8883 
   8884 
   8885 		CFLAGS="$xorg_testset_save_CFLAGS"
   8886 
   8887 		eval supported=\$$cacheid
   8888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8889 $as_echo "$supported" >&6; }
   8890 		if test "$supported" = "yes" ; then
   8891 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8892 			found="yes"
   8893 		fi
   8894 	fi
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 xorg_testset_save_CFLAGS="$CFLAGS"
   8911 
   8912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8917   $as_echo_n "(cached) " >&6
   8918 else
   8919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 _ACEOF
   8923 if ac_fn_c_try_compile "$LINENO"; then :
   8924   xorg_cv_cc_flag_unknown_warning_option=yes
   8925 else
   8926   xorg_cv_cc_flag_unknown_warning_option=no
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8929 fi
   8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8933 	CFLAGS="$xorg_testset_save_CFLAGS"
   8934 fi
   8935 
   8936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8939 	fi
   8940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8944   $as_echo_n "(cached) " >&6
   8945 else
   8946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8947 /* end confdefs.h.  */
   8948 int i;
   8949 _ACEOF
   8950 if ac_fn_c_try_compile "$LINENO"; then :
   8951   xorg_cv_cc_flag_unused_command_line_argument=yes
   8952 else
   8953   xorg_cv_cc_flag_unused_command_line_argument=no
   8954 fi
   8955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8956 fi
   8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8960 	CFLAGS="$xorg_testset_save_CFLAGS"
   8961 fi
   8962 
   8963 found="no"
   8964 
   8965 	if test $found = "no" ; then
   8966 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 		fi
   8969 
   8970 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8972 		fi
   8973 
   8974 		CFLAGS="$CFLAGS -Wmissing-braces"
   8975 
   8976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   8977 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   8978 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8979 		if eval \${$cacheid+:} false; then :
   8980   $as_echo_n "(cached) " >&6
   8981 else
   8982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8983 /* end confdefs.h.  */
   8984 int i;
   8985 int
   8986 main ()
   8987 {
   8988 
   8989   ;
   8990   return 0;
   8991 }
   8992 _ACEOF
   8993 if ac_fn_c_try_link "$LINENO"; then :
   8994   eval $cacheid=yes
   8995 else
   8996   eval $cacheid=no
   8997 fi
   8998 rm -f core conftest.err conftest.$ac_objext \
   8999     conftest$ac_exeext conftest.$ac_ext
   9000 fi
   9001 
   9002 
   9003 		CFLAGS="$xorg_testset_save_CFLAGS"
   9004 
   9005 		eval supported=\$$cacheid
   9006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9007 $as_echo "$supported" >&6; }
   9008 		if test "$supported" = "yes" ; then
   9009 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9010 			found="yes"
   9011 		fi
   9012 	fi
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 xorg_testset_save_CFLAGS="$CFLAGS"
   9029 
   9030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9035   $as_echo_n "(cached) " >&6
   9036 else
   9037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9038 /* end confdefs.h.  */
   9039 int i;
   9040 _ACEOF
   9041 if ac_fn_c_try_compile "$LINENO"; then :
   9042   xorg_cv_cc_flag_unknown_warning_option=yes
   9043 else
   9044   xorg_cv_cc_flag_unknown_warning_option=no
   9045 fi
   9046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9047 fi
   9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9051 	CFLAGS="$xorg_testset_save_CFLAGS"
   9052 fi
   9053 
   9054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9057 	fi
   9058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9062   $as_echo_n "(cached) " >&6
   9063 else
   9064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9065 /* end confdefs.h.  */
   9066 int i;
   9067 _ACEOF
   9068 if ac_fn_c_try_compile "$LINENO"; then :
   9069   xorg_cv_cc_flag_unused_command_line_argument=yes
   9070 else
   9071   xorg_cv_cc_flag_unused_command_line_argument=no
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9074 fi
   9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9078 	CFLAGS="$xorg_testset_save_CFLAGS"
   9079 fi
   9080 
   9081 found="no"
   9082 
   9083 	if test $found = "no" ; then
   9084 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 		fi
   9087 
   9088 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9090 		fi
   9091 
   9092 		CFLAGS="$CFLAGS -Wsequence-point"
   9093 
   9094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   9095 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   9096 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9097 		if eval \${$cacheid+:} false; then :
   9098   $as_echo_n "(cached) " >&6
   9099 else
   9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 int
   9104 main ()
   9105 {
   9106 
   9107   ;
   9108   return 0;
   9109 }
   9110 _ACEOF
   9111 if ac_fn_c_try_link "$LINENO"; then :
   9112   eval $cacheid=yes
   9113 else
   9114   eval $cacheid=no
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext \
   9117     conftest$ac_exeext conftest.$ac_ext
   9118 fi
   9119 
   9120 
   9121 		CFLAGS="$xorg_testset_save_CFLAGS"
   9122 
   9123 		eval supported=\$$cacheid
   9124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9125 $as_echo "$supported" >&6; }
   9126 		if test "$supported" = "yes" ; then
   9127 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9128 			found="yes"
   9129 		fi
   9130 	fi
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 xorg_testset_save_CFLAGS="$CFLAGS"
   9147 
   9148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9153   $as_echo_n "(cached) " >&6
   9154 else
   9155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9156 /* end confdefs.h.  */
   9157 int i;
   9158 _ACEOF
   9159 if ac_fn_c_try_compile "$LINENO"; then :
   9160   xorg_cv_cc_flag_unknown_warning_option=yes
   9161 else
   9162   xorg_cv_cc_flag_unknown_warning_option=no
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9165 fi
   9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9169 	CFLAGS="$xorg_testset_save_CFLAGS"
   9170 fi
   9171 
   9172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9175 	fi
   9176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9180   $as_echo_n "(cached) " >&6
   9181 else
   9182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9183 /* end confdefs.h.  */
   9184 int i;
   9185 _ACEOF
   9186 if ac_fn_c_try_compile "$LINENO"; then :
   9187   xorg_cv_cc_flag_unused_command_line_argument=yes
   9188 else
   9189   xorg_cv_cc_flag_unused_command_line_argument=no
   9190 fi
   9191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9192 fi
   9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9196 	CFLAGS="$xorg_testset_save_CFLAGS"
   9197 fi
   9198 
   9199 found="no"
   9200 
   9201 	if test $found = "no" ; then
   9202 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 		fi
   9205 
   9206 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9208 		fi
   9209 
   9210 		CFLAGS="$CFLAGS -Wreturn-type"
   9211 
   9212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   9213 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   9214 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9215 		if eval \${$cacheid+:} false; then :
   9216   $as_echo_n "(cached) " >&6
   9217 else
   9218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9219 /* end confdefs.h.  */
   9220 int i;
   9221 int
   9222 main ()
   9223 {
   9224 
   9225   ;
   9226   return 0;
   9227 }
   9228 _ACEOF
   9229 if ac_fn_c_try_link "$LINENO"; then :
   9230   eval $cacheid=yes
   9231 else
   9232   eval $cacheid=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext \
   9235     conftest$ac_exeext conftest.$ac_ext
   9236 fi
   9237 
   9238 
   9239 		CFLAGS="$xorg_testset_save_CFLAGS"
   9240 
   9241 		eval supported=\$$cacheid
   9242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9243 $as_echo "$supported" >&6; }
   9244 		if test "$supported" = "yes" ; then
   9245 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9246 			found="yes"
   9247 		fi
   9248 	fi
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 xorg_testset_save_CFLAGS="$CFLAGS"
   9265 
   9266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9271   $as_echo_n "(cached) " >&6
   9272 else
   9273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 _ACEOF
   9277 if ac_fn_c_try_compile "$LINENO"; then :
   9278   xorg_cv_cc_flag_unknown_warning_option=yes
   9279 else
   9280   xorg_cv_cc_flag_unknown_warning_option=no
   9281 fi
   9282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9283 fi
   9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9287 	CFLAGS="$xorg_testset_save_CFLAGS"
   9288 fi
   9289 
   9290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9293 	fi
   9294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9298   $as_echo_n "(cached) " >&6
   9299 else
   9300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9301 /* end confdefs.h.  */
   9302 int i;
   9303 _ACEOF
   9304 if ac_fn_c_try_compile "$LINENO"; then :
   9305   xorg_cv_cc_flag_unused_command_line_argument=yes
   9306 else
   9307   xorg_cv_cc_flag_unused_command_line_argument=no
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9310 fi
   9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9314 	CFLAGS="$xorg_testset_save_CFLAGS"
   9315 fi
   9316 
   9317 found="no"
   9318 
   9319 	if test $found = "no" ; then
   9320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 		fi
   9323 
   9324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9326 		fi
   9327 
   9328 		CFLAGS="$CFLAGS -Wtrigraphs"
   9329 
   9330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   9331 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   9332 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9333 		if eval \${$cacheid+:} false; then :
   9334   $as_echo_n "(cached) " >&6
   9335 else
   9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9337 /* end confdefs.h.  */
   9338 int i;
   9339 int
   9340 main ()
   9341 {
   9342 
   9343   ;
   9344   return 0;
   9345 }
   9346 _ACEOF
   9347 if ac_fn_c_try_link "$LINENO"; then :
   9348   eval $cacheid=yes
   9349 else
   9350   eval $cacheid=no
   9351 fi
   9352 rm -f core conftest.err conftest.$ac_objext \
   9353     conftest$ac_exeext conftest.$ac_ext
   9354 fi
   9355 
   9356 
   9357 		CFLAGS="$xorg_testset_save_CFLAGS"
   9358 
   9359 		eval supported=\$$cacheid
   9360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9361 $as_echo "$supported" >&6; }
   9362 		if test "$supported" = "yes" ; then
   9363 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9364 			found="yes"
   9365 		fi
   9366 	fi
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 xorg_testset_save_CFLAGS="$CFLAGS"
   9383 
   9384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9389   $as_echo_n "(cached) " >&6
   9390 else
   9391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9392 /* end confdefs.h.  */
   9393 int i;
   9394 _ACEOF
   9395 if ac_fn_c_try_compile "$LINENO"; then :
   9396   xorg_cv_cc_flag_unknown_warning_option=yes
   9397 else
   9398   xorg_cv_cc_flag_unknown_warning_option=no
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9401 fi
   9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9405 	CFLAGS="$xorg_testset_save_CFLAGS"
   9406 fi
   9407 
   9408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9411 	fi
   9412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9416   $as_echo_n "(cached) " >&6
   9417 else
   9418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9419 /* end confdefs.h.  */
   9420 int i;
   9421 _ACEOF
   9422 if ac_fn_c_try_compile "$LINENO"; then :
   9423   xorg_cv_cc_flag_unused_command_line_argument=yes
   9424 else
   9425   xorg_cv_cc_flag_unused_command_line_argument=no
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9428 fi
   9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9432 	CFLAGS="$xorg_testset_save_CFLAGS"
   9433 fi
   9434 
   9435 found="no"
   9436 
   9437 	if test $found = "no" ; then
   9438 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 		fi
   9441 
   9442 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9444 		fi
   9445 
   9446 		CFLAGS="$CFLAGS -Warray-bounds"
   9447 
   9448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   9449 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   9450 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9451 		if eval \${$cacheid+:} false; then :
   9452   $as_echo_n "(cached) " >&6
   9453 else
   9454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9455 /* end confdefs.h.  */
   9456 int i;
   9457 int
   9458 main ()
   9459 {
   9460 
   9461   ;
   9462   return 0;
   9463 }
   9464 _ACEOF
   9465 if ac_fn_c_try_link "$LINENO"; then :
   9466   eval $cacheid=yes
   9467 else
   9468   eval $cacheid=no
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext \
   9471     conftest$ac_exeext conftest.$ac_ext
   9472 fi
   9473 
   9474 
   9475 		CFLAGS="$xorg_testset_save_CFLAGS"
   9476 
   9477 		eval supported=\$$cacheid
   9478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9479 $as_echo "$supported" >&6; }
   9480 		if test "$supported" = "yes" ; then
   9481 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9482 			found="yes"
   9483 		fi
   9484 	fi
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 xorg_testset_save_CFLAGS="$CFLAGS"
   9501 
   9502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9507   $as_echo_n "(cached) " >&6
   9508 else
   9509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"; then :
   9514   xorg_cv_cc_flag_unknown_warning_option=yes
   9515 else
   9516   xorg_cv_cc_flag_unknown_warning_option=no
   9517 fi
   9518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9519 fi
   9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9523 	CFLAGS="$xorg_testset_save_CFLAGS"
   9524 fi
   9525 
   9526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 	fi
   9530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9534   $as_echo_n "(cached) " >&6
   9535 else
   9536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9537 /* end confdefs.h.  */
   9538 int i;
   9539 _ACEOF
   9540 if ac_fn_c_try_compile "$LINENO"; then :
   9541   xorg_cv_cc_flag_unused_command_line_argument=yes
   9542 else
   9543   xorg_cv_cc_flag_unused_command_line_argument=no
   9544 fi
   9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9546 fi
   9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9550 	CFLAGS="$xorg_testset_save_CFLAGS"
   9551 fi
   9552 
   9553 found="no"
   9554 
   9555 	if test $found = "no" ; then
   9556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 		fi
   9559 
   9560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9562 		fi
   9563 
   9564 		CFLAGS="$CFLAGS -Wwrite-strings"
   9565 
   9566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   9567 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   9568 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9569 		if eval \${$cacheid+:} false; then :
   9570   $as_echo_n "(cached) " >&6
   9571 else
   9572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 int
   9576 main ()
   9577 {
   9578 
   9579   ;
   9580   return 0;
   9581 }
   9582 _ACEOF
   9583 if ac_fn_c_try_link "$LINENO"; then :
   9584   eval $cacheid=yes
   9585 else
   9586   eval $cacheid=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext \
   9589     conftest$ac_exeext conftest.$ac_ext
   9590 fi
   9591 
   9592 
   9593 		CFLAGS="$xorg_testset_save_CFLAGS"
   9594 
   9595 		eval supported=\$$cacheid
   9596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9597 $as_echo "$supported" >&6; }
   9598 		if test "$supported" = "yes" ; then
   9599 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9600 			found="yes"
   9601 		fi
   9602 	fi
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 xorg_testset_save_CFLAGS="$CFLAGS"
   9619 
   9620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9625   $as_echo_n "(cached) " >&6
   9626 else
   9627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9628 /* end confdefs.h.  */
   9629 int i;
   9630 _ACEOF
   9631 if ac_fn_c_try_compile "$LINENO"; then :
   9632   xorg_cv_cc_flag_unknown_warning_option=yes
   9633 else
   9634   xorg_cv_cc_flag_unknown_warning_option=no
   9635 fi
   9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9637 fi
   9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9641 	CFLAGS="$xorg_testset_save_CFLAGS"
   9642 fi
   9643 
   9644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9647 	fi
   9648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9652   $as_echo_n "(cached) " >&6
   9653 else
   9654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9655 /* end confdefs.h.  */
   9656 int i;
   9657 _ACEOF
   9658 if ac_fn_c_try_compile "$LINENO"; then :
   9659   xorg_cv_cc_flag_unused_command_line_argument=yes
   9660 else
   9661   xorg_cv_cc_flag_unused_command_line_argument=no
   9662 fi
   9663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9664 fi
   9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9668 	CFLAGS="$xorg_testset_save_CFLAGS"
   9669 fi
   9670 
   9671 found="no"
   9672 
   9673 	if test $found = "no" ; then
   9674 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 		fi
   9677 
   9678 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9680 		fi
   9681 
   9682 		CFLAGS="$CFLAGS -Waddress"
   9683 
   9684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   9685 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   9686 		cacheid=xorg_cv_cc_flag__Waddress
   9687 		if eval \${$cacheid+:} false; then :
   9688   $as_echo_n "(cached) " >&6
   9689 else
   9690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int i;
   9693 int
   9694 main ()
   9695 {
   9696 
   9697   ;
   9698   return 0;
   9699 }
   9700 _ACEOF
   9701 if ac_fn_c_try_link "$LINENO"; then :
   9702   eval $cacheid=yes
   9703 else
   9704   eval $cacheid=no
   9705 fi
   9706 rm -f core conftest.err conftest.$ac_objext \
   9707     conftest$ac_exeext conftest.$ac_ext
   9708 fi
   9709 
   9710 
   9711 		CFLAGS="$xorg_testset_save_CFLAGS"
   9712 
   9713 		eval supported=\$$cacheid
   9714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9715 $as_echo "$supported" >&6; }
   9716 		if test "$supported" = "yes" ; then
   9717 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9718 			found="yes"
   9719 		fi
   9720 	fi
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 xorg_testset_save_CFLAGS="$CFLAGS"
   9737 
   9738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9743   $as_echo_n "(cached) " >&6
   9744 else
   9745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9746 /* end confdefs.h.  */
   9747 int i;
   9748 _ACEOF
   9749 if ac_fn_c_try_compile "$LINENO"; then :
   9750   xorg_cv_cc_flag_unknown_warning_option=yes
   9751 else
   9752   xorg_cv_cc_flag_unknown_warning_option=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9755 fi
   9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9765 	fi
   9766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9770   $as_echo_n "(cached) " >&6
   9771 else
   9772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9773 /* end confdefs.h.  */
   9774 int i;
   9775 _ACEOF
   9776 if ac_fn_c_try_compile "$LINENO"; then :
   9777   xorg_cv_cc_flag_unused_command_line_argument=yes
   9778 else
   9779   xorg_cv_cc_flag_unused_command_line_argument=no
   9780 fi
   9781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9782 fi
   9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9786 	CFLAGS="$xorg_testset_save_CFLAGS"
   9787 fi
   9788 
   9789 found="no"
   9790 
   9791 	if test $found = "no" ; then
   9792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9794 		fi
   9795 
   9796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9798 		fi
   9799 
   9800 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9801 
   9802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   9803 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   9804 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9805 		if eval \${$cacheid+:} false; then :
   9806   $as_echo_n "(cached) " >&6
   9807 else
   9808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9809 /* end confdefs.h.  */
   9810 int i;
   9811 int
   9812 main ()
   9813 {
   9814 
   9815   ;
   9816   return 0;
   9817 }
   9818 _ACEOF
   9819 if ac_fn_c_try_link "$LINENO"; then :
   9820   eval $cacheid=yes
   9821 else
   9822   eval $cacheid=no
   9823 fi
   9824 rm -f core conftest.err conftest.$ac_objext \
   9825     conftest$ac_exeext conftest.$ac_ext
   9826 fi
   9827 
   9828 
   9829 		CFLAGS="$xorg_testset_save_CFLAGS"
   9830 
   9831 		eval supported=\$$cacheid
   9832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9833 $as_echo "$supported" >&6; }
   9834 		if test "$supported" = "yes" ; then
   9835 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9836 			found="yes"
   9837 		fi
   9838 	fi
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 xorg_testset_save_CFLAGS="$CFLAGS"
   9855 
   9856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9861   $as_echo_n "(cached) " >&6
   9862 else
   9863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9864 /* end confdefs.h.  */
   9865 int i;
   9866 _ACEOF
   9867 if ac_fn_c_try_compile "$LINENO"; then :
   9868   xorg_cv_cc_flag_unknown_warning_option=yes
   9869 else
   9870   xorg_cv_cc_flag_unknown_warning_option=no
   9871 fi
   9872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9873 fi
   9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9877 	CFLAGS="$xorg_testset_save_CFLAGS"
   9878 fi
   9879 
   9880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9883 	fi
   9884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9888   $as_echo_n "(cached) " >&6
   9889 else
   9890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9891 /* end confdefs.h.  */
   9892 int i;
   9893 _ACEOF
   9894 if ac_fn_c_try_compile "$LINENO"; then :
   9895   xorg_cv_cc_flag_unused_command_line_argument=yes
   9896 else
   9897   xorg_cv_cc_flag_unused_command_line_argument=no
   9898 fi
   9899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9900 fi
   9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9904 	CFLAGS="$xorg_testset_save_CFLAGS"
   9905 fi
   9906 
   9907 found="no"
   9908 
   9909 	if test $found = "no" ; then
   9910 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9912 		fi
   9913 
   9914 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9916 		fi
   9917 
   9918 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9919 
   9920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   9921 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   9922 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9923 		if eval \${$cacheid+:} false; then :
   9924   $as_echo_n "(cached) " >&6
   9925 else
   9926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9927 /* end confdefs.h.  */
   9928 int i;
   9929 int
   9930 main ()
   9931 {
   9932 
   9933   ;
   9934   return 0;
   9935 }
   9936 _ACEOF
   9937 if ac_fn_c_try_link "$LINENO"; then :
   9938   eval $cacheid=yes
   9939 else
   9940   eval $cacheid=no
   9941 fi
   9942 rm -f core conftest.err conftest.$ac_objext \
   9943     conftest$ac_exeext conftest.$ac_ext
   9944 fi
   9945 
   9946 
   9947 		CFLAGS="$xorg_testset_save_CFLAGS"
   9948 
   9949 		eval supported=\$$cacheid
   9950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9951 $as_echo "$supported" >&6; }
   9952 		if test "$supported" = "yes" ; then
   9953 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9954 			found="yes"
   9955 		fi
   9956 	fi
   9957 
   9958 
   9959 fi
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 		CWARNFLAGS="$BASE_CFLAGS"
   9968 		if  test "x$GCC" = xyes ; then
   9969 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9970 		fi
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 # Check whether --enable-strict-compilation was given.
   9980 if test "${enable_strict_compilation+set}" = set; then :
   9981   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9982 else
   9983   STRICT_COMPILE=no
   9984 fi
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 STRICT_CFLAGS=""
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 xorg_testset_save_CFLAGS="$CFLAGS"
   10006 
   10007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10012   $as_echo_n "(cached) " >&6
   10013 else
   10014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10015 /* end confdefs.h.  */
   10016 int i;
   10017 _ACEOF
   10018 if ac_fn_c_try_compile "$LINENO"; then :
   10019   xorg_cv_cc_flag_unknown_warning_option=yes
   10020 else
   10021   xorg_cv_cc_flag_unknown_warning_option=no
   10022 fi
   10023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10024 fi
   10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10028 	CFLAGS="$xorg_testset_save_CFLAGS"
   10029 fi
   10030 
   10031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10034 	fi
   10035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10039   $as_echo_n "(cached) " >&6
   10040 else
   10041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10042 /* end confdefs.h.  */
   10043 int i;
   10044 _ACEOF
   10045 if ac_fn_c_try_compile "$LINENO"; then :
   10046   xorg_cv_cc_flag_unused_command_line_argument=yes
   10047 else
   10048   xorg_cv_cc_flag_unused_command_line_argument=no
   10049 fi
   10050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10051 fi
   10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10055 	CFLAGS="$xorg_testset_save_CFLAGS"
   10056 fi
   10057 
   10058 found="no"
   10059 
   10060 	if test $found = "no" ; then
   10061 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10063 		fi
   10064 
   10065 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10067 		fi
   10068 
   10069 		CFLAGS="$CFLAGS -pedantic"
   10070 
   10071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   10072 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   10073 		cacheid=xorg_cv_cc_flag__pedantic
   10074 		if eval \${$cacheid+:} false; then :
   10075   $as_echo_n "(cached) " >&6
   10076 else
   10077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10078 /* end confdefs.h.  */
   10079 int i;
   10080 int
   10081 main ()
   10082 {
   10083 
   10084   ;
   10085   return 0;
   10086 }
   10087 _ACEOF
   10088 if ac_fn_c_try_link "$LINENO"; then :
   10089   eval $cacheid=yes
   10090 else
   10091   eval $cacheid=no
   10092 fi
   10093 rm -f core conftest.err conftest.$ac_objext \
   10094     conftest$ac_exeext conftest.$ac_ext
   10095 fi
   10096 
   10097 
   10098 		CFLAGS="$xorg_testset_save_CFLAGS"
   10099 
   10100 		eval supported=\$$cacheid
   10101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10102 $as_echo "$supported" >&6; }
   10103 		if test "$supported" = "yes" ; then
   10104 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10105 			found="yes"
   10106 		fi
   10107 	fi
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 xorg_testset_save_CFLAGS="$CFLAGS"
   10124 
   10125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10130   $as_echo_n "(cached) " >&6
   10131 else
   10132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10133 /* end confdefs.h.  */
   10134 int i;
   10135 _ACEOF
   10136 if ac_fn_c_try_compile "$LINENO"; then :
   10137   xorg_cv_cc_flag_unknown_warning_option=yes
   10138 else
   10139   xorg_cv_cc_flag_unknown_warning_option=no
   10140 fi
   10141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10142 fi
   10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10146 	CFLAGS="$xorg_testset_save_CFLAGS"
   10147 fi
   10148 
   10149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10152 	fi
   10153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10157   $as_echo_n "(cached) " >&6
   10158 else
   10159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 _ACEOF
   10163 if ac_fn_c_try_compile "$LINENO"; then :
   10164   xorg_cv_cc_flag_unused_command_line_argument=yes
   10165 else
   10166   xorg_cv_cc_flag_unused_command_line_argument=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10169 fi
   10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10173 	CFLAGS="$xorg_testset_save_CFLAGS"
   10174 fi
   10175 
   10176 found="no"
   10177 
   10178 	if test $found = "no" ; then
   10179 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10181 		fi
   10182 
   10183 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10185 		fi
   10186 
   10187 		CFLAGS="$CFLAGS -Werror"
   10188 
   10189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   10190 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   10191 		cacheid=xorg_cv_cc_flag__Werror
   10192 		if eval \${$cacheid+:} false; then :
   10193   $as_echo_n "(cached) " >&6
   10194 else
   10195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10196 /* end confdefs.h.  */
   10197 int i;
   10198 int
   10199 main ()
   10200 {
   10201 
   10202   ;
   10203   return 0;
   10204 }
   10205 _ACEOF
   10206 if ac_fn_c_try_link "$LINENO"; then :
   10207   eval $cacheid=yes
   10208 else
   10209   eval $cacheid=no
   10210 fi
   10211 rm -f core conftest.err conftest.$ac_objext \
   10212     conftest$ac_exeext conftest.$ac_ext
   10213 fi
   10214 
   10215 
   10216 		CFLAGS="$xorg_testset_save_CFLAGS"
   10217 
   10218 		eval supported=\$$cacheid
   10219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10220 $as_echo "$supported" >&6; }
   10221 		if test "$supported" = "yes" ; then
   10222 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10223 			found="yes"
   10224 		fi
   10225 	fi
   10226 
   10227 	if test $found = "no" ; then
   10228 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10230 		fi
   10231 
   10232 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10234 		fi
   10235 
   10236 		CFLAGS="$CFLAGS -errwarn"
   10237 
   10238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   10239 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   10240 		cacheid=xorg_cv_cc_flag__errwarn
   10241 		if eval \${$cacheid+:} false; then :
   10242   $as_echo_n "(cached) " >&6
   10243 else
   10244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10245 /* end confdefs.h.  */
   10246 int i;
   10247 int
   10248 main ()
   10249 {
   10250 
   10251   ;
   10252   return 0;
   10253 }
   10254 _ACEOF
   10255 if ac_fn_c_try_link "$LINENO"; then :
   10256   eval $cacheid=yes
   10257 else
   10258   eval $cacheid=no
   10259 fi
   10260 rm -f core conftest.err conftest.$ac_objext \
   10261     conftest$ac_exeext conftest.$ac_ext
   10262 fi
   10263 
   10264 
   10265 		CFLAGS="$xorg_testset_save_CFLAGS"
   10266 
   10267 		eval supported=\$$cacheid
   10268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10269 $as_echo "$supported" >&6; }
   10270 		if test "$supported" = "yes" ; then
   10271 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10272 			found="yes"
   10273 		fi
   10274 	fi
   10275 
   10276 
   10277 
   10278 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10279 # activate it with -Werror, so we add it here explicitly.
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 xorg_testset_save_CFLAGS="$CFLAGS"
   10294 
   10295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10300   $as_echo_n "(cached) " >&6
   10301 else
   10302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10303 /* end confdefs.h.  */
   10304 int i;
   10305 _ACEOF
   10306 if ac_fn_c_try_compile "$LINENO"; then :
   10307   xorg_cv_cc_flag_unknown_warning_option=yes
   10308 else
   10309   xorg_cv_cc_flag_unknown_warning_option=no
   10310 fi
   10311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10312 fi
   10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10316 	CFLAGS="$xorg_testset_save_CFLAGS"
   10317 fi
   10318 
   10319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 	fi
   10323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10330 /* end confdefs.h.  */
   10331 int i;
   10332 _ACEOF
   10333 if ac_fn_c_try_compile "$LINENO"; then :
   10334   xorg_cv_cc_flag_unused_command_line_argument=yes
   10335 else
   10336   xorg_cv_cc_flag_unused_command_line_argument=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10339 fi
   10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 found="no"
   10347 
   10348 	if test $found = "no" ; then
   10349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 		fi
   10352 
   10353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 		fi
   10356 
   10357 		CFLAGS="$CFLAGS -Werror=attributes"
   10358 
   10359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   10360 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   10361 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10362 		if eval \${$cacheid+:} false; then :
   10363   $as_echo_n "(cached) " >&6
   10364 else
   10365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10366 /* end confdefs.h.  */
   10367 int i;
   10368 int
   10369 main ()
   10370 {
   10371 
   10372   ;
   10373   return 0;
   10374 }
   10375 _ACEOF
   10376 if ac_fn_c_try_link "$LINENO"; then :
   10377   eval $cacheid=yes
   10378 else
   10379   eval $cacheid=no
   10380 fi
   10381 rm -f core conftest.err conftest.$ac_objext \
   10382     conftest$ac_exeext conftest.$ac_ext
   10383 fi
   10384 
   10385 
   10386 		CFLAGS="$xorg_testset_save_CFLAGS"
   10387 
   10388 		eval supported=\$$cacheid
   10389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10390 $as_echo "$supported" >&6; }
   10391 		if test "$supported" = "yes" ; then
   10392 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10393 			found="yes"
   10394 		fi
   10395 	fi
   10396 
   10397 
   10398 
   10399 if test "x$STRICT_COMPILE" = "xyes"; then
   10400     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10401     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10402 fi
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 cat >>confdefs.h <<_ACEOF
   10410 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10411 _ACEOF
   10412 
   10413 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10414 	if test "x$PVM" = "x"; then
   10415 		PVM="0"
   10416 	fi
   10417 
   10418 cat >>confdefs.h <<_ACEOF
   10419 #define PACKAGE_VERSION_MINOR $PVM
   10420 _ACEOF
   10421 
   10422 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10423 	if test "x$PVP" = "x"; then
   10424 		PVP="0"
   10425 	fi
   10426 
   10427 cat >>confdefs.h <<_ACEOF
   10428 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10429 _ACEOF
   10430 
   10431 
   10432 
   10433 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10434 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10435 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10436 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10437 
   10438 
   10439 
   10440 
   10441 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10442 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10443 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10444 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10445 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 if test x$APP_MAN_SUFFIX = x    ; then
   10453     APP_MAN_SUFFIX=1
   10454 fi
   10455 if test x$APP_MAN_DIR = x    ; then
   10456     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10457 fi
   10458 
   10459 if test x$LIB_MAN_SUFFIX = x    ; then
   10460     LIB_MAN_SUFFIX=3
   10461 fi
   10462 if test x$LIB_MAN_DIR = x    ; then
   10463     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10464 fi
   10465 
   10466 if test x$FILE_MAN_SUFFIX = x    ; then
   10467     case $host_os in
   10468 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10469 	*)		FILE_MAN_SUFFIX=5  ;;
   10470     esac
   10471 fi
   10472 if test x$FILE_MAN_DIR = x    ; then
   10473     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10474 fi
   10475 
   10476 if test x$MISC_MAN_SUFFIX = x    ; then
   10477     case $host_os in
   10478 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10479 	*)		MISC_MAN_SUFFIX=7  ;;
   10480     esac
   10481 fi
   10482 if test x$MISC_MAN_DIR = x    ; then
   10483     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10484 fi
   10485 
   10486 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10487     case $host_os in
   10488 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10489 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10490     esac
   10491 fi
   10492 if test x$DRIVER_MAN_DIR = x    ; then
   10493     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10494 fi
   10495 
   10496 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10497     case $host_os in
   10498 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10499 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10500     esac
   10501 fi
   10502 if test x$ADMIN_MAN_DIR = x    ; then
   10503     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10504 fi
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 XORG_MAN_PAGE="X Version 11"
   10521 
   10522 MAN_SUBSTS="\
   10523 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10524 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10525 	-e 's|__xservername__|Xorg|g' \
   10526 	-e 's|__xconfigfile__|xorg.conf|g' \
   10527 	-e 's|__projectroot__|\$(prefix)|g' \
   10528 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10529 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10530 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10531 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10532 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10533 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10534 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10535 
   10536 
   10537 
   10538 # Check whether --enable-silent-rules was given.
   10539 if test "${enable_silent_rules+set}" = set; then :
   10540   enableval=$enable_silent_rules;
   10541 fi
   10542 
   10543 case $enable_silent_rules in
   10544 yes) AM_DEFAULT_VERBOSITY=0;;
   10545 no)  AM_DEFAULT_VERBOSITY=1;;
   10546 *)   AM_DEFAULT_VERBOSITY=0;;
   10547 esac
   10548 AM_BACKSLASH='\'
   10549 
   10550 
   10551 
   10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   10553 $as_echo_n "checking return type of signal handlers... " >&6; }
   10554 if ${ac_cv_type_signal+:} false; then :
   10555   $as_echo_n "(cached) " >&6
   10556 else
   10557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 #include <sys/types.h>
   10560 #include <signal.h>
   10561 
   10562 int
   10563 main ()
   10564 {
   10565 return *(signal (0, 0)) (0) == 1;
   10566   ;
   10567   return 0;
   10568 }
   10569 _ACEOF
   10570 if ac_fn_c_try_compile "$LINENO"; then :
   10571   ac_cv_type_signal=int
   10572 else
   10573   ac_cv_type_signal=void
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10576 fi
   10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   10578 $as_echo "$ac_cv_type_signal" >&6; }
   10579 
   10580 cat >>confdefs.h <<_ACEOF
   10581 #define RETSIGTYPE $ac_cv_type_signal
   10582 _ACEOF
   10583 
   10584 
   10585 
   10586 # Checks for pkg-config packages
   10587 # - Both CFLAGS & LIBS needed:
   10588 
   10589 pkg_failed=no
   10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XHOST" >&5
   10591 $as_echo_n "checking for XHOST... " >&6; }
   10592 
   10593 if test -n "$XHOST_CFLAGS"; then
   10594     pkg_cv_XHOST_CFLAGS="$XHOST_CFLAGS"
   10595  elif test -n "$PKG_CONFIG"; then
   10596     if test -n "$PKG_CONFIG" && \
   10597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmuu\""; } >&5
   10598   ($PKG_CONFIG --exists --print-errors "x11 xmuu") 2>&5
   10599   ac_status=$?
   10600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10601   test $ac_status = 0; }; then
   10602   pkg_cv_XHOST_CFLAGS=`$PKG_CONFIG --cflags "x11 xmuu" 2>/dev/null`
   10603 else
   10604   pkg_failed=yes
   10605 fi
   10606  else
   10607     pkg_failed=untried
   10608 fi
   10609 if test -n "$XHOST_LIBS"; then
   10610     pkg_cv_XHOST_LIBS="$XHOST_LIBS"
   10611  elif test -n "$PKG_CONFIG"; then
   10612     if test -n "$PKG_CONFIG" && \
   10613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmuu\""; } >&5
   10614   ($PKG_CONFIG --exists --print-errors "x11 xmuu") 2>&5
   10615   ac_status=$?
   10616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10617   test $ac_status = 0; }; then
   10618   pkg_cv_XHOST_LIBS=`$PKG_CONFIG --libs "x11 xmuu" 2>/dev/null`
   10619 else
   10620   pkg_failed=yes
   10621 fi
   10622  else
   10623     pkg_failed=untried
   10624 fi
   10625 
   10626 
   10627 
   10628 if test $pkg_failed = yes; then
   10629 
   10630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10631         _pkg_short_errors_supported=yes
   10632 else
   10633         _pkg_short_errors_supported=no
   10634 fi
   10635         if test $_pkg_short_errors_supported = yes; then
   10636 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmuu" 2>&1`
   10637         else
   10638 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmuu" 2>&1`
   10639         fi
   10640 	# Put the nasty error message in config.log where it belongs
   10641 	echo "$XHOST_PKG_ERRORS" >&5
   10642 
   10643 	as_fn_error $? "Package requirements (x11 xmuu) were not met:
   10644 
   10645 $XHOST_PKG_ERRORS
   10646 
   10647 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10648 installed software in a non-standard prefix.
   10649 
   10650 Alternatively, you may set the environment variables XHOST_CFLAGS
   10651 and XHOST_LIBS to avoid the need to call pkg-config.
   10652 See the pkg-config man page for more details.
   10653 " "$LINENO" 5
   10654 elif test $pkg_failed = untried; then
   10655 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10657 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10658 is in your PATH or set the PKG_CONFIG environment variable to the full
   10659 path to pkg-config.
   10660 
   10661 Alternatively, you may set the environment variables XHOST_CFLAGS
   10662 and XHOST_LIBS to avoid the need to call pkg-config.
   10663 See the pkg-config man page for more details.
   10664 
   10665 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10666 See \`config.log' for more details" "$LINENO" 5; }
   10667 else
   10668 	XHOST_CFLAGS=$pkg_cv_XHOST_CFLAGS
   10669 	XHOST_LIBS=$pkg_cv_XHOST_LIBS
   10670         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10671 $as_echo "yes" >&6; }
   10672 	:
   10673 fi
   10674 # - Only CFLAGS needed, not libs:
   10675 
   10676 pkg_failed=no
   10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAU" >&5
   10678 $as_echo_n "checking for XAU... " >&6; }
   10679 
   10680 if test -n "$XAU_CFLAGS"; then
   10681     pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   10682  elif test -n "$PKG_CONFIG"; then
   10683     if test -n "$PKG_CONFIG" && \
   10684     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   10685   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   10686   ac_status=$?
   10687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10688   test $ac_status = 0; }; then
   10689   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xau" 2>/dev/null`
   10690 else
   10691   pkg_failed=yes
   10692 fi
   10693  else
   10694     pkg_failed=untried
   10695 fi
   10696 if test -n "$XAU_LIBS"; then
   10697     pkg_cv_XAU_LIBS="$XAU_LIBS"
   10698  elif test -n "$PKG_CONFIG"; then
   10699     if test -n "$PKG_CONFIG" && \
   10700     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   10701   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   10702   ac_status=$?
   10703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10704   test $ac_status = 0; }; then
   10705   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xau" 2>/dev/null`
   10706 else
   10707   pkg_failed=yes
   10708 fi
   10709  else
   10710     pkg_failed=untried
   10711 fi
   10712 
   10713 
   10714 
   10715 if test $pkg_failed = yes; then
   10716 
   10717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10718         _pkg_short_errors_supported=yes
   10719 else
   10720         _pkg_short_errors_supported=no
   10721 fi
   10722         if test $_pkg_short_errors_supported = yes; then
   10723 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xau" 2>&1`
   10724         else
   10725 	        XAU_PKG_ERRORS=`$PKG_CONFIG --print-errors "xau" 2>&1`
   10726         fi
   10727 	# Put the nasty error message in config.log where it belongs
   10728 	echo "$XAU_PKG_ERRORS" >&5
   10729 
   10730 	as_fn_error $? "Package requirements (xau) were not met:
   10731 
   10732 $XAU_PKG_ERRORS
   10733 
   10734 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10735 installed software in a non-standard prefix.
   10736 
   10737 Alternatively, you may set the environment variables XAU_CFLAGS
   10738 and XAU_LIBS to avoid the need to call pkg-config.
   10739 See the pkg-config man page for more details.
   10740 " "$LINENO" 5
   10741 elif test $pkg_failed = untried; then
   10742 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10744 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10745 is in your PATH or set the PKG_CONFIG environment variable to the full
   10746 path to pkg-config.
   10747 
   10748 Alternatively, you may set the environment variables XAU_CFLAGS
   10749 and XAU_LIBS to avoid the need to call pkg-config.
   10750 See the pkg-config man page for more details.
   10751 
   10752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10753 See \`config.log' for more details" "$LINENO" 5; }
   10754 else
   10755 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   10756 	XAU_LIBS=$pkg_cv_XAU_LIBS
   10757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10758 $as_echo "yes" >&6; }
   10759 	:
   10760 fi
   10761 
   10762 # Transport selection macro from xtrans.m4
   10763 
   10764 
   10765 
   10766  case $host_os in
   10767 	mingw*)	unixdef="no"   ;;
   10768 	*)	unixdef="yes"  ;;
   10769  esac
   10770  # Check whether --enable-unix-transport was given.
   10771 if test "${enable_unix_transport+set}" = set; then :
   10772   enableval=$enable_unix_transport; UNIXCONN=$enableval
   10773 else
   10774   UNIXCONN=$unixdef
   10775 fi
   10776 
   10777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   10778 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   10779  if test "$UNIXCONN" = "yes"; then
   10780 
   10781 $as_echo "#define UNIXCONN 1" >>confdefs.h
   10782 
   10783  fi
   10784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   10785 $as_echo "$UNIXCONN" >&6; }
   10786  # Check whether --enable-tcp-transport was given.
   10787 if test "${enable_tcp_transport+set}" = set; then :
   10788   enableval=$enable_tcp_transport; TCPCONN=$enableval
   10789 else
   10790   TCPCONN=yes
   10791 fi
   10792 
   10793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   10794 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   10795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   10796 $as_echo "$TCPCONN" >&6; }
   10797  if test "$TCPCONN" = "yes"; then
   10798 
   10799 $as_echo "#define TCPCONN 1" >>confdefs.h
   10800 
   10801 
   10802  # SVR4 hides these in libraries other than libc
   10803  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   10804 $as_echo_n "checking for library containing socket... " >&6; }
   10805 if ${ac_cv_search_socket+:} false; then :
   10806   $as_echo_n "(cached) " >&6
   10807 else
   10808   ac_func_search_save_LIBS=$LIBS
   10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 
   10812 /* Override any GCC internal prototype to avoid an error.
   10813    Use char because int might match the return type of a GCC
   10814    builtin and then its argument prototype would still apply.  */
   10815 #ifdef __cplusplus
   10816 extern "C"
   10817 #endif
   10818 char socket ();
   10819 int
   10820 main ()
   10821 {
   10822 return socket ();
   10823   ;
   10824   return 0;
   10825 }
   10826 _ACEOF
   10827 for ac_lib in '' socket; do
   10828   if test -z "$ac_lib"; then
   10829     ac_res="none required"
   10830   else
   10831     ac_res=-l$ac_lib
   10832     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10833   fi
   10834   if ac_fn_c_try_link "$LINENO"; then :
   10835   ac_cv_search_socket=$ac_res
   10836 fi
   10837 rm -f core conftest.err conftest.$ac_objext \
   10838     conftest$ac_exeext
   10839   if ${ac_cv_search_socket+:} false; then :
   10840   break
   10841 fi
   10842 done
   10843 if ${ac_cv_search_socket+:} false; then :
   10844 
   10845 else
   10846   ac_cv_search_socket=no
   10847 fi
   10848 rm conftest.$ac_ext
   10849 LIBS=$ac_func_search_save_LIBS
   10850 fi
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   10852 $as_echo "$ac_cv_search_socket" >&6; }
   10853 ac_res=$ac_cv_search_socket
   10854 if test "$ac_res" != no; then :
   10855   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10856 
   10857 fi
   10858 
   10859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   10860 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   10861 if ${ac_cv_search_gethostbyname+:} false; then :
   10862   $as_echo_n "(cached) " >&6
   10863 else
   10864   ac_func_search_save_LIBS=$LIBS
   10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10866 /* end confdefs.h.  */
   10867 
   10868 /* Override any GCC internal prototype to avoid an error.
   10869    Use char because int might match the return type of a GCC
   10870    builtin and then its argument prototype would still apply.  */
   10871 #ifdef __cplusplus
   10872 extern "C"
   10873 #endif
   10874 char gethostbyname ();
   10875 int
   10876 main ()
   10877 {
   10878 return gethostbyname ();
   10879   ;
   10880   return 0;
   10881 }
   10882 _ACEOF
   10883 for ac_lib in '' nsl; do
   10884   if test -z "$ac_lib"; then
   10885     ac_res="none required"
   10886   else
   10887     ac_res=-l$ac_lib
   10888     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   10889   fi
   10890   if ac_fn_c_try_link "$LINENO"; then :
   10891   ac_cv_search_gethostbyname=$ac_res
   10892 fi
   10893 rm -f core conftest.err conftest.$ac_objext \
   10894     conftest$ac_exeext
   10895   if ${ac_cv_search_gethostbyname+:} false; then :
   10896   break
   10897 fi
   10898 done
   10899 if ${ac_cv_search_gethostbyname+:} false; then :
   10900 
   10901 else
   10902   ac_cv_search_gethostbyname=no
   10903 fi
   10904 rm conftest.$ac_ext
   10905 LIBS=$ac_func_search_save_LIBS
   10906 fi
   10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   10908 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   10909 ac_res=$ac_cv_search_gethostbyname
   10910 if test "$ac_res" != no; then :
   10911   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   10912 
   10913 fi
   10914 
   10915  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   10916    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   10917 $as_echo_n "checking for main in -lws2_32... " >&6; }
   10918 if ${ac_cv_lib_ws2_32_main+:} false; then :
   10919   $as_echo_n "(cached) " >&6
   10920 else
   10921   ac_check_lib_save_LIBS=$LIBS
   10922 LIBS="-lws2_32  $LIBS"
   10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 
   10926 
   10927 int
   10928 main ()
   10929 {
   10930 return main ();
   10931   ;
   10932   return 0;
   10933 }
   10934 _ACEOF
   10935 if ac_fn_c_try_link "$LINENO"; then :
   10936   ac_cv_lib_ws2_32_main=yes
   10937 else
   10938   ac_cv_lib_ws2_32_main=no
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942 LIBS=$ac_check_lib_save_LIBS
   10943 fi
   10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   10945 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   10946 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   10947   cat >>confdefs.h <<_ACEOF
   10948 #define HAVE_LIBWS2_32 1
   10949 _ACEOF
   10950 
   10951   LIBS="-lws2_32 $LIBS"
   10952 
   10953 fi
   10954 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   10955 
   10956  fi
   10957 
   10958  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   10959  # Check whether --enable-ipv6 was given.
   10960 if test "${enable_ipv6+set}" = set; then :
   10961   enableval=$enable_ipv6; IPV6CONN=$enableval
   10962 else
   10963   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   10964 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   10965   IPV6CONN=yes
   10966 else
   10967   IPV6CONN=no
   10968 fi
   10969 
   10970 fi
   10971 
   10972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   10973 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   10974  if test "$IPV6CONN" = "yes"; then
   10975 
   10976 $as_echo "#define IPv6 1" >>confdefs.h
   10977 
   10978  fi
   10979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   10980 $as_echo "$IPV6CONN" >&6; }
   10981 
   10982  # 4.3BSD-Reno added a new member to struct sockaddr_in
   10983  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   10984 #include <sys/types.h>
   10985 #include <sys/socket.h>
   10986 #include <netinet/in.h>
   10987 
   10988 "
   10989 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   10990 
   10991 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   10992 
   10993 fi
   10994 
   10995 
   10996  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   10997  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   10998 $ac_includes_default
   10999 #include <sys/socket.h>
   11000 "
   11001 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11002 
   11003 cat >>confdefs.h <<_ACEOF
   11004 #define HAVE_SOCKLEN_T 1
   11005 _ACEOF
   11006 
   11007 
   11008 fi
   11009 
   11010 
   11011 
   11012  fi
   11013  case $host_os in
   11014 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11015 	*)			localdef="no"  ;;
   11016  esac
   11017  # Check whether --enable-local-transport was given.
   11018 if test "${enable_local_transport+set}" = set; then :
   11019   enableval=$enable_local_transport; LOCALCONN=$enableval
   11020 else
   11021   LOCALCONN=$localdef
   11022 fi
   11023 
   11024  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11025 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11027 $as_echo "$LOCALCONN" >&6; }
   11028  if test "$LOCALCONN" = "yes"; then
   11029 
   11030 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11031 
   11032  fi
   11033 
   11034 
   11035 
   11036 # Secure RPC detection macro from xtrans.m4
   11037 
   11038  # Check whether --enable-secure-rpc was given.
   11039 if test "${enable_secure_rpc+set}" = set; then :
   11040   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   11041 else
   11042   SECURE_RPC="try"
   11043 fi
   11044 
   11045 
   11046  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   11047 	FOUND_SECURE_RPC="no"
   11048 	for ac_func in authdes_seccreate authdes_create
   11049 do :
   11050   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11052 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11053   cat >>confdefs.h <<_ACEOF
   11054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11055 _ACEOF
   11056  FOUND_SECURE_RPC="yes"
   11057 fi
   11058 done
   11059 
   11060 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   11061 		if test "x$SECURE_RPC" = "xyes" ; then
   11062 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   11063 		fi
   11064 		SECURE_RPC="no"
   11065 	else
   11066 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   11067 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   11068 if ${ac_cv_search_getsecretkey+:} false; then :
   11069   $as_echo_n "(cached) " >&6
   11070 else
   11071   ac_func_search_save_LIBS=$LIBS
   11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11073 /* end confdefs.h.  */
   11074 
   11075 /* Override any GCC internal prototype to avoid an error.
   11076    Use char because int might match the return type of a GCC
   11077    builtin and then its argument prototype would still apply.  */
   11078 #ifdef __cplusplus
   11079 extern "C"
   11080 #endif
   11081 char getsecretkey ();
   11082 int
   11083 main ()
   11084 {
   11085 return getsecretkey ();
   11086   ;
   11087   return 0;
   11088 }
   11089 _ACEOF
   11090 for ac_lib in '' rpcsvc; do
   11091   if test -z "$ac_lib"; then
   11092     ac_res="none required"
   11093   else
   11094     ac_res=-l$ac_lib
   11095     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11096   fi
   11097   if ac_fn_c_try_link "$LINENO"; then :
   11098   ac_cv_search_getsecretkey=$ac_res
   11099 fi
   11100 rm -f core conftest.err conftest.$ac_objext \
   11101     conftest$ac_exeext
   11102   if ${ac_cv_search_getsecretkey+:} false; then :
   11103   break
   11104 fi
   11105 done
   11106 if ${ac_cv_search_getsecretkey+:} false; then :
   11107 
   11108 else
   11109   ac_cv_search_getsecretkey=no
   11110 fi
   11111 rm conftest.$ac_ext
   11112 LIBS=$ac_func_search_save_LIBS
   11113 fi
   11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   11115 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   11116 ac_res=$ac_cv_search_getsecretkey
   11117 if test "$ac_res" != no; then :
   11118   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11119 
   11120 fi
   11121 
   11122 		SECURE_RPC="yes"
   11123 	fi
   11124  fi
   11125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   11126 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   11127  if test "x$SECURE_RPC" = "xyes" ; then
   11128 
   11129 $as_echo "#define SECURE_RPC 1" >>confdefs.h
   11130 
   11131  fi
   11132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   11133 $as_echo "$SECURE_RPC" >&6; }
   11134 
   11135 
   11136 ac_config_files="$ac_config_files Makefile man/Makefile"
   11137 
   11138 cat >confcache <<\_ACEOF
   11139 # This file is a shell script that caches the results of configure
   11140 # tests run on this system so they can be shared between configure
   11141 # scripts and configure runs, see configure's option --config-cache.
   11142 # It is not useful on other systems.  If it contains results you don't
   11143 # want to keep, you may remove or edit it.
   11144 #
   11145 # config.status only pays attention to the cache file if you give it
   11146 # the --recheck option to rerun configure.
   11147 #
   11148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11150 # following values.
   11151 
   11152 _ACEOF
   11153 
   11154 # The following way of writing the cache mishandles newlines in values,
   11155 # but we know of no workaround that is simple, portable, and efficient.
   11156 # So, we kill variables containing newlines.
   11157 # Ultrix sh set writes to stderr and can't be redirected directly,
   11158 # and sets the high bit in the cache file unless we assign to the vars.
   11159 (
   11160   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11161     eval ac_val=\$$ac_var
   11162     case $ac_val in #(
   11163     *${as_nl}*)
   11164       case $ac_var in #(
   11165       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11166 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11167       esac
   11168       case $ac_var in #(
   11169       _ | IFS | as_nl) ;; #(
   11170       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11171       *) { eval $ac_var=; unset $ac_var;} ;;
   11172       esac ;;
   11173     esac
   11174   done
   11175 
   11176   (set) 2>&1 |
   11177     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11178     *${as_nl}ac_space=\ *)
   11179       # `set' does not quote correctly, so add quotes: double-quote
   11180       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11181       sed -n \
   11182 	"s/'/'\\\\''/g;
   11183 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11184       ;; #(
   11185     *)
   11186       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11187       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11188       ;;
   11189     esac |
   11190     sort
   11191 ) |
   11192   sed '
   11193      /^ac_cv_env_/b end
   11194      t clear
   11195      :clear
   11196      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11197      t end
   11198      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11199      :end' >>confcache
   11200 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11201   if test -w "$cache_file"; then
   11202     if test "x$cache_file" != "x/dev/null"; then
   11203       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11204 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11205       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11206 	cat confcache >"$cache_file"
   11207       else
   11208         case $cache_file in #(
   11209         */* | ?:*)
   11210 	  mv -f confcache "$cache_file"$$ &&
   11211 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11212         *)
   11213 	  mv -f confcache "$cache_file" ;;
   11214 	esac
   11215       fi
   11216     fi
   11217   else
   11218     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11219 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11220   fi
   11221 fi
   11222 rm -f confcache
   11223 
   11224 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11225 # Let make expand exec_prefix.
   11226 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11227 
   11228 DEFS=-DHAVE_CONFIG_H
   11229 
   11230 ac_libobjs=
   11231 ac_ltlibobjs=
   11232 U=
   11233 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11234   # 1. Remove the extension, and $U if already installed.
   11235   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11236   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11237   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11238   #    will be set to the directory where LIBOBJS objects are built.
   11239   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11240   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11241 done
   11242 LIBOBJS=$ac_libobjs
   11243 
   11244 LTLIBOBJS=$ac_ltlibobjs
   11245 
   11246 
   11247  if test -n "$EXEEXT"; then
   11248   am__EXEEXT_TRUE=
   11249   am__EXEEXT_FALSE='#'
   11250 else
   11251   am__EXEEXT_TRUE='#'
   11252   am__EXEEXT_FALSE=
   11253 fi
   11254 
   11255 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11256   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11258 fi
   11259 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11260   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11262 fi
   11263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11264   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11266 fi
   11267 
   11268 : "${CONFIG_STATUS=./config.status}"
   11269 ac_write_fail=0
   11270 ac_clean_files_save=$ac_clean_files
   11271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11273 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11274 as_write_fail=0
   11275 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11276 #! $SHELL
   11277 # Generated by $as_me.
   11278 # Run this file to recreate the current configuration.
   11279 # Compiler output produced by configure, useful for debugging
   11280 # configure, is in config.log if it exists.
   11281 
   11282 debug=false
   11283 ac_cs_recheck=false
   11284 ac_cs_silent=false
   11285 
   11286 SHELL=\${CONFIG_SHELL-$SHELL}
   11287 export SHELL
   11288 _ASEOF
   11289 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11290 ## -------------------- ##
   11291 ## M4sh Initialization. ##
   11292 ## -------------------- ##
   11293 
   11294 # Be more Bourne compatible
   11295 DUALCASE=1; export DUALCASE # for MKS sh
   11296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11297   emulate sh
   11298   NULLCMD=:
   11299   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11300   # is contrary to our usage.  Disable this feature.
   11301   alias -g '${1+"$@"}'='"$@"'
   11302   setopt NO_GLOB_SUBST
   11303 else
   11304   case `(set -o) 2>/dev/null` in #(
   11305   *posix*) :
   11306     set -o posix ;; #(
   11307   *) :
   11308      ;;
   11309 esac
   11310 fi
   11311 
   11312 
   11313 as_nl='
   11314 '
   11315 export as_nl
   11316 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11317 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11318 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11319 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11320 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11321 # but without wasting forks for bash or zsh.
   11322 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11323     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11324   as_echo='print -r --'
   11325   as_echo_n='print -rn --'
   11326 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11327   as_echo='printf %s\n'
   11328   as_echo_n='printf %s'
   11329 else
   11330   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11331     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11332     as_echo_n='/usr/ucb/echo -n'
   11333   else
   11334     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11335     as_echo_n_body='eval
   11336       arg=$1;
   11337       case $arg in #(
   11338       *"$as_nl"*)
   11339 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11340 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11341       esac;
   11342       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11343     '
   11344     export as_echo_n_body
   11345     as_echo_n='sh -c $as_echo_n_body as_echo'
   11346   fi
   11347   export as_echo_body
   11348   as_echo='sh -c $as_echo_body as_echo'
   11349 fi
   11350 
   11351 # The user is always right.
   11352 if test "${PATH_SEPARATOR+set}" != set; then
   11353   PATH_SEPARATOR=:
   11354   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11355     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11356       PATH_SEPARATOR=';'
   11357   }
   11358 fi
   11359 
   11360 
   11361 # IFS
   11362 # We need space, tab and new line, in precisely that order.  Quoting is
   11363 # there to prevent editors from complaining about space-tab.
   11364 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11365 # splitting by setting IFS to empty value.)
   11366 IFS=" ""	$as_nl"
   11367 
   11368 # Find who we are.  Look in the path if we contain no directory separator.
   11369 as_myself=
   11370 case $0 in #((
   11371   *[\\/]* ) as_myself=$0 ;;
   11372   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11373 for as_dir in $PATH
   11374 do
   11375   IFS=$as_save_IFS
   11376   test -z "$as_dir" && as_dir=.
   11377     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11378   done
   11379 IFS=$as_save_IFS
   11380 
   11381      ;;
   11382 esac
   11383 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11384 # in which case we are not to be found in the path.
   11385 if test "x$as_myself" = x; then
   11386   as_myself=$0
   11387 fi
   11388 if test ! -f "$as_myself"; then
   11389   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11390   exit 1
   11391 fi
   11392 
   11393 # Unset variables that we do not need and which cause bugs (e.g. in
   11394 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11395 # suppresses any "Segmentation fault" message there.  '((' could
   11396 # trigger a bug in pdksh 5.2.14.
   11397 for as_var in BASH_ENV ENV MAIL MAILPATH
   11398 do eval test x\${$as_var+set} = xset \
   11399   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11400 done
   11401 PS1='$ '
   11402 PS2='> '
   11403 PS4='+ '
   11404 
   11405 # NLS nuisances.
   11406 LC_ALL=C
   11407 export LC_ALL
   11408 LANGUAGE=C
   11409 export LANGUAGE
   11410 
   11411 # CDPATH.
   11412 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11413 
   11414 
   11415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11416 # ----------------------------------------
   11417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11419 # script with STATUS, using 1 if that was 0.
   11420 as_fn_error ()
   11421 {
   11422   as_status=$1; test $as_status -eq 0 && as_status=1
   11423   if test "$4"; then
   11424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11426   fi
   11427   $as_echo "$as_me: error: $2" >&2
   11428   as_fn_exit $as_status
   11429 } # as_fn_error
   11430 
   11431 
   11432 # as_fn_set_status STATUS
   11433 # -----------------------
   11434 # Set $? to STATUS, without forking.
   11435 as_fn_set_status ()
   11436 {
   11437   return $1
   11438 } # as_fn_set_status
   11439 
   11440 # as_fn_exit STATUS
   11441 # -----------------
   11442 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11443 as_fn_exit ()
   11444 {
   11445   set +e
   11446   as_fn_set_status $1
   11447   exit $1
   11448 } # as_fn_exit
   11449 
   11450 # as_fn_unset VAR
   11451 # ---------------
   11452 # Portably unset VAR.
   11453 as_fn_unset ()
   11454 {
   11455   { eval $1=; unset $1;}
   11456 }
   11457 as_unset=as_fn_unset
   11458 # as_fn_append VAR VALUE
   11459 # ----------------------
   11460 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11461 # advantage of any shell optimizations that allow amortized linear growth over
   11462 # repeated appends, instead of the typical quadratic growth present in naive
   11463 # implementations.
   11464 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11465   eval 'as_fn_append ()
   11466   {
   11467     eval $1+=\$2
   11468   }'
   11469 else
   11470   as_fn_append ()
   11471   {
   11472     eval $1=\$$1\$2
   11473   }
   11474 fi # as_fn_append
   11475 
   11476 # as_fn_arith ARG...
   11477 # ------------------
   11478 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11479 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11480 # must be portable across $(()) and expr.
   11481 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11482   eval 'as_fn_arith ()
   11483   {
   11484     as_val=$(( $* ))
   11485   }'
   11486 else
   11487   as_fn_arith ()
   11488   {
   11489     as_val=`expr "$@" || test $? -eq 1`
   11490   }
   11491 fi # as_fn_arith
   11492 
   11493 
   11494 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11495    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11496   as_expr=expr
   11497 else
   11498   as_expr=false
   11499 fi
   11500 
   11501 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11502   as_basename=basename
   11503 else
   11504   as_basename=false
   11505 fi
   11506 
   11507 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11508   as_dirname=dirname
   11509 else
   11510   as_dirname=false
   11511 fi
   11512 
   11513 as_me=`$as_basename -- "$0" ||
   11514 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11515 	 X"$0" : 'X\(//\)$' \| \
   11516 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11517 $as_echo X/"$0" |
   11518     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11519 	    s//\1/
   11520 	    q
   11521 	  }
   11522 	  /^X\/\(\/\/\)$/{
   11523 	    s//\1/
   11524 	    q
   11525 	  }
   11526 	  /^X\/\(\/\).*/{
   11527 	    s//\1/
   11528 	    q
   11529 	  }
   11530 	  s/.*/./; q'`
   11531 
   11532 # Avoid depending upon Character Ranges.
   11533 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11534 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11535 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11536 as_cr_digits='0123456789'
   11537 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11538 
   11539 ECHO_C= ECHO_N= ECHO_T=
   11540 case `echo -n x` in #(((((
   11541 -n*)
   11542   case `echo 'xy\c'` in
   11543   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11544   xy)  ECHO_C='\c';;
   11545   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11546        ECHO_T='	';;
   11547   esac;;
   11548 *)
   11549   ECHO_N='-n';;
   11550 esac
   11551 
   11552 rm -f conf$$ conf$$.exe conf$$.file
   11553 if test -d conf$$.dir; then
   11554   rm -f conf$$.dir/conf$$.file
   11555 else
   11556   rm -f conf$$.dir
   11557   mkdir conf$$.dir 2>/dev/null
   11558 fi
   11559 if (echo >conf$$.file) 2>/dev/null; then
   11560   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11561     as_ln_s='ln -s'
   11562     # ... but there are two gotchas:
   11563     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11564     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11565     # In both cases, we have to default to `cp -p'.
   11566     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11567       as_ln_s='cp -p'
   11568   elif ln conf$$.file conf$$ 2>/dev/null; then
   11569     as_ln_s=ln
   11570   else
   11571     as_ln_s='cp -p'
   11572   fi
   11573 else
   11574   as_ln_s='cp -p'
   11575 fi
   11576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11577 rmdir conf$$.dir 2>/dev/null
   11578 
   11579 
   11580 # as_fn_mkdir_p
   11581 # -------------
   11582 # Create "$as_dir" as a directory, including parents if necessary.
   11583 as_fn_mkdir_p ()
   11584 {
   11585 
   11586   case $as_dir in #(
   11587   -*) as_dir=./$as_dir;;
   11588   esac
   11589   test -d "$as_dir" || eval $as_mkdir_p || {
   11590     as_dirs=
   11591     while :; do
   11592       case $as_dir in #(
   11593       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11594       *) as_qdir=$as_dir;;
   11595       esac
   11596       as_dirs="'$as_qdir' $as_dirs"
   11597       as_dir=`$as_dirname -- "$as_dir" ||
   11598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11599 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11600 	 X"$as_dir" : 'X\(//\)$' \| \
   11601 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11602 $as_echo X"$as_dir" |
   11603     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11604 	    s//\1/
   11605 	    q
   11606 	  }
   11607 	  /^X\(\/\/\)[^/].*/{
   11608 	    s//\1/
   11609 	    q
   11610 	  }
   11611 	  /^X\(\/\/\)$/{
   11612 	    s//\1/
   11613 	    q
   11614 	  }
   11615 	  /^X\(\/\).*/{
   11616 	    s//\1/
   11617 	    q
   11618 	  }
   11619 	  s/.*/./; q'`
   11620       test -d "$as_dir" && break
   11621     done
   11622     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11623   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11624 
   11625 
   11626 } # as_fn_mkdir_p
   11627 if mkdir -p . 2>/dev/null; then
   11628   as_mkdir_p='mkdir -p "$as_dir"'
   11629 else
   11630   test -d ./-p && rmdir ./-p
   11631   as_mkdir_p=false
   11632 fi
   11633 
   11634 if test -x / >/dev/null 2>&1; then
   11635   as_test_x='test -x'
   11636 else
   11637   if ls -dL / >/dev/null 2>&1; then
   11638     as_ls_L_option=L
   11639   else
   11640     as_ls_L_option=
   11641   fi
   11642   as_test_x='
   11643     eval sh -c '\''
   11644       if test -d "$1"; then
   11645 	test -d "$1/.";
   11646       else
   11647 	case $1 in #(
   11648 	-*)set "./$1";;
   11649 	esac;
   11650 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11651 	???[sx]*):;;*)false;;esac;fi
   11652     '\'' sh
   11653   '
   11654 fi
   11655 as_executable_p=$as_test_x
   11656 
   11657 # Sed expression to map a string onto a valid CPP name.
   11658 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11659 
   11660 # Sed expression to map a string onto a valid variable name.
   11661 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11662 
   11663 
   11664 exec 6>&1
   11665 ## ----------------------------------- ##
   11666 ## Main body of $CONFIG_STATUS script. ##
   11667 ## ----------------------------------- ##
   11668 _ASEOF
   11669 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11670 
   11671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11672 # Save the log message, to keep $0 and so on meaningful, and to
   11673 # report actual input values of CONFIG_FILES etc. instead of their
   11674 # values after options handling.
   11675 ac_log="
   11676 This file was extended by xhost $as_me 1.0.5, which was
   11677 generated by GNU Autoconf 2.68.  Invocation command line was
   11678 
   11679   CONFIG_FILES    = $CONFIG_FILES
   11680   CONFIG_HEADERS  = $CONFIG_HEADERS
   11681   CONFIG_LINKS    = $CONFIG_LINKS
   11682   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11683   $ $0 $@
   11684 
   11685 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11686 "
   11687 
   11688 _ACEOF
   11689 
   11690 case $ac_config_files in *"
   11691 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11692 esac
   11693 
   11694 case $ac_config_headers in *"
   11695 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11696 esac
   11697 
   11698 
   11699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11700 # Files that config.status was made for.
   11701 config_files="$ac_config_files"
   11702 config_headers="$ac_config_headers"
   11703 config_commands="$ac_config_commands"
   11704 
   11705 _ACEOF
   11706 
   11707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11708 ac_cs_usage="\
   11709 \`$as_me' instantiates files and other configuration actions
   11710 from templates according to the current configuration.  Unless the files
   11711 and actions are specified as TAGs, all are instantiated by default.
   11712 
   11713 Usage: $0 [OPTION]... [TAG]...
   11714 
   11715   -h, --help       print this help, then exit
   11716   -V, --version    print version number and configuration settings, then exit
   11717       --config     print configuration, then exit
   11718   -q, --quiet, --silent
   11719                    do not print progress messages
   11720   -d, --debug      don't remove temporary files
   11721       --recheck    update $as_me by reconfiguring in the same conditions
   11722       --file=FILE[:TEMPLATE]
   11723                    instantiate the configuration file FILE
   11724       --header=FILE[:TEMPLATE]
   11725                    instantiate the configuration header FILE
   11726 
   11727 Configuration files:
   11728 $config_files
   11729 
   11730 Configuration headers:
   11731 $config_headers
   11732 
   11733 Configuration commands:
   11734 $config_commands
   11735 
   11736 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11737 
   11738 _ACEOF
   11739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11740 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11741 ac_cs_version="\\
   11742 xhost config.status 1.0.5
   11743 configured by $0, generated by GNU Autoconf 2.68,
   11744   with options \\"\$ac_cs_config\\"
   11745 
   11746 Copyright (C) 2010 Free Software Foundation, Inc.
   11747 This config.status script is free software; the Free Software Foundation
   11748 gives unlimited permission to copy, distribute and modify it."
   11749 
   11750 ac_pwd='$ac_pwd'
   11751 srcdir='$srcdir'
   11752 INSTALL='$INSTALL'
   11753 MKDIR_P='$MKDIR_P'
   11754 AWK='$AWK'
   11755 test -n "\$AWK" || AWK=awk
   11756 _ACEOF
   11757 
   11758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11759 # The default lists apply if the user does not specify any file.
   11760 ac_need_defaults=:
   11761 while test $# != 0
   11762 do
   11763   case $1 in
   11764   --*=?*)
   11765     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11766     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11767     ac_shift=:
   11768     ;;
   11769   --*=)
   11770     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11771     ac_optarg=
   11772     ac_shift=:
   11773     ;;
   11774   *)
   11775     ac_option=$1
   11776     ac_optarg=$2
   11777     ac_shift=shift
   11778     ;;
   11779   esac
   11780 
   11781   case $ac_option in
   11782   # Handling of the options.
   11783   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11784     ac_cs_recheck=: ;;
   11785   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11786     $as_echo "$ac_cs_version"; exit ;;
   11787   --config | --confi | --conf | --con | --co | --c )
   11788     $as_echo "$ac_cs_config"; exit ;;
   11789   --debug | --debu | --deb | --de | --d | -d )
   11790     debug=: ;;
   11791   --file | --fil | --fi | --f )
   11792     $ac_shift
   11793     case $ac_optarg in
   11794     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11795     '') as_fn_error $? "missing file argument" ;;
   11796     esac
   11797     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11798     ac_need_defaults=false;;
   11799   --header | --heade | --head | --hea )
   11800     $ac_shift
   11801     case $ac_optarg in
   11802     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11803     esac
   11804     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11805     ac_need_defaults=false;;
   11806   --he | --h)
   11807     # Conflict between --help and --header
   11808     as_fn_error $? "ambiguous option: \`$1'
   11809 Try \`$0 --help' for more information.";;
   11810   --help | --hel | -h )
   11811     $as_echo "$ac_cs_usage"; exit ;;
   11812   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11813   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11814     ac_cs_silent=: ;;
   11815 
   11816   # This is an error.
   11817   -*) as_fn_error $? "unrecognized option: \`$1'
   11818 Try \`$0 --help' for more information." ;;
   11819 
   11820   *) as_fn_append ac_config_targets " $1"
   11821      ac_need_defaults=false ;;
   11822 
   11823   esac
   11824   shift
   11825 done
   11826 
   11827 ac_configure_extra_args=
   11828 
   11829 if $ac_cs_silent; then
   11830   exec 6>/dev/null
   11831   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11832 fi
   11833 
   11834 _ACEOF
   11835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11836 if \$ac_cs_recheck; then
   11837   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11838   shift
   11839   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11840   CONFIG_SHELL='$SHELL'
   11841   export CONFIG_SHELL
   11842   exec "\$@"
   11843 fi
   11844 
   11845 _ACEOF
   11846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11847 exec 5>>config.log
   11848 {
   11849   echo
   11850   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11851 ## Running $as_me. ##
   11852 _ASBOX
   11853   $as_echo "$ac_log"
   11854 } >&5
   11855 
   11856 _ACEOF
   11857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11858 #
   11859 # INIT-COMMANDS
   11860 #
   11861 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11862 
   11863 _ACEOF
   11864 
   11865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11866 
   11867 # Handling of arguments.
   11868 for ac_config_target in $ac_config_targets
   11869 do
   11870   case $ac_config_target in
   11871     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11872     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11873     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11874     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11875 
   11876   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11877   esac
   11878 done
   11879 
   11880 
   11881 # If the user did not use the arguments to specify the items to instantiate,
   11882 # then the envvar interface is used.  Set only those that are not.
   11883 # We use the long form for the default assignment because of an extremely
   11884 # bizarre bug on SunOS 4.1.3.
   11885 if $ac_need_defaults; then
   11886   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11887   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11888   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11889 fi
   11890 
   11891 # Have a temporary directory for convenience.  Make it in the build tree
   11892 # simply because there is no reason against having it here, and in addition,
   11893 # creating and moving files from /tmp can sometimes cause problems.
   11894 # Hook for its removal unless debugging.
   11895 # Note that there is a small window in which the directory will not be cleaned:
   11896 # after its creation but before its name has been assigned to `$tmp'.
   11897 $debug ||
   11898 {
   11899   tmp= ac_tmp=
   11900   trap 'exit_status=$?
   11901   : "${ac_tmp:=$tmp}"
   11902   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11903 ' 0
   11904   trap 'as_fn_exit 1' 1 2 13 15
   11905 }
   11906 # Create a (secure) tmp directory for tmp files.
   11907 
   11908 {
   11909   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11910   test -d "$tmp"
   11911 }  ||
   11912 {
   11913   tmp=./conf$$-$RANDOM
   11914   (umask 077 && mkdir "$tmp")
   11915 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11916 ac_tmp=$tmp
   11917 
   11918 # Set up the scripts for CONFIG_FILES section.
   11919 # No need to generate them if there are no CONFIG_FILES.
   11920 # This happens for instance with `./config.status config.h'.
   11921 if test -n "$CONFIG_FILES"; then
   11922 
   11923 
   11924 ac_cr=`echo X | tr X '\015'`
   11925 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11926 # But we know of no other shell where ac_cr would be empty at this
   11927 # point, so we can use a bashism as a fallback.
   11928 if test "x$ac_cr" = x; then
   11929   eval ac_cr=\$\'\\r\'
   11930 fi
   11931 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11932 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11933   ac_cs_awk_cr='\\r'
   11934 else
   11935   ac_cs_awk_cr=$ac_cr
   11936 fi
   11937 
   11938 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11939 _ACEOF
   11940 
   11941 
   11942 {
   11943   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11944   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11945   echo "_ACEOF"
   11946 } >conf$$subs.sh ||
   11947   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11948 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11949 ac_delim='%!_!# '
   11950 for ac_last_try in false false false false false :; do
   11951   . ./conf$$subs.sh ||
   11952     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11953 
   11954   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11955   if test $ac_delim_n = $ac_delim_num; then
   11956     break
   11957   elif $ac_last_try; then
   11958     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11959   else
   11960     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11961   fi
   11962 done
   11963 rm -f conf$$subs.sh
   11964 
   11965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11966 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11967 _ACEOF
   11968 sed -n '
   11969 h
   11970 s/^/S["/; s/!.*/"]=/
   11971 p
   11972 g
   11973 s/^[^!]*!//
   11974 :repl
   11975 t repl
   11976 s/'"$ac_delim"'$//
   11977 t delim
   11978 :nl
   11979 h
   11980 s/\(.\{148\}\)..*/\1/
   11981 t more1
   11982 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11983 p
   11984 n
   11985 b repl
   11986 :more1
   11987 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11988 p
   11989 g
   11990 s/.\{148\}//
   11991 t nl
   11992 :delim
   11993 h
   11994 s/\(.\{148\}\)..*/\1/
   11995 t more2
   11996 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11997 p
   11998 b
   11999 :more2
   12000 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12001 p
   12002 g
   12003 s/.\{148\}//
   12004 t delim
   12005 ' <conf$$subs.awk | sed '
   12006 /^[^""]/{
   12007   N
   12008   s/\n//
   12009 }
   12010 ' >>$CONFIG_STATUS || ac_write_fail=1
   12011 rm -f conf$$subs.awk
   12012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12013 _ACAWK
   12014 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12015   for (key in S) S_is_set[key] = 1
   12016   FS = ""
   12017 
   12018 }
   12019 {
   12020   line = $ 0
   12021   nfields = split(line, field, "@")
   12022   substed = 0
   12023   len = length(field[1])
   12024   for (i = 2; i < nfields; i++) {
   12025     key = field[i]
   12026     keylen = length(key)
   12027     if (S_is_set[key]) {
   12028       value = S[key]
   12029       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12030       len += length(value) + length(field[++i])
   12031       substed = 1
   12032     } else
   12033       len += 1 + keylen
   12034   }
   12035 
   12036   print line
   12037 }
   12038 
   12039 _ACAWK
   12040 _ACEOF
   12041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12042 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12043   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12044 else
   12045   cat
   12046 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12047   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12048 _ACEOF
   12049 
   12050 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12051 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12052 # trailing colons and then remove the whole line if VPATH becomes empty
   12053 # (actually we leave an empty line to preserve line numbers).
   12054 if test "x$srcdir" = x.; then
   12055   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12056 h
   12057 s///
   12058 s/^/:/
   12059 s/[	 ]*$/:/
   12060 s/:\$(srcdir):/:/g
   12061 s/:\${srcdir}:/:/g
   12062 s/:@srcdir@:/:/g
   12063 s/^:*//
   12064 s/:*$//
   12065 x
   12066 s/\(=[	 ]*\).*/\1/
   12067 G
   12068 s/\n//
   12069 s/^[^=]*=[	 ]*$//
   12070 }'
   12071 fi
   12072 
   12073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12074 fi # test -n "$CONFIG_FILES"
   12075 
   12076 # Set up the scripts for CONFIG_HEADERS section.
   12077 # No need to generate them if there are no CONFIG_HEADERS.
   12078 # This happens for instance with `./config.status Makefile'.
   12079 if test -n "$CONFIG_HEADERS"; then
   12080 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12081 BEGIN {
   12082 _ACEOF
   12083 
   12084 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12085 # here-document in config.status, that substitutes the proper values into
   12086 # config.h.in to produce config.h.
   12087 
   12088 # Create a delimiter string that does not exist in confdefs.h, to ease
   12089 # handling of long lines.
   12090 ac_delim='%!_!# '
   12091 for ac_last_try in false false :; do
   12092   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12093   if test -z "$ac_tt"; then
   12094     break
   12095   elif $ac_last_try; then
   12096     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12097   else
   12098     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12099   fi
   12100 done
   12101 
   12102 # For the awk script, D is an array of macro values keyed by name,
   12103 # likewise P contains macro parameters if any.  Preserve backslash
   12104 # newline sequences.
   12105 
   12106 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12107 sed -n '
   12108 s/.\{148\}/&'"$ac_delim"'/g
   12109 t rset
   12110 :rset
   12111 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12112 t def
   12113 d
   12114 :def
   12115 s/\\$//
   12116 t bsnl
   12117 s/["\\]/\\&/g
   12118 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12119 D["\1"]=" \3"/p
   12120 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12121 d
   12122 :bsnl
   12123 s/["\\]/\\&/g
   12124 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12125 D["\1"]=" \3\\\\\\n"\\/p
   12126 t cont
   12127 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12128 t cont
   12129 d
   12130 :cont
   12131 n
   12132 s/.\{148\}/&'"$ac_delim"'/g
   12133 t clear
   12134 :clear
   12135 s/\\$//
   12136 t bsnlc
   12137 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12138 d
   12139 :bsnlc
   12140 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12141 b cont
   12142 ' <confdefs.h | sed '
   12143 s/'"$ac_delim"'/"\\\
   12144 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12145 
   12146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12147   for (key in D) D_is_set[key] = 1
   12148   FS = ""
   12149 }
   12150 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12151   line = \$ 0
   12152   split(line, arg, " ")
   12153   if (arg[1] == "#") {
   12154     defundef = arg[2]
   12155     mac1 = arg[3]
   12156   } else {
   12157     defundef = substr(arg[1], 2)
   12158     mac1 = arg[2]
   12159   }
   12160   split(mac1, mac2, "(") #)
   12161   macro = mac2[1]
   12162   prefix = substr(line, 1, index(line, defundef) - 1)
   12163   if (D_is_set[macro]) {
   12164     # Preserve the white space surrounding the "#".
   12165     print prefix "define", macro P[macro] D[macro]
   12166     next
   12167   } else {
   12168     # Replace #undef with comments.  This is necessary, for example,
   12169     # in the case of _POSIX_SOURCE, which is predefined and required
   12170     # on some systems where configure will not decide to define it.
   12171     if (defundef == "undef") {
   12172       print "/*", prefix defundef, macro, "*/"
   12173       next
   12174     }
   12175   }
   12176 }
   12177 { print }
   12178 _ACAWK
   12179 _ACEOF
   12180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12181   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12182 fi # test -n "$CONFIG_HEADERS"
   12183 
   12184 
   12185 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12186 shift
   12187 for ac_tag
   12188 do
   12189   case $ac_tag in
   12190   :[FHLC]) ac_mode=$ac_tag; continue;;
   12191   esac
   12192   case $ac_mode$ac_tag in
   12193   :[FHL]*:*);;
   12194   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12195   :[FH]-) ac_tag=-:-;;
   12196   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12197   esac
   12198   ac_save_IFS=$IFS
   12199   IFS=:
   12200   set x $ac_tag
   12201   IFS=$ac_save_IFS
   12202   shift
   12203   ac_file=$1
   12204   shift
   12205 
   12206   case $ac_mode in
   12207   :L) ac_source=$1;;
   12208   :[FH])
   12209     ac_file_inputs=
   12210     for ac_f
   12211     do
   12212       case $ac_f in
   12213       -) ac_f="$ac_tmp/stdin";;
   12214       *) # Look for the file first in the build tree, then in the source tree
   12215 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12216 	 # because $ac_f cannot contain `:'.
   12217 	 test -f "$ac_f" ||
   12218 	   case $ac_f in
   12219 	   [\\/$]*) false;;
   12220 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12221 	   esac ||
   12222 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12223       esac
   12224       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12225       as_fn_append ac_file_inputs " '$ac_f'"
   12226     done
   12227 
   12228     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12229     # use $as_me), people would be surprised to read:
   12230     #    /* config.h.  Generated by config.status.  */
   12231     configure_input='Generated from '`
   12232 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12233 	`' by configure.'
   12234     if test x"$ac_file" != x-; then
   12235       configure_input="$ac_file.  $configure_input"
   12236       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12237 $as_echo "$as_me: creating $ac_file" >&6;}
   12238     fi
   12239     # Neutralize special characters interpreted by sed in replacement strings.
   12240     case $configure_input in #(
   12241     *\&* | *\|* | *\\* )
   12242        ac_sed_conf_input=`$as_echo "$configure_input" |
   12243        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12244     *) ac_sed_conf_input=$configure_input;;
   12245     esac
   12246 
   12247     case $ac_tag in
   12248     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12249       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12250     esac
   12251     ;;
   12252   esac
   12253 
   12254   ac_dir=`$as_dirname -- "$ac_file" ||
   12255 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12256 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12257 	 X"$ac_file" : 'X\(//\)$' \| \
   12258 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12259 $as_echo X"$ac_file" |
   12260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12261 	    s//\1/
   12262 	    q
   12263 	  }
   12264 	  /^X\(\/\/\)[^/].*/{
   12265 	    s//\1/
   12266 	    q
   12267 	  }
   12268 	  /^X\(\/\/\)$/{
   12269 	    s//\1/
   12270 	    q
   12271 	  }
   12272 	  /^X\(\/\).*/{
   12273 	    s//\1/
   12274 	    q
   12275 	  }
   12276 	  s/.*/./; q'`
   12277   as_dir="$ac_dir"; as_fn_mkdir_p
   12278   ac_builddir=.
   12279 
   12280 case "$ac_dir" in
   12281 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12282 *)
   12283   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12284   # A ".." for each directory in $ac_dir_suffix.
   12285   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12286   case $ac_top_builddir_sub in
   12287   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12288   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12289   esac ;;
   12290 esac
   12291 ac_abs_top_builddir=$ac_pwd
   12292 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12293 # for backward compatibility:
   12294 ac_top_builddir=$ac_top_build_prefix
   12295 
   12296 case $srcdir in
   12297   .)  # We are building in place.
   12298     ac_srcdir=.
   12299     ac_top_srcdir=$ac_top_builddir_sub
   12300     ac_abs_top_srcdir=$ac_pwd ;;
   12301   [\\/]* | ?:[\\/]* )  # Absolute name.
   12302     ac_srcdir=$srcdir$ac_dir_suffix;
   12303     ac_top_srcdir=$srcdir
   12304     ac_abs_top_srcdir=$srcdir ;;
   12305   *) # Relative name.
   12306     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12307     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12308     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12309 esac
   12310 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12311 
   12312 
   12313   case $ac_mode in
   12314   :F)
   12315   #
   12316   # CONFIG_FILE
   12317   #
   12318 
   12319   case $INSTALL in
   12320   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12321   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12322   esac
   12323   ac_MKDIR_P=$MKDIR_P
   12324   case $MKDIR_P in
   12325   [\\/$]* | ?:[\\/]* ) ;;
   12326   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12327   esac
   12328 _ACEOF
   12329 
   12330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12331 # If the template does not know about datarootdir, expand it.
   12332 # FIXME: This hack should be removed a few years after 2.60.
   12333 ac_datarootdir_hack=; ac_datarootdir_seen=
   12334 ac_sed_dataroot='
   12335 /datarootdir/ {
   12336   p
   12337   q
   12338 }
   12339 /@datadir@/p
   12340 /@docdir@/p
   12341 /@infodir@/p
   12342 /@localedir@/p
   12343 /@mandir@/p'
   12344 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12345 *datarootdir*) ac_datarootdir_seen=yes;;
   12346 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12347   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12348 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12349 _ACEOF
   12350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12351   ac_datarootdir_hack='
   12352   s&@datadir@&$datadir&g
   12353   s&@docdir@&$docdir&g
   12354   s&@infodir@&$infodir&g
   12355   s&@localedir@&$localedir&g
   12356   s&@mandir@&$mandir&g
   12357   s&\\\${datarootdir}&$datarootdir&g' ;;
   12358 esac
   12359 _ACEOF
   12360 
   12361 # Neutralize VPATH when `$srcdir' = `.'.
   12362 # Shell code in configure.ac might set extrasub.
   12363 # FIXME: do we really want to maintain this feature?
   12364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12365 ac_sed_extra="$ac_vpsub
   12366 $extrasub
   12367 _ACEOF
   12368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12369 :t
   12370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12371 s|@configure_input@|$ac_sed_conf_input|;t t
   12372 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12373 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12374 s&@srcdir@&$ac_srcdir&;t t
   12375 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12376 s&@top_srcdir@&$ac_top_srcdir&;t t
   12377 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12378 s&@builddir@&$ac_builddir&;t t
   12379 s&@abs_builddir@&$ac_abs_builddir&;t t
   12380 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12381 s&@INSTALL@&$ac_INSTALL&;t t
   12382 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12383 $ac_datarootdir_hack
   12384 "
   12385 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12386   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12387 
   12388 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12389   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12390   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12391       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12393 which seems to be undefined.  Please make sure it is defined" >&5
   12394 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12395 which seems to be undefined.  Please make sure it is defined" >&2;}
   12396 
   12397   rm -f "$ac_tmp/stdin"
   12398   case $ac_file in
   12399   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12400   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12401   esac \
   12402   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12403  ;;
   12404   :H)
   12405   #
   12406   # CONFIG_HEADER
   12407   #
   12408   if test x"$ac_file" != x-; then
   12409     {
   12410       $as_echo "/* $configure_input  */" \
   12411       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12412     } >"$ac_tmp/config.h" \
   12413       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12414     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12415       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12416 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12417     else
   12418       rm -f "$ac_file"
   12419       mv "$ac_tmp/config.h" "$ac_file" \
   12420 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12421     fi
   12422   else
   12423     $as_echo "/* $configure_input  */" \
   12424       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12425       || as_fn_error $? "could not create -" "$LINENO" 5
   12426   fi
   12427 # Compute "$ac_file"'s index in $config_headers.
   12428 _am_arg="$ac_file"
   12429 _am_stamp_count=1
   12430 for _am_header in $config_headers :; do
   12431   case $_am_header in
   12432     $_am_arg | $_am_arg:* )
   12433       break ;;
   12434     * )
   12435       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12436   esac
   12437 done
   12438 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12439 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12440 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12441 	 X"$_am_arg" : 'X\(//\)$' \| \
   12442 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12443 $as_echo X"$_am_arg" |
   12444     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12445 	    s//\1/
   12446 	    q
   12447 	  }
   12448 	  /^X\(\/\/\)[^/].*/{
   12449 	    s//\1/
   12450 	    q
   12451 	  }
   12452 	  /^X\(\/\/\)$/{
   12453 	    s//\1/
   12454 	    q
   12455 	  }
   12456 	  /^X\(\/\).*/{
   12457 	    s//\1/
   12458 	    q
   12459 	  }
   12460 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12461  ;;
   12462 
   12463   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12464 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12465  ;;
   12466   esac
   12467 
   12468 
   12469   case $ac_file$ac_mode in
   12470     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12471   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12472   # are listed without --file.  Let's play safe and only enable the eval
   12473   # if we detect the quoting.
   12474   case $CONFIG_FILES in
   12475   *\'*) eval set x "$CONFIG_FILES" ;;
   12476   *)   set x $CONFIG_FILES ;;
   12477   esac
   12478   shift
   12479   for mf
   12480   do
   12481     # Strip MF so we end up with the name of the file.
   12482     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12483     # Check whether this is an Automake generated Makefile or not.
   12484     # We used to match only the files named `Makefile.in', but
   12485     # some people rename them; so instead we look at the file content.
   12486     # Grep'ing the first line is not enough: some people post-process
   12487     # each Makefile.in and add a new line on top of each file to say so.
   12488     # Grep'ing the whole file is not good either: AIX grep has a line
   12489     # limit of 2048, but all sed's we know have understand at least 4000.
   12490     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12491       dirpart=`$as_dirname -- "$mf" ||
   12492 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12493 	 X"$mf" : 'X\(//\)[^/]' \| \
   12494 	 X"$mf" : 'X\(//\)$' \| \
   12495 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12496 $as_echo X"$mf" |
   12497     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12498 	    s//\1/
   12499 	    q
   12500 	  }
   12501 	  /^X\(\/\/\)[^/].*/{
   12502 	    s//\1/
   12503 	    q
   12504 	  }
   12505 	  /^X\(\/\/\)$/{
   12506 	    s//\1/
   12507 	    q
   12508 	  }
   12509 	  /^X\(\/\).*/{
   12510 	    s//\1/
   12511 	    q
   12512 	  }
   12513 	  s/.*/./; q'`
   12514     else
   12515       continue
   12516     fi
   12517     # Extract the definition of DEPDIR, am__include, and am__quote
   12518     # from the Makefile without running `make'.
   12519     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12520     test -z "$DEPDIR" && continue
   12521     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12522     test -z "am__include" && continue
   12523     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12524     # When using ansi2knr, U may be empty or an underscore; expand it
   12525     U=`sed -n 's/^U = //p' < "$mf"`
   12526     # Find all dependency output files, they are included files with
   12527     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12528     # simplest approach to changing $(DEPDIR) to its actual value in the
   12529     # expansion.
   12530     for file in `sed -n "
   12531       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12532 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12533       # Make sure the directory exists.
   12534       test -f "$dirpart/$file" && continue
   12535       fdir=`$as_dirname -- "$file" ||
   12536 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12537 	 X"$file" : 'X\(//\)[^/]' \| \
   12538 	 X"$file" : 'X\(//\)$' \| \
   12539 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12540 $as_echo X"$file" |
   12541     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12542 	    s//\1/
   12543 	    q
   12544 	  }
   12545 	  /^X\(\/\/\)[^/].*/{
   12546 	    s//\1/
   12547 	    q
   12548 	  }
   12549 	  /^X\(\/\/\)$/{
   12550 	    s//\1/
   12551 	    q
   12552 	  }
   12553 	  /^X\(\/\).*/{
   12554 	    s//\1/
   12555 	    q
   12556 	  }
   12557 	  s/.*/./; q'`
   12558       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12559       # echo "creating $dirpart/$file"
   12560       echo '# dummy' > "$dirpart/$file"
   12561     done
   12562   done
   12563 }
   12564  ;;
   12565 
   12566   esac
   12567 done # for ac_tag
   12568 
   12569 
   12570 as_fn_exit 0
   12571 _ACEOF
   12572 ac_clean_files=$ac_clean_files_save
   12573 
   12574 test $ac_write_fail = 0 ||
   12575   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12576 
   12577 
   12578 # configure is writing to config.log, and then calls config.status.
   12579 # config.status does its own redirection, appending to config.log.
   12580 # Unfortunately, on DOS this fails, as config.log is still kept open
   12581 # by configure, so config.status won't be able to write to it; its
   12582 # output is simply discarded.  So we exec the FD to /dev/null,
   12583 # effectively closing config.log, so it can be properly (re)opened and
   12584 # appended to by config.status.  When coming back to configure, we
   12585 # need to make the FD available again.
   12586 if test "$no_create" != yes; then
   12587   ac_cs_success=:
   12588   ac_config_status_args=
   12589   test "$silent" = yes &&
   12590     ac_config_status_args="$ac_config_status_args --quiet"
   12591   exec 5>/dev/null
   12592   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12593   exec 5>>config.log
   12594   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12595   # would make configure fail if this is the last instruction.
   12596   $ac_cs_success || as_fn_exit 1
   12597 fi
   12598 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12599   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12600 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12601 fi
   12602 
   12603