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