Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xhost 1.0.6.
      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.6'
    565 PACKAGE_STRING='xhost 1.0.6'
    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 MAN_SUBSTS
    615 XORG_MAN_PAGE
    616 ADMIN_MAN_DIR
    617 DRIVER_MAN_DIR
    618 MISC_MAN_DIR
    619 FILE_MAN_DIR
    620 LIB_MAN_DIR
    621 APP_MAN_DIR
    622 ADMIN_MAN_SUFFIX
    623 DRIVER_MAN_SUFFIX
    624 MISC_MAN_SUFFIX
    625 FILE_MAN_SUFFIX
    626 LIB_MAN_SUFFIX
    627 APP_MAN_SUFFIX
    628 SED
    629 host_os
    630 host_vendor
    631 host_cpu
    632 host
    633 build_os
    634 build_vendor
    635 build_cpu
    636 build
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 EGREP
    644 GREP
    645 CPP
    646 am__fastdepCC_FALSE
    647 am__fastdepCC_TRUE
    648 CCDEPMODE
    649 am__nodep
    650 AMDEPBACKSLASH
    651 AMDEP_FALSE
    652 AMDEP_TRUE
    653 am__quote
    654 am__include
    655 DEPDIR
    656 OBJEXT
    657 EXEEXT
    658 ac_ct_CC
    659 CPPFLAGS
    660 LDFLAGS
    661 CFLAGS
    662 CC
    663 MAINT
    664 MAINTAINER_MODE_FALSE
    665 MAINTAINER_MODE_TRUE
    666 AM_BACKSLASH
    667 AM_DEFAULT_VERBOSITY
    668 AM_DEFAULT_V
    669 AM_V
    670 am__untar
    671 am__tar
    672 AMTAR
    673 am__leading_dot
    674 SET_MAKE
    675 AWK
    676 mkdir_p
    677 MKDIR_P
    678 INSTALL_STRIP_PROGRAM
    679 STRIP
    680 install_sh
    681 MAKEINFO
    682 AUTOHEADER
    683 AUTOMAKE
    684 AUTOCONF
    685 ACLOCAL
    686 VERSION
    687 PACKAGE
    688 CYGPATH_W
    689 am__isrc
    690 INSTALL_DATA
    691 INSTALL_SCRIPT
    692 INSTALL_PROGRAM
    693 target_alias
    694 host_alias
    695 build_alias
    696 LIBS
    697 ECHO_T
    698 ECHO_N
    699 ECHO_C
    700 DEFS
    701 mandir
    702 localedir
    703 libdir
    704 psdir
    705 pdfdir
    706 dvidir
    707 htmldir
    708 infodir
    709 docdir
    710 oldincludedir
    711 includedir
    712 localstatedir
    713 sharedstatedir
    714 sysconfdir
    715 datadir
    716 datarootdir
    717 libexecdir
    718 sbindir
    719 bindir
    720 program_transform_name
    721 prefix
    722 exec_prefix
    723 PACKAGE_URL
    724 PACKAGE_BUGREPORT
    725 PACKAGE_STRING
    726 PACKAGE_VERSION
    727 PACKAGE_TARNAME
    728 PACKAGE_NAME
    729 PATH_SEPARATOR
    730 SHELL'
    731 ac_subst_files=''
    732 ac_user_opts='
    733 enable_option_checking
    734 enable_silent_rules
    735 enable_maintainer_mode
    736 enable_dependency_tracking
    737 enable_selective_werror
    738 enable_strict_compilation
    739 enable_unix_transport
    740 enable_tcp_transport
    741 enable_ipv6
    742 enable_local_transport
    743 enable_secure_rpc
    744 '
    745       ac_precious_vars='build_alias
    746 host_alias
    747 target_alias
    748 CC
    749 CFLAGS
    750 LDFLAGS
    751 LIBS
    752 CPPFLAGS
    753 CPP
    754 PKG_CONFIG
    755 XHOST_CFLAGS
    756 XHOST_LIBS
    757 XAU_CFLAGS
    758 XAU_LIBS'
    759 
    760 
    761 # Initialize some variables set by options.
    762 ac_init_help=
    763 ac_init_version=false
    764 ac_unrecognized_opts=
    765 ac_unrecognized_sep=
    766 # The variables have the same names as the options, with
    767 # dashes changed to underlines.
    768 cache_file=/dev/null
    769 exec_prefix=NONE
    770 no_create=
    771 no_recursion=
    772 prefix=NONE
    773 program_prefix=NONE
    774 program_suffix=NONE
    775 program_transform_name=s,x,x,
    776 silent=
    777 site=
    778 srcdir=
    779 verbose=
    780 x_includes=NONE
    781 x_libraries=NONE
    782 
    783 # Installation directory options.
    784 # These are left unexpanded so users can "make install exec_prefix=/foo"
    785 # and all the variables that are supposed to be based on exec_prefix
    786 # by default will actually change.
    787 # Use braces instead of parens because sh, perl, etc. also accept them.
    788 # (The list follows the same order as the GNU Coding Standards.)
    789 bindir='${exec_prefix}/bin'
    790 sbindir='${exec_prefix}/sbin'
    791 libexecdir='${exec_prefix}/libexec'
    792 datarootdir='${prefix}/share'
    793 datadir='${datarootdir}'
    794 sysconfdir='${prefix}/etc'
    795 sharedstatedir='${prefix}/com'
    796 localstatedir='${prefix}/var'
    797 includedir='${prefix}/include'
    798 oldincludedir='/usr/include'
    799 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    800 infodir='${datarootdir}/info'
    801 htmldir='${docdir}'
    802 dvidir='${docdir}'
    803 pdfdir='${docdir}'
    804 psdir='${docdir}'
    805 libdir='${exec_prefix}/lib'
    806 localedir='${datarootdir}/locale'
    807 mandir='${datarootdir}/man'
    808 
    809 ac_prev=
    810 ac_dashdash=
    811 for ac_option
    812 do
    813   # If the previous option needs an argument, assign it.
    814   if test -n "$ac_prev"; then
    815     eval $ac_prev=\$ac_option
    816     ac_prev=
    817     continue
    818   fi
    819 
    820   case $ac_option in
    821   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    822   *=)   ac_optarg= ;;
    823   *)    ac_optarg=yes ;;
    824   esac
    825 
    826   # Accept the important Cygnus configure options, so we can diagnose typos.
    827 
    828   case $ac_dashdash$ac_option in
    829   --)
    830     ac_dashdash=yes ;;
    831 
    832   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    833     ac_prev=bindir ;;
    834   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    835     bindir=$ac_optarg ;;
    836 
    837   -build | --build | --buil | --bui | --bu)
    838     ac_prev=build_alias ;;
    839   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    840     build_alias=$ac_optarg ;;
    841 
    842   -cache-file | --cache-file | --cache-fil | --cache-fi \
    843   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    844     ac_prev=cache_file ;;
    845   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    846   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    847     cache_file=$ac_optarg ;;
    848 
    849   --config-cache | -C)
    850     cache_file=config.cache ;;
    851 
    852   -datadir | --datadir | --datadi | --datad)
    853     ac_prev=datadir ;;
    854   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    855     datadir=$ac_optarg ;;
    856 
    857   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    858   | --dataroo | --dataro | --datar)
    859     ac_prev=datarootdir ;;
    860   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    861   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    862     datarootdir=$ac_optarg ;;
    863 
    864   -disable-* | --disable-*)
    865     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    866     # Reject names that are not valid shell variable names.
    867     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    868       as_fn_error $? "invalid feature name: $ac_useropt"
    869     ac_useropt_orig=$ac_useropt
    870     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    871     case $ac_user_opts in
    872       *"
    873 "enable_$ac_useropt"
    874 "*) ;;
    875       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    876 	 ac_unrecognized_sep=', ';;
    877     esac
    878     eval enable_$ac_useropt=no ;;
    879 
    880   -docdir | --docdir | --docdi | --doc | --do)
    881     ac_prev=docdir ;;
    882   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    883     docdir=$ac_optarg ;;
    884 
    885   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    886     ac_prev=dvidir ;;
    887   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    888     dvidir=$ac_optarg ;;
    889 
    890   -enable-* | --enable-*)
    891     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    892     # Reject names that are not valid shell variable names.
    893     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    894       as_fn_error $? "invalid feature name: $ac_useropt"
    895     ac_useropt_orig=$ac_useropt
    896     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    897     case $ac_user_opts in
    898       *"
    899 "enable_$ac_useropt"
    900 "*) ;;
    901       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    902 	 ac_unrecognized_sep=', ';;
    903     esac
    904     eval enable_$ac_useropt=\$ac_optarg ;;
    905 
    906   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    907   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    908   | --exec | --exe | --ex)
    909     ac_prev=exec_prefix ;;
    910   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    911   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    912   | --exec=* | --exe=* | --ex=*)
    913     exec_prefix=$ac_optarg ;;
    914 
    915   -gas | --gas | --ga | --g)
    916     # Obsolete; use --with-gas.
    917     with_gas=yes ;;
    918 
    919   -help | --help | --hel | --he | -h)
    920     ac_init_help=long ;;
    921   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    922     ac_init_help=recursive ;;
    923   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    924     ac_init_help=short ;;
    925 
    926   -host | --host | --hos | --ho)
    927     ac_prev=host_alias ;;
    928   -host=* | --host=* | --hos=* | --ho=*)
    929     host_alias=$ac_optarg ;;
    930 
    931   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    932     ac_prev=htmldir ;;
    933   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    934   | --ht=*)
    935     htmldir=$ac_optarg ;;
    936 
    937   -includedir | --includedir | --includedi | --included | --include \
    938   | --includ | --inclu | --incl | --inc)
    939     ac_prev=includedir ;;
    940   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    941   | --includ=* | --inclu=* | --incl=* | --inc=*)
    942     includedir=$ac_optarg ;;
    943 
    944   -infodir | --infodir | --infodi | --infod | --info | --inf)
    945     ac_prev=infodir ;;
    946   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    947     infodir=$ac_optarg ;;
    948 
    949   -libdir | --libdir | --libdi | --libd)
    950     ac_prev=libdir ;;
    951   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    952     libdir=$ac_optarg ;;
    953 
    954   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    955   | --libexe | --libex | --libe)
    956     ac_prev=libexecdir ;;
    957   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    958   | --libexe=* | --libex=* | --libe=*)
    959     libexecdir=$ac_optarg ;;
    960 
    961   -localedir | --localedir | --localedi | --localed | --locale)
    962     ac_prev=localedir ;;
    963   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    964     localedir=$ac_optarg ;;
    965 
    966   -localstatedir | --localstatedir | --localstatedi | --localstated \
    967   | --localstate | --localstat | --localsta | --localst | --locals)
    968     ac_prev=localstatedir ;;
    969   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    970   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    971     localstatedir=$ac_optarg ;;
    972 
    973   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    974     ac_prev=mandir ;;
    975   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    976     mandir=$ac_optarg ;;
    977 
    978   -nfp | --nfp | --nf)
    979     # Obsolete; use --without-fp.
    980     with_fp=no ;;
    981 
    982   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    983   | --no-cr | --no-c | -n)
    984     no_create=yes ;;
    985 
    986   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    987   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    988     no_recursion=yes ;;
    989 
    990   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    991   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    992   | --oldin | --oldi | --old | --ol | --o)
    993     ac_prev=oldincludedir ;;
    994   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    995   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    996   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    997     oldincludedir=$ac_optarg ;;
    998 
    999   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1000     ac_prev=prefix ;;
   1001   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1002     prefix=$ac_optarg ;;
   1003 
   1004   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1005   | --program-pre | --program-pr | --program-p)
   1006     ac_prev=program_prefix ;;
   1007   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1008   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1009     program_prefix=$ac_optarg ;;
   1010 
   1011   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1012   | --program-suf | --program-su | --program-s)
   1013     ac_prev=program_suffix ;;
   1014   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1015   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1016     program_suffix=$ac_optarg ;;
   1017 
   1018   -program-transform-name | --program-transform-name \
   1019   | --program-transform-nam | --program-transform-na \
   1020   | --program-transform-n | --program-transform- \
   1021   | --program-transform | --program-transfor \
   1022   | --program-transfo | --program-transf \
   1023   | --program-trans | --program-tran \
   1024   | --progr-tra | --program-tr | --program-t)
   1025     ac_prev=program_transform_name ;;
   1026   -program-transform-name=* | --program-transform-name=* \
   1027   | --program-transform-nam=* | --program-transform-na=* \
   1028   | --program-transform-n=* | --program-transform-=* \
   1029   | --program-transform=* | --program-transfor=* \
   1030   | --program-transfo=* | --program-transf=* \
   1031   | --program-trans=* | --program-tran=* \
   1032   | --progr-tra=* | --program-tr=* | --program-t=*)
   1033     program_transform_name=$ac_optarg ;;
   1034 
   1035   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1036     ac_prev=pdfdir ;;
   1037   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1038     pdfdir=$ac_optarg ;;
   1039 
   1040   -psdir | --psdir | --psdi | --psd | --ps)
   1041     ac_prev=psdir ;;
   1042   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1043     psdir=$ac_optarg ;;
   1044 
   1045   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1046   | -silent | --silent | --silen | --sile | --sil)
   1047     silent=yes ;;
   1048 
   1049   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1050     ac_prev=sbindir ;;
   1051   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1052   | --sbi=* | --sb=*)
   1053     sbindir=$ac_optarg ;;
   1054 
   1055   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1056   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1057   | --sharedst | --shareds | --shared | --share | --shar \
   1058   | --sha | --sh)
   1059     ac_prev=sharedstatedir ;;
   1060   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1061   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1062   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1063   | --sha=* | --sh=*)
   1064     sharedstatedir=$ac_optarg ;;
   1065 
   1066   -site | --site | --sit)
   1067     ac_prev=site ;;
   1068   -site=* | --site=* | --sit=*)
   1069     site=$ac_optarg ;;
   1070 
   1071   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1072     ac_prev=srcdir ;;
   1073   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1074     srcdir=$ac_optarg ;;
   1075 
   1076   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1077   | --syscon | --sysco | --sysc | --sys | --sy)
   1078     ac_prev=sysconfdir ;;
   1079   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1080   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1081     sysconfdir=$ac_optarg ;;
   1082 
   1083   -target | --target | --targe | --targ | --tar | --ta | --t)
   1084     ac_prev=target_alias ;;
   1085   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1086     target_alias=$ac_optarg ;;
   1087 
   1088   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1089     verbose=yes ;;
   1090 
   1091   -version | --version | --versio | --versi | --vers | -V)
   1092     ac_init_version=: ;;
   1093 
   1094   -with-* | --with-*)
   1095     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1096     # Reject names that are not valid shell variable names.
   1097     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1098       as_fn_error $? "invalid package name: $ac_useropt"
   1099     ac_useropt_orig=$ac_useropt
   1100     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1101     case $ac_user_opts in
   1102       *"
   1103 "with_$ac_useropt"
   1104 "*) ;;
   1105       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1106 	 ac_unrecognized_sep=', ';;
   1107     esac
   1108     eval with_$ac_useropt=\$ac_optarg ;;
   1109 
   1110   -without-* | --without-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       as_fn_error $? "invalid package name: $ac_useropt"
   1115     ac_useropt_orig=$ac_useropt
   1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1117     case $ac_user_opts in
   1118       *"
   1119 "with_$ac_useropt"
   1120 "*) ;;
   1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1122 	 ac_unrecognized_sep=', ';;
   1123     esac
   1124     eval with_$ac_useropt=no ;;
   1125 
   1126   --x)
   1127     # Obsolete; use --with-x.
   1128     with_x=yes ;;
   1129 
   1130   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1131   | --x-incl | --x-inc | --x-in | --x-i)
   1132     ac_prev=x_includes ;;
   1133   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1134   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1135     x_includes=$ac_optarg ;;
   1136 
   1137   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1138   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1139     ac_prev=x_libraries ;;
   1140   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1141   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1142     x_libraries=$ac_optarg ;;
   1143 
   1144   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1145 Try \`$0 --help' for more information"
   1146     ;;
   1147 
   1148   *=*)
   1149     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1150     # Reject names that are not valid shell variable names.
   1151     case $ac_envvar in #(
   1152       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1153       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1154     esac
   1155     eval $ac_envvar=\$ac_optarg
   1156     export $ac_envvar ;;
   1157 
   1158   *)
   1159     # FIXME: should be removed in autoconf 3.0.
   1160     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1161     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1162       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1163     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1164     ;;
   1165 
   1166   esac
   1167 done
   1168 
   1169 if test -n "$ac_prev"; then
   1170   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1171   as_fn_error $? "missing argument to $ac_option"
   1172 fi
   1173 
   1174 if test -n "$ac_unrecognized_opts"; then
   1175   case $enable_option_checking in
   1176     no) ;;
   1177     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1178     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1179   esac
   1180 fi
   1181 
   1182 # Check all directory arguments for consistency.
   1183 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1184 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1185 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1186 		libdir localedir mandir
   1187 do
   1188   eval ac_val=\$$ac_var
   1189   # Remove trailing slashes.
   1190   case $ac_val in
   1191     */ )
   1192       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1193       eval $ac_var=\$ac_val;;
   1194   esac
   1195   # Be sure to have absolute directory names.
   1196   case $ac_val in
   1197     [\\/$]* | ?:[\\/]* )  continue;;
   1198     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1199   esac
   1200   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1201 done
   1202 
   1203 # There might be people who depend on the old broken behavior: `$host'
   1204 # used to hold the argument of --host etc.
   1205 # FIXME: To remove some day.
   1206 build=$build_alias
   1207 host=$host_alias
   1208 target=$target_alias
   1209 
   1210 # FIXME: To remove some day.
   1211 if test "x$host_alias" != x; then
   1212   if test "x$build_alias" = x; then
   1213     cross_compiling=maybe
   1214     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1215     If a cross compiler is detected then cross compile mode will be used" >&2
   1216   elif test "x$build_alias" != "x$host_alias"; then
   1217     cross_compiling=yes
   1218   fi
   1219 fi
   1220 
   1221 ac_tool_prefix=
   1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1223 
   1224 test "$silent" = yes && exec 6>/dev/null
   1225 
   1226 
   1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1228 ac_ls_di=`ls -di .` &&
   1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1230   as_fn_error $? "working directory cannot be determined"
   1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1232   as_fn_error $? "pwd does not report name of working directory"
   1233 
   1234 
   1235 # Find the source files, if location was not specified.
   1236 if test -z "$srcdir"; then
   1237   ac_srcdir_defaulted=yes
   1238   # Try the directory containing this script, then the parent directory.
   1239   ac_confdir=`$as_dirname -- "$as_myself" ||
   1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1241 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1242 	 X"$as_myself" : 'X\(//\)$' \| \
   1243 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1244 $as_echo X"$as_myself" |
   1245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1246 	    s//\1/
   1247 	    q
   1248 	  }
   1249 	  /^X\(\/\/\)[^/].*/{
   1250 	    s//\1/
   1251 	    q
   1252 	  }
   1253 	  /^X\(\/\/\)$/{
   1254 	    s//\1/
   1255 	    q
   1256 	  }
   1257 	  /^X\(\/\).*/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  s/.*/./; q'`
   1262   srcdir=$ac_confdir
   1263   if test ! -r "$srcdir/$ac_unique_file"; then
   1264     srcdir=..
   1265   fi
   1266 else
   1267   ac_srcdir_defaulted=no
   1268 fi
   1269 if test ! -r "$srcdir/$ac_unique_file"; then
   1270   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1271   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1272 fi
   1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1274 ac_abs_confdir=`(
   1275 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1276 	pwd)`
   1277 # When building in place, set srcdir=.
   1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1279   srcdir=.
   1280 fi
   1281 # Remove unnecessary trailing slashes from srcdir.
   1282 # Double slashes in file names in object file debugging info
   1283 # mess up M-x gdb in Emacs.
   1284 case $srcdir in
   1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1286 esac
   1287 for ac_var in $ac_precious_vars; do
   1288   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1289   eval ac_env_${ac_var}_value=\$${ac_var}
   1290   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1291   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1292 done
   1293 
   1294 #
   1295 # Report the --help message.
   1296 #
   1297 if test "$ac_init_help" = "long"; then
   1298   # Omit some internal or obsolete options to make the list less imposing.
   1299   # This message is too long to be a string in the A/UX 3.1 sh.
   1300   cat <<_ACEOF
   1301 \`configure' configures xhost 1.0.6 to adapt to many kinds of systems.
   1302 
   1303 Usage: $0 [OPTION]... [VAR=VALUE]...
   1304 
   1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1306 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1307 
   1308 Defaults for the options are specified in brackets.
   1309 
   1310 Configuration:
   1311   -h, --help              display this help and exit
   1312       --help=short        display options specific to this package
   1313       --help=recursive    display the short help of all the included packages
   1314   -V, --version           display version information and exit
   1315   -q, --quiet, --silent   do not print \`checking ...' messages
   1316       --cache-file=FILE   cache test results in FILE [disabled]
   1317   -C, --config-cache      alias for \`--cache-file=config.cache'
   1318   -n, --no-create         do not create output files
   1319       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1320 
   1321 Installation directories:
   1322   --prefix=PREFIX         install architecture-independent files in PREFIX
   1323                           [$ac_default_prefix]
   1324   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1325                           [PREFIX]
   1326 
   1327 By default, \`make install' will install all the files in
   1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1330 for instance \`--prefix=\$HOME'.
   1331 
   1332 For better control, use the options below.
   1333 
   1334 Fine tuning of the installation directories:
   1335   --bindir=DIR            user executables [EPREFIX/bin]
   1336   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1337   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1338   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1339   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1340   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1341   --libdir=DIR            object code libraries [EPREFIX/lib]
   1342   --includedir=DIR        C header files [PREFIX/include]
   1343   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1344   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1345   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1346   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1347   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1348   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1349   --docdir=DIR            documentation root [DATAROOTDIR/doc/xhost]
   1350   --htmldir=DIR           html documentation [DOCDIR]
   1351   --dvidir=DIR            dvi documentation [DOCDIR]
   1352   --pdfdir=DIR            pdf documentation [DOCDIR]
   1353   --psdir=DIR             ps documentation [DOCDIR]
   1354 _ACEOF
   1355 
   1356   cat <<\_ACEOF
   1357 
   1358 Program names:
   1359   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1360   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1361   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1362 
   1363 System types:
   1364   --build=BUILD     configure for building on BUILD [guessed]
   1365   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1366 _ACEOF
   1367 fi
   1368 
   1369 if test -n "$ac_init_help"; then
   1370   case $ac_init_help in
   1371      short | recursive ) echo "Configuration of xhost 1.0.6:";;
   1372    esac
   1373   cat <<\_ACEOF
   1374 
   1375 Optional Features:
   1376   --disable-option-checking  ignore unrecognized --enable/--with options
   1377   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1378   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1379   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1380   --disable-silent-rules  verbose build output (undo: "make V=0")
   1381   --enable-maintainer-mode
   1382                           enable make rules and dependencies not useful (and
   1383                           sometimes confusing) to the casual installer
   1384   --enable-dependency-tracking
   1385                           do not reject slow dependency extractors
   1386   --disable-dependency-tracking
   1387                           speeds up one-time build
   1388   --disable-selective-werror
   1389                           Turn off selective compiler errors. (default:
   1390                           enabled)
   1391   --enable-strict-compilation
   1392                           Enable all warnings from compiler and make them
   1393                           errors (default: disabled)
   1394   --enable-unix-transport Enable UNIX domain socket transport
   1395   --enable-tcp-transport  Enable TCP socket transport
   1396   --enable-ipv6           Enable IPv6 support
   1397   --enable-local-transport
   1398                           Enable os-specific local transport
   1399   --enable-secure-rpc     Enable Secure RPC
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   PKG_CONFIG  path to pkg-config utility
   1411   XHOST_CFLAGS
   1412               C compiler flags for XHOST, overriding pkg-config
   1413   XHOST_LIBS  linker flags for XHOST, overriding pkg-config
   1414   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1415   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1416 
   1417 Use these variables to override the choices made by `configure' or to help
   1418 it to find libraries and programs with nonstandard names/locations.
   1419 
   1420 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1421 _ACEOF
   1422 ac_status=$?
   1423 fi
   1424 
   1425 if test "$ac_init_help" = "recursive"; then
   1426   # If there are subdirs, report their specific --help.
   1427   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1428     test -d "$ac_dir" ||
   1429       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1430       continue
   1431     ac_builddir=.
   1432 
   1433 case "$ac_dir" in
   1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1435 *)
   1436   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1437   # A ".." for each directory in $ac_dir_suffix.
   1438   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1439   case $ac_top_builddir_sub in
   1440   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1441   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1442   esac ;;
   1443 esac
   1444 ac_abs_top_builddir=$ac_pwd
   1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1446 # for backward compatibility:
   1447 ac_top_builddir=$ac_top_build_prefix
   1448 
   1449 case $srcdir in
   1450   .)  # We are building in place.
   1451     ac_srcdir=.
   1452     ac_top_srcdir=$ac_top_builddir_sub
   1453     ac_abs_top_srcdir=$ac_pwd ;;
   1454   [\\/]* | ?:[\\/]* )  # Absolute name.
   1455     ac_srcdir=$srcdir$ac_dir_suffix;
   1456     ac_top_srcdir=$srcdir
   1457     ac_abs_top_srcdir=$srcdir ;;
   1458   *) # Relative name.
   1459     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1460     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1461     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1462 esac
   1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1464 
   1465     cd "$ac_dir" || { ac_status=$?; continue; }
   1466     # Check for guested configure.
   1467     if test -f "$ac_srcdir/configure.gnu"; then
   1468       echo &&
   1469       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1470     elif test -f "$ac_srcdir/configure"; then
   1471       echo &&
   1472       $SHELL "$ac_srcdir/configure" --help=recursive
   1473     else
   1474       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1475     fi || ac_status=$?
   1476     cd "$ac_pwd" || { ac_status=$?; break; }
   1477   done
   1478 fi
   1479 
   1480 test -n "$ac_init_help" && exit $ac_status
   1481 if $ac_init_version; then
   1482   cat <<\_ACEOF
   1483 xhost configure 1.0.6
   1484 generated by GNU Autoconf 2.68
   1485 
   1486 Copyright (C) 2010 Free Software Foundation, Inc.
   1487 This configure script is free software; the Free Software Foundation
   1488 gives unlimited permission to copy, distribute and modify it.
   1489 _ACEOF
   1490   exit
   1491 fi
   1492 
   1493 ## ------------------------ ##
   1494 ## Autoconf initialization. ##
   1495 ## ------------------------ ##
   1496 
   1497 # ac_fn_c_try_compile LINENO
   1498 # --------------------------
   1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1500 ac_fn_c_try_compile ()
   1501 {
   1502   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1503   rm -f conftest.$ac_objext
   1504   if { { ac_try="$ac_compile"
   1505 case "(($ac_try" in
   1506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1507   *) ac_try_echo=$ac_try;;
   1508 esac
   1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1510 $as_echo "$ac_try_echo"; } >&5
   1511   (eval "$ac_compile") 2>conftest.err
   1512   ac_status=$?
   1513   if test -s conftest.err; then
   1514     grep -v '^ *+' conftest.err >conftest.er1
   1515     cat conftest.er1 >&5
   1516     mv -f conftest.er1 conftest.err
   1517   fi
   1518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1519   test $ac_status = 0; } && {
   1520 	 test -z "$ac_c_werror_flag" ||
   1521 	 test ! -s conftest.err
   1522        } && test -s conftest.$ac_objext; then :
   1523   ac_retval=0
   1524 else
   1525   $as_echo "$as_me: failed program was:" >&5
   1526 sed 's/^/| /' conftest.$ac_ext >&5
   1527 
   1528 	ac_retval=1
   1529 fi
   1530   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1531   as_fn_set_status $ac_retval
   1532 
   1533 } # ac_fn_c_try_compile
   1534 
   1535 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1536 # ---------------------------------------------
   1537 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1538 # accordingly.
   1539 ac_fn_c_check_decl ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1543   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1545 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1546 if eval \${$3+:} false; then :
   1547   $as_echo_n "(cached) " >&6
   1548 else
   1549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1550 /* end confdefs.h.  */
   1551 $4
   1552 int
   1553 main ()
   1554 {
   1555 #ifndef $as_decl_name
   1556 #ifdef __cplusplus
   1557   (void) $as_decl_use;
   1558 #else
   1559   (void) $as_decl_name;
   1560 #endif
   1561 #endif
   1562 
   1563   ;
   1564   return 0;
   1565 }
   1566 _ACEOF
   1567 if ac_fn_c_try_compile "$LINENO"; then :
   1568   eval "$3=yes"
   1569 else
   1570   eval "$3=no"
   1571 fi
   1572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1573 fi
   1574 eval ac_res=\$$3
   1575 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1576 $as_echo "$ac_res" >&6; }
   1577   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1578 
   1579 } # ac_fn_c_check_decl
   1580 
   1581 # ac_fn_c_try_cpp LINENO
   1582 # ----------------------
   1583 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1584 ac_fn_c_try_cpp ()
   1585 {
   1586   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1587   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1588 case "(($ac_try" in
   1589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1590   *) ac_try_echo=$ac_try;;
   1591 esac
   1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1593 $as_echo "$ac_try_echo"; } >&5
   1594   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1595   ac_status=$?
   1596   if test -s conftest.err; then
   1597     grep -v '^ *+' conftest.err >conftest.er1
   1598     cat conftest.er1 >&5
   1599     mv -f conftest.er1 conftest.err
   1600   fi
   1601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1602   test $ac_status = 0; } > conftest.i && {
   1603 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1604 	 test ! -s conftest.err
   1605        }; then :
   1606   ac_retval=0
   1607 else
   1608   $as_echo "$as_me: failed program was:" >&5
   1609 sed 's/^/| /' conftest.$ac_ext >&5
   1610 
   1611     ac_retval=1
   1612 fi
   1613   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1614   as_fn_set_status $ac_retval
   1615 
   1616 } # ac_fn_c_try_cpp
   1617 
   1618 # ac_fn_c_try_run LINENO
   1619 # ----------------------
   1620 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1621 # that executables *can* be run.
   1622 ac_fn_c_try_run ()
   1623 {
   1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1625   if { { ac_try="$ac_link"
   1626 case "(($ac_try" in
   1627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1628   *) ac_try_echo=$ac_try;;
   1629 esac
   1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1631 $as_echo "$ac_try_echo"; } >&5
   1632   (eval "$ac_link") 2>&5
   1633   ac_status=$?
   1634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1635   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1636   { { case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_try") 2>&5
   1643   ac_status=$?
   1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1645   test $ac_status = 0; }; }; then :
   1646   ac_retval=0
   1647 else
   1648   $as_echo "$as_me: program exited with status $ac_status" >&5
   1649        $as_echo "$as_me: failed program was:" >&5
   1650 sed 's/^/| /' conftest.$ac_ext >&5
   1651 
   1652        ac_retval=$ac_status
   1653 fi
   1654   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656   as_fn_set_status $ac_retval
   1657 
   1658 } # ac_fn_c_try_run
   1659 
   1660 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1661 # -------------------------------------------------------
   1662 # Tests whether HEADER exists and can be compiled using the include files in
   1663 # INCLUDES, setting the cache variable VAR accordingly.
   1664 ac_fn_c_check_header_compile ()
   1665 {
   1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1668 $as_echo_n "checking for $2... " >&6; }
   1669 if eval \${$3+:} false; then :
   1670   $as_echo_n "(cached) " >&6
   1671 else
   1672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1673 /* end confdefs.h.  */
   1674 $4
   1675 #include <$2>
   1676 _ACEOF
   1677 if ac_fn_c_try_compile "$LINENO"; then :
   1678   eval "$3=yes"
   1679 else
   1680   eval "$3=no"
   1681 fi
   1682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1683 fi
   1684 eval ac_res=\$$3
   1685 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1686 $as_echo "$ac_res" >&6; }
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688 
   1689 } # ac_fn_c_check_header_compile
   1690 
   1691 # ac_fn_c_try_link LINENO
   1692 # -----------------------
   1693 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1694 ac_fn_c_try_link ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   rm -f conftest.$ac_objext conftest$ac_exeext
   1698   if { { ac_try="$ac_link"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_link") 2>conftest.err
   1706   ac_status=$?
   1707   if test -s conftest.err; then
   1708     grep -v '^ *+' conftest.err >conftest.er1
   1709     cat conftest.er1 >&5
   1710     mv -f conftest.er1 conftest.err
   1711   fi
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; } && {
   1714 	 test -z "$ac_c_werror_flag" ||
   1715 	 test ! -s conftest.err
   1716        } && test -s conftest$ac_exeext && {
   1717 	 test "$cross_compiling" = yes ||
   1718 	 $as_test_x conftest$ac_exeext
   1719        }; then :
   1720   ac_retval=0
   1721 else
   1722   $as_echo "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725 	ac_retval=1
   1726 fi
   1727   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1728   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1729   # interfere with the next link command; also delete a directory that is
   1730   # left behind by Apple's compiler.  We do this before executing the actions.
   1731   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1733   as_fn_set_status $ac_retval
   1734 
   1735 } # ac_fn_c_try_link
   1736 
   1737 # ac_fn_c_check_func LINENO FUNC VAR
   1738 # ----------------------------------
   1739 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1740 ac_fn_c_check_func ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1744 $as_echo_n "checking for $2... " >&6; }
   1745 if eval \${$3+:} false; then :
   1746   $as_echo_n "(cached) " >&6
   1747 else
   1748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1749 /* end confdefs.h.  */
   1750 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1752 #define $2 innocuous_$2
   1753 
   1754 /* System header to define __stub macros and hopefully few prototypes,
   1755     which can conflict with char $2 (); below.
   1756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1757     <limits.h> exists even on freestanding compilers.  */
   1758 
   1759 #ifdef __STDC__
   1760 # include <limits.h>
   1761 #else
   1762 # include <assert.h>
   1763 #endif
   1764 
   1765 #undef $2
   1766 
   1767 /* Override any GCC internal prototype to avoid an error.
   1768    Use char because int might match the return type of a GCC
   1769    builtin and then its argument prototype would still apply.  */
   1770 #ifdef __cplusplus
   1771 extern "C"
   1772 #endif
   1773 char $2 ();
   1774 /* The GNU C library defines this for functions which it implements
   1775     to always fail with ENOSYS.  Some functions are actually named
   1776     something starting with __ and the normal name is an alias.  */
   1777 #if defined __stub_$2 || defined __stub___$2
   1778 choke me
   1779 #endif
   1780 
   1781 int
   1782 main ()
   1783 {
   1784 return $2 ();
   1785   ;
   1786   return 0;
   1787 }
   1788 _ACEOF
   1789 if ac_fn_c_try_link "$LINENO"; then :
   1790   eval "$3=yes"
   1791 else
   1792   eval "$3=no"
   1793 fi
   1794 rm -f core conftest.err conftest.$ac_objext \
   1795     conftest$ac_exeext conftest.$ac_ext
   1796 fi
   1797 eval ac_res=\$$3
   1798 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1799 $as_echo "$ac_res" >&6; }
   1800   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1801 
   1802 } # ac_fn_c_check_func
   1803 
   1804 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1805 # ----------------------------------------------------
   1806 # Tries to find if the field MEMBER exists in type AGGR, after including
   1807 # INCLUDES, setting cache variable VAR accordingly.
   1808 ac_fn_c_check_member ()
   1809 {
   1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1812 $as_echo_n "checking for $2.$3... " >&6; }
   1813 if eval \${$4+:} false; then :
   1814   $as_echo_n "(cached) " >&6
   1815 else
   1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 $5
   1819 int
   1820 main ()
   1821 {
   1822 static $2 ac_aggr;
   1823 if (ac_aggr.$3)
   1824 return 0;
   1825   ;
   1826   return 0;
   1827 }
   1828 _ACEOF
   1829 if ac_fn_c_try_compile "$LINENO"; then :
   1830   eval "$4=yes"
   1831 else
   1832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1833 /* end confdefs.h.  */
   1834 $5
   1835 int
   1836 main ()
   1837 {
   1838 static $2 ac_aggr;
   1839 if (sizeof ac_aggr.$3)
   1840 return 0;
   1841   ;
   1842   return 0;
   1843 }
   1844 _ACEOF
   1845 if ac_fn_c_try_compile "$LINENO"; then :
   1846   eval "$4=yes"
   1847 else
   1848   eval "$4=no"
   1849 fi
   1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1851 fi
   1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1853 fi
   1854 eval ac_res=\$$4
   1855 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1856 $as_echo "$ac_res" >&6; }
   1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1858 
   1859 } # ac_fn_c_check_member
   1860 
   1861 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1862 # -------------------------------------------
   1863 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1864 # variable VAR accordingly.
   1865 ac_fn_c_check_type ()
   1866 {
   1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1869 $as_echo_n "checking for $2... " >&6; }
   1870 if eval \${$3+:} false; then :
   1871   $as_echo_n "(cached) " >&6
   1872 else
   1873   eval "$3=no"
   1874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1875 /* end confdefs.h.  */
   1876 $4
   1877 int
   1878 main ()
   1879 {
   1880 if (sizeof ($2))
   1881 	 return 0;
   1882   ;
   1883   return 0;
   1884 }
   1885 _ACEOF
   1886 if ac_fn_c_try_compile "$LINENO"; then :
   1887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1888 /* end confdefs.h.  */
   1889 $4
   1890 int
   1891 main ()
   1892 {
   1893 if (sizeof (($2)))
   1894 	    return 0;
   1895   ;
   1896   return 0;
   1897 }
   1898 _ACEOF
   1899 if ac_fn_c_try_compile "$LINENO"; then :
   1900 
   1901 else
   1902   eval "$3=yes"
   1903 fi
   1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1905 fi
   1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1907 fi
   1908 eval ac_res=\$$3
   1909 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1910 $as_echo "$ac_res" >&6; }
   1911   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1912 
   1913 } # ac_fn_c_check_type
   1914 cat >config.log <<_ACEOF
   1915 This file contains any messages produced by compilers while
   1916 running configure, to aid debugging if configure makes a mistake.
   1917 
   1918 It was created by xhost $as_me 1.0.6, which was
   1919 generated by GNU Autoconf 2.68.  Invocation command line was
   1920 
   1921   $ $0 $@
   1922 
   1923 _ACEOF
   1924 exec 5>>config.log
   1925 {
   1926 cat <<_ASUNAME
   1927 ## --------- ##
   1928 ## Platform. ##
   1929 ## --------- ##
   1930 
   1931 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1932 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1933 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1934 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1935 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1936 
   1937 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1938 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1939 
   1940 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1941 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1942 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1943 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1944 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1945 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1946 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1947 
   1948 _ASUNAME
   1949 
   1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1951 for as_dir in $PATH
   1952 do
   1953   IFS=$as_save_IFS
   1954   test -z "$as_dir" && as_dir=.
   1955     $as_echo "PATH: $as_dir"
   1956   done
   1957 IFS=$as_save_IFS
   1958 
   1959 } >&5
   1960 
   1961 cat >&5 <<_ACEOF
   1962 
   1963 
   1964 ## ----------- ##
   1965 ## Core tests. ##
   1966 ## ----------- ##
   1967 
   1968 _ACEOF
   1969 
   1970 
   1971 # Keep a trace of the command line.
   1972 # Strip out --no-create and --no-recursion so they do not pile up.
   1973 # Strip out --silent because we don't want to record it for future runs.
   1974 # Also quote any args containing shell meta-characters.
   1975 # Make two passes to allow for proper duplicate-argument suppression.
   1976 ac_configure_args=
   1977 ac_configure_args0=
   1978 ac_configure_args1=
   1979 ac_must_keep_next=false
   1980 for ac_pass in 1 2
   1981 do
   1982   for ac_arg
   1983   do
   1984     case $ac_arg in
   1985     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1986     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1987     | -silent | --silent | --silen | --sile | --sil)
   1988       continue ;;
   1989     *\'*)
   1990       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1991     esac
   1992     case $ac_pass in
   1993     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1994     2)
   1995       as_fn_append ac_configure_args1 " '$ac_arg'"
   1996       if test $ac_must_keep_next = true; then
   1997 	ac_must_keep_next=false # Got value, back to normal.
   1998       else
   1999 	case $ac_arg in
   2000 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2001 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2002 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2003 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2004 	    case "$ac_configure_args0 " in
   2005 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2006 	    esac
   2007 	    ;;
   2008 	  -* ) ac_must_keep_next=true ;;
   2009 	esac
   2010       fi
   2011       as_fn_append ac_configure_args " '$ac_arg'"
   2012       ;;
   2013     esac
   2014   done
   2015 done
   2016 { ac_configure_args0=; unset ac_configure_args0;}
   2017 { ac_configure_args1=; unset ac_configure_args1;}
   2018 
   2019 # When interrupted or exit'd, cleanup temporary files, and complete
   2020 # config.log.  We remove comments because anyway the quotes in there
   2021 # would cause problems or look ugly.
   2022 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2023 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2024 trap 'exit_status=$?
   2025   # Save into config.log some information that might help in debugging.
   2026   {
   2027     echo
   2028 
   2029     $as_echo "## ---------------- ##
   2030 ## Cache variables. ##
   2031 ## ---------------- ##"
   2032     echo
   2033     # The following way of writing the cache mishandles newlines in values,
   2034 (
   2035   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2036     eval ac_val=\$$ac_var
   2037     case $ac_val in #(
   2038     *${as_nl}*)
   2039       case $ac_var in #(
   2040       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2041 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2042       esac
   2043       case $ac_var in #(
   2044       _ | IFS | as_nl) ;; #(
   2045       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2046       *) { eval $ac_var=; unset $ac_var;} ;;
   2047       esac ;;
   2048     esac
   2049   done
   2050   (set) 2>&1 |
   2051     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2052     *${as_nl}ac_space=\ *)
   2053       sed -n \
   2054 	"s/'\''/'\''\\\\'\'''\''/g;
   2055 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2056       ;; #(
   2057     *)
   2058       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2059       ;;
   2060     esac |
   2061     sort
   2062 )
   2063     echo
   2064 
   2065     $as_echo "## ----------------- ##
   2066 ## Output variables. ##
   2067 ## ----------------- ##"
   2068     echo
   2069     for ac_var in $ac_subst_vars
   2070     do
   2071       eval ac_val=\$$ac_var
   2072       case $ac_val in
   2073       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2074       esac
   2075       $as_echo "$ac_var='\''$ac_val'\''"
   2076     done | sort
   2077     echo
   2078 
   2079     if test -n "$ac_subst_files"; then
   2080       $as_echo "## ------------------- ##
   2081 ## File substitutions. ##
   2082 ## ------------------- ##"
   2083       echo
   2084       for ac_var in $ac_subst_files
   2085       do
   2086 	eval ac_val=\$$ac_var
   2087 	case $ac_val in
   2088 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2089 	esac
   2090 	$as_echo "$ac_var='\''$ac_val'\''"
   2091       done | sort
   2092       echo
   2093     fi
   2094 
   2095     if test -s confdefs.h; then
   2096       $as_echo "## ----------- ##
   2097 ## confdefs.h. ##
   2098 ## ----------- ##"
   2099       echo
   2100       cat confdefs.h
   2101       echo
   2102     fi
   2103     test "$ac_signal" != 0 &&
   2104       $as_echo "$as_me: caught signal $ac_signal"
   2105     $as_echo "$as_me: exit $exit_status"
   2106   } >&5
   2107   rm -f core *.core core.conftest.* &&
   2108     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2109     exit $exit_status
   2110 ' 0
   2111 for ac_signal in 1 2 13 15; do
   2112   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2113 done
   2114 ac_signal=0
   2115 
   2116 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2117 rm -f -r conftest* confdefs.h
   2118 
   2119 $as_echo "/* confdefs.h */" > confdefs.h
   2120 
   2121 # Predefined preprocessor variables.
   2122 
   2123 cat >>confdefs.h <<_ACEOF
   2124 #define PACKAGE_NAME "$PACKAGE_NAME"
   2125 _ACEOF
   2126 
   2127 cat >>confdefs.h <<_ACEOF
   2128 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2129 _ACEOF
   2130 
   2131 cat >>confdefs.h <<_ACEOF
   2132 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2133 _ACEOF
   2134 
   2135 cat >>confdefs.h <<_ACEOF
   2136 #define PACKAGE_STRING "$PACKAGE_STRING"
   2137 _ACEOF
   2138 
   2139 cat >>confdefs.h <<_ACEOF
   2140 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2141 _ACEOF
   2142 
   2143 cat >>confdefs.h <<_ACEOF
   2144 #define PACKAGE_URL "$PACKAGE_URL"
   2145 _ACEOF
   2146 
   2147 
   2148 # Let the site file select an alternate cache file if it wants to.
   2149 # Prefer an explicitly selected file to automatically selected ones.
   2150 ac_site_file1=NONE
   2151 ac_site_file2=NONE
   2152 if test -n "$CONFIG_SITE"; then
   2153   # We do not want a PATH search for config.site.
   2154   case $CONFIG_SITE in #((
   2155     -*)  ac_site_file1=./$CONFIG_SITE;;
   2156     */*) ac_site_file1=$CONFIG_SITE;;
   2157     *)   ac_site_file1=./$CONFIG_SITE;;
   2158   esac
   2159 elif test "x$prefix" != xNONE; then
   2160   ac_site_file1=$prefix/share/config.site
   2161   ac_site_file2=$prefix/etc/config.site
   2162 else
   2163   ac_site_file1=$ac_default_prefix/share/config.site
   2164   ac_site_file2=$ac_default_prefix/etc/config.site
   2165 fi
   2166 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2167 do
   2168   test "x$ac_site_file" = xNONE && continue
   2169   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2170     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2171 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2172     sed 's/^/| /' "$ac_site_file" >&5
   2173     . "$ac_site_file" \
   2174       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2176 as_fn_error $? "failed to load site script $ac_site_file
   2177 See \`config.log' for more details" "$LINENO" 5; }
   2178   fi
   2179 done
   2180 
   2181 if test -r "$cache_file"; then
   2182   # Some versions of bash will fail to source /dev/null (special files
   2183   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2184   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2185     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2186 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2187     case $cache_file in
   2188       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2189       *)                      . "./$cache_file";;
   2190     esac
   2191   fi
   2192 else
   2193   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2194 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2195   >$cache_file
   2196 fi
   2197 
   2198 # Check that the precious variables saved in the cache have kept the same
   2199 # value.
   2200 ac_cache_corrupted=false
   2201 for ac_var in $ac_precious_vars; do
   2202   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2203   eval ac_new_set=\$ac_env_${ac_var}_set
   2204   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2205   eval ac_new_val=\$ac_env_${ac_var}_value
   2206   case $ac_old_set,$ac_new_set in
   2207     set,)
   2208       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2209 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2210       ac_cache_corrupted=: ;;
   2211     ,set)
   2212       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2213 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2214       ac_cache_corrupted=: ;;
   2215     ,);;
   2216     *)
   2217       if test "x$ac_old_val" != "x$ac_new_val"; then
   2218 	# differences in whitespace do not lead to failure.
   2219 	ac_old_val_w=`echo x $ac_old_val`
   2220 	ac_new_val_w=`echo x $ac_new_val`
   2221 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2222 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2223 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2224 	  ac_cache_corrupted=:
   2225 	else
   2226 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2227 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2228 	  eval $ac_var=\$ac_old_val
   2229 	fi
   2230 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2231 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2232 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2233 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2234       fi;;
   2235   esac
   2236   # Pass precious variables to config.status.
   2237   if test "$ac_new_set" = set; then
   2238     case $ac_new_val in
   2239     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2240     *) ac_arg=$ac_var=$ac_new_val ;;
   2241     esac
   2242     case " $ac_configure_args " in
   2243       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2244       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2245     esac
   2246   fi
   2247 done
   2248 if $ac_cache_corrupted; then
   2249   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2251   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2252 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2253   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2254 fi
   2255 ## -------------------- ##
   2256 ## Main body of script. ##
   2257 ## -------------------- ##
   2258 
   2259 ac_ext=c
   2260 ac_cpp='$CPP $CPPFLAGS'
   2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2264 
   2265 
   2266 
   2267 ac_config_headers="$ac_config_headers config.h"
   2268 
   2269 
   2270 # Initialize Automake
   2271 am__api_version='1.14'
   2272 
   2273 ac_aux_dir=
   2274 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2275   if test -f "$ac_dir/install-sh"; then
   2276     ac_aux_dir=$ac_dir
   2277     ac_install_sh="$ac_aux_dir/install-sh -c"
   2278     break
   2279   elif test -f "$ac_dir/install.sh"; then
   2280     ac_aux_dir=$ac_dir
   2281     ac_install_sh="$ac_aux_dir/install.sh -c"
   2282     break
   2283   elif test -f "$ac_dir/shtool"; then
   2284     ac_aux_dir=$ac_dir
   2285     ac_install_sh="$ac_aux_dir/shtool install -c"
   2286     break
   2287   fi
   2288 done
   2289 if test -z "$ac_aux_dir"; then
   2290   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2291 fi
   2292 
   2293 # These three variables are undocumented and unsupported,
   2294 # and are intended to be withdrawn in a future Autoconf release.
   2295 # They can cause serious problems if a builder's source tree is in a directory
   2296 # whose full name contains unusual characters.
   2297 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2298 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2299 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2300 
   2301 
   2302 # Find a good install program.  We prefer a C program (faster),
   2303 # so one script is as good as another.  But avoid the broken or
   2304 # incompatible versions:
   2305 # SysV /etc/install, /usr/sbin/install
   2306 # SunOS /usr/etc/install
   2307 # IRIX /sbin/install
   2308 # AIX /bin/install
   2309 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2313 # OS/2's system install, which has a completely different semantic
   2314 # ./install, which can be erroneously created by make from ./install.sh.
   2315 # Reject install programs that cannot install multiple files.
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2317 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2318 if test -z "$INSTALL"; then
   2319 if ${ac_cv_path_install+:} false; then :
   2320   $as_echo_n "(cached) " >&6
   2321 else
   2322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2323 for as_dir in $PATH
   2324 do
   2325   IFS=$as_save_IFS
   2326   test -z "$as_dir" && as_dir=.
   2327     # Account for people who put trailing slashes in PATH elements.
   2328 case $as_dir/ in #((
   2329   ./ | .// | /[cC]/* | \
   2330   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2331   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2332   /usr/ucb/* ) ;;
   2333   *)
   2334     # OSF1 and SCO ODT 3.0 have their own names for install.
   2335     # Don't use installbsd from OSF since it installs stuff as root
   2336     # by default.
   2337     for ac_prog in ginstall scoinst install; do
   2338       for ac_exec_ext in '' $ac_executable_extensions; do
   2339 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2340 	  if test $ac_prog = install &&
   2341 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2342 	    # AIX install.  It has an incompatible calling convention.
   2343 	    :
   2344 	  elif test $ac_prog = install &&
   2345 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2346 	    # program-specific install script used by HP pwplus--don't use.
   2347 	    :
   2348 	  else
   2349 	    rm -rf conftest.one conftest.two conftest.dir
   2350 	    echo one > conftest.one
   2351 	    echo two > conftest.two
   2352 	    mkdir conftest.dir
   2353 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2354 	      test -s conftest.one && test -s conftest.two &&
   2355 	      test -s conftest.dir/conftest.one &&
   2356 	      test -s conftest.dir/conftest.two
   2357 	    then
   2358 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2359 	      break 3
   2360 	    fi
   2361 	  fi
   2362 	fi
   2363       done
   2364     done
   2365     ;;
   2366 esac
   2367 
   2368   done
   2369 IFS=$as_save_IFS
   2370 
   2371 rm -rf conftest.one conftest.two conftest.dir
   2372 
   2373 fi
   2374   if test "${ac_cv_path_install+set}" = set; then
   2375     INSTALL=$ac_cv_path_install
   2376   else
   2377     # As a last resort, use the slow shell script.  Don't cache a
   2378     # value for INSTALL within a source directory, because that will
   2379     # break other packages using the cache if that directory is
   2380     # removed, or if the value is a relative name.
   2381     INSTALL=$ac_install_sh
   2382   fi
   2383 fi
   2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2385 $as_echo "$INSTALL" >&6; }
   2386 
   2387 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2388 # It thinks the first close brace ends the variable substitution.
   2389 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2390 
   2391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2392 
   2393 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2394 
   2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2396 $as_echo_n "checking whether build environment is sane... " >&6; }
   2397 # Reject unsafe characters in $srcdir or the absolute working directory
   2398 # name.  Accept space and tab only in the latter.
   2399 am_lf='
   2400 '
   2401 case `pwd` in
   2402   *[\\\"\#\$\&\'\`$am_lf]*)
   2403     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2404 esac
   2405 case $srcdir in
   2406   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2407     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2408 esac
   2409 
   2410 # Do 'set' in a subshell so we don't clobber the current shell's
   2411 # arguments.  Must try -L first in case configure is actually a
   2412 # symlink; some systems play weird games with the mod time of symlinks
   2413 # (eg FreeBSD returns the mod time of the symlink's containing
   2414 # directory).
   2415 if (
   2416    am_has_slept=no
   2417    for am_try in 1 2; do
   2418      echo "timestamp, slept: $am_has_slept" > conftest.file
   2419      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2420      if test "$*" = "X"; then
   2421 	# -L didn't work.
   2422 	set X `ls -t "$srcdir/configure" conftest.file`
   2423      fi
   2424      if test "$*" != "X $srcdir/configure conftest.file" \
   2425 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2426 
   2427 	# If neither matched, then we have a broken ls.  This can happen
   2428 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2429 	# broken ls alias from the environment.  This has actually
   2430 	# happened.  Such a system could not be considered "sane".
   2431 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2432   alias in your environment" "$LINENO" 5
   2433      fi
   2434      if test "$2" = conftest.file || test $am_try -eq 2; then
   2435        break
   2436      fi
   2437      # Just in case.
   2438      sleep 1
   2439      am_has_slept=yes
   2440    done
   2441    test "$2" = conftest.file
   2442    )
   2443 then
   2444    # Ok.
   2445    :
   2446 else
   2447    as_fn_error $? "newly created file is older than distributed files!
   2448 Check your system clock" "$LINENO" 5
   2449 fi
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2451 $as_echo "yes" >&6; }
   2452 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2453 # generated files are strictly newer.
   2454 am_sleep_pid=
   2455 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2456   ( sleep 1 ) &
   2457   am_sleep_pid=$!
   2458 fi
   2459 
   2460 rm -f conftest.file
   2461 
   2462 test "$program_prefix" != NONE &&
   2463   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2464 # Use a double $ so make ignores it.
   2465 test "$program_suffix" != NONE &&
   2466   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2467 # Double any \ or $.
   2468 # By default was `s,x,x', remove it if useless.
   2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2471 
   2472 # expand $ac_aux_dir to an absolute path
   2473 am_aux_dir=`cd $ac_aux_dir && pwd`
   2474 
   2475 if test x"${MISSING+set}" != xset; then
   2476   case $am_aux_dir in
   2477   *\ * | *\	*)
   2478     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2479   *)
   2480     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2481   esac
   2482 fi
   2483 # Use eval to expand $SHELL
   2484 if eval "$MISSING --is-lightweight"; then
   2485   am_missing_run="$MISSING "
   2486 else
   2487   am_missing_run=
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2489 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2490 fi
   2491 
   2492 if test x"${install_sh}" != xset; then
   2493   case $am_aux_dir in
   2494   *\ * | *\	*)
   2495     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2496   *)
   2497     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2498   esac
   2499 fi
   2500 
   2501 # Installed binaries are usually stripped using 'strip' when the user
   2502 # run "make install-strip".  However 'strip' might not be the right
   2503 # tool to use in cross-compilation environments, therefore Automake
   2504 # will honor the 'STRIP' environment variable to overrule this program.
   2505 if test "$cross_compiling" != no; then
   2506   if test -n "$ac_tool_prefix"; then
   2507   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2510 $as_echo_n "checking for $ac_word... " >&6; }
   2511 if ${ac_cv_prog_STRIP+:} false; then :
   2512   $as_echo_n "(cached) " >&6
   2513 else
   2514   if test -n "$STRIP"; then
   2515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2516 else
   2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2518 for as_dir in $PATH
   2519 do
   2520   IFS=$as_save_IFS
   2521   test -z "$as_dir" && as_dir=.
   2522     for ac_exec_ext in '' $ac_executable_extensions; do
   2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2524     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2526     break 2
   2527   fi
   2528 done
   2529   done
   2530 IFS=$as_save_IFS
   2531 
   2532 fi
   2533 fi
   2534 STRIP=$ac_cv_prog_STRIP
   2535 if test -n "$STRIP"; then
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2537 $as_echo "$STRIP" >&6; }
   2538 else
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2540 $as_echo "no" >&6; }
   2541 fi
   2542 
   2543 
   2544 fi
   2545 if test -z "$ac_cv_prog_STRIP"; then
   2546   ac_ct_STRIP=$STRIP
   2547   # Extract the first word of "strip", so it can be a program name with args.
   2548 set dummy strip; ac_word=$2
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2550 $as_echo_n "checking for $ac_word... " >&6; }
   2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   if test -n "$ac_ct_STRIP"; then
   2555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562     for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2564     ac_cv_prog_ac_ct_STRIP="strip"
   2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2575 if test -n "$ac_ct_STRIP"; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2577 $as_echo "$ac_ct_STRIP" >&6; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2580 $as_echo "no" >&6; }
   2581 fi
   2582 
   2583   if test "x$ac_ct_STRIP" = x; then
   2584     STRIP=":"
   2585   else
   2586     case $cross_compiling:$ac_tool_warned in
   2587 yes:)
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2590 ac_tool_warned=yes ;;
   2591 esac
   2592     STRIP=$ac_ct_STRIP
   2593   fi
   2594 else
   2595   STRIP="$ac_cv_prog_STRIP"
   2596 fi
   2597 
   2598 fi
   2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2600 
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2603 if test -z "$MKDIR_P"; then
   2604   if ${ac_cv_path_mkdir+:} false; then :
   2605   $as_echo_n "(cached) " >&6
   2606 else
   2607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2609 do
   2610   IFS=$as_save_IFS
   2611   test -z "$as_dir" && as_dir=.
   2612     for ac_prog in mkdir gmkdir; do
   2613 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2614 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2615 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2616 	     'mkdir (GNU coreutils) '* | \
   2617 	     'mkdir (coreutils) '* | \
   2618 	     'mkdir (fileutils) '4.1*)
   2619 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2620 	       break 3;;
   2621 	   esac
   2622 	 done
   2623        done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 
   2629   test -d ./--version && rmdir ./--version
   2630   if test "${ac_cv_path_mkdir+set}" = set; then
   2631     MKDIR_P="$ac_cv_path_mkdir -p"
   2632   else
   2633     # As a last resort, use the slow shell script.  Don't cache a
   2634     # value for MKDIR_P within a source directory, because that will
   2635     # break other packages using the cache if that directory is
   2636     # removed, or if the value is a relative name.
   2637     MKDIR_P="$ac_install_sh -d"
   2638   fi
   2639 fi
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2641 $as_echo "$MKDIR_P" >&6; }
   2642 
   2643 for ac_prog in gawk mawk nawk awk
   2644 do
   2645   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2646 set dummy $ac_prog; ac_word=$2
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if ${ac_cv_prog_AWK+:} false; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$AWK"; then
   2653   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660     for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_AWK="$ac_prog"
   2663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 AWK=$ac_cv_prog_AWK
   2673 if test -n "$AWK"; then
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2675 $as_echo "$AWK" >&6; }
   2676 else
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682   test -n "$AWK" && break
   2683 done
   2684 
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2686 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2687 set x ${MAKE-make}
   2688 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2689 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   cat >conftest.make <<\_ACEOF
   2693 SHELL = /bin/sh
   2694 all:
   2695 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2696 _ACEOF
   2697 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2699   *@@@%%%=?*=@@@%%%*)
   2700     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2701   *)
   2702     eval ac_cv_prog_make_${ac_make}_set=no;;
   2703 esac
   2704 rm -f conftest.make
   2705 fi
   2706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2708 $as_echo "yes" >&6; }
   2709   SET_MAKE=
   2710 else
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2712 $as_echo "no" >&6; }
   2713   SET_MAKE="MAKE=${MAKE-make}"
   2714 fi
   2715 
   2716 rm -rf .tst 2>/dev/null
   2717 mkdir .tst 2>/dev/null
   2718 if test -d .tst; then
   2719   am__leading_dot=.
   2720 else
   2721   am__leading_dot=_
   2722 fi
   2723 rmdir .tst 2>/dev/null
   2724 
   2725 # Check whether --enable-silent-rules was given.
   2726 if test "${enable_silent_rules+set}" = set; then :
   2727   enableval=$enable_silent_rules;
   2728 fi
   2729 
   2730 case $enable_silent_rules in # (((
   2731   yes) AM_DEFAULT_VERBOSITY=0;;
   2732    no) AM_DEFAULT_VERBOSITY=1;;
   2733     *) AM_DEFAULT_VERBOSITY=1;;
   2734 esac
   2735 am_make=${MAKE-make}
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2737 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2738 if ${am_cv_make_support_nested_variables+:} false; then :
   2739   $as_echo_n "(cached) " >&6
   2740 else
   2741   if $as_echo 'TRUE=$(BAR$(V))
   2742 BAR0=false
   2743 BAR1=true
   2744 V=1
   2745 am__doit:
   2746 	@$(TRUE)
   2747 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2748   am_cv_make_support_nested_variables=yes
   2749 else
   2750   am_cv_make_support_nested_variables=no
   2751 fi
   2752 fi
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2754 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2755 if test $am_cv_make_support_nested_variables = yes; then
   2756     AM_V='$(V)'
   2757   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2758 else
   2759   AM_V=$AM_DEFAULT_VERBOSITY
   2760   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2761 fi
   2762 AM_BACKSLASH='\'
   2763 
   2764 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2765   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2766   # is not polluted with repeated "-I."
   2767   am__isrc=' -I$(srcdir)'
   2768   # test to see if srcdir already configured
   2769   if test -f $srcdir/config.status; then
   2770     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2771   fi
   2772 fi
   2773 
   2774 # test whether we have cygpath
   2775 if test -z "$CYGPATH_W"; then
   2776   if (cygpath --version) >/dev/null 2>/dev/null; then
   2777     CYGPATH_W='cygpath -w'
   2778   else
   2779     CYGPATH_W=echo
   2780   fi
   2781 fi
   2782 
   2783 
   2784 # Define the identity of the package.
   2785  PACKAGE='xhost'
   2786  VERSION='1.0.6'
   2787 
   2788 
   2789 cat >>confdefs.h <<_ACEOF
   2790 #define PACKAGE "$PACKAGE"
   2791 _ACEOF
   2792 
   2793 
   2794 cat >>confdefs.h <<_ACEOF
   2795 #define VERSION "$VERSION"
   2796 _ACEOF
   2797 
   2798 # Some tools Automake needs.
   2799 
   2800 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2801 
   2802 
   2803 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2804 
   2805 
   2806 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2807 
   2808 
   2809 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2810 
   2811 
   2812 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2813 
   2814 # For better backward compatibility.  To be removed once Automake 1.9.x
   2815 # dies out for good.  For more background, see:
   2816 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2817 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2818 mkdir_p='$(MKDIR_P)'
   2819 
   2820 # We need awk for the "check" target.  The system "awk" is bad on
   2821 # some platforms.
   2822 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2823 # in the wild :-(  We should find a proper way to deprecate it ...
   2824 AMTAR='$${TAR-tar}'
   2825 
   2826 
   2827 # We'll loop over all known methods to create a tar archive until one works.
   2828 _am_tools='gnutar  pax cpio none'
   2829 
   2830 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2831 
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 # POSIX will say in a future version that running "rm -f" with no argument
   2838 # is OK; and we want to be able to make that assumption in our Makefile
   2839 # recipes.  So use an aggressive probe to check that the usage we want is
   2840 # actually supported "in the wild" to an acceptable degree.
   2841 # See automake bug#10828.
   2842 # To make any issue more visible, cause the running configure to be aborted
   2843 # by default if the 'rm' program in use doesn't match our expectations; the
   2844 # user can still override this though.
   2845 if rm -f && rm -fr && rm -rf; then : OK; else
   2846   cat >&2 <<'END'
   2847 Oops!
   2848 
   2849 Your 'rm' program seems unable to run without file operands specified
   2850 on the command line, even when the '-f' option is present.  This is contrary
   2851 to the behaviour of most rm programs out there, and not conforming with
   2852 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2853 
   2854 Please tell bug-automake@gnu.org about your system, including the value
   2855 of your $PATH and any error possibly output before this message.  This
   2856 can help us improve future automake versions.
   2857 
   2858 END
   2859   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2860     echo 'Configuration will proceed anyway, since you have set the' >&2
   2861     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2862     echo >&2
   2863   else
   2864     cat >&2 <<'END'
   2865 Aborting the configuration process, to ensure you take notice of the issue.
   2866 
   2867 You can download and install GNU coreutils to get an 'rm' implementation
   2868 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2869 
   2870 If you want to complete the configuration process using your problematic
   2871 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2872 to "yes", and re-run configure.
   2873 
   2874 END
   2875     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2876   fi
   2877 fi
   2878 
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2880 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2881     # Check whether --enable-maintainer-mode was given.
   2882 if test "${enable_maintainer_mode+set}" = set; then :
   2883   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2884 else
   2885   USE_MAINTAINER_MODE=no
   2886 fi
   2887 
   2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2889 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2890    if test $USE_MAINTAINER_MODE = yes; then
   2891   MAINTAINER_MODE_TRUE=
   2892   MAINTAINER_MODE_FALSE='#'
   2893 else
   2894   MAINTAINER_MODE_TRUE='#'
   2895   MAINTAINER_MODE_FALSE=
   2896 fi
   2897 
   2898   MAINT=$MAINTAINER_MODE_TRUE
   2899 
   2900 
   2901 
   2902 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2903 
   2904 
   2905 
   2906 
   2907 
   2908 
   2909 
   2910 
   2911 
   2912 
   2913 
   2914 DEPDIR="${am__leading_dot}deps"
   2915 
   2916 ac_config_commands="$ac_config_commands depfiles"
   2917 
   2918 
   2919 am_make=${MAKE-make}
   2920 cat > confinc << 'END'
   2921 am__doit:
   2922 	@echo this is the am__doit target
   2923 .PHONY: am__doit
   2924 END
   2925 # If we don't find an include directive, just comment out the code.
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2927 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2928 am__include="#"
   2929 am__quote=
   2930 _am_result=none
   2931 # First try GNU make style include.
   2932 echo "include confinc" > confmf
   2933 # Ignore all kinds of additional output from 'make'.
   2934 case `$am_make -s -f confmf 2> /dev/null` in #(
   2935 *the\ am__doit\ target*)
   2936   am__include=include
   2937   am__quote=
   2938   _am_result=GNU
   2939   ;;
   2940 esac
   2941 # Now try BSD make style include.
   2942 if test "$am__include" = "#"; then
   2943    echo '.include "confinc"' > confmf
   2944    case `$am_make -s -f confmf 2> /dev/null` in #(
   2945    *the\ am__doit\ target*)
   2946      am__include=.include
   2947      am__quote="\""
   2948      _am_result=BSD
   2949      ;;
   2950    esac
   2951 fi
   2952 
   2953 
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2955 $as_echo "$_am_result" >&6; }
   2956 rm -f confinc confmf
   2957 
   2958 # Check whether --enable-dependency-tracking was given.
   2959 if test "${enable_dependency_tracking+set}" = set; then :
   2960   enableval=$enable_dependency_tracking;
   2961 fi
   2962 
   2963 if test "x$enable_dependency_tracking" != xno; then
   2964   am_depcomp="$ac_aux_dir/depcomp"
   2965   AMDEPBACKSLASH='\'
   2966   am__nodep='_no'
   2967 fi
   2968  if test "x$enable_dependency_tracking" != xno; then
   2969   AMDEP_TRUE=
   2970   AMDEP_FALSE='#'
   2971 else
   2972   AMDEP_TRUE='#'
   2973   AMDEP_FALSE=
   2974 fi
   2975 
   2976 
   2977 ac_ext=c
   2978 ac_cpp='$CPP $CPPFLAGS'
   2979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2982 if test -n "$ac_tool_prefix"; then
   2983   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2984 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2986 $as_echo_n "checking for $ac_word... " >&6; }
   2987 if ${ac_cv_prog_CC+:} false; then :
   2988   $as_echo_n "(cached) " >&6
   2989 else
   2990   if test -n "$CC"; then
   2991   ac_cv_prog_CC="$CC" # Let the user override the test.
   2992 else
   2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2994 for as_dir in $PATH
   2995 do
   2996   IFS=$as_save_IFS
   2997   test -z "$as_dir" && as_dir=.
   2998     for ac_exec_ext in '' $ac_executable_extensions; do
   2999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3000     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3002     break 2
   3003   fi
   3004 done
   3005   done
   3006 IFS=$as_save_IFS
   3007 
   3008 fi
   3009 fi
   3010 CC=$ac_cv_prog_CC
   3011 if test -n "$CC"; then
   3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3013 $as_echo "$CC" >&6; }
   3014 else
   3015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3016 $as_echo "no" >&6; }
   3017 fi
   3018 
   3019 
   3020 fi
   3021 if test -z "$ac_cv_prog_CC"; then
   3022   ac_ct_CC=$CC
   3023   # Extract the first word of "gcc", so it can be a program name with args.
   3024 set dummy gcc; ac_word=$2
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 $as_echo_n "checking for $ac_word... " >&6; }
   3027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   if test -n "$ac_ct_CC"; then
   3031   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3032 else
   3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3034 for as_dir in $PATH
   3035 do
   3036   IFS=$as_save_IFS
   3037   test -z "$as_dir" && as_dir=.
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3040     ac_cv_prog_ac_ct_CC="gcc"
   3041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi
   3049 fi
   3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3051 if test -n "$ac_ct_CC"; then
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3053 $as_echo "$ac_ct_CC" >&6; }
   3054 else
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 $as_echo "no" >&6; }
   3057 fi
   3058 
   3059   if test "x$ac_ct_CC" = x; then
   3060     CC=""
   3061   else
   3062     case $cross_compiling:$ac_tool_warned in
   3063 yes:)
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3066 ac_tool_warned=yes ;;
   3067 esac
   3068     CC=$ac_ct_CC
   3069   fi
   3070 else
   3071   CC="$ac_cv_prog_CC"
   3072 fi
   3073 
   3074 if test -z "$CC"; then
   3075           if test -n "$ac_tool_prefix"; then
   3076     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3077 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3079 $as_echo_n "checking for $ac_word... " >&6; }
   3080 if ${ac_cv_prog_CC+:} false; then :
   3081   $as_echo_n "(cached) " >&6
   3082 else
   3083   if test -n "$CC"; then
   3084   ac_cv_prog_CC="$CC" # Let the user override the test.
   3085 else
   3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3087 for as_dir in $PATH
   3088 do
   3089   IFS=$as_save_IFS
   3090   test -z "$as_dir" && as_dir=.
   3091     for ac_exec_ext in '' $ac_executable_extensions; do
   3092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3093     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3095     break 2
   3096   fi
   3097 done
   3098   done
   3099 IFS=$as_save_IFS
   3100 
   3101 fi
   3102 fi
   3103 CC=$ac_cv_prog_CC
   3104 if test -n "$CC"; then
   3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3106 $as_echo "$CC" >&6; }
   3107 else
   3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3109 $as_echo "no" >&6; }
   3110 fi
   3111 
   3112 
   3113   fi
   3114 fi
   3115 if test -z "$CC"; then
   3116   # Extract the first word of "cc", so it can be a program name with args.
   3117 set dummy cc; ac_word=$2
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3119 $as_echo_n "checking for $ac_word... " >&6; }
   3120 if ${ac_cv_prog_CC+:} false; then :
   3121   $as_echo_n "(cached) " >&6
   3122 else
   3123   if test -n "$CC"; then
   3124   ac_cv_prog_CC="$CC" # Let the user override the test.
   3125 else
   3126   ac_prog_rejected=no
   3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3128 for as_dir in $PATH
   3129 do
   3130   IFS=$as_save_IFS
   3131   test -z "$as_dir" && as_dir=.
   3132     for ac_exec_ext in '' $ac_executable_extensions; do
   3133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3134     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3135        ac_prog_rejected=yes
   3136        continue
   3137      fi
   3138     ac_cv_prog_CC="cc"
   3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3140     break 2
   3141   fi
   3142 done
   3143   done
   3144 IFS=$as_save_IFS
   3145 
   3146 if test $ac_prog_rejected = yes; then
   3147   # We found a bogon in the path, so make sure we never use it.
   3148   set dummy $ac_cv_prog_CC
   3149   shift
   3150   if test $# != 0; then
   3151     # We chose a different compiler from the bogus one.
   3152     # However, it has the same basename, so the bogon will be chosen
   3153     # first if we set CC to just the basename; use the full file name.
   3154     shift
   3155     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3156   fi
   3157 fi
   3158 fi
   3159 fi
   3160 CC=$ac_cv_prog_CC
   3161 if test -n "$CC"; then
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3163 $as_echo "$CC" >&6; }
   3164 else
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3166 $as_echo "no" >&6; }
   3167 fi
   3168 
   3169 
   3170 fi
   3171 if test -z "$CC"; then
   3172   if test -n "$ac_tool_prefix"; then
   3173   for ac_prog in cl.exe
   3174   do
   3175     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3178 $as_echo_n "checking for $ac_word... " >&6; }
   3179 if ${ac_cv_prog_CC+:} false; then :
   3180   $as_echo_n "(cached) " >&6
   3181 else
   3182   if test -n "$CC"; then
   3183   ac_cv_prog_CC="$CC" # Let the user override the test.
   3184 else
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH
   3187 do
   3188   IFS=$as_save_IFS
   3189   test -z "$as_dir" && as_dir=.
   3190     for ac_exec_ext in '' $ac_executable_extensions; do
   3191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3192     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3194     break 2
   3195   fi
   3196 done
   3197   done
   3198 IFS=$as_save_IFS
   3199 
   3200 fi
   3201 fi
   3202 CC=$ac_cv_prog_CC
   3203 if test -n "$CC"; then
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3205 $as_echo "$CC" >&6; }
   3206 else
   3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3208 $as_echo "no" >&6; }
   3209 fi
   3210 
   3211 
   3212     test -n "$CC" && break
   3213   done
   3214 fi
   3215 if test -z "$CC"; then
   3216   ac_ct_CC=$CC
   3217   for ac_prog in cl.exe
   3218 do
   3219   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3220 set dummy $ac_prog; ac_word=$2
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3222 $as_echo_n "checking for $ac_word... " >&6; }
   3223 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3224   $as_echo_n "(cached) " >&6
   3225 else
   3226   if test -n "$ac_ct_CC"; then
   3227   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3228 else
   3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3230 for as_dir in $PATH
   3231 do
   3232   IFS=$as_save_IFS
   3233   test -z "$as_dir" && as_dir=.
   3234     for ac_exec_ext in '' $ac_executable_extensions; do
   3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3236     ac_cv_prog_ac_ct_CC="$ac_prog"
   3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3238     break 2
   3239   fi
   3240 done
   3241   done
   3242 IFS=$as_save_IFS
   3243 
   3244 fi
   3245 fi
   3246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3247 if test -n "$ac_ct_CC"; then
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3249 $as_echo "$ac_ct_CC" >&6; }
   3250 else
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3252 $as_echo "no" >&6; }
   3253 fi
   3254 
   3255 
   3256   test -n "$ac_ct_CC" && break
   3257 done
   3258 
   3259   if test "x$ac_ct_CC" = x; then
   3260     CC=""
   3261   else
   3262     case $cross_compiling:$ac_tool_warned in
   3263 yes:)
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3266 ac_tool_warned=yes ;;
   3267 esac
   3268     CC=$ac_ct_CC
   3269   fi
   3270 fi
   3271 
   3272 fi
   3273 
   3274 
   3275 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3277 as_fn_error $? "no acceptable C compiler found in \$PATH
   3278 See \`config.log' for more details" "$LINENO" 5; }
   3279 
   3280 # Provide some information about the compiler.
   3281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3282 set X $ac_compile
   3283 ac_compiler=$2
   3284 for ac_option in --version -v -V -qversion; do
   3285   { { ac_try="$ac_compiler $ac_option >&5"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3293   ac_status=$?
   3294   if test -s conftest.err; then
   3295     sed '10a\
   3296 ... rest of stderr output deleted ...
   3297          10q' conftest.err >conftest.er1
   3298     cat conftest.er1 >&5
   3299   fi
   3300   rm -f conftest.er1 conftest.err
   3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }
   3303 done
   3304 
   3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3306 /* end confdefs.h.  */
   3307 
   3308 int
   3309 main ()
   3310 {
   3311 
   3312   ;
   3313   return 0;
   3314 }
   3315 _ACEOF
   3316 ac_clean_files_save=$ac_clean_files
   3317 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3318 # Try to create an executable without -o first, disregard a.out.
   3319 # It will help us diagnose broken compilers, and finding out an intuition
   3320 # of exeext.
   3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3322 $as_echo_n "checking whether the C compiler works... " >&6; }
   3323 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3324 
   3325 # The possible output files:
   3326 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3327 
   3328 ac_rmfiles=
   3329 for ac_file in $ac_files
   3330 do
   3331   case $ac_file in
   3332     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3333     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3334   esac
   3335 done
   3336 rm -f $ac_rmfiles
   3337 
   3338 if { { ac_try="$ac_link_default"
   3339 case "(($ac_try" in
   3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3341   *) ac_try_echo=$ac_try;;
   3342 esac
   3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3344 $as_echo "$ac_try_echo"; } >&5
   3345   (eval "$ac_link_default") 2>&5
   3346   ac_status=$?
   3347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3348   test $ac_status = 0; }; then :
   3349   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3350 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3351 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3352 # so that the user can short-circuit this test for compilers unknown to
   3353 # Autoconf.
   3354 for ac_file in $ac_files ''
   3355 do
   3356   test -f "$ac_file" || continue
   3357   case $ac_file in
   3358     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3359 	;;
   3360     [ab].out )
   3361 	# We found the default executable, but exeext='' is most
   3362 	# certainly right.
   3363 	break;;
   3364     *.* )
   3365 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3366 	then :; else
   3367 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3368 	fi
   3369 	# We set ac_cv_exeext here because the later test for it is not
   3370 	# safe: cross compilers may not add the suffix if given an `-o'
   3371 	# argument, so we may need to know it at that point already.
   3372 	# Even if this section looks crufty: it has the advantage of
   3373 	# actually working.
   3374 	break;;
   3375     * )
   3376 	break;;
   3377   esac
   3378 done
   3379 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3380 
   3381 else
   3382   ac_file=''
   3383 fi
   3384 if test -z "$ac_file"; then :
   3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3386 $as_echo "no" >&6; }
   3387 $as_echo "$as_me: failed program was:" >&5
   3388 sed 's/^/| /' conftest.$ac_ext >&5
   3389 
   3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3392 as_fn_error 77 "C compiler cannot create executables
   3393 See \`config.log' for more details" "$LINENO" 5; }
   3394 else
   3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3396 $as_echo "yes" >&6; }
   3397 fi
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3399 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3401 $as_echo "$ac_file" >&6; }
   3402 ac_exeext=$ac_cv_exeext
   3403 
   3404 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3405 ac_clean_files=$ac_clean_files_save
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3407 $as_echo_n "checking for suffix of executables... " >&6; }
   3408 if { { ac_try="$ac_link"
   3409 case "(($ac_try" in
   3410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3411   *) ac_try_echo=$ac_try;;
   3412 esac
   3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3414 $as_echo "$ac_try_echo"; } >&5
   3415   (eval "$ac_link") 2>&5
   3416   ac_status=$?
   3417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3418   test $ac_status = 0; }; then :
   3419   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3420 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3421 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3422 # `rm'.
   3423 for ac_file in conftest.exe conftest conftest.*; do
   3424   test -f "$ac_file" || continue
   3425   case $ac_file in
   3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3427     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3428 	  break;;
   3429     * ) break;;
   3430   esac
   3431 done
   3432 else
   3433   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3435 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3436 See \`config.log' for more details" "$LINENO" 5; }
   3437 fi
   3438 rm -f conftest conftest$ac_cv_exeext
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3440 $as_echo "$ac_cv_exeext" >&6; }
   3441 
   3442 rm -f conftest.$ac_ext
   3443 EXEEXT=$ac_cv_exeext
   3444 ac_exeext=$EXEEXT
   3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3446 /* end confdefs.h.  */
   3447 #include <stdio.h>
   3448 int
   3449 main ()
   3450 {
   3451 FILE *f = fopen ("conftest.out", "w");
   3452  return ferror (f) || fclose (f) != 0;
   3453 
   3454   ;
   3455   return 0;
   3456 }
   3457 _ACEOF
   3458 ac_clean_files="$ac_clean_files conftest.out"
   3459 # Check that the compiler produces executables we can run.  If not, either
   3460 # the compiler is broken, or we cross compile.
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3462 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3463 if test "$cross_compiling" != yes; then
   3464   { { ac_try="$ac_link"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3470 $as_echo "$ac_try_echo"; } >&5
   3471   (eval "$ac_link") 2>&5
   3472   ac_status=$?
   3473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3474   test $ac_status = 0; }
   3475   if { ac_try='./conftest$ac_cv_exeext'
   3476   { { case "(($ac_try" in
   3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3478   *) ac_try_echo=$ac_try;;
   3479 esac
   3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3481 $as_echo "$ac_try_echo"; } >&5
   3482   (eval "$ac_try") 2>&5
   3483   ac_status=$?
   3484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3485   test $ac_status = 0; }; }; then
   3486     cross_compiling=no
   3487   else
   3488     if test "$cross_compiling" = maybe; then
   3489 	cross_compiling=yes
   3490     else
   3491 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error $? "cannot run C compiled programs.
   3494 If you meant to cross compile, use \`--host'.
   3495 See \`config.log' for more details" "$LINENO" 5; }
   3496     fi
   3497   fi
   3498 fi
   3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3500 $as_echo "$cross_compiling" >&6; }
   3501 
   3502 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3503 ac_clean_files=$ac_clean_files_save
   3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3505 $as_echo_n "checking for suffix of object files... " >&6; }
   3506 if ${ac_cv_objext+:} false; then :
   3507   $as_echo_n "(cached) " >&6
   3508 else
   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 rm -f conftest.o conftest.obj
   3521 if { { ac_try="$ac_compile"
   3522 case "(($ac_try" in
   3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3524   *) ac_try_echo=$ac_try;;
   3525 esac
   3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3527 $as_echo "$ac_try_echo"; } >&5
   3528   (eval "$ac_compile") 2>&5
   3529   ac_status=$?
   3530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3531   test $ac_status = 0; }; then :
   3532   for ac_file in conftest.o conftest.obj conftest.*; do
   3533   test -f "$ac_file" || continue;
   3534   case $ac_file in
   3535     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3536     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3537        break;;
   3538   esac
   3539 done
   3540 else
   3541   $as_echo "$as_me: failed program was:" >&5
   3542 sed 's/^/| /' conftest.$ac_ext >&5
   3543 
   3544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3546 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3547 See \`config.log' for more details" "$LINENO" 5; }
   3548 fi
   3549 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3550 fi
   3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3552 $as_echo "$ac_cv_objext" >&6; }
   3553 OBJEXT=$ac_cv_objext
   3554 ac_objext=$OBJEXT
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3557 if ${ac_cv_c_compiler_gnu+:} false; then :
   3558   $as_echo_n "(cached) " >&6
   3559 else
   3560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3561 /* end confdefs.h.  */
   3562 
   3563 int
   3564 main ()
   3565 {
   3566 #ifndef __GNUC__
   3567        choke me
   3568 #endif
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575   ac_compiler_gnu=yes
   3576 else
   3577   ac_compiler_gnu=no
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3581 
   3582 fi
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3585 if test $ac_compiler_gnu = yes; then
   3586   GCC=yes
   3587 else
   3588   GCC=
   3589 fi
   3590 ac_test_CFLAGS=${CFLAGS+set}
   3591 ac_save_CFLAGS=$CFLAGS
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3594 if ${ac_cv_prog_cc_g+:} false; then :
   3595   $as_echo_n "(cached) " >&6
   3596 else
   3597   ac_save_c_werror_flag=$ac_c_werror_flag
   3598    ac_c_werror_flag=yes
   3599    ac_cv_prog_cc_g=no
   3600    CFLAGS="-g"
   3601    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3602 /* end confdefs.h.  */
   3603 
   3604 int
   3605 main ()
   3606 {
   3607 
   3608   ;
   3609   return 0;
   3610 }
   3611 _ACEOF
   3612 if ac_fn_c_try_compile "$LINENO"; then :
   3613   ac_cv_prog_cc_g=yes
   3614 else
   3615   CFLAGS=""
   3616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3617 /* end confdefs.h.  */
   3618 
   3619 int
   3620 main ()
   3621 {
   3622 
   3623   ;
   3624   return 0;
   3625 }
   3626 _ACEOF
   3627 if ac_fn_c_try_compile "$LINENO"; then :
   3628 
   3629 else
   3630   ac_c_werror_flag=$ac_save_c_werror_flag
   3631 	 CFLAGS="-g"
   3632 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 
   3635 int
   3636 main ()
   3637 {
   3638 
   3639   ;
   3640   return 0;
   3641 }
   3642 _ACEOF
   3643 if ac_fn_c_try_compile "$LINENO"; then :
   3644   ac_cv_prog_cc_g=yes
   3645 fi
   3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3647 fi
   3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651    ac_c_werror_flag=$ac_save_c_werror_flag
   3652 fi
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3654 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3655 if test "$ac_test_CFLAGS" = set; then
   3656   CFLAGS=$ac_save_CFLAGS
   3657 elif test $ac_cv_prog_cc_g = yes; then
   3658   if test "$GCC" = yes; then
   3659     CFLAGS="-g -O2"
   3660   else
   3661     CFLAGS="-g"
   3662   fi
   3663 else
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-O2"
   3666   else
   3667     CFLAGS=
   3668   fi
   3669 fi
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3672 if ${ac_cv_prog_cc_c89+:} false; then :
   3673   $as_echo_n "(cached) " >&6
   3674 else
   3675   ac_cv_prog_cc_c89=no
   3676 ac_save_CC=$CC
   3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3678 /* end confdefs.h.  */
   3679 #include <stdarg.h>
   3680 #include <stdio.h>
   3681 #include <sys/types.h>
   3682 #include <sys/stat.h>
   3683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3684 struct buf { int x; };
   3685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3686 static char *e (p, i)
   3687      char **p;
   3688      int i;
   3689 {
   3690   return p[i];
   3691 }
   3692 static char *f (char * (*g) (char **, int), char **p, ...)
   3693 {
   3694   char *s;
   3695   va_list v;
   3696   va_start (v,p);
   3697   s = g (p, va_arg (v,int));
   3698   va_end (v);
   3699   return s;
   3700 }
   3701 
   3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3703    function prototypes and stuff, but not '\xHH' hex character constants.
   3704    These don't provoke an error unfortunately, instead are silently treated
   3705    as 'x'.  The following induces an error, until -std is added to get
   3706    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3707    array size at least.  It's necessary to write '\x00'==0 to get something
   3708    that's true only with -std.  */
   3709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3710 
   3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3712    inside strings and character constants.  */
   3713 #define FOO(x) 'x'
   3714 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3715 
   3716 int test (int i, double x);
   3717 struct s1 {int (*f) (int a);};
   3718 struct s2 {int (*f) (double a);};
   3719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3720 int argc;
   3721 char **argv;
   3722 int
   3723 main ()
   3724 {
   3725 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3731 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3732 do
   3733   CC="$ac_save_CC $ac_arg"
   3734   if ac_fn_c_try_compile "$LINENO"; then :
   3735   ac_cv_prog_cc_c89=$ac_arg
   3736 fi
   3737 rm -f core conftest.err conftest.$ac_objext
   3738   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3739 done
   3740 rm -f conftest.$ac_ext
   3741 CC=$ac_save_CC
   3742 
   3743 fi
   3744 # AC_CACHE_VAL
   3745 case "x$ac_cv_prog_cc_c89" in
   3746   x)
   3747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3748 $as_echo "none needed" >&6; } ;;
   3749   xno)
   3750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3751 $as_echo "unsupported" >&6; } ;;
   3752   *)
   3753     CC="$CC $ac_cv_prog_cc_c89"
   3754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3756 esac
   3757 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3758 
   3759 fi
   3760 
   3761 ac_ext=c
   3762 ac_cpp='$CPP $CPPFLAGS'
   3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3766 
   3767 ac_ext=c
   3768 ac_cpp='$CPP $CPPFLAGS'
   3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3773 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3774 if ${am_cv_prog_cc_c_o+:} false; then :
   3775   $as_echo_n "(cached) " >&6
   3776 else
   3777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3778 /* end confdefs.h.  */
   3779 
   3780 int
   3781 main ()
   3782 {
   3783 
   3784   ;
   3785   return 0;
   3786 }
   3787 _ACEOF
   3788   # Make sure it works both with $CC and with simple cc.
   3789   # Following AC_PROG_CC_C_O, we do the test twice because some
   3790   # compilers refuse to overwrite an existing .o file with -o,
   3791   # though they will create one.
   3792   am_cv_prog_cc_c_o=yes
   3793   for am_i in 1 2; do
   3794     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3795    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3796    ac_status=$?
   3797    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3798    (exit $ac_status); } \
   3799          && test -f conftest2.$ac_objext; then
   3800       : OK
   3801     else
   3802       am_cv_prog_cc_c_o=no
   3803       break
   3804     fi
   3805   done
   3806   rm -f core conftest*
   3807   unset am_i
   3808 fi
   3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3810 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3811 if test "$am_cv_prog_cc_c_o" != yes; then
   3812    # Losing compiler, so override with the script.
   3813    # FIXME: It is wrong to rewrite CC.
   3814    # But if we don't then we get into trouble of one sort or another.
   3815    # A longer-term fix would be to have automake use am__CC in this case,
   3816    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3817    CC="$am_aux_dir/compile $CC"
   3818 fi
   3819 ac_ext=c
   3820 ac_cpp='$CPP $CPPFLAGS'
   3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3824 
   3825 
   3826 depcc="$CC"   am_compiler_list=
   3827 
   3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3829 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3830 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3831   $as_echo_n "(cached) " >&6
   3832 else
   3833   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3834   # We make a subdir and do the tests there.  Otherwise we can end up
   3835   # making bogus files that we don't know about and never remove.  For
   3836   # instance it was reported that on HP-UX the gcc test will end up
   3837   # making a dummy file named 'D' -- because '-MD' means "put the output
   3838   # in D".
   3839   rm -rf conftest.dir
   3840   mkdir conftest.dir
   3841   # Copy depcomp to subdir because otherwise we won't find it if we're
   3842   # using a relative directory.
   3843   cp "$am_depcomp" conftest.dir
   3844   cd conftest.dir
   3845   # We will build objects and dependencies in a subdirectory because
   3846   # it helps to detect inapplicable dependency modes.  For instance
   3847   # both Tru64's cc and ICC support -MD to output dependencies as a
   3848   # side effect of compilation, but ICC will put the dependencies in
   3849   # the current directory while Tru64 will put them in the object
   3850   # directory.
   3851   mkdir sub
   3852 
   3853   am_cv_CC_dependencies_compiler_type=none
   3854   if test "$am_compiler_list" = ""; then
   3855      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3856   fi
   3857   am__universal=false
   3858   case " $depcc " in #(
   3859      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3860      esac
   3861 
   3862   for depmode in $am_compiler_list; do
   3863     # Setup a source with many dependencies, because some compilers
   3864     # like to wrap large dependency lists on column 80 (with \), and
   3865     # we should not choose a depcomp mode which is confused by this.
   3866     #
   3867     # We need to recreate these files for each test, as the compiler may
   3868     # overwrite some of them when testing with obscure command lines.
   3869     # This happens at least with the AIX C compiler.
   3870     : > sub/conftest.c
   3871     for i in 1 2 3 4 5 6; do
   3872       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3873       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3874       # Solaris 10 /bin/sh.
   3875       echo '/* dummy */' > sub/conftst$i.h
   3876     done
   3877     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3878 
   3879     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3880     # mode.  It turns out that the SunPro C++ compiler does not properly
   3881     # handle '-M -o', and we need to detect this.  Also, some Intel
   3882     # versions had trouble with output in subdirs.
   3883     am__obj=sub/conftest.${OBJEXT-o}
   3884     am__minus_obj="-o $am__obj"
   3885     case $depmode in
   3886     gcc)
   3887       # This depmode causes a compiler race in universal mode.
   3888       test "$am__universal" = false || continue
   3889       ;;
   3890     nosideeffect)
   3891       # After this tag, mechanisms are not by side-effect, so they'll
   3892       # only be used when explicitly requested.
   3893       if test "x$enable_dependency_tracking" = xyes; then
   3894 	continue
   3895       else
   3896 	break
   3897       fi
   3898       ;;
   3899     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3900       # This compiler won't grok '-c -o', but also, the minuso test has
   3901       # not run yet.  These depmodes are late enough in the game, and
   3902       # so weak that their functioning should not be impacted.
   3903       am__obj=conftest.${OBJEXT-o}
   3904       am__minus_obj=
   3905       ;;
   3906     none) break ;;
   3907     esac
   3908     if depmode=$depmode \
   3909        source=sub/conftest.c object=$am__obj \
   3910        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3911        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3912          >/dev/null 2>conftest.err &&
   3913        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3914        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3915        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3916        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3917       # icc doesn't choke on unknown options, it will just issue warnings
   3918       # or remarks (even with -Werror).  So we grep stderr for any message
   3919       # that says an option was ignored or not supported.
   3920       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3921       #   icc: Command line warning: ignoring option '-M'; no argument required
   3922       # The diagnosis changed in icc 8.0:
   3923       #   icc: Command line remark: option '-MP' not supported
   3924       if (grep 'ignoring option' conftest.err ||
   3925           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3926         am_cv_CC_dependencies_compiler_type=$depmode
   3927         break
   3928       fi
   3929     fi
   3930   done
   3931 
   3932   cd ..
   3933   rm -rf conftest.dir
   3934 else
   3935   am_cv_CC_dependencies_compiler_type=none
   3936 fi
   3937 
   3938 fi
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3940 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3941 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3942 
   3943  if
   3944   test "x$enable_dependency_tracking" != xno \
   3945   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3946   am__fastdepCC_TRUE=
   3947   am__fastdepCC_FALSE='#'
   3948 else
   3949   am__fastdepCC_TRUE='#'
   3950   am__fastdepCC_FALSE=
   3951 fi
   3952 
   3953 
   3954    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3955 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3956 if ${ac_cv_prog_cc_c99+:} false; then :
   3957   $as_echo_n "(cached) " >&6
   3958 else
   3959   ac_cv_prog_cc_c99=no
   3960 ac_save_CC=$CC
   3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3962 /* end confdefs.h.  */
   3963 #include <stdarg.h>
   3964 #include <stdbool.h>
   3965 #include <stdlib.h>
   3966 #include <wchar.h>
   3967 #include <stdio.h>
   3968 
   3969 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3970 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3971 #define showlist(...) puts (#__VA_ARGS__)
   3972 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3973 static void
   3974 test_varargs_macros (void)
   3975 {
   3976   int x = 1234;
   3977   int y = 5678;
   3978   debug ("Flag");
   3979   debug ("X = %d\n", x);
   3980   showlist (The first, second, and third items.);
   3981   report (x>y, "x is %d but y is %d", x, y);
   3982 }
   3983 
   3984 // Check long long types.
   3985 #define BIG64 18446744073709551615ull
   3986 #define BIG32 4294967295ul
   3987 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3988 #if !BIG_OK
   3989   your preprocessor is broken;
   3990 #endif
   3991 #if BIG_OK
   3992 #else
   3993   your preprocessor is broken;
   3994 #endif
   3995 static long long int bignum = -9223372036854775807LL;
   3996 static unsigned long long int ubignum = BIG64;
   3997 
   3998 struct incomplete_array
   3999 {
   4000   int datasize;
   4001   double data[];
   4002 };
   4003 
   4004 struct named_init {
   4005   int number;
   4006   const wchar_t *name;
   4007   double average;
   4008 };
   4009 
   4010 typedef const char *ccp;
   4011 
   4012 static inline int
   4013 test_restrict (ccp restrict text)
   4014 {
   4015   // See if C++-style comments work.
   4016   // Iterate through items via the restricted pointer.
   4017   // Also check for declarations in for loops.
   4018   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4019     continue;
   4020   return 0;
   4021 }
   4022 
   4023 // Check varargs and va_copy.
   4024 static void
   4025 test_varargs (const char *format, ...)
   4026 {
   4027   va_list args;
   4028   va_start (args, format);
   4029   va_list args_copy;
   4030   va_copy (args_copy, args);
   4031 
   4032   const char *str;
   4033   int number;
   4034   float fnumber;
   4035 
   4036   while (*format)
   4037     {
   4038       switch (*format++)
   4039 	{
   4040 	case 's': // string
   4041 	  str = va_arg (args_copy, const char *);
   4042 	  break;
   4043 	case 'd': // int
   4044 	  number = va_arg (args_copy, int);
   4045 	  break;
   4046 	case 'f': // float
   4047 	  fnumber = va_arg (args_copy, double);
   4048 	  break;
   4049 	default:
   4050 	  break;
   4051 	}
   4052     }
   4053   va_end (args_copy);
   4054   va_end (args);
   4055 }
   4056 
   4057 int
   4058 main ()
   4059 {
   4060 
   4061   // Check bool.
   4062   _Bool success = false;
   4063 
   4064   // Check restrict.
   4065   if (test_restrict ("String literal") == 0)
   4066     success = true;
   4067   char *restrict newvar = "Another string";
   4068 
   4069   // Check varargs.
   4070   test_varargs ("s, d' f .", "string", 65, 34.234);
   4071   test_varargs_macros ();
   4072 
   4073   // Check flexible array members.
   4074   struct incomplete_array *ia =
   4075     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4076   ia->datasize = 10;
   4077   for (int i = 0; i < ia->datasize; ++i)
   4078     ia->data[i] = i * 1.234;
   4079 
   4080   // Check named initializers.
   4081   struct named_init ni = {
   4082     .number = 34,
   4083     .name = L"Test wide string",
   4084     .average = 543.34343,
   4085   };
   4086 
   4087   ni.number = 58;
   4088 
   4089   int dynamic_array[ni.number];
   4090   dynamic_array[ni.number - 1] = 543;
   4091 
   4092   // work around unused variable warnings
   4093   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4094 	  || dynamic_array[ni.number - 1] != 543);
   4095 
   4096   ;
   4097   return 0;
   4098 }
   4099 _ACEOF
   4100 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4101 do
   4102   CC="$ac_save_CC $ac_arg"
   4103   if ac_fn_c_try_compile "$LINENO"; then :
   4104   ac_cv_prog_cc_c99=$ac_arg
   4105 fi
   4106 rm -f core conftest.err conftest.$ac_objext
   4107   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4108 done
   4109 rm -f conftest.$ac_ext
   4110 CC=$ac_save_CC
   4111 
   4112 fi
   4113 # AC_CACHE_VAL
   4114 case "x$ac_cv_prog_cc_c99" in
   4115   x)
   4116     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4117 $as_echo "none needed" >&6; } ;;
   4118   xno)
   4119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4120 $as_echo "unsupported" >&6; } ;;
   4121   *)
   4122     CC="$CC $ac_cv_prog_cc_c99"
   4123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4124 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4125 esac
   4126 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4127 
   4128 fi
   4129 
   4130 
   4131 
   4132 ac_ext=c
   4133 ac_cpp='$CPP $CPPFLAGS'
   4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4138 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4139 # On Suns, sometimes $CPP names a directory.
   4140 if test -n "$CPP" && test -d "$CPP"; then
   4141   CPP=
   4142 fi
   4143 if test -z "$CPP"; then
   4144   if ${ac_cv_prog_CPP+:} false; then :
   4145   $as_echo_n "(cached) " >&6
   4146 else
   4147       # Double quotes because CPP needs to be expanded
   4148     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4149     do
   4150       ac_preproc_ok=false
   4151 for ac_c_preproc_warn_flag in '' yes
   4152 do
   4153   # Use a header file that comes with gcc, so configuring glibc
   4154   # with a fresh cross-compiler works.
   4155   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4156   # <limits.h> exists even on freestanding compilers.
   4157   # On the NeXT, cc -E runs the code through the compiler's parser,
   4158   # not just through cpp. "Syntax error" is here to catch this case.
   4159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 #ifdef __STDC__
   4162 # include <limits.h>
   4163 #else
   4164 # include <assert.h>
   4165 #endif
   4166 		     Syntax error
   4167 _ACEOF
   4168 if ac_fn_c_try_cpp "$LINENO"; then :
   4169 
   4170 else
   4171   # Broken: fails on valid input.
   4172 continue
   4173 fi
   4174 rm -f conftest.err conftest.i conftest.$ac_ext
   4175 
   4176   # OK, works on sane cases.  Now check whether nonexistent headers
   4177   # can be detected and how.
   4178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4179 /* end confdefs.h.  */
   4180 #include <ac_nonexistent.h>
   4181 _ACEOF
   4182 if ac_fn_c_try_cpp "$LINENO"; then :
   4183   # Broken: success on invalid input.
   4184 continue
   4185 else
   4186   # Passes both tests.
   4187 ac_preproc_ok=:
   4188 break
   4189 fi
   4190 rm -f conftest.err conftest.i conftest.$ac_ext
   4191 
   4192 done
   4193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4194 rm -f conftest.i conftest.err conftest.$ac_ext
   4195 if $ac_preproc_ok; then :
   4196   break
   4197 fi
   4198 
   4199     done
   4200     ac_cv_prog_CPP=$CPP
   4201 
   4202 fi
   4203   CPP=$ac_cv_prog_CPP
   4204 else
   4205   ac_cv_prog_CPP=$CPP
   4206 fi
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4208 $as_echo "$CPP" >&6; }
   4209 ac_preproc_ok=false
   4210 for ac_c_preproc_warn_flag in '' yes
   4211 do
   4212   # Use a header file that comes with gcc, so configuring glibc
   4213   # with a fresh cross-compiler works.
   4214   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4215   # <limits.h> exists even on freestanding compilers.
   4216   # On the NeXT, cc -E runs the code through the compiler's parser,
   4217   # not just through cpp. "Syntax error" is here to catch this case.
   4218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4219 /* end confdefs.h.  */
   4220 #ifdef __STDC__
   4221 # include <limits.h>
   4222 #else
   4223 # include <assert.h>
   4224 #endif
   4225 		     Syntax error
   4226 _ACEOF
   4227 if ac_fn_c_try_cpp "$LINENO"; then :
   4228 
   4229 else
   4230   # Broken: fails on valid input.
   4231 continue
   4232 fi
   4233 rm -f conftest.err conftest.i conftest.$ac_ext
   4234 
   4235   # OK, works on sane cases.  Now check whether nonexistent headers
   4236   # can be detected and how.
   4237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4238 /* end confdefs.h.  */
   4239 #include <ac_nonexistent.h>
   4240 _ACEOF
   4241 if ac_fn_c_try_cpp "$LINENO"; then :
   4242   # Broken: success on invalid input.
   4243 continue
   4244 else
   4245   # Passes both tests.
   4246 ac_preproc_ok=:
   4247 break
   4248 fi
   4249 rm -f conftest.err conftest.i conftest.$ac_ext
   4250 
   4251 done
   4252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4253 rm -f conftest.i conftest.err conftest.$ac_ext
   4254 if $ac_preproc_ok; then :
   4255 
   4256 else
   4257   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4259 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4260 See \`config.log' for more details" "$LINENO" 5; }
   4261 fi
   4262 
   4263 ac_ext=c
   4264 ac_cpp='$CPP $CPPFLAGS'
   4265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4268 
   4269 
   4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4271 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4272 if ${ac_cv_path_GREP+:} false; then :
   4273   $as_echo_n "(cached) " >&6
   4274 else
   4275   if test -z "$GREP"; then
   4276   ac_path_GREP_found=false
   4277   # Loop through the user's path and test for each of PROGNAME-LIST
   4278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4280 do
   4281   IFS=$as_save_IFS
   4282   test -z "$as_dir" && as_dir=.
   4283     for ac_prog in grep ggrep; do
   4284     for ac_exec_ext in '' $ac_executable_extensions; do
   4285       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4286       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4287 # Check for GNU ac_path_GREP and select it if it is found.
   4288   # Check for GNU $ac_path_GREP
   4289 case `"$ac_path_GREP" --version 2>&1` in
   4290 *GNU*)
   4291   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4292 *)
   4293   ac_count=0
   4294   $as_echo_n 0123456789 >"conftest.in"
   4295   while :
   4296   do
   4297     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4298     mv "conftest.tmp" "conftest.in"
   4299     cp "conftest.in" "conftest.nl"
   4300     $as_echo 'GREP' >> "conftest.nl"
   4301     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4302     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4303     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4304     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4305       # Best one so far, save it but keep looking for a better one
   4306       ac_cv_path_GREP="$ac_path_GREP"
   4307       ac_path_GREP_max=$ac_count
   4308     fi
   4309     # 10*(2^10) chars as input seems more than enough
   4310     test $ac_count -gt 10 && break
   4311   done
   4312   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4313 esac
   4314 
   4315       $ac_path_GREP_found && break 3
   4316     done
   4317   done
   4318   done
   4319 IFS=$as_save_IFS
   4320   if test -z "$ac_cv_path_GREP"; then
   4321     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4322   fi
   4323 else
   4324   ac_cv_path_GREP=$GREP
   4325 fi
   4326 
   4327 fi
   4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4329 $as_echo "$ac_cv_path_GREP" >&6; }
   4330  GREP="$ac_cv_path_GREP"
   4331 
   4332 
   4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4334 $as_echo_n "checking for egrep... " >&6; }
   4335 if ${ac_cv_path_EGREP+:} false; then :
   4336   $as_echo_n "(cached) " >&6
   4337 else
   4338   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4339    then ac_cv_path_EGREP="$GREP -E"
   4340    else
   4341      if test -z "$EGREP"; then
   4342   ac_path_EGREP_found=false
   4343   # Loop through the user's path and test for each of PROGNAME-LIST
   4344   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4346 do
   4347   IFS=$as_save_IFS
   4348   test -z "$as_dir" && as_dir=.
   4349     for ac_prog in egrep; do
   4350     for ac_exec_ext in '' $ac_executable_extensions; do
   4351       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4352       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4353 # Check for GNU ac_path_EGREP and select it if it is found.
   4354   # Check for GNU $ac_path_EGREP
   4355 case `"$ac_path_EGREP" --version 2>&1` in
   4356 *GNU*)
   4357   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4358 *)
   4359   ac_count=0
   4360   $as_echo_n 0123456789 >"conftest.in"
   4361   while :
   4362   do
   4363     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4364     mv "conftest.tmp" "conftest.in"
   4365     cp "conftest.in" "conftest.nl"
   4366     $as_echo 'EGREP' >> "conftest.nl"
   4367     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4368     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4369     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4370     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4371       # Best one so far, save it but keep looking for a better one
   4372       ac_cv_path_EGREP="$ac_path_EGREP"
   4373       ac_path_EGREP_max=$ac_count
   4374     fi
   4375     # 10*(2^10) chars as input seems more than enough
   4376     test $ac_count -gt 10 && break
   4377   done
   4378   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4379 esac
   4380 
   4381       $ac_path_EGREP_found && break 3
   4382     done
   4383   done
   4384   done
   4385 IFS=$as_save_IFS
   4386   if test -z "$ac_cv_path_EGREP"; then
   4387     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4388   fi
   4389 else
   4390   ac_cv_path_EGREP=$EGREP
   4391 fi
   4392 
   4393    fi
   4394 fi
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4396 $as_echo "$ac_cv_path_EGREP" >&6; }
   4397  EGREP="$ac_cv_path_EGREP"
   4398 
   4399 
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4401 $as_echo_n "checking for ANSI C header files... " >&6; }
   4402 if ${ac_cv_header_stdc+:} false; then :
   4403   $as_echo_n "(cached) " >&6
   4404 else
   4405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4406 /* end confdefs.h.  */
   4407 #include <stdlib.h>
   4408 #include <stdarg.h>
   4409 #include <string.h>
   4410 #include <float.h>
   4411 
   4412 int
   4413 main ()
   4414 {
   4415 
   4416   ;
   4417   return 0;
   4418 }
   4419 _ACEOF
   4420 if ac_fn_c_try_compile "$LINENO"; then :
   4421   ac_cv_header_stdc=yes
   4422 else
   4423   ac_cv_header_stdc=no
   4424 fi
   4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4426 
   4427 if test $ac_cv_header_stdc = yes; then
   4428   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4430 /* end confdefs.h.  */
   4431 #include <string.h>
   4432 
   4433 _ACEOF
   4434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4435   $EGREP "memchr" >/dev/null 2>&1; then :
   4436 
   4437 else
   4438   ac_cv_header_stdc=no
   4439 fi
   4440 rm -f conftest*
   4441 
   4442 fi
   4443 
   4444 if test $ac_cv_header_stdc = yes; then
   4445   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4447 /* end confdefs.h.  */
   4448 #include <stdlib.h>
   4449 
   4450 _ACEOF
   4451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4452   $EGREP "free" >/dev/null 2>&1; then :
   4453 
   4454 else
   4455   ac_cv_header_stdc=no
   4456 fi
   4457 rm -f conftest*
   4458 
   4459 fi
   4460 
   4461 if test $ac_cv_header_stdc = yes; then
   4462   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4463   if test "$cross_compiling" = yes; then :
   4464   :
   4465 else
   4466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4467 /* end confdefs.h.  */
   4468 #include <ctype.h>
   4469 #include <stdlib.h>
   4470 #if ((' ' & 0x0FF) == 0x020)
   4471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4473 #else
   4474 # define ISLOWER(c) \
   4475 		   (('a' <= (c) && (c) <= 'i') \
   4476 		     || ('j' <= (c) && (c) <= 'r') \
   4477 		     || ('s' <= (c) && (c) <= 'z'))
   4478 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4479 #endif
   4480 
   4481 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4482 int
   4483 main ()
   4484 {
   4485   int i;
   4486   for (i = 0; i < 256; i++)
   4487     if (XOR (islower (i), ISLOWER (i))
   4488 	|| toupper (i) != TOUPPER (i))
   4489       return 2;
   4490   return 0;
   4491 }
   4492 _ACEOF
   4493 if ac_fn_c_try_run "$LINENO"; then :
   4494 
   4495 else
   4496   ac_cv_header_stdc=no
   4497 fi
   4498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4499   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4500 fi
   4501 
   4502 fi
   4503 fi
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4505 $as_echo "$ac_cv_header_stdc" >&6; }
   4506 if test $ac_cv_header_stdc = yes; then
   4507 
   4508 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4509 
   4510 fi
   4511 
   4512 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4513 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4514 		  inttypes.h stdint.h unistd.h
   4515 do :
   4516   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4517 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4518 "
   4519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4520   cat >>confdefs.h <<_ACEOF
   4521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4522 _ACEOF
   4523 
   4524 fi
   4525 
   4526 done
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4534 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4535   CLANGCC="yes"
   4536 else
   4537   CLANGCC="no"
   4538 fi
   4539 
   4540 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4541 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4542   INTELCC="yes"
   4543 else
   4544   INTELCC="no"
   4545 fi
   4546 
   4547 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4548 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4549   SUNCC="yes"
   4550 else
   4551   SUNCC="no"
   4552 fi
   4553 
   4554 
   4555 
   4556 
   4557 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4558 	if test -n "$ac_tool_prefix"; then
   4559   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4560 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4562 $as_echo_n "checking for $ac_word... " >&6; }
   4563 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4564   $as_echo_n "(cached) " >&6
   4565 else
   4566   case $PKG_CONFIG in
   4567   [\\/]* | ?:[\\/]*)
   4568   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4569   ;;
   4570   *)
   4571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4572 for as_dir in $PATH
   4573 do
   4574   IFS=$as_save_IFS
   4575   test -z "$as_dir" && as_dir=.
   4576     for ac_exec_ext in '' $ac_executable_extensions; do
   4577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4578     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4580     break 2
   4581   fi
   4582 done
   4583   done
   4584 IFS=$as_save_IFS
   4585 
   4586   ;;
   4587 esac
   4588 fi
   4589 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4590 if test -n "$PKG_CONFIG"; then
   4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4592 $as_echo "$PKG_CONFIG" >&6; }
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4595 $as_echo "no" >&6; }
   4596 fi
   4597 
   4598 
   4599 fi
   4600 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4601   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4602   # Extract the first word of "pkg-config", so it can be a program name with args.
   4603 set dummy pkg-config; ac_word=$2
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4605 $as_echo_n "checking for $ac_word... " >&6; }
   4606 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   case $ac_pt_PKG_CONFIG in
   4610   [\\/]* | ?:[\\/]*)
   4611   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4612   ;;
   4613   *)
   4614   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4615 for as_dir in $PATH
   4616 do
   4617   IFS=$as_save_IFS
   4618   test -z "$as_dir" && as_dir=.
   4619     for ac_exec_ext in '' $ac_executable_extensions; do
   4620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4621     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4623     break 2
   4624   fi
   4625 done
   4626   done
   4627 IFS=$as_save_IFS
   4628 
   4629   ;;
   4630 esac
   4631 fi
   4632 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4633 if test -n "$ac_pt_PKG_CONFIG"; then
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4635 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4636 else
   4637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4638 $as_echo "no" >&6; }
   4639 fi
   4640 
   4641   if test "x$ac_pt_PKG_CONFIG" = x; then
   4642     PKG_CONFIG=""
   4643   else
   4644     case $cross_compiling:$ac_tool_warned in
   4645 yes:)
   4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4648 ac_tool_warned=yes ;;
   4649 esac
   4650     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4651   fi
   4652 else
   4653   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4654 fi
   4655 
   4656 fi
   4657 if test -n "$PKG_CONFIG"; then
   4658 	_pkg_min_version=0.9.0
   4659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4660 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4661 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4663 $as_echo "yes" >&6; }
   4664 	else
   4665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4666 $as_echo "no" >&6; }
   4667 		PKG_CONFIG=""
   4668 	fi
   4669 
   4670 fi
   4671 # Make sure we can run config.sub.
   4672 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4673   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4674 
   4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4676 $as_echo_n "checking build system type... " >&6; }
   4677 if ${ac_cv_build+:} false; then :
   4678   $as_echo_n "(cached) " >&6
   4679 else
   4680   ac_build_alias=$build_alias
   4681 test "x$ac_build_alias" = x &&
   4682   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4683 test "x$ac_build_alias" = x &&
   4684   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4685 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4686   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4687 
   4688 fi
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4690 $as_echo "$ac_cv_build" >&6; }
   4691 case $ac_cv_build in
   4692 *-*-*) ;;
   4693 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4694 esac
   4695 build=$ac_cv_build
   4696 ac_save_IFS=$IFS; IFS='-'
   4697 set x $ac_cv_build
   4698 shift
   4699 build_cpu=$1
   4700 build_vendor=$2
   4701 shift; shift
   4702 # Remember, the first character of IFS is used to create $*,
   4703 # except with old shells:
   4704 build_os=$*
   4705 IFS=$ac_save_IFS
   4706 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4707 
   4708 
   4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4710 $as_echo_n "checking host system type... " >&6; }
   4711 if ${ac_cv_host+:} false; then :
   4712   $as_echo_n "(cached) " >&6
   4713 else
   4714   if test "x$host_alias" = x; then
   4715   ac_cv_host=$ac_cv_build
   4716 else
   4717   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4718     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4719 fi
   4720 
   4721 fi
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4723 $as_echo "$ac_cv_host" >&6; }
   4724 case $ac_cv_host in
   4725 *-*-*) ;;
   4726 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4727 esac
   4728 host=$ac_cv_host
   4729 ac_save_IFS=$IFS; IFS='-'
   4730 set x $ac_cv_host
   4731 shift
   4732 host_cpu=$1
   4733 host_vendor=$2
   4734 shift; shift
   4735 # Remember, the first character of IFS is used to create $*,
   4736 # except with old shells:
   4737 host_os=$*
   4738 IFS=$ac_save_IFS
   4739 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4740 
   4741 
   4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4743 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4744 if ${ac_cv_path_SED+:} false; then :
   4745   $as_echo_n "(cached) " >&6
   4746 else
   4747             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4748      for ac_i in 1 2 3 4 5 6 7; do
   4749        ac_script="$ac_script$as_nl$ac_script"
   4750      done
   4751      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4752      { ac_script=; unset ac_script;}
   4753      if test -z "$SED"; then
   4754   ac_path_SED_found=false
   4755   # Loop through the user's path and test for each of PROGNAME-LIST
   4756   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4757 for as_dir in $PATH
   4758 do
   4759   IFS=$as_save_IFS
   4760   test -z "$as_dir" && as_dir=.
   4761     for ac_prog in sed gsed; do
   4762     for ac_exec_ext in '' $ac_executable_extensions; do
   4763       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4764       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4765 # Check for GNU ac_path_SED and select it if it is found.
   4766   # Check for GNU $ac_path_SED
   4767 case `"$ac_path_SED" --version 2>&1` in
   4768 *GNU*)
   4769   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4770 *)
   4771   ac_count=0
   4772   $as_echo_n 0123456789 >"conftest.in"
   4773   while :
   4774   do
   4775     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4776     mv "conftest.tmp" "conftest.in"
   4777     cp "conftest.in" "conftest.nl"
   4778     $as_echo '' >> "conftest.nl"
   4779     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4780     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4781     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4782     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4783       # Best one so far, save it but keep looking for a better one
   4784       ac_cv_path_SED="$ac_path_SED"
   4785       ac_path_SED_max=$ac_count
   4786     fi
   4787     # 10*(2^10) chars as input seems more than enough
   4788     test $ac_count -gt 10 && break
   4789   done
   4790   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4791 esac
   4792 
   4793       $ac_path_SED_found && break 3
   4794     done
   4795   done
   4796   done
   4797 IFS=$as_save_IFS
   4798   if test -z "$ac_cv_path_SED"; then
   4799     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4800   fi
   4801 else
   4802   ac_cv_path_SED=$SED
   4803 fi
   4804 
   4805 fi
   4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4807 $as_echo "$ac_cv_path_SED" >&6; }
   4808  SED="$ac_cv_path_SED"
   4809   rm -f conftest.sed
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 # Check whether --enable-selective-werror was given.
   4817 if test "${enable_selective_werror+set}" = set; then :
   4818   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4819 else
   4820   SELECTIVE_WERROR=yes
   4821 fi
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4828 if test "x$SUNCC" = "xyes"; then
   4829     BASE_CFLAGS="-v"
   4830 else
   4831     BASE_CFLAGS=""
   4832 fi
   4833 
   4834 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 xorg_testset_save_CFLAGS="$CFLAGS"
   4849 
   4850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4855   $as_echo_n "(cached) " >&6
   4856 else
   4857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4858 /* end confdefs.h.  */
   4859 int i;
   4860 _ACEOF
   4861 if ac_fn_c_try_compile "$LINENO"; then :
   4862   xorg_cv_cc_flag_unknown_warning_option=yes
   4863 else
   4864   xorg_cv_cc_flag_unknown_warning_option=no
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4867 fi
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4871 	CFLAGS="$xorg_testset_save_CFLAGS"
   4872 fi
   4873 
   4874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	fi
   4878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4882   $as_echo_n "(cached) " >&6
   4883 else
   4884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4885 /* end confdefs.h.  */
   4886 int i;
   4887 _ACEOF
   4888 if ac_fn_c_try_compile "$LINENO"; then :
   4889   xorg_cv_cc_flag_unused_command_line_argument=yes
   4890 else
   4891   xorg_cv_cc_flag_unused_command_line_argument=no
   4892 fi
   4893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4894 fi
   4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4898 	CFLAGS="$xorg_testset_save_CFLAGS"
   4899 fi
   4900 
   4901 found="no"
   4902 
   4903 	if test $found = "no" ; then
   4904 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4906 		fi
   4907 
   4908 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4910 		fi
   4911 
   4912 		CFLAGS="$CFLAGS -Wall"
   4913 
   4914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4915 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4916 		cacheid=xorg_cv_cc_flag__Wall
   4917 		if eval \${$cacheid+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4921 /* end confdefs.h.  */
   4922 int i;
   4923 int
   4924 main ()
   4925 {
   4926 
   4927   ;
   4928   return 0;
   4929 }
   4930 _ACEOF
   4931 if ac_fn_c_try_link "$LINENO"; then :
   4932   eval $cacheid=yes
   4933 else
   4934   eval $cacheid=no
   4935 fi
   4936 rm -f core conftest.err conftest.$ac_objext \
   4937     conftest$ac_exeext conftest.$ac_ext
   4938 fi
   4939 
   4940 
   4941 		CFLAGS="$xorg_testset_save_CFLAGS"
   4942 
   4943 		eval supported=\$$cacheid
   4944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4945 $as_echo "$supported" >&6; }
   4946 		if test "$supported" = "yes" ; then
   4947 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4948 			found="yes"
   4949 		fi
   4950 	fi
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 xorg_testset_save_CFLAGS="$CFLAGS"
   4967 
   4968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4973   $as_echo_n "(cached) " >&6
   4974 else
   4975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4976 /* end confdefs.h.  */
   4977 int i;
   4978 _ACEOF
   4979 if ac_fn_c_try_compile "$LINENO"; then :
   4980   xorg_cv_cc_flag_unknown_warning_option=yes
   4981 else
   4982   xorg_cv_cc_flag_unknown_warning_option=no
   4983 fi
   4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4985 fi
   4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4989 	CFLAGS="$xorg_testset_save_CFLAGS"
   4990 fi
   4991 
   4992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4995 	fi
   4996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5000   $as_echo_n "(cached) " >&6
   5001 else
   5002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5003 /* end confdefs.h.  */
   5004 int i;
   5005 _ACEOF
   5006 if ac_fn_c_try_compile "$LINENO"; then :
   5007   xorg_cv_cc_flag_unused_command_line_argument=yes
   5008 else
   5009   xorg_cv_cc_flag_unused_command_line_argument=no
   5010 fi
   5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5012 fi
   5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5016 	CFLAGS="$xorg_testset_save_CFLAGS"
   5017 fi
   5018 
   5019 found="no"
   5020 
   5021 	if test $found = "no" ; then
   5022 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5024 		fi
   5025 
   5026 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5028 		fi
   5029 
   5030 		CFLAGS="$CFLAGS -Wpointer-arith"
   5031 
   5032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5033 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5034 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5035 		if eval \${$cacheid+:} false; then :
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5039 /* end confdefs.h.  */
   5040 int i;
   5041 int
   5042 main ()
   5043 {
   5044 
   5045   ;
   5046   return 0;
   5047 }
   5048 _ACEOF
   5049 if ac_fn_c_try_link "$LINENO"; then :
   5050   eval $cacheid=yes
   5051 else
   5052   eval $cacheid=no
   5053 fi
   5054 rm -f core conftest.err conftest.$ac_objext \
   5055     conftest$ac_exeext conftest.$ac_ext
   5056 fi
   5057 
   5058 
   5059 		CFLAGS="$xorg_testset_save_CFLAGS"
   5060 
   5061 		eval supported=\$$cacheid
   5062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5063 $as_echo "$supported" >&6; }
   5064 		if test "$supported" = "yes" ; then
   5065 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5066 			found="yes"
   5067 		fi
   5068 	fi
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 xorg_testset_save_CFLAGS="$CFLAGS"
   5085 
   5086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5091   $as_echo_n "(cached) " >&6
   5092 else
   5093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5094 /* end confdefs.h.  */
   5095 int i;
   5096 _ACEOF
   5097 if ac_fn_c_try_compile "$LINENO"; then :
   5098   xorg_cv_cc_flag_unknown_warning_option=yes
   5099 else
   5100   xorg_cv_cc_flag_unknown_warning_option=no
   5101 fi
   5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5103 fi
   5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5107 	CFLAGS="$xorg_testset_save_CFLAGS"
   5108 fi
   5109 
   5110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 	fi
   5114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5118   $as_echo_n "(cached) " >&6
   5119 else
   5120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5121 /* end confdefs.h.  */
   5122 int i;
   5123 _ACEOF
   5124 if ac_fn_c_try_compile "$LINENO"; then :
   5125   xorg_cv_cc_flag_unused_command_line_argument=yes
   5126 else
   5127   xorg_cv_cc_flag_unused_command_line_argument=no
   5128 fi
   5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5130 fi
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5134 	CFLAGS="$xorg_testset_save_CFLAGS"
   5135 fi
   5136 
   5137 found="no"
   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 -Wmissing-declarations"
   5149 
   5150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5151 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5152 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   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 -Wmissing-declarations"
   5184 			found="yes"
   5185 		fi
   5186 	fi
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 xorg_testset_save_CFLAGS="$CFLAGS"
   5203 
   5204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5209   $as_echo_n "(cached) " >&6
   5210 else
   5211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5212 /* end confdefs.h.  */
   5213 int i;
   5214 _ACEOF
   5215 if ac_fn_c_try_compile "$LINENO"; then :
   5216   xorg_cv_cc_flag_unknown_warning_option=yes
   5217 else
   5218   xorg_cv_cc_flag_unknown_warning_option=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221 fi
   5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	fi
   5232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5236   $as_echo_n "(cached) " >&6
   5237 else
   5238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5239 /* end confdefs.h.  */
   5240 int i;
   5241 _ACEOF
   5242 if ac_fn_c_try_compile "$LINENO"; then :
   5243   xorg_cv_cc_flag_unused_command_line_argument=yes
   5244 else
   5245   xorg_cv_cc_flag_unused_command_line_argument=no
   5246 fi
   5247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5248 fi
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5252 	CFLAGS="$xorg_testset_save_CFLAGS"
   5253 fi
   5254 
   5255 found="no"
   5256 
   5257 	if test $found = "no" ; then
   5258 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5260 		fi
   5261 
   5262 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5264 		fi
   5265 
   5266 		CFLAGS="$CFLAGS -Wformat=2"
   5267 
   5268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5269 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5270 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5271 		if eval \${$cacheid+:} false; then :
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5275 /* end confdefs.h.  */
   5276 int i;
   5277 int
   5278 main ()
   5279 {
   5280 
   5281   ;
   5282   return 0;
   5283 }
   5284 _ACEOF
   5285 if ac_fn_c_try_link "$LINENO"; then :
   5286   eval $cacheid=yes
   5287 else
   5288   eval $cacheid=no
   5289 fi
   5290 rm -f core conftest.err conftest.$ac_objext \
   5291     conftest$ac_exeext conftest.$ac_ext
   5292 fi
   5293 
   5294 
   5295 		CFLAGS="$xorg_testset_save_CFLAGS"
   5296 
   5297 		eval supported=\$$cacheid
   5298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5299 $as_echo "$supported" >&6; }
   5300 		if test "$supported" = "yes" ; then
   5301 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5302 			found="yes"
   5303 		fi
   5304 	fi
   5305 
   5306 	if test $found = "no" ; then
   5307 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5309 		fi
   5310 
   5311 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5313 		fi
   5314 
   5315 		CFLAGS="$CFLAGS -Wformat"
   5316 
   5317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5318 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5319 		cacheid=xorg_cv_cc_flag__Wformat
   5320 		if eval \${$cacheid+:} false; then :
   5321   $as_echo_n "(cached) " >&6
   5322 else
   5323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5324 /* end confdefs.h.  */
   5325 int i;
   5326 int
   5327 main ()
   5328 {
   5329 
   5330   ;
   5331   return 0;
   5332 }
   5333 _ACEOF
   5334 if ac_fn_c_try_link "$LINENO"; then :
   5335   eval $cacheid=yes
   5336 else
   5337   eval $cacheid=no
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext \
   5340     conftest$ac_exeext conftest.$ac_ext
   5341 fi
   5342 
   5343 
   5344 		CFLAGS="$xorg_testset_save_CFLAGS"
   5345 
   5346 		eval supported=\$$cacheid
   5347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5348 $as_echo "$supported" >&6; }
   5349 		if test "$supported" = "yes" ; then
   5350 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5351 			found="yes"
   5352 		fi
   5353 	fi
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 xorg_testset_save_CFLAGS="$CFLAGS"
   5372 
   5373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5376 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5377 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5378   $as_echo_n "(cached) " >&6
   5379 else
   5380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5381 /* end confdefs.h.  */
   5382 int i;
   5383 _ACEOF
   5384 if ac_fn_c_try_compile "$LINENO"; then :
   5385   xorg_cv_cc_flag_unknown_warning_option=yes
   5386 else
   5387   xorg_cv_cc_flag_unknown_warning_option=no
   5388 fi
   5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5390 fi
   5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5392 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5394 	CFLAGS="$xorg_testset_save_CFLAGS"
   5395 fi
   5396 
   5397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 	fi
   5401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5403 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5404 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5405   $as_echo_n "(cached) " >&6
   5406 else
   5407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5408 /* end confdefs.h.  */
   5409 int i;
   5410 _ACEOF
   5411 if ac_fn_c_try_compile "$LINENO"; then :
   5412   xorg_cv_cc_flag_unused_command_line_argument=yes
   5413 else
   5414   xorg_cv_cc_flag_unused_command_line_argument=no
   5415 fi
   5416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5417 fi
   5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5419 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5421 	CFLAGS="$xorg_testset_save_CFLAGS"
   5422 fi
   5423 
   5424 found="no"
   5425 
   5426 	if test $found = "no" ; then
   5427 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 		fi
   5430 
   5431 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5433 		fi
   5434 
   5435 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5436 
   5437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5438 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5439 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5440 		if eval \${$cacheid+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5444 /* end confdefs.h.  */
   5445 int i;
   5446 int
   5447 main ()
   5448 {
   5449 
   5450   ;
   5451   return 0;
   5452 }
   5453 _ACEOF
   5454 if ac_fn_c_try_link "$LINENO"; then :
   5455   eval $cacheid=yes
   5456 else
   5457   eval $cacheid=no
   5458 fi
   5459 rm -f core conftest.err conftest.$ac_objext \
   5460     conftest$ac_exeext conftest.$ac_ext
   5461 fi
   5462 
   5463 
   5464 		CFLAGS="$xorg_testset_save_CFLAGS"
   5465 
   5466 		eval supported=\$$cacheid
   5467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5468 $as_echo "$supported" >&6; }
   5469 		if test "$supported" = "yes" ; then
   5470 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5471 			found="yes"
   5472 		fi
   5473 	fi
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 xorg_testset_save_CFLAGS="$CFLAGS"
   5490 
   5491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5494 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5495 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5496   $as_echo_n "(cached) " >&6
   5497 else
   5498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5499 /* end confdefs.h.  */
   5500 int i;
   5501 _ACEOF
   5502 if ac_fn_c_try_compile "$LINENO"; then :
   5503   xorg_cv_cc_flag_unknown_warning_option=yes
   5504 else
   5505   xorg_cv_cc_flag_unknown_warning_option=no
   5506 fi
   5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5508 fi
   5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5510 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5512 	CFLAGS="$xorg_testset_save_CFLAGS"
   5513 fi
   5514 
   5515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	fi
   5519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5521 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5522 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5523   $as_echo_n "(cached) " >&6
   5524 else
   5525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5526 /* end confdefs.h.  */
   5527 int i;
   5528 _ACEOF
   5529 if ac_fn_c_try_compile "$LINENO"; then :
   5530   xorg_cv_cc_flag_unused_command_line_argument=yes
   5531 else
   5532   xorg_cv_cc_flag_unused_command_line_argument=no
   5533 fi
   5534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5535 fi
   5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5537 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5539 	CFLAGS="$xorg_testset_save_CFLAGS"
   5540 fi
   5541 
   5542 found="no"
   5543 
   5544 	if test $found = "no" ; then
   5545 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 		fi
   5548 
   5549 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5551 		fi
   5552 
   5553 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5554 
   5555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5556 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5557 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5558 		if eval \${$cacheid+:} false; then :
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5562 /* end confdefs.h.  */
   5563 int i;
   5564 int
   5565 main ()
   5566 {
   5567 
   5568   ;
   5569   return 0;
   5570 }
   5571 _ACEOF
   5572 if ac_fn_c_try_link "$LINENO"; then :
   5573   eval $cacheid=yes
   5574 else
   5575   eval $cacheid=no
   5576 fi
   5577 rm -f core conftest.err conftest.$ac_objext \
   5578     conftest$ac_exeext conftest.$ac_ext
   5579 fi
   5580 
   5581 
   5582 		CFLAGS="$xorg_testset_save_CFLAGS"
   5583 
   5584 		eval supported=\$$cacheid
   5585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5586 $as_echo "$supported" >&6; }
   5587 		if test "$supported" = "yes" ; then
   5588 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5589 			found="yes"
   5590 		fi
   5591 	fi
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 xorg_testset_save_CFLAGS="$CFLAGS"
   5608 
   5609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5612 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5613 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5614   $as_echo_n "(cached) " >&6
   5615 else
   5616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5617 /* end confdefs.h.  */
   5618 int i;
   5619 _ACEOF
   5620 if ac_fn_c_try_compile "$LINENO"; then :
   5621   xorg_cv_cc_flag_unknown_warning_option=yes
   5622 else
   5623   xorg_cv_cc_flag_unknown_warning_option=no
   5624 fi
   5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5626 fi
   5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5628 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5630 	CFLAGS="$xorg_testset_save_CFLAGS"
   5631 fi
   5632 
   5633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 	fi
   5637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5639 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5640 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5641   $as_echo_n "(cached) " >&6
   5642 else
   5643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5644 /* end confdefs.h.  */
   5645 int i;
   5646 _ACEOF
   5647 if ac_fn_c_try_compile "$LINENO"; then :
   5648   xorg_cv_cc_flag_unused_command_line_argument=yes
   5649 else
   5650   xorg_cv_cc_flag_unused_command_line_argument=no
   5651 fi
   5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5653 fi
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5655 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5657 	CFLAGS="$xorg_testset_save_CFLAGS"
   5658 fi
   5659 
   5660 found="no"
   5661 
   5662 	if test $found = "no" ; then
   5663 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5665 		fi
   5666 
   5667 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5669 		fi
   5670 
   5671 		CFLAGS="$CFLAGS -Wnested-externs"
   5672 
   5673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5674 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5675 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5676 		if eval \${$cacheid+:} false; then :
   5677   $as_echo_n "(cached) " >&6
   5678 else
   5679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 int
   5683 main ()
   5684 {
   5685 
   5686   ;
   5687   return 0;
   5688 }
   5689 _ACEOF
   5690 if ac_fn_c_try_link "$LINENO"; then :
   5691   eval $cacheid=yes
   5692 else
   5693   eval $cacheid=no
   5694 fi
   5695 rm -f core conftest.err conftest.$ac_objext \
   5696     conftest$ac_exeext conftest.$ac_ext
   5697 fi
   5698 
   5699 
   5700 		CFLAGS="$xorg_testset_save_CFLAGS"
   5701 
   5702 		eval supported=\$$cacheid
   5703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5704 $as_echo "$supported" >&6; }
   5705 		if test "$supported" = "yes" ; then
   5706 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5707 			found="yes"
   5708 		fi
   5709 	fi
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 xorg_testset_save_CFLAGS="$CFLAGS"
   5726 
   5727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5732   $as_echo_n "(cached) " >&6
   5733 else
   5734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5735 /* end confdefs.h.  */
   5736 int i;
   5737 _ACEOF
   5738 if ac_fn_c_try_compile "$LINENO"; then :
   5739   xorg_cv_cc_flag_unknown_warning_option=yes
   5740 else
   5741   xorg_cv_cc_flag_unknown_warning_option=no
   5742 fi
   5743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5744 fi
   5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5748 	CFLAGS="$xorg_testset_save_CFLAGS"
   5749 fi
   5750 
   5751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	fi
   5755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5759   $as_echo_n "(cached) " >&6
   5760 else
   5761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5762 /* end confdefs.h.  */
   5763 int i;
   5764 _ACEOF
   5765 if ac_fn_c_try_compile "$LINENO"; then :
   5766   xorg_cv_cc_flag_unused_command_line_argument=yes
   5767 else
   5768   xorg_cv_cc_flag_unused_command_line_argument=no
   5769 fi
   5770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5771 fi
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5775 	CFLAGS="$xorg_testset_save_CFLAGS"
   5776 fi
   5777 
   5778 found="no"
   5779 
   5780 	if test $found = "no" ; then
   5781 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5783 		fi
   5784 
   5785 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5787 		fi
   5788 
   5789 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5790 
   5791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5792 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5793 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5794 		if eval \${$cacheid+:} false; then :
   5795   $as_echo_n "(cached) " >&6
   5796 else
   5797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5798 /* end confdefs.h.  */
   5799 int i;
   5800 int
   5801 main ()
   5802 {
   5803 
   5804   ;
   5805   return 0;
   5806 }
   5807 _ACEOF
   5808 if ac_fn_c_try_link "$LINENO"; then :
   5809   eval $cacheid=yes
   5810 else
   5811   eval $cacheid=no
   5812 fi
   5813 rm -f core conftest.err conftest.$ac_objext \
   5814     conftest$ac_exeext conftest.$ac_ext
   5815 fi
   5816 
   5817 
   5818 		CFLAGS="$xorg_testset_save_CFLAGS"
   5819 
   5820 		eval supported=\$$cacheid
   5821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5822 $as_echo "$supported" >&6; }
   5823 		if test "$supported" = "yes" ; then
   5824 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5825 			found="yes"
   5826 		fi
   5827 	fi
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 xorg_testset_save_CFLAGS="$CFLAGS"
   5844 
   5845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5850   $as_echo_n "(cached) " >&6
   5851 else
   5852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5853 /* end confdefs.h.  */
   5854 int i;
   5855 _ACEOF
   5856 if ac_fn_c_try_compile "$LINENO"; then :
   5857   xorg_cv_cc_flag_unknown_warning_option=yes
   5858 else
   5859   xorg_cv_cc_flag_unknown_warning_option=no
   5860 fi
   5861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5862 fi
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5866 	CFLAGS="$xorg_testset_save_CFLAGS"
   5867 fi
   5868 
   5869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 	fi
   5873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5877   $as_echo_n "(cached) " >&6
   5878 else
   5879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5880 /* end confdefs.h.  */
   5881 int i;
   5882 _ACEOF
   5883 if ac_fn_c_try_compile "$LINENO"; then :
   5884   xorg_cv_cc_flag_unused_command_line_argument=yes
   5885 else
   5886   xorg_cv_cc_flag_unused_command_line_argument=no
   5887 fi
   5888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5889 fi
   5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5893 	CFLAGS="$xorg_testset_save_CFLAGS"
   5894 fi
   5895 
   5896 found="no"
   5897 
   5898 	if test $found = "no" ; then
   5899 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5901 		fi
   5902 
   5903 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5905 		fi
   5906 
   5907 		CFLAGS="$CFLAGS -Wold-style-definition"
   5908 
   5909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5910 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5911 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5912 		if eval \${$cacheid+:} false; then :
   5913   $as_echo_n "(cached) " >&6
   5914 else
   5915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 int
   5919 main ()
   5920 {
   5921 
   5922   ;
   5923   return 0;
   5924 }
   5925 _ACEOF
   5926 if ac_fn_c_try_link "$LINENO"; then :
   5927   eval $cacheid=yes
   5928 else
   5929   eval $cacheid=no
   5930 fi
   5931 rm -f core conftest.err conftest.$ac_objext \
   5932     conftest$ac_exeext conftest.$ac_ext
   5933 fi
   5934 
   5935 
   5936 		CFLAGS="$xorg_testset_save_CFLAGS"
   5937 
   5938 		eval supported=\$$cacheid
   5939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5940 $as_echo "$supported" >&6; }
   5941 		if test "$supported" = "yes" ; then
   5942 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5943 			found="yes"
   5944 		fi
   5945 	fi
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 xorg_testset_save_CFLAGS="$CFLAGS"
   5962 
   5963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5968   $as_echo_n "(cached) " >&6
   5969 else
   5970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5971 /* end confdefs.h.  */
   5972 int i;
   5973 _ACEOF
   5974 if ac_fn_c_try_compile "$LINENO"; then :
   5975   xorg_cv_cc_flag_unknown_warning_option=yes
   5976 else
   5977   xorg_cv_cc_flag_unknown_warning_option=no
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5980 fi
   5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5984 	CFLAGS="$xorg_testset_save_CFLAGS"
   5985 fi
   5986 
   5987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5990 	fi
   5991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5995   $as_echo_n "(cached) " >&6
   5996 else
   5997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5998 /* end confdefs.h.  */
   5999 int i;
   6000 _ACEOF
   6001 if ac_fn_c_try_compile "$LINENO"; then :
   6002   xorg_cv_cc_flag_unused_command_line_argument=yes
   6003 else
   6004   xorg_cv_cc_flag_unused_command_line_argument=no
   6005 fi
   6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6007 fi
   6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6011 	CFLAGS="$xorg_testset_save_CFLAGS"
   6012 fi
   6013 
   6014 found="no"
   6015 
   6016 	if test $found = "no" ; then
   6017 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6019 		fi
   6020 
   6021 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6023 		fi
   6024 
   6025 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6026 
   6027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6028 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6029 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6030 		if eval \${$cacheid+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 int
   6037 main ()
   6038 {
   6039 
   6040   ;
   6041   return 0;
   6042 }
   6043 _ACEOF
   6044 if ac_fn_c_try_link "$LINENO"; then :
   6045   eval $cacheid=yes
   6046 else
   6047   eval $cacheid=no
   6048 fi
   6049 rm -f core conftest.err conftest.$ac_objext \
   6050     conftest$ac_exeext conftest.$ac_ext
   6051 fi
   6052 
   6053 
   6054 		CFLAGS="$xorg_testset_save_CFLAGS"
   6055 
   6056 		eval supported=\$$cacheid
   6057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6058 $as_echo "$supported" >&6; }
   6059 		if test "$supported" = "yes" ; then
   6060 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6061 			found="yes"
   6062 		fi
   6063 	fi
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 # This chunk adds additional warnings that could catch undesired effects.
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 xorg_testset_save_CFLAGS="$CFLAGS"
   6084 
   6085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6093 /* end confdefs.h.  */
   6094 int i;
   6095 _ACEOF
   6096 if ac_fn_c_try_compile "$LINENO"; then :
   6097   xorg_cv_cc_flag_unknown_warning_option=yes
   6098 else
   6099   xorg_cv_cc_flag_unknown_warning_option=no
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6102 fi
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6106 	CFLAGS="$xorg_testset_save_CFLAGS"
   6107 fi
   6108 
   6109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 	fi
   6113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 _ACEOF
   6123 if ac_fn_c_try_compile "$LINENO"; then :
   6124   xorg_cv_cc_flag_unused_command_line_argument=yes
   6125 else
   6126   xorg_cv_cc_flag_unused_command_line_argument=no
   6127 fi
   6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6129 fi
   6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6133 	CFLAGS="$xorg_testset_save_CFLAGS"
   6134 fi
   6135 
   6136 found="no"
   6137 
   6138 	if test $found = "no" ; then
   6139 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 		fi
   6142 
   6143 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6145 		fi
   6146 
   6147 		CFLAGS="$CFLAGS -Wunused"
   6148 
   6149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6150 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6151 		cacheid=xorg_cv_cc_flag__Wunused
   6152 		if eval \${$cacheid+:} false; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 int
   6159 main ()
   6160 {
   6161 
   6162   ;
   6163   return 0;
   6164 }
   6165 _ACEOF
   6166 if ac_fn_c_try_link "$LINENO"; then :
   6167   eval $cacheid=yes
   6168 else
   6169   eval $cacheid=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext \
   6172     conftest$ac_exeext conftest.$ac_ext
   6173 fi
   6174 
   6175 
   6176 		CFLAGS="$xorg_testset_save_CFLAGS"
   6177 
   6178 		eval supported=\$$cacheid
   6179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6180 $as_echo "$supported" >&6; }
   6181 		if test "$supported" = "yes" ; then
   6182 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6183 			found="yes"
   6184 		fi
   6185 	fi
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 xorg_testset_save_CFLAGS="$CFLAGS"
   6202 
   6203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6211 /* end confdefs.h.  */
   6212 int i;
   6213 _ACEOF
   6214 if ac_fn_c_try_compile "$LINENO"; then :
   6215   xorg_cv_cc_flag_unknown_warning_option=yes
   6216 else
   6217   xorg_cv_cc_flag_unknown_warning_option=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6220 fi
   6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6230 	fi
   6231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6238 /* end confdefs.h.  */
   6239 int i;
   6240 _ACEOF
   6241 if ac_fn_c_try_compile "$LINENO"; then :
   6242   xorg_cv_cc_flag_unused_command_line_argument=yes
   6243 else
   6244   xorg_cv_cc_flag_unused_command_line_argument=no
   6245 fi
   6246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6247 fi
   6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6251 	CFLAGS="$xorg_testset_save_CFLAGS"
   6252 fi
   6253 
   6254 found="no"
   6255 
   6256 	if test $found = "no" ; then
   6257 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 		fi
   6260 
   6261 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6263 		fi
   6264 
   6265 		CFLAGS="$CFLAGS -Wuninitialized"
   6266 
   6267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6268 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6269 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6270 		if eval \${$cacheid+:} false; then :
   6271   $as_echo_n "(cached) " >&6
   6272 else
   6273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6274 /* end confdefs.h.  */
   6275 int i;
   6276 int
   6277 main ()
   6278 {
   6279 
   6280   ;
   6281   return 0;
   6282 }
   6283 _ACEOF
   6284 if ac_fn_c_try_link "$LINENO"; then :
   6285   eval $cacheid=yes
   6286 else
   6287   eval $cacheid=no
   6288 fi
   6289 rm -f core conftest.err conftest.$ac_objext \
   6290     conftest$ac_exeext conftest.$ac_ext
   6291 fi
   6292 
   6293 
   6294 		CFLAGS="$xorg_testset_save_CFLAGS"
   6295 
   6296 		eval supported=\$$cacheid
   6297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6298 $as_echo "$supported" >&6; }
   6299 		if test "$supported" = "yes" ; then
   6300 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6301 			found="yes"
   6302 		fi
   6303 	fi
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 xorg_testset_save_CFLAGS="$CFLAGS"
   6320 
   6321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"; then :
   6333   xorg_cv_cc_flag_unknown_warning_option=yes
   6334 else
   6335   xorg_cv_cc_flag_unknown_warning_option=no
   6336 fi
   6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6338 fi
   6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6342 	CFLAGS="$xorg_testset_save_CFLAGS"
   6343 fi
   6344 
   6345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6348 	fi
   6349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6353   $as_echo_n "(cached) " >&6
   6354 else
   6355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6356 /* end confdefs.h.  */
   6357 int i;
   6358 _ACEOF
   6359 if ac_fn_c_try_compile "$LINENO"; then :
   6360   xorg_cv_cc_flag_unused_command_line_argument=yes
   6361 else
   6362   xorg_cv_cc_flag_unused_command_line_argument=no
   6363 fi
   6364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6365 fi
   6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6369 	CFLAGS="$xorg_testset_save_CFLAGS"
   6370 fi
   6371 
   6372 found="no"
   6373 
   6374 	if test $found = "no" ; then
   6375 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6377 		fi
   6378 
   6379 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6381 		fi
   6382 
   6383 		CFLAGS="$CFLAGS -Wshadow"
   6384 
   6385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6386 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6387 		cacheid=xorg_cv_cc_flag__Wshadow
   6388 		if eval \${$cacheid+:} false; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 int
   6395 main ()
   6396 {
   6397 
   6398   ;
   6399   return 0;
   6400 }
   6401 _ACEOF
   6402 if ac_fn_c_try_link "$LINENO"; then :
   6403   eval $cacheid=yes
   6404 else
   6405   eval $cacheid=no
   6406 fi
   6407 rm -f core conftest.err conftest.$ac_objext \
   6408     conftest$ac_exeext conftest.$ac_ext
   6409 fi
   6410 
   6411 
   6412 		CFLAGS="$xorg_testset_save_CFLAGS"
   6413 
   6414 		eval supported=\$$cacheid
   6415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6416 $as_echo "$supported" >&6; }
   6417 		if test "$supported" = "yes" ; then
   6418 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6419 			found="yes"
   6420 		fi
   6421 	fi
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 xorg_testset_save_CFLAGS="$CFLAGS"
   6438 
   6439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 _ACEOF
   6450 if ac_fn_c_try_compile "$LINENO"; then :
   6451   xorg_cv_cc_flag_unknown_warning_option=yes
   6452 else
   6453   xorg_cv_cc_flag_unknown_warning_option=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6460 	CFLAGS="$xorg_testset_save_CFLAGS"
   6461 fi
   6462 
   6463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6466 	fi
   6467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6474 /* end confdefs.h.  */
   6475 int i;
   6476 _ACEOF
   6477 if ac_fn_c_try_compile "$LINENO"; then :
   6478   xorg_cv_cc_flag_unused_command_line_argument=yes
   6479 else
   6480   xorg_cv_cc_flag_unused_command_line_argument=no
   6481 fi
   6482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6483 fi
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6487 	CFLAGS="$xorg_testset_save_CFLAGS"
   6488 fi
   6489 
   6490 found="no"
   6491 
   6492 	if test $found = "no" ; then
   6493 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6495 		fi
   6496 
   6497 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6499 		fi
   6500 
   6501 		CFLAGS="$CFLAGS -Wcast-qual"
   6502 
   6503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6504 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6505 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6506 		if eval \${$cacheid+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 int
   6513 main ()
   6514 {
   6515 
   6516   ;
   6517   return 0;
   6518 }
   6519 _ACEOF
   6520 if ac_fn_c_try_link "$LINENO"; then :
   6521   eval $cacheid=yes
   6522 else
   6523   eval $cacheid=no
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext \
   6526     conftest$ac_exeext conftest.$ac_ext
   6527 fi
   6528 
   6529 
   6530 		CFLAGS="$xorg_testset_save_CFLAGS"
   6531 
   6532 		eval supported=\$$cacheid
   6533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6534 $as_echo "$supported" >&6; }
   6535 		if test "$supported" = "yes" ; then
   6536 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6537 			found="yes"
   6538 		fi
   6539 	fi
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 xorg_testset_save_CFLAGS="$CFLAGS"
   6556 
   6557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"; then :
   6569   xorg_cv_cc_flag_unknown_warning_option=yes
   6570 else
   6571   xorg_cv_cc_flag_unknown_warning_option=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6578 	CFLAGS="$xorg_testset_save_CFLAGS"
   6579 fi
   6580 
   6581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6584 	fi
   6585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6589   $as_echo_n "(cached) " >&6
   6590 else
   6591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6592 /* end confdefs.h.  */
   6593 int i;
   6594 _ACEOF
   6595 if ac_fn_c_try_compile "$LINENO"; then :
   6596   xorg_cv_cc_flag_unused_command_line_argument=yes
   6597 else
   6598   xorg_cv_cc_flag_unused_command_line_argument=no
   6599 fi
   6600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6601 fi
   6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6605 	CFLAGS="$xorg_testset_save_CFLAGS"
   6606 fi
   6607 
   6608 found="no"
   6609 
   6610 	if test $found = "no" ; then
   6611 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6613 		fi
   6614 
   6615 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6617 		fi
   6618 
   6619 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6620 
   6621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6622 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6623 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6624 		if eval \${$cacheid+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 int
   6631 main ()
   6632 {
   6633 
   6634   ;
   6635   return 0;
   6636 }
   6637 _ACEOF
   6638 if ac_fn_c_try_link "$LINENO"; then :
   6639   eval $cacheid=yes
   6640 else
   6641   eval $cacheid=no
   6642 fi
   6643 rm -f core conftest.err conftest.$ac_objext \
   6644     conftest$ac_exeext conftest.$ac_ext
   6645 fi
   6646 
   6647 
   6648 		CFLAGS="$xorg_testset_save_CFLAGS"
   6649 
   6650 		eval supported=\$$cacheid
   6651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6652 $as_echo "$supported" >&6; }
   6653 		if test "$supported" = "yes" ; then
   6654 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6655 			found="yes"
   6656 		fi
   6657 	fi
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 xorg_testset_save_CFLAGS="$CFLAGS"
   6674 
   6675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_cc_flag_unknown_warning_option=yes
   6688 else
   6689   xorg_cv_cc_flag_unknown_warning_option=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6702 	fi
   6703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6707   $as_echo_n "(cached) " >&6
   6708 else
   6709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6710 /* end confdefs.h.  */
   6711 int i;
   6712 _ACEOF
   6713 if ac_fn_c_try_compile "$LINENO"; then :
   6714   xorg_cv_cc_flag_unused_command_line_argument=yes
   6715 else
   6716   xorg_cv_cc_flag_unused_command_line_argument=no
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6719 fi
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6723 	CFLAGS="$xorg_testset_save_CFLAGS"
   6724 fi
   6725 
   6726 found="no"
   6727 
   6728 	if test $found = "no" ; then
   6729 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 		fi
   6732 
   6733 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6735 		fi
   6736 
   6737 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6738 
   6739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6740 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6741 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6742 		if eval \${$cacheid+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 int
   6749 main ()
   6750 {
   6751 
   6752   ;
   6753   return 0;
   6754 }
   6755 _ACEOF
   6756 if ac_fn_c_try_link "$LINENO"; then :
   6757   eval $cacheid=yes
   6758 else
   6759   eval $cacheid=no
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext \
   6762     conftest$ac_exeext conftest.$ac_ext
   6763 fi
   6764 
   6765 
   6766 		CFLAGS="$xorg_testset_save_CFLAGS"
   6767 
   6768 		eval supported=\$$cacheid
   6769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6770 $as_echo "$supported" >&6; }
   6771 		if test "$supported" = "yes" ; then
   6772 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6773 			found="yes"
   6774 		fi
   6775 	fi
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 xorg_testset_save_CFLAGS="$CFLAGS"
   6792 
   6793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"; then :
   6805   xorg_cv_cc_flag_unknown_warning_option=yes
   6806 else
   6807   xorg_cv_cc_flag_unknown_warning_option=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6810 fi
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6814 	CFLAGS="$xorg_testset_save_CFLAGS"
   6815 fi
   6816 
   6817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6820 	fi
   6821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6828 /* end confdefs.h.  */
   6829 int i;
   6830 _ACEOF
   6831 if ac_fn_c_try_compile "$LINENO"; then :
   6832   xorg_cv_cc_flag_unused_command_line_argument=yes
   6833 else
   6834   xorg_cv_cc_flag_unused_command_line_argument=no
   6835 fi
   6836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6841 	CFLAGS="$xorg_testset_save_CFLAGS"
   6842 fi
   6843 
   6844 found="no"
   6845 
   6846 	if test $found = "no" ; then
   6847 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 		fi
   6850 
   6851 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6853 		fi
   6854 
   6855 		CFLAGS="$CFLAGS -Wredundant-decls"
   6856 
   6857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6858 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6859 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6860 		if eval \${$cacheid+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 int
   6867 main ()
   6868 {
   6869 
   6870   ;
   6871   return 0;
   6872 }
   6873 _ACEOF
   6874 if ac_fn_c_try_link "$LINENO"; then :
   6875   eval $cacheid=yes
   6876 else
   6877   eval $cacheid=no
   6878 fi
   6879 rm -f core conftest.err conftest.$ac_objext \
   6880     conftest$ac_exeext conftest.$ac_ext
   6881 fi
   6882 
   6883 
   6884 		CFLAGS="$xorg_testset_save_CFLAGS"
   6885 
   6886 		eval supported=\$$cacheid
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6888 $as_echo "$supported" >&6; }
   6889 		if test "$supported" = "yes" ; then
   6890 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6891 			found="yes"
   6892 		fi
   6893 	fi
   6894 
   6895 
   6896 
   6897 # These are currently disabled because they are noisy.  They will be enabled
   6898 # in the future once the codebase is sufficiently modernized to silence
   6899 # them.  For now, I don't want them to drown out the other warnings.
   6900 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6901 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6902 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6903 
   6904 # Turn some warnings into errors, so we don't accidently get successful builds
   6905 # when there are problems that should be fixed.
   6906 
   6907 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   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=implicit"
   6986 
   6987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6988 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6989 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $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=implicit"
   7021 			found="yes"
   7022 		fi
   7023 	fi
   7024 
   7025 	if test $found = "no" ; then
   7026 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7028 		fi
   7029 
   7030 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7032 		fi
   7033 
   7034 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7035 
   7036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7037 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7038 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   7039 		if eval \${$cacheid+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7043 /* end confdefs.h.  */
   7044 int i;
   7045 int
   7046 main ()
   7047 {
   7048 
   7049   ;
   7050   return 0;
   7051 }
   7052 _ACEOF
   7053 if ac_fn_c_try_link "$LINENO"; then :
   7054   eval $cacheid=yes
   7055 else
   7056   eval $cacheid=no
   7057 fi
   7058 rm -f core conftest.err conftest.$ac_objext \
   7059     conftest$ac_exeext conftest.$ac_ext
   7060 fi
   7061 
   7062 
   7063 		CFLAGS="$xorg_testset_save_CFLAGS"
   7064 
   7065 		eval supported=\$$cacheid
   7066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7067 $as_echo "$supported" >&6; }
   7068 		if test "$supported" = "yes" ; then
   7069 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7070 			found="yes"
   7071 		fi
   7072 	fi
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 xorg_testset_save_CFLAGS="$CFLAGS"
   7089 
   7090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7095   $as_echo_n "(cached) " >&6
   7096 else
   7097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7098 /* end confdefs.h.  */
   7099 int i;
   7100 _ACEOF
   7101 if ac_fn_c_try_compile "$LINENO"; then :
   7102   xorg_cv_cc_flag_unknown_warning_option=yes
   7103 else
   7104   xorg_cv_cc_flag_unknown_warning_option=no
   7105 fi
   7106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7107 fi
   7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7111 	CFLAGS="$xorg_testset_save_CFLAGS"
   7112 fi
   7113 
   7114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 	fi
   7118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7122   $as_echo_n "(cached) " >&6
   7123 else
   7124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7125 /* end confdefs.h.  */
   7126 int i;
   7127 _ACEOF
   7128 if ac_fn_c_try_compile "$LINENO"; then :
   7129   xorg_cv_cc_flag_unused_command_line_argument=yes
   7130 else
   7131   xorg_cv_cc_flag_unused_command_line_argument=no
   7132 fi
   7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7134 fi
   7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7138 	CFLAGS="$xorg_testset_save_CFLAGS"
   7139 fi
   7140 
   7141 found="no"
   7142 
   7143 	if test $found = "no" ; then
   7144 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7146 		fi
   7147 
   7148 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7150 		fi
   7151 
   7152 		CFLAGS="$CFLAGS -Werror=nonnull"
   7153 
   7154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7155 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7156 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7157 		if eval \${$cacheid+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7161 /* end confdefs.h.  */
   7162 int i;
   7163 int
   7164 main ()
   7165 {
   7166 
   7167   ;
   7168   return 0;
   7169 }
   7170 _ACEOF
   7171 if ac_fn_c_try_link "$LINENO"; then :
   7172   eval $cacheid=yes
   7173 else
   7174   eval $cacheid=no
   7175 fi
   7176 rm -f core conftest.err conftest.$ac_objext \
   7177     conftest$ac_exeext conftest.$ac_ext
   7178 fi
   7179 
   7180 
   7181 		CFLAGS="$xorg_testset_save_CFLAGS"
   7182 
   7183 		eval supported=\$$cacheid
   7184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7185 $as_echo "$supported" >&6; }
   7186 		if test "$supported" = "yes" ; then
   7187 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7188 			found="yes"
   7189 		fi
   7190 	fi
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 xorg_testset_save_CFLAGS="$CFLAGS"
   7207 
   7208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7213   $as_echo_n "(cached) " >&6
   7214 else
   7215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7216 /* end confdefs.h.  */
   7217 int i;
   7218 _ACEOF
   7219 if ac_fn_c_try_compile "$LINENO"; then :
   7220   xorg_cv_cc_flag_unknown_warning_option=yes
   7221 else
   7222   xorg_cv_cc_flag_unknown_warning_option=no
   7223 fi
   7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7225 fi
   7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7229 	CFLAGS="$xorg_testset_save_CFLAGS"
   7230 fi
   7231 
   7232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7235 	fi
   7236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 int i;
   7245 _ACEOF
   7246 if ac_fn_c_try_compile "$LINENO"; then :
   7247   xorg_cv_cc_flag_unused_command_line_argument=yes
   7248 else
   7249   xorg_cv_cc_flag_unused_command_line_argument=no
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7252 fi
   7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 found="no"
   7260 
   7261 	if test $found = "no" ; then
   7262 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 		fi
   7265 
   7266 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7268 		fi
   7269 
   7270 		CFLAGS="$CFLAGS -Werror=init-self"
   7271 
   7272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7273 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7274 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7275 		if eval \${$cacheid+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 int i;
   7281 int
   7282 main ()
   7283 {
   7284 
   7285   ;
   7286   return 0;
   7287 }
   7288 _ACEOF
   7289 if ac_fn_c_try_link "$LINENO"; then :
   7290   eval $cacheid=yes
   7291 else
   7292   eval $cacheid=no
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext \
   7295     conftest$ac_exeext conftest.$ac_ext
   7296 fi
   7297 
   7298 
   7299 		CFLAGS="$xorg_testset_save_CFLAGS"
   7300 
   7301 		eval supported=\$$cacheid
   7302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7303 $as_echo "$supported" >&6; }
   7304 		if test "$supported" = "yes" ; then
   7305 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7306 			found="yes"
   7307 		fi
   7308 	fi
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 xorg_testset_save_CFLAGS="$CFLAGS"
   7325 
   7326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"; then :
   7338   xorg_cv_cc_flag_unknown_warning_option=yes
   7339 else
   7340   xorg_cv_cc_flag_unknown_warning_option=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7343 fi
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7347 	CFLAGS="$xorg_testset_save_CFLAGS"
   7348 fi
   7349 
   7350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7353 	fi
   7354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7358   $as_echo_n "(cached) " >&6
   7359 else
   7360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7361 /* end confdefs.h.  */
   7362 int i;
   7363 _ACEOF
   7364 if ac_fn_c_try_compile "$LINENO"; then :
   7365   xorg_cv_cc_flag_unused_command_line_argument=yes
   7366 else
   7367   xorg_cv_cc_flag_unused_command_line_argument=no
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7370 fi
   7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7374 	CFLAGS="$xorg_testset_save_CFLAGS"
   7375 fi
   7376 
   7377 found="no"
   7378 
   7379 	if test $found = "no" ; then
   7380 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7382 		fi
   7383 
   7384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7386 		fi
   7387 
   7388 		CFLAGS="$CFLAGS -Werror=main"
   7389 
   7390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7391 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7392 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7393 		if eval \${$cacheid+:} false; then :
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 int
   7400 main ()
   7401 {
   7402 
   7403   ;
   7404   return 0;
   7405 }
   7406 _ACEOF
   7407 if ac_fn_c_try_link "$LINENO"; then :
   7408   eval $cacheid=yes
   7409 else
   7410   eval $cacheid=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext \
   7413     conftest$ac_exeext conftest.$ac_ext
   7414 fi
   7415 
   7416 
   7417 		CFLAGS="$xorg_testset_save_CFLAGS"
   7418 
   7419 		eval supported=\$$cacheid
   7420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7421 $as_echo "$supported" >&6; }
   7422 		if test "$supported" = "yes" ; then
   7423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7424 			found="yes"
   7425 		fi
   7426 	fi
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 xorg_testset_save_CFLAGS="$CFLAGS"
   7443 
   7444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7449   $as_echo_n "(cached) " >&6
   7450 else
   7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7452 /* end confdefs.h.  */
   7453 int i;
   7454 _ACEOF
   7455 if ac_fn_c_try_compile "$LINENO"; then :
   7456   xorg_cv_cc_flag_unknown_warning_option=yes
   7457 else
   7458   xorg_cv_cc_flag_unknown_warning_option=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7461 fi
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7465 	CFLAGS="$xorg_testset_save_CFLAGS"
   7466 fi
   7467 
   7468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7471 	fi
   7472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7476   $as_echo_n "(cached) " >&6
   7477 else
   7478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7479 /* end confdefs.h.  */
   7480 int i;
   7481 _ACEOF
   7482 if ac_fn_c_try_compile "$LINENO"; then :
   7483   xorg_cv_cc_flag_unused_command_line_argument=yes
   7484 else
   7485   xorg_cv_cc_flag_unused_command_line_argument=no
   7486 fi
   7487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7488 fi
   7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7492 	CFLAGS="$xorg_testset_save_CFLAGS"
   7493 fi
   7494 
   7495 found="no"
   7496 
   7497 	if test $found = "no" ; then
   7498 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7500 		fi
   7501 
   7502 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7504 		fi
   7505 
   7506 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7507 
   7508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7509 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7510 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7511 		if eval \${$cacheid+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 int
   7518 main ()
   7519 {
   7520 
   7521   ;
   7522   return 0;
   7523 }
   7524 _ACEOF
   7525 if ac_fn_c_try_link "$LINENO"; then :
   7526   eval $cacheid=yes
   7527 else
   7528   eval $cacheid=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext \
   7531     conftest$ac_exeext conftest.$ac_ext
   7532 fi
   7533 
   7534 
   7535 		CFLAGS="$xorg_testset_save_CFLAGS"
   7536 
   7537 		eval supported=\$$cacheid
   7538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7539 $as_echo "$supported" >&6; }
   7540 		if test "$supported" = "yes" ; then
   7541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7542 			found="yes"
   7543 		fi
   7544 	fi
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 xorg_testset_save_CFLAGS="$CFLAGS"
   7561 
   7562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7570 /* end confdefs.h.  */
   7571 int i;
   7572 _ACEOF
   7573 if ac_fn_c_try_compile "$LINENO"; then :
   7574   xorg_cv_cc_flag_unknown_warning_option=yes
   7575 else
   7576   xorg_cv_cc_flag_unknown_warning_option=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7579 fi
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7583 	CFLAGS="$xorg_testset_save_CFLAGS"
   7584 fi
   7585 
   7586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7589 	fi
   7590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7594   $as_echo_n "(cached) " >&6
   7595 else
   7596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7597 /* end confdefs.h.  */
   7598 int i;
   7599 _ACEOF
   7600 if ac_fn_c_try_compile "$LINENO"; then :
   7601   xorg_cv_cc_flag_unused_command_line_argument=yes
   7602 else
   7603   xorg_cv_cc_flag_unused_command_line_argument=no
   7604 fi
   7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7606 fi
   7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7610 	CFLAGS="$xorg_testset_save_CFLAGS"
   7611 fi
   7612 
   7613 found="no"
   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 -Werror=sequence-point"
   7625 
   7626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7627 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7628 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $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 -Werror=sequence-point"
   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=return-type"
   7743 
   7744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7745 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7746 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $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=return-type"
   7778 			found="yes"
   7779 		fi
   7780 	fi
   7781 
   7782 	if test $found = "no" ; then
   7783 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7785 		fi
   7786 
   7787 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7789 		fi
   7790 
   7791 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7792 
   7793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7794 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7795 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7796 		if eval \${$cacheid+:} false; then :
   7797   $as_echo_n "(cached) " >&6
   7798 else
   7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7800 /* end confdefs.h.  */
   7801 int i;
   7802 int
   7803 main ()
   7804 {
   7805 
   7806   ;
   7807   return 0;
   7808 }
   7809 _ACEOF
   7810 if ac_fn_c_try_link "$LINENO"; then :
   7811   eval $cacheid=yes
   7812 else
   7813   eval $cacheid=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext \
   7816     conftest$ac_exeext conftest.$ac_ext
   7817 fi
   7818 
   7819 
   7820 		CFLAGS="$xorg_testset_save_CFLAGS"
   7821 
   7822 		eval supported=\$$cacheid
   7823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7824 $as_echo "$supported" >&6; }
   7825 		if test "$supported" = "yes" ; then
   7826 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7827 			found="yes"
   7828 		fi
   7829 	fi
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 xorg_testset_save_CFLAGS="$CFLAGS"
   7846 
   7847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7855 /* end confdefs.h.  */
   7856 int i;
   7857 _ACEOF
   7858 if ac_fn_c_try_compile "$LINENO"; then :
   7859   xorg_cv_cc_flag_unknown_warning_option=yes
   7860 else
   7861   xorg_cv_cc_flag_unknown_warning_option=no
   7862 fi
   7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7864 fi
   7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7868 	CFLAGS="$xorg_testset_save_CFLAGS"
   7869 fi
   7870 
   7871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7874 	fi
   7875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7879   $as_echo_n "(cached) " >&6
   7880 else
   7881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7882 /* end confdefs.h.  */
   7883 int i;
   7884 _ACEOF
   7885 if ac_fn_c_try_compile "$LINENO"; then :
   7886   xorg_cv_cc_flag_unused_command_line_argument=yes
   7887 else
   7888   xorg_cv_cc_flag_unused_command_line_argument=no
   7889 fi
   7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7891 fi
   7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7895 	CFLAGS="$xorg_testset_save_CFLAGS"
   7896 fi
   7897 
   7898 found="no"
   7899 
   7900 	if test $found = "no" ; then
   7901 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7903 		fi
   7904 
   7905 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7907 		fi
   7908 
   7909 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7910 
   7911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7912 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7913 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7914 		if eval \${$cacheid+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 int
   7921 main ()
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 if ac_fn_c_try_link "$LINENO"; then :
   7929   eval $cacheid=yes
   7930 else
   7931   eval $cacheid=no
   7932 fi
   7933 rm -f core conftest.err conftest.$ac_objext \
   7934     conftest$ac_exeext conftest.$ac_ext
   7935 fi
   7936 
   7937 
   7938 		CFLAGS="$xorg_testset_save_CFLAGS"
   7939 
   7940 		eval supported=\$$cacheid
   7941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7942 $as_echo "$supported" >&6; }
   7943 		if test "$supported" = "yes" ; then
   7944 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7945 			found="yes"
   7946 		fi
   7947 	fi
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 xorg_testset_save_CFLAGS="$CFLAGS"
   7964 
   7965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7970   $as_echo_n "(cached) " >&6
   7971 else
   7972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7973 /* end confdefs.h.  */
   7974 int i;
   7975 _ACEOF
   7976 if ac_fn_c_try_compile "$LINENO"; then :
   7977   xorg_cv_cc_flag_unknown_warning_option=yes
   7978 else
   7979   xorg_cv_cc_flag_unknown_warning_option=no
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7982 fi
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7986 	CFLAGS="$xorg_testset_save_CFLAGS"
   7987 fi
   7988 
   7989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7992 	fi
   7993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7997   $as_echo_n "(cached) " >&6
   7998 else
   7999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8000 /* end confdefs.h.  */
   8001 int i;
   8002 _ACEOF
   8003 if ac_fn_c_try_compile "$LINENO"; then :
   8004   xorg_cv_cc_flag_unused_command_line_argument=yes
   8005 else
   8006   xorg_cv_cc_flag_unused_command_line_argument=no
   8007 fi
   8008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8009 fi
   8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8013 	CFLAGS="$xorg_testset_save_CFLAGS"
   8014 fi
   8015 
   8016 found="no"
   8017 
   8018 	if test $found = "no" ; then
   8019 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 		fi
   8022 
   8023 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8025 		fi
   8026 
   8027 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8028 
   8029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8030 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8031 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   8032 		if eval \${$cacheid+:} false; then :
   8033   $as_echo_n "(cached) " >&6
   8034 else
   8035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 int i;
   8038 int
   8039 main ()
   8040 {
   8041 
   8042   ;
   8043   return 0;
   8044 }
   8045 _ACEOF
   8046 if ac_fn_c_try_link "$LINENO"; then :
   8047   eval $cacheid=yes
   8048 else
   8049   eval $cacheid=no
   8050 fi
   8051 rm -f core conftest.err conftest.$ac_objext \
   8052     conftest$ac_exeext conftest.$ac_ext
   8053 fi
   8054 
   8055 
   8056 		CFLAGS="$xorg_testset_save_CFLAGS"
   8057 
   8058 		eval supported=\$$cacheid
   8059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8060 $as_echo "$supported" >&6; }
   8061 		if test "$supported" = "yes" ; then
   8062 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8063 			found="yes"
   8064 		fi
   8065 	fi
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 xorg_testset_save_CFLAGS="$CFLAGS"
   8082 
   8083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8091 /* end confdefs.h.  */
   8092 int i;
   8093 _ACEOF
   8094 if ac_fn_c_try_compile "$LINENO"; then :
   8095   xorg_cv_cc_flag_unknown_warning_option=yes
   8096 else
   8097   xorg_cv_cc_flag_unknown_warning_option=no
   8098 fi
   8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8100 fi
   8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8104 	CFLAGS="$xorg_testset_save_CFLAGS"
   8105 fi
   8106 
   8107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8110 	fi
   8111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8118 /* end confdefs.h.  */
   8119 int i;
   8120 _ACEOF
   8121 if ac_fn_c_try_compile "$LINENO"; then :
   8122   xorg_cv_cc_flag_unused_command_line_argument=yes
   8123 else
   8124   xorg_cv_cc_flag_unused_command_line_argument=no
   8125 fi
   8126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8127 fi
   8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8131 	CFLAGS="$xorg_testset_save_CFLAGS"
   8132 fi
   8133 
   8134 found="no"
   8135 
   8136 	if test $found = "no" ; then
   8137 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8139 		fi
   8140 
   8141 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8143 		fi
   8144 
   8145 		CFLAGS="$CFLAGS -Werror=write-strings"
   8146 
   8147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8148 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8149 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8150 		if eval \${$cacheid+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 int
   8157 main ()
   8158 {
   8159 
   8160   ;
   8161   return 0;
   8162 }
   8163 _ACEOF
   8164 if ac_fn_c_try_link "$LINENO"; then :
   8165   eval $cacheid=yes
   8166 else
   8167   eval $cacheid=no
   8168 fi
   8169 rm -f core conftest.err conftest.$ac_objext \
   8170     conftest$ac_exeext conftest.$ac_ext
   8171 fi
   8172 
   8173 
   8174 		CFLAGS="$xorg_testset_save_CFLAGS"
   8175 
   8176 		eval supported=\$$cacheid
   8177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8178 $as_echo "$supported" >&6; }
   8179 		if test "$supported" = "yes" ; then
   8180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8181 			found="yes"
   8182 		fi
   8183 	fi
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 xorg_testset_save_CFLAGS="$CFLAGS"
   8200 
   8201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8206   $as_echo_n "(cached) " >&6
   8207 else
   8208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_cv_cc_flag_unknown_warning_option=yes
   8214 else
   8215   xorg_cv_cc_flag_unknown_warning_option=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 fi
   8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 	fi
   8229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8233   $as_echo_n "(cached) " >&6
   8234 else
   8235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8236 /* end confdefs.h.  */
   8237 int i;
   8238 _ACEOF
   8239 if ac_fn_c_try_compile "$LINENO"; then :
   8240   xorg_cv_cc_flag_unused_command_line_argument=yes
   8241 else
   8242   xorg_cv_cc_flag_unused_command_line_argument=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8245 fi
   8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8249 	CFLAGS="$xorg_testset_save_CFLAGS"
   8250 fi
   8251 
   8252 found="no"
   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 -Werror=address"
   8264 
   8265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8266 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8267 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $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 -Werror=address"
   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=int-to-pointer-cast"
   8382 
   8383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8384 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8385 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-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=int-to-pointer-cast"
   8417 			found="yes"
   8418 		fi
   8419 	fi
   8420 
   8421 	if test $found = "no" ; then
   8422 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8424 		fi
   8425 
   8426 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8428 		fi
   8429 
   8430 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8431 
   8432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8433 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8434 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8435 		if eval \${$cacheid+:} false; then :
   8436   $as_echo_n "(cached) " >&6
   8437 else
   8438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8439 /* end confdefs.h.  */
   8440 int i;
   8441 int
   8442 main ()
   8443 {
   8444 
   8445   ;
   8446   return 0;
   8447 }
   8448 _ACEOF
   8449 if ac_fn_c_try_link "$LINENO"; then :
   8450   eval $cacheid=yes
   8451 else
   8452   eval $cacheid=no
   8453 fi
   8454 rm -f core conftest.err conftest.$ac_objext \
   8455     conftest$ac_exeext conftest.$ac_ext
   8456 fi
   8457 
   8458 
   8459 		CFLAGS="$xorg_testset_save_CFLAGS"
   8460 
   8461 		eval supported=\$$cacheid
   8462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8463 $as_echo "$supported" >&6; }
   8464 		if test "$supported" = "yes" ; then
   8465 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8466 			found="yes"
   8467 		fi
   8468 	fi
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 xorg_testset_save_CFLAGS="$CFLAGS"
   8485 
   8486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8489 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8490 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8491   $as_echo_n "(cached) " >&6
   8492 else
   8493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 int i;
   8496 _ACEOF
   8497 if ac_fn_c_try_compile "$LINENO"; then :
   8498   xorg_cv_cc_flag_unknown_warning_option=yes
   8499 else
   8500   xorg_cv_cc_flag_unknown_warning_option=no
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8503 fi
   8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8505 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8506 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8507 	CFLAGS="$xorg_testset_save_CFLAGS"
   8508 fi
   8509 
   8510 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8511 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8513 	fi
   8514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8516 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8517 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8518   $as_echo_n "(cached) " >&6
   8519 else
   8520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8521 /* end confdefs.h.  */
   8522 int i;
   8523 _ACEOF
   8524 if ac_fn_c_try_compile "$LINENO"; then :
   8525   xorg_cv_cc_flag_unused_command_line_argument=yes
   8526 else
   8527   xorg_cv_cc_flag_unused_command_line_argument=no
   8528 fi
   8529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8530 fi
   8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8532 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8534 	CFLAGS="$xorg_testset_save_CFLAGS"
   8535 fi
   8536 
   8537 found="no"
   8538 
   8539 	if test $found = "no" ; then
   8540 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8542 		fi
   8543 
   8544 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8546 		fi
   8547 
   8548 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8549 
   8550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8551 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8552 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8553 		if eval \${$cacheid+:} false; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8557 /* end confdefs.h.  */
   8558 int i;
   8559 int
   8560 main ()
   8561 {
   8562 
   8563   ;
   8564   return 0;
   8565 }
   8566 _ACEOF
   8567 if ac_fn_c_try_link "$LINENO"; then :
   8568   eval $cacheid=yes
   8569 else
   8570   eval $cacheid=no
   8571 fi
   8572 rm -f core conftest.err conftest.$ac_objext \
   8573     conftest$ac_exeext conftest.$ac_ext
   8574 fi
   8575 
   8576 
   8577 		CFLAGS="$xorg_testset_save_CFLAGS"
   8578 
   8579 		eval supported=\$$cacheid
   8580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8581 $as_echo "$supported" >&6; }
   8582 		if test "$supported" = "yes" ; then
   8583 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8584 			found="yes"
   8585 		fi
   8586 	fi
   8587 
   8588  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8589 else
   8590 { $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
   8591 $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;}
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 xorg_testset_save_CFLAGS="$CFLAGS"
   8606 
   8607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8612   $as_echo_n "(cached) " >&6
   8613 else
   8614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 _ACEOF
   8618 if ac_fn_c_try_compile "$LINENO"; then :
   8619   xorg_cv_cc_flag_unknown_warning_option=yes
   8620 else
   8621   xorg_cv_cc_flag_unknown_warning_option=no
   8622 fi
   8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8624 fi
   8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8628 	CFLAGS="$xorg_testset_save_CFLAGS"
   8629 fi
   8630 
   8631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8634 	fi
   8635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8639   $as_echo_n "(cached) " >&6
   8640 else
   8641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8642 /* end confdefs.h.  */
   8643 int i;
   8644 _ACEOF
   8645 if ac_fn_c_try_compile "$LINENO"; then :
   8646   xorg_cv_cc_flag_unused_command_line_argument=yes
   8647 else
   8648   xorg_cv_cc_flag_unused_command_line_argument=no
   8649 fi
   8650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8651 fi
   8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8655 	CFLAGS="$xorg_testset_save_CFLAGS"
   8656 fi
   8657 
   8658 found="no"
   8659 
   8660 	if test $found = "no" ; then
   8661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8663 		fi
   8664 
   8665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8667 		fi
   8668 
   8669 		CFLAGS="$CFLAGS -Wimplicit"
   8670 
   8671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8672 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8673 		cacheid=xorg_cv_cc_flag__Wimplicit
   8674 		if eval \${$cacheid+:} false; then :
   8675   $as_echo_n "(cached) " >&6
   8676 else
   8677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8678 /* end confdefs.h.  */
   8679 int i;
   8680 int
   8681 main ()
   8682 {
   8683 
   8684   ;
   8685   return 0;
   8686 }
   8687 _ACEOF
   8688 if ac_fn_c_try_link "$LINENO"; then :
   8689   eval $cacheid=yes
   8690 else
   8691   eval $cacheid=no
   8692 fi
   8693 rm -f core conftest.err conftest.$ac_objext \
   8694     conftest$ac_exeext conftest.$ac_ext
   8695 fi
   8696 
   8697 
   8698 		CFLAGS="$xorg_testset_save_CFLAGS"
   8699 
   8700 		eval supported=\$$cacheid
   8701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8702 $as_echo "$supported" >&6; }
   8703 		if test "$supported" = "yes" ; then
   8704 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8705 			found="yes"
   8706 		fi
   8707 	fi
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 xorg_testset_save_CFLAGS="$CFLAGS"
   8724 
   8725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"; then :
   8737   xorg_cv_cc_flag_unknown_warning_option=yes
   8738 else
   8739   xorg_cv_cc_flag_unknown_warning_option=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8746 	CFLAGS="$xorg_testset_save_CFLAGS"
   8747 fi
   8748 
   8749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8752 	fi
   8753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8757   $as_echo_n "(cached) " >&6
   8758 else
   8759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8760 /* end confdefs.h.  */
   8761 int i;
   8762 _ACEOF
   8763 if ac_fn_c_try_compile "$LINENO"; then :
   8764   xorg_cv_cc_flag_unused_command_line_argument=yes
   8765 else
   8766   xorg_cv_cc_flag_unused_command_line_argument=no
   8767 fi
   8768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8769 fi
   8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8773 	CFLAGS="$xorg_testset_save_CFLAGS"
   8774 fi
   8775 
   8776 found="no"
   8777 
   8778 	if test $found = "no" ; then
   8779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8781 		fi
   8782 
   8783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8785 		fi
   8786 
   8787 		CFLAGS="$CFLAGS -Wnonnull"
   8788 
   8789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8790 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8791 		cacheid=xorg_cv_cc_flag__Wnonnull
   8792 		if eval \${$cacheid+:} false; then :
   8793   $as_echo_n "(cached) " >&6
   8794 else
   8795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 int
   8799 main ()
   8800 {
   8801 
   8802   ;
   8803   return 0;
   8804 }
   8805 _ACEOF
   8806 if ac_fn_c_try_link "$LINENO"; then :
   8807   eval $cacheid=yes
   8808 else
   8809   eval $cacheid=no
   8810 fi
   8811 rm -f core conftest.err conftest.$ac_objext \
   8812     conftest$ac_exeext conftest.$ac_ext
   8813 fi
   8814 
   8815 
   8816 		CFLAGS="$xorg_testset_save_CFLAGS"
   8817 
   8818 		eval supported=\$$cacheid
   8819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8820 $as_echo "$supported" >&6; }
   8821 		if test "$supported" = "yes" ; then
   8822 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8823 			found="yes"
   8824 		fi
   8825 	fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 xorg_testset_save_CFLAGS="$CFLAGS"
   8842 
   8843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8848   $as_echo_n "(cached) " >&6
   8849 else
   8850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8851 /* end confdefs.h.  */
   8852 int i;
   8853 _ACEOF
   8854 if ac_fn_c_try_compile "$LINENO"; then :
   8855   xorg_cv_cc_flag_unknown_warning_option=yes
   8856 else
   8857   xorg_cv_cc_flag_unknown_warning_option=no
   8858 fi
   8859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8860 fi
   8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8870 	fi
   8871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8875   $as_echo_n "(cached) " >&6
   8876 else
   8877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8878 /* end confdefs.h.  */
   8879 int i;
   8880 _ACEOF
   8881 if ac_fn_c_try_compile "$LINENO"; then :
   8882   xorg_cv_cc_flag_unused_command_line_argument=yes
   8883 else
   8884   xorg_cv_cc_flag_unused_command_line_argument=no
   8885 fi
   8886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8887 fi
   8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8891 	CFLAGS="$xorg_testset_save_CFLAGS"
   8892 fi
   8893 
   8894 found="no"
   8895 
   8896 	if test $found = "no" ; then
   8897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8899 		fi
   8900 
   8901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8903 		fi
   8904 
   8905 		CFLAGS="$CFLAGS -Winit-self"
   8906 
   8907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8908 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8909 		cacheid=xorg_cv_cc_flag__Winit_self
   8910 		if eval \${$cacheid+:} false; then :
   8911   $as_echo_n "(cached) " >&6
   8912 else
   8913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 int
   8917 main ()
   8918 {
   8919 
   8920   ;
   8921   return 0;
   8922 }
   8923 _ACEOF
   8924 if ac_fn_c_try_link "$LINENO"; then :
   8925   eval $cacheid=yes
   8926 else
   8927   eval $cacheid=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext \
   8930     conftest$ac_exeext conftest.$ac_ext
   8931 fi
   8932 
   8933 
   8934 		CFLAGS="$xorg_testset_save_CFLAGS"
   8935 
   8936 		eval supported=\$$cacheid
   8937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8938 $as_echo "$supported" >&6; }
   8939 		if test "$supported" = "yes" ; then
   8940 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8941 			found="yes"
   8942 		fi
   8943 	fi
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 xorg_testset_save_CFLAGS="$CFLAGS"
   8960 
   8961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8969 /* end confdefs.h.  */
   8970 int i;
   8971 _ACEOF
   8972 if ac_fn_c_try_compile "$LINENO"; then :
   8973   xorg_cv_cc_flag_unknown_warning_option=yes
   8974 else
   8975   xorg_cv_cc_flag_unknown_warning_option=no
   8976 fi
   8977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8978 fi
   8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8988 	fi
   8989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8993   $as_echo_n "(cached) " >&6
   8994 else
   8995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8996 /* end confdefs.h.  */
   8997 int i;
   8998 _ACEOF
   8999 if ac_fn_c_try_compile "$LINENO"; then :
   9000   xorg_cv_cc_flag_unused_command_line_argument=yes
   9001 else
   9002   xorg_cv_cc_flag_unused_command_line_argument=no
   9003 fi
   9004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9005 fi
   9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9009 	CFLAGS="$xorg_testset_save_CFLAGS"
   9010 fi
   9011 
   9012 found="no"
   9013 
   9014 	if test $found = "no" ; then
   9015 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9017 		fi
   9018 
   9019 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9021 		fi
   9022 
   9023 		CFLAGS="$CFLAGS -Wmain"
   9024 
   9025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9026 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9027 		cacheid=xorg_cv_cc_flag__Wmain
   9028 		if eval \${$cacheid+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 int
   9035 main ()
   9036 {
   9037 
   9038   ;
   9039   return 0;
   9040 }
   9041 _ACEOF
   9042 if ac_fn_c_try_link "$LINENO"; then :
   9043   eval $cacheid=yes
   9044 else
   9045   eval $cacheid=no
   9046 fi
   9047 rm -f core conftest.err conftest.$ac_objext \
   9048     conftest$ac_exeext conftest.$ac_ext
   9049 fi
   9050 
   9051 
   9052 		CFLAGS="$xorg_testset_save_CFLAGS"
   9053 
   9054 		eval supported=\$$cacheid
   9055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9056 $as_echo "$supported" >&6; }
   9057 		if test "$supported" = "yes" ; then
   9058 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9059 			found="yes"
   9060 		fi
   9061 	fi
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 xorg_testset_save_CFLAGS="$CFLAGS"
   9078 
   9079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 int i;
   9089 _ACEOF
   9090 if ac_fn_c_try_compile "$LINENO"; then :
   9091   xorg_cv_cc_flag_unknown_warning_option=yes
   9092 else
   9093   xorg_cv_cc_flag_unknown_warning_option=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9096 fi
   9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 	fi
   9107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9111   $as_echo_n "(cached) " >&6
   9112 else
   9113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9114 /* end confdefs.h.  */
   9115 int i;
   9116 _ACEOF
   9117 if ac_fn_c_try_compile "$LINENO"; then :
   9118   xorg_cv_cc_flag_unused_command_line_argument=yes
   9119 else
   9120   xorg_cv_cc_flag_unused_command_line_argument=no
   9121 fi
   9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9123 fi
   9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9127 	CFLAGS="$xorg_testset_save_CFLAGS"
   9128 fi
   9129 
   9130 found="no"
   9131 
   9132 	if test $found = "no" ; then
   9133 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 		fi
   9136 
   9137 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9139 		fi
   9140 
   9141 		CFLAGS="$CFLAGS -Wmissing-braces"
   9142 
   9143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9144 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9145 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9146 		if eval \${$cacheid+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 int
   9153 main ()
   9154 {
   9155 
   9156   ;
   9157   return 0;
   9158 }
   9159 _ACEOF
   9160 if ac_fn_c_try_link "$LINENO"; then :
   9161   eval $cacheid=yes
   9162 else
   9163   eval $cacheid=no
   9164 fi
   9165 rm -f core conftest.err conftest.$ac_objext \
   9166     conftest$ac_exeext conftest.$ac_ext
   9167 fi
   9168 
   9169 
   9170 		CFLAGS="$xorg_testset_save_CFLAGS"
   9171 
   9172 		eval supported=\$$cacheid
   9173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9174 $as_echo "$supported" >&6; }
   9175 		if test "$supported" = "yes" ; then
   9176 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9177 			found="yes"
   9178 		fi
   9179 	fi
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 xorg_testset_save_CFLAGS="$CFLAGS"
   9196 
   9197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int i;
   9207 _ACEOF
   9208 if ac_fn_c_try_compile "$LINENO"; then :
   9209   xorg_cv_cc_flag_unknown_warning_option=yes
   9210 else
   9211   xorg_cv_cc_flag_unknown_warning_option=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9214 fi
   9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9224 	fi
   9225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9229   $as_echo_n "(cached) " >&6
   9230 else
   9231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9232 /* end confdefs.h.  */
   9233 int i;
   9234 _ACEOF
   9235 if ac_fn_c_try_compile "$LINENO"; then :
   9236   xorg_cv_cc_flag_unused_command_line_argument=yes
   9237 else
   9238   xorg_cv_cc_flag_unused_command_line_argument=no
   9239 fi
   9240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9241 fi
   9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9245 	CFLAGS="$xorg_testset_save_CFLAGS"
   9246 fi
   9247 
   9248 found="no"
   9249 
   9250 	if test $found = "no" ; then
   9251 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9253 		fi
   9254 
   9255 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9257 		fi
   9258 
   9259 		CFLAGS="$CFLAGS -Wsequence-point"
   9260 
   9261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9262 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9263 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9264 		if eval \${$cacheid+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 int
   9271 main ()
   9272 {
   9273 
   9274   ;
   9275   return 0;
   9276 }
   9277 _ACEOF
   9278 if ac_fn_c_try_link "$LINENO"; then :
   9279   eval $cacheid=yes
   9280 else
   9281   eval $cacheid=no
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext \
   9284     conftest$ac_exeext conftest.$ac_ext
   9285 fi
   9286 
   9287 
   9288 		CFLAGS="$xorg_testset_save_CFLAGS"
   9289 
   9290 		eval supported=\$$cacheid
   9291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9292 $as_echo "$supported" >&6; }
   9293 		if test "$supported" = "yes" ; then
   9294 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9295 			found="yes"
   9296 		fi
   9297 	fi
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 xorg_testset_save_CFLAGS="$CFLAGS"
   9314 
   9315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9320   $as_echo_n "(cached) " >&6
   9321 else
   9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9323 /* end confdefs.h.  */
   9324 int i;
   9325 _ACEOF
   9326 if ac_fn_c_try_compile "$LINENO"; then :
   9327   xorg_cv_cc_flag_unknown_warning_option=yes
   9328 else
   9329   xorg_cv_cc_flag_unknown_warning_option=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9336 	CFLAGS="$xorg_testset_save_CFLAGS"
   9337 fi
   9338 
   9339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	fi
   9343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9350 /* end confdefs.h.  */
   9351 int i;
   9352 _ACEOF
   9353 if ac_fn_c_try_compile "$LINENO"; then :
   9354   xorg_cv_cc_flag_unused_command_line_argument=yes
   9355 else
   9356   xorg_cv_cc_flag_unused_command_line_argument=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9359 fi
   9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 found="no"
   9367 
   9368 	if test $found = "no" ; then
   9369 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9371 		fi
   9372 
   9373 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9375 		fi
   9376 
   9377 		CFLAGS="$CFLAGS -Wreturn-type"
   9378 
   9379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9380 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9381 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9382 		if eval \${$cacheid+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 int
   9389 main ()
   9390 {
   9391 
   9392   ;
   9393   return 0;
   9394 }
   9395 _ACEOF
   9396 if ac_fn_c_try_link "$LINENO"; then :
   9397   eval $cacheid=yes
   9398 else
   9399   eval $cacheid=no
   9400 fi
   9401 rm -f core conftest.err conftest.$ac_objext \
   9402     conftest$ac_exeext conftest.$ac_ext
   9403 fi
   9404 
   9405 
   9406 		CFLAGS="$xorg_testset_save_CFLAGS"
   9407 
   9408 		eval supported=\$$cacheid
   9409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9410 $as_echo "$supported" >&6; }
   9411 		if test "$supported" = "yes" ; then
   9412 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9413 			found="yes"
   9414 		fi
   9415 	fi
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 xorg_testset_save_CFLAGS="$CFLAGS"
   9432 
   9433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9438   $as_echo_n "(cached) " >&6
   9439 else
   9440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9441 /* end confdefs.h.  */
   9442 int i;
   9443 _ACEOF
   9444 if ac_fn_c_try_compile "$LINENO"; then :
   9445   xorg_cv_cc_flag_unknown_warning_option=yes
   9446 else
   9447   xorg_cv_cc_flag_unknown_warning_option=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9450 fi
   9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9454 	CFLAGS="$xorg_testset_save_CFLAGS"
   9455 fi
   9456 
   9457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9460 	fi
   9461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9465   $as_echo_n "(cached) " >&6
   9466 else
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"; then :
   9472   xorg_cv_cc_flag_unused_command_line_argument=yes
   9473 else
   9474   xorg_cv_cc_flag_unused_command_line_argument=no
   9475 fi
   9476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9477 fi
   9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9481 	CFLAGS="$xorg_testset_save_CFLAGS"
   9482 fi
   9483 
   9484 found="no"
   9485 
   9486 	if test $found = "no" ; then
   9487 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9489 		fi
   9490 
   9491 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9493 		fi
   9494 
   9495 		CFLAGS="$CFLAGS -Wtrigraphs"
   9496 
   9497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9498 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9499 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9500 		if eval \${$cacheid+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 int
   9507 main ()
   9508 {
   9509 
   9510   ;
   9511   return 0;
   9512 }
   9513 _ACEOF
   9514 if ac_fn_c_try_link "$LINENO"; then :
   9515   eval $cacheid=yes
   9516 else
   9517   eval $cacheid=no
   9518 fi
   9519 rm -f core conftest.err conftest.$ac_objext \
   9520     conftest$ac_exeext conftest.$ac_ext
   9521 fi
   9522 
   9523 
   9524 		CFLAGS="$xorg_testset_save_CFLAGS"
   9525 
   9526 		eval supported=\$$cacheid
   9527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9528 $as_echo "$supported" >&6; }
   9529 		if test "$supported" = "yes" ; then
   9530 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9531 			found="yes"
   9532 		fi
   9533 	fi
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 xorg_testset_save_CFLAGS="$CFLAGS"
   9550 
   9551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9556   $as_echo_n "(cached) " >&6
   9557 else
   9558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9559 /* end confdefs.h.  */
   9560 int i;
   9561 _ACEOF
   9562 if ac_fn_c_try_compile "$LINENO"; then :
   9563   xorg_cv_cc_flag_unknown_warning_option=yes
   9564 else
   9565   xorg_cv_cc_flag_unknown_warning_option=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9572 	CFLAGS="$xorg_testset_save_CFLAGS"
   9573 fi
   9574 
   9575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9578 	fi
   9579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9583   $as_echo_n "(cached) " >&6
   9584 else
   9585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 _ACEOF
   9589 if ac_fn_c_try_compile "$LINENO"; then :
   9590   xorg_cv_cc_flag_unused_command_line_argument=yes
   9591 else
   9592   xorg_cv_cc_flag_unused_command_line_argument=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9595 fi
   9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 found="no"
   9603 
   9604 	if test $found = "no" ; then
   9605 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 		fi
   9608 
   9609 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 		fi
   9612 
   9613 		CFLAGS="$CFLAGS -Warray-bounds"
   9614 
   9615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9616 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9617 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9618 		if eval \${$cacheid+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 int
   9625 main ()
   9626 {
   9627 
   9628   ;
   9629   return 0;
   9630 }
   9631 _ACEOF
   9632 if ac_fn_c_try_link "$LINENO"; then :
   9633   eval $cacheid=yes
   9634 else
   9635   eval $cacheid=no
   9636 fi
   9637 rm -f core conftest.err conftest.$ac_objext \
   9638     conftest$ac_exeext conftest.$ac_ext
   9639 fi
   9640 
   9641 
   9642 		CFLAGS="$xorg_testset_save_CFLAGS"
   9643 
   9644 		eval supported=\$$cacheid
   9645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9646 $as_echo "$supported" >&6; }
   9647 		if test "$supported" = "yes" ; then
   9648 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9649 			found="yes"
   9650 		fi
   9651 	fi
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 xorg_testset_save_CFLAGS="$CFLAGS"
   9668 
   9669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9674   $as_echo_n "(cached) " >&6
   9675 else
   9676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9677 /* end confdefs.h.  */
   9678 int i;
   9679 _ACEOF
   9680 if ac_fn_c_try_compile "$LINENO"; then :
   9681   xorg_cv_cc_flag_unknown_warning_option=yes
   9682 else
   9683   xorg_cv_cc_flag_unknown_warning_option=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9690 	CFLAGS="$xorg_testset_save_CFLAGS"
   9691 fi
   9692 
   9693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	fi
   9697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9704 /* end confdefs.h.  */
   9705 int i;
   9706 _ACEOF
   9707 if ac_fn_c_try_compile "$LINENO"; then :
   9708   xorg_cv_cc_flag_unused_command_line_argument=yes
   9709 else
   9710   xorg_cv_cc_flag_unused_command_line_argument=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9713 fi
   9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9717 	CFLAGS="$xorg_testset_save_CFLAGS"
   9718 fi
   9719 
   9720 found="no"
   9721 
   9722 	if test $found = "no" ; then
   9723 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 		fi
   9726 
   9727 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9729 		fi
   9730 
   9731 		CFLAGS="$CFLAGS -Wwrite-strings"
   9732 
   9733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9734 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9735 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9736 		if eval \${$cacheid+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 int
   9743 main ()
   9744 {
   9745 
   9746   ;
   9747   return 0;
   9748 }
   9749 _ACEOF
   9750 if ac_fn_c_try_link "$LINENO"; then :
   9751   eval $cacheid=yes
   9752 else
   9753   eval $cacheid=no
   9754 fi
   9755 rm -f core conftest.err conftest.$ac_objext \
   9756     conftest$ac_exeext conftest.$ac_ext
   9757 fi
   9758 
   9759 
   9760 		CFLAGS="$xorg_testset_save_CFLAGS"
   9761 
   9762 		eval supported=\$$cacheid
   9763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9764 $as_echo "$supported" >&6; }
   9765 		if test "$supported" = "yes" ; then
   9766 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9767 			found="yes"
   9768 		fi
   9769 	fi
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 xorg_testset_save_CFLAGS="$CFLAGS"
   9786 
   9787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9792   $as_echo_n "(cached) " >&6
   9793 else
   9794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9795 /* end confdefs.h.  */
   9796 int i;
   9797 _ACEOF
   9798 if ac_fn_c_try_compile "$LINENO"; then :
   9799   xorg_cv_cc_flag_unknown_warning_option=yes
   9800 else
   9801   xorg_cv_cc_flag_unknown_warning_option=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9804 fi
   9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9808 	CFLAGS="$xorg_testset_save_CFLAGS"
   9809 fi
   9810 
   9811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 	fi
   9815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9819   $as_echo_n "(cached) " >&6
   9820 else
   9821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9822 /* end confdefs.h.  */
   9823 int i;
   9824 _ACEOF
   9825 if ac_fn_c_try_compile "$LINENO"; then :
   9826   xorg_cv_cc_flag_unused_command_line_argument=yes
   9827 else
   9828   xorg_cv_cc_flag_unused_command_line_argument=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9835 	CFLAGS="$xorg_testset_save_CFLAGS"
   9836 fi
   9837 
   9838 found="no"
   9839 
   9840 	if test $found = "no" ; then
   9841 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9843 		fi
   9844 
   9845 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9847 		fi
   9848 
   9849 		CFLAGS="$CFLAGS -Waddress"
   9850 
   9851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9852 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9853 		cacheid=xorg_cv_cc_flag__Waddress
   9854 		if eval \${$cacheid+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 int
   9861 main ()
   9862 {
   9863 
   9864   ;
   9865   return 0;
   9866 }
   9867 _ACEOF
   9868 if ac_fn_c_try_link "$LINENO"; then :
   9869   eval $cacheid=yes
   9870 else
   9871   eval $cacheid=no
   9872 fi
   9873 rm -f core conftest.err conftest.$ac_objext \
   9874     conftest$ac_exeext conftest.$ac_ext
   9875 fi
   9876 
   9877 
   9878 		CFLAGS="$xorg_testset_save_CFLAGS"
   9879 
   9880 		eval supported=\$$cacheid
   9881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9882 $as_echo "$supported" >&6; }
   9883 		if test "$supported" = "yes" ; then
   9884 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9885 			found="yes"
   9886 		fi
   9887 	fi
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 xorg_testset_save_CFLAGS="$CFLAGS"
   9904 
   9905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9913 /* end confdefs.h.  */
   9914 int i;
   9915 _ACEOF
   9916 if ac_fn_c_try_compile "$LINENO"; then :
   9917   xorg_cv_cc_flag_unknown_warning_option=yes
   9918 else
   9919   xorg_cv_cc_flag_unknown_warning_option=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9922 fi
   9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9926 	CFLAGS="$xorg_testset_save_CFLAGS"
   9927 fi
   9928 
   9929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9932 	fi
   9933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9937   $as_echo_n "(cached) " >&6
   9938 else
   9939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9940 /* end confdefs.h.  */
   9941 int i;
   9942 _ACEOF
   9943 if ac_fn_c_try_compile "$LINENO"; then :
   9944   xorg_cv_cc_flag_unused_command_line_argument=yes
   9945 else
   9946   xorg_cv_cc_flag_unused_command_line_argument=no
   9947 fi
   9948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9949 fi
   9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9953 	CFLAGS="$xorg_testset_save_CFLAGS"
   9954 fi
   9955 
   9956 found="no"
   9957 
   9958 	if test $found = "no" ; then
   9959 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9961 		fi
   9962 
   9963 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9965 		fi
   9966 
   9967 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9968 
   9969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9970 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9971 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9972 		if eval \${$cacheid+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 int
   9979 main ()
   9980 {
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 if ac_fn_c_try_link "$LINENO"; then :
   9987   eval $cacheid=yes
   9988 else
   9989   eval $cacheid=no
   9990 fi
   9991 rm -f core conftest.err conftest.$ac_objext \
   9992     conftest$ac_exeext conftest.$ac_ext
   9993 fi
   9994 
   9995 
   9996 		CFLAGS="$xorg_testset_save_CFLAGS"
   9997 
   9998 		eval supported=\$$cacheid
   9999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10000 $as_echo "$supported" >&6; }
   10001 		if test "$supported" = "yes" ; then
   10002 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10003 			found="yes"
   10004 		fi
   10005 	fi
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 xorg_testset_save_CFLAGS="$CFLAGS"
   10022 
   10023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10028   $as_echo_n "(cached) " >&6
   10029 else
   10030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10031 /* end confdefs.h.  */
   10032 int i;
   10033 _ACEOF
   10034 if ac_fn_c_try_compile "$LINENO"; then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else
   10037   xorg_cv_cc_flag_unknown_warning_option=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10044 	CFLAGS="$xorg_testset_save_CFLAGS"
   10045 fi
   10046 
   10047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10050 	fi
   10051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10055   $as_echo_n "(cached) " >&6
   10056 else
   10057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10058 /* end confdefs.h.  */
   10059 int i;
   10060 _ACEOF
   10061 if ac_fn_c_try_compile "$LINENO"; then :
   10062   xorg_cv_cc_flag_unused_command_line_argument=yes
   10063 else
   10064   xorg_cv_cc_flag_unused_command_line_argument=no
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10067 fi
   10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10071 	CFLAGS="$xorg_testset_save_CFLAGS"
   10072 fi
   10073 
   10074 found="no"
   10075 
   10076 	if test $found = "no" ; then
   10077 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10079 		fi
   10080 
   10081 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10083 		fi
   10084 
   10085 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10086 
   10087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10088 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10089 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10090 		if eval \${$cacheid+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 int
   10097 main ()
   10098 {
   10099 
   10100   ;
   10101   return 0;
   10102 }
   10103 _ACEOF
   10104 if ac_fn_c_try_link "$LINENO"; then :
   10105   eval $cacheid=yes
   10106 else
   10107   eval $cacheid=no
   10108 fi
   10109 rm -f core conftest.err conftest.$ac_objext \
   10110     conftest$ac_exeext conftest.$ac_ext
   10111 fi
   10112 
   10113 
   10114 		CFLAGS="$xorg_testset_save_CFLAGS"
   10115 
   10116 		eval supported=\$$cacheid
   10117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10118 $as_echo "$supported" >&6; }
   10119 		if test "$supported" = "yes" ; then
   10120 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10121 			found="yes"
   10122 		fi
   10123 	fi
   10124 
   10125 
   10126 fi
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 		CWARNFLAGS="$BASE_CFLAGS"
   10135 		if  test "x$GCC" = xyes ; then
   10136 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10137 		fi
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 # Check whether --enable-strict-compilation was given.
   10147 if test "${enable_strict_compilation+set}" = set; then :
   10148   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10149 else
   10150   STRICT_COMPILE=no
   10151 fi
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 STRICT_CFLAGS=""
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 xorg_testset_save_CFLAGS="$CFLAGS"
   10173 
   10174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10179   $as_echo_n "(cached) " >&6
   10180 else
   10181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10182 /* end confdefs.h.  */
   10183 int i;
   10184 _ACEOF
   10185 if ac_fn_c_try_compile "$LINENO"; then :
   10186   xorg_cv_cc_flag_unknown_warning_option=yes
   10187 else
   10188   xorg_cv_cc_flag_unknown_warning_option=no
   10189 fi
   10190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10191 fi
   10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10195 	CFLAGS="$xorg_testset_save_CFLAGS"
   10196 fi
   10197 
   10198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 	fi
   10202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10206   $as_echo_n "(cached) " >&6
   10207 else
   10208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10209 /* end confdefs.h.  */
   10210 int i;
   10211 _ACEOF
   10212 if ac_fn_c_try_compile "$LINENO"; then :
   10213   xorg_cv_cc_flag_unused_command_line_argument=yes
   10214 else
   10215   xorg_cv_cc_flag_unused_command_line_argument=no
   10216 fi
   10217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10218 fi
   10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10222 	CFLAGS="$xorg_testset_save_CFLAGS"
   10223 fi
   10224 
   10225 found="no"
   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 -pedantic"
   10237 
   10238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10239 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10240 		cacheid=xorg_cv_cc_flag__pedantic
   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 -pedantic"
   10272 			found="yes"
   10273 		fi
   10274 	fi
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 xorg_testset_save_CFLAGS="$CFLAGS"
   10291 
   10292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 int i;
   10302 _ACEOF
   10303 if ac_fn_c_try_compile "$LINENO"; then :
   10304   xorg_cv_cc_flag_unknown_warning_option=yes
   10305 else
   10306   xorg_cv_cc_flag_unknown_warning_option=no
   10307 fi
   10308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10309 fi
   10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10313 	CFLAGS="$xorg_testset_save_CFLAGS"
   10314 fi
   10315 
   10316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10319 	fi
   10320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10324   $as_echo_n "(cached) " >&6
   10325 else
   10326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 int i;
   10329 _ACEOF
   10330 if ac_fn_c_try_compile "$LINENO"; then :
   10331   xorg_cv_cc_flag_unused_command_line_argument=yes
   10332 else
   10333   xorg_cv_cc_flag_unused_command_line_argument=no
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10336 fi
   10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10340 	CFLAGS="$xorg_testset_save_CFLAGS"
   10341 fi
   10342 
   10343 found="no"
   10344 
   10345 	if test $found = "no" ; then
   10346 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10348 		fi
   10349 
   10350 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10352 		fi
   10353 
   10354 		CFLAGS="$CFLAGS -Werror"
   10355 
   10356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10357 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10358 		cacheid=xorg_cv_cc_flag__Werror
   10359 		if eval \${$cacheid+:} false; then :
   10360   $as_echo_n "(cached) " >&6
   10361 else
   10362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10363 /* end confdefs.h.  */
   10364 int i;
   10365 int
   10366 main ()
   10367 {
   10368 
   10369   ;
   10370   return 0;
   10371 }
   10372 _ACEOF
   10373 if ac_fn_c_try_link "$LINENO"; then :
   10374   eval $cacheid=yes
   10375 else
   10376   eval $cacheid=no
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext \
   10379     conftest$ac_exeext conftest.$ac_ext
   10380 fi
   10381 
   10382 
   10383 		CFLAGS="$xorg_testset_save_CFLAGS"
   10384 
   10385 		eval supported=\$$cacheid
   10386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10387 $as_echo "$supported" >&6; }
   10388 		if test "$supported" = "yes" ; then
   10389 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10390 			found="yes"
   10391 		fi
   10392 	fi
   10393 
   10394 	if test $found = "no" ; then
   10395 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 		fi
   10398 
   10399 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10401 		fi
   10402 
   10403 		CFLAGS="$CFLAGS -errwarn"
   10404 
   10405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10406 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10407 		cacheid=xorg_cv_cc_flag__errwarn
   10408 		if eval \${$cacheid+:} false; then :
   10409   $as_echo_n "(cached) " >&6
   10410 else
   10411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 int
   10415 main ()
   10416 {
   10417 
   10418   ;
   10419   return 0;
   10420 }
   10421 _ACEOF
   10422 if ac_fn_c_try_link "$LINENO"; then :
   10423   eval $cacheid=yes
   10424 else
   10425   eval $cacheid=no
   10426 fi
   10427 rm -f core conftest.err conftest.$ac_objext \
   10428     conftest$ac_exeext conftest.$ac_ext
   10429 fi
   10430 
   10431 
   10432 		CFLAGS="$xorg_testset_save_CFLAGS"
   10433 
   10434 		eval supported=\$$cacheid
   10435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10436 $as_echo "$supported" >&6; }
   10437 		if test "$supported" = "yes" ; then
   10438 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10439 			found="yes"
   10440 		fi
   10441 	fi
   10442 
   10443 
   10444 
   10445 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10446 # activate it with -Werror, so we add it here explicitly.
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 xorg_testset_save_CFLAGS="$CFLAGS"
   10461 
   10462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10467   $as_echo_n "(cached) " >&6
   10468 else
   10469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10470 /* end confdefs.h.  */
   10471 int i;
   10472 _ACEOF
   10473 if ac_fn_c_try_compile "$LINENO"; then :
   10474   xorg_cv_cc_flag_unknown_warning_option=yes
   10475 else
   10476   xorg_cv_cc_flag_unknown_warning_option=no
   10477 fi
   10478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10479 fi
   10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10483 	CFLAGS="$xorg_testset_save_CFLAGS"
   10484 fi
   10485 
   10486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10489 	fi
   10490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10494   $as_echo_n "(cached) " >&6
   10495 else
   10496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10497 /* end confdefs.h.  */
   10498 int i;
   10499 _ACEOF
   10500 if ac_fn_c_try_compile "$LINENO"; then :
   10501   xorg_cv_cc_flag_unused_command_line_argument=yes
   10502 else
   10503   xorg_cv_cc_flag_unused_command_line_argument=no
   10504 fi
   10505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10506 fi
   10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10510 	CFLAGS="$xorg_testset_save_CFLAGS"
   10511 fi
   10512 
   10513 found="no"
   10514 
   10515 	if test $found = "no" ; then
   10516 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10518 		fi
   10519 
   10520 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10522 		fi
   10523 
   10524 		CFLAGS="$CFLAGS -Werror=attributes"
   10525 
   10526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10527 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10528 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10529 		if eval \${$cacheid+:} false; then :
   10530   $as_echo_n "(cached) " >&6
   10531 else
   10532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10533 /* end confdefs.h.  */
   10534 int i;
   10535 int
   10536 main ()
   10537 {
   10538 
   10539   ;
   10540   return 0;
   10541 }
   10542 _ACEOF
   10543 if ac_fn_c_try_link "$LINENO"; then :
   10544   eval $cacheid=yes
   10545 else
   10546   eval $cacheid=no
   10547 fi
   10548 rm -f core conftest.err conftest.$ac_objext \
   10549     conftest$ac_exeext conftest.$ac_ext
   10550 fi
   10551 
   10552 
   10553 		CFLAGS="$xorg_testset_save_CFLAGS"
   10554 
   10555 		eval supported=\$$cacheid
   10556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10557 $as_echo "$supported" >&6; }
   10558 		if test "$supported" = "yes" ; then
   10559 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10560 			found="yes"
   10561 		fi
   10562 	fi
   10563 
   10564 
   10565 
   10566 if test "x$STRICT_COMPILE" = "xyes"; then
   10567     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10568     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10569 fi
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 cat >>confdefs.h <<_ACEOF
   10577 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10578 _ACEOF
   10579 
   10580 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10581 	if test "x$PVM" = "x"; then
   10582 		PVM="0"
   10583 	fi
   10584 
   10585 cat >>confdefs.h <<_ACEOF
   10586 #define PACKAGE_VERSION_MINOR $PVM
   10587 _ACEOF
   10588 
   10589 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10590 	if test "x$PVP" = "x"; then
   10591 		PVP="0"
   10592 	fi
   10593 
   10594 cat >>confdefs.h <<_ACEOF
   10595 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10596 _ACEOF
   10597 
   10598 
   10599 
   10600 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10601 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10602 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10603 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10604 
   10605 
   10606 
   10607 
   10608 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10609 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10610 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10611 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10612 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 if test x$APP_MAN_SUFFIX = x    ; then
   10620     APP_MAN_SUFFIX=1
   10621 fi
   10622 if test x$APP_MAN_DIR = x    ; then
   10623     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10624 fi
   10625 
   10626 if test x$LIB_MAN_SUFFIX = x    ; then
   10627     LIB_MAN_SUFFIX=3
   10628 fi
   10629 if test x$LIB_MAN_DIR = x    ; then
   10630     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10631 fi
   10632 
   10633 if test x$FILE_MAN_SUFFIX = x    ; then
   10634     case $host_os in
   10635 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10636 	*)		FILE_MAN_SUFFIX=5  ;;
   10637     esac
   10638 fi
   10639 if test x$FILE_MAN_DIR = x    ; then
   10640     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10641 fi
   10642 
   10643 if test x$MISC_MAN_SUFFIX = x    ; then
   10644     case $host_os in
   10645 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10646 	*)		MISC_MAN_SUFFIX=7  ;;
   10647     esac
   10648 fi
   10649 if test x$MISC_MAN_DIR = x    ; then
   10650     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10651 fi
   10652 
   10653 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10654     case $host_os in
   10655 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10656 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10657     esac
   10658 fi
   10659 if test x$DRIVER_MAN_DIR = x    ; then
   10660     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10661 fi
   10662 
   10663 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10664     case $host_os in
   10665 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10666 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10667     esac
   10668 fi
   10669 if test x$ADMIN_MAN_DIR = x    ; then
   10670     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10671 fi
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 XORG_MAN_PAGE="X Version 11"
   10688 
   10689 MAN_SUBSTS="\
   10690 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10691 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10692 	-e 's|__xservername__|Xorg|g' \
   10693 	-e 's|__xconfigfile__|xorg.conf|g' \
   10694 	-e 's|__projectroot__|\$(prefix)|g' \
   10695 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10696 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10697 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10698 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10699 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10700 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10701 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10702 
   10703 
   10704 
   10705 # Check whether --enable-silent-rules was given.
   10706 if test "${enable_silent_rules+set}" = set; then :
   10707   enableval=$enable_silent_rules;
   10708 fi
   10709 
   10710 case $enable_silent_rules in # (((
   10711   yes) AM_DEFAULT_VERBOSITY=0;;
   10712    no) AM_DEFAULT_VERBOSITY=1;;
   10713     *) AM_DEFAULT_VERBOSITY=0;;
   10714 esac
   10715 am_make=${MAKE-make}
   10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10717 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10718 if ${am_cv_make_support_nested_variables+:} false; then :
   10719   $as_echo_n "(cached) " >&6
   10720 else
   10721   if $as_echo 'TRUE=$(BAR$(V))
   10722 BAR0=false
   10723 BAR1=true
   10724 V=1
   10725 am__doit:
   10726 	@$(TRUE)
   10727 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10728   am_cv_make_support_nested_variables=yes
   10729 else
   10730   am_cv_make_support_nested_variables=no
   10731 fi
   10732 fi
   10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10734 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10735 if test $am_cv_make_support_nested_variables = yes; then
   10736     AM_V='$(V)'
   10737   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10738 else
   10739   AM_V=$AM_DEFAULT_VERBOSITY
   10740   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10741 fi
   10742 AM_BACKSLASH='\'
   10743 
   10744 
   10745 
   10746 # Checks for pkg-config packages
   10747 # - Both CFLAGS & LIBS needed:
   10748 
   10749 pkg_failed=no
   10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XHOST" >&5
   10751 $as_echo_n "checking for XHOST... " >&6; }
   10752 
   10753 if test -n "$XHOST_CFLAGS"; then
   10754     pkg_cv_XHOST_CFLAGS="$XHOST_CFLAGS"
   10755  elif test -n "$PKG_CONFIG"; then
   10756     if test -n "$PKG_CONFIG" && \
   10757     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 x11 xmuu\""; } >&5
   10758   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 x11 xmuu") 2>&5
   10759   ac_status=$?
   10760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10761   test $ac_status = 0; }; then
   10762   pkg_cv_XHOST_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.22 x11 xmuu" 2>/dev/null`
   10763 else
   10764   pkg_failed=yes
   10765 fi
   10766  else
   10767     pkg_failed=untried
   10768 fi
   10769 if test -n "$XHOST_LIBS"; then
   10770     pkg_cv_XHOST_LIBS="$XHOST_LIBS"
   10771  elif test -n "$PKG_CONFIG"; then
   10772     if test -n "$PKG_CONFIG" && \
   10773     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.22 x11 xmuu\""; } >&5
   10774   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.22 x11 xmuu") 2>&5
   10775   ac_status=$?
   10776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10777   test $ac_status = 0; }; then
   10778   pkg_cv_XHOST_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.22 x11 xmuu" 2>/dev/null`
   10779 else
   10780   pkg_failed=yes
   10781 fi
   10782  else
   10783     pkg_failed=untried
   10784 fi
   10785 
   10786 
   10787 
   10788 if test $pkg_failed = yes; then
   10789 
   10790 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10791         _pkg_short_errors_supported=yes
   10792 else
   10793         _pkg_short_errors_supported=no
   10794 fi
   10795         if test $_pkg_short_errors_supported = yes; then
   10796 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.22 x11 xmuu" 2>&1`
   10797         else
   10798 	        XHOST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.22 x11 xmuu" 2>&1`
   10799         fi
   10800 	# Put the nasty error message in config.log where it belongs
   10801 	echo "$XHOST_PKG_ERRORS" >&5
   10802 
   10803 	as_fn_error $? "Package requirements (xproto >= 7.0.22 x11 xmuu) were not met:
   10804 
   10805 $XHOST_PKG_ERRORS
   10806 
   10807 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10808 installed software in a non-standard prefix.
   10809 
   10810 Alternatively, you may set the environment variables XHOST_CFLAGS
   10811 and XHOST_LIBS to avoid the need to call pkg-config.
   10812 See the pkg-config man page for more details.
   10813 " "$LINENO" 5
   10814 elif test $pkg_failed = untried; then
   10815 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10817 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10818 is in your PATH or set the PKG_CONFIG environment variable to the full
   10819 path to pkg-config.
   10820 
   10821 Alternatively, you may set the environment variables XHOST_CFLAGS
   10822 and XHOST_LIBS to avoid the need to call pkg-config.
   10823 See the pkg-config man page for more details.
   10824 
   10825 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10826 See \`config.log' for more details" "$LINENO" 5; }
   10827 else
   10828 	XHOST_CFLAGS=$pkg_cv_XHOST_CFLAGS
   10829 	XHOST_LIBS=$pkg_cv_XHOST_LIBS
   10830         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10831 $as_echo "yes" >&6; }
   10832 	:
   10833 fi
   10834 # - Only CFLAGS needed, not libs:
   10835 
   10836 pkg_failed=no
   10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAU" >&5
   10838 $as_echo_n "checking for XAU... " >&6; }
   10839 
   10840 if test -n "$XAU_CFLAGS"; then
   10841     pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   10842  elif test -n "$PKG_CONFIG"; then
   10843     if test -n "$PKG_CONFIG" && \
   10844     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   10845   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   10846   ac_status=$?
   10847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10848   test $ac_status = 0; }; then
   10849   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xau" 2>/dev/null`
   10850 else
   10851   pkg_failed=yes
   10852 fi
   10853  else
   10854     pkg_failed=untried
   10855 fi
   10856 if test -n "$XAU_LIBS"; then
   10857     pkg_cv_XAU_LIBS="$XAU_LIBS"
   10858  elif test -n "$PKG_CONFIG"; then
   10859     if test -n "$PKG_CONFIG" && \
   10860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   10861   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   10862   ac_status=$?
   10863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10864   test $ac_status = 0; }; then
   10865   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xau" 2>/dev/null`
   10866 else
   10867   pkg_failed=yes
   10868 fi
   10869  else
   10870     pkg_failed=untried
   10871 fi
   10872 
   10873 
   10874 
   10875 if test $pkg_failed = yes; then
   10876 
   10877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10878         _pkg_short_errors_supported=yes
   10879 else
   10880         _pkg_short_errors_supported=no
   10881 fi
   10882         if test $_pkg_short_errors_supported = yes; then
   10883 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xau" 2>&1`
   10884         else
   10885 	        XAU_PKG_ERRORS=`$PKG_CONFIG --print-errors "xau" 2>&1`
   10886         fi
   10887 	# Put the nasty error message in config.log where it belongs
   10888 	echo "$XAU_PKG_ERRORS" >&5
   10889 
   10890 	as_fn_error $? "Package requirements (xau) were not met:
   10891 
   10892 $XAU_PKG_ERRORS
   10893 
   10894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10895 installed software in a non-standard prefix.
   10896 
   10897 Alternatively, you may set the environment variables XAU_CFLAGS
   10898 and XAU_LIBS to avoid the need to call pkg-config.
   10899 See the pkg-config man page for more details.
   10900 " "$LINENO" 5
   10901 elif test $pkg_failed = untried; then
   10902 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10904 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10905 is in your PATH or set the PKG_CONFIG environment variable to the full
   10906 path to pkg-config.
   10907 
   10908 Alternatively, you may set the environment variables XAU_CFLAGS
   10909 and XAU_LIBS to avoid the need to call pkg-config.
   10910 See the pkg-config man page for more details.
   10911 
   10912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10913 See \`config.log' for more details" "$LINENO" 5; }
   10914 else
   10915 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   10916 	XAU_LIBS=$pkg_cv_XAU_LIBS
   10917         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10918 $as_echo "yes" >&6; }
   10919 	:
   10920 fi
   10921 
   10922 # Transport selection macro from xtrans.m4
   10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   10924 $as_echo_n "checking return type of signal handlers... " >&6; }
   10925 if ${ac_cv_type_signal+:} false; then :
   10926   $as_echo_n "(cached) " >&6
   10927 else
   10928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10929 /* end confdefs.h.  */
   10930 #include <sys/types.h>
   10931 #include <signal.h>
   10932 
   10933 int
   10934 main ()
   10935 {
   10936 return *(signal (0, 0)) (0) == 1;
   10937   ;
   10938   return 0;
   10939 }
   10940 _ACEOF
   10941 if ac_fn_c_try_compile "$LINENO"; then :
   10942   ac_cv_type_signal=int
   10943 else
   10944   ac_cv_type_signal=void
   10945 fi
   10946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10947 fi
   10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   10949 $as_echo "$ac_cv_type_signal" >&6; }
   10950 
   10951 cat >>confdefs.h <<_ACEOF
   10952 #define RETSIGTYPE $ac_cv_type_signal
   10953 _ACEOF
   10954 
   10955 
   10956 
   10957 
   10958 
   10959  case $host_os in
   10960 	mingw*)	unixdef="no"   ;;
   10961 	*)	unixdef="yes"  ;;
   10962  esac
   10963  # Check whether --enable-unix-transport was given.
   10964 if test "${enable_unix_transport+set}" = set; then :
   10965   enableval=$enable_unix_transport; UNIXCONN=$enableval
   10966 else
   10967   UNIXCONN=$unixdef
   10968 fi
   10969 
   10970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   10971 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   10972  if test "$UNIXCONN" = "yes"; then
   10973 
   10974 $as_echo "#define UNIXCONN 1" >>confdefs.h
   10975 
   10976  fi
   10977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   10978 $as_echo "$UNIXCONN" >&6; }
   10979  # Check whether --enable-tcp-transport was given.
   10980 if test "${enable_tcp_transport+set}" = set; then :
   10981   enableval=$enable_tcp_transport; TCPCONN=$enableval
   10982 else
   10983   TCPCONN=yes
   10984 fi
   10985 
   10986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   10987 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   10988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   10989 $as_echo "$TCPCONN" >&6; }
   10990  if test "$TCPCONN" = "yes"; then
   10991 
   10992 $as_echo "#define TCPCONN 1" >>confdefs.h
   10993 
   10994 
   10995  # SVR4 hides these in libraries other than libc
   10996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   10997 $as_echo_n "checking for library containing socket... " >&6; }
   10998 if ${ac_cv_search_socket+:} false; then :
   10999   $as_echo_n "(cached) " >&6
   11000 else
   11001   ac_func_search_save_LIBS=$LIBS
   11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11003 /* end confdefs.h.  */
   11004 
   11005 /* Override any GCC internal prototype to avoid an error.
   11006    Use char because int might match the return type of a GCC
   11007    builtin and then its argument prototype would still apply.  */
   11008 #ifdef __cplusplus
   11009 extern "C"
   11010 #endif
   11011 char socket ();
   11012 int
   11013 main ()
   11014 {
   11015 return socket ();
   11016   ;
   11017   return 0;
   11018 }
   11019 _ACEOF
   11020 for ac_lib in '' socket; do
   11021   if test -z "$ac_lib"; then
   11022     ac_res="none required"
   11023   else
   11024     ac_res=-l$ac_lib
   11025     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11026   fi
   11027   if ac_fn_c_try_link "$LINENO"; then :
   11028   ac_cv_search_socket=$ac_res
   11029 fi
   11030 rm -f core conftest.err conftest.$ac_objext \
   11031     conftest$ac_exeext
   11032   if ${ac_cv_search_socket+:} false; then :
   11033   break
   11034 fi
   11035 done
   11036 if ${ac_cv_search_socket+:} false; then :
   11037 
   11038 else
   11039   ac_cv_search_socket=no
   11040 fi
   11041 rm conftest.$ac_ext
   11042 LIBS=$ac_func_search_save_LIBS
   11043 fi
   11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   11045 $as_echo "$ac_cv_search_socket" >&6; }
   11046 ac_res=$ac_cv_search_socket
   11047 if test "$ac_res" != no; then :
   11048   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11049 
   11050 fi
   11051 
   11052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   11053 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   11054 if ${ac_cv_search_gethostbyname+:} false; then :
   11055   $as_echo_n "(cached) " >&6
   11056 else
   11057   ac_func_search_save_LIBS=$LIBS
   11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11059 /* end confdefs.h.  */
   11060 
   11061 /* Override any GCC internal prototype to avoid an error.
   11062    Use char because int might match the return type of a GCC
   11063    builtin and then its argument prototype would still apply.  */
   11064 #ifdef __cplusplus
   11065 extern "C"
   11066 #endif
   11067 char gethostbyname ();
   11068 int
   11069 main ()
   11070 {
   11071 return gethostbyname ();
   11072   ;
   11073   return 0;
   11074 }
   11075 _ACEOF
   11076 for ac_lib in '' nsl; do
   11077   if test -z "$ac_lib"; then
   11078     ac_res="none required"
   11079   else
   11080     ac_res=-l$ac_lib
   11081     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11082   fi
   11083   if ac_fn_c_try_link "$LINENO"; then :
   11084   ac_cv_search_gethostbyname=$ac_res
   11085 fi
   11086 rm -f core conftest.err conftest.$ac_objext \
   11087     conftest$ac_exeext
   11088   if ${ac_cv_search_gethostbyname+:} false; then :
   11089   break
   11090 fi
   11091 done
   11092 if ${ac_cv_search_gethostbyname+:} false; then :
   11093 
   11094 else
   11095   ac_cv_search_gethostbyname=no
   11096 fi
   11097 rm conftest.$ac_ext
   11098 LIBS=$ac_func_search_save_LIBS
   11099 fi
   11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   11101 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   11102 ac_res=$ac_cv_search_gethostbyname
   11103 if test "$ac_res" != no; then :
   11104   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11105 
   11106 fi
   11107 
   11108  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   11109    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11110 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11111 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11112   $as_echo_n "(cached) " >&6
   11113 else
   11114   ac_check_lib_save_LIBS=$LIBS
   11115 LIBS="-lws2_32  $LIBS"
   11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11117 /* end confdefs.h.  */
   11118 
   11119 
   11120 int
   11121 main ()
   11122 {
   11123 return main ();
   11124   ;
   11125   return 0;
   11126 }
   11127 _ACEOF
   11128 if ac_fn_c_try_link "$LINENO"; then :
   11129   ac_cv_lib_ws2_32_main=yes
   11130 else
   11131   ac_cv_lib_ws2_32_main=no
   11132 fi
   11133 rm -f core conftest.err conftest.$ac_objext \
   11134     conftest$ac_exeext conftest.$ac_ext
   11135 LIBS=$ac_check_lib_save_LIBS
   11136 fi
   11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11138 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11139 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11140   cat >>confdefs.h <<_ACEOF
   11141 #define HAVE_LIBWS2_32 1
   11142 _ACEOF
   11143 
   11144   LIBS="-lws2_32 $LIBS"
   11145 
   11146 fi
   11147 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   11148 
   11149  fi
   11150 
   11151  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   11152  # Check whether --enable-ipv6 was given.
   11153 if test "${enable_ipv6+set}" = set; then :
   11154   enableval=$enable_ipv6; IPV6CONN=$enableval
   11155 else
   11156   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   11157 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   11158   IPV6CONN=yes
   11159 else
   11160   IPV6CONN=no
   11161 fi
   11162 
   11163 fi
   11164 
   11165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11166 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11167  if test "$IPV6CONN" = "yes"; then
   11168 
   11169 $as_echo "#define IPv6 1" >>confdefs.h
   11170 
   11171  fi
   11172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11173 $as_echo "$IPV6CONN" >&6; }
   11174 
   11175  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11176  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11177 #include <sys/types.h>
   11178 #include <sys/socket.h>
   11179 #include <netinet/in.h>
   11180 
   11181 "
   11182 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11183 
   11184 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11185 
   11186 fi
   11187 
   11188 
   11189  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11190  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11191 $ac_includes_default
   11192 #include <sys/socket.h>
   11193 "
   11194 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11195 
   11196 cat >>confdefs.h <<_ACEOF
   11197 #define HAVE_SOCKLEN_T 1
   11198 _ACEOF
   11199 
   11200 
   11201 fi
   11202 
   11203 
   11204 
   11205  fi
   11206  case $host_os in
   11207 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11208 	*)			localdef="no"  ;;
   11209  esac
   11210  # Check whether --enable-local-transport was given.
   11211 if test "${enable_local_transport+set}" = set; then :
   11212   enableval=$enable_local_transport; LOCALCONN=$enableval
   11213 else
   11214   LOCALCONN=$localdef
   11215 fi
   11216 
   11217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11218 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11220 $as_echo "$LOCALCONN" >&6; }
   11221  if test "$LOCALCONN" = "yes"; then
   11222 
   11223 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11224 
   11225  fi
   11226 
   11227 
   11228 
   11229 # Secure RPC detection macro from xtrans.m4
   11230 
   11231  # Check whether --enable-secure-rpc was given.
   11232 if test "${enable_secure_rpc+set}" = set; then :
   11233   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   11234 else
   11235   SECURE_RPC="try"
   11236 fi
   11237 
   11238 
   11239  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   11240 	FOUND_SECURE_RPC="no"
   11241 	for ac_func in authdes_seccreate authdes_create
   11242 do :
   11243   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11246   cat >>confdefs.h <<_ACEOF
   11247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11248 _ACEOF
   11249  FOUND_SECURE_RPC="yes"
   11250 fi
   11251 done
   11252 
   11253 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   11254 		if test "x$SECURE_RPC" = "xyes" ; then
   11255 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   11256 		fi
   11257 		SECURE_RPC="no"
   11258 	else
   11259 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   11260 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   11261 if ${ac_cv_search_getsecretkey+:} false; then :
   11262   $as_echo_n "(cached) " >&6
   11263 else
   11264   ac_func_search_save_LIBS=$LIBS
   11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11266 /* end confdefs.h.  */
   11267 
   11268 /* Override any GCC internal prototype to avoid an error.
   11269    Use char because int might match the return type of a GCC
   11270    builtin and then its argument prototype would still apply.  */
   11271 #ifdef __cplusplus
   11272 extern "C"
   11273 #endif
   11274 char getsecretkey ();
   11275 int
   11276 main ()
   11277 {
   11278 return getsecretkey ();
   11279   ;
   11280   return 0;
   11281 }
   11282 _ACEOF
   11283 for ac_lib in '' rpcsvc; do
   11284   if test -z "$ac_lib"; then
   11285     ac_res="none required"
   11286   else
   11287     ac_res=-l$ac_lib
   11288     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11289   fi
   11290   if ac_fn_c_try_link "$LINENO"; then :
   11291   ac_cv_search_getsecretkey=$ac_res
   11292 fi
   11293 rm -f core conftest.err conftest.$ac_objext \
   11294     conftest$ac_exeext
   11295   if ${ac_cv_search_getsecretkey+:} false; then :
   11296   break
   11297 fi
   11298 done
   11299 if ${ac_cv_search_getsecretkey+:} false; then :
   11300 
   11301 else
   11302   ac_cv_search_getsecretkey=no
   11303 fi
   11304 rm conftest.$ac_ext
   11305 LIBS=$ac_func_search_save_LIBS
   11306 fi
   11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   11308 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   11309 ac_res=$ac_cv_search_getsecretkey
   11310 if test "$ac_res" != no; then :
   11311   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11312 
   11313 fi
   11314 
   11315 		SECURE_RPC="yes"
   11316 	fi
   11317  fi
   11318  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   11319 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   11320  if test "x$SECURE_RPC" = "xyes" ; then
   11321 
   11322 $as_echo "#define SECURE_RPC 1" >>confdefs.h
   11323 
   11324  fi
   11325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   11326 $as_echo "$SECURE_RPC" >&6; }
   11327 
   11328 
   11329 # Link with winsock if mingw target
   11330 case $host_os in
   11331  *mingw*)
   11332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11333 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11334 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11335   $as_echo_n "(cached) " >&6
   11336 else
   11337   ac_check_lib_save_LIBS=$LIBS
   11338 LIBS="-lws2_32  $LIBS"
   11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11340 /* end confdefs.h.  */
   11341 
   11342 
   11343 int
   11344 main ()
   11345 {
   11346 return main ();
   11347   ;
   11348   return 0;
   11349 }
   11350 _ACEOF
   11351 if ac_fn_c_try_link "$LINENO"; then :
   11352   ac_cv_lib_ws2_32_main=yes
   11353 else
   11354   ac_cv_lib_ws2_32_main=no
   11355 fi
   11356 rm -f core conftest.err conftest.$ac_objext \
   11357     conftest$ac_exeext conftest.$ac_ext
   11358 LIBS=$ac_check_lib_save_LIBS
   11359 fi
   11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11361 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11362 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11363   cat >>confdefs.h <<_ACEOF
   11364 #define HAVE_LIBWS2_32 1
   11365 _ACEOF
   11366 
   11367   LIBS="-lws2_32 $LIBS"
   11368 
   11369 fi
   11370 
   11371   ;;
   11372  *)
   11373   ;;
   11374 esac
   11375 
   11376 ac_config_files="$ac_config_files Makefile man/Makefile"
   11377 
   11378 cat >confcache <<\_ACEOF
   11379 # This file is a shell script that caches the results of configure
   11380 # tests run on this system so they can be shared between configure
   11381 # scripts and configure runs, see configure's option --config-cache.
   11382 # It is not useful on other systems.  If it contains results you don't
   11383 # want to keep, you may remove or edit it.
   11384 #
   11385 # config.status only pays attention to the cache file if you give it
   11386 # the --recheck option to rerun configure.
   11387 #
   11388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11390 # following values.
   11391 
   11392 _ACEOF
   11393 
   11394 # The following way of writing the cache mishandles newlines in values,
   11395 # but we know of no workaround that is simple, portable, and efficient.
   11396 # So, we kill variables containing newlines.
   11397 # Ultrix sh set writes to stderr and can't be redirected directly,
   11398 # and sets the high bit in the cache file unless we assign to the vars.
   11399 (
   11400   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11401     eval ac_val=\$$ac_var
   11402     case $ac_val in #(
   11403     *${as_nl}*)
   11404       case $ac_var in #(
   11405       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11407       esac
   11408       case $ac_var in #(
   11409       _ | IFS | as_nl) ;; #(
   11410       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11411       *) { eval $ac_var=; unset $ac_var;} ;;
   11412       esac ;;
   11413     esac
   11414   done
   11415 
   11416   (set) 2>&1 |
   11417     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11418     *${as_nl}ac_space=\ *)
   11419       # `set' does not quote correctly, so add quotes: double-quote
   11420       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11421       sed -n \
   11422 	"s/'/'\\\\''/g;
   11423 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11424       ;; #(
   11425     *)
   11426       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11427       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11428       ;;
   11429     esac |
   11430     sort
   11431 ) |
   11432   sed '
   11433      /^ac_cv_env_/b end
   11434      t clear
   11435      :clear
   11436      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11437      t end
   11438      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11439      :end' >>confcache
   11440 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11441   if test -w "$cache_file"; then
   11442     if test "x$cache_file" != "x/dev/null"; then
   11443       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11444 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11445       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11446 	cat confcache >"$cache_file"
   11447       else
   11448         case $cache_file in #(
   11449         */* | ?:*)
   11450 	  mv -f confcache "$cache_file"$$ &&
   11451 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11452         *)
   11453 	  mv -f confcache "$cache_file" ;;
   11454 	esac
   11455       fi
   11456     fi
   11457   else
   11458     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11459 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11460   fi
   11461 fi
   11462 rm -f confcache
   11463 
   11464 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11465 # Let make expand exec_prefix.
   11466 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11467 
   11468 DEFS=-DHAVE_CONFIG_H
   11469 
   11470 ac_libobjs=
   11471 ac_ltlibobjs=
   11472 U=
   11473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11474   # 1. Remove the extension, and $U if already installed.
   11475   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11476   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11477   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11478   #    will be set to the directory where LIBOBJS objects are built.
   11479   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11480   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11481 done
   11482 LIBOBJS=$ac_libobjs
   11483 
   11484 LTLIBOBJS=$ac_ltlibobjs
   11485 
   11486 
   11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11488 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11489    if test -n "$am_sleep_pid"; then
   11490      # Hide warnings about reused PIDs.
   11491      wait $am_sleep_pid 2>/dev/null
   11492    fi
   11493    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11494 $as_echo "done" >&6; }
   11495  if test -n "$EXEEXT"; then
   11496   am__EXEEXT_TRUE=
   11497   am__EXEEXT_FALSE='#'
   11498 else
   11499   am__EXEEXT_TRUE='#'
   11500   am__EXEEXT_FALSE=
   11501 fi
   11502 
   11503 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11504   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11506 fi
   11507 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11508   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11510 fi
   11511 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11512   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11514 fi
   11515 
   11516 : "${CONFIG_STATUS=./config.status}"
   11517 ac_write_fail=0
   11518 ac_clean_files_save=$ac_clean_files
   11519 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11521 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11522 as_write_fail=0
   11523 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11524 #! $SHELL
   11525 # Generated by $as_me.
   11526 # Run this file to recreate the current configuration.
   11527 # Compiler output produced by configure, useful for debugging
   11528 # configure, is in config.log if it exists.
   11529 
   11530 debug=false
   11531 ac_cs_recheck=false
   11532 ac_cs_silent=false
   11533 
   11534 SHELL=\${CONFIG_SHELL-$SHELL}
   11535 export SHELL
   11536 _ASEOF
   11537 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11538 ## -------------------- ##
   11539 ## M4sh Initialization. ##
   11540 ## -------------------- ##
   11541 
   11542 # Be more Bourne compatible
   11543 DUALCASE=1; export DUALCASE # for MKS sh
   11544 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11545   emulate sh
   11546   NULLCMD=:
   11547   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11548   # is contrary to our usage.  Disable this feature.
   11549   alias -g '${1+"$@"}'='"$@"'
   11550   setopt NO_GLOB_SUBST
   11551 else
   11552   case `(set -o) 2>/dev/null` in #(
   11553   *posix*) :
   11554     set -o posix ;; #(
   11555   *) :
   11556      ;;
   11557 esac
   11558 fi
   11559 
   11560 
   11561 as_nl='
   11562 '
   11563 export as_nl
   11564 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11565 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11568 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11569 # but without wasting forks for bash or zsh.
   11570 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11571     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11572   as_echo='print -r --'
   11573   as_echo_n='print -rn --'
   11574 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11575   as_echo='printf %s\n'
   11576   as_echo_n='printf %s'
   11577 else
   11578   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11579     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11580     as_echo_n='/usr/ucb/echo -n'
   11581   else
   11582     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11583     as_echo_n_body='eval
   11584       arg=$1;
   11585       case $arg in #(
   11586       *"$as_nl"*)
   11587 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11588 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11589       esac;
   11590       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11591     '
   11592     export as_echo_n_body
   11593     as_echo_n='sh -c $as_echo_n_body as_echo'
   11594   fi
   11595   export as_echo_body
   11596   as_echo='sh -c $as_echo_body as_echo'
   11597 fi
   11598 
   11599 # The user is always right.
   11600 if test "${PATH_SEPARATOR+set}" != set; then
   11601   PATH_SEPARATOR=:
   11602   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11603     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11604       PATH_SEPARATOR=';'
   11605   }
   11606 fi
   11607 
   11608 
   11609 # IFS
   11610 # We need space, tab and new line, in precisely that order.  Quoting is
   11611 # there to prevent editors from complaining about space-tab.
   11612 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11613 # splitting by setting IFS to empty value.)
   11614 IFS=" ""	$as_nl"
   11615 
   11616 # Find who we are.  Look in the path if we contain no directory separator.
   11617 as_myself=
   11618 case $0 in #((
   11619   *[\\/]* ) as_myself=$0 ;;
   11620   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11621 for as_dir in $PATH
   11622 do
   11623   IFS=$as_save_IFS
   11624   test -z "$as_dir" && as_dir=.
   11625     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11626   done
   11627 IFS=$as_save_IFS
   11628 
   11629      ;;
   11630 esac
   11631 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11632 # in which case we are not to be found in the path.
   11633 if test "x$as_myself" = x; then
   11634   as_myself=$0
   11635 fi
   11636 if test ! -f "$as_myself"; then
   11637   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11638   exit 1
   11639 fi
   11640 
   11641 # Unset variables that we do not need and which cause bugs (e.g. in
   11642 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11643 # suppresses any "Segmentation fault" message there.  '((' could
   11644 # trigger a bug in pdksh 5.2.14.
   11645 for as_var in BASH_ENV ENV MAIL MAILPATH
   11646 do eval test x\${$as_var+set} = xset \
   11647   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11648 done
   11649 PS1='$ '
   11650 PS2='> '
   11651 PS4='+ '
   11652 
   11653 # NLS nuisances.
   11654 LC_ALL=C
   11655 export LC_ALL
   11656 LANGUAGE=C
   11657 export LANGUAGE
   11658 
   11659 # CDPATH.
   11660 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11661 
   11662 
   11663 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11664 # ----------------------------------------
   11665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11667 # script with STATUS, using 1 if that was 0.
   11668 as_fn_error ()
   11669 {
   11670   as_status=$1; test $as_status -eq 0 && as_status=1
   11671   if test "$4"; then
   11672     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11673     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11674   fi
   11675   $as_echo "$as_me: error: $2" >&2
   11676   as_fn_exit $as_status
   11677 } # as_fn_error
   11678 
   11679 
   11680 # as_fn_set_status STATUS
   11681 # -----------------------
   11682 # Set $? to STATUS, without forking.
   11683 as_fn_set_status ()
   11684 {
   11685   return $1
   11686 } # as_fn_set_status
   11687 
   11688 # as_fn_exit STATUS
   11689 # -----------------
   11690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11691 as_fn_exit ()
   11692 {
   11693   set +e
   11694   as_fn_set_status $1
   11695   exit $1
   11696 } # as_fn_exit
   11697 
   11698 # as_fn_unset VAR
   11699 # ---------------
   11700 # Portably unset VAR.
   11701 as_fn_unset ()
   11702 {
   11703   { eval $1=; unset $1;}
   11704 }
   11705 as_unset=as_fn_unset
   11706 # as_fn_append VAR VALUE
   11707 # ----------------------
   11708 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11709 # advantage of any shell optimizations that allow amortized linear growth over
   11710 # repeated appends, instead of the typical quadratic growth present in naive
   11711 # implementations.
   11712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11713   eval 'as_fn_append ()
   11714   {
   11715     eval $1+=\$2
   11716   }'
   11717 else
   11718   as_fn_append ()
   11719   {
   11720     eval $1=\$$1\$2
   11721   }
   11722 fi # as_fn_append
   11723 
   11724 # as_fn_arith ARG...
   11725 # ------------------
   11726 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11728 # must be portable across $(()) and expr.
   11729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11730   eval 'as_fn_arith ()
   11731   {
   11732     as_val=$(( $* ))
   11733   }'
   11734 else
   11735   as_fn_arith ()
   11736   {
   11737     as_val=`expr "$@" || test $? -eq 1`
   11738   }
   11739 fi # as_fn_arith
   11740 
   11741 
   11742 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11743    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11744   as_expr=expr
   11745 else
   11746   as_expr=false
   11747 fi
   11748 
   11749 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11750   as_basename=basename
   11751 else
   11752   as_basename=false
   11753 fi
   11754 
   11755 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11756   as_dirname=dirname
   11757 else
   11758   as_dirname=false
   11759 fi
   11760 
   11761 as_me=`$as_basename -- "$0" ||
   11762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11763 	 X"$0" : 'X\(//\)$' \| \
   11764 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11765 $as_echo X/"$0" |
   11766     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11767 	    s//\1/
   11768 	    q
   11769 	  }
   11770 	  /^X\/\(\/\/\)$/{
   11771 	    s//\1/
   11772 	    q
   11773 	  }
   11774 	  /^X\/\(\/\).*/{
   11775 	    s//\1/
   11776 	    q
   11777 	  }
   11778 	  s/.*/./; q'`
   11779 
   11780 # Avoid depending upon Character Ranges.
   11781 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11782 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11783 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11784 as_cr_digits='0123456789'
   11785 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11786 
   11787 ECHO_C= ECHO_N= ECHO_T=
   11788 case `echo -n x` in #(((((
   11789 -n*)
   11790   case `echo 'xy\c'` in
   11791   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11792   xy)  ECHO_C='\c';;
   11793   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11794        ECHO_T='	';;
   11795   esac;;
   11796 *)
   11797   ECHO_N='-n';;
   11798 esac
   11799 
   11800 rm -f conf$$ conf$$.exe conf$$.file
   11801 if test -d conf$$.dir; then
   11802   rm -f conf$$.dir/conf$$.file
   11803 else
   11804   rm -f conf$$.dir
   11805   mkdir conf$$.dir 2>/dev/null
   11806 fi
   11807 if (echo >conf$$.file) 2>/dev/null; then
   11808   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11809     as_ln_s='ln -s'
   11810     # ... but there are two gotchas:
   11811     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11812     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11813     # In both cases, we have to default to `cp -p'.
   11814     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11815       as_ln_s='cp -p'
   11816   elif ln conf$$.file conf$$ 2>/dev/null; then
   11817     as_ln_s=ln
   11818   else
   11819     as_ln_s='cp -p'
   11820   fi
   11821 else
   11822   as_ln_s='cp -p'
   11823 fi
   11824 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11825 rmdir conf$$.dir 2>/dev/null
   11826 
   11827 
   11828 # as_fn_mkdir_p
   11829 # -------------
   11830 # Create "$as_dir" as a directory, including parents if necessary.
   11831 as_fn_mkdir_p ()
   11832 {
   11833 
   11834   case $as_dir in #(
   11835   -*) as_dir=./$as_dir;;
   11836   esac
   11837   test -d "$as_dir" || eval $as_mkdir_p || {
   11838     as_dirs=
   11839     while :; do
   11840       case $as_dir in #(
   11841       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11842       *) as_qdir=$as_dir;;
   11843       esac
   11844       as_dirs="'$as_qdir' $as_dirs"
   11845       as_dir=`$as_dirname -- "$as_dir" ||
   11846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11847 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11848 	 X"$as_dir" : 'X\(//\)$' \| \
   11849 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11850 $as_echo X"$as_dir" |
   11851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11852 	    s//\1/
   11853 	    q
   11854 	  }
   11855 	  /^X\(\/\/\)[^/].*/{
   11856 	    s//\1/
   11857 	    q
   11858 	  }
   11859 	  /^X\(\/\/\)$/{
   11860 	    s//\1/
   11861 	    q
   11862 	  }
   11863 	  /^X\(\/\).*/{
   11864 	    s//\1/
   11865 	    q
   11866 	  }
   11867 	  s/.*/./; q'`
   11868       test -d "$as_dir" && break
   11869     done
   11870     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11871   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11872 
   11873 
   11874 } # as_fn_mkdir_p
   11875 if mkdir -p . 2>/dev/null; then
   11876   as_mkdir_p='mkdir -p "$as_dir"'
   11877 else
   11878   test -d ./-p && rmdir ./-p
   11879   as_mkdir_p=false
   11880 fi
   11881 
   11882 if test -x / >/dev/null 2>&1; then
   11883   as_test_x='test -x'
   11884 else
   11885   if ls -dL / >/dev/null 2>&1; then
   11886     as_ls_L_option=L
   11887   else
   11888     as_ls_L_option=
   11889   fi
   11890   as_test_x='
   11891     eval sh -c '\''
   11892       if test -d "$1"; then
   11893 	test -d "$1/.";
   11894       else
   11895 	case $1 in #(
   11896 	-*)set "./$1";;
   11897 	esac;
   11898 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11899 	???[sx]*):;;*)false;;esac;fi
   11900     '\'' sh
   11901   '
   11902 fi
   11903 as_executable_p=$as_test_x
   11904 
   11905 # Sed expression to map a string onto a valid CPP name.
   11906 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11907 
   11908 # Sed expression to map a string onto a valid variable name.
   11909 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11910 
   11911 
   11912 exec 6>&1
   11913 ## ----------------------------------- ##
   11914 ## Main body of $CONFIG_STATUS script. ##
   11915 ## ----------------------------------- ##
   11916 _ASEOF
   11917 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11918 
   11919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11920 # Save the log message, to keep $0 and so on meaningful, and to
   11921 # report actual input values of CONFIG_FILES etc. instead of their
   11922 # values after options handling.
   11923 ac_log="
   11924 This file was extended by xhost $as_me 1.0.6, which was
   11925 generated by GNU Autoconf 2.68.  Invocation command line was
   11926 
   11927   CONFIG_FILES    = $CONFIG_FILES
   11928   CONFIG_HEADERS  = $CONFIG_HEADERS
   11929   CONFIG_LINKS    = $CONFIG_LINKS
   11930   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11931   $ $0 $@
   11932 
   11933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11934 "
   11935 
   11936 _ACEOF
   11937 
   11938 case $ac_config_files in *"
   11939 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11940 esac
   11941 
   11942 case $ac_config_headers in *"
   11943 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11944 esac
   11945 
   11946 
   11947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11948 # Files that config.status was made for.
   11949 config_files="$ac_config_files"
   11950 config_headers="$ac_config_headers"
   11951 config_commands="$ac_config_commands"
   11952 
   11953 _ACEOF
   11954 
   11955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11956 ac_cs_usage="\
   11957 \`$as_me' instantiates files and other configuration actions
   11958 from templates according to the current configuration.  Unless the files
   11959 and actions are specified as TAGs, all are instantiated by default.
   11960 
   11961 Usage: $0 [OPTION]... [TAG]...
   11962 
   11963   -h, --help       print this help, then exit
   11964   -V, --version    print version number and configuration settings, then exit
   11965       --config     print configuration, then exit
   11966   -q, --quiet, --silent
   11967                    do not print progress messages
   11968   -d, --debug      don't remove temporary files
   11969       --recheck    update $as_me by reconfiguring in the same conditions
   11970       --file=FILE[:TEMPLATE]
   11971                    instantiate the configuration file FILE
   11972       --header=FILE[:TEMPLATE]
   11973                    instantiate the configuration header FILE
   11974 
   11975 Configuration files:
   11976 $config_files
   11977 
   11978 Configuration headers:
   11979 $config_headers
   11980 
   11981 Configuration commands:
   11982 $config_commands
   11983 
   11984 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11985 
   11986 _ACEOF
   11987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11988 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11989 ac_cs_version="\\
   11990 xhost config.status 1.0.6
   11991 configured by $0, generated by GNU Autoconf 2.68,
   11992   with options \\"\$ac_cs_config\\"
   11993 
   11994 Copyright (C) 2010 Free Software Foundation, Inc.
   11995 This config.status script is free software; the Free Software Foundation
   11996 gives unlimited permission to copy, distribute and modify it."
   11997 
   11998 ac_pwd='$ac_pwd'
   11999 srcdir='$srcdir'
   12000 INSTALL='$INSTALL'
   12001 MKDIR_P='$MKDIR_P'
   12002 AWK='$AWK'
   12003 test -n "\$AWK" || AWK=awk
   12004 _ACEOF
   12005 
   12006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12007 # The default lists apply if the user does not specify any file.
   12008 ac_need_defaults=:
   12009 while test $# != 0
   12010 do
   12011   case $1 in
   12012   --*=?*)
   12013     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12014     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12015     ac_shift=:
   12016     ;;
   12017   --*=)
   12018     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12019     ac_optarg=
   12020     ac_shift=:
   12021     ;;
   12022   *)
   12023     ac_option=$1
   12024     ac_optarg=$2
   12025     ac_shift=shift
   12026     ;;
   12027   esac
   12028 
   12029   case $ac_option in
   12030   # Handling of the options.
   12031   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12032     ac_cs_recheck=: ;;
   12033   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12034     $as_echo "$ac_cs_version"; exit ;;
   12035   --config | --confi | --conf | --con | --co | --c )
   12036     $as_echo "$ac_cs_config"; exit ;;
   12037   --debug | --debu | --deb | --de | --d | -d )
   12038     debug=: ;;
   12039   --file | --fil | --fi | --f )
   12040     $ac_shift
   12041     case $ac_optarg in
   12042     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12043     '') as_fn_error $? "missing file argument" ;;
   12044     esac
   12045     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12046     ac_need_defaults=false;;
   12047   --header | --heade | --head | --hea )
   12048     $ac_shift
   12049     case $ac_optarg in
   12050     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12051     esac
   12052     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12053     ac_need_defaults=false;;
   12054   --he | --h)
   12055     # Conflict between --help and --header
   12056     as_fn_error $? "ambiguous option: \`$1'
   12057 Try \`$0 --help' for more information.";;
   12058   --help | --hel | -h )
   12059     $as_echo "$ac_cs_usage"; exit ;;
   12060   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12061   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12062     ac_cs_silent=: ;;
   12063 
   12064   # This is an error.
   12065   -*) as_fn_error $? "unrecognized option: \`$1'
   12066 Try \`$0 --help' for more information." ;;
   12067 
   12068   *) as_fn_append ac_config_targets " $1"
   12069      ac_need_defaults=false ;;
   12070 
   12071   esac
   12072   shift
   12073 done
   12074 
   12075 ac_configure_extra_args=
   12076 
   12077 if $ac_cs_silent; then
   12078   exec 6>/dev/null
   12079   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12080 fi
   12081 
   12082 _ACEOF
   12083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12084 if \$ac_cs_recheck; then
   12085   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12086   shift
   12087   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12088   CONFIG_SHELL='$SHELL'
   12089   export CONFIG_SHELL
   12090   exec "\$@"
   12091 fi
   12092 
   12093 _ACEOF
   12094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12095 exec 5>>config.log
   12096 {
   12097   echo
   12098   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12099 ## Running $as_me. ##
   12100 _ASBOX
   12101   $as_echo "$ac_log"
   12102 } >&5
   12103 
   12104 _ACEOF
   12105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12106 #
   12107 # INIT-COMMANDS
   12108 #
   12109 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12110 
   12111 _ACEOF
   12112 
   12113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12114 
   12115 # Handling of arguments.
   12116 for ac_config_target in $ac_config_targets
   12117 do
   12118   case $ac_config_target in
   12119     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12120     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12121     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12122     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12123 
   12124   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12125   esac
   12126 done
   12127 
   12128 
   12129 # If the user did not use the arguments to specify the items to instantiate,
   12130 # then the envvar interface is used.  Set only those that are not.
   12131 # We use the long form for the default assignment because of an extremely
   12132 # bizarre bug on SunOS 4.1.3.
   12133 if $ac_need_defaults; then
   12134   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12135   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12136   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12137 fi
   12138 
   12139 # Have a temporary directory for convenience.  Make it in the build tree
   12140 # simply because there is no reason against having it here, and in addition,
   12141 # creating and moving files from /tmp can sometimes cause problems.
   12142 # Hook for its removal unless debugging.
   12143 # Note that there is a small window in which the directory will not be cleaned:
   12144 # after its creation but before its name has been assigned to `$tmp'.
   12145 $debug ||
   12146 {
   12147   tmp= ac_tmp=
   12148   trap 'exit_status=$?
   12149   : "${ac_tmp:=$tmp}"
   12150   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12151 ' 0
   12152   trap 'as_fn_exit 1' 1 2 13 15
   12153 }
   12154 # Create a (secure) tmp directory for tmp files.
   12155 
   12156 {
   12157   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12158   test -d "$tmp"
   12159 }  ||
   12160 {
   12161   tmp=./conf$$-$RANDOM
   12162   (umask 077 && mkdir "$tmp")
   12163 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12164 ac_tmp=$tmp
   12165 
   12166 # Set up the scripts for CONFIG_FILES section.
   12167 # No need to generate them if there are no CONFIG_FILES.
   12168 # This happens for instance with `./config.status config.h'.
   12169 if test -n "$CONFIG_FILES"; then
   12170 
   12171 
   12172 ac_cr=`echo X | tr X '\015'`
   12173 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12174 # But we know of no other shell where ac_cr would be empty at this
   12175 # point, so we can use a bashism as a fallback.
   12176 if test "x$ac_cr" = x; then
   12177   eval ac_cr=\$\'\\r\'
   12178 fi
   12179 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12180 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12181   ac_cs_awk_cr='\\r'
   12182 else
   12183   ac_cs_awk_cr=$ac_cr
   12184 fi
   12185 
   12186 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12187 _ACEOF
   12188 
   12189 
   12190 {
   12191   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12192   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12193   echo "_ACEOF"
   12194 } >conf$$subs.sh ||
   12195   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12196 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12197 ac_delim='%!_!# '
   12198 for ac_last_try in false false false false false :; do
   12199   . ./conf$$subs.sh ||
   12200     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12201 
   12202   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12203   if test $ac_delim_n = $ac_delim_num; then
   12204     break
   12205   elif $ac_last_try; then
   12206     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12207   else
   12208     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12209   fi
   12210 done
   12211 rm -f conf$$subs.sh
   12212 
   12213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12214 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12215 _ACEOF
   12216 sed -n '
   12217 h
   12218 s/^/S["/; s/!.*/"]=/
   12219 p
   12220 g
   12221 s/^[^!]*!//
   12222 :repl
   12223 t repl
   12224 s/'"$ac_delim"'$//
   12225 t delim
   12226 :nl
   12227 h
   12228 s/\(.\{148\}\)..*/\1/
   12229 t more1
   12230 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12231 p
   12232 n
   12233 b repl
   12234 :more1
   12235 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12236 p
   12237 g
   12238 s/.\{148\}//
   12239 t nl
   12240 :delim
   12241 h
   12242 s/\(.\{148\}\)..*/\1/
   12243 t more2
   12244 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12245 p
   12246 b
   12247 :more2
   12248 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12249 p
   12250 g
   12251 s/.\{148\}//
   12252 t delim
   12253 ' <conf$$subs.awk | sed '
   12254 /^[^""]/{
   12255   N
   12256   s/\n//
   12257 }
   12258 ' >>$CONFIG_STATUS || ac_write_fail=1
   12259 rm -f conf$$subs.awk
   12260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12261 _ACAWK
   12262 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12263   for (key in S) S_is_set[key] = 1
   12264   FS = ""
   12265 
   12266 }
   12267 {
   12268   line = $ 0
   12269   nfields = split(line, field, "@")
   12270   substed = 0
   12271   len = length(field[1])
   12272   for (i = 2; i < nfields; i++) {
   12273     key = field[i]
   12274     keylen = length(key)
   12275     if (S_is_set[key]) {
   12276       value = S[key]
   12277       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12278       len += length(value) + length(field[++i])
   12279       substed = 1
   12280     } else
   12281       len += 1 + keylen
   12282   }
   12283 
   12284   print line
   12285 }
   12286 
   12287 _ACAWK
   12288 _ACEOF
   12289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12290 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12291   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12292 else
   12293   cat
   12294 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12295   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12296 _ACEOF
   12297 
   12298 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12299 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12300 # trailing colons and then remove the whole line if VPATH becomes empty
   12301 # (actually we leave an empty line to preserve line numbers).
   12302 if test "x$srcdir" = x.; then
   12303   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12304 h
   12305 s///
   12306 s/^/:/
   12307 s/[	 ]*$/:/
   12308 s/:\$(srcdir):/:/g
   12309 s/:\${srcdir}:/:/g
   12310 s/:@srcdir@:/:/g
   12311 s/^:*//
   12312 s/:*$//
   12313 x
   12314 s/\(=[	 ]*\).*/\1/
   12315 G
   12316 s/\n//
   12317 s/^[^=]*=[	 ]*$//
   12318 }'
   12319 fi
   12320 
   12321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12322 fi # test -n "$CONFIG_FILES"
   12323 
   12324 # Set up the scripts for CONFIG_HEADERS section.
   12325 # No need to generate them if there are no CONFIG_HEADERS.
   12326 # This happens for instance with `./config.status Makefile'.
   12327 if test -n "$CONFIG_HEADERS"; then
   12328 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12329 BEGIN {
   12330 _ACEOF
   12331 
   12332 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12333 # here-document in config.status, that substitutes the proper values into
   12334 # config.h.in to produce config.h.
   12335 
   12336 # Create a delimiter string that does not exist in confdefs.h, to ease
   12337 # handling of long lines.
   12338 ac_delim='%!_!# '
   12339 for ac_last_try in false false :; do
   12340   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12341   if test -z "$ac_tt"; then
   12342     break
   12343   elif $ac_last_try; then
   12344     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12345   else
   12346     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12347   fi
   12348 done
   12349 
   12350 # For the awk script, D is an array of macro values keyed by name,
   12351 # likewise P contains macro parameters if any.  Preserve backslash
   12352 # newline sequences.
   12353 
   12354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12355 sed -n '
   12356 s/.\{148\}/&'"$ac_delim"'/g
   12357 t rset
   12358 :rset
   12359 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12360 t def
   12361 d
   12362 :def
   12363 s/\\$//
   12364 t bsnl
   12365 s/["\\]/\\&/g
   12366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12367 D["\1"]=" \3"/p
   12368 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12369 d
   12370 :bsnl
   12371 s/["\\]/\\&/g
   12372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12373 D["\1"]=" \3\\\\\\n"\\/p
   12374 t cont
   12375 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12376 t cont
   12377 d
   12378 :cont
   12379 n
   12380 s/.\{148\}/&'"$ac_delim"'/g
   12381 t clear
   12382 :clear
   12383 s/\\$//
   12384 t bsnlc
   12385 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12386 d
   12387 :bsnlc
   12388 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12389 b cont
   12390 ' <confdefs.h | sed '
   12391 s/'"$ac_delim"'/"\\\
   12392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12393 
   12394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12395   for (key in D) D_is_set[key] = 1
   12396   FS = ""
   12397 }
   12398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12399   line = \$ 0
   12400   split(line, arg, " ")
   12401   if (arg[1] == "#") {
   12402     defundef = arg[2]
   12403     mac1 = arg[3]
   12404   } else {
   12405     defundef = substr(arg[1], 2)
   12406     mac1 = arg[2]
   12407   }
   12408   split(mac1, mac2, "(") #)
   12409   macro = mac2[1]
   12410   prefix = substr(line, 1, index(line, defundef) - 1)
   12411   if (D_is_set[macro]) {
   12412     # Preserve the white space surrounding the "#".
   12413     print prefix "define", macro P[macro] D[macro]
   12414     next
   12415   } else {
   12416     # Replace #undef with comments.  This is necessary, for example,
   12417     # in the case of _POSIX_SOURCE, which is predefined and required
   12418     # on some systems where configure will not decide to define it.
   12419     if (defundef == "undef") {
   12420       print "/*", prefix defundef, macro, "*/"
   12421       next
   12422     }
   12423   }
   12424 }
   12425 { print }
   12426 _ACAWK
   12427 _ACEOF
   12428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12429   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12430 fi # test -n "$CONFIG_HEADERS"
   12431 
   12432 
   12433 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12434 shift
   12435 for ac_tag
   12436 do
   12437   case $ac_tag in
   12438   :[FHLC]) ac_mode=$ac_tag; continue;;
   12439   esac
   12440   case $ac_mode$ac_tag in
   12441   :[FHL]*:*);;
   12442   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12443   :[FH]-) ac_tag=-:-;;
   12444   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12445   esac
   12446   ac_save_IFS=$IFS
   12447   IFS=:
   12448   set x $ac_tag
   12449   IFS=$ac_save_IFS
   12450   shift
   12451   ac_file=$1
   12452   shift
   12453 
   12454   case $ac_mode in
   12455   :L) ac_source=$1;;
   12456   :[FH])
   12457     ac_file_inputs=
   12458     for ac_f
   12459     do
   12460       case $ac_f in
   12461       -) ac_f="$ac_tmp/stdin";;
   12462       *) # Look for the file first in the build tree, then in the source tree
   12463 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12464 	 # because $ac_f cannot contain `:'.
   12465 	 test -f "$ac_f" ||
   12466 	   case $ac_f in
   12467 	   [\\/$]*) false;;
   12468 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12469 	   esac ||
   12470 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12471       esac
   12472       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12473       as_fn_append ac_file_inputs " '$ac_f'"
   12474     done
   12475 
   12476     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12477     # use $as_me), people would be surprised to read:
   12478     #    /* config.h.  Generated by config.status.  */
   12479     configure_input='Generated from '`
   12480 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12481 	`' by configure.'
   12482     if test x"$ac_file" != x-; then
   12483       configure_input="$ac_file.  $configure_input"
   12484       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12485 $as_echo "$as_me: creating $ac_file" >&6;}
   12486     fi
   12487     # Neutralize special characters interpreted by sed in replacement strings.
   12488     case $configure_input in #(
   12489     *\&* | *\|* | *\\* )
   12490        ac_sed_conf_input=`$as_echo "$configure_input" |
   12491        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12492     *) ac_sed_conf_input=$configure_input;;
   12493     esac
   12494 
   12495     case $ac_tag in
   12496     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12497       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12498     esac
   12499     ;;
   12500   esac
   12501 
   12502   ac_dir=`$as_dirname -- "$ac_file" ||
   12503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12504 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12505 	 X"$ac_file" : 'X\(//\)$' \| \
   12506 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12507 $as_echo X"$ac_file" |
   12508     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12509 	    s//\1/
   12510 	    q
   12511 	  }
   12512 	  /^X\(\/\/\)[^/].*/{
   12513 	    s//\1/
   12514 	    q
   12515 	  }
   12516 	  /^X\(\/\/\)$/{
   12517 	    s//\1/
   12518 	    q
   12519 	  }
   12520 	  /^X\(\/\).*/{
   12521 	    s//\1/
   12522 	    q
   12523 	  }
   12524 	  s/.*/./; q'`
   12525   as_dir="$ac_dir"; as_fn_mkdir_p
   12526   ac_builddir=.
   12527 
   12528 case "$ac_dir" in
   12529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12530 *)
   12531   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12532   # A ".." for each directory in $ac_dir_suffix.
   12533   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12534   case $ac_top_builddir_sub in
   12535   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12536   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12537   esac ;;
   12538 esac
   12539 ac_abs_top_builddir=$ac_pwd
   12540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12541 # for backward compatibility:
   12542 ac_top_builddir=$ac_top_build_prefix
   12543 
   12544 case $srcdir in
   12545   .)  # We are building in place.
   12546     ac_srcdir=.
   12547     ac_top_srcdir=$ac_top_builddir_sub
   12548     ac_abs_top_srcdir=$ac_pwd ;;
   12549   [\\/]* | ?:[\\/]* )  # Absolute name.
   12550     ac_srcdir=$srcdir$ac_dir_suffix;
   12551     ac_top_srcdir=$srcdir
   12552     ac_abs_top_srcdir=$srcdir ;;
   12553   *) # Relative name.
   12554     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12555     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12556     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12557 esac
   12558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12559 
   12560 
   12561   case $ac_mode in
   12562   :F)
   12563   #
   12564   # CONFIG_FILE
   12565   #
   12566 
   12567   case $INSTALL in
   12568   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12569   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12570   esac
   12571   ac_MKDIR_P=$MKDIR_P
   12572   case $MKDIR_P in
   12573   [\\/$]* | ?:[\\/]* ) ;;
   12574   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12575   esac
   12576 _ACEOF
   12577 
   12578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12579 # If the template does not know about datarootdir, expand it.
   12580 # FIXME: This hack should be removed a few years after 2.60.
   12581 ac_datarootdir_hack=; ac_datarootdir_seen=
   12582 ac_sed_dataroot='
   12583 /datarootdir/ {
   12584   p
   12585   q
   12586 }
   12587 /@datadir@/p
   12588 /@docdir@/p
   12589 /@infodir@/p
   12590 /@localedir@/p
   12591 /@mandir@/p'
   12592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12593 *datarootdir*) ac_datarootdir_seen=yes;;
   12594 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12595   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12597 _ACEOF
   12598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12599   ac_datarootdir_hack='
   12600   s&@datadir@&$datadir&g
   12601   s&@docdir@&$docdir&g
   12602   s&@infodir@&$infodir&g
   12603   s&@localedir@&$localedir&g
   12604   s&@mandir@&$mandir&g
   12605   s&\\\${datarootdir}&$datarootdir&g' ;;
   12606 esac
   12607 _ACEOF
   12608 
   12609 # Neutralize VPATH when `$srcdir' = `.'.
   12610 # Shell code in configure.ac might set extrasub.
   12611 # FIXME: do we really want to maintain this feature?
   12612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12613 ac_sed_extra="$ac_vpsub
   12614 $extrasub
   12615 _ACEOF
   12616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12617 :t
   12618 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12619 s|@configure_input@|$ac_sed_conf_input|;t t
   12620 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12621 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12622 s&@srcdir@&$ac_srcdir&;t t
   12623 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12624 s&@top_srcdir@&$ac_top_srcdir&;t t
   12625 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12626 s&@builddir@&$ac_builddir&;t t
   12627 s&@abs_builddir@&$ac_abs_builddir&;t t
   12628 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12629 s&@INSTALL@&$ac_INSTALL&;t t
   12630 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12631 $ac_datarootdir_hack
   12632 "
   12633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12634   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12635 
   12636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12637   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12638   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12639       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12640   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12641 which seems to be undefined.  Please make sure it is defined" >&5
   12642 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12643 which seems to be undefined.  Please make sure it is defined" >&2;}
   12644 
   12645   rm -f "$ac_tmp/stdin"
   12646   case $ac_file in
   12647   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12648   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12649   esac \
   12650   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12651  ;;
   12652   :H)
   12653   #
   12654   # CONFIG_HEADER
   12655   #
   12656   if test x"$ac_file" != x-; then
   12657     {
   12658       $as_echo "/* $configure_input  */" \
   12659       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12660     } >"$ac_tmp/config.h" \
   12661       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12662     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12663       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12664 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12665     else
   12666       rm -f "$ac_file"
   12667       mv "$ac_tmp/config.h" "$ac_file" \
   12668 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12669     fi
   12670   else
   12671     $as_echo "/* $configure_input  */" \
   12672       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12673       || as_fn_error $? "could not create -" "$LINENO" 5
   12674   fi
   12675 # Compute "$ac_file"'s index in $config_headers.
   12676 _am_arg="$ac_file"
   12677 _am_stamp_count=1
   12678 for _am_header in $config_headers :; do
   12679   case $_am_header in
   12680     $_am_arg | $_am_arg:* )
   12681       break ;;
   12682     * )
   12683       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12684   esac
   12685 done
   12686 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12687 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12688 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12689 	 X"$_am_arg" : 'X\(//\)$' \| \
   12690 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12691 $as_echo X"$_am_arg" |
   12692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12693 	    s//\1/
   12694 	    q
   12695 	  }
   12696 	  /^X\(\/\/\)[^/].*/{
   12697 	    s//\1/
   12698 	    q
   12699 	  }
   12700 	  /^X\(\/\/\)$/{
   12701 	    s//\1/
   12702 	    q
   12703 	  }
   12704 	  /^X\(\/\).*/{
   12705 	    s//\1/
   12706 	    q
   12707 	  }
   12708 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12709  ;;
   12710 
   12711   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12712 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12713  ;;
   12714   esac
   12715 
   12716 
   12717   case $ac_file$ac_mode in
   12718     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12719   # Older Autoconf quotes --file arguments for eval, but not when files
   12720   # are listed without --file.  Let's play safe and only enable the eval
   12721   # if we detect the quoting.
   12722   case $CONFIG_FILES in
   12723   *\'*) eval set x "$CONFIG_FILES" ;;
   12724   *)   set x $CONFIG_FILES ;;
   12725   esac
   12726   shift
   12727   for mf
   12728   do
   12729     # Strip MF so we end up with the name of the file.
   12730     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12731     # Check whether this is an Automake generated Makefile or not.
   12732     # We used to match only the files named 'Makefile.in', but
   12733     # some people rename them; so instead we look at the file content.
   12734     # Grep'ing the first line is not enough: some people post-process
   12735     # each Makefile.in and add a new line on top of each file to say so.
   12736     # Grep'ing the whole file is not good either: AIX grep has a line
   12737     # limit of 2048, but all sed's we know have understand at least 4000.
   12738     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12739       dirpart=`$as_dirname -- "$mf" ||
   12740 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12741 	 X"$mf" : 'X\(//\)[^/]' \| \
   12742 	 X"$mf" : 'X\(//\)$' \| \
   12743 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12744 $as_echo X"$mf" |
   12745     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12746 	    s//\1/
   12747 	    q
   12748 	  }
   12749 	  /^X\(\/\/\)[^/].*/{
   12750 	    s//\1/
   12751 	    q
   12752 	  }
   12753 	  /^X\(\/\/\)$/{
   12754 	    s//\1/
   12755 	    q
   12756 	  }
   12757 	  /^X\(\/\).*/{
   12758 	    s//\1/
   12759 	    q
   12760 	  }
   12761 	  s/.*/./; q'`
   12762     else
   12763       continue
   12764     fi
   12765     # Extract the definition of DEPDIR, am__include, and am__quote
   12766     # from the Makefile without running 'make'.
   12767     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12768     test -z "$DEPDIR" && continue
   12769     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12770     test -z "$am__include" && continue
   12771     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12772     # Find all dependency output files, they are included files with
   12773     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12774     # simplest approach to changing $(DEPDIR) to its actual value in the
   12775     # expansion.
   12776     for file in `sed -n "
   12777       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12778 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12779       # Make sure the directory exists.
   12780       test -f "$dirpart/$file" && continue
   12781       fdir=`$as_dirname -- "$file" ||
   12782 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12783 	 X"$file" : 'X\(//\)[^/]' \| \
   12784 	 X"$file" : 'X\(//\)$' \| \
   12785 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12786 $as_echo X"$file" |
   12787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12788 	    s//\1/
   12789 	    q
   12790 	  }
   12791 	  /^X\(\/\/\)[^/].*/{
   12792 	    s//\1/
   12793 	    q
   12794 	  }
   12795 	  /^X\(\/\/\)$/{
   12796 	    s//\1/
   12797 	    q
   12798 	  }
   12799 	  /^X\(\/\).*/{
   12800 	    s//\1/
   12801 	    q
   12802 	  }
   12803 	  s/.*/./; q'`
   12804       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12805       # echo "creating $dirpart/$file"
   12806       echo '# dummy' > "$dirpart/$file"
   12807     done
   12808   done
   12809 }
   12810  ;;
   12811 
   12812   esac
   12813 done # for ac_tag
   12814 
   12815 
   12816 as_fn_exit 0
   12817 _ACEOF
   12818 ac_clean_files=$ac_clean_files_save
   12819 
   12820 test $ac_write_fail = 0 ||
   12821   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12822 
   12823 
   12824 # configure is writing to config.log, and then calls config.status.
   12825 # config.status does its own redirection, appending to config.log.
   12826 # Unfortunately, on DOS this fails, as config.log is still kept open
   12827 # by configure, so config.status won't be able to write to it; its
   12828 # output is simply discarded.  So we exec the FD to /dev/null,
   12829 # effectively closing config.log, so it can be properly (re)opened and
   12830 # appended to by config.status.  When coming back to configure, we
   12831 # need to make the FD available again.
   12832 if test "$no_create" != yes; then
   12833   ac_cs_success=:
   12834   ac_config_status_args=
   12835   test "$silent" = yes &&
   12836     ac_config_status_args="$ac_config_status_args --quiet"
   12837   exec 5>/dev/null
   12838   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12839   exec 5>>config.log
   12840   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12841   # would make configure fail if this is the last instruction.
   12842   $ac_cs_success || as_fn_exit 1
   12843 fi
   12844 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12845   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12846 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12847 fi
   12848 
   12849