Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xkill 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xkill'
    563 PACKAGE_TARNAME='xkill'
    564 PACKAGE_VERSION='1.0.4'
    565 PACKAGE_STRING='xkill 1.0.4'
    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 XKILL_LIBS
    611 XKILL_CFLAGS
    612 MAN_SUBSTS
    613 XORG_MAN_PAGE
    614 ADMIN_MAN_DIR
    615 DRIVER_MAN_DIR
    616 MISC_MAN_DIR
    617 FILE_MAN_DIR
    618 LIB_MAN_DIR
    619 APP_MAN_DIR
    620 ADMIN_MAN_SUFFIX
    621 DRIVER_MAN_SUFFIX
    622 MISC_MAN_SUFFIX
    623 FILE_MAN_SUFFIX
    624 LIB_MAN_SUFFIX
    625 APP_MAN_SUFFIX
    626 SED
    627 host_os
    628 host_vendor
    629 host_cpu
    630 host
    631 build_os
    632 build_vendor
    633 build_cpu
    634 build
    635 INSTALL_CMD
    636 PKG_CONFIG
    637 CHANGELOG_CMD
    638 STRICT_CFLAGS
    639 CWARNFLAGS
    640 BASE_CFLAGS
    641 EGREP
    642 GREP
    643 CPP
    644 am__fastdepCC_FALSE
    645 am__fastdepCC_TRUE
    646 CCDEPMODE
    647 am__nodep
    648 AMDEPBACKSLASH
    649 AMDEP_FALSE
    650 AMDEP_TRUE
    651 am__quote
    652 am__include
    653 DEPDIR
    654 OBJEXT
    655 EXEEXT
    656 ac_ct_CC
    657 CPPFLAGS
    658 LDFLAGS
    659 CFLAGS
    660 CC
    661 MAINT
    662 MAINTAINER_MODE_FALSE
    663 MAINTAINER_MODE_TRUE
    664 AM_BACKSLASH
    665 AM_DEFAULT_VERBOSITY
    666 AM_DEFAULT_V
    667 AM_V
    668 am__untar
    669 am__tar
    670 AMTAR
    671 am__leading_dot
    672 SET_MAKE
    673 AWK
    674 mkdir_p
    675 MKDIR_P
    676 INSTALL_STRIP_PROGRAM
    677 STRIP
    678 install_sh
    679 MAKEINFO
    680 AUTOHEADER
    681 AUTOMAKE
    682 AUTOCONF
    683 ACLOCAL
    684 VERSION
    685 PACKAGE
    686 CYGPATH_W
    687 am__isrc
    688 INSTALL_DATA
    689 INSTALL_SCRIPT
    690 INSTALL_PROGRAM
    691 target_alias
    692 host_alias
    693 build_alias
    694 LIBS
    695 ECHO_T
    696 ECHO_N
    697 ECHO_C
    698 DEFS
    699 mandir
    700 localedir
    701 libdir
    702 psdir
    703 pdfdir
    704 dvidir
    705 htmldir
    706 infodir
    707 docdir
    708 oldincludedir
    709 includedir
    710 localstatedir
    711 sharedstatedir
    712 sysconfdir
    713 datadir
    714 datarootdir
    715 libexecdir
    716 sbindir
    717 bindir
    718 program_transform_name
    719 prefix
    720 exec_prefix
    721 PACKAGE_URL
    722 PACKAGE_BUGREPORT
    723 PACKAGE_STRING
    724 PACKAGE_VERSION
    725 PACKAGE_TARNAME
    726 PACKAGE_NAME
    727 PATH_SEPARATOR
    728 SHELL'
    729 ac_subst_files=''
    730 ac_user_opts='
    731 enable_option_checking
    732 enable_silent_rules
    733 enable_maintainer_mode
    734 enable_dependency_tracking
    735 enable_selective_werror
    736 enable_strict_compilation
    737 '
    738       ac_precious_vars='build_alias
    739 host_alias
    740 target_alias
    741 CC
    742 CFLAGS
    743 LDFLAGS
    744 LIBS
    745 CPPFLAGS
    746 CPP
    747 PKG_CONFIG
    748 XKILL_CFLAGS
    749 XKILL_LIBS'
    750 
    751 
    752 # Initialize some variables set by options.
    753 ac_init_help=
    754 ac_init_version=false
    755 ac_unrecognized_opts=
    756 ac_unrecognized_sep=
    757 # The variables have the same names as the options, with
    758 # dashes changed to underlines.
    759 cache_file=/dev/null
    760 exec_prefix=NONE
    761 no_create=
    762 no_recursion=
    763 prefix=NONE
    764 program_prefix=NONE
    765 program_suffix=NONE
    766 program_transform_name=s,x,x,
    767 silent=
    768 site=
    769 srcdir=
    770 verbose=
    771 x_includes=NONE
    772 x_libraries=NONE
    773 
    774 # Installation directory options.
    775 # These are left unexpanded so users can "make install exec_prefix=/foo"
    776 # and all the variables that are supposed to be based on exec_prefix
    777 # by default will actually change.
    778 # Use braces instead of parens because sh, perl, etc. also accept them.
    779 # (The list follows the same order as the GNU Coding Standards.)
    780 bindir='${exec_prefix}/bin'
    781 sbindir='${exec_prefix}/sbin'
    782 libexecdir='${exec_prefix}/libexec'
    783 datarootdir='${prefix}/share'
    784 datadir='${datarootdir}'
    785 sysconfdir='${prefix}/etc'
    786 sharedstatedir='${prefix}/com'
    787 localstatedir='${prefix}/var'
    788 includedir='${prefix}/include'
    789 oldincludedir='/usr/include'
    790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    791 infodir='${datarootdir}/info'
    792 htmldir='${docdir}'
    793 dvidir='${docdir}'
    794 pdfdir='${docdir}'
    795 psdir='${docdir}'
    796 libdir='${exec_prefix}/lib'
    797 localedir='${datarootdir}/locale'
    798 mandir='${datarootdir}/man'
    799 
    800 ac_prev=
    801 ac_dashdash=
    802 for ac_option
    803 do
    804   # If the previous option needs an argument, assign it.
    805   if test -n "$ac_prev"; then
    806     eval $ac_prev=\$ac_option
    807     ac_prev=
    808     continue
    809   fi
    810 
    811   case $ac_option in
    812   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    813   *=)   ac_optarg= ;;
    814   *)    ac_optarg=yes ;;
    815   esac
    816 
    817   # Accept the important Cygnus configure options, so we can diagnose typos.
    818 
    819   case $ac_dashdash$ac_option in
    820   --)
    821     ac_dashdash=yes ;;
    822 
    823   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    824     ac_prev=bindir ;;
    825   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    826     bindir=$ac_optarg ;;
    827 
    828   -build | --build | --buil | --bui | --bu)
    829     ac_prev=build_alias ;;
    830   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    831     build_alias=$ac_optarg ;;
    832 
    833   -cache-file | --cache-file | --cache-fil | --cache-fi \
    834   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    835     ac_prev=cache_file ;;
    836   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    837   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    838     cache_file=$ac_optarg ;;
    839 
    840   --config-cache | -C)
    841     cache_file=config.cache ;;
    842 
    843   -datadir | --datadir | --datadi | --datad)
    844     ac_prev=datadir ;;
    845   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    846     datadir=$ac_optarg ;;
    847 
    848   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    849   | --dataroo | --dataro | --datar)
    850     ac_prev=datarootdir ;;
    851   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    852   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    853     datarootdir=$ac_optarg ;;
    854 
    855   -disable-* | --disable-*)
    856     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    857     # Reject names that are not valid shell variable names.
    858     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    859       as_fn_error $? "invalid feature name: $ac_useropt"
    860     ac_useropt_orig=$ac_useropt
    861     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    862     case $ac_user_opts in
    863       *"
    864 "enable_$ac_useropt"
    865 "*) ;;
    866       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    867 	 ac_unrecognized_sep=', ';;
    868     esac
    869     eval enable_$ac_useropt=no ;;
    870 
    871   -docdir | --docdir | --docdi | --doc | --do)
    872     ac_prev=docdir ;;
    873   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    874     docdir=$ac_optarg ;;
    875 
    876   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    877     ac_prev=dvidir ;;
    878   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    879     dvidir=$ac_optarg ;;
    880 
    881   -enable-* | --enable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=\$ac_optarg ;;
    896 
    897   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    898   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    899   | --exec | --exe | --ex)
    900     ac_prev=exec_prefix ;;
    901   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    902   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    903   | --exec=* | --exe=* | --ex=*)
    904     exec_prefix=$ac_optarg ;;
    905 
    906   -gas | --gas | --ga | --g)
    907     # Obsolete; use --with-gas.
    908     with_gas=yes ;;
    909 
    910   -help | --help | --hel | --he | -h)
    911     ac_init_help=long ;;
    912   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    913     ac_init_help=recursive ;;
    914   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    915     ac_init_help=short ;;
    916 
    917   -host | --host | --hos | --ho)
    918     ac_prev=host_alias ;;
    919   -host=* | --host=* | --hos=* | --ho=*)
    920     host_alias=$ac_optarg ;;
    921 
    922   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    923     ac_prev=htmldir ;;
    924   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    925   | --ht=*)
    926     htmldir=$ac_optarg ;;
    927 
    928   -includedir | --includedir | --includedi | --included | --include \
    929   | --includ | --inclu | --incl | --inc)
    930     ac_prev=includedir ;;
    931   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    932   | --includ=* | --inclu=* | --incl=* | --inc=*)
    933     includedir=$ac_optarg ;;
    934 
    935   -infodir | --infodir | --infodi | --infod | --info | --inf)
    936     ac_prev=infodir ;;
    937   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    938     infodir=$ac_optarg ;;
    939 
    940   -libdir | --libdir | --libdi | --libd)
    941     ac_prev=libdir ;;
    942   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    943     libdir=$ac_optarg ;;
    944 
    945   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    946   | --libexe | --libex | --libe)
    947     ac_prev=libexecdir ;;
    948   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    949   | --libexe=* | --libex=* | --libe=*)
    950     libexecdir=$ac_optarg ;;
    951 
    952   -localedir | --localedir | --localedi | --localed | --locale)
    953     ac_prev=localedir ;;
    954   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    955     localedir=$ac_optarg ;;
    956 
    957   -localstatedir | --localstatedir | --localstatedi | --localstated \
    958   | --localstate | --localstat | --localsta | --localst | --locals)
    959     ac_prev=localstatedir ;;
    960   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    961   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    962     localstatedir=$ac_optarg ;;
    963 
    964   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    965     ac_prev=mandir ;;
    966   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    967     mandir=$ac_optarg ;;
    968 
    969   -nfp | --nfp | --nf)
    970     # Obsolete; use --without-fp.
    971     with_fp=no ;;
    972 
    973   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    974   | --no-cr | --no-c | -n)
    975     no_create=yes ;;
    976 
    977   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    978   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    979     no_recursion=yes ;;
    980 
    981   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    982   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    983   | --oldin | --oldi | --old | --ol | --o)
    984     ac_prev=oldincludedir ;;
    985   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    986   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    987   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    988     oldincludedir=$ac_optarg ;;
    989 
    990   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    991     ac_prev=prefix ;;
    992   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    993     prefix=$ac_optarg ;;
    994 
    995   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    996   | --program-pre | --program-pr | --program-p)
    997     ac_prev=program_prefix ;;
    998   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    999   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1000     program_prefix=$ac_optarg ;;
   1001 
   1002   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1003   | --program-suf | --program-su | --program-s)
   1004     ac_prev=program_suffix ;;
   1005   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1006   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1007     program_suffix=$ac_optarg ;;
   1008 
   1009   -program-transform-name | --program-transform-name \
   1010   | --program-transform-nam | --program-transform-na \
   1011   | --program-transform-n | --program-transform- \
   1012   | --program-transform | --program-transfor \
   1013   | --program-transfo | --program-transf \
   1014   | --program-trans | --program-tran \
   1015   | --progr-tra | --program-tr | --program-t)
   1016     ac_prev=program_transform_name ;;
   1017   -program-transform-name=* | --program-transform-name=* \
   1018   | --program-transform-nam=* | --program-transform-na=* \
   1019   | --program-transform-n=* | --program-transform-=* \
   1020   | --program-transform=* | --program-transfor=* \
   1021   | --program-transfo=* | --program-transf=* \
   1022   | --program-trans=* | --program-tran=* \
   1023   | --progr-tra=* | --program-tr=* | --program-t=*)
   1024     program_transform_name=$ac_optarg ;;
   1025 
   1026   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1027     ac_prev=pdfdir ;;
   1028   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1029     pdfdir=$ac_optarg ;;
   1030 
   1031   -psdir | --psdir | --psdi | --psd | --ps)
   1032     ac_prev=psdir ;;
   1033   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1034     psdir=$ac_optarg ;;
   1035 
   1036   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1037   | -silent | --silent | --silen | --sile | --sil)
   1038     silent=yes ;;
   1039 
   1040   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1041     ac_prev=sbindir ;;
   1042   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1043   | --sbi=* | --sb=*)
   1044     sbindir=$ac_optarg ;;
   1045 
   1046   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1047   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1048   | --sharedst | --shareds | --shared | --share | --shar \
   1049   | --sha | --sh)
   1050     ac_prev=sharedstatedir ;;
   1051   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1052   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1053   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1054   | --sha=* | --sh=*)
   1055     sharedstatedir=$ac_optarg ;;
   1056 
   1057   -site | --site | --sit)
   1058     ac_prev=site ;;
   1059   -site=* | --site=* | --sit=*)
   1060     site=$ac_optarg ;;
   1061 
   1062   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1063     ac_prev=srcdir ;;
   1064   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1065     srcdir=$ac_optarg ;;
   1066 
   1067   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1068   | --syscon | --sysco | --sysc | --sys | --sy)
   1069     ac_prev=sysconfdir ;;
   1070   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1071   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1072     sysconfdir=$ac_optarg ;;
   1073 
   1074   -target | --target | --targe | --targ | --tar | --ta | --t)
   1075     ac_prev=target_alias ;;
   1076   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1077     target_alias=$ac_optarg ;;
   1078 
   1079   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1080     verbose=yes ;;
   1081 
   1082   -version | --version | --versio | --versi | --vers | -V)
   1083     ac_init_version=: ;;
   1084 
   1085   -with-* | --with-*)
   1086     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1087     # Reject names that are not valid shell variable names.
   1088     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1089       as_fn_error $? "invalid package name: $ac_useropt"
   1090     ac_useropt_orig=$ac_useropt
   1091     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1092     case $ac_user_opts in
   1093       *"
   1094 "with_$ac_useropt"
   1095 "*) ;;
   1096       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1097 	 ac_unrecognized_sep=', ';;
   1098     esac
   1099     eval with_$ac_useropt=\$ac_optarg ;;
   1100 
   1101   -without-* | --without-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=no ;;
   1116 
   1117   --x)
   1118     # Obsolete; use --with-x.
   1119     with_x=yes ;;
   1120 
   1121   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1122   | --x-incl | --x-inc | --x-in | --x-i)
   1123     ac_prev=x_includes ;;
   1124   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1125   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1126     x_includes=$ac_optarg ;;
   1127 
   1128   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1129   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1130     ac_prev=x_libraries ;;
   1131   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1132   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1133     x_libraries=$ac_optarg ;;
   1134 
   1135   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1136 Try \`$0 --help' for more information"
   1137     ;;
   1138 
   1139   *=*)
   1140     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1141     # Reject names that are not valid shell variable names.
   1142     case $ac_envvar in #(
   1143       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1144       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1145     esac
   1146     eval $ac_envvar=\$ac_optarg
   1147     export $ac_envvar ;;
   1148 
   1149   *)
   1150     # FIXME: should be removed in autoconf 3.0.
   1151     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1152     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1153       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1154     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1155     ;;
   1156 
   1157   esac
   1158 done
   1159 
   1160 if test -n "$ac_prev"; then
   1161   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1162   as_fn_error $? "missing argument to $ac_option"
   1163 fi
   1164 
   1165 if test -n "$ac_unrecognized_opts"; then
   1166   case $enable_option_checking in
   1167     no) ;;
   1168     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1169     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1170   esac
   1171 fi
   1172 
   1173 # Check all directory arguments for consistency.
   1174 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1175 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1176 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1177 		libdir localedir mandir
   1178 do
   1179   eval ac_val=\$$ac_var
   1180   # Remove trailing slashes.
   1181   case $ac_val in
   1182     */ )
   1183       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1184       eval $ac_var=\$ac_val;;
   1185   esac
   1186   # Be sure to have absolute directory names.
   1187   case $ac_val in
   1188     [\\/$]* | ?:[\\/]* )  continue;;
   1189     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1190   esac
   1191   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1192 done
   1193 
   1194 # There might be people who depend on the old broken behavior: `$host'
   1195 # used to hold the argument of --host etc.
   1196 # FIXME: To remove some day.
   1197 build=$build_alias
   1198 host=$host_alias
   1199 target=$target_alias
   1200 
   1201 # FIXME: To remove some day.
   1202 if test "x$host_alias" != x; then
   1203   if test "x$build_alias" = x; then
   1204     cross_compiling=maybe
   1205     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1206     If a cross compiler is detected then cross compile mode will be used" >&2
   1207   elif test "x$build_alias" != "x$host_alias"; then
   1208     cross_compiling=yes
   1209   fi
   1210 fi
   1211 
   1212 ac_tool_prefix=
   1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1214 
   1215 test "$silent" = yes && exec 6>/dev/null
   1216 
   1217 
   1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1219 ac_ls_di=`ls -di .` &&
   1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1221   as_fn_error $? "working directory cannot be determined"
   1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1223   as_fn_error $? "pwd does not report name of working directory"
   1224 
   1225 
   1226 # Find the source files, if location was not specified.
   1227 if test -z "$srcdir"; then
   1228   ac_srcdir_defaulted=yes
   1229   # Try the directory containing this script, then the parent directory.
   1230   ac_confdir=`$as_dirname -- "$as_myself" ||
   1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1232 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1233 	 X"$as_myself" : 'X\(//\)$' \| \
   1234 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1235 $as_echo X"$as_myself" |
   1236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1237 	    s//\1/
   1238 	    q
   1239 	  }
   1240 	  /^X\(\/\/\)[^/].*/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)$/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\).*/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  s/.*/./; q'`
   1253   srcdir=$ac_confdir
   1254   if test ! -r "$srcdir/$ac_unique_file"; then
   1255     srcdir=..
   1256   fi
   1257 else
   1258   ac_srcdir_defaulted=no
   1259 fi
   1260 if test ! -r "$srcdir/$ac_unique_file"; then
   1261   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1262   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1263 fi
   1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1265 ac_abs_confdir=`(
   1266 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1267 	pwd)`
   1268 # When building in place, set srcdir=.
   1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1270   srcdir=.
   1271 fi
   1272 # Remove unnecessary trailing slashes from srcdir.
   1273 # Double slashes in file names in object file debugging info
   1274 # mess up M-x gdb in Emacs.
   1275 case $srcdir in
   1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1277 esac
   1278 for ac_var in $ac_precious_vars; do
   1279   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_env_${ac_var}_value=\$${ac_var}
   1281   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1282   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1283 done
   1284 
   1285 #
   1286 # Report the --help message.
   1287 #
   1288 if test "$ac_init_help" = "long"; then
   1289   # Omit some internal or obsolete options to make the list less imposing.
   1290   # This message is too long to be a string in the A/UX 3.1 sh.
   1291   cat <<_ACEOF
   1292 \`configure' configures xkill 1.0.4 to adapt to many kinds of systems.
   1293 
   1294 Usage: $0 [OPTION]... [VAR=VALUE]...
   1295 
   1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1297 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1298 
   1299 Defaults for the options are specified in brackets.
   1300 
   1301 Configuration:
   1302   -h, --help              display this help and exit
   1303       --help=short        display options specific to this package
   1304       --help=recursive    display the short help of all the included packages
   1305   -V, --version           display version information and exit
   1306   -q, --quiet, --silent   do not print \`checking ...' messages
   1307       --cache-file=FILE   cache test results in FILE [disabled]
   1308   -C, --config-cache      alias for \`--cache-file=config.cache'
   1309   -n, --no-create         do not create output files
   1310       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1311 
   1312 Installation directories:
   1313   --prefix=PREFIX         install architecture-independent files in PREFIX
   1314                           [$ac_default_prefix]
   1315   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1316                           [PREFIX]
   1317 
   1318 By default, \`make install' will install all the files in
   1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1321 for instance \`--prefix=\$HOME'.
   1322 
   1323 For better control, use the options below.
   1324 
   1325 Fine tuning of the installation directories:
   1326   --bindir=DIR            user executables [EPREFIX/bin]
   1327   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1328   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1329   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1330   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1331   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1332   --libdir=DIR            object code libraries [EPREFIX/lib]
   1333   --includedir=DIR        C header files [PREFIX/include]
   1334   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1335   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1336   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1337   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1338   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1339   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1340   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkill]
   1341   --htmldir=DIR           html documentation [DOCDIR]
   1342   --dvidir=DIR            dvi documentation [DOCDIR]
   1343   --pdfdir=DIR            pdf documentation [DOCDIR]
   1344   --psdir=DIR             ps documentation [DOCDIR]
   1345 _ACEOF
   1346 
   1347   cat <<\_ACEOF
   1348 
   1349 Program names:
   1350   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1351   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1352   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1353 
   1354 System types:
   1355   --build=BUILD     configure for building on BUILD [guessed]
   1356   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1357 _ACEOF
   1358 fi
   1359 
   1360 if test -n "$ac_init_help"; then
   1361   case $ac_init_help in
   1362      short | recursive ) echo "Configuration of xkill 1.0.4:";;
   1363    esac
   1364   cat <<\_ACEOF
   1365 
   1366 Optional Features:
   1367   --disable-option-checking  ignore unrecognized --enable/--with options
   1368   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1369   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1370   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1371   --disable-silent-rules  verbose build output (undo: "make V=0")
   1372   --enable-maintainer-mode
   1373                           enable make rules and dependencies not useful (and
   1374                           sometimes confusing) to the casual installer
   1375   --enable-dependency-tracking
   1376                           do not reject slow dependency extractors
   1377   --disable-dependency-tracking
   1378                           speeds up one-time build
   1379   --disable-selective-werror
   1380                           Turn off selective compiler errors. (default:
   1381                           enabled)
   1382   --enable-strict-compilation
   1383                           Enable all warnings from compiler and make them
   1384                           errors (default: disabled)
   1385 
   1386 Some influential environment variables:
   1387   CC          C compiler command
   1388   CFLAGS      C compiler flags
   1389   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1390               nonstandard directory <lib dir>
   1391   LIBS        libraries to pass to the linker, e.g. -l<library>
   1392   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1393               you have headers in a nonstandard directory <include dir>
   1394   CPP         C preprocessor
   1395   PKG_CONFIG  path to pkg-config utility
   1396   XKILL_CFLAGS
   1397               C compiler flags for XKILL, overriding pkg-config
   1398   XKILL_LIBS  linker flags for XKILL, overriding pkg-config
   1399 
   1400 Use these variables to override the choices made by `configure' or to help
   1401 it to find libraries and programs with nonstandard names/locations.
   1402 
   1403 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1404 _ACEOF
   1405 ac_status=$?
   1406 fi
   1407 
   1408 if test "$ac_init_help" = "recursive"; then
   1409   # If there are subdirs, report their specific --help.
   1410   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1411     test -d "$ac_dir" ||
   1412       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1413       continue
   1414     ac_builddir=.
   1415 
   1416 case "$ac_dir" in
   1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1418 *)
   1419   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1420   # A ".." for each directory in $ac_dir_suffix.
   1421   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1422   case $ac_top_builddir_sub in
   1423   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1424   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1425   esac ;;
   1426 esac
   1427 ac_abs_top_builddir=$ac_pwd
   1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1429 # for backward compatibility:
   1430 ac_top_builddir=$ac_top_build_prefix
   1431 
   1432 case $srcdir in
   1433   .)  # We are building in place.
   1434     ac_srcdir=.
   1435     ac_top_srcdir=$ac_top_builddir_sub
   1436     ac_abs_top_srcdir=$ac_pwd ;;
   1437   [\\/]* | ?:[\\/]* )  # Absolute name.
   1438     ac_srcdir=$srcdir$ac_dir_suffix;
   1439     ac_top_srcdir=$srcdir
   1440     ac_abs_top_srcdir=$srcdir ;;
   1441   *) # Relative name.
   1442     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1443     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1444     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1445 esac
   1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1447 
   1448     cd "$ac_dir" || { ac_status=$?; continue; }
   1449     # Check for guested configure.
   1450     if test -f "$ac_srcdir/configure.gnu"; then
   1451       echo &&
   1452       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1453     elif test -f "$ac_srcdir/configure"; then
   1454       echo &&
   1455       $SHELL "$ac_srcdir/configure" --help=recursive
   1456     else
   1457       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1458     fi || ac_status=$?
   1459     cd "$ac_pwd" || { ac_status=$?; break; }
   1460   done
   1461 fi
   1462 
   1463 test -n "$ac_init_help" && exit $ac_status
   1464 if $ac_init_version; then
   1465   cat <<\_ACEOF
   1466 xkill configure 1.0.4
   1467 generated by GNU Autoconf 2.68
   1468 
   1469 Copyright (C) 2010 Free Software Foundation, Inc.
   1470 This configure script is free software; the Free Software Foundation
   1471 gives unlimited permission to copy, distribute and modify it.
   1472 _ACEOF
   1473   exit
   1474 fi
   1475 
   1476 ## ------------------------ ##
   1477 ## Autoconf initialization. ##
   1478 ## ------------------------ ##
   1479 
   1480 # ac_fn_c_try_compile LINENO
   1481 # --------------------------
   1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1483 ac_fn_c_try_compile ()
   1484 {
   1485   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1486   rm -f conftest.$ac_objext
   1487   if { { ac_try="$ac_compile"
   1488 case "(($ac_try" in
   1489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1490   *) ac_try_echo=$ac_try;;
   1491 esac
   1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1493 $as_echo "$ac_try_echo"; } >&5
   1494   (eval "$ac_compile") 2>conftest.err
   1495   ac_status=$?
   1496   if test -s conftest.err; then
   1497     grep -v '^ *+' conftest.err >conftest.er1
   1498     cat conftest.er1 >&5
   1499     mv -f conftest.er1 conftest.err
   1500   fi
   1501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1502   test $ac_status = 0; } && {
   1503 	 test -z "$ac_c_werror_flag" ||
   1504 	 test ! -s conftest.err
   1505        } && test -s conftest.$ac_objext; then :
   1506   ac_retval=0
   1507 else
   1508   $as_echo "$as_me: failed program was:" >&5
   1509 sed 's/^/| /' conftest.$ac_ext >&5
   1510 
   1511 	ac_retval=1
   1512 fi
   1513   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1514   as_fn_set_status $ac_retval
   1515 
   1516 } # ac_fn_c_try_compile
   1517 
   1518 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1519 # ---------------------------------------------
   1520 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1521 # accordingly.
   1522 ac_fn_c_check_decl ()
   1523 {
   1524   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1525   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1526   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1528 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1529 if eval \${$3+:} false; then :
   1530   $as_echo_n "(cached) " >&6
   1531 else
   1532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1533 /* end confdefs.h.  */
   1534 $4
   1535 int
   1536 main ()
   1537 {
   1538 #ifndef $as_decl_name
   1539 #ifdef __cplusplus
   1540   (void) $as_decl_use;
   1541 #else
   1542   (void) $as_decl_name;
   1543 #endif
   1544 #endif
   1545 
   1546   ;
   1547   return 0;
   1548 }
   1549 _ACEOF
   1550 if ac_fn_c_try_compile "$LINENO"; then :
   1551   eval "$3=yes"
   1552 else
   1553   eval "$3=no"
   1554 fi
   1555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1556 fi
   1557 eval ac_res=\$$3
   1558 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1559 $as_echo "$ac_res" >&6; }
   1560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1561 
   1562 } # ac_fn_c_check_decl
   1563 
   1564 # ac_fn_c_try_cpp LINENO
   1565 # ----------------------
   1566 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1567 ac_fn_c_try_cpp ()
   1568 {
   1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1570   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1571 case "(($ac_try" in
   1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1573   *) ac_try_echo=$ac_try;;
   1574 esac
   1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1576 $as_echo "$ac_try_echo"; } >&5
   1577   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1578   ac_status=$?
   1579   if test -s conftest.err; then
   1580     grep -v '^ *+' conftest.err >conftest.er1
   1581     cat conftest.er1 >&5
   1582     mv -f conftest.er1 conftest.err
   1583   fi
   1584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1585   test $ac_status = 0; } > conftest.i && {
   1586 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1587 	 test ! -s conftest.err
   1588        }; then :
   1589   ac_retval=0
   1590 else
   1591   $as_echo "$as_me: failed program was:" >&5
   1592 sed 's/^/| /' conftest.$ac_ext >&5
   1593 
   1594     ac_retval=1
   1595 fi
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597   as_fn_set_status $ac_retval
   1598 
   1599 } # ac_fn_c_try_cpp
   1600 
   1601 # ac_fn_c_try_run LINENO
   1602 # ----------------------
   1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1604 # that executables *can* be run.
   1605 ac_fn_c_try_run ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   if { { ac_try="$ac_link"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 $as_echo "$ac_try_echo"; } >&5
   1615   (eval "$ac_link") 2>&5
   1616   ac_status=$?
   1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1619   { { case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 $as_echo "$ac_try_echo"; } >&5
   1625   (eval "$ac_try") 2>&5
   1626   ac_status=$?
   1627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1628   test $ac_status = 0; }; }; then :
   1629   ac_retval=0
   1630 else
   1631   $as_echo "$as_me: program exited with status $ac_status" >&5
   1632        $as_echo "$as_me: failed program was:" >&5
   1633 sed 's/^/| /' conftest.$ac_ext >&5
   1634 
   1635        ac_retval=$ac_status
   1636 fi
   1637   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639   as_fn_set_status $ac_retval
   1640 
   1641 } # ac_fn_c_try_run
   1642 
   1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1644 # -------------------------------------------------------
   1645 # Tests whether HEADER exists and can be compiled using the include files in
   1646 # INCLUDES, setting the cache variable VAR accordingly.
   1647 ac_fn_c_check_header_compile ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1651 $as_echo_n "checking for $2... " >&6; }
   1652 if eval \${$3+:} false; then :
   1653   $as_echo_n "(cached) " >&6
   1654 else
   1655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1656 /* end confdefs.h.  */
   1657 $4
   1658 #include <$2>
   1659 _ACEOF
   1660 if ac_fn_c_try_compile "$LINENO"; then :
   1661   eval "$3=yes"
   1662 else
   1663   eval "$3=no"
   1664 fi
   1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1666 fi
   1667 eval ac_res=\$$3
   1668 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1669 $as_echo "$ac_res" >&6; }
   1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1671 
   1672 } # ac_fn_c_check_header_compile
   1673 
   1674 # ac_fn_c_try_link LINENO
   1675 # -----------------------
   1676 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1677 ac_fn_c_try_link ()
   1678 {
   1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1680   rm -f conftest.$ac_objext conftest$ac_exeext
   1681   if { { ac_try="$ac_link"
   1682 case "(($ac_try" in
   1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1684   *) ac_try_echo=$ac_try;;
   1685 esac
   1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1687 $as_echo "$ac_try_echo"; } >&5
   1688   (eval "$ac_link") 2>conftest.err
   1689   ac_status=$?
   1690   if test -s conftest.err; then
   1691     grep -v '^ *+' conftest.err >conftest.er1
   1692     cat conftest.er1 >&5
   1693     mv -f conftest.er1 conftest.err
   1694   fi
   1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696   test $ac_status = 0; } && {
   1697 	 test -z "$ac_c_werror_flag" ||
   1698 	 test ! -s conftest.err
   1699        } && test -s conftest$ac_exeext && {
   1700 	 test "$cross_compiling" = yes ||
   1701 	 $as_test_x conftest$ac_exeext
   1702        }; then :
   1703   ac_retval=0
   1704 else
   1705   $as_echo "$as_me: failed program was:" >&5
   1706 sed 's/^/| /' conftest.$ac_ext >&5
   1707 
   1708 	ac_retval=1
   1709 fi
   1710   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1711   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1712   # interfere with the next link command; also delete a directory that is
   1713   # left behind by Apple's compiler.  We do this before executing the actions.
   1714   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1716   as_fn_set_status $ac_retval
   1717 
   1718 } # ac_fn_c_try_link
   1719 cat >config.log <<_ACEOF
   1720 This file contains any messages produced by compilers while
   1721 running configure, to aid debugging if configure makes a mistake.
   1722 
   1723 It was created by xkill $as_me 1.0.4, which was
   1724 generated by GNU Autoconf 2.68.  Invocation command line was
   1725 
   1726   $ $0 $@
   1727 
   1728 _ACEOF
   1729 exec 5>>config.log
   1730 {
   1731 cat <<_ASUNAME
   1732 ## --------- ##
   1733 ## Platform. ##
   1734 ## --------- ##
   1735 
   1736 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1737 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1738 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1739 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1740 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1741 
   1742 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1743 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1744 
   1745 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1746 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1747 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1748 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1749 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1750 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1751 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1752 
   1753 _ASUNAME
   1754 
   1755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1756 for as_dir in $PATH
   1757 do
   1758   IFS=$as_save_IFS
   1759   test -z "$as_dir" && as_dir=.
   1760     $as_echo "PATH: $as_dir"
   1761   done
   1762 IFS=$as_save_IFS
   1763 
   1764 } >&5
   1765 
   1766 cat >&5 <<_ACEOF
   1767 
   1768 
   1769 ## ----------- ##
   1770 ## Core tests. ##
   1771 ## ----------- ##
   1772 
   1773 _ACEOF
   1774 
   1775 
   1776 # Keep a trace of the command line.
   1777 # Strip out --no-create and --no-recursion so they do not pile up.
   1778 # Strip out --silent because we don't want to record it for future runs.
   1779 # Also quote any args containing shell meta-characters.
   1780 # Make two passes to allow for proper duplicate-argument suppression.
   1781 ac_configure_args=
   1782 ac_configure_args0=
   1783 ac_configure_args1=
   1784 ac_must_keep_next=false
   1785 for ac_pass in 1 2
   1786 do
   1787   for ac_arg
   1788   do
   1789     case $ac_arg in
   1790     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1791     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1792     | -silent | --silent | --silen | --sile | --sil)
   1793       continue ;;
   1794     *\'*)
   1795       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1796     esac
   1797     case $ac_pass in
   1798     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1799     2)
   1800       as_fn_append ac_configure_args1 " '$ac_arg'"
   1801       if test $ac_must_keep_next = true; then
   1802 	ac_must_keep_next=false # Got value, back to normal.
   1803       else
   1804 	case $ac_arg in
   1805 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1806 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1807 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1808 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1809 	    case "$ac_configure_args0 " in
   1810 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1811 	    esac
   1812 	    ;;
   1813 	  -* ) ac_must_keep_next=true ;;
   1814 	esac
   1815       fi
   1816       as_fn_append ac_configure_args " '$ac_arg'"
   1817       ;;
   1818     esac
   1819   done
   1820 done
   1821 { ac_configure_args0=; unset ac_configure_args0;}
   1822 { ac_configure_args1=; unset ac_configure_args1;}
   1823 
   1824 # When interrupted or exit'd, cleanup temporary files, and complete
   1825 # config.log.  We remove comments because anyway the quotes in there
   1826 # would cause problems or look ugly.
   1827 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1828 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1829 trap 'exit_status=$?
   1830   # Save into config.log some information that might help in debugging.
   1831   {
   1832     echo
   1833 
   1834     $as_echo "## ---------------- ##
   1835 ## Cache variables. ##
   1836 ## ---------------- ##"
   1837     echo
   1838     # The following way of writing the cache mishandles newlines in values,
   1839 (
   1840   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1841     eval ac_val=\$$ac_var
   1842     case $ac_val in #(
   1843     *${as_nl}*)
   1844       case $ac_var in #(
   1845       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1847       esac
   1848       case $ac_var in #(
   1849       _ | IFS | as_nl) ;; #(
   1850       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1851       *) { eval $ac_var=; unset $ac_var;} ;;
   1852       esac ;;
   1853     esac
   1854   done
   1855   (set) 2>&1 |
   1856     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1857     *${as_nl}ac_space=\ *)
   1858       sed -n \
   1859 	"s/'\''/'\''\\\\'\'''\''/g;
   1860 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1861       ;; #(
   1862     *)
   1863       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1864       ;;
   1865     esac |
   1866     sort
   1867 )
   1868     echo
   1869 
   1870     $as_echo "## ----------------- ##
   1871 ## Output variables. ##
   1872 ## ----------------- ##"
   1873     echo
   1874     for ac_var in $ac_subst_vars
   1875     do
   1876       eval ac_val=\$$ac_var
   1877       case $ac_val in
   1878       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1879       esac
   1880       $as_echo "$ac_var='\''$ac_val'\''"
   1881     done | sort
   1882     echo
   1883 
   1884     if test -n "$ac_subst_files"; then
   1885       $as_echo "## ------------------- ##
   1886 ## File substitutions. ##
   1887 ## ------------------- ##"
   1888       echo
   1889       for ac_var in $ac_subst_files
   1890       do
   1891 	eval ac_val=\$$ac_var
   1892 	case $ac_val in
   1893 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894 	esac
   1895 	$as_echo "$ac_var='\''$ac_val'\''"
   1896       done | sort
   1897       echo
   1898     fi
   1899 
   1900     if test -s confdefs.h; then
   1901       $as_echo "## ----------- ##
   1902 ## confdefs.h. ##
   1903 ## ----------- ##"
   1904       echo
   1905       cat confdefs.h
   1906       echo
   1907     fi
   1908     test "$ac_signal" != 0 &&
   1909       $as_echo "$as_me: caught signal $ac_signal"
   1910     $as_echo "$as_me: exit $exit_status"
   1911   } >&5
   1912   rm -f core *.core core.conftest.* &&
   1913     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1914     exit $exit_status
   1915 ' 0
   1916 for ac_signal in 1 2 13 15; do
   1917   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1918 done
   1919 ac_signal=0
   1920 
   1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1922 rm -f -r conftest* confdefs.h
   1923 
   1924 $as_echo "/* confdefs.h */" > confdefs.h
   1925 
   1926 # Predefined preprocessor variables.
   1927 
   1928 cat >>confdefs.h <<_ACEOF
   1929 #define PACKAGE_NAME "$PACKAGE_NAME"
   1930 _ACEOF
   1931 
   1932 cat >>confdefs.h <<_ACEOF
   1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1934 _ACEOF
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1938 _ACEOF
   1939 
   1940 cat >>confdefs.h <<_ACEOF
   1941 #define PACKAGE_STRING "$PACKAGE_STRING"
   1942 _ACEOF
   1943 
   1944 cat >>confdefs.h <<_ACEOF
   1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1946 _ACEOF
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_URL "$PACKAGE_URL"
   1950 _ACEOF
   1951 
   1952 
   1953 # Let the site file select an alternate cache file if it wants to.
   1954 # Prefer an explicitly selected file to automatically selected ones.
   1955 ac_site_file1=NONE
   1956 ac_site_file2=NONE
   1957 if test -n "$CONFIG_SITE"; then
   1958   # We do not want a PATH search for config.site.
   1959   case $CONFIG_SITE in #((
   1960     -*)  ac_site_file1=./$CONFIG_SITE;;
   1961     */*) ac_site_file1=$CONFIG_SITE;;
   1962     *)   ac_site_file1=./$CONFIG_SITE;;
   1963   esac
   1964 elif test "x$prefix" != xNONE; then
   1965   ac_site_file1=$prefix/share/config.site
   1966   ac_site_file2=$prefix/etc/config.site
   1967 else
   1968   ac_site_file1=$ac_default_prefix/share/config.site
   1969   ac_site_file2=$ac_default_prefix/etc/config.site
   1970 fi
   1971 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1972 do
   1973   test "x$ac_site_file" = xNONE && continue
   1974   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1975     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1976 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1977     sed 's/^/| /' "$ac_site_file" >&5
   1978     . "$ac_site_file" \
   1979       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1981 as_fn_error $? "failed to load site script $ac_site_file
   1982 See \`config.log' for more details" "$LINENO" 5; }
   1983   fi
   1984 done
   1985 
   1986 if test -r "$cache_file"; then
   1987   # Some versions of bash will fail to source /dev/null (special files
   1988   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1989   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1990     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1991 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1992     case $cache_file in
   1993       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1994       *)                      . "./$cache_file";;
   1995     esac
   1996   fi
   1997 else
   1998   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1999 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2000   >$cache_file
   2001 fi
   2002 
   2003 # Check that the precious variables saved in the cache have kept the same
   2004 # value.
   2005 ac_cache_corrupted=false
   2006 for ac_var in $ac_precious_vars; do
   2007   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2008   eval ac_new_set=\$ac_env_${ac_var}_set
   2009   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2010   eval ac_new_val=\$ac_env_${ac_var}_value
   2011   case $ac_old_set,$ac_new_set in
   2012     set,)
   2013       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2014 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2015       ac_cache_corrupted=: ;;
   2016     ,set)
   2017       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2018 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2019       ac_cache_corrupted=: ;;
   2020     ,);;
   2021     *)
   2022       if test "x$ac_old_val" != "x$ac_new_val"; then
   2023 	# differences in whitespace do not lead to failure.
   2024 	ac_old_val_w=`echo x $ac_old_val`
   2025 	ac_new_val_w=`echo x $ac_new_val`
   2026 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2027 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2028 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2029 	  ac_cache_corrupted=:
   2030 	else
   2031 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2032 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2033 	  eval $ac_var=\$ac_old_val
   2034 	fi
   2035 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2036 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2037 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2038 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2039       fi;;
   2040   esac
   2041   # Pass precious variables to config.status.
   2042   if test "$ac_new_set" = set; then
   2043     case $ac_new_val in
   2044     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2045     *) ac_arg=$ac_var=$ac_new_val ;;
   2046     esac
   2047     case " $ac_configure_args " in
   2048       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2049       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2050     esac
   2051   fi
   2052 done
   2053 if $ac_cache_corrupted; then
   2054   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2056   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2057 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2058   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2059 fi
   2060 ## -------------------- ##
   2061 ## Main body of script. ##
   2062 ## -------------------- ##
   2063 
   2064 ac_ext=c
   2065 ac_cpp='$CPP $CPPFLAGS'
   2066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2069 
   2070 
   2071 
   2072 ac_config_headers="$ac_config_headers config.h"
   2073 
   2074 
   2075 # Initialize Automake
   2076 am__api_version='1.14'
   2077 
   2078 ac_aux_dir=
   2079 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2080   if test -f "$ac_dir/install-sh"; then
   2081     ac_aux_dir=$ac_dir
   2082     ac_install_sh="$ac_aux_dir/install-sh -c"
   2083     break
   2084   elif test -f "$ac_dir/install.sh"; then
   2085     ac_aux_dir=$ac_dir
   2086     ac_install_sh="$ac_aux_dir/install.sh -c"
   2087     break
   2088   elif test -f "$ac_dir/shtool"; then
   2089     ac_aux_dir=$ac_dir
   2090     ac_install_sh="$ac_aux_dir/shtool install -c"
   2091     break
   2092   fi
   2093 done
   2094 if test -z "$ac_aux_dir"; then
   2095   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2096 fi
   2097 
   2098 # These three variables are undocumented and unsupported,
   2099 # and are intended to be withdrawn in a future Autoconf release.
   2100 # They can cause serious problems if a builder's source tree is in a directory
   2101 # whose full name contains unusual characters.
   2102 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2103 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2104 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2105 
   2106 
   2107 # Find a good install program.  We prefer a C program (faster),
   2108 # so one script is as good as another.  But avoid the broken or
   2109 # incompatible versions:
   2110 # SysV /etc/install, /usr/sbin/install
   2111 # SunOS /usr/etc/install
   2112 # IRIX /sbin/install
   2113 # AIX /bin/install
   2114 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2118 # OS/2's system install, which has a completely different semantic
   2119 # ./install, which can be erroneously created by make from ./install.sh.
   2120 # Reject install programs that cannot install multiple files.
   2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2122 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2123 if test -z "$INSTALL"; then
   2124 if ${ac_cv_path_install+:} false; then :
   2125   $as_echo_n "(cached) " >&6
   2126 else
   2127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2128 for as_dir in $PATH
   2129 do
   2130   IFS=$as_save_IFS
   2131   test -z "$as_dir" && as_dir=.
   2132     # Account for people who put trailing slashes in PATH elements.
   2133 case $as_dir/ in #((
   2134   ./ | .// | /[cC]/* | \
   2135   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2136   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2137   /usr/ucb/* ) ;;
   2138   *)
   2139     # OSF1 and SCO ODT 3.0 have their own names for install.
   2140     # Don't use installbsd from OSF since it installs stuff as root
   2141     # by default.
   2142     for ac_prog in ginstall scoinst install; do
   2143       for ac_exec_ext in '' $ac_executable_extensions; do
   2144 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2145 	  if test $ac_prog = install &&
   2146 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2147 	    # AIX install.  It has an incompatible calling convention.
   2148 	    :
   2149 	  elif test $ac_prog = install &&
   2150 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2151 	    # program-specific install script used by HP pwplus--don't use.
   2152 	    :
   2153 	  else
   2154 	    rm -rf conftest.one conftest.two conftest.dir
   2155 	    echo one > conftest.one
   2156 	    echo two > conftest.two
   2157 	    mkdir conftest.dir
   2158 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2159 	      test -s conftest.one && test -s conftest.two &&
   2160 	      test -s conftest.dir/conftest.one &&
   2161 	      test -s conftest.dir/conftest.two
   2162 	    then
   2163 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2164 	      break 3
   2165 	    fi
   2166 	  fi
   2167 	fi
   2168       done
   2169     done
   2170     ;;
   2171 esac
   2172 
   2173   done
   2174 IFS=$as_save_IFS
   2175 
   2176 rm -rf conftest.one conftest.two conftest.dir
   2177 
   2178 fi
   2179   if test "${ac_cv_path_install+set}" = set; then
   2180     INSTALL=$ac_cv_path_install
   2181   else
   2182     # As a last resort, use the slow shell script.  Don't cache a
   2183     # value for INSTALL within a source directory, because that will
   2184     # break other packages using the cache if that directory is
   2185     # removed, or if the value is a relative name.
   2186     INSTALL=$ac_install_sh
   2187   fi
   2188 fi
   2189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2190 $as_echo "$INSTALL" >&6; }
   2191 
   2192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2193 # It thinks the first close brace ends the variable substitution.
   2194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2195 
   2196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2197 
   2198 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2199 
   2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2201 $as_echo_n "checking whether build environment is sane... " >&6; }
   2202 # Reject unsafe characters in $srcdir or the absolute working directory
   2203 # name.  Accept space and tab only in the latter.
   2204 am_lf='
   2205 '
   2206 case `pwd` in
   2207   *[\\\"\#\$\&\'\`$am_lf]*)
   2208     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2209 esac
   2210 case $srcdir in
   2211   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2212     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2213 esac
   2214 
   2215 # Do 'set' in a subshell so we don't clobber the current shell's
   2216 # arguments.  Must try -L first in case configure is actually a
   2217 # symlink; some systems play weird games with the mod time of symlinks
   2218 # (eg FreeBSD returns the mod time of the symlink's containing
   2219 # directory).
   2220 if (
   2221    am_has_slept=no
   2222    for am_try in 1 2; do
   2223      echo "timestamp, slept: $am_has_slept" > conftest.file
   2224      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2225      if test "$*" = "X"; then
   2226 	# -L didn't work.
   2227 	set X `ls -t "$srcdir/configure" conftest.file`
   2228      fi
   2229      if test "$*" != "X $srcdir/configure conftest.file" \
   2230 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2231 
   2232 	# If neither matched, then we have a broken ls.  This can happen
   2233 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2234 	# broken ls alias from the environment.  This has actually
   2235 	# happened.  Such a system could not be considered "sane".
   2236 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2237   alias in your environment" "$LINENO" 5
   2238      fi
   2239      if test "$2" = conftest.file || test $am_try -eq 2; then
   2240        break
   2241      fi
   2242      # Just in case.
   2243      sleep 1
   2244      am_has_slept=yes
   2245    done
   2246    test "$2" = conftest.file
   2247    )
   2248 then
   2249    # Ok.
   2250    :
   2251 else
   2252    as_fn_error $? "newly created file is older than distributed files!
   2253 Check your system clock" "$LINENO" 5
   2254 fi
   2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2256 $as_echo "yes" >&6; }
   2257 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2258 # generated files are strictly newer.
   2259 am_sleep_pid=
   2260 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2261   ( sleep 1 ) &
   2262   am_sleep_pid=$!
   2263 fi
   2264 
   2265 rm -f conftest.file
   2266 
   2267 test "$program_prefix" != NONE &&
   2268   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2269 # Use a double $ so make ignores it.
   2270 test "$program_suffix" != NONE &&
   2271   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2272 # Double any \ or $.
   2273 # By default was `s,x,x', remove it if useless.
   2274 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2275 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2276 
   2277 # expand $ac_aux_dir to an absolute path
   2278 am_aux_dir=`cd $ac_aux_dir && pwd`
   2279 
   2280 if test x"${MISSING+set}" != xset; then
   2281   case $am_aux_dir in
   2282   *\ * | *\	*)
   2283     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2284   *)
   2285     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2286   esac
   2287 fi
   2288 # Use eval to expand $SHELL
   2289 if eval "$MISSING --is-lightweight"; then
   2290   am_missing_run="$MISSING "
   2291 else
   2292   am_missing_run=
   2293   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2294 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2295 fi
   2296 
   2297 if test x"${install_sh}" != xset; then
   2298   case $am_aux_dir in
   2299   *\ * | *\	*)
   2300     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2301   *)
   2302     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2303   esac
   2304 fi
   2305 
   2306 # Installed binaries are usually stripped using 'strip' when the user
   2307 # run "make install-strip".  However 'strip' might not be the right
   2308 # tool to use in cross-compilation environments, therefore Automake
   2309 # will honor the 'STRIP' environment variable to overrule this program.
   2310 if test "$cross_compiling" != no; then
   2311   if test -n "$ac_tool_prefix"; then
   2312   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2313 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2315 $as_echo_n "checking for $ac_word... " >&6; }
   2316 if ${ac_cv_prog_STRIP+:} false; then :
   2317   $as_echo_n "(cached) " >&6
   2318 else
   2319   if test -n "$STRIP"; then
   2320   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   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     for ac_exec_ext in '' $ac_executable_extensions; do
   2328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2329     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2331     break 2
   2332   fi
   2333 done
   2334   done
   2335 IFS=$as_save_IFS
   2336 
   2337 fi
   2338 fi
   2339 STRIP=$ac_cv_prog_STRIP
   2340 if test -n "$STRIP"; then
   2341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2342 $as_echo "$STRIP" >&6; }
   2343 else
   2344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2345 $as_echo "no" >&6; }
   2346 fi
   2347 
   2348 
   2349 fi
   2350 if test -z "$ac_cv_prog_STRIP"; then
   2351   ac_ct_STRIP=$STRIP
   2352   # Extract the first word of "strip", so it can be a program name with args.
   2353 set dummy strip; ac_word=$2
   2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2355 $as_echo_n "checking for $ac_word... " >&6; }
   2356 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2357   $as_echo_n "(cached) " >&6
   2358 else
   2359   if test -n "$ac_ct_STRIP"; then
   2360   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2361 else
   2362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2363 for as_dir in $PATH
   2364 do
   2365   IFS=$as_save_IFS
   2366   test -z "$as_dir" && as_dir=.
   2367     for ac_exec_ext in '' $ac_executable_extensions; do
   2368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2369     ac_cv_prog_ac_ct_STRIP="strip"
   2370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2371     break 2
   2372   fi
   2373 done
   2374   done
   2375 IFS=$as_save_IFS
   2376 
   2377 fi
   2378 fi
   2379 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2380 if test -n "$ac_ct_STRIP"; then
   2381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2382 $as_echo "$ac_ct_STRIP" >&6; }
   2383 else
   2384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2385 $as_echo "no" >&6; }
   2386 fi
   2387 
   2388   if test "x$ac_ct_STRIP" = x; then
   2389     STRIP=":"
   2390   else
   2391     case $cross_compiling:$ac_tool_warned in
   2392 yes:)
   2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2395 ac_tool_warned=yes ;;
   2396 esac
   2397     STRIP=$ac_ct_STRIP
   2398   fi
   2399 else
   2400   STRIP="$ac_cv_prog_STRIP"
   2401 fi
   2402 
   2403 fi
   2404 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2405 
   2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2407 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2408 if test -z "$MKDIR_P"; then
   2409   if ${ac_cv_path_mkdir+:} false; then :
   2410   $as_echo_n "(cached) " >&6
   2411 else
   2412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2413 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2414 do
   2415   IFS=$as_save_IFS
   2416   test -z "$as_dir" && as_dir=.
   2417     for ac_prog in mkdir gmkdir; do
   2418 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2419 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2420 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2421 	     'mkdir (GNU coreutils) '* | \
   2422 	     'mkdir (coreutils) '* | \
   2423 	     'mkdir (fileutils) '4.1*)
   2424 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2425 	       break 3;;
   2426 	   esac
   2427 	 done
   2428        done
   2429   done
   2430 IFS=$as_save_IFS
   2431 
   2432 fi
   2433 
   2434   test -d ./--version && rmdir ./--version
   2435   if test "${ac_cv_path_mkdir+set}" = set; then
   2436     MKDIR_P="$ac_cv_path_mkdir -p"
   2437   else
   2438     # As a last resort, use the slow shell script.  Don't cache a
   2439     # value for MKDIR_P within a source directory, because that will
   2440     # break other packages using the cache if that directory is
   2441     # removed, or if the value is a relative name.
   2442     MKDIR_P="$ac_install_sh -d"
   2443   fi
   2444 fi
   2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2446 $as_echo "$MKDIR_P" >&6; }
   2447 
   2448 for ac_prog in gawk mawk nawk awk
   2449 do
   2450   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2451 set dummy $ac_prog; ac_word=$2
   2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2453 $as_echo_n "checking for $ac_word... " >&6; }
   2454 if ${ac_cv_prog_AWK+:} false; then :
   2455   $as_echo_n "(cached) " >&6
   2456 else
   2457   if test -n "$AWK"; then
   2458   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2459 else
   2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2461 for as_dir in $PATH
   2462 do
   2463   IFS=$as_save_IFS
   2464   test -z "$as_dir" && as_dir=.
   2465     for ac_exec_ext in '' $ac_executable_extensions; do
   2466   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2467     ac_cv_prog_AWK="$ac_prog"
   2468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2469     break 2
   2470   fi
   2471 done
   2472   done
   2473 IFS=$as_save_IFS
   2474 
   2475 fi
   2476 fi
   2477 AWK=$ac_cv_prog_AWK
   2478 if test -n "$AWK"; then
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2480 $as_echo "$AWK" >&6; }
   2481 else
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2483 $as_echo "no" >&6; }
   2484 fi
   2485 
   2486 
   2487   test -n "$AWK" && break
   2488 done
   2489 
   2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2491 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2492 set x ${MAKE-make}
   2493 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2494 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2495   $as_echo_n "(cached) " >&6
   2496 else
   2497   cat >conftest.make <<\_ACEOF
   2498 SHELL = /bin/sh
   2499 all:
   2500 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2501 _ACEOF
   2502 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2504   *@@@%%%=?*=@@@%%%*)
   2505     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2506   *)
   2507     eval ac_cv_prog_make_${ac_make}_set=no;;
   2508 esac
   2509 rm -f conftest.make
   2510 fi
   2511 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2513 $as_echo "yes" >&6; }
   2514   SET_MAKE=
   2515 else
   2516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2517 $as_echo "no" >&6; }
   2518   SET_MAKE="MAKE=${MAKE-make}"
   2519 fi
   2520 
   2521 rm -rf .tst 2>/dev/null
   2522 mkdir .tst 2>/dev/null
   2523 if test -d .tst; then
   2524   am__leading_dot=.
   2525 else
   2526   am__leading_dot=_
   2527 fi
   2528 rmdir .tst 2>/dev/null
   2529 
   2530 # Check whether --enable-silent-rules was given.
   2531 if test "${enable_silent_rules+set}" = set; then :
   2532   enableval=$enable_silent_rules;
   2533 fi
   2534 
   2535 case $enable_silent_rules in # (((
   2536   yes) AM_DEFAULT_VERBOSITY=0;;
   2537    no) AM_DEFAULT_VERBOSITY=1;;
   2538     *) AM_DEFAULT_VERBOSITY=1;;
   2539 esac
   2540 am_make=${MAKE-make}
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2542 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2543 if ${am_cv_make_support_nested_variables+:} false; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   if $as_echo 'TRUE=$(BAR$(V))
   2547 BAR0=false
   2548 BAR1=true
   2549 V=1
   2550 am__doit:
   2551 	@$(TRUE)
   2552 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2553   am_cv_make_support_nested_variables=yes
   2554 else
   2555   am_cv_make_support_nested_variables=no
   2556 fi
   2557 fi
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2559 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2560 if test $am_cv_make_support_nested_variables = yes; then
   2561     AM_V='$(V)'
   2562   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2563 else
   2564   AM_V=$AM_DEFAULT_VERBOSITY
   2565   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2566 fi
   2567 AM_BACKSLASH='\'
   2568 
   2569 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2570   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2571   # is not polluted with repeated "-I."
   2572   am__isrc=' -I$(srcdir)'
   2573   # test to see if srcdir already configured
   2574   if test -f $srcdir/config.status; then
   2575     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2576   fi
   2577 fi
   2578 
   2579 # test whether we have cygpath
   2580 if test -z "$CYGPATH_W"; then
   2581   if (cygpath --version) >/dev/null 2>/dev/null; then
   2582     CYGPATH_W='cygpath -w'
   2583   else
   2584     CYGPATH_W=echo
   2585   fi
   2586 fi
   2587 
   2588 
   2589 # Define the identity of the package.
   2590  PACKAGE='xkill'
   2591  VERSION='1.0.4'
   2592 
   2593 
   2594 cat >>confdefs.h <<_ACEOF
   2595 #define PACKAGE "$PACKAGE"
   2596 _ACEOF
   2597 
   2598 
   2599 cat >>confdefs.h <<_ACEOF
   2600 #define VERSION "$VERSION"
   2601 _ACEOF
   2602 
   2603 # Some tools Automake needs.
   2604 
   2605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2606 
   2607 
   2608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2609 
   2610 
   2611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2612 
   2613 
   2614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2615 
   2616 
   2617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2618 
   2619 # For better backward compatibility.  To be removed once Automake 1.9.x
   2620 # dies out for good.  For more background, see:
   2621 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2622 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2623 mkdir_p='$(MKDIR_P)'
   2624 
   2625 # We need awk for the "check" target.  The system "awk" is bad on
   2626 # some platforms.
   2627 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2628 # in the wild :-(  We should find a proper way to deprecate it ...
   2629 AMTAR='$${TAR-tar}'
   2630 
   2631 
   2632 # We'll loop over all known methods to create a tar archive until one works.
   2633 _am_tools='gnutar  pax cpio none'
   2634 
   2635 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2636 
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 # POSIX will say in a future version that running "rm -f" with no argument
   2643 # is OK; and we want to be able to make that assumption in our Makefile
   2644 # recipes.  So use an aggressive probe to check that the usage we want is
   2645 # actually supported "in the wild" to an acceptable degree.
   2646 # See automake bug#10828.
   2647 # To make any issue more visible, cause the running configure to be aborted
   2648 # by default if the 'rm' program in use doesn't match our expectations; the
   2649 # user can still override this though.
   2650 if rm -f && rm -fr && rm -rf; then : OK; else
   2651   cat >&2 <<'END'
   2652 Oops!
   2653 
   2654 Your 'rm' program seems unable to run without file operands specified
   2655 on the command line, even when the '-f' option is present.  This is contrary
   2656 to the behaviour of most rm programs out there, and not conforming with
   2657 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2658 
   2659 Please tell bug-automake@gnu.org about your system, including the value
   2660 of your $PATH and any error possibly output before this message.  This
   2661 can help us improve future automake versions.
   2662 
   2663 END
   2664   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2665     echo 'Configuration will proceed anyway, since you have set the' >&2
   2666     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2667     echo >&2
   2668   else
   2669     cat >&2 <<'END'
   2670 Aborting the configuration process, to ensure you take notice of the issue.
   2671 
   2672 You can download and install GNU coreutils to get an 'rm' implementation
   2673 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2674 
   2675 If you want to complete the configuration process using your problematic
   2676 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2677 to "yes", and re-run configure.
   2678 
   2679 END
   2680     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2681   fi
   2682 fi
   2683 
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2685 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2686     # Check whether --enable-maintainer-mode was given.
   2687 if test "${enable_maintainer_mode+set}" = set; then :
   2688   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2689 else
   2690   USE_MAINTAINER_MODE=no
   2691 fi
   2692 
   2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2694 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2695    if test $USE_MAINTAINER_MODE = yes; then
   2696   MAINTAINER_MODE_TRUE=
   2697   MAINTAINER_MODE_FALSE='#'
   2698 else
   2699   MAINTAINER_MODE_TRUE='#'
   2700   MAINTAINER_MODE_FALSE=
   2701 fi
   2702 
   2703   MAINT=$MAINTAINER_MODE_TRUE
   2704 
   2705 
   2706 
   2707 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2708 
   2709 
   2710 
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 
   2718 
   2719 DEPDIR="${am__leading_dot}deps"
   2720 
   2721 ac_config_commands="$ac_config_commands depfiles"
   2722 
   2723 
   2724 am_make=${MAKE-make}
   2725 cat > confinc << 'END'
   2726 am__doit:
   2727 	@echo this is the am__doit target
   2728 .PHONY: am__doit
   2729 END
   2730 # If we don't find an include directive, just comment out the code.
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2732 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2733 am__include="#"
   2734 am__quote=
   2735 _am_result=none
   2736 # First try GNU make style include.
   2737 echo "include confinc" > confmf
   2738 # Ignore all kinds of additional output from 'make'.
   2739 case `$am_make -s -f confmf 2> /dev/null` in #(
   2740 *the\ am__doit\ target*)
   2741   am__include=include
   2742   am__quote=
   2743   _am_result=GNU
   2744   ;;
   2745 esac
   2746 # Now try BSD make style include.
   2747 if test "$am__include" = "#"; then
   2748    echo '.include "confinc"' > confmf
   2749    case `$am_make -s -f confmf 2> /dev/null` in #(
   2750    *the\ am__doit\ target*)
   2751      am__include=.include
   2752      am__quote="\""
   2753      _am_result=BSD
   2754      ;;
   2755    esac
   2756 fi
   2757 
   2758 
   2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2760 $as_echo "$_am_result" >&6; }
   2761 rm -f confinc confmf
   2762 
   2763 # Check whether --enable-dependency-tracking was given.
   2764 if test "${enable_dependency_tracking+set}" = set; then :
   2765   enableval=$enable_dependency_tracking;
   2766 fi
   2767 
   2768 if test "x$enable_dependency_tracking" != xno; then
   2769   am_depcomp="$ac_aux_dir/depcomp"
   2770   AMDEPBACKSLASH='\'
   2771   am__nodep='_no'
   2772 fi
   2773  if test "x$enable_dependency_tracking" != xno; then
   2774   AMDEP_TRUE=
   2775   AMDEP_FALSE='#'
   2776 else
   2777   AMDEP_TRUE='#'
   2778   AMDEP_FALSE=
   2779 fi
   2780 
   2781 
   2782 ac_ext=c
   2783 ac_cpp='$CPP $CPPFLAGS'
   2784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2787 if test -n "$ac_tool_prefix"; then
   2788   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2789 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2791 $as_echo_n "checking for $ac_word... " >&6; }
   2792 if ${ac_cv_prog_CC+:} false; then :
   2793   $as_echo_n "(cached) " >&6
   2794 else
   2795   if test -n "$CC"; then
   2796   ac_cv_prog_CC="$CC" # Let the user override the test.
   2797 else
   2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2799 for as_dir in $PATH
   2800 do
   2801   IFS=$as_save_IFS
   2802   test -z "$as_dir" && as_dir=.
   2803     for ac_exec_ext in '' $ac_executable_extensions; do
   2804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2805     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2807     break 2
   2808   fi
   2809 done
   2810   done
   2811 IFS=$as_save_IFS
   2812 
   2813 fi
   2814 fi
   2815 CC=$ac_cv_prog_CC
   2816 if test -n "$CC"; then
   2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2818 $as_echo "$CC" >&6; }
   2819 else
   2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2821 $as_echo "no" >&6; }
   2822 fi
   2823 
   2824 
   2825 fi
   2826 if test -z "$ac_cv_prog_CC"; then
   2827   ac_ct_CC=$CC
   2828   # Extract the first word of "gcc", so it can be a program name with args.
   2829 set dummy gcc; ac_word=$2
   2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2831 $as_echo_n "checking for $ac_word... " >&6; }
   2832 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   if test -n "$ac_ct_CC"; then
   2836   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2837 else
   2838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2839 for as_dir in $PATH
   2840 do
   2841   IFS=$as_save_IFS
   2842   test -z "$as_dir" && as_dir=.
   2843     for ac_exec_ext in '' $ac_executable_extensions; do
   2844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2845     ac_cv_prog_ac_ct_CC="gcc"
   2846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2847     break 2
   2848   fi
   2849 done
   2850   done
   2851 IFS=$as_save_IFS
   2852 
   2853 fi
   2854 fi
   2855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2856 if test -n "$ac_ct_CC"; then
   2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2858 $as_echo "$ac_ct_CC" >&6; }
   2859 else
   2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2861 $as_echo "no" >&6; }
   2862 fi
   2863 
   2864   if test "x$ac_ct_CC" = x; then
   2865     CC=""
   2866   else
   2867     case $cross_compiling:$ac_tool_warned in
   2868 yes:)
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2871 ac_tool_warned=yes ;;
   2872 esac
   2873     CC=$ac_ct_CC
   2874   fi
   2875 else
   2876   CC="$ac_cv_prog_CC"
   2877 fi
   2878 
   2879 if test -z "$CC"; then
   2880           if test -n "$ac_tool_prefix"; then
   2881     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2882 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2884 $as_echo_n "checking for $ac_word... " >&6; }
   2885 if ${ac_cv_prog_CC+:} false; then :
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   if test -n "$CC"; then
   2889   ac_cv_prog_CC="$CC" # Let the user override the test.
   2890 else
   2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2892 for as_dir in $PATH
   2893 do
   2894   IFS=$as_save_IFS
   2895   test -z "$as_dir" && as_dir=.
   2896     for ac_exec_ext in '' $ac_executable_extensions; do
   2897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2898     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2900     break 2
   2901   fi
   2902 done
   2903   done
   2904 IFS=$as_save_IFS
   2905 
   2906 fi
   2907 fi
   2908 CC=$ac_cv_prog_CC
   2909 if test -n "$CC"; then
   2910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2911 $as_echo "$CC" >&6; }
   2912 else
   2913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2914 $as_echo "no" >&6; }
   2915 fi
   2916 
   2917 
   2918   fi
   2919 fi
   2920 if test -z "$CC"; then
   2921   # Extract the first word of "cc", so it can be a program name with args.
   2922 set dummy cc; ac_word=$2
   2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2924 $as_echo_n "checking for $ac_word... " >&6; }
   2925 if ${ac_cv_prog_CC+:} false; then :
   2926   $as_echo_n "(cached) " >&6
   2927 else
   2928   if test -n "$CC"; then
   2929   ac_cv_prog_CC="$CC" # Let the user override the test.
   2930 else
   2931   ac_prog_rejected=no
   2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2933 for as_dir in $PATH
   2934 do
   2935   IFS=$as_save_IFS
   2936   test -z "$as_dir" && as_dir=.
   2937     for ac_exec_ext in '' $ac_executable_extensions; do
   2938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2939     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2940        ac_prog_rejected=yes
   2941        continue
   2942      fi
   2943     ac_cv_prog_CC="cc"
   2944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2945     break 2
   2946   fi
   2947 done
   2948   done
   2949 IFS=$as_save_IFS
   2950 
   2951 if test $ac_prog_rejected = yes; then
   2952   # We found a bogon in the path, so make sure we never use it.
   2953   set dummy $ac_cv_prog_CC
   2954   shift
   2955   if test $# != 0; then
   2956     # We chose a different compiler from the bogus one.
   2957     # However, it has the same basename, so the bogon will be chosen
   2958     # first if we set CC to just the basename; use the full file name.
   2959     shift
   2960     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2961   fi
   2962 fi
   2963 fi
   2964 fi
   2965 CC=$ac_cv_prog_CC
   2966 if test -n "$CC"; then
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2968 $as_echo "$CC" >&6; }
   2969 else
   2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 $as_echo "no" >&6; }
   2972 fi
   2973 
   2974 
   2975 fi
   2976 if test -z "$CC"; then
   2977   if test -n "$ac_tool_prefix"; then
   2978   for ac_prog in cl.exe
   2979   do
   2980     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2983 $as_echo_n "checking for $ac_word... " >&6; }
   2984 if ${ac_cv_prog_CC+:} false; then :
   2985   $as_echo_n "(cached) " >&6
   2986 else
   2987   if test -n "$CC"; then
   2988   ac_cv_prog_CC="$CC" # Let the user override the test.
   2989 else
   2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2991 for as_dir in $PATH
   2992 do
   2993   IFS=$as_save_IFS
   2994   test -z "$as_dir" && as_dir=.
   2995     for ac_exec_ext in '' $ac_executable_extensions; do
   2996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2997     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2999     break 2
   3000   fi
   3001 done
   3002   done
   3003 IFS=$as_save_IFS
   3004 
   3005 fi
   3006 fi
   3007 CC=$ac_cv_prog_CC
   3008 if test -n "$CC"; then
   3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3010 $as_echo "$CC" >&6; }
   3011 else
   3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3013 $as_echo "no" >&6; }
   3014 fi
   3015 
   3016 
   3017     test -n "$CC" && break
   3018   done
   3019 fi
   3020 if test -z "$CC"; then
   3021   ac_ct_CC=$CC
   3022   for ac_prog in cl.exe
   3023 do
   3024   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3025 set dummy $ac_prog; ac_word=$2
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3027 $as_echo_n "checking for $ac_word... " >&6; }
   3028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3029   $as_echo_n "(cached) " >&6
   3030 else
   3031   if test -n "$ac_ct_CC"; then
   3032   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3033 else
   3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3035 for as_dir in $PATH
   3036 do
   3037   IFS=$as_save_IFS
   3038   test -z "$as_dir" && as_dir=.
   3039     for ac_exec_ext in '' $ac_executable_extensions; do
   3040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3041     ac_cv_prog_ac_ct_CC="$ac_prog"
   3042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3043     break 2
   3044   fi
   3045 done
   3046   done
   3047 IFS=$as_save_IFS
   3048 
   3049 fi
   3050 fi
   3051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3052 if test -n "$ac_ct_CC"; then
   3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3054 $as_echo "$ac_ct_CC" >&6; }
   3055 else
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3057 $as_echo "no" >&6; }
   3058 fi
   3059 
   3060 
   3061   test -n "$ac_ct_CC" && break
   3062 done
   3063 
   3064   if test "x$ac_ct_CC" = x; then
   3065     CC=""
   3066   else
   3067     case $cross_compiling:$ac_tool_warned in
   3068 yes:)
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3071 ac_tool_warned=yes ;;
   3072 esac
   3073     CC=$ac_ct_CC
   3074   fi
   3075 fi
   3076 
   3077 fi
   3078 
   3079 
   3080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3082 as_fn_error $? "no acceptable C compiler found in \$PATH
   3083 See \`config.log' for more details" "$LINENO" 5; }
   3084 
   3085 # Provide some information about the compiler.
   3086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3087 set X $ac_compile
   3088 ac_compiler=$2
   3089 for ac_option in --version -v -V -qversion; do
   3090   { { ac_try="$ac_compiler $ac_option >&5"
   3091 case "(($ac_try" in
   3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3093   *) ac_try_echo=$ac_try;;
   3094 esac
   3095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3096 $as_echo "$ac_try_echo"; } >&5
   3097   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3098   ac_status=$?
   3099   if test -s conftest.err; then
   3100     sed '10a\
   3101 ... rest of stderr output deleted ...
   3102          10q' conftest.err >conftest.er1
   3103     cat conftest.er1 >&5
   3104   fi
   3105   rm -f conftest.er1 conftest.err
   3106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3107   test $ac_status = 0; }
   3108 done
   3109 
   3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3111 /* end confdefs.h.  */
   3112 
   3113 int
   3114 main ()
   3115 {
   3116 
   3117   ;
   3118   return 0;
   3119 }
   3120 _ACEOF
   3121 ac_clean_files_save=$ac_clean_files
   3122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3123 # Try to create an executable without -o first, disregard a.out.
   3124 # It will help us diagnose broken compilers, and finding out an intuition
   3125 # of exeext.
   3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3127 $as_echo_n "checking whether the C compiler works... " >&6; }
   3128 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3129 
   3130 # The possible output files:
   3131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3132 
   3133 ac_rmfiles=
   3134 for ac_file in $ac_files
   3135 do
   3136   case $ac_file in
   3137     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3138     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3139   esac
   3140 done
   3141 rm -f $ac_rmfiles
   3142 
   3143 if { { ac_try="$ac_link_default"
   3144 case "(($ac_try" in
   3145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3146   *) ac_try_echo=$ac_try;;
   3147 esac
   3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3149 $as_echo "$ac_try_echo"; } >&5
   3150   (eval "$ac_link_default") 2>&5
   3151   ac_status=$?
   3152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3153   test $ac_status = 0; }; then :
   3154   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3155 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3156 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3157 # so that the user can short-circuit this test for compilers unknown to
   3158 # Autoconf.
   3159 for ac_file in $ac_files ''
   3160 do
   3161   test -f "$ac_file" || continue
   3162   case $ac_file in
   3163     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3164 	;;
   3165     [ab].out )
   3166 	# We found the default executable, but exeext='' is most
   3167 	# certainly right.
   3168 	break;;
   3169     *.* )
   3170 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3171 	then :; else
   3172 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3173 	fi
   3174 	# We set ac_cv_exeext here because the later test for it is not
   3175 	# safe: cross compilers may not add the suffix if given an `-o'
   3176 	# argument, so we may need to know it at that point already.
   3177 	# Even if this section looks crufty: it has the advantage of
   3178 	# actually working.
   3179 	break;;
   3180     * )
   3181 	break;;
   3182   esac
   3183 done
   3184 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3185 
   3186 else
   3187   ac_file=''
   3188 fi
   3189 if test -z "$ac_file"; then :
   3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3191 $as_echo "no" >&6; }
   3192 $as_echo "$as_me: failed program was:" >&5
   3193 sed 's/^/| /' conftest.$ac_ext >&5
   3194 
   3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3197 as_fn_error 77 "C compiler cannot create executables
   3198 See \`config.log' for more details" "$LINENO" 5; }
   3199 else
   3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3201 $as_echo "yes" >&6; }
   3202 fi
   3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3204 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3206 $as_echo "$ac_file" >&6; }
   3207 ac_exeext=$ac_cv_exeext
   3208 
   3209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3210 ac_clean_files=$ac_clean_files_save
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3212 $as_echo_n "checking for suffix of executables... " >&6; }
   3213 if { { ac_try="$ac_link"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo"; } >&5
   3220   (eval "$ac_link") 2>&5
   3221   ac_status=$?
   3222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3223   test $ac_status = 0; }; then :
   3224   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3225 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3226 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3227 # `rm'.
   3228 for ac_file in conftest.exe conftest conftest.*; do
   3229   test -f "$ac_file" || continue
   3230   case $ac_file in
   3231     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3232     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3233 	  break;;
   3234     * ) break;;
   3235   esac
   3236 done
   3237 else
   3238   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3240 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3241 See \`config.log' for more details" "$LINENO" 5; }
   3242 fi
   3243 rm -f conftest conftest$ac_cv_exeext
   3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3245 $as_echo "$ac_cv_exeext" >&6; }
   3246 
   3247 rm -f conftest.$ac_ext
   3248 EXEEXT=$ac_cv_exeext
   3249 ac_exeext=$EXEEXT
   3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3251 /* end confdefs.h.  */
   3252 #include <stdio.h>
   3253 int
   3254 main ()
   3255 {
   3256 FILE *f = fopen ("conftest.out", "w");
   3257  return ferror (f) || fclose (f) != 0;
   3258 
   3259   ;
   3260   return 0;
   3261 }
   3262 _ACEOF
   3263 ac_clean_files="$ac_clean_files conftest.out"
   3264 # Check that the compiler produces executables we can run.  If not, either
   3265 # the compiler is broken, or we cross compile.
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3267 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3268 if test "$cross_compiling" != yes; then
   3269   { { ac_try="$ac_link"
   3270 case "(($ac_try" in
   3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3272   *) ac_try_echo=$ac_try;;
   3273 esac
   3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3275 $as_echo "$ac_try_echo"; } >&5
   3276   (eval "$ac_link") 2>&5
   3277   ac_status=$?
   3278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3279   test $ac_status = 0; }
   3280   if { ac_try='./conftest$ac_cv_exeext'
   3281   { { case "(($ac_try" in
   3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3283   *) ac_try_echo=$ac_try;;
   3284 esac
   3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3286 $as_echo "$ac_try_echo"; } >&5
   3287   (eval "$ac_try") 2>&5
   3288   ac_status=$?
   3289   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3290   test $ac_status = 0; }; }; then
   3291     cross_compiling=no
   3292   else
   3293     if test "$cross_compiling" = maybe; then
   3294 	cross_compiling=yes
   3295     else
   3296 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 as_fn_error $? "cannot run C compiled programs.
   3299 If you meant to cross compile, use \`--host'.
   3300 See \`config.log' for more details" "$LINENO" 5; }
   3301     fi
   3302   fi
   3303 fi
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3305 $as_echo "$cross_compiling" >&6; }
   3306 
   3307 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3308 ac_clean_files=$ac_clean_files_save
   3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3310 $as_echo_n "checking for suffix of object files... " >&6; }
   3311 if ${ac_cv_objext+:} false; then :
   3312   $as_echo_n "(cached) " >&6
   3313 else
   3314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3315 /* end confdefs.h.  */
   3316 
   3317 int
   3318 main ()
   3319 {
   3320 
   3321   ;
   3322   return 0;
   3323 }
   3324 _ACEOF
   3325 rm -f conftest.o conftest.obj
   3326 if { { ac_try="$ac_compile"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo"; } >&5
   3333   (eval "$ac_compile") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3336   test $ac_status = 0; }; then :
   3337   for ac_file in conftest.o conftest.obj conftest.*; do
   3338   test -f "$ac_file" || continue;
   3339   case $ac_file in
   3340     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3341     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3342        break;;
   3343   esac
   3344 done
   3345 else
   3346   $as_echo "$as_me: failed program was:" >&5
   3347 sed 's/^/| /' conftest.$ac_ext >&5
   3348 
   3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3351 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3352 See \`config.log' for more details" "$LINENO" 5; }
   3353 fi
   3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3355 fi
   3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3357 $as_echo "$ac_cv_objext" >&6; }
   3358 OBJEXT=$ac_cv_objext
   3359 ac_objext=$OBJEXT
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3362 if ${ac_cv_c_compiler_gnu+:} false; then :
   3363   $as_echo_n "(cached) " >&6
   3364 else
   3365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3366 /* end confdefs.h.  */
   3367 
   3368 int
   3369 main ()
   3370 {
   3371 #ifndef __GNUC__
   3372        choke me
   3373 #endif
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 if ac_fn_c_try_compile "$LINENO"; then :
   3380   ac_compiler_gnu=yes
   3381 else
   3382   ac_compiler_gnu=no
   3383 fi
   3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3386 
   3387 fi
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3390 if test $ac_compiler_gnu = yes; then
   3391   GCC=yes
   3392 else
   3393   GCC=
   3394 fi
   3395 ac_test_CFLAGS=${CFLAGS+set}
   3396 ac_save_CFLAGS=$CFLAGS
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3399 if ${ac_cv_prog_cc_g+:} false; then :
   3400   $as_echo_n "(cached) " >&6
   3401 else
   3402   ac_save_c_werror_flag=$ac_c_werror_flag
   3403    ac_c_werror_flag=yes
   3404    ac_cv_prog_cc_g=no
   3405    CFLAGS="-g"
   3406    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3407 /* end confdefs.h.  */
   3408 
   3409 int
   3410 main ()
   3411 {
   3412 
   3413   ;
   3414   return 0;
   3415 }
   3416 _ACEOF
   3417 if ac_fn_c_try_compile "$LINENO"; then :
   3418   ac_cv_prog_cc_g=yes
   3419 else
   3420   CFLAGS=""
   3421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3422 /* end confdefs.h.  */
   3423 
   3424 int
   3425 main ()
   3426 {
   3427 
   3428   ;
   3429   return 0;
   3430 }
   3431 _ACEOF
   3432 if ac_fn_c_try_compile "$LINENO"; then :
   3433 
   3434 else
   3435   ac_c_werror_flag=$ac_save_c_werror_flag
   3436 	 CFLAGS="-g"
   3437 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 
   3440 int
   3441 main ()
   3442 {
   3443 
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 if ac_fn_c_try_compile "$LINENO"; then :
   3449   ac_cv_prog_cc_g=yes
   3450 fi
   3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3452 fi
   3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3454 fi
   3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3456    ac_c_werror_flag=$ac_save_c_werror_flag
   3457 fi
   3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3459 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3460 if test "$ac_test_CFLAGS" = set; then
   3461   CFLAGS=$ac_save_CFLAGS
   3462 elif test $ac_cv_prog_cc_g = yes; then
   3463   if test "$GCC" = yes; then
   3464     CFLAGS="-g -O2"
   3465   else
   3466     CFLAGS="-g"
   3467   fi
   3468 else
   3469   if test "$GCC" = yes; then
   3470     CFLAGS="-O2"
   3471   else
   3472     CFLAGS=
   3473   fi
   3474 fi
   3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3477 if ${ac_cv_prog_cc_c89+:} false; then :
   3478   $as_echo_n "(cached) " >&6
   3479 else
   3480   ac_cv_prog_cc_c89=no
   3481 ac_save_CC=$CC
   3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3483 /* end confdefs.h.  */
   3484 #include <stdarg.h>
   3485 #include <stdio.h>
   3486 #include <sys/types.h>
   3487 #include <sys/stat.h>
   3488 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3489 struct buf { int x; };
   3490 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3491 static char *e (p, i)
   3492      char **p;
   3493      int i;
   3494 {
   3495   return p[i];
   3496 }
   3497 static char *f (char * (*g) (char **, int), char **p, ...)
   3498 {
   3499   char *s;
   3500   va_list v;
   3501   va_start (v,p);
   3502   s = g (p, va_arg (v,int));
   3503   va_end (v);
   3504   return s;
   3505 }
   3506 
   3507 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3508    function prototypes and stuff, but not '\xHH' hex character constants.
   3509    These don't provoke an error unfortunately, instead are silently treated
   3510    as 'x'.  The following induces an error, until -std is added to get
   3511    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3512    array size at least.  It's necessary to write '\x00'==0 to get something
   3513    that's true only with -std.  */
   3514 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3515 
   3516 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3517    inside strings and character constants.  */
   3518 #define FOO(x) 'x'
   3519 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3520 
   3521 int test (int i, double x);
   3522 struct s1 {int (*f) (int a);};
   3523 struct s2 {int (*f) (double a);};
   3524 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3525 int argc;
   3526 char **argv;
   3527 int
   3528 main ()
   3529 {
   3530 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3536 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3537 do
   3538   CC="$ac_save_CC $ac_arg"
   3539   if ac_fn_c_try_compile "$LINENO"; then :
   3540   ac_cv_prog_cc_c89=$ac_arg
   3541 fi
   3542 rm -f core conftest.err conftest.$ac_objext
   3543   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3544 done
   3545 rm -f conftest.$ac_ext
   3546 CC=$ac_save_CC
   3547 
   3548 fi
   3549 # AC_CACHE_VAL
   3550 case "x$ac_cv_prog_cc_c89" in
   3551   x)
   3552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3553 $as_echo "none needed" >&6; } ;;
   3554   xno)
   3555     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3556 $as_echo "unsupported" >&6; } ;;
   3557   *)
   3558     CC="$CC $ac_cv_prog_cc_c89"
   3559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3560 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3561 esac
   3562 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3563 
   3564 fi
   3565 
   3566 ac_ext=c
   3567 ac_cpp='$CPP $CPPFLAGS'
   3568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3571 
   3572 ac_ext=c
   3573 ac_cpp='$CPP $CPPFLAGS'
   3574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3578 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3579 if ${am_cv_prog_cc_c_o+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593   # Make sure it works both with $CC and with simple cc.
   3594   # Following AC_PROG_CC_C_O, we do the test twice because some
   3595   # compilers refuse to overwrite an existing .o file with -o,
   3596   # though they will create one.
   3597   am_cv_prog_cc_c_o=yes
   3598   for am_i in 1 2; do
   3599     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3600    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3601    ac_status=$?
   3602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3603    (exit $ac_status); } \
   3604          && test -f conftest2.$ac_objext; then
   3605       : OK
   3606     else
   3607       am_cv_prog_cc_c_o=no
   3608       break
   3609     fi
   3610   done
   3611   rm -f core conftest*
   3612   unset am_i
   3613 fi
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3615 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3616 if test "$am_cv_prog_cc_c_o" != yes; then
   3617    # Losing compiler, so override with the script.
   3618    # FIXME: It is wrong to rewrite CC.
   3619    # But if we don't then we get into trouble of one sort or another.
   3620    # A longer-term fix would be to have automake use am__CC in this case,
   3621    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3622    CC="$am_aux_dir/compile $CC"
   3623 fi
   3624 ac_ext=c
   3625 ac_cpp='$CPP $CPPFLAGS'
   3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3629 
   3630 
   3631 depcc="$CC"   am_compiler_list=
   3632 
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3634 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3635 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3636   $as_echo_n "(cached) " >&6
   3637 else
   3638   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3639   # We make a subdir and do the tests there.  Otherwise we can end up
   3640   # making bogus files that we don't know about and never remove.  For
   3641   # instance it was reported that on HP-UX the gcc test will end up
   3642   # making a dummy file named 'D' -- because '-MD' means "put the output
   3643   # in D".
   3644   rm -rf conftest.dir
   3645   mkdir conftest.dir
   3646   # Copy depcomp to subdir because otherwise we won't find it if we're
   3647   # using a relative directory.
   3648   cp "$am_depcomp" conftest.dir
   3649   cd conftest.dir
   3650   # We will build objects and dependencies in a subdirectory because
   3651   # it helps to detect inapplicable dependency modes.  For instance
   3652   # both Tru64's cc and ICC support -MD to output dependencies as a
   3653   # side effect of compilation, but ICC will put the dependencies in
   3654   # the current directory while Tru64 will put them in the object
   3655   # directory.
   3656   mkdir sub
   3657 
   3658   am_cv_CC_dependencies_compiler_type=none
   3659   if test "$am_compiler_list" = ""; then
   3660      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3661   fi
   3662   am__universal=false
   3663   case " $depcc " in #(
   3664      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3665      esac
   3666 
   3667   for depmode in $am_compiler_list; do
   3668     # Setup a source with many dependencies, because some compilers
   3669     # like to wrap large dependency lists on column 80 (with \), and
   3670     # we should not choose a depcomp mode which is confused by this.
   3671     #
   3672     # We need to recreate these files for each test, as the compiler may
   3673     # overwrite some of them when testing with obscure command lines.
   3674     # This happens at least with the AIX C compiler.
   3675     : > sub/conftest.c
   3676     for i in 1 2 3 4 5 6; do
   3677       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3678       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3679       # Solaris 10 /bin/sh.
   3680       echo '/* dummy */' > sub/conftst$i.h
   3681     done
   3682     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3683 
   3684     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3685     # mode.  It turns out that the SunPro C++ compiler does not properly
   3686     # handle '-M -o', and we need to detect this.  Also, some Intel
   3687     # versions had trouble with output in subdirs.
   3688     am__obj=sub/conftest.${OBJEXT-o}
   3689     am__minus_obj="-o $am__obj"
   3690     case $depmode in
   3691     gcc)
   3692       # This depmode causes a compiler race in universal mode.
   3693       test "$am__universal" = false || continue
   3694       ;;
   3695     nosideeffect)
   3696       # After this tag, mechanisms are not by side-effect, so they'll
   3697       # only be used when explicitly requested.
   3698       if test "x$enable_dependency_tracking" = xyes; then
   3699 	continue
   3700       else
   3701 	break
   3702       fi
   3703       ;;
   3704     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3705       # This compiler won't grok '-c -o', but also, the minuso test has
   3706       # not run yet.  These depmodes are late enough in the game, and
   3707       # so weak that their functioning should not be impacted.
   3708       am__obj=conftest.${OBJEXT-o}
   3709       am__minus_obj=
   3710       ;;
   3711     none) break ;;
   3712     esac
   3713     if depmode=$depmode \
   3714        source=sub/conftest.c object=$am__obj \
   3715        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3716        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3717          >/dev/null 2>conftest.err &&
   3718        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3719        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3720        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3721        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3722       # icc doesn't choke on unknown options, it will just issue warnings
   3723       # or remarks (even with -Werror).  So we grep stderr for any message
   3724       # that says an option was ignored or not supported.
   3725       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3726       #   icc: Command line warning: ignoring option '-M'; no argument required
   3727       # The diagnosis changed in icc 8.0:
   3728       #   icc: Command line remark: option '-MP' not supported
   3729       if (grep 'ignoring option' conftest.err ||
   3730           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3731         am_cv_CC_dependencies_compiler_type=$depmode
   3732         break
   3733       fi
   3734     fi
   3735   done
   3736 
   3737   cd ..
   3738   rm -rf conftest.dir
   3739 else
   3740   am_cv_CC_dependencies_compiler_type=none
   3741 fi
   3742 
   3743 fi
   3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3745 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3746 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3747 
   3748  if
   3749   test "x$enable_dependency_tracking" != xno \
   3750   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3751   am__fastdepCC_TRUE=
   3752   am__fastdepCC_FALSE='#'
   3753 else
   3754   am__fastdepCC_TRUE='#'
   3755   am__fastdepCC_FALSE=
   3756 fi
   3757 
   3758 
   3759    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3760 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3761 if ${ac_cv_prog_cc_c99+:} false; then :
   3762   $as_echo_n "(cached) " >&6
   3763 else
   3764   ac_cv_prog_cc_c99=no
   3765 ac_save_CC=$CC
   3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3767 /* end confdefs.h.  */
   3768 #include <stdarg.h>
   3769 #include <stdbool.h>
   3770 #include <stdlib.h>
   3771 #include <wchar.h>
   3772 #include <stdio.h>
   3773 
   3774 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3775 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3776 #define showlist(...) puts (#__VA_ARGS__)
   3777 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3778 static void
   3779 test_varargs_macros (void)
   3780 {
   3781   int x = 1234;
   3782   int y = 5678;
   3783   debug ("Flag");
   3784   debug ("X = %d\n", x);
   3785   showlist (The first, second, and third items.);
   3786   report (x>y, "x is %d but y is %d", x, y);
   3787 }
   3788 
   3789 // Check long long types.
   3790 #define BIG64 18446744073709551615ull
   3791 #define BIG32 4294967295ul
   3792 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3793 #if !BIG_OK
   3794   your preprocessor is broken;
   3795 #endif
   3796 #if BIG_OK
   3797 #else
   3798   your preprocessor is broken;
   3799 #endif
   3800 static long long int bignum = -9223372036854775807LL;
   3801 static unsigned long long int ubignum = BIG64;
   3802 
   3803 struct incomplete_array
   3804 {
   3805   int datasize;
   3806   double data[];
   3807 };
   3808 
   3809 struct named_init {
   3810   int number;
   3811   const wchar_t *name;
   3812   double average;
   3813 };
   3814 
   3815 typedef const char *ccp;
   3816 
   3817 static inline int
   3818 test_restrict (ccp restrict text)
   3819 {
   3820   // See if C++-style comments work.
   3821   // Iterate through items via the restricted pointer.
   3822   // Also check for declarations in for loops.
   3823   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3824     continue;
   3825   return 0;
   3826 }
   3827 
   3828 // Check varargs and va_copy.
   3829 static void
   3830 test_varargs (const char *format, ...)
   3831 {
   3832   va_list args;
   3833   va_start (args, format);
   3834   va_list args_copy;
   3835   va_copy (args_copy, args);
   3836 
   3837   const char *str;
   3838   int number;
   3839   float fnumber;
   3840 
   3841   while (*format)
   3842     {
   3843       switch (*format++)
   3844 	{
   3845 	case 's': // string
   3846 	  str = va_arg (args_copy, const char *);
   3847 	  break;
   3848 	case 'd': // int
   3849 	  number = va_arg (args_copy, int);
   3850 	  break;
   3851 	case 'f': // float
   3852 	  fnumber = va_arg (args_copy, double);
   3853 	  break;
   3854 	default:
   3855 	  break;
   3856 	}
   3857     }
   3858   va_end (args_copy);
   3859   va_end (args);
   3860 }
   3861 
   3862 int
   3863 main ()
   3864 {
   3865 
   3866   // Check bool.
   3867   _Bool success = false;
   3868 
   3869   // Check restrict.
   3870   if (test_restrict ("String literal") == 0)
   3871     success = true;
   3872   char *restrict newvar = "Another string";
   3873 
   3874   // Check varargs.
   3875   test_varargs ("s, d' f .", "string", 65, 34.234);
   3876   test_varargs_macros ();
   3877 
   3878   // Check flexible array members.
   3879   struct incomplete_array *ia =
   3880     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3881   ia->datasize = 10;
   3882   for (int i = 0; i < ia->datasize; ++i)
   3883     ia->data[i] = i * 1.234;
   3884 
   3885   // Check named initializers.
   3886   struct named_init ni = {
   3887     .number = 34,
   3888     .name = L"Test wide string",
   3889     .average = 543.34343,
   3890   };
   3891 
   3892   ni.number = 58;
   3893 
   3894   int dynamic_array[ni.number];
   3895   dynamic_array[ni.number - 1] = 543;
   3896 
   3897   // work around unused variable warnings
   3898   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3899 	  || dynamic_array[ni.number - 1] != 543);
   3900 
   3901   ;
   3902   return 0;
   3903 }
   3904 _ACEOF
   3905 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3906 do
   3907   CC="$ac_save_CC $ac_arg"
   3908   if ac_fn_c_try_compile "$LINENO"; then :
   3909   ac_cv_prog_cc_c99=$ac_arg
   3910 fi
   3911 rm -f core conftest.err conftest.$ac_objext
   3912   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3913 done
   3914 rm -f conftest.$ac_ext
   3915 CC=$ac_save_CC
   3916 
   3917 fi
   3918 # AC_CACHE_VAL
   3919 case "x$ac_cv_prog_cc_c99" in
   3920   x)
   3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3922 $as_echo "none needed" >&6; } ;;
   3923   xno)
   3924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3925 $as_echo "unsupported" >&6; } ;;
   3926   *)
   3927     CC="$CC $ac_cv_prog_cc_c99"
   3928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3929 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3930 esac
   3931 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3932 
   3933 fi
   3934 
   3935 
   3936 
   3937 ac_ext=c
   3938 ac_cpp='$CPP $CPPFLAGS'
   3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3943 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3944 # On Suns, sometimes $CPP names a directory.
   3945 if test -n "$CPP" && test -d "$CPP"; then
   3946   CPP=
   3947 fi
   3948 if test -z "$CPP"; then
   3949   if ${ac_cv_prog_CPP+:} false; then :
   3950   $as_echo_n "(cached) " >&6
   3951 else
   3952       # Double quotes because CPP needs to be expanded
   3953     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3954     do
   3955       ac_preproc_ok=false
   3956 for ac_c_preproc_warn_flag in '' yes
   3957 do
   3958   # Use a header file that comes with gcc, so configuring glibc
   3959   # with a fresh cross-compiler works.
   3960   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3961   # <limits.h> exists even on freestanding compilers.
   3962   # On the NeXT, cc -E runs the code through the compiler's parser,
   3963   # not just through cpp. "Syntax error" is here to catch this case.
   3964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3965 /* end confdefs.h.  */
   3966 #ifdef __STDC__
   3967 # include <limits.h>
   3968 #else
   3969 # include <assert.h>
   3970 #endif
   3971 		     Syntax error
   3972 _ACEOF
   3973 if ac_fn_c_try_cpp "$LINENO"; then :
   3974 
   3975 else
   3976   # Broken: fails on valid input.
   3977 continue
   3978 fi
   3979 rm -f conftest.err conftest.i conftest.$ac_ext
   3980 
   3981   # OK, works on sane cases.  Now check whether nonexistent headers
   3982   # can be detected and how.
   3983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3984 /* end confdefs.h.  */
   3985 #include <ac_nonexistent.h>
   3986 _ACEOF
   3987 if ac_fn_c_try_cpp "$LINENO"; then :
   3988   # Broken: success on invalid input.
   3989 continue
   3990 else
   3991   # Passes both tests.
   3992 ac_preproc_ok=:
   3993 break
   3994 fi
   3995 rm -f conftest.err conftest.i conftest.$ac_ext
   3996 
   3997 done
   3998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3999 rm -f conftest.i conftest.err conftest.$ac_ext
   4000 if $ac_preproc_ok; then :
   4001   break
   4002 fi
   4003 
   4004     done
   4005     ac_cv_prog_CPP=$CPP
   4006 
   4007 fi
   4008   CPP=$ac_cv_prog_CPP
   4009 else
   4010   ac_cv_prog_CPP=$CPP
   4011 fi
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4013 $as_echo "$CPP" >&6; }
   4014 ac_preproc_ok=false
   4015 for ac_c_preproc_warn_flag in '' yes
   4016 do
   4017   # Use a header file that comes with gcc, so configuring glibc
   4018   # with a fresh cross-compiler works.
   4019   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4020   # <limits.h> exists even on freestanding compilers.
   4021   # On the NeXT, cc -E runs the code through the compiler's parser,
   4022   # not just through cpp. "Syntax error" is here to catch this case.
   4023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4024 /* end confdefs.h.  */
   4025 #ifdef __STDC__
   4026 # include <limits.h>
   4027 #else
   4028 # include <assert.h>
   4029 #endif
   4030 		     Syntax error
   4031 _ACEOF
   4032 if ac_fn_c_try_cpp "$LINENO"; then :
   4033 
   4034 else
   4035   # Broken: fails on valid input.
   4036 continue
   4037 fi
   4038 rm -f conftest.err conftest.i conftest.$ac_ext
   4039 
   4040   # OK, works on sane cases.  Now check whether nonexistent headers
   4041   # can be detected and how.
   4042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 #include <ac_nonexistent.h>
   4045 _ACEOF
   4046 if ac_fn_c_try_cpp "$LINENO"; then :
   4047   # Broken: success on invalid input.
   4048 continue
   4049 else
   4050   # Passes both tests.
   4051 ac_preproc_ok=:
   4052 break
   4053 fi
   4054 rm -f conftest.err conftest.i conftest.$ac_ext
   4055 
   4056 done
   4057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4058 rm -f conftest.i conftest.err conftest.$ac_ext
   4059 if $ac_preproc_ok; then :
   4060 
   4061 else
   4062   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4064 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4065 See \`config.log' for more details" "$LINENO" 5; }
   4066 fi
   4067 
   4068 ac_ext=c
   4069 ac_cpp='$CPP $CPPFLAGS'
   4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4073 
   4074 
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4076 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4077 if ${ac_cv_path_GREP+:} false; then :
   4078   $as_echo_n "(cached) " >&6
   4079 else
   4080   if test -z "$GREP"; then
   4081   ac_path_GREP_found=false
   4082   # Loop through the user's path and test for each of PROGNAME-LIST
   4083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4084 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4085 do
   4086   IFS=$as_save_IFS
   4087   test -z "$as_dir" && as_dir=.
   4088     for ac_prog in grep ggrep; do
   4089     for ac_exec_ext in '' $ac_executable_extensions; do
   4090       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4091       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4092 # Check for GNU ac_path_GREP and select it if it is found.
   4093   # Check for GNU $ac_path_GREP
   4094 case `"$ac_path_GREP" --version 2>&1` in
   4095 *GNU*)
   4096   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4097 *)
   4098   ac_count=0
   4099   $as_echo_n 0123456789 >"conftest.in"
   4100   while :
   4101   do
   4102     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4103     mv "conftest.tmp" "conftest.in"
   4104     cp "conftest.in" "conftest.nl"
   4105     $as_echo 'GREP' >> "conftest.nl"
   4106     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4107     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4108     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4109     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4110       # Best one so far, save it but keep looking for a better one
   4111       ac_cv_path_GREP="$ac_path_GREP"
   4112       ac_path_GREP_max=$ac_count
   4113     fi
   4114     # 10*(2^10) chars as input seems more than enough
   4115     test $ac_count -gt 10 && break
   4116   done
   4117   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4118 esac
   4119 
   4120       $ac_path_GREP_found && break 3
   4121     done
   4122   done
   4123   done
   4124 IFS=$as_save_IFS
   4125   if test -z "$ac_cv_path_GREP"; then
   4126     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4127   fi
   4128 else
   4129   ac_cv_path_GREP=$GREP
   4130 fi
   4131 
   4132 fi
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4134 $as_echo "$ac_cv_path_GREP" >&6; }
   4135  GREP="$ac_cv_path_GREP"
   4136 
   4137 
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4139 $as_echo_n "checking for egrep... " >&6; }
   4140 if ${ac_cv_path_EGREP+:} false; then :
   4141   $as_echo_n "(cached) " >&6
   4142 else
   4143   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4144    then ac_cv_path_EGREP="$GREP -E"
   4145    else
   4146      if test -z "$EGREP"; then
   4147   ac_path_EGREP_found=false
   4148   # Loop through the user's path and test for each of PROGNAME-LIST
   4149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4150 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4151 do
   4152   IFS=$as_save_IFS
   4153   test -z "$as_dir" && as_dir=.
   4154     for ac_prog in egrep; do
   4155     for ac_exec_ext in '' $ac_executable_extensions; do
   4156       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4157       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4158 # Check for GNU ac_path_EGREP and select it if it is found.
   4159   # Check for GNU $ac_path_EGREP
   4160 case `"$ac_path_EGREP" --version 2>&1` in
   4161 *GNU*)
   4162   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4163 *)
   4164   ac_count=0
   4165   $as_echo_n 0123456789 >"conftest.in"
   4166   while :
   4167   do
   4168     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4169     mv "conftest.tmp" "conftest.in"
   4170     cp "conftest.in" "conftest.nl"
   4171     $as_echo 'EGREP' >> "conftest.nl"
   4172     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4173     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4174     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4175     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4176       # Best one so far, save it but keep looking for a better one
   4177       ac_cv_path_EGREP="$ac_path_EGREP"
   4178       ac_path_EGREP_max=$ac_count
   4179     fi
   4180     # 10*(2^10) chars as input seems more than enough
   4181     test $ac_count -gt 10 && break
   4182   done
   4183   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4184 esac
   4185 
   4186       $ac_path_EGREP_found && break 3
   4187     done
   4188   done
   4189   done
   4190 IFS=$as_save_IFS
   4191   if test -z "$ac_cv_path_EGREP"; then
   4192     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4193   fi
   4194 else
   4195   ac_cv_path_EGREP=$EGREP
   4196 fi
   4197 
   4198    fi
   4199 fi
   4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4201 $as_echo "$ac_cv_path_EGREP" >&6; }
   4202  EGREP="$ac_cv_path_EGREP"
   4203 
   4204 
   4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4206 $as_echo_n "checking for ANSI C header files... " >&6; }
   4207 if ${ac_cv_header_stdc+:} false; then :
   4208   $as_echo_n "(cached) " >&6
   4209 else
   4210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4211 /* end confdefs.h.  */
   4212 #include <stdlib.h>
   4213 #include <stdarg.h>
   4214 #include <string.h>
   4215 #include <float.h>
   4216 
   4217 int
   4218 main ()
   4219 {
   4220 
   4221   ;
   4222   return 0;
   4223 }
   4224 _ACEOF
   4225 if ac_fn_c_try_compile "$LINENO"; then :
   4226   ac_cv_header_stdc=yes
   4227 else
   4228   ac_cv_header_stdc=no
   4229 fi
   4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4231 
   4232 if test $ac_cv_header_stdc = yes; then
   4233   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4235 /* end confdefs.h.  */
   4236 #include <string.h>
   4237 
   4238 _ACEOF
   4239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4240   $EGREP "memchr" >/dev/null 2>&1; then :
   4241 
   4242 else
   4243   ac_cv_header_stdc=no
   4244 fi
   4245 rm -f conftest*
   4246 
   4247 fi
   4248 
   4249 if test $ac_cv_header_stdc = yes; then
   4250   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4252 /* end confdefs.h.  */
   4253 #include <stdlib.h>
   4254 
   4255 _ACEOF
   4256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4257   $EGREP "free" >/dev/null 2>&1; then :
   4258 
   4259 else
   4260   ac_cv_header_stdc=no
   4261 fi
   4262 rm -f conftest*
   4263 
   4264 fi
   4265 
   4266 if test $ac_cv_header_stdc = yes; then
   4267   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4268   if test "$cross_compiling" = yes; then :
   4269   :
   4270 else
   4271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4272 /* end confdefs.h.  */
   4273 #include <ctype.h>
   4274 #include <stdlib.h>
   4275 #if ((' ' & 0x0FF) == 0x020)
   4276 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4277 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4278 #else
   4279 # define ISLOWER(c) \
   4280 		   (('a' <= (c) && (c) <= 'i') \
   4281 		     || ('j' <= (c) && (c) <= 'r') \
   4282 		     || ('s' <= (c) && (c) <= 'z'))
   4283 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4284 #endif
   4285 
   4286 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4287 int
   4288 main ()
   4289 {
   4290   int i;
   4291   for (i = 0; i < 256; i++)
   4292     if (XOR (islower (i), ISLOWER (i))
   4293 	|| toupper (i) != TOUPPER (i))
   4294       return 2;
   4295   return 0;
   4296 }
   4297 _ACEOF
   4298 if ac_fn_c_try_run "$LINENO"; then :
   4299 
   4300 else
   4301   ac_cv_header_stdc=no
   4302 fi
   4303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4304   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4305 fi
   4306 
   4307 fi
   4308 fi
   4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4310 $as_echo "$ac_cv_header_stdc" >&6; }
   4311 if test $ac_cv_header_stdc = yes; then
   4312 
   4313 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4314 
   4315 fi
   4316 
   4317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4318 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4319 		  inttypes.h stdint.h unistd.h
   4320 do :
   4321   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4322 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4323 "
   4324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4325   cat >>confdefs.h <<_ACEOF
   4326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4327 _ACEOF
   4328 
   4329 fi
   4330 
   4331 done
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 
   4338 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4339 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4340   CLANGCC="yes"
   4341 else
   4342   CLANGCC="no"
   4343 fi
   4344 
   4345 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4346 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4347   INTELCC="yes"
   4348 else
   4349   INTELCC="no"
   4350 fi
   4351 
   4352 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4353 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4354   SUNCC="yes"
   4355 else
   4356   SUNCC="no"
   4357 fi
   4358 
   4359 
   4360 
   4361 
   4362 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4363 	if test -n "$ac_tool_prefix"; then
   4364   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4365 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4367 $as_echo_n "checking for $ac_word... " >&6; }
   4368 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4369   $as_echo_n "(cached) " >&6
   4370 else
   4371   case $PKG_CONFIG in
   4372   [\\/]* | ?:[\\/]*)
   4373   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4374   ;;
   4375   *)
   4376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4377 for as_dir in $PATH
   4378 do
   4379   IFS=$as_save_IFS
   4380   test -z "$as_dir" && as_dir=.
   4381     for ac_exec_ext in '' $ac_executable_extensions; do
   4382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4383     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4385     break 2
   4386   fi
   4387 done
   4388   done
   4389 IFS=$as_save_IFS
   4390 
   4391   ;;
   4392 esac
   4393 fi
   4394 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4395 if test -n "$PKG_CONFIG"; then
   4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4397 $as_echo "$PKG_CONFIG" >&6; }
   4398 else
   4399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4400 $as_echo "no" >&6; }
   4401 fi
   4402 
   4403 
   4404 fi
   4405 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4406   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4407   # Extract the first word of "pkg-config", so it can be a program name with args.
   4408 set dummy pkg-config; ac_word=$2
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4410 $as_echo_n "checking for $ac_word... " >&6; }
   4411 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   case $ac_pt_PKG_CONFIG in
   4415   [\\/]* | ?:[\\/]*)
   4416   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4417   ;;
   4418   *)
   4419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4420 for as_dir in $PATH
   4421 do
   4422   IFS=$as_save_IFS
   4423   test -z "$as_dir" && as_dir=.
   4424     for ac_exec_ext in '' $ac_executable_extensions; do
   4425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4426     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4428     break 2
   4429   fi
   4430 done
   4431   done
   4432 IFS=$as_save_IFS
   4433 
   4434   ;;
   4435 esac
   4436 fi
   4437 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4438 if test -n "$ac_pt_PKG_CONFIG"; then
   4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4440 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4441 else
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4443 $as_echo "no" >&6; }
   4444 fi
   4445 
   4446   if test "x$ac_pt_PKG_CONFIG" = x; then
   4447     PKG_CONFIG=""
   4448   else
   4449     case $cross_compiling:$ac_tool_warned in
   4450 yes:)
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4453 ac_tool_warned=yes ;;
   4454 esac
   4455     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4456   fi
   4457 else
   4458   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4459 fi
   4460 
   4461 fi
   4462 if test -n "$PKG_CONFIG"; then
   4463 	_pkg_min_version=0.9.0
   4464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4465 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4466 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4468 $as_echo "yes" >&6; }
   4469 	else
   4470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4471 $as_echo "no" >&6; }
   4472 		PKG_CONFIG=""
   4473 	fi
   4474 
   4475 fi
   4476 # Make sure we can run config.sub.
   4477 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4478   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4479 
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4481 $as_echo_n "checking build system type... " >&6; }
   4482 if ${ac_cv_build+:} false; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   ac_build_alias=$build_alias
   4486 test "x$ac_build_alias" = x &&
   4487   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4488 test "x$ac_build_alias" = x &&
   4489   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4490 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4491   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4492 
   4493 fi
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4495 $as_echo "$ac_cv_build" >&6; }
   4496 case $ac_cv_build in
   4497 *-*-*) ;;
   4498 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4499 esac
   4500 build=$ac_cv_build
   4501 ac_save_IFS=$IFS; IFS='-'
   4502 set x $ac_cv_build
   4503 shift
   4504 build_cpu=$1
   4505 build_vendor=$2
   4506 shift; shift
   4507 # Remember, the first character of IFS is used to create $*,
   4508 # except with old shells:
   4509 build_os=$*
   4510 IFS=$ac_save_IFS
   4511 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4512 
   4513 
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4515 $as_echo_n "checking host system type... " >&6; }
   4516 if ${ac_cv_host+:} false; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   if test "x$host_alias" = x; then
   4520   ac_cv_host=$ac_cv_build
   4521 else
   4522   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4523     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4524 fi
   4525 
   4526 fi
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4528 $as_echo "$ac_cv_host" >&6; }
   4529 case $ac_cv_host in
   4530 *-*-*) ;;
   4531 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4532 esac
   4533 host=$ac_cv_host
   4534 ac_save_IFS=$IFS; IFS='-'
   4535 set x $ac_cv_host
   4536 shift
   4537 host_cpu=$1
   4538 host_vendor=$2
   4539 shift; shift
   4540 # Remember, the first character of IFS is used to create $*,
   4541 # except with old shells:
   4542 host_os=$*
   4543 IFS=$ac_save_IFS
   4544 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4545 
   4546 
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4548 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4549 if ${ac_cv_path_SED+:} false; then :
   4550   $as_echo_n "(cached) " >&6
   4551 else
   4552             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4553      for ac_i in 1 2 3 4 5 6 7; do
   4554        ac_script="$ac_script$as_nl$ac_script"
   4555      done
   4556      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4557      { ac_script=; unset ac_script;}
   4558      if test -z "$SED"; then
   4559   ac_path_SED_found=false
   4560   # Loop through the user's path and test for each of PROGNAME-LIST
   4561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4562 for as_dir in $PATH
   4563 do
   4564   IFS=$as_save_IFS
   4565   test -z "$as_dir" && as_dir=.
   4566     for ac_prog in sed gsed; do
   4567     for ac_exec_ext in '' $ac_executable_extensions; do
   4568       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4569       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4570 # Check for GNU ac_path_SED and select it if it is found.
   4571   # Check for GNU $ac_path_SED
   4572 case `"$ac_path_SED" --version 2>&1` in
   4573 *GNU*)
   4574   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4575 *)
   4576   ac_count=0
   4577   $as_echo_n 0123456789 >"conftest.in"
   4578   while :
   4579   do
   4580     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4581     mv "conftest.tmp" "conftest.in"
   4582     cp "conftest.in" "conftest.nl"
   4583     $as_echo '' >> "conftest.nl"
   4584     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4585     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4586     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4587     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4588       # Best one so far, save it but keep looking for a better one
   4589       ac_cv_path_SED="$ac_path_SED"
   4590       ac_path_SED_max=$ac_count
   4591     fi
   4592     # 10*(2^10) chars as input seems more than enough
   4593     test $ac_count -gt 10 && break
   4594   done
   4595   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4596 esac
   4597 
   4598       $ac_path_SED_found && break 3
   4599     done
   4600   done
   4601   done
   4602 IFS=$as_save_IFS
   4603   if test -z "$ac_cv_path_SED"; then
   4604     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4605   fi
   4606 else
   4607   ac_cv_path_SED=$SED
   4608 fi
   4609 
   4610 fi
   4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4612 $as_echo "$ac_cv_path_SED" >&6; }
   4613  SED="$ac_cv_path_SED"
   4614   rm -f conftest.sed
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 # Check whether --enable-selective-werror was given.
   4622 if test "${enable_selective_werror+set}" = set; then :
   4623   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4624 else
   4625   SELECTIVE_WERROR=yes
   4626 fi
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4633 if test "x$SUNCC" = "xyes"; then
   4634     BASE_CFLAGS="-v"
   4635 else
   4636     BASE_CFLAGS=""
   4637 fi
   4638 
   4639 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 xorg_testset_save_CFLAGS="$CFLAGS"
   4654 
   4655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4660   $as_echo_n "(cached) " >&6
   4661 else
   4662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4663 /* end confdefs.h.  */
   4664 int i;
   4665 _ACEOF
   4666 if ac_fn_c_try_compile "$LINENO"; then :
   4667   xorg_cv_cc_flag_unknown_warning_option=yes
   4668 else
   4669   xorg_cv_cc_flag_unknown_warning_option=no
   4670 fi
   4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4672 fi
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4676 	CFLAGS="$xorg_testset_save_CFLAGS"
   4677 fi
   4678 
   4679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4682 	fi
   4683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4687   $as_echo_n "(cached) " >&6
   4688 else
   4689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4690 /* end confdefs.h.  */
   4691 int i;
   4692 _ACEOF
   4693 if ac_fn_c_try_compile "$LINENO"; then :
   4694   xorg_cv_cc_flag_unused_command_line_argument=yes
   4695 else
   4696   xorg_cv_cc_flag_unused_command_line_argument=no
   4697 fi
   4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4699 fi
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4703 	CFLAGS="$xorg_testset_save_CFLAGS"
   4704 fi
   4705 
   4706 found="no"
   4707 
   4708 	if test $found = "no" ; then
   4709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4711 		fi
   4712 
   4713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4715 		fi
   4716 
   4717 		CFLAGS="$CFLAGS -Wall"
   4718 
   4719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4720 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4721 		cacheid=xorg_cv_cc_flag__Wall
   4722 		if eval \${$cacheid+:} false; then :
   4723   $as_echo_n "(cached) " >&6
   4724 else
   4725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4726 /* end confdefs.h.  */
   4727 int i;
   4728 int
   4729 main ()
   4730 {
   4731 
   4732   ;
   4733   return 0;
   4734 }
   4735 _ACEOF
   4736 if ac_fn_c_try_link "$LINENO"; then :
   4737   eval $cacheid=yes
   4738 else
   4739   eval $cacheid=no
   4740 fi
   4741 rm -f core conftest.err conftest.$ac_objext \
   4742     conftest$ac_exeext conftest.$ac_ext
   4743 fi
   4744 
   4745 
   4746 		CFLAGS="$xorg_testset_save_CFLAGS"
   4747 
   4748 		eval supported=\$$cacheid
   4749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4750 $as_echo "$supported" >&6; }
   4751 		if test "$supported" = "yes" ; then
   4752 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4753 			found="yes"
   4754 		fi
   4755 	fi
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 xorg_testset_save_CFLAGS="$CFLAGS"
   4772 
   4773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4778   $as_echo_n "(cached) " >&6
   4779 else
   4780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4781 /* end confdefs.h.  */
   4782 int i;
   4783 _ACEOF
   4784 if ac_fn_c_try_compile "$LINENO"; then :
   4785   xorg_cv_cc_flag_unknown_warning_option=yes
   4786 else
   4787   xorg_cv_cc_flag_unknown_warning_option=no
   4788 fi
   4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4790 fi
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4794 	CFLAGS="$xorg_testset_save_CFLAGS"
   4795 fi
   4796 
   4797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4800 	fi
   4801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4805   $as_echo_n "(cached) " >&6
   4806 else
   4807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4808 /* end confdefs.h.  */
   4809 int i;
   4810 _ACEOF
   4811 if ac_fn_c_try_compile "$LINENO"; then :
   4812   xorg_cv_cc_flag_unused_command_line_argument=yes
   4813 else
   4814   xorg_cv_cc_flag_unused_command_line_argument=no
   4815 fi
   4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4817 fi
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4821 	CFLAGS="$xorg_testset_save_CFLAGS"
   4822 fi
   4823 
   4824 found="no"
   4825 
   4826 	if test $found = "no" ; then
   4827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4829 		fi
   4830 
   4831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4833 		fi
   4834 
   4835 		CFLAGS="$CFLAGS -Wpointer-arith"
   4836 
   4837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4838 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4839 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4840 		if eval \${$cacheid+:} false; then :
   4841   $as_echo_n "(cached) " >&6
   4842 else
   4843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4844 /* end confdefs.h.  */
   4845 int i;
   4846 int
   4847 main ()
   4848 {
   4849 
   4850   ;
   4851   return 0;
   4852 }
   4853 _ACEOF
   4854 if ac_fn_c_try_link "$LINENO"; then :
   4855   eval $cacheid=yes
   4856 else
   4857   eval $cacheid=no
   4858 fi
   4859 rm -f core conftest.err conftest.$ac_objext \
   4860     conftest$ac_exeext conftest.$ac_ext
   4861 fi
   4862 
   4863 
   4864 		CFLAGS="$xorg_testset_save_CFLAGS"
   4865 
   4866 		eval supported=\$$cacheid
   4867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4868 $as_echo "$supported" >&6; }
   4869 		if test "$supported" = "yes" ; then
   4870 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4871 			found="yes"
   4872 		fi
   4873 	fi
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 xorg_testset_save_CFLAGS="$CFLAGS"
   4890 
   4891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4896   $as_echo_n "(cached) " >&6
   4897 else
   4898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4899 /* end confdefs.h.  */
   4900 int i;
   4901 _ACEOF
   4902 if ac_fn_c_try_compile "$LINENO"; then :
   4903   xorg_cv_cc_flag_unknown_warning_option=yes
   4904 else
   4905   xorg_cv_cc_flag_unknown_warning_option=no
   4906 fi
   4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4908 fi
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4912 	CFLAGS="$xorg_testset_save_CFLAGS"
   4913 fi
   4914 
   4915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4918 	fi
   4919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4926 /* end confdefs.h.  */
   4927 int i;
   4928 _ACEOF
   4929 if ac_fn_c_try_compile "$LINENO"; then :
   4930   xorg_cv_cc_flag_unused_command_line_argument=yes
   4931 else
   4932   xorg_cv_cc_flag_unused_command_line_argument=no
   4933 fi
   4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4935 fi
   4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4939 	CFLAGS="$xorg_testset_save_CFLAGS"
   4940 fi
   4941 
   4942 found="no"
   4943 
   4944 	if test $found = "no" ; then
   4945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4947 		fi
   4948 
   4949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4951 		fi
   4952 
   4953 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4954 
   4955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4956 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4957 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4958 		if eval \${$cacheid+:} false; then :
   4959   $as_echo_n "(cached) " >&6
   4960 else
   4961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4962 /* end confdefs.h.  */
   4963 int i;
   4964 int
   4965 main ()
   4966 {
   4967 
   4968   ;
   4969   return 0;
   4970 }
   4971 _ACEOF
   4972 if ac_fn_c_try_link "$LINENO"; then :
   4973   eval $cacheid=yes
   4974 else
   4975   eval $cacheid=no
   4976 fi
   4977 rm -f core conftest.err conftest.$ac_objext \
   4978     conftest$ac_exeext conftest.$ac_ext
   4979 fi
   4980 
   4981 
   4982 		CFLAGS="$xorg_testset_save_CFLAGS"
   4983 
   4984 		eval supported=\$$cacheid
   4985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4986 $as_echo "$supported" >&6; }
   4987 		if test "$supported" = "yes" ; then
   4988 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4989 			found="yes"
   4990 		fi
   4991 	fi
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 xorg_testset_save_CFLAGS="$CFLAGS"
   5008 
   5009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5017 /* end confdefs.h.  */
   5018 int i;
   5019 _ACEOF
   5020 if ac_fn_c_try_compile "$LINENO"; then :
   5021   xorg_cv_cc_flag_unknown_warning_option=yes
   5022 else
   5023   xorg_cv_cc_flag_unknown_warning_option=no
   5024 fi
   5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5026 fi
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5030 	CFLAGS="$xorg_testset_save_CFLAGS"
   5031 fi
   5032 
   5033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5036 	fi
   5037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5041   $as_echo_n "(cached) " >&6
   5042 else
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 _ACEOF
   5047 if ac_fn_c_try_compile "$LINENO"; then :
   5048   xorg_cv_cc_flag_unused_command_line_argument=yes
   5049 else
   5050   xorg_cv_cc_flag_unused_command_line_argument=no
   5051 fi
   5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5053 fi
   5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5057 	CFLAGS="$xorg_testset_save_CFLAGS"
   5058 fi
   5059 
   5060 found="no"
   5061 
   5062 	if test $found = "no" ; then
   5063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 		fi
   5066 
   5067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5069 		fi
   5070 
   5071 		CFLAGS="$CFLAGS -Wformat=2"
   5072 
   5073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5074 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5075 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5076 		if eval \${$cacheid+:} false; then :
   5077   $as_echo_n "(cached) " >&6
   5078 else
   5079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5080 /* end confdefs.h.  */
   5081 int i;
   5082 int
   5083 main ()
   5084 {
   5085 
   5086   ;
   5087   return 0;
   5088 }
   5089 _ACEOF
   5090 if ac_fn_c_try_link "$LINENO"; then :
   5091   eval $cacheid=yes
   5092 else
   5093   eval $cacheid=no
   5094 fi
   5095 rm -f core conftest.err conftest.$ac_objext \
   5096     conftest$ac_exeext conftest.$ac_ext
   5097 fi
   5098 
   5099 
   5100 		CFLAGS="$xorg_testset_save_CFLAGS"
   5101 
   5102 		eval supported=\$$cacheid
   5103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5104 $as_echo "$supported" >&6; }
   5105 		if test "$supported" = "yes" ; then
   5106 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5107 			found="yes"
   5108 		fi
   5109 	fi
   5110 
   5111 	if test $found = "no" ; then
   5112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5114 		fi
   5115 
   5116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5118 		fi
   5119 
   5120 		CFLAGS="$CFLAGS -Wformat"
   5121 
   5122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5123 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5124 		cacheid=xorg_cv_cc_flag__Wformat
   5125 		if eval \${$cacheid+:} false; then :
   5126   $as_echo_n "(cached) " >&6
   5127 else
   5128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5129 /* end confdefs.h.  */
   5130 int i;
   5131 int
   5132 main ()
   5133 {
   5134 
   5135   ;
   5136   return 0;
   5137 }
   5138 _ACEOF
   5139 if ac_fn_c_try_link "$LINENO"; then :
   5140   eval $cacheid=yes
   5141 else
   5142   eval $cacheid=no
   5143 fi
   5144 rm -f core conftest.err conftest.$ac_objext \
   5145     conftest$ac_exeext conftest.$ac_ext
   5146 fi
   5147 
   5148 
   5149 		CFLAGS="$xorg_testset_save_CFLAGS"
   5150 
   5151 		eval supported=\$$cacheid
   5152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5153 $as_echo "$supported" >&6; }
   5154 		if test "$supported" = "yes" ; then
   5155 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5156 			found="yes"
   5157 		fi
   5158 	fi
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 xorg_testset_save_CFLAGS="$CFLAGS"
   5177 
   5178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 _ACEOF
   5189 if ac_fn_c_try_compile "$LINENO"; then :
   5190   xorg_cv_cc_flag_unknown_warning_option=yes
   5191 else
   5192   xorg_cv_cc_flag_unknown_warning_option=no
   5193 fi
   5194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5195 fi
   5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5199 	CFLAGS="$xorg_testset_save_CFLAGS"
   5200 fi
   5201 
   5202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5205 	fi
   5206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5213 /* end confdefs.h.  */
   5214 int i;
   5215 _ACEOF
   5216 if ac_fn_c_try_compile "$LINENO"; then :
   5217   xorg_cv_cc_flag_unused_command_line_argument=yes
   5218 else
   5219   xorg_cv_cc_flag_unused_command_line_argument=no
   5220 fi
   5221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5222 fi
   5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5226 	CFLAGS="$xorg_testset_save_CFLAGS"
   5227 fi
   5228 
   5229 found="no"
   5230 
   5231 	if test $found = "no" ; then
   5232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5234 		fi
   5235 
   5236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5238 		fi
   5239 
   5240 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5241 
   5242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5243 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5244 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5245 		if eval \${$cacheid+:} false; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5249 /* end confdefs.h.  */
   5250 int i;
   5251 int
   5252 main ()
   5253 {
   5254 
   5255   ;
   5256   return 0;
   5257 }
   5258 _ACEOF
   5259 if ac_fn_c_try_link "$LINENO"; then :
   5260   eval $cacheid=yes
   5261 else
   5262   eval $cacheid=no
   5263 fi
   5264 rm -f core conftest.err conftest.$ac_objext \
   5265     conftest$ac_exeext conftest.$ac_ext
   5266 fi
   5267 
   5268 
   5269 		CFLAGS="$xorg_testset_save_CFLAGS"
   5270 
   5271 		eval supported=\$$cacheid
   5272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5273 $as_echo "$supported" >&6; }
   5274 		if test "$supported" = "yes" ; then
   5275 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5276 			found="yes"
   5277 		fi
   5278 	fi
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 xorg_testset_save_CFLAGS="$CFLAGS"
   5295 
   5296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5304 /* end confdefs.h.  */
   5305 int i;
   5306 _ACEOF
   5307 if ac_fn_c_try_compile "$LINENO"; then :
   5308   xorg_cv_cc_flag_unknown_warning_option=yes
   5309 else
   5310   xorg_cv_cc_flag_unknown_warning_option=no
   5311 fi
   5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5313 fi
   5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5317 	CFLAGS="$xorg_testset_save_CFLAGS"
   5318 fi
   5319 
   5320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 	fi
   5324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5328   $as_echo_n "(cached) " >&6
   5329 else
   5330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5331 /* end confdefs.h.  */
   5332 int i;
   5333 _ACEOF
   5334 if ac_fn_c_try_compile "$LINENO"; then :
   5335   xorg_cv_cc_flag_unused_command_line_argument=yes
   5336 else
   5337   xorg_cv_cc_flag_unused_command_line_argument=no
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5340 fi
   5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5344 	CFLAGS="$xorg_testset_save_CFLAGS"
   5345 fi
   5346 
   5347 found="no"
   5348 
   5349 	if test $found = "no" ; then
   5350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5352 		fi
   5353 
   5354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5356 		fi
   5357 
   5358 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5359 
   5360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5361 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5362 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5363 		if eval \${$cacheid+:} false; then :
   5364   $as_echo_n "(cached) " >&6
   5365 else
   5366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5367 /* end confdefs.h.  */
   5368 int i;
   5369 int
   5370 main ()
   5371 {
   5372 
   5373   ;
   5374   return 0;
   5375 }
   5376 _ACEOF
   5377 if ac_fn_c_try_link "$LINENO"; then :
   5378   eval $cacheid=yes
   5379 else
   5380   eval $cacheid=no
   5381 fi
   5382 rm -f core conftest.err conftest.$ac_objext \
   5383     conftest$ac_exeext conftest.$ac_ext
   5384 fi
   5385 
   5386 
   5387 		CFLAGS="$xorg_testset_save_CFLAGS"
   5388 
   5389 		eval supported=\$$cacheid
   5390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5391 $as_echo "$supported" >&6; }
   5392 		if test "$supported" = "yes" ; then
   5393 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5394 			found="yes"
   5395 		fi
   5396 	fi
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 xorg_testset_save_CFLAGS="$CFLAGS"
   5413 
   5414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"; then :
   5426   xorg_cv_cc_flag_unknown_warning_option=yes
   5427 else
   5428   xorg_cv_cc_flag_unknown_warning_option=no
   5429 fi
   5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5431 fi
   5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5435 	CFLAGS="$xorg_testset_save_CFLAGS"
   5436 fi
   5437 
   5438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5441 	fi
   5442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5449 /* end confdefs.h.  */
   5450 int i;
   5451 _ACEOF
   5452 if ac_fn_c_try_compile "$LINENO"; then :
   5453   xorg_cv_cc_flag_unused_command_line_argument=yes
   5454 else
   5455   xorg_cv_cc_flag_unused_command_line_argument=no
   5456 fi
   5457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5458 fi
   5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5462 	CFLAGS="$xorg_testset_save_CFLAGS"
   5463 fi
   5464 
   5465 found="no"
   5466 
   5467 	if test $found = "no" ; then
   5468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5470 		fi
   5471 
   5472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5474 		fi
   5475 
   5476 		CFLAGS="$CFLAGS -Wnested-externs"
   5477 
   5478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5479 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5480 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5481 		if eval \${$cacheid+:} false; then :
   5482   $as_echo_n "(cached) " >&6
   5483 else
   5484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5485 /* end confdefs.h.  */
   5486 int i;
   5487 int
   5488 main ()
   5489 {
   5490 
   5491   ;
   5492   return 0;
   5493 }
   5494 _ACEOF
   5495 if ac_fn_c_try_link "$LINENO"; then :
   5496   eval $cacheid=yes
   5497 else
   5498   eval $cacheid=no
   5499 fi
   5500 rm -f core conftest.err conftest.$ac_objext \
   5501     conftest$ac_exeext conftest.$ac_ext
   5502 fi
   5503 
   5504 
   5505 		CFLAGS="$xorg_testset_save_CFLAGS"
   5506 
   5507 		eval supported=\$$cacheid
   5508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5509 $as_echo "$supported" >&6; }
   5510 		if test "$supported" = "yes" ; then
   5511 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5512 			found="yes"
   5513 		fi
   5514 	fi
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 xorg_testset_save_CFLAGS="$CFLAGS"
   5531 
   5532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5540 /* end confdefs.h.  */
   5541 int i;
   5542 _ACEOF
   5543 if ac_fn_c_try_compile "$LINENO"; then :
   5544   xorg_cv_cc_flag_unknown_warning_option=yes
   5545 else
   5546   xorg_cv_cc_flag_unknown_warning_option=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549 fi
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 	fi
   5560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5567 /* end confdefs.h.  */
   5568 int i;
   5569 _ACEOF
   5570 if ac_fn_c_try_compile "$LINENO"; then :
   5571   xorg_cv_cc_flag_unused_command_line_argument=yes
   5572 else
   5573   xorg_cv_cc_flag_unused_command_line_argument=no
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5576 fi
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5580 	CFLAGS="$xorg_testset_save_CFLAGS"
   5581 fi
   5582 
   5583 found="no"
   5584 
   5585 	if test $found = "no" ; then
   5586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 		fi
   5589 
   5590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5592 		fi
   5593 
   5594 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5595 
   5596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5597 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5598 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5599 		if eval \${$cacheid+:} false; then :
   5600   $as_echo_n "(cached) " >&6
   5601 else
   5602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5603 /* end confdefs.h.  */
   5604 int i;
   5605 int
   5606 main ()
   5607 {
   5608 
   5609   ;
   5610   return 0;
   5611 }
   5612 _ACEOF
   5613 if ac_fn_c_try_link "$LINENO"; then :
   5614   eval $cacheid=yes
   5615 else
   5616   eval $cacheid=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext \
   5619     conftest$ac_exeext conftest.$ac_ext
   5620 fi
   5621 
   5622 
   5623 		CFLAGS="$xorg_testset_save_CFLAGS"
   5624 
   5625 		eval supported=\$$cacheid
   5626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5627 $as_echo "$supported" >&6; }
   5628 		if test "$supported" = "yes" ; then
   5629 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5630 			found="yes"
   5631 		fi
   5632 	fi
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 xorg_testset_save_CFLAGS="$CFLAGS"
   5649 
   5650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5655   $as_echo_n "(cached) " >&6
   5656 else
   5657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5658 /* end confdefs.h.  */
   5659 int i;
   5660 _ACEOF
   5661 if ac_fn_c_try_compile "$LINENO"; then :
   5662   xorg_cv_cc_flag_unknown_warning_option=yes
   5663 else
   5664   xorg_cv_cc_flag_unknown_warning_option=no
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5667 fi
   5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5671 	CFLAGS="$xorg_testset_save_CFLAGS"
   5672 fi
   5673 
   5674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5677 	fi
   5678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5682   $as_echo_n "(cached) " >&6
   5683 else
   5684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 int i;
   5687 _ACEOF
   5688 if ac_fn_c_try_compile "$LINENO"; then :
   5689   xorg_cv_cc_flag_unused_command_line_argument=yes
   5690 else
   5691   xorg_cv_cc_flag_unused_command_line_argument=no
   5692 fi
   5693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5694 fi
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5698 	CFLAGS="$xorg_testset_save_CFLAGS"
   5699 fi
   5700 
   5701 found="no"
   5702 
   5703 	if test $found = "no" ; then
   5704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 		fi
   5707 
   5708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5710 		fi
   5711 
   5712 		CFLAGS="$CFLAGS -Wold-style-definition"
   5713 
   5714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5715 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5716 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5717 		if eval \${$cacheid+:} false; then :
   5718   $as_echo_n "(cached) " >&6
   5719 else
   5720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 int i;
   5723 int
   5724 main ()
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 if ac_fn_c_try_link "$LINENO"; then :
   5732   eval $cacheid=yes
   5733 else
   5734   eval $cacheid=no
   5735 fi
   5736 rm -f core conftest.err conftest.$ac_objext \
   5737     conftest$ac_exeext conftest.$ac_ext
   5738 fi
   5739 
   5740 
   5741 		CFLAGS="$xorg_testset_save_CFLAGS"
   5742 
   5743 		eval supported=\$$cacheid
   5744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5745 $as_echo "$supported" >&6; }
   5746 		if test "$supported" = "yes" ; then
   5747 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5748 			found="yes"
   5749 		fi
   5750 	fi
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 xorg_testset_save_CFLAGS="$CFLAGS"
   5767 
   5768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 _ACEOF
   5779 if ac_fn_c_try_compile "$LINENO"; then :
   5780   xorg_cv_cc_flag_unknown_warning_option=yes
   5781 else
   5782   xorg_cv_cc_flag_unknown_warning_option=no
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5785 fi
   5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5789 	CFLAGS="$xorg_testset_save_CFLAGS"
   5790 fi
   5791 
   5792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5795 	fi
   5796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5803 /* end confdefs.h.  */
   5804 int i;
   5805 _ACEOF
   5806 if ac_fn_c_try_compile "$LINENO"; then :
   5807   xorg_cv_cc_flag_unused_command_line_argument=yes
   5808 else
   5809   xorg_cv_cc_flag_unused_command_line_argument=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5812 fi
   5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 found="no"
   5820 
   5821 	if test $found = "no" ; then
   5822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 		fi
   5825 
   5826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5828 		fi
   5829 
   5830 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5831 
   5832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5833 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5834 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5835 		if eval \${$cacheid+:} false; then :
   5836   $as_echo_n "(cached) " >&6
   5837 else
   5838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5839 /* end confdefs.h.  */
   5840 int i;
   5841 int
   5842 main ()
   5843 {
   5844 
   5845   ;
   5846   return 0;
   5847 }
   5848 _ACEOF
   5849 if ac_fn_c_try_link "$LINENO"; then :
   5850   eval $cacheid=yes
   5851 else
   5852   eval $cacheid=no
   5853 fi
   5854 rm -f core conftest.err conftest.$ac_objext \
   5855     conftest$ac_exeext conftest.$ac_ext
   5856 fi
   5857 
   5858 
   5859 		CFLAGS="$xorg_testset_save_CFLAGS"
   5860 
   5861 		eval supported=\$$cacheid
   5862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5863 $as_echo "$supported" >&6; }
   5864 		if test "$supported" = "yes" ; then
   5865 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5866 			found="yes"
   5867 		fi
   5868 	fi
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 # This chunk adds additional warnings that could catch undesired effects.
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 xorg_testset_save_CFLAGS="$CFLAGS"
   5889 
   5890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5898 /* end confdefs.h.  */
   5899 int i;
   5900 _ACEOF
   5901 if ac_fn_c_try_compile "$LINENO"; then :
   5902   xorg_cv_cc_flag_unknown_warning_option=yes
   5903 else
   5904   xorg_cv_cc_flag_unknown_warning_option=no
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5907 fi
   5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5911 	CFLAGS="$xorg_testset_save_CFLAGS"
   5912 fi
   5913 
   5914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	fi
   5918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 _ACEOF
   5928 if ac_fn_c_try_compile "$LINENO"; then :
   5929   xorg_cv_cc_flag_unused_command_line_argument=yes
   5930 else
   5931   xorg_cv_cc_flag_unused_command_line_argument=no
   5932 fi
   5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5934 fi
   5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5938 	CFLAGS="$xorg_testset_save_CFLAGS"
   5939 fi
   5940 
   5941 found="no"
   5942 
   5943 	if test $found = "no" ; then
   5944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 		fi
   5947 
   5948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 		fi
   5951 
   5952 		CFLAGS="$CFLAGS -Wunused"
   5953 
   5954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5955 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5956 		cacheid=xorg_cv_cc_flag__Wunused
   5957 		if eval \${$cacheid+:} false; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 int
   5964 main ()
   5965 {
   5966 
   5967   ;
   5968   return 0;
   5969 }
   5970 _ACEOF
   5971 if ac_fn_c_try_link "$LINENO"; then :
   5972   eval $cacheid=yes
   5973 else
   5974   eval $cacheid=no
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext \
   5977     conftest$ac_exeext conftest.$ac_ext
   5978 fi
   5979 
   5980 
   5981 		CFLAGS="$xorg_testset_save_CFLAGS"
   5982 
   5983 		eval supported=\$$cacheid
   5984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5985 $as_echo "$supported" >&6; }
   5986 		if test "$supported" = "yes" ; then
   5987 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5988 			found="yes"
   5989 		fi
   5990 	fi
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 xorg_testset_save_CFLAGS="$CFLAGS"
   6007 
   6008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6013   $as_echo_n "(cached) " >&6
   6014 else
   6015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6016 /* end confdefs.h.  */
   6017 int i;
   6018 _ACEOF
   6019 if ac_fn_c_try_compile "$LINENO"; then :
   6020   xorg_cv_cc_flag_unknown_warning_option=yes
   6021 else
   6022   xorg_cv_cc_flag_unknown_warning_option=no
   6023 fi
   6024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6025 fi
   6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6029 	CFLAGS="$xorg_testset_save_CFLAGS"
   6030 fi
   6031 
   6032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6035 	fi
   6036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6040   $as_echo_n "(cached) " >&6
   6041 else
   6042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6043 /* end confdefs.h.  */
   6044 int i;
   6045 _ACEOF
   6046 if ac_fn_c_try_compile "$LINENO"; then :
   6047   xorg_cv_cc_flag_unused_command_line_argument=yes
   6048 else
   6049   xorg_cv_cc_flag_unused_command_line_argument=no
   6050 fi
   6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6052 fi
   6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6056 	CFLAGS="$xorg_testset_save_CFLAGS"
   6057 fi
   6058 
   6059 found="no"
   6060 
   6061 	if test $found = "no" ; then
   6062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 		fi
   6065 
   6066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6068 		fi
   6069 
   6070 		CFLAGS="$CFLAGS -Wuninitialized"
   6071 
   6072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6073 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6074 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6075 		if eval \${$cacheid+:} false; then :
   6076   $as_echo_n "(cached) " >&6
   6077 else
   6078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6079 /* end confdefs.h.  */
   6080 int i;
   6081 int
   6082 main ()
   6083 {
   6084 
   6085   ;
   6086   return 0;
   6087 }
   6088 _ACEOF
   6089 if ac_fn_c_try_link "$LINENO"; then :
   6090   eval $cacheid=yes
   6091 else
   6092   eval $cacheid=no
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext \
   6095     conftest$ac_exeext conftest.$ac_ext
   6096 fi
   6097 
   6098 
   6099 		CFLAGS="$xorg_testset_save_CFLAGS"
   6100 
   6101 		eval supported=\$$cacheid
   6102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6103 $as_echo "$supported" >&6; }
   6104 		if test "$supported" = "yes" ; then
   6105 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6106 			found="yes"
   6107 		fi
   6108 	fi
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 xorg_testset_save_CFLAGS="$CFLAGS"
   6125 
   6126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6131   $as_echo_n "(cached) " >&6
   6132 else
   6133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6134 /* end confdefs.h.  */
   6135 int i;
   6136 _ACEOF
   6137 if ac_fn_c_try_compile "$LINENO"; then :
   6138   xorg_cv_cc_flag_unknown_warning_option=yes
   6139 else
   6140   xorg_cv_cc_flag_unknown_warning_option=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6143 fi
   6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6147 	CFLAGS="$xorg_testset_save_CFLAGS"
   6148 fi
   6149 
   6150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6153 	fi
   6154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6158   $as_echo_n "(cached) " >&6
   6159 else
   6160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6161 /* end confdefs.h.  */
   6162 int i;
   6163 _ACEOF
   6164 if ac_fn_c_try_compile "$LINENO"; then :
   6165   xorg_cv_cc_flag_unused_command_line_argument=yes
   6166 else
   6167   xorg_cv_cc_flag_unused_command_line_argument=no
   6168 fi
   6169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6170 fi
   6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6174 	CFLAGS="$xorg_testset_save_CFLAGS"
   6175 fi
   6176 
   6177 found="no"
   6178 
   6179 	if test $found = "no" ; then
   6180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6182 		fi
   6183 
   6184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6186 		fi
   6187 
   6188 		CFLAGS="$CFLAGS -Wshadow"
   6189 
   6190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6191 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6192 		cacheid=xorg_cv_cc_flag__Wshadow
   6193 		if eval \${$cacheid+:} false; then :
   6194   $as_echo_n "(cached) " >&6
   6195 else
   6196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6197 /* end confdefs.h.  */
   6198 int i;
   6199 int
   6200 main ()
   6201 {
   6202 
   6203   ;
   6204   return 0;
   6205 }
   6206 _ACEOF
   6207 if ac_fn_c_try_link "$LINENO"; then :
   6208   eval $cacheid=yes
   6209 else
   6210   eval $cacheid=no
   6211 fi
   6212 rm -f core conftest.err conftest.$ac_objext \
   6213     conftest$ac_exeext conftest.$ac_ext
   6214 fi
   6215 
   6216 
   6217 		CFLAGS="$xorg_testset_save_CFLAGS"
   6218 
   6219 		eval supported=\$$cacheid
   6220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6221 $as_echo "$supported" >&6; }
   6222 		if test "$supported" = "yes" ; then
   6223 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6224 			found="yes"
   6225 		fi
   6226 	fi
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 xorg_testset_save_CFLAGS="$CFLAGS"
   6243 
   6244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6249   $as_echo_n "(cached) " >&6
   6250 else
   6251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6252 /* end confdefs.h.  */
   6253 int i;
   6254 _ACEOF
   6255 if ac_fn_c_try_compile "$LINENO"; then :
   6256   xorg_cv_cc_flag_unknown_warning_option=yes
   6257 else
   6258   xorg_cv_cc_flag_unknown_warning_option=no
   6259 fi
   6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6261 fi
   6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6265 	CFLAGS="$xorg_testset_save_CFLAGS"
   6266 fi
   6267 
   6268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6271 	fi
   6272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6276   $as_echo_n "(cached) " >&6
   6277 else
   6278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6279 /* end confdefs.h.  */
   6280 int i;
   6281 _ACEOF
   6282 if ac_fn_c_try_compile "$LINENO"; then :
   6283   xorg_cv_cc_flag_unused_command_line_argument=yes
   6284 else
   6285   xorg_cv_cc_flag_unused_command_line_argument=no
   6286 fi
   6287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6288 fi
   6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6292 	CFLAGS="$xorg_testset_save_CFLAGS"
   6293 fi
   6294 
   6295 found="no"
   6296 
   6297 	if test $found = "no" ; then
   6298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6300 		fi
   6301 
   6302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6304 		fi
   6305 
   6306 		CFLAGS="$CFLAGS -Wcast-qual"
   6307 
   6308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6309 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6310 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6311 		if eval \${$cacheid+:} false; then :
   6312   $as_echo_n "(cached) " >&6
   6313 else
   6314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6315 /* end confdefs.h.  */
   6316 int i;
   6317 int
   6318 main ()
   6319 {
   6320 
   6321   ;
   6322   return 0;
   6323 }
   6324 _ACEOF
   6325 if ac_fn_c_try_link "$LINENO"; then :
   6326   eval $cacheid=yes
   6327 else
   6328   eval $cacheid=no
   6329 fi
   6330 rm -f core conftest.err conftest.$ac_objext \
   6331     conftest$ac_exeext conftest.$ac_ext
   6332 fi
   6333 
   6334 
   6335 		CFLAGS="$xorg_testset_save_CFLAGS"
   6336 
   6337 		eval supported=\$$cacheid
   6338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6339 $as_echo "$supported" >&6; }
   6340 		if test "$supported" = "yes" ; then
   6341 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6342 			found="yes"
   6343 		fi
   6344 	fi
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 xorg_testset_save_CFLAGS="$CFLAGS"
   6361 
   6362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6365 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6366 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6367   $as_echo_n "(cached) " >&6
   6368 else
   6369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6370 /* end confdefs.h.  */
   6371 int i;
   6372 _ACEOF
   6373 if ac_fn_c_try_compile "$LINENO"; then :
   6374   xorg_cv_cc_flag_unknown_warning_option=yes
   6375 else
   6376   xorg_cv_cc_flag_unknown_warning_option=no
   6377 fi
   6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6379 fi
   6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6381 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6383 	CFLAGS="$xorg_testset_save_CFLAGS"
   6384 fi
   6385 
   6386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6389 	fi
   6390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6392 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6393 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6394   $as_echo_n "(cached) " >&6
   6395 else
   6396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6397 /* end confdefs.h.  */
   6398 int i;
   6399 _ACEOF
   6400 if ac_fn_c_try_compile "$LINENO"; then :
   6401   xorg_cv_cc_flag_unused_command_line_argument=yes
   6402 else
   6403   xorg_cv_cc_flag_unused_command_line_argument=no
   6404 fi
   6405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6406 fi
   6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6408 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6410 	CFLAGS="$xorg_testset_save_CFLAGS"
   6411 fi
   6412 
   6413 found="no"
   6414 
   6415 	if test $found = "no" ; then
   6416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6418 		fi
   6419 
   6420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6422 		fi
   6423 
   6424 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6425 
   6426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6427 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6428 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6429 		if eval \${$cacheid+:} false; then :
   6430   $as_echo_n "(cached) " >&6
   6431 else
   6432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6433 /* end confdefs.h.  */
   6434 int i;
   6435 int
   6436 main ()
   6437 {
   6438 
   6439   ;
   6440   return 0;
   6441 }
   6442 _ACEOF
   6443 if ac_fn_c_try_link "$LINENO"; then :
   6444   eval $cacheid=yes
   6445 else
   6446   eval $cacheid=no
   6447 fi
   6448 rm -f core conftest.err conftest.$ac_objext \
   6449     conftest$ac_exeext conftest.$ac_ext
   6450 fi
   6451 
   6452 
   6453 		CFLAGS="$xorg_testset_save_CFLAGS"
   6454 
   6455 		eval supported=\$$cacheid
   6456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6457 $as_echo "$supported" >&6; }
   6458 		if test "$supported" = "yes" ; then
   6459 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6460 			found="yes"
   6461 		fi
   6462 	fi
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 xorg_testset_save_CFLAGS="$CFLAGS"
   6479 
   6480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6485   $as_echo_n "(cached) " >&6
   6486 else
   6487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6488 /* end confdefs.h.  */
   6489 int i;
   6490 _ACEOF
   6491 if ac_fn_c_try_compile "$LINENO"; then :
   6492   xorg_cv_cc_flag_unknown_warning_option=yes
   6493 else
   6494   xorg_cv_cc_flag_unknown_warning_option=no
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6497 fi
   6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6501 	CFLAGS="$xorg_testset_save_CFLAGS"
   6502 fi
   6503 
   6504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6507 	fi
   6508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6515 /* end confdefs.h.  */
   6516 int i;
   6517 _ACEOF
   6518 if ac_fn_c_try_compile "$LINENO"; then :
   6519   xorg_cv_cc_flag_unused_command_line_argument=yes
   6520 else
   6521   xorg_cv_cc_flag_unused_command_line_argument=no
   6522 fi
   6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6524 fi
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6528 	CFLAGS="$xorg_testset_save_CFLAGS"
   6529 fi
   6530 
   6531 found="no"
   6532 
   6533 	if test $found = "no" ; then
   6534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6536 		fi
   6537 
   6538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6540 		fi
   6541 
   6542 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6543 
   6544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6545 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6546 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6547 		if eval \${$cacheid+:} false; then :
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6551 /* end confdefs.h.  */
   6552 int i;
   6553 int
   6554 main ()
   6555 {
   6556 
   6557   ;
   6558   return 0;
   6559 }
   6560 _ACEOF
   6561 if ac_fn_c_try_link "$LINENO"; then :
   6562   eval $cacheid=yes
   6563 else
   6564   eval $cacheid=no
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext \
   6567     conftest$ac_exeext conftest.$ac_ext
   6568 fi
   6569 
   6570 
   6571 		CFLAGS="$xorg_testset_save_CFLAGS"
   6572 
   6573 		eval supported=\$$cacheid
   6574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6575 $as_echo "$supported" >&6; }
   6576 		if test "$supported" = "yes" ; then
   6577 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6578 			found="yes"
   6579 		fi
   6580 	fi
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 xorg_testset_save_CFLAGS="$CFLAGS"
   6597 
   6598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6603   $as_echo_n "(cached) " >&6
   6604 else
   6605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"; then :
   6610   xorg_cv_cc_flag_unknown_warning_option=yes
   6611 else
   6612   xorg_cv_cc_flag_unknown_warning_option=no
   6613 fi
   6614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6615 fi
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6619 	CFLAGS="$xorg_testset_save_CFLAGS"
   6620 fi
   6621 
   6622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6625 	fi
   6626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6630   $as_echo_n "(cached) " >&6
   6631 else
   6632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6633 /* end confdefs.h.  */
   6634 int i;
   6635 _ACEOF
   6636 if ac_fn_c_try_compile "$LINENO"; then :
   6637   xorg_cv_cc_flag_unused_command_line_argument=yes
   6638 else
   6639   xorg_cv_cc_flag_unused_command_line_argument=no
   6640 fi
   6641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6642 fi
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6646 	CFLAGS="$xorg_testset_save_CFLAGS"
   6647 fi
   6648 
   6649 found="no"
   6650 
   6651 	if test $found = "no" ; then
   6652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 		fi
   6655 
   6656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6658 		fi
   6659 
   6660 		CFLAGS="$CFLAGS -Wredundant-decls"
   6661 
   6662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6663 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6664 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6665 		if eval \${$cacheid+:} false; then :
   6666   $as_echo_n "(cached) " >&6
   6667 else
   6668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6669 /* end confdefs.h.  */
   6670 int i;
   6671 int
   6672 main ()
   6673 {
   6674 
   6675   ;
   6676   return 0;
   6677 }
   6678 _ACEOF
   6679 if ac_fn_c_try_link "$LINENO"; then :
   6680   eval $cacheid=yes
   6681 else
   6682   eval $cacheid=no
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext \
   6685     conftest$ac_exeext conftest.$ac_ext
   6686 fi
   6687 
   6688 
   6689 		CFLAGS="$xorg_testset_save_CFLAGS"
   6690 
   6691 		eval supported=\$$cacheid
   6692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6693 $as_echo "$supported" >&6; }
   6694 		if test "$supported" = "yes" ; then
   6695 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6696 			found="yes"
   6697 		fi
   6698 	fi
   6699 
   6700 
   6701 
   6702 # These are currently disabled because they are noisy.  They will be enabled
   6703 # in the future once the codebase is sufficiently modernized to silence
   6704 # them.  For now, I don't want them to drown out the other warnings.
   6705 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6706 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6707 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6708 
   6709 # Turn some warnings into errors, so we don't accidently get successful builds
   6710 # when there are problems that should be fixed.
   6711 
   6712 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 xorg_testset_save_CFLAGS="$CFLAGS"
   6727 
   6728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 int i;
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"; then :
   6740   xorg_cv_cc_flag_unknown_warning_option=yes
   6741 else
   6742   xorg_cv_cc_flag_unknown_warning_option=no
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6745 fi
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6749 	CFLAGS="$xorg_testset_save_CFLAGS"
   6750 fi
   6751 
   6752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6755 	fi
   6756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6760   $as_echo_n "(cached) " >&6
   6761 else
   6762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6763 /* end confdefs.h.  */
   6764 int i;
   6765 _ACEOF
   6766 if ac_fn_c_try_compile "$LINENO"; then :
   6767   xorg_cv_cc_flag_unused_command_line_argument=yes
   6768 else
   6769   xorg_cv_cc_flag_unused_command_line_argument=no
   6770 fi
   6771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6772 fi
   6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6776 	CFLAGS="$xorg_testset_save_CFLAGS"
   6777 fi
   6778 
   6779 found="no"
   6780 
   6781 	if test $found = "no" ; then
   6782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 		fi
   6785 
   6786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6788 		fi
   6789 
   6790 		CFLAGS="$CFLAGS -Werror=implicit"
   6791 
   6792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6793 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6794 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6795 		if eval \${$cacheid+:} false; then :
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6799 /* end confdefs.h.  */
   6800 int i;
   6801 int
   6802 main ()
   6803 {
   6804 
   6805   ;
   6806   return 0;
   6807 }
   6808 _ACEOF
   6809 if ac_fn_c_try_link "$LINENO"; then :
   6810   eval $cacheid=yes
   6811 else
   6812   eval $cacheid=no
   6813 fi
   6814 rm -f core conftest.err conftest.$ac_objext \
   6815     conftest$ac_exeext conftest.$ac_ext
   6816 fi
   6817 
   6818 
   6819 		CFLAGS="$xorg_testset_save_CFLAGS"
   6820 
   6821 		eval supported=\$$cacheid
   6822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6823 $as_echo "$supported" >&6; }
   6824 		if test "$supported" = "yes" ; then
   6825 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6826 			found="yes"
   6827 		fi
   6828 	fi
   6829 
   6830 	if test $found = "no" ; then
   6831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6833 		fi
   6834 
   6835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6837 		fi
   6838 
   6839 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6840 
   6841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6842 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6843 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6844 		if eval \${$cacheid+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 int
   6851 main ()
   6852 {
   6853 
   6854   ;
   6855   return 0;
   6856 }
   6857 _ACEOF
   6858 if ac_fn_c_try_link "$LINENO"; then :
   6859   eval $cacheid=yes
   6860 else
   6861   eval $cacheid=no
   6862 fi
   6863 rm -f core conftest.err conftest.$ac_objext \
   6864     conftest$ac_exeext conftest.$ac_ext
   6865 fi
   6866 
   6867 
   6868 		CFLAGS="$xorg_testset_save_CFLAGS"
   6869 
   6870 		eval supported=\$$cacheid
   6871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6872 $as_echo "$supported" >&6; }
   6873 		if test "$supported" = "yes" ; then
   6874 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6875 			found="yes"
   6876 		fi
   6877 	fi
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 xorg_testset_save_CFLAGS="$CFLAGS"
   6894 
   6895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6900   $as_echo_n "(cached) " >&6
   6901 else
   6902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6903 /* end confdefs.h.  */
   6904 int i;
   6905 _ACEOF
   6906 if ac_fn_c_try_compile "$LINENO"; then :
   6907   xorg_cv_cc_flag_unknown_warning_option=yes
   6908 else
   6909   xorg_cv_cc_flag_unknown_warning_option=no
   6910 fi
   6911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6912 fi
   6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6916 	CFLAGS="$xorg_testset_save_CFLAGS"
   6917 fi
   6918 
   6919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6922 	fi
   6923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6927   $as_echo_n "(cached) " >&6
   6928 else
   6929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6930 /* end confdefs.h.  */
   6931 int i;
   6932 _ACEOF
   6933 if ac_fn_c_try_compile "$LINENO"; then :
   6934   xorg_cv_cc_flag_unused_command_line_argument=yes
   6935 else
   6936   xorg_cv_cc_flag_unused_command_line_argument=no
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6939 fi
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6943 	CFLAGS="$xorg_testset_save_CFLAGS"
   6944 fi
   6945 
   6946 found="no"
   6947 
   6948 	if test $found = "no" ; then
   6949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 		fi
   6952 
   6953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6955 		fi
   6956 
   6957 		CFLAGS="$CFLAGS -Werror=nonnull"
   6958 
   6959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6960 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6961 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6962 		if eval \${$cacheid+:} false; then :
   6963   $as_echo_n "(cached) " >&6
   6964 else
   6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 int
   6969 main ()
   6970 {
   6971 
   6972   ;
   6973   return 0;
   6974 }
   6975 _ACEOF
   6976 if ac_fn_c_try_link "$LINENO"; then :
   6977   eval $cacheid=yes
   6978 else
   6979   eval $cacheid=no
   6980 fi
   6981 rm -f core conftest.err conftest.$ac_objext \
   6982     conftest$ac_exeext conftest.$ac_ext
   6983 fi
   6984 
   6985 
   6986 		CFLAGS="$xorg_testset_save_CFLAGS"
   6987 
   6988 		eval supported=\$$cacheid
   6989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6990 $as_echo "$supported" >&6; }
   6991 		if test "$supported" = "yes" ; then
   6992 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6993 			found="yes"
   6994 		fi
   6995 	fi
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 xorg_testset_save_CFLAGS="$CFLAGS"
   7012 
   7013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 int i;
   7023 _ACEOF
   7024 if ac_fn_c_try_compile "$LINENO"; then :
   7025   xorg_cv_cc_flag_unknown_warning_option=yes
   7026 else
   7027   xorg_cv_cc_flag_unknown_warning_option=no
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7034 	CFLAGS="$xorg_testset_save_CFLAGS"
   7035 fi
   7036 
   7037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7040 	fi
   7041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7048 /* end confdefs.h.  */
   7049 int i;
   7050 _ACEOF
   7051 if ac_fn_c_try_compile "$LINENO"; then :
   7052   xorg_cv_cc_flag_unused_command_line_argument=yes
   7053 else
   7054   xorg_cv_cc_flag_unused_command_line_argument=no
   7055 fi
   7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7061 	CFLAGS="$xorg_testset_save_CFLAGS"
   7062 fi
   7063 
   7064 found="no"
   7065 
   7066 	if test $found = "no" ; then
   7067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 		fi
   7070 
   7071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7073 		fi
   7074 
   7075 		CFLAGS="$CFLAGS -Werror=init-self"
   7076 
   7077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7078 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7079 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7080 		if eval \${$cacheid+:} false; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 int
   7087 main ()
   7088 {
   7089 
   7090   ;
   7091   return 0;
   7092 }
   7093 _ACEOF
   7094 if ac_fn_c_try_link "$LINENO"; then :
   7095   eval $cacheid=yes
   7096 else
   7097   eval $cacheid=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext \
   7100     conftest$ac_exeext conftest.$ac_ext
   7101 fi
   7102 
   7103 
   7104 		CFLAGS="$xorg_testset_save_CFLAGS"
   7105 
   7106 		eval supported=\$$cacheid
   7107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7108 $as_echo "$supported" >&6; }
   7109 		if test "$supported" = "yes" ; then
   7110 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7111 			found="yes"
   7112 		fi
   7113 	fi
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 xorg_testset_save_CFLAGS="$CFLAGS"
   7130 
   7131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7136   $as_echo_n "(cached) " >&6
   7137 else
   7138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7139 /* end confdefs.h.  */
   7140 int i;
   7141 _ACEOF
   7142 if ac_fn_c_try_compile "$LINENO"; then :
   7143   xorg_cv_cc_flag_unknown_warning_option=yes
   7144 else
   7145   xorg_cv_cc_flag_unknown_warning_option=no
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7148 fi
   7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7152 	CFLAGS="$xorg_testset_save_CFLAGS"
   7153 fi
   7154 
   7155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7158 	fi
   7159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7163   $as_echo_n "(cached) " >&6
   7164 else
   7165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7166 /* end confdefs.h.  */
   7167 int i;
   7168 _ACEOF
   7169 if ac_fn_c_try_compile "$LINENO"; then :
   7170   xorg_cv_cc_flag_unused_command_line_argument=yes
   7171 else
   7172   xorg_cv_cc_flag_unused_command_line_argument=no
   7173 fi
   7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7175 fi
   7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7179 	CFLAGS="$xorg_testset_save_CFLAGS"
   7180 fi
   7181 
   7182 found="no"
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -Werror=main"
   7194 
   7195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7196 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7197 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7198 		if eval \${$cacheid+:} false; then :
   7199   $as_echo_n "(cached) " >&6
   7200 else
   7201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7202 /* end confdefs.h.  */
   7203 int i;
   7204 int
   7205 main ()
   7206 {
   7207 
   7208   ;
   7209   return 0;
   7210 }
   7211 _ACEOF
   7212 if ac_fn_c_try_link "$LINENO"; then :
   7213   eval $cacheid=yes
   7214 else
   7215   eval $cacheid=no
   7216 fi
   7217 rm -f core conftest.err conftest.$ac_objext \
   7218     conftest$ac_exeext conftest.$ac_ext
   7219 fi
   7220 
   7221 
   7222 		CFLAGS="$xorg_testset_save_CFLAGS"
   7223 
   7224 		eval supported=\$$cacheid
   7225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7226 $as_echo "$supported" >&6; }
   7227 		if test "$supported" = "yes" ; then
   7228 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7229 			found="yes"
   7230 		fi
   7231 	fi
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 xorg_testset_save_CFLAGS="$CFLAGS"
   7248 
   7249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7254   $as_echo_n "(cached) " >&6
   7255 else
   7256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7257 /* end confdefs.h.  */
   7258 int i;
   7259 _ACEOF
   7260 if ac_fn_c_try_compile "$LINENO"; then :
   7261   xorg_cv_cc_flag_unknown_warning_option=yes
   7262 else
   7263   xorg_cv_cc_flag_unknown_warning_option=no
   7264 fi
   7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7266 fi
   7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7270 	CFLAGS="$xorg_testset_save_CFLAGS"
   7271 fi
   7272 
   7273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7276 	fi
   7277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7281   $as_echo_n "(cached) " >&6
   7282 else
   7283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7284 /* end confdefs.h.  */
   7285 int i;
   7286 _ACEOF
   7287 if ac_fn_c_try_compile "$LINENO"; then :
   7288   xorg_cv_cc_flag_unused_command_line_argument=yes
   7289 else
   7290   xorg_cv_cc_flag_unused_command_line_argument=no
   7291 fi
   7292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7293 fi
   7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7297 	CFLAGS="$xorg_testset_save_CFLAGS"
   7298 fi
   7299 
   7300 found="no"
   7301 
   7302 	if test $found = "no" ; then
   7303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7305 		fi
   7306 
   7307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7309 		fi
   7310 
   7311 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7312 
   7313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7314 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7315 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7316 		if eval \${$cacheid+:} false; then :
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7320 /* end confdefs.h.  */
   7321 int i;
   7322 int
   7323 main ()
   7324 {
   7325 
   7326   ;
   7327   return 0;
   7328 }
   7329 _ACEOF
   7330 if ac_fn_c_try_link "$LINENO"; then :
   7331   eval $cacheid=yes
   7332 else
   7333   eval $cacheid=no
   7334 fi
   7335 rm -f core conftest.err conftest.$ac_objext \
   7336     conftest$ac_exeext conftest.$ac_ext
   7337 fi
   7338 
   7339 
   7340 		CFLAGS="$xorg_testset_save_CFLAGS"
   7341 
   7342 		eval supported=\$$cacheid
   7343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7344 $as_echo "$supported" >&6; }
   7345 		if test "$supported" = "yes" ; then
   7346 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7347 			found="yes"
   7348 		fi
   7349 	fi
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 xorg_testset_save_CFLAGS="$CFLAGS"
   7366 
   7367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7372   $as_echo_n "(cached) " >&6
   7373 else
   7374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7375 /* end confdefs.h.  */
   7376 int i;
   7377 _ACEOF
   7378 if ac_fn_c_try_compile "$LINENO"; then :
   7379   xorg_cv_cc_flag_unknown_warning_option=yes
   7380 else
   7381   xorg_cv_cc_flag_unknown_warning_option=no
   7382 fi
   7383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7384 fi
   7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7388 	CFLAGS="$xorg_testset_save_CFLAGS"
   7389 fi
   7390 
   7391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7394 	fi
   7395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7399   $as_echo_n "(cached) " >&6
   7400 else
   7401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7402 /* end confdefs.h.  */
   7403 int i;
   7404 _ACEOF
   7405 if ac_fn_c_try_compile "$LINENO"; then :
   7406   xorg_cv_cc_flag_unused_command_line_argument=yes
   7407 else
   7408   xorg_cv_cc_flag_unused_command_line_argument=no
   7409 fi
   7410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7411 fi
   7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7415 	CFLAGS="$xorg_testset_save_CFLAGS"
   7416 fi
   7417 
   7418 found="no"
   7419 
   7420 	if test $found = "no" ; then
   7421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7423 		fi
   7424 
   7425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7427 		fi
   7428 
   7429 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7430 
   7431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7432 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7433 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7434 		if eval \${$cacheid+:} false; then :
   7435   $as_echo_n "(cached) " >&6
   7436 else
   7437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7438 /* end confdefs.h.  */
   7439 int i;
   7440 int
   7441 main ()
   7442 {
   7443 
   7444   ;
   7445   return 0;
   7446 }
   7447 _ACEOF
   7448 if ac_fn_c_try_link "$LINENO"; then :
   7449   eval $cacheid=yes
   7450 else
   7451   eval $cacheid=no
   7452 fi
   7453 rm -f core conftest.err conftest.$ac_objext \
   7454     conftest$ac_exeext conftest.$ac_ext
   7455 fi
   7456 
   7457 
   7458 		CFLAGS="$xorg_testset_save_CFLAGS"
   7459 
   7460 		eval supported=\$$cacheid
   7461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7462 $as_echo "$supported" >&6; }
   7463 		if test "$supported" = "yes" ; then
   7464 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7465 			found="yes"
   7466 		fi
   7467 	fi
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 xorg_testset_save_CFLAGS="$CFLAGS"
   7484 
   7485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7490   $as_echo_n "(cached) " >&6
   7491 else
   7492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7493 /* end confdefs.h.  */
   7494 int i;
   7495 _ACEOF
   7496 if ac_fn_c_try_compile "$LINENO"; then :
   7497   xorg_cv_cc_flag_unknown_warning_option=yes
   7498 else
   7499   xorg_cv_cc_flag_unknown_warning_option=no
   7500 fi
   7501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7502 fi
   7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7506 	CFLAGS="$xorg_testset_save_CFLAGS"
   7507 fi
   7508 
   7509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7512 	fi
   7513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7517   $as_echo_n "(cached) " >&6
   7518 else
   7519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7520 /* end confdefs.h.  */
   7521 int i;
   7522 _ACEOF
   7523 if ac_fn_c_try_compile "$LINENO"; then :
   7524   xorg_cv_cc_flag_unused_command_line_argument=yes
   7525 else
   7526   xorg_cv_cc_flag_unused_command_line_argument=no
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7529 fi
   7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7533 	CFLAGS="$xorg_testset_save_CFLAGS"
   7534 fi
   7535 
   7536 found="no"
   7537 
   7538 	if test $found = "no" ; then
   7539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 		fi
   7542 
   7543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7545 		fi
   7546 
   7547 		CFLAGS="$CFLAGS -Werror=return-type"
   7548 
   7549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7550 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7551 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7552 		if eval \${$cacheid+:} false; then :
   7553   $as_echo_n "(cached) " >&6
   7554 else
   7555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7556 /* end confdefs.h.  */
   7557 int i;
   7558 int
   7559 main ()
   7560 {
   7561 
   7562   ;
   7563   return 0;
   7564 }
   7565 _ACEOF
   7566 if ac_fn_c_try_link "$LINENO"; then :
   7567   eval $cacheid=yes
   7568 else
   7569   eval $cacheid=no
   7570 fi
   7571 rm -f core conftest.err conftest.$ac_objext \
   7572     conftest$ac_exeext conftest.$ac_ext
   7573 fi
   7574 
   7575 
   7576 		CFLAGS="$xorg_testset_save_CFLAGS"
   7577 
   7578 		eval supported=\$$cacheid
   7579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7580 $as_echo "$supported" >&6; }
   7581 		if test "$supported" = "yes" ; then
   7582 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7583 			found="yes"
   7584 		fi
   7585 	fi
   7586 
   7587 	if test $found = "no" ; then
   7588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7590 		fi
   7591 
   7592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7594 		fi
   7595 
   7596 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7597 
   7598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7599 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7600 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7601 		if eval \${$cacheid+:} false; then :
   7602   $as_echo_n "(cached) " >&6
   7603 else
   7604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7605 /* end confdefs.h.  */
   7606 int i;
   7607 int
   7608 main ()
   7609 {
   7610 
   7611   ;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 if ac_fn_c_try_link "$LINENO"; then :
   7616   eval $cacheid=yes
   7617 else
   7618   eval $cacheid=no
   7619 fi
   7620 rm -f core conftest.err conftest.$ac_objext \
   7621     conftest$ac_exeext conftest.$ac_ext
   7622 fi
   7623 
   7624 
   7625 		CFLAGS="$xorg_testset_save_CFLAGS"
   7626 
   7627 		eval supported=\$$cacheid
   7628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7629 $as_echo "$supported" >&6; }
   7630 		if test "$supported" = "yes" ; then
   7631 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7632 			found="yes"
   7633 		fi
   7634 	fi
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 xorg_testset_save_CFLAGS="$CFLAGS"
   7651 
   7652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 _ACEOF
   7663 if ac_fn_c_try_compile "$LINENO"; then :
   7664   xorg_cv_cc_flag_unknown_warning_option=yes
   7665 else
   7666   xorg_cv_cc_flag_unknown_warning_option=no
   7667 fi
   7668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7669 fi
   7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7673 	CFLAGS="$xorg_testset_save_CFLAGS"
   7674 fi
   7675 
   7676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7679 	fi
   7680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7684   $as_echo_n "(cached) " >&6
   7685 else
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 _ACEOF
   7690 if ac_fn_c_try_compile "$LINENO"; then :
   7691   xorg_cv_cc_flag_unused_command_line_argument=yes
   7692 else
   7693   xorg_cv_cc_flag_unused_command_line_argument=no
   7694 fi
   7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7696 fi
   7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7700 	CFLAGS="$xorg_testset_save_CFLAGS"
   7701 fi
   7702 
   7703 found="no"
   7704 
   7705 	if test $found = "no" ; then
   7706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 		fi
   7709 
   7710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7712 		fi
   7713 
   7714 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7715 
   7716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7717 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7718 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7719 		if eval \${$cacheid+:} false; then :
   7720   $as_echo_n "(cached) " >&6
   7721 else
   7722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7723 /* end confdefs.h.  */
   7724 int i;
   7725 int
   7726 main ()
   7727 {
   7728 
   7729   ;
   7730   return 0;
   7731 }
   7732 _ACEOF
   7733 if ac_fn_c_try_link "$LINENO"; then :
   7734   eval $cacheid=yes
   7735 else
   7736   eval $cacheid=no
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext \
   7739     conftest$ac_exeext conftest.$ac_ext
   7740 fi
   7741 
   7742 
   7743 		CFLAGS="$xorg_testset_save_CFLAGS"
   7744 
   7745 		eval supported=\$$cacheid
   7746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7747 $as_echo "$supported" >&6; }
   7748 		if test "$supported" = "yes" ; then
   7749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7750 			found="yes"
   7751 		fi
   7752 	fi
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 xorg_testset_save_CFLAGS="$CFLAGS"
   7769 
   7770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7775   $as_echo_n "(cached) " >&6
   7776 else
   7777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 int i;
   7780 _ACEOF
   7781 if ac_fn_c_try_compile "$LINENO"; then :
   7782   xorg_cv_cc_flag_unknown_warning_option=yes
   7783 else
   7784   xorg_cv_cc_flag_unknown_warning_option=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7787 fi
   7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7791 	CFLAGS="$xorg_testset_save_CFLAGS"
   7792 fi
   7793 
   7794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7797 	fi
   7798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7802   $as_echo_n "(cached) " >&6
   7803 else
   7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 _ACEOF
   7808 if ac_fn_c_try_compile "$LINENO"; then :
   7809   xorg_cv_cc_flag_unused_command_line_argument=yes
   7810 else
   7811   xorg_cv_cc_flag_unused_command_line_argument=no
   7812 fi
   7813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7814 fi
   7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7818 	CFLAGS="$xorg_testset_save_CFLAGS"
   7819 fi
   7820 
   7821 found="no"
   7822 
   7823 	if test $found = "no" ; then
   7824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 		fi
   7827 
   7828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7830 		fi
   7831 
   7832 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7833 
   7834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7835 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7836 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7837 		if eval \${$cacheid+:} false; then :
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 int
   7844 main ()
   7845 {
   7846 
   7847   ;
   7848   return 0;
   7849 }
   7850 _ACEOF
   7851 if ac_fn_c_try_link "$LINENO"; then :
   7852   eval $cacheid=yes
   7853 else
   7854   eval $cacheid=no
   7855 fi
   7856 rm -f core conftest.err conftest.$ac_objext \
   7857     conftest$ac_exeext conftest.$ac_ext
   7858 fi
   7859 
   7860 
   7861 		CFLAGS="$xorg_testset_save_CFLAGS"
   7862 
   7863 		eval supported=\$$cacheid
   7864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7865 $as_echo "$supported" >&6; }
   7866 		if test "$supported" = "yes" ; then
   7867 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7868 			found="yes"
   7869 		fi
   7870 	fi
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 xorg_testset_save_CFLAGS="$CFLAGS"
   7887 
   7888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7893   $as_echo_n "(cached) " >&6
   7894 else
   7895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7896 /* end confdefs.h.  */
   7897 int i;
   7898 _ACEOF
   7899 if ac_fn_c_try_compile "$LINENO"; then :
   7900   xorg_cv_cc_flag_unknown_warning_option=yes
   7901 else
   7902   xorg_cv_cc_flag_unknown_warning_option=no
   7903 fi
   7904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7905 fi
   7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7909 	CFLAGS="$xorg_testset_save_CFLAGS"
   7910 fi
   7911 
   7912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7915 	fi
   7916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7920   $as_echo_n "(cached) " >&6
   7921 else
   7922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7923 /* end confdefs.h.  */
   7924 int i;
   7925 _ACEOF
   7926 if ac_fn_c_try_compile "$LINENO"; then :
   7927   xorg_cv_cc_flag_unused_command_line_argument=yes
   7928 else
   7929   xorg_cv_cc_flag_unused_command_line_argument=no
   7930 fi
   7931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7932 fi
   7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7936 	CFLAGS="$xorg_testset_save_CFLAGS"
   7937 fi
   7938 
   7939 found="no"
   7940 
   7941 	if test $found = "no" ; then
   7942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7944 		fi
   7945 
   7946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7948 		fi
   7949 
   7950 		CFLAGS="$CFLAGS -Werror=write-strings"
   7951 
   7952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7953 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7954 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7955 		if eval \${$cacheid+:} false; then :
   7956   $as_echo_n "(cached) " >&6
   7957 else
   7958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7959 /* end confdefs.h.  */
   7960 int i;
   7961 int
   7962 main ()
   7963 {
   7964 
   7965   ;
   7966   return 0;
   7967 }
   7968 _ACEOF
   7969 if ac_fn_c_try_link "$LINENO"; then :
   7970   eval $cacheid=yes
   7971 else
   7972   eval $cacheid=no
   7973 fi
   7974 rm -f core conftest.err conftest.$ac_objext \
   7975     conftest$ac_exeext conftest.$ac_ext
   7976 fi
   7977 
   7978 
   7979 		CFLAGS="$xorg_testset_save_CFLAGS"
   7980 
   7981 		eval supported=\$$cacheid
   7982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7983 $as_echo "$supported" >&6; }
   7984 		if test "$supported" = "yes" ; then
   7985 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7986 			found="yes"
   7987 		fi
   7988 	fi
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 xorg_testset_save_CFLAGS="$CFLAGS"
   8005 
   8006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8011   $as_echo_n "(cached) " >&6
   8012 else
   8013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8014 /* end confdefs.h.  */
   8015 int i;
   8016 _ACEOF
   8017 if ac_fn_c_try_compile "$LINENO"; then :
   8018   xorg_cv_cc_flag_unknown_warning_option=yes
   8019 else
   8020   xorg_cv_cc_flag_unknown_warning_option=no
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8023 fi
   8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8027 	CFLAGS="$xorg_testset_save_CFLAGS"
   8028 fi
   8029 
   8030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8033 	fi
   8034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8038   $as_echo_n "(cached) " >&6
   8039 else
   8040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8041 /* end confdefs.h.  */
   8042 int i;
   8043 _ACEOF
   8044 if ac_fn_c_try_compile "$LINENO"; then :
   8045   xorg_cv_cc_flag_unused_command_line_argument=yes
   8046 else
   8047   xorg_cv_cc_flag_unused_command_line_argument=no
   8048 fi
   8049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8050 fi
   8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8054 	CFLAGS="$xorg_testset_save_CFLAGS"
   8055 fi
   8056 
   8057 found="no"
   8058 
   8059 	if test $found = "no" ; then
   8060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8062 		fi
   8063 
   8064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8066 		fi
   8067 
   8068 		CFLAGS="$CFLAGS -Werror=address"
   8069 
   8070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8071 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8072 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8073 		if eval \${$cacheid+:} false; then :
   8074   $as_echo_n "(cached) " >&6
   8075 else
   8076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8077 /* end confdefs.h.  */
   8078 int i;
   8079 int
   8080 main ()
   8081 {
   8082 
   8083   ;
   8084   return 0;
   8085 }
   8086 _ACEOF
   8087 if ac_fn_c_try_link "$LINENO"; then :
   8088   eval $cacheid=yes
   8089 else
   8090   eval $cacheid=no
   8091 fi
   8092 rm -f core conftest.err conftest.$ac_objext \
   8093     conftest$ac_exeext conftest.$ac_ext
   8094 fi
   8095 
   8096 
   8097 		CFLAGS="$xorg_testset_save_CFLAGS"
   8098 
   8099 		eval supported=\$$cacheid
   8100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8101 $as_echo "$supported" >&6; }
   8102 		if test "$supported" = "yes" ; then
   8103 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8104 			found="yes"
   8105 		fi
   8106 	fi
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 xorg_testset_save_CFLAGS="$CFLAGS"
   8123 
   8124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8127 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8128 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8129   $as_echo_n "(cached) " >&6
   8130 else
   8131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8132 /* end confdefs.h.  */
   8133 int i;
   8134 _ACEOF
   8135 if ac_fn_c_try_compile "$LINENO"; then :
   8136   xorg_cv_cc_flag_unknown_warning_option=yes
   8137 else
   8138   xorg_cv_cc_flag_unknown_warning_option=no
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8141 fi
   8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8143 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8145 	CFLAGS="$xorg_testset_save_CFLAGS"
   8146 fi
   8147 
   8148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8151 	fi
   8152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8154 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8155 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8156   $as_echo_n "(cached) " >&6
   8157 else
   8158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 int i;
   8161 _ACEOF
   8162 if ac_fn_c_try_compile "$LINENO"; then :
   8163   xorg_cv_cc_flag_unused_command_line_argument=yes
   8164 else
   8165   xorg_cv_cc_flag_unused_command_line_argument=no
   8166 fi
   8167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8168 fi
   8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8170 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8172 	CFLAGS="$xorg_testset_save_CFLAGS"
   8173 fi
   8174 
   8175 found="no"
   8176 
   8177 	if test $found = "no" ; then
   8178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8180 		fi
   8181 
   8182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8184 		fi
   8185 
   8186 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8187 
   8188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8189 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8190 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8191 		if eval \${$cacheid+:} false; then :
   8192   $as_echo_n "(cached) " >&6
   8193 else
   8194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8195 /* end confdefs.h.  */
   8196 int i;
   8197 int
   8198 main ()
   8199 {
   8200 
   8201   ;
   8202   return 0;
   8203 }
   8204 _ACEOF
   8205 if ac_fn_c_try_link "$LINENO"; then :
   8206   eval $cacheid=yes
   8207 else
   8208   eval $cacheid=no
   8209 fi
   8210 rm -f core conftest.err conftest.$ac_objext \
   8211     conftest$ac_exeext conftest.$ac_ext
   8212 fi
   8213 
   8214 
   8215 		CFLAGS="$xorg_testset_save_CFLAGS"
   8216 
   8217 		eval supported=\$$cacheid
   8218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8219 $as_echo "$supported" >&6; }
   8220 		if test "$supported" = "yes" ; then
   8221 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8222 			found="yes"
   8223 		fi
   8224 	fi
   8225 
   8226 	if test $found = "no" ; then
   8227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8229 		fi
   8230 
   8231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8233 		fi
   8234 
   8235 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8236 
   8237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8238 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8239 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8240 		if eval \${$cacheid+:} false; then :
   8241   $as_echo_n "(cached) " >&6
   8242 else
   8243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8244 /* end confdefs.h.  */
   8245 int i;
   8246 int
   8247 main ()
   8248 {
   8249 
   8250   ;
   8251   return 0;
   8252 }
   8253 _ACEOF
   8254 if ac_fn_c_try_link "$LINENO"; then :
   8255   eval $cacheid=yes
   8256 else
   8257   eval $cacheid=no
   8258 fi
   8259 rm -f core conftest.err conftest.$ac_objext \
   8260     conftest$ac_exeext conftest.$ac_ext
   8261 fi
   8262 
   8263 
   8264 		CFLAGS="$xorg_testset_save_CFLAGS"
   8265 
   8266 		eval supported=\$$cacheid
   8267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8268 $as_echo "$supported" >&6; }
   8269 		if test "$supported" = "yes" ; then
   8270 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8271 			found="yes"
   8272 		fi
   8273 	fi
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 xorg_testset_save_CFLAGS="$CFLAGS"
   8290 
   8291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8296   $as_echo_n "(cached) " >&6
   8297 else
   8298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8299 /* end confdefs.h.  */
   8300 int i;
   8301 _ACEOF
   8302 if ac_fn_c_try_compile "$LINENO"; then :
   8303   xorg_cv_cc_flag_unknown_warning_option=yes
   8304 else
   8305   xorg_cv_cc_flag_unknown_warning_option=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8308 fi
   8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 	fi
   8319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8323   $as_echo_n "(cached) " >&6
   8324 else
   8325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8326 /* end confdefs.h.  */
   8327 int i;
   8328 _ACEOF
   8329 if ac_fn_c_try_compile "$LINENO"; then :
   8330   xorg_cv_cc_flag_unused_command_line_argument=yes
   8331 else
   8332   xorg_cv_cc_flag_unused_command_line_argument=no
   8333 fi
   8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8335 fi
   8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8339 	CFLAGS="$xorg_testset_save_CFLAGS"
   8340 fi
   8341 
   8342 found="no"
   8343 
   8344 	if test $found = "no" ; then
   8345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 		fi
   8348 
   8349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8351 		fi
   8352 
   8353 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8354 
   8355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8356 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8357 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8358 		if eval \${$cacheid+:} false; then :
   8359   $as_echo_n "(cached) " >&6
   8360 else
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 int
   8365 main ()
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_link "$LINENO"; then :
   8373   eval $cacheid=yes
   8374 else
   8375   eval $cacheid=no
   8376 fi
   8377 rm -f core conftest.err conftest.$ac_objext \
   8378     conftest$ac_exeext conftest.$ac_ext
   8379 fi
   8380 
   8381 
   8382 		CFLAGS="$xorg_testset_save_CFLAGS"
   8383 
   8384 		eval supported=\$$cacheid
   8385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8386 $as_echo "$supported" >&6; }
   8387 		if test "$supported" = "yes" ; then
   8388 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8389 			found="yes"
   8390 		fi
   8391 	fi
   8392 
   8393  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8394 else
   8395 { $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
   8396 $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;}
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 xorg_testset_save_CFLAGS="$CFLAGS"
   8411 
   8412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8417   $as_echo_n "(cached) " >&6
   8418 else
   8419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 _ACEOF
   8423 if ac_fn_c_try_compile "$LINENO"; then :
   8424   xorg_cv_cc_flag_unknown_warning_option=yes
   8425 else
   8426   xorg_cv_cc_flag_unknown_warning_option=no
   8427 fi
   8428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8429 fi
   8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8433 	CFLAGS="$xorg_testset_save_CFLAGS"
   8434 fi
   8435 
   8436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8439 	fi
   8440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8444   $as_echo_n "(cached) " >&6
   8445 else
   8446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8447 /* end confdefs.h.  */
   8448 int i;
   8449 _ACEOF
   8450 if ac_fn_c_try_compile "$LINENO"; then :
   8451   xorg_cv_cc_flag_unused_command_line_argument=yes
   8452 else
   8453   xorg_cv_cc_flag_unused_command_line_argument=no
   8454 fi
   8455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8456 fi
   8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8460 	CFLAGS="$xorg_testset_save_CFLAGS"
   8461 fi
   8462 
   8463 found="no"
   8464 
   8465 	if test $found = "no" ; then
   8466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8468 		fi
   8469 
   8470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8472 		fi
   8473 
   8474 		CFLAGS="$CFLAGS -Wimplicit"
   8475 
   8476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8477 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8478 		cacheid=xorg_cv_cc_flag__Wimplicit
   8479 		if eval \${$cacheid+:} false; then :
   8480   $as_echo_n "(cached) " >&6
   8481 else
   8482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8483 /* end confdefs.h.  */
   8484 int i;
   8485 int
   8486 main ()
   8487 {
   8488 
   8489   ;
   8490   return 0;
   8491 }
   8492 _ACEOF
   8493 if ac_fn_c_try_link "$LINENO"; then :
   8494   eval $cacheid=yes
   8495 else
   8496   eval $cacheid=no
   8497 fi
   8498 rm -f core conftest.err conftest.$ac_objext \
   8499     conftest$ac_exeext conftest.$ac_ext
   8500 fi
   8501 
   8502 
   8503 		CFLAGS="$xorg_testset_save_CFLAGS"
   8504 
   8505 		eval supported=\$$cacheid
   8506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8507 $as_echo "$supported" >&6; }
   8508 		if test "$supported" = "yes" ; then
   8509 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8510 			found="yes"
   8511 		fi
   8512 	fi
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 xorg_testset_save_CFLAGS="$CFLAGS"
   8529 
   8530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8535   $as_echo_n "(cached) " >&6
   8536 else
   8537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8538 /* end confdefs.h.  */
   8539 int i;
   8540 _ACEOF
   8541 if ac_fn_c_try_compile "$LINENO"; then :
   8542   xorg_cv_cc_flag_unknown_warning_option=yes
   8543 else
   8544   xorg_cv_cc_flag_unknown_warning_option=no
   8545 fi
   8546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8547 fi
   8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8551 	CFLAGS="$xorg_testset_save_CFLAGS"
   8552 fi
   8553 
   8554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8557 	fi
   8558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8562   $as_echo_n "(cached) " >&6
   8563 else
   8564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8565 /* end confdefs.h.  */
   8566 int i;
   8567 _ACEOF
   8568 if ac_fn_c_try_compile "$LINENO"; then :
   8569   xorg_cv_cc_flag_unused_command_line_argument=yes
   8570 else
   8571   xorg_cv_cc_flag_unused_command_line_argument=no
   8572 fi
   8573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8574 fi
   8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8578 	CFLAGS="$xorg_testset_save_CFLAGS"
   8579 fi
   8580 
   8581 found="no"
   8582 
   8583 	if test $found = "no" ; then
   8584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8586 		fi
   8587 
   8588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8590 		fi
   8591 
   8592 		CFLAGS="$CFLAGS -Wnonnull"
   8593 
   8594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8595 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8596 		cacheid=xorg_cv_cc_flag__Wnonnull
   8597 		if eval \${$cacheid+:} false; then :
   8598   $as_echo_n "(cached) " >&6
   8599 else
   8600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8601 /* end confdefs.h.  */
   8602 int i;
   8603 int
   8604 main ()
   8605 {
   8606 
   8607   ;
   8608   return 0;
   8609 }
   8610 _ACEOF
   8611 if ac_fn_c_try_link "$LINENO"; then :
   8612   eval $cacheid=yes
   8613 else
   8614   eval $cacheid=no
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext \
   8617     conftest$ac_exeext conftest.$ac_ext
   8618 fi
   8619 
   8620 
   8621 		CFLAGS="$xorg_testset_save_CFLAGS"
   8622 
   8623 		eval supported=\$$cacheid
   8624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8625 $as_echo "$supported" >&6; }
   8626 		if test "$supported" = "yes" ; then
   8627 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8628 			found="yes"
   8629 		fi
   8630 	fi
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 xorg_testset_save_CFLAGS="$CFLAGS"
   8647 
   8648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8653   $as_echo_n "(cached) " >&6
   8654 else
   8655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8656 /* end confdefs.h.  */
   8657 int i;
   8658 _ACEOF
   8659 if ac_fn_c_try_compile "$LINENO"; then :
   8660   xorg_cv_cc_flag_unknown_warning_option=yes
   8661 else
   8662   xorg_cv_cc_flag_unknown_warning_option=no
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8665 fi
   8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8669 	CFLAGS="$xorg_testset_save_CFLAGS"
   8670 fi
   8671 
   8672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8675 	fi
   8676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8680   $as_echo_n "(cached) " >&6
   8681 else
   8682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8683 /* end confdefs.h.  */
   8684 int i;
   8685 _ACEOF
   8686 if ac_fn_c_try_compile "$LINENO"; then :
   8687   xorg_cv_cc_flag_unused_command_line_argument=yes
   8688 else
   8689   xorg_cv_cc_flag_unused_command_line_argument=no
   8690 fi
   8691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8692 fi
   8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8696 	CFLAGS="$xorg_testset_save_CFLAGS"
   8697 fi
   8698 
   8699 found="no"
   8700 
   8701 	if test $found = "no" ; then
   8702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8704 		fi
   8705 
   8706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8708 		fi
   8709 
   8710 		CFLAGS="$CFLAGS -Winit-self"
   8711 
   8712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8713 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8714 		cacheid=xorg_cv_cc_flag__Winit_self
   8715 		if eval \${$cacheid+:} false; then :
   8716   $as_echo_n "(cached) " >&6
   8717 else
   8718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8719 /* end confdefs.h.  */
   8720 int i;
   8721 int
   8722 main ()
   8723 {
   8724 
   8725   ;
   8726   return 0;
   8727 }
   8728 _ACEOF
   8729 if ac_fn_c_try_link "$LINENO"; then :
   8730   eval $cacheid=yes
   8731 else
   8732   eval $cacheid=no
   8733 fi
   8734 rm -f core conftest.err conftest.$ac_objext \
   8735     conftest$ac_exeext conftest.$ac_ext
   8736 fi
   8737 
   8738 
   8739 		CFLAGS="$xorg_testset_save_CFLAGS"
   8740 
   8741 		eval supported=\$$cacheid
   8742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8743 $as_echo "$supported" >&6; }
   8744 		if test "$supported" = "yes" ; then
   8745 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8746 			found="yes"
   8747 		fi
   8748 	fi
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 xorg_testset_save_CFLAGS="$CFLAGS"
   8765 
   8766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8774 /* end confdefs.h.  */
   8775 int i;
   8776 _ACEOF
   8777 if ac_fn_c_try_compile "$LINENO"; then :
   8778   xorg_cv_cc_flag_unknown_warning_option=yes
   8779 else
   8780   xorg_cv_cc_flag_unknown_warning_option=no
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8783 fi
   8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8787 	CFLAGS="$xorg_testset_save_CFLAGS"
   8788 fi
   8789 
   8790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8793 	fi
   8794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8798   $as_echo_n "(cached) " >&6
   8799 else
   8800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8801 /* end confdefs.h.  */
   8802 int i;
   8803 _ACEOF
   8804 if ac_fn_c_try_compile "$LINENO"; then :
   8805   xorg_cv_cc_flag_unused_command_line_argument=yes
   8806 else
   8807   xorg_cv_cc_flag_unused_command_line_argument=no
   8808 fi
   8809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8810 fi
   8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8814 	CFLAGS="$xorg_testset_save_CFLAGS"
   8815 fi
   8816 
   8817 found="no"
   8818 
   8819 	if test $found = "no" ; then
   8820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8822 		fi
   8823 
   8824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8826 		fi
   8827 
   8828 		CFLAGS="$CFLAGS -Wmain"
   8829 
   8830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8831 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8832 		cacheid=xorg_cv_cc_flag__Wmain
   8833 		if eval \${$cacheid+:} false; then :
   8834   $as_echo_n "(cached) " >&6
   8835 else
   8836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8837 /* end confdefs.h.  */
   8838 int i;
   8839 int
   8840 main ()
   8841 {
   8842 
   8843   ;
   8844   return 0;
   8845 }
   8846 _ACEOF
   8847 if ac_fn_c_try_link "$LINENO"; then :
   8848   eval $cacheid=yes
   8849 else
   8850   eval $cacheid=no
   8851 fi
   8852 rm -f core conftest.err conftest.$ac_objext \
   8853     conftest$ac_exeext conftest.$ac_ext
   8854 fi
   8855 
   8856 
   8857 		CFLAGS="$xorg_testset_save_CFLAGS"
   8858 
   8859 		eval supported=\$$cacheid
   8860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8861 $as_echo "$supported" >&6; }
   8862 		if test "$supported" = "yes" ; then
   8863 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8864 			found="yes"
   8865 		fi
   8866 	fi
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 xorg_testset_save_CFLAGS="$CFLAGS"
   8883 
   8884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8889   $as_echo_n "(cached) " >&6
   8890 else
   8891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8892 /* end confdefs.h.  */
   8893 int i;
   8894 _ACEOF
   8895 if ac_fn_c_try_compile "$LINENO"; then :
   8896   xorg_cv_cc_flag_unknown_warning_option=yes
   8897 else
   8898   xorg_cv_cc_flag_unknown_warning_option=no
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8901 fi
   8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8905 	CFLAGS="$xorg_testset_save_CFLAGS"
   8906 fi
   8907 
   8908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8911 	fi
   8912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8916   $as_echo_n "(cached) " >&6
   8917 else
   8918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8919 /* end confdefs.h.  */
   8920 int i;
   8921 _ACEOF
   8922 if ac_fn_c_try_compile "$LINENO"; then :
   8923   xorg_cv_cc_flag_unused_command_line_argument=yes
   8924 else
   8925   xorg_cv_cc_flag_unused_command_line_argument=no
   8926 fi
   8927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8928 fi
   8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8932 	CFLAGS="$xorg_testset_save_CFLAGS"
   8933 fi
   8934 
   8935 found="no"
   8936 
   8937 	if test $found = "no" ; then
   8938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8940 		fi
   8941 
   8942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8944 		fi
   8945 
   8946 		CFLAGS="$CFLAGS -Wmissing-braces"
   8947 
   8948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8949 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8950 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8951 		if eval \${$cacheid+:} false; then :
   8952   $as_echo_n "(cached) " >&6
   8953 else
   8954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8955 /* end confdefs.h.  */
   8956 int i;
   8957 int
   8958 main ()
   8959 {
   8960 
   8961   ;
   8962   return 0;
   8963 }
   8964 _ACEOF
   8965 if ac_fn_c_try_link "$LINENO"; then :
   8966   eval $cacheid=yes
   8967 else
   8968   eval $cacheid=no
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext \
   8971     conftest$ac_exeext conftest.$ac_ext
   8972 fi
   8973 
   8974 
   8975 		CFLAGS="$xorg_testset_save_CFLAGS"
   8976 
   8977 		eval supported=\$$cacheid
   8978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8979 $as_echo "$supported" >&6; }
   8980 		if test "$supported" = "yes" ; then
   8981 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8982 			found="yes"
   8983 		fi
   8984 	fi
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 xorg_testset_save_CFLAGS="$CFLAGS"
   9001 
   9002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9007   $as_echo_n "(cached) " >&6
   9008 else
   9009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 int i;
   9012 _ACEOF
   9013 if ac_fn_c_try_compile "$LINENO"; then :
   9014   xorg_cv_cc_flag_unknown_warning_option=yes
   9015 else
   9016   xorg_cv_cc_flag_unknown_warning_option=no
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9019 fi
   9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9023 	CFLAGS="$xorg_testset_save_CFLAGS"
   9024 fi
   9025 
   9026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9029 	fi
   9030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9034   $as_echo_n "(cached) " >&6
   9035 else
   9036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9037 /* end confdefs.h.  */
   9038 int i;
   9039 _ACEOF
   9040 if ac_fn_c_try_compile "$LINENO"; then :
   9041   xorg_cv_cc_flag_unused_command_line_argument=yes
   9042 else
   9043   xorg_cv_cc_flag_unused_command_line_argument=no
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9046 fi
   9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9050 	CFLAGS="$xorg_testset_save_CFLAGS"
   9051 fi
   9052 
   9053 found="no"
   9054 
   9055 	if test $found = "no" ; then
   9056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9058 		fi
   9059 
   9060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9062 		fi
   9063 
   9064 		CFLAGS="$CFLAGS -Wsequence-point"
   9065 
   9066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9067 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9068 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9069 		if eval \${$cacheid+:} false; then :
   9070   $as_echo_n "(cached) " >&6
   9071 else
   9072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 int i;
   9075 int
   9076 main ()
   9077 {
   9078 
   9079   ;
   9080   return 0;
   9081 }
   9082 _ACEOF
   9083 if ac_fn_c_try_link "$LINENO"; then :
   9084   eval $cacheid=yes
   9085 else
   9086   eval $cacheid=no
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext \
   9089     conftest$ac_exeext conftest.$ac_ext
   9090 fi
   9091 
   9092 
   9093 		CFLAGS="$xorg_testset_save_CFLAGS"
   9094 
   9095 		eval supported=\$$cacheid
   9096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9097 $as_echo "$supported" >&6; }
   9098 		if test "$supported" = "yes" ; then
   9099 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9100 			found="yes"
   9101 		fi
   9102 	fi
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 xorg_testset_save_CFLAGS="$CFLAGS"
   9119 
   9120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9123 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9124 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9125   $as_echo_n "(cached) " >&6
   9126 else
   9127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9128 /* end confdefs.h.  */
   9129 int i;
   9130 _ACEOF
   9131 if ac_fn_c_try_compile "$LINENO"; then :
   9132   xorg_cv_cc_flag_unknown_warning_option=yes
   9133 else
   9134   xorg_cv_cc_flag_unknown_warning_option=no
   9135 fi
   9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9137 fi
   9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9139 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9141 	CFLAGS="$xorg_testset_save_CFLAGS"
   9142 fi
   9143 
   9144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9147 	fi
   9148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9150 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9151 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9152   $as_echo_n "(cached) " >&6
   9153 else
   9154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9155 /* end confdefs.h.  */
   9156 int i;
   9157 _ACEOF
   9158 if ac_fn_c_try_compile "$LINENO"; then :
   9159   xorg_cv_cc_flag_unused_command_line_argument=yes
   9160 else
   9161   xorg_cv_cc_flag_unused_command_line_argument=no
   9162 fi
   9163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9164 fi
   9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9166 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9168 	CFLAGS="$xorg_testset_save_CFLAGS"
   9169 fi
   9170 
   9171 found="no"
   9172 
   9173 	if test $found = "no" ; then
   9174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 		fi
   9177 
   9178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9180 		fi
   9181 
   9182 		CFLAGS="$CFLAGS -Wreturn-type"
   9183 
   9184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9185 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9186 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9187 		if eval \${$cacheid+:} false; then :
   9188   $as_echo_n "(cached) " >&6
   9189 else
   9190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9191 /* end confdefs.h.  */
   9192 int i;
   9193 int
   9194 main ()
   9195 {
   9196 
   9197   ;
   9198   return 0;
   9199 }
   9200 _ACEOF
   9201 if ac_fn_c_try_link "$LINENO"; then :
   9202   eval $cacheid=yes
   9203 else
   9204   eval $cacheid=no
   9205 fi
   9206 rm -f core conftest.err conftest.$ac_objext \
   9207     conftest$ac_exeext conftest.$ac_ext
   9208 fi
   9209 
   9210 
   9211 		CFLAGS="$xorg_testset_save_CFLAGS"
   9212 
   9213 		eval supported=\$$cacheid
   9214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9215 $as_echo "$supported" >&6; }
   9216 		if test "$supported" = "yes" ; then
   9217 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9218 			found="yes"
   9219 		fi
   9220 	fi
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 xorg_testset_save_CFLAGS="$CFLAGS"
   9237 
   9238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9241 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9242 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9243   $as_echo_n "(cached) " >&6
   9244 else
   9245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9246 /* end confdefs.h.  */
   9247 int i;
   9248 _ACEOF
   9249 if ac_fn_c_try_compile "$LINENO"; then :
   9250   xorg_cv_cc_flag_unknown_warning_option=yes
   9251 else
   9252   xorg_cv_cc_flag_unknown_warning_option=no
   9253 fi
   9254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9255 fi
   9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9257 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9259 	CFLAGS="$xorg_testset_save_CFLAGS"
   9260 fi
   9261 
   9262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9265 	fi
   9266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9268 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9269 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9270   $as_echo_n "(cached) " >&6
   9271 else
   9272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9273 /* end confdefs.h.  */
   9274 int i;
   9275 _ACEOF
   9276 if ac_fn_c_try_compile "$LINENO"; then :
   9277   xorg_cv_cc_flag_unused_command_line_argument=yes
   9278 else
   9279   xorg_cv_cc_flag_unused_command_line_argument=no
   9280 fi
   9281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9282 fi
   9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9284 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9286 	CFLAGS="$xorg_testset_save_CFLAGS"
   9287 fi
   9288 
   9289 found="no"
   9290 
   9291 	if test $found = "no" ; then
   9292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9294 		fi
   9295 
   9296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9298 		fi
   9299 
   9300 		CFLAGS="$CFLAGS -Wtrigraphs"
   9301 
   9302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9303 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9304 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9305 		if eval \${$cacheid+:} false; then :
   9306   $as_echo_n "(cached) " >&6
   9307 else
   9308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9309 /* end confdefs.h.  */
   9310 int i;
   9311 int
   9312 main ()
   9313 {
   9314 
   9315   ;
   9316   return 0;
   9317 }
   9318 _ACEOF
   9319 if ac_fn_c_try_link "$LINENO"; then :
   9320   eval $cacheid=yes
   9321 else
   9322   eval $cacheid=no
   9323 fi
   9324 rm -f core conftest.err conftest.$ac_objext \
   9325     conftest$ac_exeext conftest.$ac_ext
   9326 fi
   9327 
   9328 
   9329 		CFLAGS="$xorg_testset_save_CFLAGS"
   9330 
   9331 		eval supported=\$$cacheid
   9332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9333 $as_echo "$supported" >&6; }
   9334 		if test "$supported" = "yes" ; then
   9335 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9336 			found="yes"
   9337 		fi
   9338 	fi
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 xorg_testset_save_CFLAGS="$CFLAGS"
   9355 
   9356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9359 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9360 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9361   $as_echo_n "(cached) " >&6
   9362 else
   9363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9364 /* end confdefs.h.  */
   9365 int i;
   9366 _ACEOF
   9367 if ac_fn_c_try_compile "$LINENO"; then :
   9368   xorg_cv_cc_flag_unknown_warning_option=yes
   9369 else
   9370   xorg_cv_cc_flag_unknown_warning_option=no
   9371 fi
   9372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9373 fi
   9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9375 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9377 	CFLAGS="$xorg_testset_save_CFLAGS"
   9378 fi
   9379 
   9380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9383 	fi
   9384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9386 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9387 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9388   $as_echo_n "(cached) " >&6
   9389 else
   9390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9391 /* end confdefs.h.  */
   9392 int i;
   9393 _ACEOF
   9394 if ac_fn_c_try_compile "$LINENO"; then :
   9395   xorg_cv_cc_flag_unused_command_line_argument=yes
   9396 else
   9397   xorg_cv_cc_flag_unused_command_line_argument=no
   9398 fi
   9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9400 fi
   9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9402 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9404 	CFLAGS="$xorg_testset_save_CFLAGS"
   9405 fi
   9406 
   9407 found="no"
   9408 
   9409 	if test $found = "no" ; then
   9410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9412 		fi
   9413 
   9414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9416 		fi
   9417 
   9418 		CFLAGS="$CFLAGS -Warray-bounds"
   9419 
   9420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9421 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9422 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9423 		if eval \${$cacheid+:} false; then :
   9424   $as_echo_n "(cached) " >&6
   9425 else
   9426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9427 /* end confdefs.h.  */
   9428 int i;
   9429 int
   9430 main ()
   9431 {
   9432 
   9433   ;
   9434   return 0;
   9435 }
   9436 _ACEOF
   9437 if ac_fn_c_try_link "$LINENO"; then :
   9438   eval $cacheid=yes
   9439 else
   9440   eval $cacheid=no
   9441 fi
   9442 rm -f core conftest.err conftest.$ac_objext \
   9443     conftest$ac_exeext conftest.$ac_ext
   9444 fi
   9445 
   9446 
   9447 		CFLAGS="$xorg_testset_save_CFLAGS"
   9448 
   9449 		eval supported=\$$cacheid
   9450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9451 $as_echo "$supported" >&6; }
   9452 		if test "$supported" = "yes" ; then
   9453 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9454 			found="yes"
   9455 		fi
   9456 	fi
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 xorg_testset_save_CFLAGS="$CFLAGS"
   9473 
   9474 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9475 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9477 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9478 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9479   $as_echo_n "(cached) " >&6
   9480 else
   9481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9482 /* end confdefs.h.  */
   9483 int i;
   9484 _ACEOF
   9485 if ac_fn_c_try_compile "$LINENO"; then :
   9486   xorg_cv_cc_flag_unknown_warning_option=yes
   9487 else
   9488   xorg_cv_cc_flag_unknown_warning_option=no
   9489 fi
   9490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9491 fi
   9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9493 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9494 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9495 	CFLAGS="$xorg_testset_save_CFLAGS"
   9496 fi
   9497 
   9498 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9499 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9500 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9501 	fi
   9502 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9504 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9505 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9506   $as_echo_n "(cached) " >&6
   9507 else
   9508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9509 /* end confdefs.h.  */
   9510 int i;
   9511 _ACEOF
   9512 if ac_fn_c_try_compile "$LINENO"; then :
   9513   xorg_cv_cc_flag_unused_command_line_argument=yes
   9514 else
   9515   xorg_cv_cc_flag_unused_command_line_argument=no
   9516 fi
   9517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9518 fi
   9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9520 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9521 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9522 	CFLAGS="$xorg_testset_save_CFLAGS"
   9523 fi
   9524 
   9525 found="no"
   9526 
   9527 	if test $found = "no" ; then
   9528 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9529 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9530 		fi
   9531 
   9532 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9533 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9534 		fi
   9535 
   9536 		CFLAGS="$CFLAGS -Wwrite-strings"
   9537 
   9538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9539 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9540 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9541 		if eval \${$cacheid+:} false; then :
   9542   $as_echo_n "(cached) " >&6
   9543 else
   9544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9545 /* end confdefs.h.  */
   9546 int i;
   9547 int
   9548 main ()
   9549 {
   9550 
   9551   ;
   9552   return 0;
   9553 }
   9554 _ACEOF
   9555 if ac_fn_c_try_link "$LINENO"; then :
   9556   eval $cacheid=yes
   9557 else
   9558   eval $cacheid=no
   9559 fi
   9560 rm -f core conftest.err conftest.$ac_objext \
   9561     conftest$ac_exeext conftest.$ac_ext
   9562 fi
   9563 
   9564 
   9565 		CFLAGS="$xorg_testset_save_CFLAGS"
   9566 
   9567 		eval supported=\$$cacheid
   9568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9569 $as_echo "$supported" >&6; }
   9570 		if test "$supported" = "yes" ; then
   9571 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9572 			found="yes"
   9573 		fi
   9574 	fi
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 xorg_testset_save_CFLAGS="$CFLAGS"
   9591 
   9592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9595 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9596 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9597   $as_echo_n "(cached) " >&6
   9598 else
   9599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9600 /* end confdefs.h.  */
   9601 int i;
   9602 _ACEOF
   9603 if ac_fn_c_try_compile "$LINENO"; then :
   9604   xorg_cv_cc_flag_unknown_warning_option=yes
   9605 else
   9606   xorg_cv_cc_flag_unknown_warning_option=no
   9607 fi
   9608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9609 fi
   9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9611 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9613 	CFLAGS="$xorg_testset_save_CFLAGS"
   9614 fi
   9615 
   9616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9619 	fi
   9620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9622 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9623 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9624   $as_echo_n "(cached) " >&6
   9625 else
   9626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9627 /* end confdefs.h.  */
   9628 int i;
   9629 _ACEOF
   9630 if ac_fn_c_try_compile "$LINENO"; then :
   9631   xorg_cv_cc_flag_unused_command_line_argument=yes
   9632 else
   9633   xorg_cv_cc_flag_unused_command_line_argument=no
   9634 fi
   9635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9636 fi
   9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9638 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9640 	CFLAGS="$xorg_testset_save_CFLAGS"
   9641 fi
   9642 
   9643 found="no"
   9644 
   9645 	if test $found = "no" ; then
   9646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 		fi
   9649 
   9650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9652 		fi
   9653 
   9654 		CFLAGS="$CFLAGS -Waddress"
   9655 
   9656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9657 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9658 		cacheid=xorg_cv_cc_flag__Waddress
   9659 		if eval \${$cacheid+:} false; then :
   9660   $as_echo_n "(cached) " >&6
   9661 else
   9662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9663 /* end confdefs.h.  */
   9664 int i;
   9665 int
   9666 main ()
   9667 {
   9668 
   9669   ;
   9670   return 0;
   9671 }
   9672 _ACEOF
   9673 if ac_fn_c_try_link "$LINENO"; then :
   9674   eval $cacheid=yes
   9675 else
   9676   eval $cacheid=no
   9677 fi
   9678 rm -f core conftest.err conftest.$ac_objext \
   9679     conftest$ac_exeext conftest.$ac_ext
   9680 fi
   9681 
   9682 
   9683 		CFLAGS="$xorg_testset_save_CFLAGS"
   9684 
   9685 		eval supported=\$$cacheid
   9686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9687 $as_echo "$supported" >&6; }
   9688 		if test "$supported" = "yes" ; then
   9689 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9690 			found="yes"
   9691 		fi
   9692 	fi
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 xorg_testset_save_CFLAGS="$CFLAGS"
   9709 
   9710 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9711 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9713 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9714 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9715   $as_echo_n "(cached) " >&6
   9716 else
   9717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 _ACEOF
   9721 if ac_fn_c_try_compile "$LINENO"; then :
   9722   xorg_cv_cc_flag_unknown_warning_option=yes
   9723 else
   9724   xorg_cv_cc_flag_unknown_warning_option=no
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9727 fi
   9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9729 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9731 	CFLAGS="$xorg_testset_save_CFLAGS"
   9732 fi
   9733 
   9734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9737 	fi
   9738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9740 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9741 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9742   $as_echo_n "(cached) " >&6
   9743 else
   9744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9745 /* end confdefs.h.  */
   9746 int i;
   9747 _ACEOF
   9748 if ac_fn_c_try_compile "$LINENO"; then :
   9749   xorg_cv_cc_flag_unused_command_line_argument=yes
   9750 else
   9751   xorg_cv_cc_flag_unused_command_line_argument=no
   9752 fi
   9753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9754 fi
   9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9756 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9757 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9758 	CFLAGS="$xorg_testset_save_CFLAGS"
   9759 fi
   9760 
   9761 found="no"
   9762 
   9763 	if test $found = "no" ; then
   9764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9766 		fi
   9767 
   9768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9770 		fi
   9771 
   9772 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9773 
   9774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9775 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9776 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9777 		if eval \${$cacheid+:} false; then :
   9778   $as_echo_n "(cached) " >&6
   9779 else
   9780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9781 /* end confdefs.h.  */
   9782 int i;
   9783 int
   9784 main ()
   9785 {
   9786 
   9787   ;
   9788   return 0;
   9789 }
   9790 _ACEOF
   9791 if ac_fn_c_try_link "$LINENO"; then :
   9792   eval $cacheid=yes
   9793 else
   9794   eval $cacheid=no
   9795 fi
   9796 rm -f core conftest.err conftest.$ac_objext \
   9797     conftest$ac_exeext conftest.$ac_ext
   9798 fi
   9799 
   9800 
   9801 		CFLAGS="$xorg_testset_save_CFLAGS"
   9802 
   9803 		eval supported=\$$cacheid
   9804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9805 $as_echo "$supported" >&6; }
   9806 		if test "$supported" = "yes" ; then
   9807 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9808 			found="yes"
   9809 		fi
   9810 	fi
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 xorg_testset_save_CFLAGS="$CFLAGS"
   9827 
   9828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9831 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9832 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9836 /* end confdefs.h.  */
   9837 int i;
   9838 _ACEOF
   9839 if ac_fn_c_try_compile "$LINENO"; then :
   9840   xorg_cv_cc_flag_unknown_warning_option=yes
   9841 else
   9842   xorg_cv_cc_flag_unknown_warning_option=no
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9845 fi
   9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9847 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9849 	CFLAGS="$xorg_testset_save_CFLAGS"
   9850 fi
   9851 
   9852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9855 	fi
   9856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9858 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9859 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9860   $as_echo_n "(cached) " >&6
   9861 else
   9862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9863 /* end confdefs.h.  */
   9864 int i;
   9865 _ACEOF
   9866 if ac_fn_c_try_compile "$LINENO"; then :
   9867   xorg_cv_cc_flag_unused_command_line_argument=yes
   9868 else
   9869   xorg_cv_cc_flag_unused_command_line_argument=no
   9870 fi
   9871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9872 fi
   9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9874 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9876 	CFLAGS="$xorg_testset_save_CFLAGS"
   9877 fi
   9878 
   9879 found="no"
   9880 
   9881 	if test $found = "no" ; then
   9882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9884 		fi
   9885 
   9886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9888 		fi
   9889 
   9890 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9891 
   9892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9893 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9894 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9895 		if eval \${$cacheid+:} false; then :
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9899 /* end confdefs.h.  */
   9900 int i;
   9901 int
   9902 main ()
   9903 {
   9904 
   9905   ;
   9906   return 0;
   9907 }
   9908 _ACEOF
   9909 if ac_fn_c_try_link "$LINENO"; then :
   9910   eval $cacheid=yes
   9911 else
   9912   eval $cacheid=no
   9913 fi
   9914 rm -f core conftest.err conftest.$ac_objext \
   9915     conftest$ac_exeext conftest.$ac_ext
   9916 fi
   9917 
   9918 
   9919 		CFLAGS="$xorg_testset_save_CFLAGS"
   9920 
   9921 		eval supported=\$$cacheid
   9922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9923 $as_echo "$supported" >&6; }
   9924 		if test "$supported" = "yes" ; then
   9925 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9926 			found="yes"
   9927 		fi
   9928 	fi
   9929 
   9930 
   9931 fi
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 		CWARNFLAGS="$BASE_CFLAGS"
   9940 		if  test "x$GCC" = xyes ; then
   9941 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9942 		fi
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 # Check whether --enable-strict-compilation was given.
   9952 if test "${enable_strict_compilation+set}" = set; then :
   9953   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9954 else
   9955   STRICT_COMPILE=no
   9956 fi
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 STRICT_CFLAGS=""
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 xorg_testset_save_CFLAGS="$CFLAGS"
   9978 
   9979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 _ACEOF
   9990 if ac_fn_c_try_compile "$LINENO"; then :
   9991   xorg_cv_cc_flag_unknown_warning_option=yes
   9992 else
   9993   xorg_cv_cc_flag_unknown_warning_option=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9996 fi
   9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10000 	CFLAGS="$xorg_testset_save_CFLAGS"
   10001 fi
   10002 
   10003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	fi
   10007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10011   $as_echo_n "(cached) " >&6
   10012 else
   10013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"; then :
   10018   xorg_cv_cc_flag_unused_command_line_argument=yes
   10019 else
   10020   xorg_cv_cc_flag_unused_command_line_argument=no
   10021 fi
   10022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10023 fi
   10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10027 	CFLAGS="$xorg_testset_save_CFLAGS"
   10028 fi
   10029 
   10030 found="no"
   10031 
   10032 	if test $found = "no" ; then
   10033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 		fi
   10036 
   10037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10039 		fi
   10040 
   10041 		CFLAGS="$CFLAGS -pedantic"
   10042 
   10043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10044 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10045 		cacheid=xorg_cv_cc_flag__pedantic
   10046 		if eval \${$cacheid+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 int
   10053 main ()
   10054 {
   10055 
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 if ac_fn_c_try_link "$LINENO"; then :
   10061   eval $cacheid=yes
   10062 else
   10063   eval $cacheid=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext \
   10066     conftest$ac_exeext conftest.$ac_ext
   10067 fi
   10068 
   10069 
   10070 		CFLAGS="$xorg_testset_save_CFLAGS"
   10071 
   10072 		eval supported=\$$cacheid
   10073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10074 $as_echo "$supported" >&6; }
   10075 		if test "$supported" = "yes" ; then
   10076 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10077 			found="yes"
   10078 		fi
   10079 	fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 xorg_testset_save_CFLAGS="$CFLAGS"
   10096 
   10097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 _ACEOF
   10108 if ac_fn_c_try_compile "$LINENO"; then :
   10109   xorg_cv_cc_flag_unknown_warning_option=yes
   10110 else
   10111   xorg_cv_cc_flag_unknown_warning_option=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10132 /* end confdefs.h.  */
   10133 int i;
   10134 _ACEOF
   10135 if ac_fn_c_try_compile "$LINENO"; then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else
   10138   xorg_cv_cc_flag_unused_command_line_argument=no
   10139 fi
   10140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10141 fi
   10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Werror"
   10160 
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10162 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10163 		cacheid=xorg_cv_cc_flag__Werror
   10164 		if eval \${$cacheid+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main ()
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"; then :
   10179   eval $cacheid=yes
   10180 else
   10181   eval $cacheid=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext \
   10184     conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 
   10187 
   10188 		CFLAGS="$xorg_testset_save_CFLAGS"
   10189 
   10190 		eval supported=\$$cacheid
   10191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10192 $as_echo "$supported" >&6; }
   10193 		if test "$supported" = "yes" ; then
   10194 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10195 			found="yes"
   10196 		fi
   10197 	fi
   10198 
   10199 	if test $found = "no" ; then
   10200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 		fi
   10203 
   10204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10206 		fi
   10207 
   10208 		CFLAGS="$CFLAGS -errwarn"
   10209 
   10210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10211 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10212 		cacheid=xorg_cv_cc_flag__errwarn
   10213 		if eval \${$cacheid+:} false; then :
   10214   $as_echo_n "(cached) " >&6
   10215 else
   10216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 int
   10220 main ()
   10221 {
   10222 
   10223   ;
   10224   return 0;
   10225 }
   10226 _ACEOF
   10227 if ac_fn_c_try_link "$LINENO"; then :
   10228   eval $cacheid=yes
   10229 else
   10230   eval $cacheid=no
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext \
   10233     conftest$ac_exeext conftest.$ac_ext
   10234 fi
   10235 
   10236 
   10237 		CFLAGS="$xorg_testset_save_CFLAGS"
   10238 
   10239 		eval supported=\$$cacheid
   10240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10241 $as_echo "$supported" >&6; }
   10242 		if test "$supported" = "yes" ; then
   10243 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10244 			found="yes"
   10245 		fi
   10246 	fi
   10247 
   10248 
   10249 
   10250 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10251 # activate it with -Werror, so we add it here explicitly.
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 xorg_testset_save_CFLAGS="$CFLAGS"
   10266 
   10267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10272   $as_echo_n "(cached) " >&6
   10273 else
   10274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10275 /* end confdefs.h.  */
   10276 int i;
   10277 _ACEOF
   10278 if ac_fn_c_try_compile "$LINENO"; then :
   10279   xorg_cv_cc_flag_unknown_warning_option=yes
   10280 else
   10281   xorg_cv_cc_flag_unknown_warning_option=no
   10282 fi
   10283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10284 fi
   10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10288 	CFLAGS="$xorg_testset_save_CFLAGS"
   10289 fi
   10290 
   10291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10294 	fi
   10295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10299   $as_echo_n "(cached) " >&6
   10300 else
   10301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10302 /* end confdefs.h.  */
   10303 int i;
   10304 _ACEOF
   10305 if ac_fn_c_try_compile "$LINENO"; then :
   10306   xorg_cv_cc_flag_unused_command_line_argument=yes
   10307 else
   10308   xorg_cv_cc_flag_unused_command_line_argument=no
   10309 fi
   10310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10311 fi
   10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10315 	CFLAGS="$xorg_testset_save_CFLAGS"
   10316 fi
   10317 
   10318 found="no"
   10319 
   10320 	if test $found = "no" ; then
   10321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10323 		fi
   10324 
   10325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10327 		fi
   10328 
   10329 		CFLAGS="$CFLAGS -Werror=attributes"
   10330 
   10331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10332 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10333 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10334 		if eval \${$cacheid+:} false; then :
   10335   $as_echo_n "(cached) " >&6
   10336 else
   10337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10338 /* end confdefs.h.  */
   10339 int i;
   10340 int
   10341 main ()
   10342 {
   10343 
   10344   ;
   10345   return 0;
   10346 }
   10347 _ACEOF
   10348 if ac_fn_c_try_link "$LINENO"; then :
   10349   eval $cacheid=yes
   10350 else
   10351   eval $cacheid=no
   10352 fi
   10353 rm -f core conftest.err conftest.$ac_objext \
   10354     conftest$ac_exeext conftest.$ac_ext
   10355 fi
   10356 
   10357 
   10358 		CFLAGS="$xorg_testset_save_CFLAGS"
   10359 
   10360 		eval supported=\$$cacheid
   10361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10362 $as_echo "$supported" >&6; }
   10363 		if test "$supported" = "yes" ; then
   10364 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10365 			found="yes"
   10366 		fi
   10367 	fi
   10368 
   10369 
   10370 
   10371 if test "x$STRICT_COMPILE" = "xyes"; then
   10372     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10373     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10374 fi
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 cat >>confdefs.h <<_ACEOF
   10382 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10383 _ACEOF
   10384 
   10385 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10386 	if test "x$PVM" = "x"; then
   10387 		PVM="0"
   10388 	fi
   10389 
   10390 cat >>confdefs.h <<_ACEOF
   10391 #define PACKAGE_VERSION_MINOR $PVM
   10392 _ACEOF
   10393 
   10394 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10395 	if test "x$PVP" = "x"; then
   10396 		PVP="0"
   10397 	fi
   10398 
   10399 cat >>confdefs.h <<_ACEOF
   10400 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10401 _ACEOF
   10402 
   10403 
   10404 
   10405 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10406 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10407 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10408 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10409 
   10410 
   10411 
   10412 
   10413 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10414 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10415 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10416 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10417 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 if test x$APP_MAN_SUFFIX = x    ; then
   10425     APP_MAN_SUFFIX=1
   10426 fi
   10427 if test x$APP_MAN_DIR = x    ; then
   10428     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10429 fi
   10430 
   10431 if test x$LIB_MAN_SUFFIX = x    ; then
   10432     LIB_MAN_SUFFIX=3
   10433 fi
   10434 if test x$LIB_MAN_DIR = x    ; then
   10435     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10436 fi
   10437 
   10438 if test x$FILE_MAN_SUFFIX = x    ; then
   10439     case $host_os in
   10440 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10441 	*)		FILE_MAN_SUFFIX=5  ;;
   10442     esac
   10443 fi
   10444 if test x$FILE_MAN_DIR = x    ; then
   10445     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10446 fi
   10447 
   10448 if test x$MISC_MAN_SUFFIX = x    ; then
   10449     case $host_os in
   10450 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10451 	*)		MISC_MAN_SUFFIX=7  ;;
   10452     esac
   10453 fi
   10454 if test x$MISC_MAN_DIR = x    ; then
   10455     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10456 fi
   10457 
   10458 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10459     case $host_os in
   10460 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10461 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10462     esac
   10463 fi
   10464 if test x$DRIVER_MAN_DIR = x    ; then
   10465     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10466 fi
   10467 
   10468 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10469     case $host_os in
   10470 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10471 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10472     esac
   10473 fi
   10474 if test x$ADMIN_MAN_DIR = x    ; then
   10475     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10476 fi
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 XORG_MAN_PAGE="X Version 11"
   10493 
   10494 MAN_SUBSTS="\
   10495 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10496 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10497 	-e 's|__xservername__|Xorg|g' \
   10498 	-e 's|__xconfigfile__|xorg.conf|g' \
   10499 	-e 's|__projectroot__|\$(prefix)|g' \
   10500 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10501 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10502 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10503 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10504 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10505 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10506 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10507 
   10508 
   10509 
   10510 # Check whether --enable-silent-rules was given.
   10511 if test "${enable_silent_rules+set}" = set; then :
   10512   enableval=$enable_silent_rules;
   10513 fi
   10514 
   10515 case $enable_silent_rules in # (((
   10516   yes) AM_DEFAULT_VERBOSITY=0;;
   10517    no) AM_DEFAULT_VERBOSITY=1;;
   10518     *) AM_DEFAULT_VERBOSITY=0;;
   10519 esac
   10520 am_make=${MAKE-make}
   10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10522 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10523 if ${am_cv_make_support_nested_variables+:} false; then :
   10524   $as_echo_n "(cached) " >&6
   10525 else
   10526   if $as_echo 'TRUE=$(BAR$(V))
   10527 BAR0=false
   10528 BAR1=true
   10529 V=1
   10530 am__doit:
   10531 	@$(TRUE)
   10532 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10533   am_cv_make_support_nested_variables=yes
   10534 else
   10535   am_cv_make_support_nested_variables=no
   10536 fi
   10537 fi
   10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10539 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10540 if test $am_cv_make_support_nested_variables = yes; then
   10541     AM_V='$(V)'
   10542   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10543 else
   10544   AM_V=$AM_DEFAULT_VERBOSITY
   10545   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10546 fi
   10547 AM_BACKSLASH='\'
   10548 
   10549 
   10550 
   10551 # Checks for pkg-config packages
   10552 
   10553 pkg_failed=no
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKILL" >&5
   10555 $as_echo_n "checking for XKILL... " >&6; }
   10556 
   10557 if test -n "$XKILL_CFLAGS"; then
   10558     pkg_cv_XKILL_CFLAGS="$XKILL_CFLAGS"
   10559  elif test -n "$PKG_CONFIG"; then
   10560     if test -n "$PKG_CONFIG" && \
   10561     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xproto >= 7.0.22\""; } >&5
   10562   ($PKG_CONFIG --exists --print-errors "x11 xmuu xproto >= 7.0.22") 2>&5
   10563   ac_status=$?
   10564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10565   test $ac_status = 0; }; then
   10566   pkg_cv_XKILL_CFLAGS=`$PKG_CONFIG --cflags "x11 xmuu xproto >= 7.0.22" 2>/dev/null`
   10567 else
   10568   pkg_failed=yes
   10569 fi
   10570  else
   10571     pkg_failed=untried
   10572 fi
   10573 if test -n "$XKILL_LIBS"; then
   10574     pkg_cv_XKILL_LIBS="$XKILL_LIBS"
   10575  elif test -n "$PKG_CONFIG"; then
   10576     if test -n "$PKG_CONFIG" && \
   10577     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmuu xproto >= 7.0.22\""; } >&5
   10578   ($PKG_CONFIG --exists --print-errors "x11 xmuu xproto >= 7.0.22") 2>&5
   10579   ac_status=$?
   10580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10581   test $ac_status = 0; }; then
   10582   pkg_cv_XKILL_LIBS=`$PKG_CONFIG --libs "x11 xmuu xproto >= 7.0.22" 2>/dev/null`
   10583 else
   10584   pkg_failed=yes
   10585 fi
   10586  else
   10587     pkg_failed=untried
   10588 fi
   10589 
   10590 
   10591 
   10592 if test $pkg_failed = yes; then
   10593 
   10594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10595         _pkg_short_errors_supported=yes
   10596 else
   10597         _pkg_short_errors_supported=no
   10598 fi
   10599         if test $_pkg_short_errors_supported = yes; then
   10600 	        XKILL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmuu xproto >= 7.0.22" 2>&1`
   10601         else
   10602 	        XKILL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmuu xproto >= 7.0.22" 2>&1`
   10603         fi
   10604 	# Put the nasty error message in config.log where it belongs
   10605 	echo "$XKILL_PKG_ERRORS" >&5
   10606 
   10607 	as_fn_error $? "Package requirements (x11 xmuu xproto >= 7.0.22) were not met:
   10608 
   10609 $XKILL_PKG_ERRORS
   10610 
   10611 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10612 installed software in a non-standard prefix.
   10613 
   10614 Alternatively, you may set the environment variables XKILL_CFLAGS
   10615 and XKILL_LIBS to avoid the need to call pkg-config.
   10616 See the pkg-config man page for more details.
   10617 " "$LINENO" 5
   10618 elif test $pkg_failed = untried; then
   10619 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10621 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10622 is in your PATH or set the PKG_CONFIG environment variable to the full
   10623 path to pkg-config.
   10624 
   10625 Alternatively, you may set the environment variables XKILL_CFLAGS
   10626 and XKILL_LIBS to avoid the need to call pkg-config.
   10627 See the pkg-config man page for more details.
   10628 
   10629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10630 See \`config.log' for more details" "$LINENO" 5; }
   10631 else
   10632 	XKILL_CFLAGS=$pkg_cv_XKILL_CFLAGS
   10633 	XKILL_LIBS=$pkg_cv_XKILL_LIBS
   10634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10635 $as_echo "yes" >&6; }
   10636 	:
   10637 fi
   10638 
   10639 ac_config_files="$ac_config_files Makefile man/Makefile"
   10640 
   10641 cat >confcache <<\_ACEOF
   10642 # This file is a shell script that caches the results of configure
   10643 # tests run on this system so they can be shared between configure
   10644 # scripts and configure runs, see configure's option --config-cache.
   10645 # It is not useful on other systems.  If it contains results you don't
   10646 # want to keep, you may remove or edit it.
   10647 #
   10648 # config.status only pays attention to the cache file if you give it
   10649 # the --recheck option to rerun configure.
   10650 #
   10651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10653 # following values.
   10654 
   10655 _ACEOF
   10656 
   10657 # The following way of writing the cache mishandles newlines in values,
   10658 # but we know of no workaround that is simple, portable, and efficient.
   10659 # So, we kill variables containing newlines.
   10660 # Ultrix sh set writes to stderr and can't be redirected directly,
   10661 # and sets the high bit in the cache file unless we assign to the vars.
   10662 (
   10663   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10664     eval ac_val=\$$ac_var
   10665     case $ac_val in #(
   10666     *${as_nl}*)
   10667       case $ac_var in #(
   10668       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10670       esac
   10671       case $ac_var in #(
   10672       _ | IFS | as_nl) ;; #(
   10673       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10674       *) { eval $ac_var=; unset $ac_var;} ;;
   10675       esac ;;
   10676     esac
   10677   done
   10678 
   10679   (set) 2>&1 |
   10680     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10681     *${as_nl}ac_space=\ *)
   10682       # `set' does not quote correctly, so add quotes: double-quote
   10683       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10684       sed -n \
   10685 	"s/'/'\\\\''/g;
   10686 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10687       ;; #(
   10688     *)
   10689       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10690       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10691       ;;
   10692     esac |
   10693     sort
   10694 ) |
   10695   sed '
   10696      /^ac_cv_env_/b end
   10697      t clear
   10698      :clear
   10699      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10700      t end
   10701      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10702      :end' >>confcache
   10703 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10704   if test -w "$cache_file"; then
   10705     if test "x$cache_file" != "x/dev/null"; then
   10706       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10707 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10708       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10709 	cat confcache >"$cache_file"
   10710       else
   10711         case $cache_file in #(
   10712         */* | ?:*)
   10713 	  mv -f confcache "$cache_file"$$ &&
   10714 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10715         *)
   10716 	  mv -f confcache "$cache_file" ;;
   10717 	esac
   10718       fi
   10719     fi
   10720   else
   10721     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10722 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10723   fi
   10724 fi
   10725 rm -f confcache
   10726 
   10727 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10728 # Let make expand exec_prefix.
   10729 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10730 
   10731 DEFS=-DHAVE_CONFIG_H
   10732 
   10733 ac_libobjs=
   10734 ac_ltlibobjs=
   10735 U=
   10736 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10737   # 1. Remove the extension, and $U if already installed.
   10738   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10739   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10740   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10741   #    will be set to the directory where LIBOBJS objects are built.
   10742   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10743   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10744 done
   10745 LIBOBJS=$ac_libobjs
   10746 
   10747 LTLIBOBJS=$ac_ltlibobjs
   10748 
   10749 
   10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10751 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10752    if test -n "$am_sleep_pid"; then
   10753      # Hide warnings about reused PIDs.
   10754      wait $am_sleep_pid 2>/dev/null
   10755    fi
   10756    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10757 $as_echo "done" >&6; }
   10758  if test -n "$EXEEXT"; then
   10759   am__EXEEXT_TRUE=
   10760   am__EXEEXT_FALSE='#'
   10761 else
   10762   am__EXEEXT_TRUE='#'
   10763   am__EXEEXT_FALSE=
   10764 fi
   10765 
   10766 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10767   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10769 fi
   10770 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10771   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10773 fi
   10774 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10775   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10777 fi
   10778 
   10779 : "${CONFIG_STATUS=./config.status}"
   10780 ac_write_fail=0
   10781 ac_clean_files_save=$ac_clean_files
   10782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10785 as_write_fail=0
   10786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10787 #! $SHELL
   10788 # Generated by $as_me.
   10789 # Run this file to recreate the current configuration.
   10790 # Compiler output produced by configure, useful for debugging
   10791 # configure, is in config.log if it exists.
   10792 
   10793 debug=false
   10794 ac_cs_recheck=false
   10795 ac_cs_silent=false
   10796 
   10797 SHELL=\${CONFIG_SHELL-$SHELL}
   10798 export SHELL
   10799 _ASEOF
   10800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10801 ## -------------------- ##
   10802 ## M4sh Initialization. ##
   10803 ## -------------------- ##
   10804 
   10805 # Be more Bourne compatible
   10806 DUALCASE=1; export DUALCASE # for MKS sh
   10807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10808   emulate sh
   10809   NULLCMD=:
   10810   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10811   # is contrary to our usage.  Disable this feature.
   10812   alias -g '${1+"$@"}'='"$@"'
   10813   setopt NO_GLOB_SUBST
   10814 else
   10815   case `(set -o) 2>/dev/null` in #(
   10816   *posix*) :
   10817     set -o posix ;; #(
   10818   *) :
   10819      ;;
   10820 esac
   10821 fi
   10822 
   10823 
   10824 as_nl='
   10825 '
   10826 export as_nl
   10827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10828 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10831 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10832 # but without wasting forks for bash or zsh.
   10833 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10834     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10835   as_echo='print -r --'
   10836   as_echo_n='print -rn --'
   10837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10838   as_echo='printf %s\n'
   10839   as_echo_n='printf %s'
   10840 else
   10841   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10842     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10843     as_echo_n='/usr/ucb/echo -n'
   10844   else
   10845     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10846     as_echo_n_body='eval
   10847       arg=$1;
   10848       case $arg in #(
   10849       *"$as_nl"*)
   10850 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10851 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10852       esac;
   10853       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10854     '
   10855     export as_echo_n_body
   10856     as_echo_n='sh -c $as_echo_n_body as_echo'
   10857   fi
   10858   export as_echo_body
   10859   as_echo='sh -c $as_echo_body as_echo'
   10860 fi
   10861 
   10862 # The user is always right.
   10863 if test "${PATH_SEPARATOR+set}" != set; then
   10864   PATH_SEPARATOR=:
   10865   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10866     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10867       PATH_SEPARATOR=';'
   10868   }
   10869 fi
   10870 
   10871 
   10872 # IFS
   10873 # We need space, tab and new line, in precisely that order.  Quoting is
   10874 # there to prevent editors from complaining about space-tab.
   10875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10876 # splitting by setting IFS to empty value.)
   10877 IFS=" ""	$as_nl"
   10878 
   10879 # Find who we are.  Look in the path if we contain no directory separator.
   10880 as_myself=
   10881 case $0 in #((
   10882   *[\\/]* ) as_myself=$0 ;;
   10883   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10884 for as_dir in $PATH
   10885 do
   10886   IFS=$as_save_IFS
   10887   test -z "$as_dir" && as_dir=.
   10888     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10889   done
   10890 IFS=$as_save_IFS
   10891 
   10892      ;;
   10893 esac
   10894 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10895 # in which case we are not to be found in the path.
   10896 if test "x$as_myself" = x; then
   10897   as_myself=$0
   10898 fi
   10899 if test ! -f "$as_myself"; then
   10900   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10901   exit 1
   10902 fi
   10903 
   10904 # Unset variables that we do not need and which cause bugs (e.g. in
   10905 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10906 # suppresses any "Segmentation fault" message there.  '((' could
   10907 # trigger a bug in pdksh 5.2.14.
   10908 for as_var in BASH_ENV ENV MAIL MAILPATH
   10909 do eval test x\${$as_var+set} = xset \
   10910   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10911 done
   10912 PS1='$ '
   10913 PS2='> '
   10914 PS4='+ '
   10915 
   10916 # NLS nuisances.
   10917 LC_ALL=C
   10918 export LC_ALL
   10919 LANGUAGE=C
   10920 export LANGUAGE
   10921 
   10922 # CDPATH.
   10923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10924 
   10925 
   10926 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10927 # ----------------------------------------
   10928 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10929 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10930 # script with STATUS, using 1 if that was 0.
   10931 as_fn_error ()
   10932 {
   10933   as_status=$1; test $as_status -eq 0 && as_status=1
   10934   if test "$4"; then
   10935     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10936     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10937   fi
   10938   $as_echo "$as_me: error: $2" >&2
   10939   as_fn_exit $as_status
   10940 } # as_fn_error
   10941 
   10942 
   10943 # as_fn_set_status STATUS
   10944 # -----------------------
   10945 # Set $? to STATUS, without forking.
   10946 as_fn_set_status ()
   10947 {
   10948   return $1
   10949 } # as_fn_set_status
   10950 
   10951 # as_fn_exit STATUS
   10952 # -----------------
   10953 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   10954 as_fn_exit ()
   10955 {
   10956   set +e
   10957   as_fn_set_status $1
   10958   exit $1
   10959 } # as_fn_exit
   10960 
   10961 # as_fn_unset VAR
   10962 # ---------------
   10963 # Portably unset VAR.
   10964 as_fn_unset ()
   10965 {
   10966   { eval $1=; unset $1;}
   10967 }
   10968 as_unset=as_fn_unset
   10969 # as_fn_append VAR VALUE
   10970 # ----------------------
   10971 # Append the text in VALUE to the end of the definition contained in VAR. Take
   10972 # advantage of any shell optimizations that allow amortized linear growth over
   10973 # repeated appends, instead of the typical quadratic growth present in naive
   10974 # implementations.
   10975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   10976   eval 'as_fn_append ()
   10977   {
   10978     eval $1+=\$2
   10979   }'
   10980 else
   10981   as_fn_append ()
   10982   {
   10983     eval $1=\$$1\$2
   10984   }
   10985 fi # as_fn_append
   10986 
   10987 # as_fn_arith ARG...
   10988 # ------------------
   10989 # Perform arithmetic evaluation on the ARGs, and store the result in the
   10990 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   10991 # must be portable across $(()) and expr.
   10992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   10993   eval 'as_fn_arith ()
   10994   {
   10995     as_val=$(( $* ))
   10996   }'
   10997 else
   10998   as_fn_arith ()
   10999   {
   11000     as_val=`expr "$@" || test $? -eq 1`
   11001   }
   11002 fi # as_fn_arith
   11003 
   11004 
   11005 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11006    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11007   as_expr=expr
   11008 else
   11009   as_expr=false
   11010 fi
   11011 
   11012 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11013   as_basename=basename
   11014 else
   11015   as_basename=false
   11016 fi
   11017 
   11018 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11019   as_dirname=dirname
   11020 else
   11021   as_dirname=false
   11022 fi
   11023 
   11024 as_me=`$as_basename -- "$0" ||
   11025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11026 	 X"$0" : 'X\(//\)$' \| \
   11027 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11028 $as_echo X/"$0" |
   11029     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11030 	    s//\1/
   11031 	    q
   11032 	  }
   11033 	  /^X\/\(\/\/\)$/{
   11034 	    s//\1/
   11035 	    q
   11036 	  }
   11037 	  /^X\/\(\/\).*/{
   11038 	    s//\1/
   11039 	    q
   11040 	  }
   11041 	  s/.*/./; q'`
   11042 
   11043 # Avoid depending upon Character Ranges.
   11044 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11045 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11046 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11047 as_cr_digits='0123456789'
   11048 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11049 
   11050 ECHO_C= ECHO_N= ECHO_T=
   11051 case `echo -n x` in #(((((
   11052 -n*)
   11053   case `echo 'xy\c'` in
   11054   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11055   xy)  ECHO_C='\c';;
   11056   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11057        ECHO_T='	';;
   11058   esac;;
   11059 *)
   11060   ECHO_N='-n';;
   11061 esac
   11062 
   11063 rm -f conf$$ conf$$.exe conf$$.file
   11064 if test -d conf$$.dir; then
   11065   rm -f conf$$.dir/conf$$.file
   11066 else
   11067   rm -f conf$$.dir
   11068   mkdir conf$$.dir 2>/dev/null
   11069 fi
   11070 if (echo >conf$$.file) 2>/dev/null; then
   11071   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11072     as_ln_s='ln -s'
   11073     # ... but there are two gotchas:
   11074     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11075     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11076     # In both cases, we have to default to `cp -p'.
   11077     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11078       as_ln_s='cp -p'
   11079   elif ln conf$$.file conf$$ 2>/dev/null; then
   11080     as_ln_s=ln
   11081   else
   11082     as_ln_s='cp -p'
   11083   fi
   11084 else
   11085   as_ln_s='cp -p'
   11086 fi
   11087 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11088 rmdir conf$$.dir 2>/dev/null
   11089 
   11090 
   11091 # as_fn_mkdir_p
   11092 # -------------
   11093 # Create "$as_dir" as a directory, including parents if necessary.
   11094 as_fn_mkdir_p ()
   11095 {
   11096 
   11097   case $as_dir in #(
   11098   -*) as_dir=./$as_dir;;
   11099   esac
   11100   test -d "$as_dir" || eval $as_mkdir_p || {
   11101     as_dirs=
   11102     while :; do
   11103       case $as_dir in #(
   11104       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11105       *) as_qdir=$as_dir;;
   11106       esac
   11107       as_dirs="'$as_qdir' $as_dirs"
   11108       as_dir=`$as_dirname -- "$as_dir" ||
   11109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11110 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11111 	 X"$as_dir" : 'X\(//\)$' \| \
   11112 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11113 $as_echo X"$as_dir" |
   11114     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11115 	    s//\1/
   11116 	    q
   11117 	  }
   11118 	  /^X\(\/\/\)[^/].*/{
   11119 	    s//\1/
   11120 	    q
   11121 	  }
   11122 	  /^X\(\/\/\)$/{
   11123 	    s//\1/
   11124 	    q
   11125 	  }
   11126 	  /^X\(\/\).*/{
   11127 	    s//\1/
   11128 	    q
   11129 	  }
   11130 	  s/.*/./; q'`
   11131       test -d "$as_dir" && break
   11132     done
   11133     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11134   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11135 
   11136 
   11137 } # as_fn_mkdir_p
   11138 if mkdir -p . 2>/dev/null; then
   11139   as_mkdir_p='mkdir -p "$as_dir"'
   11140 else
   11141   test -d ./-p && rmdir ./-p
   11142   as_mkdir_p=false
   11143 fi
   11144 
   11145 if test -x / >/dev/null 2>&1; then
   11146   as_test_x='test -x'
   11147 else
   11148   if ls -dL / >/dev/null 2>&1; then
   11149     as_ls_L_option=L
   11150   else
   11151     as_ls_L_option=
   11152   fi
   11153   as_test_x='
   11154     eval sh -c '\''
   11155       if test -d "$1"; then
   11156 	test -d "$1/.";
   11157       else
   11158 	case $1 in #(
   11159 	-*)set "./$1";;
   11160 	esac;
   11161 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11162 	???[sx]*):;;*)false;;esac;fi
   11163     '\'' sh
   11164   '
   11165 fi
   11166 as_executable_p=$as_test_x
   11167 
   11168 # Sed expression to map a string onto a valid CPP name.
   11169 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11170 
   11171 # Sed expression to map a string onto a valid variable name.
   11172 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11173 
   11174 
   11175 exec 6>&1
   11176 ## ----------------------------------- ##
   11177 ## Main body of $CONFIG_STATUS script. ##
   11178 ## ----------------------------------- ##
   11179 _ASEOF
   11180 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11181 
   11182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11183 # Save the log message, to keep $0 and so on meaningful, and to
   11184 # report actual input values of CONFIG_FILES etc. instead of their
   11185 # values after options handling.
   11186 ac_log="
   11187 This file was extended by xkill $as_me 1.0.4, which was
   11188 generated by GNU Autoconf 2.68.  Invocation command line was
   11189 
   11190   CONFIG_FILES    = $CONFIG_FILES
   11191   CONFIG_HEADERS  = $CONFIG_HEADERS
   11192   CONFIG_LINKS    = $CONFIG_LINKS
   11193   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11194   $ $0 $@
   11195 
   11196 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11197 "
   11198 
   11199 _ACEOF
   11200 
   11201 case $ac_config_files in *"
   11202 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11203 esac
   11204 
   11205 case $ac_config_headers in *"
   11206 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11207 esac
   11208 
   11209 
   11210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11211 # Files that config.status was made for.
   11212 config_files="$ac_config_files"
   11213 config_headers="$ac_config_headers"
   11214 config_commands="$ac_config_commands"
   11215 
   11216 _ACEOF
   11217 
   11218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11219 ac_cs_usage="\
   11220 \`$as_me' instantiates files and other configuration actions
   11221 from templates according to the current configuration.  Unless the files
   11222 and actions are specified as TAGs, all are instantiated by default.
   11223 
   11224 Usage: $0 [OPTION]... [TAG]...
   11225 
   11226   -h, --help       print this help, then exit
   11227   -V, --version    print version number and configuration settings, then exit
   11228       --config     print configuration, then exit
   11229   -q, --quiet, --silent
   11230                    do not print progress messages
   11231   -d, --debug      don't remove temporary files
   11232       --recheck    update $as_me by reconfiguring in the same conditions
   11233       --file=FILE[:TEMPLATE]
   11234                    instantiate the configuration file FILE
   11235       --header=FILE[:TEMPLATE]
   11236                    instantiate the configuration header FILE
   11237 
   11238 Configuration files:
   11239 $config_files
   11240 
   11241 Configuration headers:
   11242 $config_headers
   11243 
   11244 Configuration commands:
   11245 $config_commands
   11246 
   11247 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11248 
   11249 _ACEOF
   11250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11251 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11252 ac_cs_version="\\
   11253 xkill config.status 1.0.4
   11254 configured by $0, generated by GNU Autoconf 2.68,
   11255   with options \\"\$ac_cs_config\\"
   11256 
   11257 Copyright (C) 2010 Free Software Foundation, Inc.
   11258 This config.status script is free software; the Free Software Foundation
   11259 gives unlimited permission to copy, distribute and modify it."
   11260 
   11261 ac_pwd='$ac_pwd'
   11262 srcdir='$srcdir'
   11263 INSTALL='$INSTALL'
   11264 MKDIR_P='$MKDIR_P'
   11265 AWK='$AWK'
   11266 test -n "\$AWK" || AWK=awk
   11267 _ACEOF
   11268 
   11269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11270 # The default lists apply if the user does not specify any file.
   11271 ac_need_defaults=:
   11272 while test $# != 0
   11273 do
   11274   case $1 in
   11275   --*=?*)
   11276     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11277     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11278     ac_shift=:
   11279     ;;
   11280   --*=)
   11281     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11282     ac_optarg=
   11283     ac_shift=:
   11284     ;;
   11285   *)
   11286     ac_option=$1
   11287     ac_optarg=$2
   11288     ac_shift=shift
   11289     ;;
   11290   esac
   11291 
   11292   case $ac_option in
   11293   # Handling of the options.
   11294   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11295     ac_cs_recheck=: ;;
   11296   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11297     $as_echo "$ac_cs_version"; exit ;;
   11298   --config | --confi | --conf | --con | --co | --c )
   11299     $as_echo "$ac_cs_config"; exit ;;
   11300   --debug | --debu | --deb | --de | --d | -d )
   11301     debug=: ;;
   11302   --file | --fil | --fi | --f )
   11303     $ac_shift
   11304     case $ac_optarg in
   11305     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11306     '') as_fn_error $? "missing file argument" ;;
   11307     esac
   11308     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11309     ac_need_defaults=false;;
   11310   --header | --heade | --head | --hea )
   11311     $ac_shift
   11312     case $ac_optarg in
   11313     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11314     esac
   11315     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11316     ac_need_defaults=false;;
   11317   --he | --h)
   11318     # Conflict between --help and --header
   11319     as_fn_error $? "ambiguous option: \`$1'
   11320 Try \`$0 --help' for more information.";;
   11321   --help | --hel | -h )
   11322     $as_echo "$ac_cs_usage"; exit ;;
   11323   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11324   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11325     ac_cs_silent=: ;;
   11326 
   11327   # This is an error.
   11328   -*) as_fn_error $? "unrecognized option: \`$1'
   11329 Try \`$0 --help' for more information." ;;
   11330 
   11331   *) as_fn_append ac_config_targets " $1"
   11332      ac_need_defaults=false ;;
   11333 
   11334   esac
   11335   shift
   11336 done
   11337 
   11338 ac_configure_extra_args=
   11339 
   11340 if $ac_cs_silent; then
   11341   exec 6>/dev/null
   11342   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11343 fi
   11344 
   11345 _ACEOF
   11346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11347 if \$ac_cs_recheck; then
   11348   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11349   shift
   11350   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11351   CONFIG_SHELL='$SHELL'
   11352   export CONFIG_SHELL
   11353   exec "\$@"
   11354 fi
   11355 
   11356 _ACEOF
   11357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11358 exec 5>>config.log
   11359 {
   11360   echo
   11361   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11362 ## Running $as_me. ##
   11363 _ASBOX
   11364   $as_echo "$ac_log"
   11365 } >&5
   11366 
   11367 _ACEOF
   11368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11369 #
   11370 # INIT-COMMANDS
   11371 #
   11372 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11373 
   11374 _ACEOF
   11375 
   11376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11377 
   11378 # Handling of arguments.
   11379 for ac_config_target in $ac_config_targets
   11380 do
   11381   case $ac_config_target in
   11382     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11383     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11384     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11385     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11386 
   11387   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11388   esac
   11389 done
   11390 
   11391 
   11392 # If the user did not use the arguments to specify the items to instantiate,
   11393 # then the envvar interface is used.  Set only those that are not.
   11394 # We use the long form for the default assignment because of an extremely
   11395 # bizarre bug on SunOS 4.1.3.
   11396 if $ac_need_defaults; then
   11397   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11398   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11399   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11400 fi
   11401 
   11402 # Have a temporary directory for convenience.  Make it in the build tree
   11403 # simply because there is no reason against having it here, and in addition,
   11404 # creating and moving files from /tmp can sometimes cause problems.
   11405 # Hook for its removal unless debugging.
   11406 # Note that there is a small window in which the directory will not be cleaned:
   11407 # after its creation but before its name has been assigned to `$tmp'.
   11408 $debug ||
   11409 {
   11410   tmp= ac_tmp=
   11411   trap 'exit_status=$?
   11412   : "${ac_tmp:=$tmp}"
   11413   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11414 ' 0
   11415   trap 'as_fn_exit 1' 1 2 13 15
   11416 }
   11417 # Create a (secure) tmp directory for tmp files.
   11418 
   11419 {
   11420   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11421   test -d "$tmp"
   11422 }  ||
   11423 {
   11424   tmp=./conf$$-$RANDOM
   11425   (umask 077 && mkdir "$tmp")
   11426 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11427 ac_tmp=$tmp
   11428 
   11429 # Set up the scripts for CONFIG_FILES section.
   11430 # No need to generate them if there are no CONFIG_FILES.
   11431 # This happens for instance with `./config.status config.h'.
   11432 if test -n "$CONFIG_FILES"; then
   11433 
   11434 
   11435 ac_cr=`echo X | tr X '\015'`
   11436 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11437 # But we know of no other shell where ac_cr would be empty at this
   11438 # point, so we can use a bashism as a fallback.
   11439 if test "x$ac_cr" = x; then
   11440   eval ac_cr=\$\'\\r\'
   11441 fi
   11442 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11443 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11444   ac_cs_awk_cr='\\r'
   11445 else
   11446   ac_cs_awk_cr=$ac_cr
   11447 fi
   11448 
   11449 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11450 _ACEOF
   11451 
   11452 
   11453 {
   11454   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11455   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11456   echo "_ACEOF"
   11457 } >conf$$subs.sh ||
   11458   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11459 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11460 ac_delim='%!_!# '
   11461 for ac_last_try in false false false false false :; do
   11462   . ./conf$$subs.sh ||
   11463     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11464 
   11465   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11466   if test $ac_delim_n = $ac_delim_num; then
   11467     break
   11468   elif $ac_last_try; then
   11469     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11470   else
   11471     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11472   fi
   11473 done
   11474 rm -f conf$$subs.sh
   11475 
   11476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11477 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11478 _ACEOF
   11479 sed -n '
   11480 h
   11481 s/^/S["/; s/!.*/"]=/
   11482 p
   11483 g
   11484 s/^[^!]*!//
   11485 :repl
   11486 t repl
   11487 s/'"$ac_delim"'$//
   11488 t delim
   11489 :nl
   11490 h
   11491 s/\(.\{148\}\)..*/\1/
   11492 t more1
   11493 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11494 p
   11495 n
   11496 b repl
   11497 :more1
   11498 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11499 p
   11500 g
   11501 s/.\{148\}//
   11502 t nl
   11503 :delim
   11504 h
   11505 s/\(.\{148\}\)..*/\1/
   11506 t more2
   11507 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11508 p
   11509 b
   11510 :more2
   11511 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11512 p
   11513 g
   11514 s/.\{148\}//
   11515 t delim
   11516 ' <conf$$subs.awk | sed '
   11517 /^[^""]/{
   11518   N
   11519   s/\n//
   11520 }
   11521 ' >>$CONFIG_STATUS || ac_write_fail=1
   11522 rm -f conf$$subs.awk
   11523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11524 _ACAWK
   11525 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11526   for (key in S) S_is_set[key] = 1
   11527   FS = ""
   11528 
   11529 }
   11530 {
   11531   line = $ 0
   11532   nfields = split(line, field, "@")
   11533   substed = 0
   11534   len = length(field[1])
   11535   for (i = 2; i < nfields; i++) {
   11536     key = field[i]
   11537     keylen = length(key)
   11538     if (S_is_set[key]) {
   11539       value = S[key]
   11540       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11541       len += length(value) + length(field[++i])
   11542       substed = 1
   11543     } else
   11544       len += 1 + keylen
   11545   }
   11546 
   11547   print line
   11548 }
   11549 
   11550 _ACAWK
   11551 _ACEOF
   11552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11553 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11554   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11555 else
   11556   cat
   11557 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11558   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11559 _ACEOF
   11560 
   11561 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11562 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11563 # trailing colons and then remove the whole line if VPATH becomes empty
   11564 # (actually we leave an empty line to preserve line numbers).
   11565 if test "x$srcdir" = x.; then
   11566   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11567 h
   11568 s///
   11569 s/^/:/
   11570 s/[	 ]*$/:/
   11571 s/:\$(srcdir):/:/g
   11572 s/:\${srcdir}:/:/g
   11573 s/:@srcdir@:/:/g
   11574 s/^:*//
   11575 s/:*$//
   11576 x
   11577 s/\(=[	 ]*\).*/\1/
   11578 G
   11579 s/\n//
   11580 s/^[^=]*=[	 ]*$//
   11581 }'
   11582 fi
   11583 
   11584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11585 fi # test -n "$CONFIG_FILES"
   11586 
   11587 # Set up the scripts for CONFIG_HEADERS section.
   11588 # No need to generate them if there are no CONFIG_HEADERS.
   11589 # This happens for instance with `./config.status Makefile'.
   11590 if test -n "$CONFIG_HEADERS"; then
   11591 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11592 BEGIN {
   11593 _ACEOF
   11594 
   11595 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11596 # here-document in config.status, that substitutes the proper values into
   11597 # config.h.in to produce config.h.
   11598 
   11599 # Create a delimiter string that does not exist in confdefs.h, to ease
   11600 # handling of long lines.
   11601 ac_delim='%!_!# '
   11602 for ac_last_try in false false :; do
   11603   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11604   if test -z "$ac_tt"; then
   11605     break
   11606   elif $ac_last_try; then
   11607     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11608   else
   11609     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11610   fi
   11611 done
   11612 
   11613 # For the awk script, D is an array of macro values keyed by name,
   11614 # likewise P contains macro parameters if any.  Preserve backslash
   11615 # newline sequences.
   11616 
   11617 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11618 sed -n '
   11619 s/.\{148\}/&'"$ac_delim"'/g
   11620 t rset
   11621 :rset
   11622 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11623 t def
   11624 d
   11625 :def
   11626 s/\\$//
   11627 t bsnl
   11628 s/["\\]/\\&/g
   11629 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11630 D["\1"]=" \3"/p
   11631 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11632 d
   11633 :bsnl
   11634 s/["\\]/\\&/g
   11635 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11636 D["\1"]=" \3\\\\\\n"\\/p
   11637 t cont
   11638 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11639 t cont
   11640 d
   11641 :cont
   11642 n
   11643 s/.\{148\}/&'"$ac_delim"'/g
   11644 t clear
   11645 :clear
   11646 s/\\$//
   11647 t bsnlc
   11648 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11649 d
   11650 :bsnlc
   11651 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11652 b cont
   11653 ' <confdefs.h | sed '
   11654 s/'"$ac_delim"'/"\\\
   11655 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11656 
   11657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11658   for (key in D) D_is_set[key] = 1
   11659   FS = ""
   11660 }
   11661 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11662   line = \$ 0
   11663   split(line, arg, " ")
   11664   if (arg[1] == "#") {
   11665     defundef = arg[2]
   11666     mac1 = arg[3]
   11667   } else {
   11668     defundef = substr(arg[1], 2)
   11669     mac1 = arg[2]
   11670   }
   11671   split(mac1, mac2, "(") #)
   11672   macro = mac2[1]
   11673   prefix = substr(line, 1, index(line, defundef) - 1)
   11674   if (D_is_set[macro]) {
   11675     # Preserve the white space surrounding the "#".
   11676     print prefix "define", macro P[macro] D[macro]
   11677     next
   11678   } else {
   11679     # Replace #undef with comments.  This is necessary, for example,
   11680     # in the case of _POSIX_SOURCE, which is predefined and required
   11681     # on some systems where configure will not decide to define it.
   11682     if (defundef == "undef") {
   11683       print "/*", prefix defundef, macro, "*/"
   11684       next
   11685     }
   11686   }
   11687 }
   11688 { print }
   11689 _ACAWK
   11690 _ACEOF
   11691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11692   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11693 fi # test -n "$CONFIG_HEADERS"
   11694 
   11695 
   11696 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11697 shift
   11698 for ac_tag
   11699 do
   11700   case $ac_tag in
   11701   :[FHLC]) ac_mode=$ac_tag; continue;;
   11702   esac
   11703   case $ac_mode$ac_tag in
   11704   :[FHL]*:*);;
   11705   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11706   :[FH]-) ac_tag=-:-;;
   11707   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11708   esac
   11709   ac_save_IFS=$IFS
   11710   IFS=:
   11711   set x $ac_tag
   11712   IFS=$ac_save_IFS
   11713   shift
   11714   ac_file=$1
   11715   shift
   11716 
   11717   case $ac_mode in
   11718   :L) ac_source=$1;;
   11719   :[FH])
   11720     ac_file_inputs=
   11721     for ac_f
   11722     do
   11723       case $ac_f in
   11724       -) ac_f="$ac_tmp/stdin";;
   11725       *) # Look for the file first in the build tree, then in the source tree
   11726 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11727 	 # because $ac_f cannot contain `:'.
   11728 	 test -f "$ac_f" ||
   11729 	   case $ac_f in
   11730 	   [\\/$]*) false;;
   11731 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11732 	   esac ||
   11733 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11734       esac
   11735       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11736       as_fn_append ac_file_inputs " '$ac_f'"
   11737     done
   11738 
   11739     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11740     # use $as_me), people would be surprised to read:
   11741     #    /* config.h.  Generated by config.status.  */
   11742     configure_input='Generated from '`
   11743 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11744 	`' by configure.'
   11745     if test x"$ac_file" != x-; then
   11746       configure_input="$ac_file.  $configure_input"
   11747       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11748 $as_echo "$as_me: creating $ac_file" >&6;}
   11749     fi
   11750     # Neutralize special characters interpreted by sed in replacement strings.
   11751     case $configure_input in #(
   11752     *\&* | *\|* | *\\* )
   11753        ac_sed_conf_input=`$as_echo "$configure_input" |
   11754        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11755     *) ac_sed_conf_input=$configure_input;;
   11756     esac
   11757 
   11758     case $ac_tag in
   11759     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11760       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11761     esac
   11762     ;;
   11763   esac
   11764 
   11765   ac_dir=`$as_dirname -- "$ac_file" ||
   11766 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11767 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11768 	 X"$ac_file" : 'X\(//\)$' \| \
   11769 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11770 $as_echo X"$ac_file" |
   11771     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11772 	    s//\1/
   11773 	    q
   11774 	  }
   11775 	  /^X\(\/\/\)[^/].*/{
   11776 	    s//\1/
   11777 	    q
   11778 	  }
   11779 	  /^X\(\/\/\)$/{
   11780 	    s//\1/
   11781 	    q
   11782 	  }
   11783 	  /^X\(\/\).*/{
   11784 	    s//\1/
   11785 	    q
   11786 	  }
   11787 	  s/.*/./; q'`
   11788   as_dir="$ac_dir"; as_fn_mkdir_p
   11789   ac_builddir=.
   11790 
   11791 case "$ac_dir" in
   11792 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11793 *)
   11794   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11795   # A ".." for each directory in $ac_dir_suffix.
   11796   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11797   case $ac_top_builddir_sub in
   11798   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11799   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11800   esac ;;
   11801 esac
   11802 ac_abs_top_builddir=$ac_pwd
   11803 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11804 # for backward compatibility:
   11805 ac_top_builddir=$ac_top_build_prefix
   11806 
   11807 case $srcdir in
   11808   .)  # We are building in place.
   11809     ac_srcdir=.
   11810     ac_top_srcdir=$ac_top_builddir_sub
   11811     ac_abs_top_srcdir=$ac_pwd ;;
   11812   [\\/]* | ?:[\\/]* )  # Absolute name.
   11813     ac_srcdir=$srcdir$ac_dir_suffix;
   11814     ac_top_srcdir=$srcdir
   11815     ac_abs_top_srcdir=$srcdir ;;
   11816   *) # Relative name.
   11817     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11818     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11819     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11820 esac
   11821 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11822 
   11823 
   11824   case $ac_mode in
   11825   :F)
   11826   #
   11827   # CONFIG_FILE
   11828   #
   11829 
   11830   case $INSTALL in
   11831   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11832   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11833   esac
   11834   ac_MKDIR_P=$MKDIR_P
   11835   case $MKDIR_P in
   11836   [\\/$]* | ?:[\\/]* ) ;;
   11837   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11838   esac
   11839 _ACEOF
   11840 
   11841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11842 # If the template does not know about datarootdir, expand it.
   11843 # FIXME: This hack should be removed a few years after 2.60.
   11844 ac_datarootdir_hack=; ac_datarootdir_seen=
   11845 ac_sed_dataroot='
   11846 /datarootdir/ {
   11847   p
   11848   q
   11849 }
   11850 /@datadir@/p
   11851 /@docdir@/p
   11852 /@infodir@/p
   11853 /@localedir@/p
   11854 /@mandir@/p'
   11855 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11856 *datarootdir*) ac_datarootdir_seen=yes;;
   11857 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11858   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11859 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11860 _ACEOF
   11861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11862   ac_datarootdir_hack='
   11863   s&@datadir@&$datadir&g
   11864   s&@docdir@&$docdir&g
   11865   s&@infodir@&$infodir&g
   11866   s&@localedir@&$localedir&g
   11867   s&@mandir@&$mandir&g
   11868   s&\\\${datarootdir}&$datarootdir&g' ;;
   11869 esac
   11870 _ACEOF
   11871 
   11872 # Neutralize VPATH when `$srcdir' = `.'.
   11873 # Shell code in configure.ac might set extrasub.
   11874 # FIXME: do we really want to maintain this feature?
   11875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11876 ac_sed_extra="$ac_vpsub
   11877 $extrasub
   11878 _ACEOF
   11879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11880 :t
   11881 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11882 s|@configure_input@|$ac_sed_conf_input|;t t
   11883 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11884 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11885 s&@srcdir@&$ac_srcdir&;t t
   11886 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11887 s&@top_srcdir@&$ac_top_srcdir&;t t
   11888 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11889 s&@builddir@&$ac_builddir&;t t
   11890 s&@abs_builddir@&$ac_abs_builddir&;t t
   11891 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11892 s&@INSTALL@&$ac_INSTALL&;t t
   11893 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11894 $ac_datarootdir_hack
   11895 "
   11896 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11897   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11898 
   11899 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11900   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11901   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11902       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11903   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11904 which seems to be undefined.  Please make sure it is defined" >&5
   11905 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11906 which seems to be undefined.  Please make sure it is defined" >&2;}
   11907 
   11908   rm -f "$ac_tmp/stdin"
   11909   case $ac_file in
   11910   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11911   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11912   esac \
   11913   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11914  ;;
   11915   :H)
   11916   #
   11917   # CONFIG_HEADER
   11918   #
   11919   if test x"$ac_file" != x-; then
   11920     {
   11921       $as_echo "/* $configure_input  */" \
   11922       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   11923     } >"$ac_tmp/config.h" \
   11924       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11925     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   11926       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   11927 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11928     else
   11929       rm -f "$ac_file"
   11930       mv "$ac_tmp/config.h" "$ac_file" \
   11931 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11932     fi
   11933   else
   11934     $as_echo "/* $configure_input  */" \
   11935       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   11936       || as_fn_error $? "could not create -" "$LINENO" 5
   11937   fi
   11938 # Compute "$ac_file"'s index in $config_headers.
   11939 _am_arg="$ac_file"
   11940 _am_stamp_count=1
   11941 for _am_header in $config_headers :; do
   11942   case $_am_header in
   11943     $_am_arg | $_am_arg:* )
   11944       break ;;
   11945     * )
   11946       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   11947   esac
   11948 done
   11949 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   11950 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11951 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   11952 	 X"$_am_arg" : 'X\(//\)$' \| \
   11953 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   11954 $as_echo X"$_am_arg" |
   11955     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11956 	    s//\1/
   11957 	    q
   11958 	  }
   11959 	  /^X\(\/\/\)[^/].*/{
   11960 	    s//\1/
   11961 	    q
   11962 	  }
   11963 	  /^X\(\/\/\)$/{
   11964 	    s//\1/
   11965 	    q
   11966 	  }
   11967 	  /^X\(\/\).*/{
   11968 	    s//\1/
   11969 	    q
   11970 	  }
   11971 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   11972  ;;
   11973 
   11974   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11975 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11976  ;;
   11977   esac
   11978 
   11979 
   11980   case $ac_file$ac_mode in
   11981     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11982   # Older Autoconf quotes --file arguments for eval, but not when files
   11983   # are listed without --file.  Let's play safe and only enable the eval
   11984   # if we detect the quoting.
   11985   case $CONFIG_FILES in
   11986   *\'*) eval set x "$CONFIG_FILES" ;;
   11987   *)   set x $CONFIG_FILES ;;
   11988   esac
   11989   shift
   11990   for mf
   11991   do
   11992     # Strip MF so we end up with the name of the file.
   11993     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11994     # Check whether this is an Automake generated Makefile or not.
   11995     # We used to match only the files named 'Makefile.in', but
   11996     # some people rename them; so instead we look at the file content.
   11997     # Grep'ing the first line is not enough: some people post-process
   11998     # each Makefile.in and add a new line on top of each file to say so.
   11999     # Grep'ing the whole file is not good either: AIX grep has a line
   12000     # limit of 2048, but all sed's we know have understand at least 4000.
   12001     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12002       dirpart=`$as_dirname -- "$mf" ||
   12003 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12004 	 X"$mf" : 'X\(//\)[^/]' \| \
   12005 	 X"$mf" : 'X\(//\)$' \| \
   12006 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12007 $as_echo X"$mf" |
   12008     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12009 	    s//\1/
   12010 	    q
   12011 	  }
   12012 	  /^X\(\/\/\)[^/].*/{
   12013 	    s//\1/
   12014 	    q
   12015 	  }
   12016 	  /^X\(\/\/\)$/{
   12017 	    s//\1/
   12018 	    q
   12019 	  }
   12020 	  /^X\(\/\).*/{
   12021 	    s//\1/
   12022 	    q
   12023 	  }
   12024 	  s/.*/./; q'`
   12025     else
   12026       continue
   12027     fi
   12028     # Extract the definition of DEPDIR, am__include, and am__quote
   12029     # from the Makefile without running 'make'.
   12030     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12031     test -z "$DEPDIR" && continue
   12032     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12033     test -z "$am__include" && continue
   12034     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12035     # Find all dependency output files, they are included files with
   12036     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12037     # simplest approach to changing $(DEPDIR) to its actual value in the
   12038     # expansion.
   12039     for file in `sed -n "
   12040       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12041 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12042       # Make sure the directory exists.
   12043       test -f "$dirpart/$file" && continue
   12044       fdir=`$as_dirname -- "$file" ||
   12045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12046 	 X"$file" : 'X\(//\)[^/]' \| \
   12047 	 X"$file" : 'X\(//\)$' \| \
   12048 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12049 $as_echo X"$file" |
   12050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12051 	    s//\1/
   12052 	    q
   12053 	  }
   12054 	  /^X\(\/\/\)[^/].*/{
   12055 	    s//\1/
   12056 	    q
   12057 	  }
   12058 	  /^X\(\/\/\)$/{
   12059 	    s//\1/
   12060 	    q
   12061 	  }
   12062 	  /^X\(\/\).*/{
   12063 	    s//\1/
   12064 	    q
   12065 	  }
   12066 	  s/.*/./; q'`
   12067       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12068       # echo "creating $dirpart/$file"
   12069       echo '# dummy' > "$dirpart/$file"
   12070     done
   12071   done
   12072 }
   12073  ;;
   12074 
   12075   esac
   12076 done # for ac_tag
   12077 
   12078 
   12079 as_fn_exit 0
   12080 _ACEOF
   12081 ac_clean_files=$ac_clean_files_save
   12082 
   12083 test $ac_write_fail = 0 ||
   12084   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12085 
   12086 
   12087 # configure is writing to config.log, and then calls config.status.
   12088 # config.status does its own redirection, appending to config.log.
   12089 # Unfortunately, on DOS this fails, as config.log is still kept open
   12090 # by configure, so config.status won't be able to write to it; its
   12091 # output is simply discarded.  So we exec the FD to /dev/null,
   12092 # effectively closing config.log, so it can be properly (re)opened and
   12093 # appended to by config.status.  When coming back to configure, we
   12094 # need to make the FD available again.
   12095 if test "$no_create" != yes; then
   12096   ac_cs_success=:
   12097   ac_config_status_args=
   12098   test "$silent" = yes &&
   12099     ac_config_status_args="$ac_config_status_args --quiet"
   12100   exec 5>/dev/null
   12101   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12102   exec 5>>config.log
   12103   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12104   # would make configure fail if this is the last instruction.
   12105   $ac_cs_success || as_fn_exit 1
   12106 fi
   12107 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12108   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12109 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12110 fi
   12111 
   12112