Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xkbutils 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xkbutils'
    563 PACKAGE_TARNAME='xkbutils'
    564 PACKAGE_VERSION='1.0.4'
    565 PACKAGE_STRING='xkbutils 1.0.4'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XKBWATCH_LIBS
    611 XKBWATCH_CFLAGS
    612 XKBBELL_LIBS
    613 XKBBELL_CFLAGS
    614 XKBVLEDS_LIBS
    615 XKBVLEDS_CFLAGS
    616 AM_BACKSLASH
    617 AM_DEFAULT_VERBOSITY
    618 MAN_SUBSTS
    619 XORG_MAN_PAGE
    620 ADMIN_MAN_DIR
    621 DRIVER_MAN_DIR
    622 MISC_MAN_DIR
    623 FILE_MAN_DIR
    624 LIB_MAN_DIR
    625 APP_MAN_DIR
    626 ADMIN_MAN_SUFFIX
    627 DRIVER_MAN_SUFFIX
    628 MISC_MAN_SUFFIX
    629 FILE_MAN_SUFFIX
    630 LIB_MAN_SUFFIX
    631 APP_MAN_SUFFIX
    632 SED
    633 host_os
    634 host_vendor
    635 host_cpu
    636 host
    637 build_os
    638 build_vendor
    639 build_cpu
    640 build
    641 INSTALL_CMD
    642 PKG_CONFIG
    643 CHANGELOG_CMD
    644 STRICT_CFLAGS
    645 CWARNFLAGS
    646 BASE_CFLAGS
    647 EGREP
    648 GREP
    649 CPP
    650 am__fastdepCC_FALSE
    651 am__fastdepCC_TRUE
    652 CCDEPMODE
    653 am__nodep
    654 AMDEPBACKSLASH
    655 AMDEP_FALSE
    656 AMDEP_TRUE
    657 am__quote
    658 am__include
    659 DEPDIR
    660 OBJEXT
    661 EXEEXT
    662 ac_ct_CC
    663 CPPFLAGS
    664 LDFLAGS
    665 CFLAGS
    666 CC
    667 MAINT
    668 MAINTAINER_MODE_FALSE
    669 MAINTAINER_MODE_TRUE
    670 am__untar
    671 am__tar
    672 AMTAR
    673 am__leading_dot
    674 SET_MAKE
    675 AWK
    676 mkdir_p
    677 MKDIR_P
    678 INSTALL_STRIP_PROGRAM
    679 STRIP
    680 install_sh
    681 MAKEINFO
    682 AUTOHEADER
    683 AUTOMAKE
    684 AUTOCONF
    685 ACLOCAL
    686 VERSION
    687 PACKAGE
    688 CYGPATH_W
    689 am__isrc
    690 INSTALL_DATA
    691 INSTALL_SCRIPT
    692 INSTALL_PROGRAM
    693 target_alias
    694 host_alias
    695 build_alias
    696 LIBS
    697 ECHO_T
    698 ECHO_N
    699 ECHO_C
    700 DEFS
    701 mandir
    702 localedir
    703 libdir
    704 psdir
    705 pdfdir
    706 dvidir
    707 htmldir
    708 infodir
    709 docdir
    710 oldincludedir
    711 includedir
    712 localstatedir
    713 sharedstatedir
    714 sysconfdir
    715 datadir
    716 datarootdir
    717 libexecdir
    718 sbindir
    719 bindir
    720 program_transform_name
    721 prefix
    722 exec_prefix
    723 PACKAGE_URL
    724 PACKAGE_BUGREPORT
    725 PACKAGE_STRING
    726 PACKAGE_VERSION
    727 PACKAGE_TARNAME
    728 PACKAGE_NAME
    729 PATH_SEPARATOR
    730 SHELL'
    731 ac_subst_files=''
    732 ac_user_opts='
    733 enable_option_checking
    734 enable_maintainer_mode
    735 enable_dependency_tracking
    736 enable_selective_werror
    737 enable_strict_compilation
    738 enable_silent_rules
    739 '
    740       ac_precious_vars='build_alias
    741 host_alias
    742 target_alias
    743 CC
    744 CFLAGS
    745 LDFLAGS
    746 LIBS
    747 CPPFLAGS
    748 CPP
    749 PKG_CONFIG
    750 XKBVLEDS_CFLAGS
    751 XKBVLEDS_LIBS
    752 XKBBELL_CFLAGS
    753 XKBBELL_LIBS
    754 XKBWATCH_CFLAGS
    755 XKBWATCH_LIBS'
    756 
    757 
    758 # Initialize some variables set by options.
    759 ac_init_help=
    760 ac_init_version=false
    761 ac_unrecognized_opts=
    762 ac_unrecognized_sep=
    763 # The variables have the same names as the options, with
    764 # dashes changed to underlines.
    765 cache_file=/dev/null
    766 exec_prefix=NONE
    767 no_create=
    768 no_recursion=
    769 prefix=NONE
    770 program_prefix=NONE
    771 program_suffix=NONE
    772 program_transform_name=s,x,x,
    773 silent=
    774 site=
    775 srcdir=
    776 verbose=
    777 x_includes=NONE
    778 x_libraries=NONE
    779 
    780 # Installation directory options.
    781 # These are left unexpanded so users can "make install exec_prefix=/foo"
    782 # and all the variables that are supposed to be based on exec_prefix
    783 # by default will actually change.
    784 # Use braces instead of parens because sh, perl, etc. also accept them.
    785 # (The list follows the same order as the GNU Coding Standards.)
    786 bindir='${exec_prefix}/bin'
    787 sbindir='${exec_prefix}/sbin'
    788 libexecdir='${exec_prefix}/libexec'
    789 datarootdir='${prefix}/share'
    790 datadir='${datarootdir}'
    791 sysconfdir='${prefix}/etc'
    792 sharedstatedir='${prefix}/com'
    793 localstatedir='${prefix}/var'
    794 includedir='${prefix}/include'
    795 oldincludedir='/usr/include'
    796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    797 infodir='${datarootdir}/info'
    798 htmldir='${docdir}'
    799 dvidir='${docdir}'
    800 pdfdir='${docdir}'
    801 psdir='${docdir}'
    802 libdir='${exec_prefix}/lib'
    803 localedir='${datarootdir}/locale'
    804 mandir='${datarootdir}/man'
    805 
    806 ac_prev=
    807 ac_dashdash=
    808 for ac_option
    809 do
    810   # If the previous option needs an argument, assign it.
    811   if test -n "$ac_prev"; then
    812     eval $ac_prev=\$ac_option
    813     ac_prev=
    814     continue
    815   fi
    816 
    817   case $ac_option in
    818   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    819   *=)   ac_optarg= ;;
    820   *)    ac_optarg=yes ;;
    821   esac
    822 
    823   # Accept the important Cygnus configure options, so we can diagnose typos.
    824 
    825   case $ac_dashdash$ac_option in
    826   --)
    827     ac_dashdash=yes ;;
    828 
    829   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    830     ac_prev=bindir ;;
    831   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    832     bindir=$ac_optarg ;;
    833 
    834   -build | --build | --buil | --bui | --bu)
    835     ac_prev=build_alias ;;
    836   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    837     build_alias=$ac_optarg ;;
    838 
    839   -cache-file | --cache-file | --cache-fil | --cache-fi \
    840   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    841     ac_prev=cache_file ;;
    842   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    843   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    844     cache_file=$ac_optarg ;;
    845 
    846   --config-cache | -C)
    847     cache_file=config.cache ;;
    848 
    849   -datadir | --datadir | --datadi | --datad)
    850     ac_prev=datadir ;;
    851   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    852     datadir=$ac_optarg ;;
    853 
    854   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    855   | --dataroo | --dataro | --datar)
    856     ac_prev=datarootdir ;;
    857   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    858   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    859     datarootdir=$ac_optarg ;;
    860 
    861   -disable-* | --disable-*)
    862     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    863     # Reject names that are not valid shell variable names.
    864     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    865       as_fn_error $? "invalid feature name: $ac_useropt"
    866     ac_useropt_orig=$ac_useropt
    867     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    868     case $ac_user_opts in
    869       *"
    870 "enable_$ac_useropt"
    871 "*) ;;
    872       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    873 	 ac_unrecognized_sep=', ';;
    874     esac
    875     eval enable_$ac_useropt=no ;;
    876 
    877   -docdir | --docdir | --docdi | --doc | --do)
    878     ac_prev=docdir ;;
    879   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    880     docdir=$ac_optarg ;;
    881 
    882   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    883     ac_prev=dvidir ;;
    884   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    885     dvidir=$ac_optarg ;;
    886 
    887   -enable-* | --enable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
    902 
    903   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    904   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    905   | --exec | --exe | --ex)
    906     ac_prev=exec_prefix ;;
    907   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    908   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    909   | --exec=* | --exe=* | --ex=*)
    910     exec_prefix=$ac_optarg ;;
    911 
    912   -gas | --gas | --ga | --g)
    913     # Obsolete; use --with-gas.
    914     with_gas=yes ;;
    915 
    916   -help | --help | --hel | --he | -h)
    917     ac_init_help=long ;;
    918   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    919     ac_init_help=recursive ;;
    920   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    921     ac_init_help=short ;;
    922 
    923   -host | --host | --hos | --ho)
    924     ac_prev=host_alias ;;
    925   -host=* | --host=* | --hos=* | --ho=*)
    926     host_alias=$ac_optarg ;;
    927 
    928   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    929     ac_prev=htmldir ;;
    930   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    931   | --ht=*)
    932     htmldir=$ac_optarg ;;
    933 
    934   -includedir | --includedir | --includedi | --included | --include \
    935   | --includ | --inclu | --incl | --inc)
    936     ac_prev=includedir ;;
    937   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    938   | --includ=* | --inclu=* | --incl=* | --inc=*)
    939     includedir=$ac_optarg ;;
    940 
    941   -infodir | --infodir | --infodi | --infod | --info | --inf)
    942     ac_prev=infodir ;;
    943   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    944     infodir=$ac_optarg ;;
    945 
    946   -libdir | --libdir | --libdi | --libd)
    947     ac_prev=libdir ;;
    948   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    949     libdir=$ac_optarg ;;
    950 
    951   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    952   | --libexe | --libex | --libe)
    953     ac_prev=libexecdir ;;
    954   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    955   | --libexe=* | --libex=* | --libe=*)
    956     libexecdir=$ac_optarg ;;
    957 
    958   -localedir | --localedir | --localedi | --localed | --locale)
    959     ac_prev=localedir ;;
    960   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    961     localedir=$ac_optarg ;;
    962 
    963   -localstatedir | --localstatedir | --localstatedi | --localstated \
    964   | --localstate | --localstat | --localsta | --localst | --locals)
    965     ac_prev=localstatedir ;;
    966   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    967   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    968     localstatedir=$ac_optarg ;;
    969 
    970   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    971     ac_prev=mandir ;;
    972   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    973     mandir=$ac_optarg ;;
    974 
    975   -nfp | --nfp | --nf)
    976     # Obsolete; use --without-fp.
    977     with_fp=no ;;
    978 
    979   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    980   | --no-cr | --no-c | -n)
    981     no_create=yes ;;
    982 
    983   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    984   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    985     no_recursion=yes ;;
    986 
    987   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    988   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    989   | --oldin | --oldi | --old | --ol | --o)
    990     ac_prev=oldincludedir ;;
    991   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    992   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    993   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    994     oldincludedir=$ac_optarg ;;
    995 
    996   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    997     ac_prev=prefix ;;
    998   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    999     prefix=$ac_optarg ;;
   1000 
   1001   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1002   | --program-pre | --program-pr | --program-p)
   1003     ac_prev=program_prefix ;;
   1004   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1005   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1006     program_prefix=$ac_optarg ;;
   1007 
   1008   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1009   | --program-suf | --program-su | --program-s)
   1010     ac_prev=program_suffix ;;
   1011   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1012   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1013     program_suffix=$ac_optarg ;;
   1014 
   1015   -program-transform-name | --program-transform-name \
   1016   | --program-transform-nam | --program-transform-na \
   1017   | --program-transform-n | --program-transform- \
   1018   | --program-transform | --program-transfor \
   1019   | --program-transfo | --program-transf \
   1020   | --program-trans | --program-tran \
   1021   | --progr-tra | --program-tr | --program-t)
   1022     ac_prev=program_transform_name ;;
   1023   -program-transform-name=* | --program-transform-name=* \
   1024   | --program-transform-nam=* | --program-transform-na=* \
   1025   | --program-transform-n=* | --program-transform-=* \
   1026   | --program-transform=* | --program-transfor=* \
   1027   | --program-transfo=* | --program-transf=* \
   1028   | --program-trans=* | --program-tran=* \
   1029   | --progr-tra=* | --program-tr=* | --program-t=*)
   1030     program_transform_name=$ac_optarg ;;
   1031 
   1032   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1033     ac_prev=pdfdir ;;
   1034   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1035     pdfdir=$ac_optarg ;;
   1036 
   1037   -psdir | --psdir | --psdi | --psd | --ps)
   1038     ac_prev=psdir ;;
   1039   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1040     psdir=$ac_optarg ;;
   1041 
   1042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1043   | -silent | --silent | --silen | --sile | --sil)
   1044     silent=yes ;;
   1045 
   1046   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1047     ac_prev=sbindir ;;
   1048   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1049   | --sbi=* | --sb=*)
   1050     sbindir=$ac_optarg ;;
   1051 
   1052   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1053   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1054   | --sharedst | --shareds | --shared | --share | --shar \
   1055   | --sha | --sh)
   1056     ac_prev=sharedstatedir ;;
   1057   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1058   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1059   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1060   | --sha=* | --sh=*)
   1061     sharedstatedir=$ac_optarg ;;
   1062 
   1063   -site | --site | --sit)
   1064     ac_prev=site ;;
   1065   -site=* | --site=* | --sit=*)
   1066     site=$ac_optarg ;;
   1067 
   1068   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1069     ac_prev=srcdir ;;
   1070   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1071     srcdir=$ac_optarg ;;
   1072 
   1073   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1074   | --syscon | --sysco | --sysc | --sys | --sy)
   1075     ac_prev=sysconfdir ;;
   1076   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1077   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1078     sysconfdir=$ac_optarg ;;
   1079 
   1080   -target | --target | --targe | --targ | --tar | --ta | --t)
   1081     ac_prev=target_alias ;;
   1082   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1083     target_alias=$ac_optarg ;;
   1084 
   1085   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1086     verbose=yes ;;
   1087 
   1088   -version | --version | --versio | --versi | --vers | -V)
   1089     ac_init_version=: ;;
   1090 
   1091   -with-* | --with-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error $? "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -without-* | --without-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=no ;;
   1122 
   1123   --x)
   1124     # Obsolete; use --with-x.
   1125     with_x=yes ;;
   1126 
   1127   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1128   | --x-incl | --x-inc | --x-in | --x-i)
   1129     ac_prev=x_includes ;;
   1130   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1131   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1132     x_includes=$ac_optarg ;;
   1133 
   1134   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1135   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1136     ac_prev=x_libraries ;;
   1137   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1138   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1139     x_libraries=$ac_optarg ;;
   1140 
   1141   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1142 Try \`$0 --help' for more information"
   1143     ;;
   1144 
   1145   *=*)
   1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1147     # Reject names that are not valid shell variable names.
   1148     case $ac_envvar in #(
   1149       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1150       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1151     esac
   1152     eval $ac_envvar=\$ac_optarg
   1153     export $ac_envvar ;;
   1154 
   1155   *)
   1156     # FIXME: should be removed in autoconf 3.0.
   1157     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1158     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1159       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1160     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1161     ;;
   1162 
   1163   esac
   1164 done
   1165 
   1166 if test -n "$ac_prev"; then
   1167   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1168   as_fn_error $? "missing argument to $ac_option"
   1169 fi
   1170 
   1171 if test -n "$ac_unrecognized_opts"; then
   1172   case $enable_option_checking in
   1173     no) ;;
   1174     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1175     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1176   esac
   1177 fi
   1178 
   1179 # Check all directory arguments for consistency.
   1180 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1181 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1182 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1183 		libdir localedir mandir
   1184 do
   1185   eval ac_val=\$$ac_var
   1186   # Remove trailing slashes.
   1187   case $ac_val in
   1188     */ )
   1189       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1190       eval $ac_var=\$ac_val;;
   1191   esac
   1192   # Be sure to have absolute directory names.
   1193   case $ac_val in
   1194     [\\/$]* | ?:[\\/]* )  continue;;
   1195     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1196   esac
   1197   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1198 done
   1199 
   1200 # There might be people who depend on the old broken behavior: `$host'
   1201 # used to hold the argument of --host etc.
   1202 # FIXME: To remove some day.
   1203 build=$build_alias
   1204 host=$host_alias
   1205 target=$target_alias
   1206 
   1207 # FIXME: To remove some day.
   1208 if test "x$host_alias" != x; then
   1209   if test "x$build_alias" = x; then
   1210     cross_compiling=maybe
   1211     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1212     If a cross compiler is detected then cross compile mode will be used" >&2
   1213   elif test "x$build_alias" != "x$host_alias"; then
   1214     cross_compiling=yes
   1215   fi
   1216 fi
   1217 
   1218 ac_tool_prefix=
   1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1220 
   1221 test "$silent" = yes && exec 6>/dev/null
   1222 
   1223 
   1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1225 ac_ls_di=`ls -di .` &&
   1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1227   as_fn_error $? "working directory cannot be determined"
   1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1229   as_fn_error $? "pwd does not report name of working directory"
   1230 
   1231 
   1232 # Find the source files, if location was not specified.
   1233 if test -z "$srcdir"; then
   1234   ac_srcdir_defaulted=yes
   1235   # Try the directory containing this script, then the parent directory.
   1236   ac_confdir=`$as_dirname -- "$as_myself" ||
   1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1238 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1239 	 X"$as_myself" : 'X\(//\)$' \| \
   1240 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1241 $as_echo X"$as_myself" |
   1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\/\)[^/].*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\).*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  s/.*/./; q'`
   1259   srcdir=$ac_confdir
   1260   if test ! -r "$srcdir/$ac_unique_file"; then
   1261     srcdir=..
   1262   fi
   1263 else
   1264   ac_srcdir_defaulted=no
   1265 fi
   1266 if test ! -r "$srcdir/$ac_unique_file"; then
   1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1269 fi
   1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1271 ac_abs_confdir=`(
   1272 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1273 	pwd)`
   1274 # When building in place, set srcdir=.
   1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1276   srcdir=.
   1277 fi
   1278 # Remove unnecessary trailing slashes from srcdir.
   1279 # Double slashes in file names in object file debugging info
   1280 # mess up M-x gdb in Emacs.
   1281 case $srcdir in
   1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1283 esac
   1284 for ac_var in $ac_precious_vars; do
   1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_env_${ac_var}_value=\$${ac_var}
   1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1289 done
   1290 
   1291 #
   1292 # Report the --help message.
   1293 #
   1294 if test "$ac_init_help" = "long"; then
   1295   # Omit some internal or obsolete options to make the list less imposing.
   1296   # This message is too long to be a string in the A/UX 3.1 sh.
   1297   cat <<_ACEOF
   1298 \`configure' configures xkbutils 1.0.4 to adapt to many kinds of systems.
   1299 
   1300 Usage: $0 [OPTION]... [VAR=VALUE]...
   1301 
   1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1304 
   1305 Defaults for the options are specified in brackets.
   1306 
   1307 Configuration:
   1308   -h, --help              display this help and exit
   1309       --help=short        display options specific to this package
   1310       --help=recursive    display the short help of all the included packages
   1311   -V, --version           display version information and exit
   1312   -q, --quiet, --silent   do not print \`checking ...' messages
   1313       --cache-file=FILE   cache test results in FILE [disabled]
   1314   -C, --config-cache      alias for \`--cache-file=config.cache'
   1315   -n, --no-create         do not create output files
   1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1317 
   1318 Installation directories:
   1319   --prefix=PREFIX         install architecture-independent files in PREFIX
   1320                           [$ac_default_prefix]
   1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1322                           [PREFIX]
   1323 
   1324 By default, \`make install' will install all the files in
   1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1327 for instance \`--prefix=\$HOME'.
   1328 
   1329 For better control, use the options below.
   1330 
   1331 Fine tuning of the installation directories:
   1332   --bindir=DIR            user executables [EPREFIX/bin]
   1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1338   --libdir=DIR            object code libraries [EPREFIX/lib]
   1339   --includedir=DIR        C header files [PREFIX/include]
   1340   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1341   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1342   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1343   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1344   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1345   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1346   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbutils]
   1347   --htmldir=DIR           html documentation [DOCDIR]
   1348   --dvidir=DIR            dvi documentation [DOCDIR]
   1349   --pdfdir=DIR            pdf documentation [DOCDIR]
   1350   --psdir=DIR             ps documentation [DOCDIR]
   1351 _ACEOF
   1352 
   1353   cat <<\_ACEOF
   1354 
   1355 Program names:
   1356   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1357   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1358   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1359 
   1360 System types:
   1361   --build=BUILD     configure for building on BUILD [guessed]
   1362   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1363 _ACEOF
   1364 fi
   1365 
   1366 if test -n "$ac_init_help"; then
   1367   case $ac_init_help in
   1368      short | recursive ) echo "Configuration of xkbutils 1.0.4:";;
   1369    esac
   1370   cat <<\_ACEOF
   1371 
   1372 Optional Features:
   1373   --disable-option-checking  ignore unrecognized --enable/--with options
   1374   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1375   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1376   --enable-maintainer-mode  enable make rules and dependencies not useful
   1377 			  (and sometimes confusing) to the casual installer
   1378   --disable-dependency-tracking  speeds up one-time build
   1379   --enable-dependency-tracking   do not reject slow dependency extractors
   1380   --disable-selective-werror
   1381                           Turn off selective compiler errors. (default:
   1382                           enabled)
   1383   --enable-strict-compilation
   1384                           Enable all warnings from compiler and make them
   1385                           errors (default: disabled)
   1386   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1387   --disable-silent-rules         verbose build output (undo: `make V=0')
   1388 
   1389 Some influential environment variables:
   1390   CC          C compiler command
   1391   CFLAGS      C compiler flags
   1392   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1393               nonstandard directory <lib dir>
   1394   LIBS        libraries to pass to the linker, e.g. -l<library>
   1395   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1396               you have headers in a nonstandard directory <include dir>
   1397   CPP         C preprocessor
   1398   PKG_CONFIG  path to pkg-config utility
   1399   XKBVLEDS_CFLAGS
   1400               C compiler flags for XKBVLEDS, overriding pkg-config
   1401   XKBVLEDS_LIBS
   1402               linker flags for XKBVLEDS, overriding pkg-config
   1403   XKBBELL_CFLAGS
   1404               C compiler flags for XKBBELL, overriding pkg-config
   1405   XKBBELL_LIBS
   1406               linker flags for XKBBELL, overriding pkg-config
   1407   XKBWATCH_CFLAGS
   1408               C compiler flags for XKBWATCH, overriding pkg-config
   1409   XKBWATCH_LIBS
   1410               linker flags for XKBWATCH, overriding pkg-config
   1411 
   1412 Use these variables to override the choices made by `configure' or to help
   1413 it to find libraries and programs with nonstandard names/locations.
   1414 
   1415 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1416 _ACEOF
   1417 ac_status=$?
   1418 fi
   1419 
   1420 if test "$ac_init_help" = "recursive"; then
   1421   # If there are subdirs, report their specific --help.
   1422   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1423     test -d "$ac_dir" ||
   1424       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1425       continue
   1426     ac_builddir=.
   1427 
   1428 case "$ac_dir" in
   1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1430 *)
   1431   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1432   # A ".." for each directory in $ac_dir_suffix.
   1433   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1434   case $ac_top_builddir_sub in
   1435   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1437   esac ;;
   1438 esac
   1439 ac_abs_top_builddir=$ac_pwd
   1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1441 # for backward compatibility:
   1442 ac_top_builddir=$ac_top_build_prefix
   1443 
   1444 case $srcdir in
   1445   .)  # We are building in place.
   1446     ac_srcdir=.
   1447     ac_top_srcdir=$ac_top_builddir_sub
   1448     ac_abs_top_srcdir=$ac_pwd ;;
   1449   [\\/]* | ?:[\\/]* )  # Absolute name.
   1450     ac_srcdir=$srcdir$ac_dir_suffix;
   1451     ac_top_srcdir=$srcdir
   1452     ac_abs_top_srcdir=$srcdir ;;
   1453   *) # Relative name.
   1454     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1455     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1456     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1457 esac
   1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1459 
   1460     cd "$ac_dir" || { ac_status=$?; continue; }
   1461     # Check for guested configure.
   1462     if test -f "$ac_srcdir/configure.gnu"; then
   1463       echo &&
   1464       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1465     elif test -f "$ac_srcdir/configure"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure" --help=recursive
   1468     else
   1469       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1470     fi || ac_status=$?
   1471     cd "$ac_pwd" || { ac_status=$?; break; }
   1472   done
   1473 fi
   1474 
   1475 test -n "$ac_init_help" && exit $ac_status
   1476 if $ac_init_version; then
   1477   cat <<\_ACEOF
   1478 xkbutils configure 1.0.4
   1479 generated by GNU Autoconf 2.68
   1480 
   1481 Copyright (C) 2010 Free Software Foundation, Inc.
   1482 This configure script is free software; the Free Software Foundation
   1483 gives unlimited permission to copy, distribute and modify it.
   1484 _ACEOF
   1485   exit
   1486 fi
   1487 
   1488 ## ------------------------ ##
   1489 ## Autoconf initialization. ##
   1490 ## ------------------------ ##
   1491 
   1492 # ac_fn_c_try_compile LINENO
   1493 # --------------------------
   1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1495 ac_fn_c_try_compile ()
   1496 {
   1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1498   rm -f conftest.$ac_objext
   1499   if { { ac_try="$ac_compile"
   1500 case "(($ac_try" in
   1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1502   *) ac_try_echo=$ac_try;;
   1503 esac
   1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1505 $as_echo "$ac_try_echo"; } >&5
   1506   (eval "$ac_compile") 2>conftest.err
   1507   ac_status=$?
   1508   if test -s conftest.err; then
   1509     grep -v '^ *+' conftest.err >conftest.er1
   1510     cat conftest.er1 >&5
   1511     mv -f conftest.er1 conftest.err
   1512   fi
   1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1514   test $ac_status = 0; } && {
   1515 	 test -z "$ac_c_werror_flag" ||
   1516 	 test ! -s conftest.err
   1517        } && test -s conftest.$ac_objext; then :
   1518   ac_retval=0
   1519 else
   1520   $as_echo "$as_me: failed program was:" >&5
   1521 sed 's/^/| /' conftest.$ac_ext >&5
   1522 
   1523 	ac_retval=1
   1524 fi
   1525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1526   as_fn_set_status $ac_retval
   1527 
   1528 } # ac_fn_c_try_compile
   1529 
   1530 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1531 # ---------------------------------------------
   1532 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1533 # accordingly.
   1534 ac_fn_c_check_decl ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1538   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1540 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1541 if eval \${$3+:} false; then :
   1542   $as_echo_n "(cached) " >&6
   1543 else
   1544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1545 /* end confdefs.h.  */
   1546 $4
   1547 int
   1548 main ()
   1549 {
   1550 #ifndef $as_decl_name
   1551 #ifdef __cplusplus
   1552   (void) $as_decl_use;
   1553 #else
   1554   (void) $as_decl_name;
   1555 #endif
   1556 #endif
   1557 
   1558   ;
   1559   return 0;
   1560 }
   1561 _ACEOF
   1562 if ac_fn_c_try_compile "$LINENO"; then :
   1563   eval "$3=yes"
   1564 else
   1565   eval "$3=no"
   1566 fi
   1567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1568 fi
   1569 eval ac_res=\$$3
   1570 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1571 $as_echo "$ac_res" >&6; }
   1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1573 
   1574 } # ac_fn_c_check_decl
   1575 
   1576 # ac_fn_c_try_cpp LINENO
   1577 # ----------------------
   1578 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1579 ac_fn_c_try_cpp ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1583 case "(($ac_try" in
   1584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1585   *) ac_try_echo=$ac_try;;
   1586 esac
   1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1588 $as_echo "$ac_try_echo"; } >&5
   1589   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1590   ac_status=$?
   1591   if test -s conftest.err; then
   1592     grep -v '^ *+' conftest.err >conftest.er1
   1593     cat conftest.er1 >&5
   1594     mv -f conftest.er1 conftest.err
   1595   fi
   1596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1597   test $ac_status = 0; } > conftest.i && {
   1598 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1599 	 test ! -s conftest.err
   1600        }; then :
   1601   ac_retval=0
   1602 else
   1603   $as_echo "$as_me: failed program was:" >&5
   1604 sed 's/^/| /' conftest.$ac_ext >&5
   1605 
   1606     ac_retval=1
   1607 fi
   1608   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1609   as_fn_set_status $ac_retval
   1610 
   1611 } # ac_fn_c_try_cpp
   1612 
   1613 # ac_fn_c_try_run LINENO
   1614 # ----------------------
   1615 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1616 # that executables *can* be run.
   1617 ac_fn_c_try_run ()
   1618 {
   1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1620   if { { ac_try="$ac_link"
   1621 case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 $as_echo "$ac_try_echo"; } >&5
   1627   (eval "$ac_link") 2>&5
   1628   ac_status=$?
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1631   { { case "(($ac_try" in
   1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1633   *) ac_try_echo=$ac_try;;
   1634 esac
   1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1636 $as_echo "$ac_try_echo"; } >&5
   1637   (eval "$ac_try") 2>&5
   1638   ac_status=$?
   1639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1640   test $ac_status = 0; }; }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: program exited with status $ac_status" >&5
   1644        $as_echo "$as_me: failed program was:" >&5
   1645 sed 's/^/| /' conftest.$ac_ext >&5
   1646 
   1647        ac_retval=$ac_status
   1648 fi
   1649   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651   as_fn_set_status $ac_retval
   1652 
   1653 } # ac_fn_c_try_run
   1654 
   1655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1656 # -------------------------------------------------------
   1657 # Tests whether HEADER exists and can be compiled using the include files in
   1658 # INCLUDES, setting the cache variable VAR accordingly.
   1659 ac_fn_c_check_header_compile ()
   1660 {
   1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1663 $as_echo_n "checking for $2... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 else
   1667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1668 /* end confdefs.h.  */
   1669 $4
   1670 #include <$2>
   1671 _ACEOF
   1672 if ac_fn_c_try_compile "$LINENO"; then :
   1673   eval "$3=yes"
   1674 else
   1675   eval "$3=no"
   1676 fi
   1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1678 fi
   1679 eval ac_res=\$$3
   1680 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1681 $as_echo "$ac_res" >&6; }
   1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1683 
   1684 } # ac_fn_c_check_header_compile
   1685 
   1686 # ac_fn_c_try_link LINENO
   1687 # -----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_link ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   rm -f conftest.$ac_objext conftest$ac_exeext
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>conftest.err
   1701   ac_status=$?
   1702   if test -s conftest.err; then
   1703     grep -v '^ *+' conftest.err >conftest.er1
   1704     cat conftest.er1 >&5
   1705     mv -f conftest.er1 conftest.err
   1706   fi
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && {
   1709 	 test -z "$ac_c_werror_flag" ||
   1710 	 test ! -s conftest.err
   1711        } && test -s conftest$ac_exeext && {
   1712 	 test "$cross_compiling" = yes ||
   1713 	 $as_test_x conftest$ac_exeext
   1714        }; then :
   1715   ac_retval=0
   1716 else
   1717   $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720 	ac_retval=1
   1721 fi
   1722   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1723   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1724   # interfere with the next link command; also delete a directory that is
   1725   # left behind by Apple's compiler.  We do this before executing the actions.
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_link
   1731 
   1732 # ac_fn_c_check_func LINENO FUNC VAR
   1733 # ----------------------------------
   1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1735 ac_fn_c_check_func ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 $as_echo_n "checking for $2... " >&6; }
   1740 if eval \${$3+:} false; then :
   1741   $as_echo_n "(cached) " >&6
   1742 else
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750     which can conflict with char $2 (); below.
   1751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1752     <limits.h> exists even on freestanding compilers.  */
   1753 
   1754 #ifdef __STDC__
   1755 # include <limits.h>
   1756 #else
   1757 # include <assert.h>
   1758 #endif
   1759 
   1760 #undef $2
   1761 
   1762 /* Override any GCC internal prototype to avoid an error.
   1763    Use char because int might match the return type of a GCC
   1764    builtin and then its argument prototype would still apply.  */
   1765 #ifdef __cplusplus
   1766 extern "C"
   1767 #endif
   1768 char $2 ();
   1769 /* The GNU C library defines this for functions which it implements
   1770     to always fail with ENOSYS.  Some functions are actually named
   1771     something starting with __ and the normal name is an alias.  */
   1772 #if defined __stub_$2 || defined __stub___$2
   1773 choke me
   1774 #endif
   1775 
   1776 int
   1777 main ()
   1778 {
   1779 return $2 ();
   1780   ;
   1781   return 0;
   1782 }
   1783 _ACEOF
   1784 if ac_fn_c_try_link "$LINENO"; then :
   1785   eval "$3=yes"
   1786 else
   1787   eval "$3=no"
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext \
   1790     conftest$ac_exeext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_func
   1798 cat >config.log <<_ACEOF
   1799 This file contains any messages produced by compilers while
   1800 running configure, to aid debugging if configure makes a mistake.
   1801 
   1802 It was created by xkbutils $as_me 1.0.4, which was
   1803 generated by GNU Autoconf 2.68.  Invocation command line was
   1804 
   1805   $ $0 $@
   1806 
   1807 _ACEOF
   1808 exec 5>>config.log
   1809 {
   1810 cat <<_ASUNAME
   1811 ## --------- ##
   1812 ## Platform. ##
   1813 ## --------- ##
   1814 
   1815 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1816 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1817 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1818 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1819 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1820 
   1821 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1822 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1823 
   1824 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1825 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1826 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1827 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1828 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1829 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1830 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1831 
   1832 _ASUNAME
   1833 
   1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1835 for as_dir in $PATH
   1836 do
   1837   IFS=$as_save_IFS
   1838   test -z "$as_dir" && as_dir=.
   1839     $as_echo "PATH: $as_dir"
   1840   done
   1841 IFS=$as_save_IFS
   1842 
   1843 } >&5
   1844 
   1845 cat >&5 <<_ACEOF
   1846 
   1847 
   1848 ## ----------- ##
   1849 ## Core tests. ##
   1850 ## ----------- ##
   1851 
   1852 _ACEOF
   1853 
   1854 
   1855 # Keep a trace of the command line.
   1856 # Strip out --no-create and --no-recursion so they do not pile up.
   1857 # Strip out --silent because we don't want to record it for future runs.
   1858 # Also quote any args containing shell meta-characters.
   1859 # Make two passes to allow for proper duplicate-argument suppression.
   1860 ac_configure_args=
   1861 ac_configure_args0=
   1862 ac_configure_args1=
   1863 ac_must_keep_next=false
   1864 for ac_pass in 1 2
   1865 do
   1866   for ac_arg
   1867   do
   1868     case $ac_arg in
   1869     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1870     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1871     | -silent | --silent | --silen | --sile | --sil)
   1872       continue ;;
   1873     *\'*)
   1874       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1875     esac
   1876     case $ac_pass in
   1877     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1878     2)
   1879       as_fn_append ac_configure_args1 " '$ac_arg'"
   1880       if test $ac_must_keep_next = true; then
   1881 	ac_must_keep_next=false # Got value, back to normal.
   1882       else
   1883 	case $ac_arg in
   1884 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1885 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1886 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1887 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1888 	    case "$ac_configure_args0 " in
   1889 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1890 	    esac
   1891 	    ;;
   1892 	  -* ) ac_must_keep_next=true ;;
   1893 	esac
   1894       fi
   1895       as_fn_append ac_configure_args " '$ac_arg'"
   1896       ;;
   1897     esac
   1898   done
   1899 done
   1900 { ac_configure_args0=; unset ac_configure_args0;}
   1901 { ac_configure_args1=; unset ac_configure_args1;}
   1902 
   1903 # When interrupted or exit'd, cleanup temporary files, and complete
   1904 # config.log.  We remove comments because anyway the quotes in there
   1905 # would cause problems or look ugly.
   1906 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1907 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1908 trap 'exit_status=$?
   1909   # Save into config.log some information that might help in debugging.
   1910   {
   1911     echo
   1912 
   1913     $as_echo "## ---------------- ##
   1914 ## Cache variables. ##
   1915 ## ---------------- ##"
   1916     echo
   1917     # The following way of writing the cache mishandles newlines in values,
   1918 (
   1919   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1920     eval ac_val=\$$ac_var
   1921     case $ac_val in #(
   1922     *${as_nl}*)
   1923       case $ac_var in #(
   1924       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1926       esac
   1927       case $ac_var in #(
   1928       _ | IFS | as_nl) ;; #(
   1929       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1930       *) { eval $ac_var=; unset $ac_var;} ;;
   1931       esac ;;
   1932     esac
   1933   done
   1934   (set) 2>&1 |
   1935     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1936     *${as_nl}ac_space=\ *)
   1937       sed -n \
   1938 	"s/'\''/'\''\\\\'\'''\''/g;
   1939 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1940       ;; #(
   1941     *)
   1942       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1943       ;;
   1944     esac |
   1945     sort
   1946 )
   1947     echo
   1948 
   1949     $as_echo "## ----------------- ##
   1950 ## Output variables. ##
   1951 ## ----------------- ##"
   1952     echo
   1953     for ac_var in $ac_subst_vars
   1954     do
   1955       eval ac_val=\$$ac_var
   1956       case $ac_val in
   1957       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1958       esac
   1959       $as_echo "$ac_var='\''$ac_val'\''"
   1960     done | sort
   1961     echo
   1962 
   1963     if test -n "$ac_subst_files"; then
   1964       $as_echo "## ------------------- ##
   1965 ## File substitutions. ##
   1966 ## ------------------- ##"
   1967       echo
   1968       for ac_var in $ac_subst_files
   1969       do
   1970 	eval ac_val=\$$ac_var
   1971 	case $ac_val in
   1972 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1973 	esac
   1974 	$as_echo "$ac_var='\''$ac_val'\''"
   1975       done | sort
   1976       echo
   1977     fi
   1978 
   1979     if test -s confdefs.h; then
   1980       $as_echo "## ----------- ##
   1981 ## confdefs.h. ##
   1982 ## ----------- ##"
   1983       echo
   1984       cat confdefs.h
   1985       echo
   1986     fi
   1987     test "$ac_signal" != 0 &&
   1988       $as_echo "$as_me: caught signal $ac_signal"
   1989     $as_echo "$as_me: exit $exit_status"
   1990   } >&5
   1991   rm -f core *.core core.conftest.* &&
   1992     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1993     exit $exit_status
   1994 ' 0
   1995 for ac_signal in 1 2 13 15; do
   1996   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1997 done
   1998 ac_signal=0
   1999 
   2000 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2001 rm -f -r conftest* confdefs.h
   2002 
   2003 $as_echo "/* confdefs.h */" > confdefs.h
   2004 
   2005 # Predefined preprocessor variables.
   2006 
   2007 cat >>confdefs.h <<_ACEOF
   2008 #define PACKAGE_NAME "$PACKAGE_NAME"
   2009 _ACEOF
   2010 
   2011 cat >>confdefs.h <<_ACEOF
   2012 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2013 _ACEOF
   2014 
   2015 cat >>confdefs.h <<_ACEOF
   2016 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2017 _ACEOF
   2018 
   2019 cat >>confdefs.h <<_ACEOF
   2020 #define PACKAGE_STRING "$PACKAGE_STRING"
   2021 _ACEOF
   2022 
   2023 cat >>confdefs.h <<_ACEOF
   2024 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2025 _ACEOF
   2026 
   2027 cat >>confdefs.h <<_ACEOF
   2028 #define PACKAGE_URL "$PACKAGE_URL"
   2029 _ACEOF
   2030 
   2031 
   2032 # Let the site file select an alternate cache file if it wants to.
   2033 # Prefer an explicitly selected file to automatically selected ones.
   2034 ac_site_file1=NONE
   2035 ac_site_file2=NONE
   2036 if test -n "$CONFIG_SITE"; then
   2037   # We do not want a PATH search for config.site.
   2038   case $CONFIG_SITE in #((
   2039     -*)  ac_site_file1=./$CONFIG_SITE;;
   2040     */*) ac_site_file1=$CONFIG_SITE;;
   2041     *)   ac_site_file1=./$CONFIG_SITE;;
   2042   esac
   2043 elif test "x$prefix" != xNONE; then
   2044   ac_site_file1=$prefix/share/config.site
   2045   ac_site_file2=$prefix/etc/config.site
   2046 else
   2047   ac_site_file1=$ac_default_prefix/share/config.site
   2048   ac_site_file2=$ac_default_prefix/etc/config.site
   2049 fi
   2050 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2051 do
   2052   test "x$ac_site_file" = xNONE && continue
   2053   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2054     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2055 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2056     sed 's/^/| /' "$ac_site_file" >&5
   2057     . "$ac_site_file" \
   2058       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2060 as_fn_error $? "failed to load site script $ac_site_file
   2061 See \`config.log' for more details" "$LINENO" 5; }
   2062   fi
   2063 done
   2064 
   2065 if test -r "$cache_file"; then
   2066   # Some versions of bash will fail to source /dev/null (special files
   2067   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2068   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2069     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2070 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2071     case $cache_file in
   2072       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2073       *)                      . "./$cache_file";;
   2074     esac
   2075   fi
   2076 else
   2077   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2078 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2079   >$cache_file
   2080 fi
   2081 
   2082 # Check that the precious variables saved in the cache have kept the same
   2083 # value.
   2084 ac_cache_corrupted=false
   2085 for ac_var in $ac_precious_vars; do
   2086   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2087   eval ac_new_set=\$ac_env_${ac_var}_set
   2088   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2089   eval ac_new_val=\$ac_env_${ac_var}_value
   2090   case $ac_old_set,$ac_new_set in
   2091     set,)
   2092       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2093 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2094       ac_cache_corrupted=: ;;
   2095     ,set)
   2096       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2097 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2098       ac_cache_corrupted=: ;;
   2099     ,);;
   2100     *)
   2101       if test "x$ac_old_val" != "x$ac_new_val"; then
   2102 	# differences in whitespace do not lead to failure.
   2103 	ac_old_val_w=`echo x $ac_old_val`
   2104 	ac_new_val_w=`echo x $ac_new_val`
   2105 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2106 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2107 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2108 	  ac_cache_corrupted=:
   2109 	else
   2110 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2111 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2112 	  eval $ac_var=\$ac_old_val
   2113 	fi
   2114 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2115 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2116 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2117 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2118       fi;;
   2119   esac
   2120   # Pass precious variables to config.status.
   2121   if test "$ac_new_set" = set; then
   2122     case $ac_new_val in
   2123     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2124     *) ac_arg=$ac_var=$ac_new_val ;;
   2125     esac
   2126     case " $ac_configure_args " in
   2127       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2128       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2129     esac
   2130   fi
   2131 done
   2132 if $ac_cache_corrupted; then
   2133   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2135   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2136 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2137   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2138 fi
   2139 ## -------------------- ##
   2140 ## Main body of script. ##
   2141 ## -------------------- ##
   2142 
   2143 ac_ext=c
   2144 ac_cpp='$CPP $CPPFLAGS'
   2145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2148 
   2149 
   2150 
   2151 ac_config_headers="$ac_config_headers config.h"
   2152 
   2153 
   2154 # Initialize Automake
   2155 am__api_version='1.11'
   2156 
   2157 ac_aux_dir=
   2158 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2159   if test -f "$ac_dir/install-sh"; then
   2160     ac_aux_dir=$ac_dir
   2161     ac_install_sh="$ac_aux_dir/install-sh -c"
   2162     break
   2163   elif test -f "$ac_dir/install.sh"; then
   2164     ac_aux_dir=$ac_dir
   2165     ac_install_sh="$ac_aux_dir/install.sh -c"
   2166     break
   2167   elif test -f "$ac_dir/shtool"; then
   2168     ac_aux_dir=$ac_dir
   2169     ac_install_sh="$ac_aux_dir/shtool install -c"
   2170     break
   2171   fi
   2172 done
   2173 if test -z "$ac_aux_dir"; then
   2174   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2175 fi
   2176 
   2177 # These three variables are undocumented and unsupported,
   2178 # and are intended to be withdrawn in a future Autoconf release.
   2179 # They can cause serious problems if a builder's source tree is in a directory
   2180 # whose full name contains unusual characters.
   2181 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2182 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2183 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2184 
   2185 
   2186 # Find a good install program.  We prefer a C program (faster),
   2187 # so one script is as good as another.  But avoid the broken or
   2188 # incompatible versions:
   2189 # SysV /etc/install, /usr/sbin/install
   2190 # SunOS /usr/etc/install
   2191 # IRIX /sbin/install
   2192 # AIX /bin/install
   2193 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2194 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2195 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2196 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2197 # OS/2's system install, which has a completely different semantic
   2198 # ./install, which can be erroneously created by make from ./install.sh.
   2199 # Reject install programs that cannot install multiple files.
   2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2201 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2202 if test -z "$INSTALL"; then
   2203 if ${ac_cv_path_install+:} false; then :
   2204   $as_echo_n "(cached) " >&6
   2205 else
   2206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2207 for as_dir in $PATH
   2208 do
   2209   IFS=$as_save_IFS
   2210   test -z "$as_dir" && as_dir=.
   2211     # Account for people who put trailing slashes in PATH elements.
   2212 case $as_dir/ in #((
   2213   ./ | .// | /[cC]/* | \
   2214   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2215   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2216   /usr/ucb/* ) ;;
   2217   *)
   2218     # OSF1 and SCO ODT 3.0 have their own names for install.
   2219     # Don't use installbsd from OSF since it installs stuff as root
   2220     # by default.
   2221     for ac_prog in ginstall scoinst install; do
   2222       for ac_exec_ext in '' $ac_executable_extensions; do
   2223 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2224 	  if test $ac_prog = install &&
   2225 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2226 	    # AIX install.  It has an incompatible calling convention.
   2227 	    :
   2228 	  elif test $ac_prog = install &&
   2229 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2230 	    # program-specific install script used by HP pwplus--don't use.
   2231 	    :
   2232 	  else
   2233 	    rm -rf conftest.one conftest.two conftest.dir
   2234 	    echo one > conftest.one
   2235 	    echo two > conftest.two
   2236 	    mkdir conftest.dir
   2237 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2238 	      test -s conftest.one && test -s conftest.two &&
   2239 	      test -s conftest.dir/conftest.one &&
   2240 	      test -s conftest.dir/conftest.two
   2241 	    then
   2242 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2243 	      break 3
   2244 	    fi
   2245 	  fi
   2246 	fi
   2247       done
   2248     done
   2249     ;;
   2250 esac
   2251 
   2252   done
   2253 IFS=$as_save_IFS
   2254 
   2255 rm -rf conftest.one conftest.two conftest.dir
   2256 
   2257 fi
   2258   if test "${ac_cv_path_install+set}" = set; then
   2259     INSTALL=$ac_cv_path_install
   2260   else
   2261     # As a last resort, use the slow shell script.  Don't cache a
   2262     # value for INSTALL within a source directory, because that will
   2263     # break other packages using the cache if that directory is
   2264     # removed, or if the value is a relative name.
   2265     INSTALL=$ac_install_sh
   2266   fi
   2267 fi
   2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2269 $as_echo "$INSTALL" >&6; }
   2270 
   2271 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2272 # It thinks the first close brace ends the variable substitution.
   2273 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2274 
   2275 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2276 
   2277 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2278 
   2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2280 $as_echo_n "checking whether build environment is sane... " >&6; }
   2281 # Just in case
   2282 sleep 1
   2283 echo timestamp > conftest.file
   2284 # Reject unsafe characters in $srcdir or the absolute working directory
   2285 # name.  Accept space and tab only in the latter.
   2286 am_lf='
   2287 '
   2288 case `pwd` in
   2289   *[\\\"\#\$\&\'\`$am_lf]*)
   2290     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2291 esac
   2292 case $srcdir in
   2293   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2294     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2295 esac
   2296 
   2297 # Do `set' in a subshell so we don't clobber the current shell's
   2298 # arguments.  Must try -L first in case configure is actually a
   2299 # symlink; some systems play weird games with the mod time of symlinks
   2300 # (eg FreeBSD returns the mod time of the symlink's containing
   2301 # directory).
   2302 if (
   2303    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2304    if test "$*" = "X"; then
   2305       # -L didn't work.
   2306       set X `ls -t "$srcdir/configure" conftest.file`
   2307    fi
   2308    rm -f conftest.file
   2309    if test "$*" != "X $srcdir/configure conftest.file" \
   2310       && test "$*" != "X conftest.file $srcdir/configure"; then
   2311 
   2312       # If neither matched, then we have a broken ls.  This can happen
   2313       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2314       # broken ls alias from the environment.  This has actually
   2315       # happened.  Such a system could not be considered "sane".
   2316       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2317 alias in your environment" "$LINENO" 5
   2318    fi
   2319 
   2320    test "$2" = conftest.file
   2321    )
   2322 then
   2323    # Ok.
   2324    :
   2325 else
   2326    as_fn_error $? "newly created file is older than distributed files!
   2327 Check your system clock" "$LINENO" 5
   2328 fi
   2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2330 $as_echo "yes" >&6; }
   2331 test "$program_prefix" != NONE &&
   2332   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2333 # Use a double $ so make ignores it.
   2334 test "$program_suffix" != NONE &&
   2335   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2336 # Double any \ or $.
   2337 # By default was `s,x,x', remove it if useless.
   2338 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2339 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2340 
   2341 # expand $ac_aux_dir to an absolute path
   2342 am_aux_dir=`cd $ac_aux_dir && pwd`
   2343 
   2344 if test x"${MISSING+set}" != xset; then
   2345   case $am_aux_dir in
   2346   *\ * | *\	*)
   2347     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2348   *)
   2349     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2350   esac
   2351 fi
   2352 # Use eval to expand $SHELL
   2353 if eval "$MISSING --run true"; then
   2354   am_missing_run="$MISSING --run "
   2355 else
   2356   am_missing_run=
   2357   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2358 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2359 fi
   2360 
   2361 if test x"${install_sh}" != xset; then
   2362   case $am_aux_dir in
   2363   *\ * | *\	*)
   2364     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2365   *)
   2366     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2367   esac
   2368 fi
   2369 
   2370 # Installed binaries are usually stripped using `strip' when the user
   2371 # run `make install-strip'.  However `strip' might not be the right
   2372 # tool to use in cross-compilation environments, therefore Automake
   2373 # will honor the `STRIP' environment variable to overrule this program.
   2374 if test "$cross_compiling" != no; then
   2375   if test -n "$ac_tool_prefix"; then
   2376   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2377 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2379 $as_echo_n "checking for $ac_word... " >&6; }
   2380 if ${ac_cv_prog_STRIP+:} false; then :
   2381   $as_echo_n "(cached) " >&6
   2382 else
   2383   if test -n "$STRIP"; then
   2384   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2385 else
   2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2387 for as_dir in $PATH
   2388 do
   2389   IFS=$as_save_IFS
   2390   test -z "$as_dir" && as_dir=.
   2391     for ac_exec_ext in '' $ac_executable_extensions; do
   2392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2393     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2395     break 2
   2396   fi
   2397 done
   2398   done
   2399 IFS=$as_save_IFS
   2400 
   2401 fi
   2402 fi
   2403 STRIP=$ac_cv_prog_STRIP
   2404 if test -n "$STRIP"; then
   2405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2406 $as_echo "$STRIP" >&6; }
   2407 else
   2408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2409 $as_echo "no" >&6; }
   2410 fi
   2411 
   2412 
   2413 fi
   2414 if test -z "$ac_cv_prog_STRIP"; then
   2415   ac_ct_STRIP=$STRIP
   2416   # Extract the first word of "strip", so it can be a program name with args.
   2417 set dummy strip; ac_word=$2
   2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2419 $as_echo_n "checking for $ac_word... " >&6; }
   2420 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2421   $as_echo_n "(cached) " >&6
   2422 else
   2423   if test -n "$ac_ct_STRIP"; then
   2424   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2425 else
   2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2427 for as_dir in $PATH
   2428 do
   2429   IFS=$as_save_IFS
   2430   test -z "$as_dir" && as_dir=.
   2431     for ac_exec_ext in '' $ac_executable_extensions; do
   2432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2433     ac_cv_prog_ac_ct_STRIP="strip"
   2434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2435     break 2
   2436   fi
   2437 done
   2438   done
   2439 IFS=$as_save_IFS
   2440 
   2441 fi
   2442 fi
   2443 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2444 if test -n "$ac_ct_STRIP"; then
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2446 $as_echo "$ac_ct_STRIP" >&6; }
   2447 else
   2448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2449 $as_echo "no" >&6; }
   2450 fi
   2451 
   2452   if test "x$ac_ct_STRIP" = x; then
   2453     STRIP=":"
   2454   else
   2455     case $cross_compiling:$ac_tool_warned in
   2456 yes:)
   2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2459 ac_tool_warned=yes ;;
   2460 esac
   2461     STRIP=$ac_ct_STRIP
   2462   fi
   2463 else
   2464   STRIP="$ac_cv_prog_STRIP"
   2465 fi
   2466 
   2467 fi
   2468 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2469 
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2471 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2472 if test -z "$MKDIR_P"; then
   2473   if ${ac_cv_path_mkdir+:} false; then :
   2474   $as_echo_n "(cached) " >&6
   2475 else
   2476   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2477 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2478 do
   2479   IFS=$as_save_IFS
   2480   test -z "$as_dir" && as_dir=.
   2481     for ac_prog in mkdir gmkdir; do
   2482 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2483 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2484 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2485 	     'mkdir (GNU coreutils) '* | \
   2486 	     'mkdir (coreutils) '* | \
   2487 	     'mkdir (fileutils) '4.1*)
   2488 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2489 	       break 3;;
   2490 	   esac
   2491 	 done
   2492        done
   2493   done
   2494 IFS=$as_save_IFS
   2495 
   2496 fi
   2497 
   2498   test -d ./--version && rmdir ./--version
   2499   if test "${ac_cv_path_mkdir+set}" = set; then
   2500     MKDIR_P="$ac_cv_path_mkdir -p"
   2501   else
   2502     # As a last resort, use the slow shell script.  Don't cache a
   2503     # value for MKDIR_P within a source directory, because that will
   2504     # break other packages using the cache if that directory is
   2505     # removed, or if the value is a relative name.
   2506     MKDIR_P="$ac_install_sh -d"
   2507   fi
   2508 fi
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2510 $as_echo "$MKDIR_P" >&6; }
   2511 
   2512 mkdir_p="$MKDIR_P"
   2513 case $mkdir_p in
   2514   [\\/$]* | ?:[\\/]*) ;;
   2515   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2516 esac
   2517 
   2518 for ac_prog in gawk mawk nawk awk
   2519 do
   2520   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2521 set dummy $ac_prog; ac_word=$2
   2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2523 $as_echo_n "checking for $ac_word... " >&6; }
   2524 if ${ac_cv_prog_AWK+:} false; then :
   2525   $as_echo_n "(cached) " >&6
   2526 else
   2527   if test -n "$AWK"; then
   2528   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2529 else
   2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2531 for as_dir in $PATH
   2532 do
   2533   IFS=$as_save_IFS
   2534   test -z "$as_dir" && as_dir=.
   2535     for ac_exec_ext in '' $ac_executable_extensions; do
   2536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2537     ac_cv_prog_AWK="$ac_prog"
   2538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2539     break 2
   2540   fi
   2541 done
   2542   done
   2543 IFS=$as_save_IFS
   2544 
   2545 fi
   2546 fi
   2547 AWK=$ac_cv_prog_AWK
   2548 if test -n "$AWK"; then
   2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2550 $as_echo "$AWK" >&6; }
   2551 else
   2552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2553 $as_echo "no" >&6; }
   2554 fi
   2555 
   2556 
   2557   test -n "$AWK" && break
   2558 done
   2559 
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2561 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2562 set x ${MAKE-make}
   2563 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2564 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2565   $as_echo_n "(cached) " >&6
   2566 else
   2567   cat >conftest.make <<\_ACEOF
   2568 SHELL = /bin/sh
   2569 all:
   2570 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2571 _ACEOF
   2572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2574   *@@@%%%=?*=@@@%%%*)
   2575     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2576   *)
   2577     eval ac_cv_prog_make_${ac_make}_set=no;;
   2578 esac
   2579 rm -f conftest.make
   2580 fi
   2581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2583 $as_echo "yes" >&6; }
   2584   SET_MAKE=
   2585 else
   2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2587 $as_echo "no" >&6; }
   2588   SET_MAKE="MAKE=${MAKE-make}"
   2589 fi
   2590 
   2591 rm -rf .tst 2>/dev/null
   2592 mkdir .tst 2>/dev/null
   2593 if test -d .tst; then
   2594   am__leading_dot=.
   2595 else
   2596   am__leading_dot=_
   2597 fi
   2598 rmdir .tst 2>/dev/null
   2599 
   2600 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2601   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2602   # is not polluted with repeated "-I."
   2603   am__isrc=' -I$(srcdir)'
   2604   # test to see if srcdir already configured
   2605   if test -f $srcdir/config.status; then
   2606     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2607   fi
   2608 fi
   2609 
   2610 # test whether we have cygpath
   2611 if test -z "$CYGPATH_W"; then
   2612   if (cygpath --version) >/dev/null 2>/dev/null; then
   2613     CYGPATH_W='cygpath -w'
   2614   else
   2615     CYGPATH_W=echo
   2616   fi
   2617 fi
   2618 
   2619 
   2620 # Define the identity of the package.
   2621  PACKAGE='xkbutils'
   2622  VERSION='1.0.4'
   2623 
   2624 
   2625 cat >>confdefs.h <<_ACEOF
   2626 #define PACKAGE "$PACKAGE"
   2627 _ACEOF
   2628 
   2629 
   2630 cat >>confdefs.h <<_ACEOF
   2631 #define VERSION "$VERSION"
   2632 _ACEOF
   2633 
   2634 # Some tools Automake needs.
   2635 
   2636 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2637 
   2638 
   2639 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2640 
   2641 
   2642 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2643 
   2644 
   2645 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2646 
   2647 
   2648 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2649 
   2650 # We need awk for the "check" target.  The system "awk" is bad on
   2651 # some platforms.
   2652 # Always define AMTAR for backward compatibility.
   2653 
   2654 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2655 
   2656 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2664 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2665     # Check whether --enable-maintainer-mode was given.
   2666 if test "${enable_maintainer_mode+set}" = set; then :
   2667   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2668 else
   2669   USE_MAINTAINER_MODE=no
   2670 fi
   2671 
   2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2673 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2674    if test $USE_MAINTAINER_MODE = yes; then
   2675   MAINTAINER_MODE_TRUE=
   2676   MAINTAINER_MODE_FALSE='#'
   2677 else
   2678   MAINTAINER_MODE_TRUE='#'
   2679   MAINTAINER_MODE_FALSE=
   2680 fi
   2681 
   2682   MAINT=$MAINTAINER_MODE_TRUE
   2683 
   2684 
   2685 DEPDIR="${am__leading_dot}deps"
   2686 
   2687 ac_config_commands="$ac_config_commands depfiles"
   2688 
   2689 
   2690 am_make=${MAKE-make}
   2691 cat > confinc << 'END'
   2692 am__doit:
   2693 	@echo this is the am__doit target
   2694 .PHONY: am__doit
   2695 END
   2696 # If we don't find an include directive, just comment out the code.
   2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2698 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2699 am__include="#"
   2700 am__quote=
   2701 _am_result=none
   2702 # First try GNU make style include.
   2703 echo "include confinc" > confmf
   2704 # Ignore all kinds of additional output from `make'.
   2705 case `$am_make -s -f confmf 2> /dev/null` in #(
   2706 *the\ am__doit\ target*)
   2707   am__include=include
   2708   am__quote=
   2709   _am_result=GNU
   2710   ;;
   2711 esac
   2712 # Now try BSD make style include.
   2713 if test "$am__include" = "#"; then
   2714    echo '.include "confinc"' > confmf
   2715    case `$am_make -s -f confmf 2> /dev/null` in #(
   2716    *the\ am__doit\ target*)
   2717      am__include=.include
   2718      am__quote="\""
   2719      _am_result=BSD
   2720      ;;
   2721    esac
   2722 fi
   2723 
   2724 
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2726 $as_echo "$_am_result" >&6; }
   2727 rm -f confinc confmf
   2728 
   2729 # Check whether --enable-dependency-tracking was given.
   2730 if test "${enable_dependency_tracking+set}" = set; then :
   2731   enableval=$enable_dependency_tracking;
   2732 fi
   2733 
   2734 if test "x$enable_dependency_tracking" != xno; then
   2735   am_depcomp="$ac_aux_dir/depcomp"
   2736   AMDEPBACKSLASH='\'
   2737   am__nodep='_no'
   2738 fi
   2739  if test "x$enable_dependency_tracking" != xno; then
   2740   AMDEP_TRUE=
   2741   AMDEP_FALSE='#'
   2742 else
   2743   AMDEP_TRUE='#'
   2744   AMDEP_FALSE=
   2745 fi
   2746 
   2747 
   2748 ac_ext=c
   2749 ac_cpp='$CPP $CPPFLAGS'
   2750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2753 if test -n "$ac_tool_prefix"; then
   2754   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2755 set dummy ${ac_tool_prefix}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_CC+:} false; then :
   2759   $as_echo_n "(cached) " >&6
   2760 else
   2761   if test -n "$CC"; then
   2762   ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
   2782 if test -n "$CC"; then
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2784 $as_echo "$CC" >&6; }
   2785 else
   2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2787 $as_echo "no" >&6; }
   2788 fi
   2789 
   2790 
   2791 fi
   2792 if test -z "$ac_cv_prog_CC"; then
   2793   ac_ct_CC=$CC
   2794   # Extract the first word of "gcc", so it can be a program name with args.
   2795 set dummy gcc; ac_word=$2
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2797 $as_echo_n "checking for $ac_word... " >&6; }
   2798 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2799   $as_echo_n "(cached) " >&6
   2800 else
   2801   if test -n "$ac_ct_CC"; then
   2802   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2803 else
   2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2805 for as_dir in $PATH
   2806 do
   2807   IFS=$as_save_IFS
   2808   test -z "$as_dir" && as_dir=.
   2809     for ac_exec_ext in '' $ac_executable_extensions; do
   2810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2811     ac_cv_prog_ac_ct_CC="gcc"
   2812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816   done
   2817 IFS=$as_save_IFS
   2818 
   2819 fi
   2820 fi
   2821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2822 if test -n "$ac_ct_CC"; then
   2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2824 $as_echo "$ac_ct_CC" >&6; }
   2825 else
   2826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2827 $as_echo "no" >&6; }
   2828 fi
   2829 
   2830   if test "x$ac_ct_CC" = x; then
   2831     CC=""
   2832   else
   2833     case $cross_compiling:$ac_tool_warned in
   2834 yes:)
   2835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2837 ac_tool_warned=yes ;;
   2838 esac
   2839     CC=$ac_ct_CC
   2840   fi
   2841 else
   2842   CC="$ac_cv_prog_CC"
   2843 fi
   2844 
   2845 if test -z "$CC"; then
   2846           if test -n "$ac_tool_prefix"; then
   2847     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2848 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2858 for as_dir in $PATH
   2859 do
   2860   IFS=$as_save_IFS
   2861   test -z "$as_dir" && as_dir=.
   2862     for ac_exec_ext in '' $ac_executable_extensions; do
   2863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2864     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2866     break 2
   2867   fi
   2868 done
   2869   done
   2870 IFS=$as_save_IFS
   2871 
   2872 fi
   2873 fi
   2874 CC=$ac_cv_prog_CC
   2875 if test -n "$CC"; then
   2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2877 $as_echo "$CC" >&6; }
   2878 else
   2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2880 $as_echo "no" >&6; }
   2881 fi
   2882 
   2883 
   2884   fi
   2885 fi
   2886 if test -z "$CC"; then
   2887   # Extract the first word of "cc", so it can be a program name with args.
   2888 set dummy cc; ac_word=$2
   2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2890 $as_echo_n "checking for $ac_word... " >&6; }
   2891 if ${ac_cv_prog_CC+:} false; then :
   2892   $as_echo_n "(cached) " >&6
   2893 else
   2894   if test -n "$CC"; then
   2895   ac_cv_prog_CC="$CC" # Let the user override the test.
   2896 else
   2897   ac_prog_rejected=no
   2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2899 for as_dir in $PATH
   2900 do
   2901   IFS=$as_save_IFS
   2902   test -z "$as_dir" && as_dir=.
   2903     for ac_exec_ext in '' $ac_executable_extensions; do
   2904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2905     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2906        ac_prog_rejected=yes
   2907        continue
   2908      fi
   2909     ac_cv_prog_CC="cc"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 if test $ac_prog_rejected = yes; then
   2918   # We found a bogon in the path, so make sure we never use it.
   2919   set dummy $ac_cv_prog_CC
   2920   shift
   2921   if test $# != 0; then
   2922     # We chose a different compiler from the bogus one.
   2923     # However, it has the same basename, so the bogon will be chosen
   2924     # first if we set CC to just the basename; use the full file name.
   2925     shift
   2926     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2927   fi
   2928 fi
   2929 fi
   2930 fi
   2931 CC=$ac_cv_prog_CC
   2932 if test -n "$CC"; then
   2933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2934 $as_echo "$CC" >&6; }
   2935 else
   2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2937 $as_echo "no" >&6; }
   2938 fi
   2939 
   2940 
   2941 fi
   2942 if test -z "$CC"; then
   2943   if test -n "$ac_tool_prefix"; then
   2944   for ac_prog in cl.exe
   2945   do
   2946     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2949 $as_echo_n "checking for $ac_word... " >&6; }
   2950 if ${ac_cv_prog_CC+:} false; then :
   2951   $as_echo_n "(cached) " >&6
   2952 else
   2953   if test -n "$CC"; then
   2954   ac_cv_prog_CC="$CC" # Let the user override the test.
   2955 else
   2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2957 for as_dir in $PATH
   2958 do
   2959   IFS=$as_save_IFS
   2960   test -z "$as_dir" && as_dir=.
   2961     for ac_exec_ext in '' $ac_executable_extensions; do
   2962   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2963     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2965     break 2
   2966   fi
   2967 done
   2968   done
   2969 IFS=$as_save_IFS
   2970 
   2971 fi
   2972 fi
   2973 CC=$ac_cv_prog_CC
   2974 if test -n "$CC"; then
   2975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2976 $as_echo "$CC" >&6; }
   2977 else
   2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2979 $as_echo "no" >&6; }
   2980 fi
   2981 
   2982 
   2983     test -n "$CC" && break
   2984   done
   2985 fi
   2986 if test -z "$CC"; then
   2987   ac_ct_CC=$CC
   2988   for ac_prog in cl.exe
   2989 do
   2990   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2991 set dummy $ac_prog; ac_word=$2
   2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2993 $as_echo_n "checking for $ac_word... " >&6; }
   2994 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2995   $as_echo_n "(cached) " >&6
   2996 else
   2997   if test -n "$ac_ct_CC"; then
   2998   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2999 else
   3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3001 for as_dir in $PATH
   3002 do
   3003   IFS=$as_save_IFS
   3004   test -z "$as_dir" && as_dir=.
   3005     for ac_exec_ext in '' $ac_executable_extensions; do
   3006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3007     ac_cv_prog_ac_ct_CC="$ac_prog"
   3008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3009     break 2
   3010   fi
   3011 done
   3012   done
   3013 IFS=$as_save_IFS
   3014 
   3015 fi
   3016 fi
   3017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3018 if test -n "$ac_ct_CC"; then
   3019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3020 $as_echo "$ac_ct_CC" >&6; }
   3021 else
   3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3023 $as_echo "no" >&6; }
   3024 fi
   3025 
   3026 
   3027   test -n "$ac_ct_CC" && break
   3028 done
   3029 
   3030   if test "x$ac_ct_CC" = x; then
   3031     CC=""
   3032   else
   3033     case $cross_compiling:$ac_tool_warned in
   3034 yes:)
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3037 ac_tool_warned=yes ;;
   3038 esac
   3039     CC=$ac_ct_CC
   3040   fi
   3041 fi
   3042 
   3043 fi
   3044 
   3045 
   3046 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3048 as_fn_error $? "no acceptable C compiler found in \$PATH
   3049 See \`config.log' for more details" "$LINENO" 5; }
   3050 
   3051 # Provide some information about the compiler.
   3052 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3053 set X $ac_compile
   3054 ac_compiler=$2
   3055 for ac_option in --version -v -V -qversion; do
   3056   { { ac_try="$ac_compiler $ac_option >&5"
   3057 case "(($ac_try" in
   3058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3059   *) ac_try_echo=$ac_try;;
   3060 esac
   3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3062 $as_echo "$ac_try_echo"; } >&5
   3063   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3064   ac_status=$?
   3065   if test -s conftest.err; then
   3066     sed '10a\
   3067 ... rest of stderr output deleted ...
   3068          10q' conftest.err >conftest.er1
   3069     cat conftest.er1 >&5
   3070   fi
   3071   rm -f conftest.er1 conftest.err
   3072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3073   test $ac_status = 0; }
   3074 done
   3075 
   3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3077 /* end confdefs.h.  */
   3078 
   3079 int
   3080 main ()
   3081 {
   3082 
   3083   ;
   3084   return 0;
   3085 }
   3086 _ACEOF
   3087 ac_clean_files_save=$ac_clean_files
   3088 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3089 # Try to create an executable without -o first, disregard a.out.
   3090 # It will help us diagnose broken compilers, and finding out an intuition
   3091 # of exeext.
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3093 $as_echo_n "checking whether the C compiler works... " >&6; }
   3094 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3095 
   3096 # The possible output files:
   3097 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3098 
   3099 ac_rmfiles=
   3100 for ac_file in $ac_files
   3101 do
   3102   case $ac_file in
   3103     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3104     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3105   esac
   3106 done
   3107 rm -f $ac_rmfiles
   3108 
   3109 if { { ac_try="$ac_link_default"
   3110 case "(($ac_try" in
   3111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3112   *) ac_try_echo=$ac_try;;
   3113 esac
   3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3115 $as_echo "$ac_try_echo"; } >&5
   3116   (eval "$ac_link_default") 2>&5
   3117   ac_status=$?
   3118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3119   test $ac_status = 0; }; then :
   3120   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3121 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3122 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3123 # so that the user can short-circuit this test for compilers unknown to
   3124 # Autoconf.
   3125 for ac_file in $ac_files ''
   3126 do
   3127   test -f "$ac_file" || continue
   3128   case $ac_file in
   3129     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3130 	;;
   3131     [ab].out )
   3132 	# We found the default executable, but exeext='' is most
   3133 	# certainly right.
   3134 	break;;
   3135     *.* )
   3136 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3137 	then :; else
   3138 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3139 	fi
   3140 	# We set ac_cv_exeext here because the later test for it is not
   3141 	# safe: cross compilers may not add the suffix if given an `-o'
   3142 	# argument, so we may need to know it at that point already.
   3143 	# Even if this section looks crufty: it has the advantage of
   3144 	# actually working.
   3145 	break;;
   3146     * )
   3147 	break;;
   3148   esac
   3149 done
   3150 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3151 
   3152 else
   3153   ac_file=''
   3154 fi
   3155 if test -z "$ac_file"; then :
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3157 $as_echo "no" >&6; }
   3158 $as_echo "$as_me: failed program was:" >&5
   3159 sed 's/^/| /' conftest.$ac_ext >&5
   3160 
   3161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3163 as_fn_error 77 "C compiler cannot create executables
   3164 See \`config.log' for more details" "$LINENO" 5; }
   3165 else
   3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3167 $as_echo "yes" >&6; }
   3168 fi
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3170 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3172 $as_echo "$ac_file" >&6; }
   3173 ac_exeext=$ac_cv_exeext
   3174 
   3175 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3176 ac_clean_files=$ac_clean_files_save
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3178 $as_echo_n "checking for suffix of executables... " >&6; }
   3179 if { { ac_try="$ac_link"
   3180 case "(($ac_try" in
   3181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3182   *) ac_try_echo=$ac_try;;
   3183 esac
   3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3185 $as_echo "$ac_try_echo"; } >&5
   3186   (eval "$ac_link") 2>&5
   3187   ac_status=$?
   3188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3189   test $ac_status = 0; }; then :
   3190   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3191 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3192 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3193 # `rm'.
   3194 for ac_file in conftest.exe conftest conftest.*; do
   3195   test -f "$ac_file" || continue
   3196   case $ac_file in
   3197     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3198     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3199 	  break;;
   3200     * ) break;;
   3201   esac
   3202 done
   3203 else
   3204   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3206 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3207 See \`config.log' for more details" "$LINENO" 5; }
   3208 fi
   3209 rm -f conftest conftest$ac_cv_exeext
   3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3211 $as_echo "$ac_cv_exeext" >&6; }
   3212 
   3213 rm -f conftest.$ac_ext
   3214 EXEEXT=$ac_cv_exeext
   3215 ac_exeext=$EXEEXT
   3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3217 /* end confdefs.h.  */
   3218 #include <stdio.h>
   3219 int
   3220 main ()
   3221 {
   3222 FILE *f = fopen ("conftest.out", "w");
   3223  return ferror (f) || fclose (f) != 0;
   3224 
   3225   ;
   3226   return 0;
   3227 }
   3228 _ACEOF
   3229 ac_clean_files="$ac_clean_files conftest.out"
   3230 # Check that the compiler produces executables we can run.  If not, either
   3231 # the compiler is broken, or we cross compile.
   3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3233 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3234 if test "$cross_compiling" != yes; then
   3235   { { ac_try="$ac_link"
   3236 case "(($ac_try" in
   3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3238   *) ac_try_echo=$ac_try;;
   3239 esac
   3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3241 $as_echo "$ac_try_echo"; } >&5
   3242   (eval "$ac_link") 2>&5
   3243   ac_status=$?
   3244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3245   test $ac_status = 0; }
   3246   if { ac_try='./conftest$ac_cv_exeext'
   3247   { { case "(($ac_try" in
   3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3249   *) ac_try_echo=$ac_try;;
   3250 esac
   3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3252 $as_echo "$ac_try_echo"; } >&5
   3253   (eval "$ac_try") 2>&5
   3254   ac_status=$?
   3255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3256   test $ac_status = 0; }; }; then
   3257     cross_compiling=no
   3258   else
   3259     if test "$cross_compiling" = maybe; then
   3260 	cross_compiling=yes
   3261     else
   3262 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3264 as_fn_error $? "cannot run C compiled programs.
   3265 If you meant to cross compile, use \`--host'.
   3266 See \`config.log' for more details" "$LINENO" 5; }
   3267     fi
   3268   fi
   3269 fi
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3271 $as_echo "$cross_compiling" >&6; }
   3272 
   3273 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3274 ac_clean_files=$ac_clean_files_save
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3276 $as_echo_n "checking for suffix of object files... " >&6; }
   3277 if ${ac_cv_objext+:} false; then :
   3278   $as_echo_n "(cached) " >&6
   3279 else
   3280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3281 /* end confdefs.h.  */
   3282 
   3283 int
   3284 main ()
   3285 {
   3286 
   3287   ;
   3288   return 0;
   3289 }
   3290 _ACEOF
   3291 rm -f conftest.o conftest.obj
   3292 if { { ac_try="$ac_compile"
   3293 case "(($ac_try" in
   3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3295   *) ac_try_echo=$ac_try;;
   3296 esac
   3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3298 $as_echo "$ac_try_echo"; } >&5
   3299   (eval "$ac_compile") 2>&5
   3300   ac_status=$?
   3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }; then :
   3303   for ac_file in conftest.o conftest.obj conftest.*; do
   3304   test -f "$ac_file" || continue;
   3305   case $ac_file in
   3306     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3307     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3308        break;;
   3309   esac
   3310 done
   3311 else
   3312   $as_echo "$as_me: failed program was:" >&5
   3313 sed 's/^/| /' conftest.$ac_ext >&5
   3314 
   3315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3317 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3318 See \`config.log' for more details" "$LINENO" 5; }
   3319 fi
   3320 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3321 fi
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3323 $as_echo "$ac_cv_objext" >&6; }
   3324 OBJEXT=$ac_cv_objext
   3325 ac_objext=$OBJEXT
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3327 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3328 if ${ac_cv_c_compiler_gnu+:} false; then :
   3329   $as_echo_n "(cached) " >&6
   3330 else
   3331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3332 /* end confdefs.h.  */
   3333 
   3334 int
   3335 main ()
   3336 {
   3337 #ifndef __GNUC__
   3338        choke me
   3339 #endif
   3340 
   3341   ;
   3342   return 0;
   3343 }
   3344 _ACEOF
   3345 if ac_fn_c_try_compile "$LINENO"; then :
   3346   ac_compiler_gnu=yes
   3347 else
   3348   ac_compiler_gnu=no
   3349 fi
   3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3351 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3352 
   3353 fi
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3355 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3356 if test $ac_compiler_gnu = yes; then
   3357   GCC=yes
   3358 else
   3359   GCC=
   3360 fi
   3361 ac_test_CFLAGS=${CFLAGS+set}
   3362 ac_save_CFLAGS=$CFLAGS
   3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3364 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3365 if ${ac_cv_prog_cc_g+:} false; then :
   3366   $as_echo_n "(cached) " >&6
   3367 else
   3368   ac_save_c_werror_flag=$ac_c_werror_flag
   3369    ac_c_werror_flag=yes
   3370    ac_cv_prog_cc_g=no
   3371    CFLAGS="-g"
   3372    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3373 /* end confdefs.h.  */
   3374 
   3375 int
   3376 main ()
   3377 {
   3378 
   3379   ;
   3380   return 0;
   3381 }
   3382 _ACEOF
   3383 if ac_fn_c_try_compile "$LINENO"; then :
   3384   ac_cv_prog_cc_g=yes
   3385 else
   3386   CFLAGS=""
   3387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3388 /* end confdefs.h.  */
   3389 
   3390 int
   3391 main ()
   3392 {
   3393 
   3394   ;
   3395   return 0;
   3396 }
   3397 _ACEOF
   3398 if ac_fn_c_try_compile "$LINENO"; then :
   3399 
   3400 else
   3401   ac_c_werror_flag=$ac_save_c_werror_flag
   3402 	 CFLAGS="-g"
   3403 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3404 /* end confdefs.h.  */
   3405 
   3406 int
   3407 main ()
   3408 {
   3409 
   3410   ;
   3411   return 0;
   3412 }
   3413 _ACEOF
   3414 if ac_fn_c_try_compile "$LINENO"; then :
   3415   ac_cv_prog_cc_g=yes
   3416 fi
   3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3418 fi
   3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3420 fi
   3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3422    ac_c_werror_flag=$ac_save_c_werror_flag
   3423 fi
   3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3425 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3426 if test "$ac_test_CFLAGS" = set; then
   3427   CFLAGS=$ac_save_CFLAGS
   3428 elif test $ac_cv_prog_cc_g = yes; then
   3429   if test "$GCC" = yes; then
   3430     CFLAGS="-g -O2"
   3431   else
   3432     CFLAGS="-g"
   3433   fi
   3434 else
   3435   if test "$GCC" = yes; then
   3436     CFLAGS="-O2"
   3437   else
   3438     CFLAGS=
   3439   fi
   3440 fi
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3442 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3443 if ${ac_cv_prog_cc_c89+:} false; then :
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   ac_cv_prog_cc_c89=no
   3447 ac_save_CC=$CC
   3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 #include <stdarg.h>
   3451 #include <stdio.h>
   3452 #include <sys/types.h>
   3453 #include <sys/stat.h>
   3454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3455 struct buf { int x; };
   3456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3457 static char *e (p, i)
   3458      char **p;
   3459      int i;
   3460 {
   3461   return p[i];
   3462 }
   3463 static char *f (char * (*g) (char **, int), char **p, ...)
   3464 {
   3465   char *s;
   3466   va_list v;
   3467   va_start (v,p);
   3468   s = g (p, va_arg (v,int));
   3469   va_end (v);
   3470   return s;
   3471 }
   3472 
   3473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3474    function prototypes and stuff, but not '\xHH' hex character constants.
   3475    These don't provoke an error unfortunately, instead are silently treated
   3476    as 'x'.  The following induces an error, until -std is added to get
   3477    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3478    array size at least.  It's necessary to write '\x00'==0 to get something
   3479    that's true only with -std.  */
   3480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3481 
   3482 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3483    inside strings and character constants.  */
   3484 #define FOO(x) 'x'
   3485 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3486 
   3487 int test (int i, double x);
   3488 struct s1 {int (*f) (int a);};
   3489 struct s2 {int (*f) (double a);};
   3490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3491 int argc;
   3492 char **argv;
   3493 int
   3494 main ()
   3495 {
   3496 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3497   ;
   3498   return 0;
   3499 }
   3500 _ACEOF
   3501 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3502 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3503 do
   3504   CC="$ac_save_CC $ac_arg"
   3505   if ac_fn_c_try_compile "$LINENO"; then :
   3506   ac_cv_prog_cc_c89=$ac_arg
   3507 fi
   3508 rm -f core conftest.err conftest.$ac_objext
   3509   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3510 done
   3511 rm -f conftest.$ac_ext
   3512 CC=$ac_save_CC
   3513 
   3514 fi
   3515 # AC_CACHE_VAL
   3516 case "x$ac_cv_prog_cc_c89" in
   3517   x)
   3518     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3519 $as_echo "none needed" >&6; } ;;
   3520   xno)
   3521     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3522 $as_echo "unsupported" >&6; } ;;
   3523   *)
   3524     CC="$CC $ac_cv_prog_cc_c89"
   3525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3526 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3527 esac
   3528 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3529 
   3530 fi
   3531 
   3532 ac_ext=c
   3533 ac_cpp='$CPP $CPPFLAGS'
   3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3537 
   3538 depcc="$CC"   am_compiler_list=
   3539 
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3541 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3542 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3543   $as_echo_n "(cached) " >&6
   3544 else
   3545   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3546   # We make a subdir and do the tests there.  Otherwise we can end up
   3547   # making bogus files that we don't know about and never remove.  For
   3548   # instance it was reported that on HP-UX the gcc test will end up
   3549   # making a dummy file named `D' -- because `-MD' means `put the output
   3550   # in D'.
   3551   rm -rf conftest.dir
   3552   mkdir conftest.dir
   3553   # Copy depcomp to subdir because otherwise we won't find it if we're
   3554   # using a relative directory.
   3555   cp "$am_depcomp" conftest.dir
   3556   cd conftest.dir
   3557   # We will build objects and dependencies in a subdirectory because
   3558   # it helps to detect inapplicable dependency modes.  For instance
   3559   # both Tru64's cc and ICC support -MD to output dependencies as a
   3560   # side effect of compilation, but ICC will put the dependencies in
   3561   # the current directory while Tru64 will put them in the object
   3562   # directory.
   3563   mkdir sub
   3564 
   3565   am_cv_CC_dependencies_compiler_type=none
   3566   if test "$am_compiler_list" = ""; then
   3567      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3568   fi
   3569   am__universal=false
   3570   case " $depcc " in #(
   3571      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3572      esac
   3573 
   3574   for depmode in $am_compiler_list; do
   3575     # Setup a source with many dependencies, because some compilers
   3576     # like to wrap large dependency lists on column 80 (with \), and
   3577     # we should not choose a depcomp mode which is confused by this.
   3578     #
   3579     # We need to recreate these files for each test, as the compiler may
   3580     # overwrite some of them when testing with obscure command lines.
   3581     # This happens at least with the AIX C compiler.
   3582     : > sub/conftest.c
   3583     for i in 1 2 3 4 5 6; do
   3584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3585       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3586       # Solaris 8's {/usr,}/bin/sh.
   3587       touch sub/conftst$i.h
   3588     done
   3589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3590 
   3591     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3592     # mode.  It turns out that the SunPro C++ compiler does not properly
   3593     # handle `-M -o', and we need to detect this.  Also, some Intel
   3594     # versions had trouble with output in subdirs
   3595     am__obj=sub/conftest.${OBJEXT-o}
   3596     am__minus_obj="-o $am__obj"
   3597     case $depmode in
   3598     gcc)
   3599       # This depmode causes a compiler race in universal mode.
   3600       test "$am__universal" = false || continue
   3601       ;;
   3602     nosideeffect)
   3603       # after this tag, mechanisms are not by side-effect, so they'll
   3604       # only be used when explicitly requested
   3605       if test "x$enable_dependency_tracking" = xyes; then
   3606 	continue
   3607       else
   3608 	break
   3609       fi
   3610       ;;
   3611     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3612       # This compiler won't grok `-c -o', but also, the minuso test has
   3613       # not run yet.  These depmodes are late enough in the game, and
   3614       # so weak that their functioning should not be impacted.
   3615       am__obj=conftest.${OBJEXT-o}
   3616       am__minus_obj=
   3617       ;;
   3618     none) break ;;
   3619     esac
   3620     if depmode=$depmode \
   3621        source=sub/conftest.c object=$am__obj \
   3622        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3623        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3624          >/dev/null 2>conftest.err &&
   3625        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3626        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3627        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3628        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3629       # icc doesn't choke on unknown options, it will just issue warnings
   3630       # or remarks (even with -Werror).  So we grep stderr for any message
   3631       # that says an option was ignored or not supported.
   3632       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3633       #   icc: Command line warning: ignoring option '-M'; no argument required
   3634       # The diagnosis changed in icc 8.0:
   3635       #   icc: Command line remark: option '-MP' not supported
   3636       if (grep 'ignoring option' conftest.err ||
   3637           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3638         am_cv_CC_dependencies_compiler_type=$depmode
   3639         break
   3640       fi
   3641     fi
   3642   done
   3643 
   3644   cd ..
   3645   rm -rf conftest.dir
   3646 else
   3647   am_cv_CC_dependencies_compiler_type=none
   3648 fi
   3649 
   3650 fi
   3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3652 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3654 
   3655  if
   3656   test "x$enable_dependency_tracking" != xno \
   3657   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3658   am__fastdepCC_TRUE=
   3659   am__fastdepCC_FALSE='#'
   3660 else
   3661   am__fastdepCC_TRUE='#'
   3662   am__fastdepCC_FALSE=
   3663 fi
   3664 
   3665 
   3666 if test "x$CC" != xcc; then
   3667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   3668 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   3669 else
   3670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   3671 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   3672 fi
   3673 set dummy $CC; ac_cc=`$as_echo "$2" |
   3674 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3675 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
   3676   $as_echo_n "(cached) " >&6
   3677 else
   3678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main ()
   3683 {
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689 # Make sure it works both with $CC and with simple cc.
   3690 # We do the test twice because some compilers refuse to overwrite an
   3691 # existing .o file with -o, though they will create one.
   3692 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3693 rm -f conftest2.*
   3694 if { { case "(($ac_try" in
   3695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3696   *) ac_try_echo=$ac_try;;
   3697 esac
   3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3699 $as_echo "$ac_try_echo"; } >&5
   3700   (eval "$ac_try") 2>&5
   3701   ac_status=$?
   3702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3703   test $ac_status = 0; } &&
   3704    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   3705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3706   *) ac_try_echo=$ac_try;;
   3707 esac
   3708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3709 $as_echo "$ac_try_echo"; } >&5
   3710   (eval "$ac_try") 2>&5
   3711   ac_status=$?
   3712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3713   test $ac_status = 0; };
   3714 then
   3715   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   3716   if test "x$CC" != xcc; then
   3717     # Test first that cc exists at all.
   3718     if { ac_try='cc -c conftest.$ac_ext >&5'
   3719   { { case "(($ac_try" in
   3720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3721   *) ac_try_echo=$ac_try;;
   3722 esac
   3723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3724 $as_echo "$ac_try_echo"; } >&5
   3725   (eval "$ac_try") 2>&5
   3726   ac_status=$?
   3727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3728   test $ac_status = 0; }; }; then
   3729       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3730       rm -f conftest2.*
   3731       if { { case "(($ac_try" in
   3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3733   *) ac_try_echo=$ac_try;;
   3734 esac
   3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3736 $as_echo "$ac_try_echo"; } >&5
   3737   (eval "$ac_try") 2>&5
   3738   ac_status=$?
   3739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3740   test $ac_status = 0; } &&
   3741 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   3742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3743   *) ac_try_echo=$ac_try;;
   3744 esac
   3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3746 $as_echo "$ac_try_echo"; } >&5
   3747   (eval "$ac_try") 2>&5
   3748   ac_status=$?
   3749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3750   test $ac_status = 0; };
   3751       then
   3752 	# cc works too.
   3753 	:
   3754       else
   3755 	# cc exists but doesn't like -o.
   3756 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3757       fi
   3758     fi
   3759   fi
   3760 else
   3761   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3762 fi
   3763 rm -f core conftest*
   3764 
   3765 fi
   3766 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   3767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3768 $as_echo "yes" >&6; }
   3769 else
   3770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3771 $as_echo "no" >&6; }
   3772 
   3773 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   3774 
   3775 fi
   3776 
   3777 # FIXME: we rely on the cache variable name because
   3778 # there is no other way.
   3779 set dummy $CC
   3780 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3781 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   3782 if test "$am_t" != yes; then
   3783    # Losing compiler, so override with the script.
   3784    # FIXME: It is wrong to rewrite CC.
   3785    # But if we don't then we get into trouble of one sort or another.
   3786    # A longer-term fix would be to have automake use am__CC in this case,
   3787    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3788    CC="$am_aux_dir/compile $CC"
   3789 fi
   3790 
   3791 
   3792 
   3793 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3794 
   3795 
   3796 
   3797 
   3798 
   3799 
   3800 
   3801 
   3802 
   3803 
   3804 
   3805    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3806 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3807 if ${ac_cv_prog_cc_c99+:} false; then :
   3808   $as_echo_n "(cached) " >&6
   3809 else
   3810   ac_cv_prog_cc_c99=no
   3811 ac_save_CC=$CC
   3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3813 /* end confdefs.h.  */
   3814 #include <stdarg.h>
   3815 #include <stdbool.h>
   3816 #include <stdlib.h>
   3817 #include <wchar.h>
   3818 #include <stdio.h>
   3819 
   3820 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3821 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3822 #define showlist(...) puts (#__VA_ARGS__)
   3823 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3824 static void
   3825 test_varargs_macros (void)
   3826 {
   3827   int x = 1234;
   3828   int y = 5678;
   3829   debug ("Flag");
   3830   debug ("X = %d\n", x);
   3831   showlist (The first, second, and third items.);
   3832   report (x>y, "x is %d but y is %d", x, y);
   3833 }
   3834 
   3835 // Check long long types.
   3836 #define BIG64 18446744073709551615ull
   3837 #define BIG32 4294967295ul
   3838 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3839 #if !BIG_OK
   3840   your preprocessor is broken;
   3841 #endif
   3842 #if BIG_OK
   3843 #else
   3844   your preprocessor is broken;
   3845 #endif
   3846 static long long int bignum = -9223372036854775807LL;
   3847 static unsigned long long int ubignum = BIG64;
   3848 
   3849 struct incomplete_array
   3850 {
   3851   int datasize;
   3852   double data[];
   3853 };
   3854 
   3855 struct named_init {
   3856   int number;
   3857   const wchar_t *name;
   3858   double average;
   3859 };
   3860 
   3861 typedef const char *ccp;
   3862 
   3863 static inline int
   3864 test_restrict (ccp restrict text)
   3865 {
   3866   // See if C++-style comments work.
   3867   // Iterate through items via the restricted pointer.
   3868   // Also check for declarations in for loops.
   3869   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3870     continue;
   3871   return 0;
   3872 }
   3873 
   3874 // Check varargs and va_copy.
   3875 static void
   3876 test_varargs (const char *format, ...)
   3877 {
   3878   va_list args;
   3879   va_start (args, format);
   3880   va_list args_copy;
   3881   va_copy (args_copy, args);
   3882 
   3883   const char *str;
   3884   int number;
   3885   float fnumber;
   3886 
   3887   while (*format)
   3888     {
   3889       switch (*format++)
   3890 	{
   3891 	case 's': // string
   3892 	  str = va_arg (args_copy, const char *);
   3893 	  break;
   3894 	case 'd': // int
   3895 	  number = va_arg (args_copy, int);
   3896 	  break;
   3897 	case 'f': // float
   3898 	  fnumber = va_arg (args_copy, double);
   3899 	  break;
   3900 	default:
   3901 	  break;
   3902 	}
   3903     }
   3904   va_end (args_copy);
   3905   va_end (args);
   3906 }
   3907 
   3908 int
   3909 main ()
   3910 {
   3911 
   3912   // Check bool.
   3913   _Bool success = false;
   3914 
   3915   // Check restrict.
   3916   if (test_restrict ("String literal") == 0)
   3917     success = true;
   3918   char *restrict newvar = "Another string";
   3919 
   3920   // Check varargs.
   3921   test_varargs ("s, d' f .", "string", 65, 34.234);
   3922   test_varargs_macros ();
   3923 
   3924   // Check flexible array members.
   3925   struct incomplete_array *ia =
   3926     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3927   ia->datasize = 10;
   3928   for (int i = 0; i < ia->datasize; ++i)
   3929     ia->data[i] = i * 1.234;
   3930 
   3931   // Check named initializers.
   3932   struct named_init ni = {
   3933     .number = 34,
   3934     .name = L"Test wide string",
   3935     .average = 543.34343,
   3936   };
   3937 
   3938   ni.number = 58;
   3939 
   3940   int dynamic_array[ni.number];
   3941   dynamic_array[ni.number - 1] = 543;
   3942 
   3943   // work around unused variable warnings
   3944   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3945 	  || dynamic_array[ni.number - 1] != 543);
   3946 
   3947   ;
   3948   return 0;
   3949 }
   3950 _ACEOF
   3951 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3952 do
   3953   CC="$ac_save_CC $ac_arg"
   3954   if ac_fn_c_try_compile "$LINENO"; then :
   3955   ac_cv_prog_cc_c99=$ac_arg
   3956 fi
   3957 rm -f core conftest.err conftest.$ac_objext
   3958   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3959 done
   3960 rm -f conftest.$ac_ext
   3961 CC=$ac_save_CC
   3962 
   3963 fi
   3964 # AC_CACHE_VAL
   3965 case "x$ac_cv_prog_cc_c99" in
   3966   x)
   3967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3968 $as_echo "none needed" >&6; } ;;
   3969   xno)
   3970     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3971 $as_echo "unsupported" >&6; } ;;
   3972   *)
   3973     CC="$CC $ac_cv_prog_cc_c99"
   3974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3975 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3976 esac
   3977 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3978 
   3979 fi
   3980 
   3981 
   3982 
   3983 ac_ext=c
   3984 ac_cpp='$CPP $CPPFLAGS'
   3985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3989 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3990 # On Suns, sometimes $CPP names a directory.
   3991 if test -n "$CPP" && test -d "$CPP"; then
   3992   CPP=
   3993 fi
   3994 if test -z "$CPP"; then
   3995   if ${ac_cv_prog_CPP+:} false; then :
   3996   $as_echo_n "(cached) " >&6
   3997 else
   3998       # Double quotes because CPP needs to be expanded
   3999     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4000     do
   4001       ac_preproc_ok=false
   4002 for ac_c_preproc_warn_flag in '' yes
   4003 do
   4004   # Use a header file that comes with gcc, so configuring glibc
   4005   # with a fresh cross-compiler works.
   4006   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4007   # <limits.h> exists even on freestanding compilers.
   4008   # On the NeXT, cc -E runs the code through the compiler's parser,
   4009   # not just through cpp. "Syntax error" is here to catch this case.
   4010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4011 /* end confdefs.h.  */
   4012 #ifdef __STDC__
   4013 # include <limits.h>
   4014 #else
   4015 # include <assert.h>
   4016 #endif
   4017 		     Syntax error
   4018 _ACEOF
   4019 if ac_fn_c_try_cpp "$LINENO"; then :
   4020 
   4021 else
   4022   # Broken: fails on valid input.
   4023 continue
   4024 fi
   4025 rm -f conftest.err conftest.i conftest.$ac_ext
   4026 
   4027   # OK, works on sane cases.  Now check whether nonexistent headers
   4028   # can be detected and how.
   4029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4030 /* end confdefs.h.  */
   4031 #include <ac_nonexistent.h>
   4032 _ACEOF
   4033 if ac_fn_c_try_cpp "$LINENO"; then :
   4034   # Broken: success on invalid input.
   4035 continue
   4036 else
   4037   # Passes both tests.
   4038 ac_preproc_ok=:
   4039 break
   4040 fi
   4041 rm -f conftest.err conftest.i conftest.$ac_ext
   4042 
   4043 done
   4044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4045 rm -f conftest.i conftest.err conftest.$ac_ext
   4046 if $ac_preproc_ok; then :
   4047   break
   4048 fi
   4049 
   4050     done
   4051     ac_cv_prog_CPP=$CPP
   4052 
   4053 fi
   4054   CPP=$ac_cv_prog_CPP
   4055 else
   4056   ac_cv_prog_CPP=$CPP
   4057 fi
   4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4059 $as_echo "$CPP" >&6; }
   4060 ac_preproc_ok=false
   4061 for ac_c_preproc_warn_flag in '' yes
   4062 do
   4063   # Use a header file that comes with gcc, so configuring glibc
   4064   # with a fresh cross-compiler works.
   4065   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4066   # <limits.h> exists even on freestanding compilers.
   4067   # On the NeXT, cc -E runs the code through the compiler's parser,
   4068   # not just through cpp. "Syntax error" is here to catch this case.
   4069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4070 /* end confdefs.h.  */
   4071 #ifdef __STDC__
   4072 # include <limits.h>
   4073 #else
   4074 # include <assert.h>
   4075 #endif
   4076 		     Syntax error
   4077 _ACEOF
   4078 if ac_fn_c_try_cpp "$LINENO"; then :
   4079 
   4080 else
   4081   # Broken: fails on valid input.
   4082 continue
   4083 fi
   4084 rm -f conftest.err conftest.i conftest.$ac_ext
   4085 
   4086   # OK, works on sane cases.  Now check whether nonexistent headers
   4087   # can be detected and how.
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 #include <ac_nonexistent.h>
   4091 _ACEOF
   4092 if ac_fn_c_try_cpp "$LINENO"; then :
   4093   # Broken: success on invalid input.
   4094 continue
   4095 else
   4096   # Passes both tests.
   4097 ac_preproc_ok=:
   4098 break
   4099 fi
   4100 rm -f conftest.err conftest.i conftest.$ac_ext
   4101 
   4102 done
   4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4104 rm -f conftest.i conftest.err conftest.$ac_ext
   4105 if $ac_preproc_ok; then :
   4106 
   4107 else
   4108   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4110 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4111 See \`config.log' for more details" "$LINENO" 5; }
   4112 fi
   4113 
   4114 ac_ext=c
   4115 ac_cpp='$CPP $CPPFLAGS'
   4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4119 
   4120 
   4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4122 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4123 if ${ac_cv_path_GREP+:} false; then :
   4124   $as_echo_n "(cached) " >&6
   4125 else
   4126   if test -z "$GREP"; then
   4127   ac_path_GREP_found=false
   4128   # Loop through the user's path and test for each of PROGNAME-LIST
   4129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4131 do
   4132   IFS=$as_save_IFS
   4133   test -z "$as_dir" && as_dir=.
   4134     for ac_prog in grep ggrep; do
   4135     for ac_exec_ext in '' $ac_executable_extensions; do
   4136       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4137       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4138 # Check for GNU ac_path_GREP and select it if it is found.
   4139   # Check for GNU $ac_path_GREP
   4140 case `"$ac_path_GREP" --version 2>&1` in
   4141 *GNU*)
   4142   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4143 *)
   4144   ac_count=0
   4145   $as_echo_n 0123456789 >"conftest.in"
   4146   while :
   4147   do
   4148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4149     mv "conftest.tmp" "conftest.in"
   4150     cp "conftest.in" "conftest.nl"
   4151     $as_echo 'GREP' >> "conftest.nl"
   4152     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4155     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4156       # Best one so far, save it but keep looking for a better one
   4157       ac_cv_path_GREP="$ac_path_GREP"
   4158       ac_path_GREP_max=$ac_count
   4159     fi
   4160     # 10*(2^10) chars as input seems more than enough
   4161     test $ac_count -gt 10 && break
   4162   done
   4163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4164 esac
   4165 
   4166       $ac_path_GREP_found && break 3
   4167     done
   4168   done
   4169   done
   4170 IFS=$as_save_IFS
   4171   if test -z "$ac_cv_path_GREP"; then
   4172     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4173   fi
   4174 else
   4175   ac_cv_path_GREP=$GREP
   4176 fi
   4177 
   4178 fi
   4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4180 $as_echo "$ac_cv_path_GREP" >&6; }
   4181  GREP="$ac_cv_path_GREP"
   4182 
   4183 
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4185 $as_echo_n "checking for egrep... " >&6; }
   4186 if ${ac_cv_path_EGREP+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4190    then ac_cv_path_EGREP="$GREP -E"
   4191    else
   4192      if test -z "$EGREP"; then
   4193   ac_path_EGREP_found=false
   4194   # Loop through the user's path and test for each of PROGNAME-LIST
   4195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4197 do
   4198   IFS=$as_save_IFS
   4199   test -z "$as_dir" && as_dir=.
   4200     for ac_prog in egrep; do
   4201     for ac_exec_ext in '' $ac_executable_extensions; do
   4202       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4203       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4204 # Check for GNU ac_path_EGREP and select it if it is found.
   4205   # Check for GNU $ac_path_EGREP
   4206 case `"$ac_path_EGREP" --version 2>&1` in
   4207 *GNU*)
   4208   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4209 *)
   4210   ac_count=0
   4211   $as_echo_n 0123456789 >"conftest.in"
   4212   while :
   4213   do
   4214     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4215     mv "conftest.tmp" "conftest.in"
   4216     cp "conftest.in" "conftest.nl"
   4217     $as_echo 'EGREP' >> "conftest.nl"
   4218     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4219     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4220     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4221     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4222       # Best one so far, save it but keep looking for a better one
   4223       ac_cv_path_EGREP="$ac_path_EGREP"
   4224       ac_path_EGREP_max=$ac_count
   4225     fi
   4226     # 10*(2^10) chars as input seems more than enough
   4227     test $ac_count -gt 10 && break
   4228   done
   4229   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4230 esac
   4231 
   4232       $ac_path_EGREP_found && break 3
   4233     done
   4234   done
   4235   done
   4236 IFS=$as_save_IFS
   4237   if test -z "$ac_cv_path_EGREP"; then
   4238     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4239   fi
   4240 else
   4241   ac_cv_path_EGREP=$EGREP
   4242 fi
   4243 
   4244    fi
   4245 fi
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4247 $as_echo "$ac_cv_path_EGREP" >&6; }
   4248  EGREP="$ac_cv_path_EGREP"
   4249 
   4250 
   4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4252 $as_echo_n "checking for ANSI C header files... " >&6; }
   4253 if ${ac_cv_header_stdc+:} false; then :
   4254   $as_echo_n "(cached) " >&6
   4255 else
   4256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4257 /* end confdefs.h.  */
   4258 #include <stdlib.h>
   4259 #include <stdarg.h>
   4260 #include <string.h>
   4261 #include <float.h>
   4262 
   4263 int
   4264 main ()
   4265 {
   4266 
   4267   ;
   4268   return 0;
   4269 }
   4270 _ACEOF
   4271 if ac_fn_c_try_compile "$LINENO"; then :
   4272   ac_cv_header_stdc=yes
   4273 else
   4274   ac_cv_header_stdc=no
   4275 fi
   4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4277 
   4278 if test $ac_cv_header_stdc = yes; then
   4279   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4281 /* end confdefs.h.  */
   4282 #include <string.h>
   4283 
   4284 _ACEOF
   4285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4286   $EGREP "memchr" >/dev/null 2>&1; then :
   4287 
   4288 else
   4289   ac_cv_header_stdc=no
   4290 fi
   4291 rm -f conftest*
   4292 
   4293 fi
   4294 
   4295 if test $ac_cv_header_stdc = yes; then
   4296   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4298 /* end confdefs.h.  */
   4299 #include <stdlib.h>
   4300 
   4301 _ACEOF
   4302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4303   $EGREP "free" >/dev/null 2>&1; then :
   4304 
   4305 else
   4306   ac_cv_header_stdc=no
   4307 fi
   4308 rm -f conftest*
   4309 
   4310 fi
   4311 
   4312 if test $ac_cv_header_stdc = yes; then
   4313   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4314   if test "$cross_compiling" = yes; then :
   4315   :
   4316 else
   4317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 #include <ctype.h>
   4320 #include <stdlib.h>
   4321 #if ((' ' & 0x0FF) == 0x020)
   4322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4324 #else
   4325 # define ISLOWER(c) \
   4326 		   (('a' <= (c) && (c) <= 'i') \
   4327 		     || ('j' <= (c) && (c) <= 'r') \
   4328 		     || ('s' <= (c) && (c) <= 'z'))
   4329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4330 #endif
   4331 
   4332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4333 int
   4334 main ()
   4335 {
   4336   int i;
   4337   for (i = 0; i < 256; i++)
   4338     if (XOR (islower (i), ISLOWER (i))
   4339 	|| toupper (i) != TOUPPER (i))
   4340       return 2;
   4341   return 0;
   4342 }
   4343 _ACEOF
   4344 if ac_fn_c_try_run "$LINENO"; then :
   4345 
   4346 else
   4347   ac_cv_header_stdc=no
   4348 fi
   4349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4350   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4351 fi
   4352 
   4353 fi
   4354 fi
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4356 $as_echo "$ac_cv_header_stdc" >&6; }
   4357 if test $ac_cv_header_stdc = yes; then
   4358 
   4359 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4360 
   4361 fi
   4362 
   4363 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4364 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4365 		  inttypes.h stdint.h unistd.h
   4366 do :
   4367   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4369 "
   4370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4371   cat >>confdefs.h <<_ACEOF
   4372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4373 _ACEOF
   4374 
   4375 fi
   4376 
   4377 done
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4385 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4386   CLANGCC="yes"
   4387 else
   4388   CLANGCC="no"
   4389 fi
   4390 
   4391 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4392 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4393   INTELCC="yes"
   4394 else
   4395   INTELCC="no"
   4396 fi
   4397 
   4398 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4399 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4400   SUNCC="yes"
   4401 else
   4402   SUNCC="no"
   4403 fi
   4404 
   4405 
   4406 
   4407 
   4408 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4409 	if test -n "$ac_tool_prefix"; then
   4410   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4411 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4413 $as_echo_n "checking for $ac_word... " >&6; }
   4414 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4415   $as_echo_n "(cached) " >&6
   4416 else
   4417   case $PKG_CONFIG in
   4418   [\\/]* | ?:[\\/]*)
   4419   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4420   ;;
   4421   *)
   4422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4423 for as_dir in $PATH
   4424 do
   4425   IFS=$as_save_IFS
   4426   test -z "$as_dir" && as_dir=.
   4427     for ac_exec_ext in '' $ac_executable_extensions; do
   4428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4429     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4431     break 2
   4432   fi
   4433 done
   4434   done
   4435 IFS=$as_save_IFS
   4436 
   4437   ;;
   4438 esac
   4439 fi
   4440 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4441 if test -n "$PKG_CONFIG"; then
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4443 $as_echo "$PKG_CONFIG" >&6; }
   4444 else
   4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4446 $as_echo "no" >&6; }
   4447 fi
   4448 
   4449 
   4450 fi
   4451 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4452   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4453   # Extract the first word of "pkg-config", so it can be a program name with args.
   4454 set dummy pkg-config; ac_word=$2
   4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4456 $as_echo_n "checking for $ac_word... " >&6; }
   4457 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4458   $as_echo_n "(cached) " >&6
   4459 else
   4460   case $ac_pt_PKG_CONFIG in
   4461   [\\/]* | ?:[\\/]*)
   4462   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4463   ;;
   4464   *)
   4465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4466 for as_dir in $PATH
   4467 do
   4468   IFS=$as_save_IFS
   4469   test -z "$as_dir" && as_dir=.
   4470     for ac_exec_ext in '' $ac_executable_extensions; do
   4471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4472     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4474     break 2
   4475   fi
   4476 done
   4477   done
   4478 IFS=$as_save_IFS
   4479 
   4480   ;;
   4481 esac
   4482 fi
   4483 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4484 if test -n "$ac_pt_PKG_CONFIG"; then
   4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4486 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4487 else
   4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4489 $as_echo "no" >&6; }
   4490 fi
   4491 
   4492   if test "x$ac_pt_PKG_CONFIG" = x; then
   4493     PKG_CONFIG=""
   4494   else
   4495     case $cross_compiling:$ac_tool_warned in
   4496 yes:)
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4499 ac_tool_warned=yes ;;
   4500 esac
   4501     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4502   fi
   4503 else
   4504   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4505 fi
   4506 
   4507 fi
   4508 if test -n "$PKG_CONFIG"; then
   4509 	_pkg_min_version=0.9.0
   4510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4511 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4512 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4514 $as_echo "yes" >&6; }
   4515 	else
   4516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4517 $as_echo "no" >&6; }
   4518 		PKG_CONFIG=""
   4519 	fi
   4520 
   4521 fi
   4522 # Make sure we can run config.sub.
   4523 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4524   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4525 
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4527 $as_echo_n "checking build system type... " >&6; }
   4528 if ${ac_cv_build+:} false; then :
   4529   $as_echo_n "(cached) " >&6
   4530 else
   4531   ac_build_alias=$build_alias
   4532 test "x$ac_build_alias" = x &&
   4533   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4534 test "x$ac_build_alias" = x &&
   4535   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4536 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4537   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4538 
   4539 fi
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4541 $as_echo "$ac_cv_build" >&6; }
   4542 case $ac_cv_build in
   4543 *-*-*) ;;
   4544 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4545 esac
   4546 build=$ac_cv_build
   4547 ac_save_IFS=$IFS; IFS='-'
   4548 set x $ac_cv_build
   4549 shift
   4550 build_cpu=$1
   4551 build_vendor=$2
   4552 shift; shift
   4553 # Remember, the first character of IFS is used to create $*,
   4554 # except with old shells:
   4555 build_os=$*
   4556 IFS=$ac_save_IFS
   4557 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4558 
   4559 
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4561 $as_echo_n "checking host system type... " >&6; }
   4562 if ${ac_cv_host+:} false; then :
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565   if test "x$host_alias" = x; then
   4566   ac_cv_host=$ac_cv_build
   4567 else
   4568   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4569     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4570 fi
   4571 
   4572 fi
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4574 $as_echo "$ac_cv_host" >&6; }
   4575 case $ac_cv_host in
   4576 *-*-*) ;;
   4577 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4578 esac
   4579 host=$ac_cv_host
   4580 ac_save_IFS=$IFS; IFS='-'
   4581 set x $ac_cv_host
   4582 shift
   4583 host_cpu=$1
   4584 host_vendor=$2
   4585 shift; shift
   4586 # Remember, the first character of IFS is used to create $*,
   4587 # except with old shells:
   4588 host_os=$*
   4589 IFS=$ac_save_IFS
   4590 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4591 
   4592 
   4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4594 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4595 if ${ac_cv_path_SED+:} false; then :
   4596   $as_echo_n "(cached) " >&6
   4597 else
   4598             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4599      for ac_i in 1 2 3 4 5 6 7; do
   4600        ac_script="$ac_script$as_nl$ac_script"
   4601      done
   4602      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4603      { ac_script=; unset ac_script;}
   4604      if test -z "$SED"; then
   4605   ac_path_SED_found=false
   4606   # Loop through the user's path and test for each of PROGNAME-LIST
   4607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4608 for as_dir in $PATH
   4609 do
   4610   IFS=$as_save_IFS
   4611   test -z "$as_dir" && as_dir=.
   4612     for ac_prog in sed gsed; do
   4613     for ac_exec_ext in '' $ac_executable_extensions; do
   4614       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4615       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4616 # Check for GNU ac_path_SED and select it if it is found.
   4617   # Check for GNU $ac_path_SED
   4618 case `"$ac_path_SED" --version 2>&1` in
   4619 *GNU*)
   4620   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4621 *)
   4622   ac_count=0
   4623   $as_echo_n 0123456789 >"conftest.in"
   4624   while :
   4625   do
   4626     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4627     mv "conftest.tmp" "conftest.in"
   4628     cp "conftest.in" "conftest.nl"
   4629     $as_echo '' >> "conftest.nl"
   4630     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4631     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4632     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4633     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4634       # Best one so far, save it but keep looking for a better one
   4635       ac_cv_path_SED="$ac_path_SED"
   4636       ac_path_SED_max=$ac_count
   4637     fi
   4638     # 10*(2^10) chars as input seems more than enough
   4639     test $ac_count -gt 10 && break
   4640   done
   4641   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4642 esac
   4643 
   4644       $ac_path_SED_found && break 3
   4645     done
   4646   done
   4647   done
   4648 IFS=$as_save_IFS
   4649   if test -z "$ac_cv_path_SED"; then
   4650     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4651   fi
   4652 else
   4653   ac_cv_path_SED=$SED
   4654 fi
   4655 
   4656 fi
   4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4658 $as_echo "$ac_cv_path_SED" >&6; }
   4659  SED="$ac_cv_path_SED"
   4660   rm -f conftest.sed
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 # Check whether --enable-selective-werror was given.
   4668 if test "${enable_selective_werror+set}" = set; then :
   4669   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4670 else
   4671   SELECTIVE_WERROR=yes
   4672 fi
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4679 if test "x$SUNCC" = "xyes"; then
   4680     BASE_CFLAGS="-v"
   4681 else
   4682     BASE_CFLAGS=""
   4683 fi
   4684 
   4685 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 xorg_testset_save_CFLAGS="$CFLAGS"
   4700 
   4701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 int i;
   4711 _ACEOF
   4712 if ac_fn_c_try_compile "$LINENO"; then :
   4713   xorg_cv_cc_flag_unknown_warning_option=yes
   4714 else
   4715   xorg_cv_cc_flag_unknown_warning_option=no
   4716 fi
   4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4718 fi
   4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4722 	CFLAGS="$xorg_testset_save_CFLAGS"
   4723 fi
   4724 
   4725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4728 	fi
   4729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4733   $as_echo_n "(cached) " >&6
   4734 else
   4735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4736 /* end confdefs.h.  */
   4737 int i;
   4738 _ACEOF
   4739 if ac_fn_c_try_compile "$LINENO"; then :
   4740   xorg_cv_cc_flag_unused_command_line_argument=yes
   4741 else
   4742   xorg_cv_cc_flag_unused_command_line_argument=no
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4745 fi
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4749 	CFLAGS="$xorg_testset_save_CFLAGS"
   4750 fi
   4751 
   4752 found="no"
   4753 
   4754 	if test $found = "no" ; then
   4755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4757 		fi
   4758 
   4759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4761 		fi
   4762 
   4763 		CFLAGS="$CFLAGS -Wall"
   4764 
   4765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4766 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4767 		cacheid=xorg_cv_cc_flag__Wall
   4768 		if eval \${$cacheid+:} false; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 int i;
   4774 int
   4775 main ()
   4776 {
   4777 
   4778   ;
   4779   return 0;
   4780 }
   4781 _ACEOF
   4782 if ac_fn_c_try_link "$LINENO"; then :
   4783   eval $cacheid=yes
   4784 else
   4785   eval $cacheid=no
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext \
   4788     conftest$ac_exeext conftest.$ac_ext
   4789 fi
   4790 
   4791 
   4792 		CFLAGS="$xorg_testset_save_CFLAGS"
   4793 
   4794 		eval supported=\$$cacheid
   4795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4796 $as_echo "$supported" >&6; }
   4797 		if test "$supported" = "yes" ; then
   4798 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4799 			found="yes"
   4800 		fi
   4801 	fi
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 xorg_testset_save_CFLAGS="$CFLAGS"
   4818 
   4819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4827 /* end confdefs.h.  */
   4828 int i;
   4829 _ACEOF
   4830 if ac_fn_c_try_compile "$LINENO"; then :
   4831   xorg_cv_cc_flag_unknown_warning_option=yes
   4832 else
   4833   xorg_cv_cc_flag_unknown_warning_option=no
   4834 fi
   4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4836 fi
   4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4840 	CFLAGS="$xorg_testset_save_CFLAGS"
   4841 fi
   4842 
   4843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4846 	fi
   4847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4854 /* end confdefs.h.  */
   4855 int i;
   4856 _ACEOF
   4857 if ac_fn_c_try_compile "$LINENO"; then :
   4858   xorg_cv_cc_flag_unused_command_line_argument=yes
   4859 else
   4860   xorg_cv_cc_flag_unused_command_line_argument=no
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4863 fi
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4867 	CFLAGS="$xorg_testset_save_CFLAGS"
   4868 fi
   4869 
   4870 found="no"
   4871 
   4872 	if test $found = "no" ; then
   4873 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4875 		fi
   4876 
   4877 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4879 		fi
   4880 
   4881 		CFLAGS="$CFLAGS -Wpointer-arith"
   4882 
   4883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4884 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4885 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4886 		if eval \${$cacheid+:} false; then :
   4887   $as_echo_n "(cached) " >&6
   4888 else
   4889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 int i;
   4892 int
   4893 main ()
   4894 {
   4895 
   4896   ;
   4897   return 0;
   4898 }
   4899 _ACEOF
   4900 if ac_fn_c_try_link "$LINENO"; then :
   4901   eval $cacheid=yes
   4902 else
   4903   eval $cacheid=no
   4904 fi
   4905 rm -f core conftest.err conftest.$ac_objext \
   4906     conftest$ac_exeext conftest.$ac_ext
   4907 fi
   4908 
   4909 
   4910 		CFLAGS="$xorg_testset_save_CFLAGS"
   4911 
   4912 		eval supported=\$$cacheid
   4913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4914 $as_echo "$supported" >&6; }
   4915 		if test "$supported" = "yes" ; then
   4916 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4917 			found="yes"
   4918 		fi
   4919 	fi
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 xorg_testset_save_CFLAGS="$CFLAGS"
   4936 
   4937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4942   $as_echo_n "(cached) " >&6
   4943 else
   4944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4945 /* end confdefs.h.  */
   4946 int i;
   4947 _ACEOF
   4948 if ac_fn_c_try_compile "$LINENO"; then :
   4949   xorg_cv_cc_flag_unknown_warning_option=yes
   4950 else
   4951   xorg_cv_cc_flag_unknown_warning_option=no
   4952 fi
   4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4954 fi
   4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4958 	CFLAGS="$xorg_testset_save_CFLAGS"
   4959 fi
   4960 
   4961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4964 	fi
   4965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4969   $as_echo_n "(cached) " >&6
   4970 else
   4971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4972 /* end confdefs.h.  */
   4973 int i;
   4974 _ACEOF
   4975 if ac_fn_c_try_compile "$LINENO"; then :
   4976   xorg_cv_cc_flag_unused_command_line_argument=yes
   4977 else
   4978   xorg_cv_cc_flag_unused_command_line_argument=no
   4979 fi
   4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4981 fi
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4985 	CFLAGS="$xorg_testset_save_CFLAGS"
   4986 fi
   4987 
   4988 found="no"
   4989 
   4990 	if test $found = "no" ; then
   4991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4993 		fi
   4994 
   4995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4997 		fi
   4998 
   4999 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5000 
   5001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5002 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5003 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5004 		if eval \${$cacheid+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5008 /* end confdefs.h.  */
   5009 int i;
   5010 int
   5011 main ()
   5012 {
   5013 
   5014   ;
   5015   return 0;
   5016 }
   5017 _ACEOF
   5018 if ac_fn_c_try_link "$LINENO"; then :
   5019   eval $cacheid=yes
   5020 else
   5021   eval $cacheid=no
   5022 fi
   5023 rm -f core conftest.err conftest.$ac_objext \
   5024     conftest$ac_exeext conftest.$ac_ext
   5025 fi
   5026 
   5027 
   5028 		CFLAGS="$xorg_testset_save_CFLAGS"
   5029 
   5030 		eval supported=\$$cacheid
   5031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5032 $as_echo "$supported" >&6; }
   5033 		if test "$supported" = "yes" ; then
   5034 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5035 			found="yes"
   5036 		fi
   5037 	fi
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 xorg_testset_save_CFLAGS="$CFLAGS"
   5054 
   5055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5060   $as_echo_n "(cached) " >&6
   5061 else
   5062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5063 /* end confdefs.h.  */
   5064 int i;
   5065 _ACEOF
   5066 if ac_fn_c_try_compile "$LINENO"; then :
   5067   xorg_cv_cc_flag_unknown_warning_option=yes
   5068 else
   5069   xorg_cv_cc_flag_unknown_warning_option=no
   5070 fi
   5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5072 fi
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5076 	CFLAGS="$xorg_testset_save_CFLAGS"
   5077 fi
   5078 
   5079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5082 	fi
   5083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5087   $as_echo_n "(cached) " >&6
   5088 else
   5089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5090 /* end confdefs.h.  */
   5091 int i;
   5092 _ACEOF
   5093 if ac_fn_c_try_compile "$LINENO"; then :
   5094   xorg_cv_cc_flag_unused_command_line_argument=yes
   5095 else
   5096   xorg_cv_cc_flag_unused_command_line_argument=no
   5097 fi
   5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5099 fi
   5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5103 	CFLAGS="$xorg_testset_save_CFLAGS"
   5104 fi
   5105 
   5106 found="no"
   5107 
   5108 	if test $found = "no" ; then
   5109 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5111 		fi
   5112 
   5113 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5115 		fi
   5116 
   5117 		CFLAGS="$CFLAGS -Wformat=2"
   5118 
   5119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5120 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5121 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5122 		if eval \${$cacheid+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5126 /* end confdefs.h.  */
   5127 int i;
   5128 int
   5129 main ()
   5130 {
   5131 
   5132   ;
   5133   return 0;
   5134 }
   5135 _ACEOF
   5136 if ac_fn_c_try_link "$LINENO"; then :
   5137   eval $cacheid=yes
   5138 else
   5139   eval $cacheid=no
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext \
   5142     conftest$ac_exeext conftest.$ac_ext
   5143 fi
   5144 
   5145 
   5146 		CFLAGS="$xorg_testset_save_CFLAGS"
   5147 
   5148 		eval supported=\$$cacheid
   5149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5150 $as_echo "$supported" >&6; }
   5151 		if test "$supported" = "yes" ; then
   5152 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5153 			found="yes"
   5154 		fi
   5155 	fi
   5156 
   5157 	if test $found = "no" ; then
   5158 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5160 		fi
   5161 
   5162 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5164 		fi
   5165 
   5166 		CFLAGS="$CFLAGS -Wformat"
   5167 
   5168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5169 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5170 		cacheid=xorg_cv_cc_flag__Wformat
   5171 		if eval \${$cacheid+:} false; then :
   5172   $as_echo_n "(cached) " >&6
   5173 else
   5174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5175 /* end confdefs.h.  */
   5176 int i;
   5177 int
   5178 main ()
   5179 {
   5180 
   5181   ;
   5182   return 0;
   5183 }
   5184 _ACEOF
   5185 if ac_fn_c_try_link "$LINENO"; then :
   5186   eval $cacheid=yes
   5187 else
   5188   eval $cacheid=no
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext \
   5191     conftest$ac_exeext conftest.$ac_ext
   5192 fi
   5193 
   5194 
   5195 		CFLAGS="$xorg_testset_save_CFLAGS"
   5196 
   5197 		eval supported=\$$cacheid
   5198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5199 $as_echo "$supported" >&6; }
   5200 		if test "$supported" = "yes" ; then
   5201 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5202 			found="yes"
   5203 		fi
   5204 	fi
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 xorg_testset_save_CFLAGS="$CFLAGS"
   5223 
   5224 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5225 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5227 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5228 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5229   $as_echo_n "(cached) " >&6
   5230 else
   5231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 int i;
   5234 _ACEOF
   5235 if ac_fn_c_try_compile "$LINENO"; then :
   5236   xorg_cv_cc_flag_unknown_warning_option=yes
   5237 else
   5238   xorg_cv_cc_flag_unknown_warning_option=no
   5239 fi
   5240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5241 fi
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5243 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5245 	CFLAGS="$xorg_testset_save_CFLAGS"
   5246 fi
   5247 
   5248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5251 	fi
   5252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5254 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5255 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5256   $as_echo_n "(cached) " >&6
   5257 else
   5258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5259 /* end confdefs.h.  */
   5260 int i;
   5261 _ACEOF
   5262 if ac_fn_c_try_compile "$LINENO"; then :
   5263   xorg_cv_cc_flag_unused_command_line_argument=yes
   5264 else
   5265   xorg_cv_cc_flag_unused_command_line_argument=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5268 fi
   5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5270 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5272 	CFLAGS="$xorg_testset_save_CFLAGS"
   5273 fi
   5274 
   5275 found="no"
   5276 
   5277 	if test $found = "no" ; then
   5278 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5280 		fi
   5281 
   5282 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5284 		fi
   5285 
   5286 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5287 
   5288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5289 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5290 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5291 		if eval \${$cacheid+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 int
   5298 main ()
   5299 {
   5300 
   5301   ;
   5302   return 0;
   5303 }
   5304 _ACEOF
   5305 if ac_fn_c_try_link "$LINENO"; then :
   5306   eval $cacheid=yes
   5307 else
   5308   eval $cacheid=no
   5309 fi
   5310 rm -f core conftest.err conftest.$ac_objext \
   5311     conftest$ac_exeext conftest.$ac_ext
   5312 fi
   5313 
   5314 
   5315 		CFLAGS="$xorg_testset_save_CFLAGS"
   5316 
   5317 		eval supported=\$$cacheid
   5318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5319 $as_echo "$supported" >&6; }
   5320 		if test "$supported" = "yes" ; then
   5321 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5322 			found="yes"
   5323 		fi
   5324 	fi
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 xorg_testset_save_CFLAGS="$CFLAGS"
   5341 
   5342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5345 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5346 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5347   $as_echo_n "(cached) " >&6
   5348 else
   5349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5350 /* end confdefs.h.  */
   5351 int i;
   5352 _ACEOF
   5353 if ac_fn_c_try_compile "$LINENO"; then :
   5354   xorg_cv_cc_flag_unknown_warning_option=yes
   5355 else
   5356   xorg_cv_cc_flag_unknown_warning_option=no
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5359 fi
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5361 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5363 	CFLAGS="$xorg_testset_save_CFLAGS"
   5364 fi
   5365 
   5366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5369 	fi
   5370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5372 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5373 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 _ACEOF
   5380 if ac_fn_c_try_compile "$LINENO"; then :
   5381   xorg_cv_cc_flag_unused_command_line_argument=yes
   5382 else
   5383   xorg_cv_cc_flag_unused_command_line_argument=no
   5384 fi
   5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5386 fi
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5388 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5390 	CFLAGS="$xorg_testset_save_CFLAGS"
   5391 fi
   5392 
   5393 found="no"
   5394 
   5395 	if test $found = "no" ; then
   5396 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5398 		fi
   5399 
   5400 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5402 		fi
   5403 
   5404 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5405 
   5406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5407 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5408 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5409 		if eval \${$cacheid+:} false; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 int
   5416 main ()
   5417 {
   5418 
   5419   ;
   5420   return 0;
   5421 }
   5422 _ACEOF
   5423 if ac_fn_c_try_link "$LINENO"; then :
   5424   eval $cacheid=yes
   5425 else
   5426   eval $cacheid=no
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext \
   5429     conftest$ac_exeext conftest.$ac_ext
   5430 fi
   5431 
   5432 
   5433 		CFLAGS="$xorg_testset_save_CFLAGS"
   5434 
   5435 		eval supported=\$$cacheid
   5436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5437 $as_echo "$supported" >&6; }
   5438 		if test "$supported" = "yes" ; then
   5439 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5440 			found="yes"
   5441 		fi
   5442 	fi
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 xorg_testset_save_CFLAGS="$CFLAGS"
   5459 
   5460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5468 /* end confdefs.h.  */
   5469 int i;
   5470 _ACEOF
   5471 if ac_fn_c_try_compile "$LINENO"; then :
   5472   xorg_cv_cc_flag_unknown_warning_option=yes
   5473 else
   5474   xorg_cv_cc_flag_unknown_warning_option=no
   5475 fi
   5476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5477 fi
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5481 	CFLAGS="$xorg_testset_save_CFLAGS"
   5482 fi
   5483 
   5484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5487 	fi
   5488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 _ACEOF
   5498 if ac_fn_c_try_compile "$LINENO"; then :
   5499   xorg_cv_cc_flag_unused_command_line_argument=yes
   5500 else
   5501   xorg_cv_cc_flag_unused_command_line_argument=no
   5502 fi
   5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5504 fi
   5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 found="no"
   5512 
   5513 	if test $found = "no" ; then
   5514 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 		fi
   5517 
   5518 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 		fi
   5521 
   5522 		CFLAGS="$CFLAGS -Wnested-externs"
   5523 
   5524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5525 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5526 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5527 		if eval \${$cacheid+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 int
   5534 main ()
   5535 {
   5536 
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 if ac_fn_c_try_link "$LINENO"; then :
   5542   eval $cacheid=yes
   5543 else
   5544   eval $cacheid=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext \
   5547     conftest$ac_exeext conftest.$ac_ext
   5548 fi
   5549 
   5550 
   5551 		CFLAGS="$xorg_testset_save_CFLAGS"
   5552 
   5553 		eval supported=\$$cacheid
   5554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5555 $as_echo "$supported" >&6; }
   5556 		if test "$supported" = "yes" ; then
   5557 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5558 			found="yes"
   5559 		fi
   5560 	fi
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 xorg_testset_save_CFLAGS="$CFLAGS"
   5577 
   5578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5583   $as_echo_n "(cached) " >&6
   5584 else
   5585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5586 /* end confdefs.h.  */
   5587 int i;
   5588 _ACEOF
   5589 if ac_fn_c_try_compile "$LINENO"; then :
   5590   xorg_cv_cc_flag_unknown_warning_option=yes
   5591 else
   5592   xorg_cv_cc_flag_unknown_warning_option=no
   5593 fi
   5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5595 fi
   5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5599 	CFLAGS="$xorg_testset_save_CFLAGS"
   5600 fi
   5601 
   5602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5605 	fi
   5606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 _ACEOF
   5616 if ac_fn_c_try_compile "$LINENO"; then :
   5617   xorg_cv_cc_flag_unused_command_line_argument=yes
   5618 else
   5619   xorg_cv_cc_flag_unused_command_line_argument=no
   5620 fi
   5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5622 fi
   5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5626 	CFLAGS="$xorg_testset_save_CFLAGS"
   5627 fi
   5628 
   5629 found="no"
   5630 
   5631 	if test $found = "no" ; then
   5632 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 		fi
   5635 
   5636 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5638 		fi
   5639 
   5640 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5641 
   5642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5643 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5644 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5645 		if eval \${$cacheid+:} false; then :
   5646   $as_echo_n "(cached) " >&6
   5647 else
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 int
   5652 main ()
   5653 {
   5654 
   5655   ;
   5656   return 0;
   5657 }
   5658 _ACEOF
   5659 if ac_fn_c_try_link "$LINENO"; then :
   5660   eval $cacheid=yes
   5661 else
   5662   eval $cacheid=no
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext \
   5665     conftest$ac_exeext conftest.$ac_ext
   5666 fi
   5667 
   5668 
   5669 		CFLAGS="$xorg_testset_save_CFLAGS"
   5670 
   5671 		eval supported=\$$cacheid
   5672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5673 $as_echo "$supported" >&6; }
   5674 		if test "$supported" = "yes" ; then
   5675 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5676 			found="yes"
   5677 		fi
   5678 	fi
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 xorg_testset_save_CFLAGS="$CFLAGS"
   5695 
   5696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5701   $as_echo_n "(cached) " >&6
   5702 else
   5703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5704 /* end confdefs.h.  */
   5705 int i;
   5706 _ACEOF
   5707 if ac_fn_c_try_compile "$LINENO"; then :
   5708   xorg_cv_cc_flag_unknown_warning_option=yes
   5709 else
   5710   xorg_cv_cc_flag_unknown_warning_option=no
   5711 fi
   5712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5713 fi
   5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5717 	CFLAGS="$xorg_testset_save_CFLAGS"
   5718 fi
   5719 
   5720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5723 	fi
   5724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5728   $as_echo_n "(cached) " >&6
   5729 else
   5730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5731 /* end confdefs.h.  */
   5732 int i;
   5733 _ACEOF
   5734 if ac_fn_c_try_compile "$LINENO"; then :
   5735   xorg_cv_cc_flag_unused_command_line_argument=yes
   5736 else
   5737   xorg_cv_cc_flag_unused_command_line_argument=no
   5738 fi
   5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5740 fi
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5744 	CFLAGS="$xorg_testset_save_CFLAGS"
   5745 fi
   5746 
   5747 found="no"
   5748 
   5749 	if test $found = "no" ; then
   5750 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5752 		fi
   5753 
   5754 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5756 		fi
   5757 
   5758 		CFLAGS="$CFLAGS -Wold-style-definition"
   5759 
   5760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5761 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5762 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5763 		if eval \${$cacheid+:} false; then :
   5764   $as_echo_n "(cached) " >&6
   5765 else
   5766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 int
   5770 main ()
   5771 {
   5772 
   5773   ;
   5774   return 0;
   5775 }
   5776 _ACEOF
   5777 if ac_fn_c_try_link "$LINENO"; then :
   5778   eval $cacheid=yes
   5779 else
   5780   eval $cacheid=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext \
   5783     conftest$ac_exeext conftest.$ac_ext
   5784 fi
   5785 
   5786 
   5787 		CFLAGS="$xorg_testset_save_CFLAGS"
   5788 
   5789 		eval supported=\$$cacheid
   5790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5791 $as_echo "$supported" >&6; }
   5792 		if test "$supported" = "yes" ; then
   5793 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5794 			found="yes"
   5795 		fi
   5796 	fi
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 xorg_testset_save_CFLAGS="$CFLAGS"
   5813 
   5814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5819   $as_echo_n "(cached) " >&6
   5820 else
   5821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5822 /* end confdefs.h.  */
   5823 int i;
   5824 _ACEOF
   5825 if ac_fn_c_try_compile "$LINENO"; then :
   5826   xorg_cv_cc_flag_unknown_warning_option=yes
   5827 else
   5828   xorg_cv_cc_flag_unknown_warning_option=no
   5829 fi
   5830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5831 fi
   5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5835 	CFLAGS="$xorg_testset_save_CFLAGS"
   5836 fi
   5837 
   5838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5841 	fi
   5842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5846   $as_echo_n "(cached) " >&6
   5847 else
   5848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 int i;
   5851 _ACEOF
   5852 if ac_fn_c_try_compile "$LINENO"; then :
   5853   xorg_cv_cc_flag_unused_command_line_argument=yes
   5854 else
   5855   xorg_cv_cc_flag_unused_command_line_argument=no
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5858 fi
   5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5862 	CFLAGS="$xorg_testset_save_CFLAGS"
   5863 fi
   5864 
   5865 found="no"
   5866 
   5867 	if test $found = "no" ; then
   5868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 		fi
   5871 
   5872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5874 		fi
   5875 
   5876 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5877 
   5878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5879 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5880 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5881 		if eval \${$cacheid+:} false; then :
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 int i;
   5887 int
   5888 main ()
   5889 {
   5890 
   5891   ;
   5892   return 0;
   5893 }
   5894 _ACEOF
   5895 if ac_fn_c_try_link "$LINENO"; then :
   5896   eval $cacheid=yes
   5897 else
   5898   eval $cacheid=no
   5899 fi
   5900 rm -f core conftest.err conftest.$ac_objext \
   5901     conftest$ac_exeext conftest.$ac_ext
   5902 fi
   5903 
   5904 
   5905 		CFLAGS="$xorg_testset_save_CFLAGS"
   5906 
   5907 		eval supported=\$$cacheid
   5908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5909 $as_echo "$supported" >&6; }
   5910 		if test "$supported" = "yes" ; then
   5911 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5912 			found="yes"
   5913 		fi
   5914 	fi
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 # This chunk adds additional warnings that could catch undesired effects.
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 xorg_testset_save_CFLAGS="$CFLAGS"
   5935 
   5936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5941   $as_echo_n "(cached) " >&6
   5942 else
   5943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5944 /* end confdefs.h.  */
   5945 int i;
   5946 _ACEOF
   5947 if ac_fn_c_try_compile "$LINENO"; then :
   5948   xorg_cv_cc_flag_unknown_warning_option=yes
   5949 else
   5950   xorg_cv_cc_flag_unknown_warning_option=no
   5951 fi
   5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5953 fi
   5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5957 	CFLAGS="$xorg_testset_save_CFLAGS"
   5958 fi
   5959 
   5960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5963 	fi
   5964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5968   $as_echo_n "(cached) " >&6
   5969 else
   5970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5971 /* end confdefs.h.  */
   5972 int i;
   5973 _ACEOF
   5974 if ac_fn_c_try_compile "$LINENO"; then :
   5975   xorg_cv_cc_flag_unused_command_line_argument=yes
   5976 else
   5977   xorg_cv_cc_flag_unused_command_line_argument=no
   5978 fi
   5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5980 fi
   5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5984 	CFLAGS="$xorg_testset_save_CFLAGS"
   5985 fi
   5986 
   5987 found="no"
   5988 
   5989 	if test $found = "no" ; then
   5990 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5992 		fi
   5993 
   5994 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5996 		fi
   5997 
   5998 		CFLAGS="$CFLAGS -Wunused"
   5999 
   6000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6001 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6002 		cacheid=xorg_cv_cc_flag__Wunused
   6003 		if eval \${$cacheid+:} false; then :
   6004   $as_echo_n "(cached) " >&6
   6005 else
   6006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6007 /* end confdefs.h.  */
   6008 int i;
   6009 int
   6010 main ()
   6011 {
   6012 
   6013   ;
   6014   return 0;
   6015 }
   6016 _ACEOF
   6017 if ac_fn_c_try_link "$LINENO"; then :
   6018   eval $cacheid=yes
   6019 else
   6020   eval $cacheid=no
   6021 fi
   6022 rm -f core conftest.err conftest.$ac_objext \
   6023     conftest$ac_exeext conftest.$ac_ext
   6024 fi
   6025 
   6026 
   6027 		CFLAGS="$xorg_testset_save_CFLAGS"
   6028 
   6029 		eval supported=\$$cacheid
   6030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6031 $as_echo "$supported" >&6; }
   6032 		if test "$supported" = "yes" ; then
   6033 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6034 			found="yes"
   6035 		fi
   6036 	fi
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 xorg_testset_save_CFLAGS="$CFLAGS"
   6053 
   6054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6062 /* end confdefs.h.  */
   6063 int i;
   6064 _ACEOF
   6065 if ac_fn_c_try_compile "$LINENO"; then :
   6066   xorg_cv_cc_flag_unknown_warning_option=yes
   6067 else
   6068   xorg_cv_cc_flag_unknown_warning_option=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6071 fi
   6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6075 	CFLAGS="$xorg_testset_save_CFLAGS"
   6076 fi
   6077 
   6078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6081 	fi
   6082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6086   $as_echo_n "(cached) " >&6
   6087 else
   6088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6089 /* end confdefs.h.  */
   6090 int i;
   6091 _ACEOF
   6092 if ac_fn_c_try_compile "$LINENO"; then :
   6093   xorg_cv_cc_flag_unused_command_line_argument=yes
   6094 else
   6095   xorg_cv_cc_flag_unused_command_line_argument=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6098 fi
   6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 found="no"
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -Wuninitialized"
   6117 
   6118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6119 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6121 		if eval \${$cacheid+:} false; then :
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 int
   6128 main ()
   6129 {
   6130 
   6131   ;
   6132   return 0;
   6133 }
   6134 _ACEOF
   6135 if ac_fn_c_try_link "$LINENO"; then :
   6136   eval $cacheid=yes
   6137 else
   6138   eval $cacheid=no
   6139 fi
   6140 rm -f core conftest.err conftest.$ac_objext \
   6141     conftest$ac_exeext conftest.$ac_ext
   6142 fi
   6143 
   6144 
   6145 		CFLAGS="$xorg_testset_save_CFLAGS"
   6146 
   6147 		eval supported=\$$cacheid
   6148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6149 $as_echo "$supported" >&6; }
   6150 		if test "$supported" = "yes" ; then
   6151 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6152 			found="yes"
   6153 		fi
   6154 	fi
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 xorg_testset_save_CFLAGS="$CFLAGS"
   6171 
   6172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"; then :
   6184   xorg_cv_cc_flag_unknown_warning_option=yes
   6185 else
   6186   xorg_cv_cc_flag_unknown_warning_option=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6193 	CFLAGS="$xorg_testset_save_CFLAGS"
   6194 fi
   6195 
   6196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	fi
   6200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6204   $as_echo_n "(cached) " >&6
   6205 else
   6206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6207 /* end confdefs.h.  */
   6208 int i;
   6209 _ACEOF
   6210 if ac_fn_c_try_compile "$LINENO"; then :
   6211   xorg_cv_cc_flag_unused_command_line_argument=yes
   6212 else
   6213   xorg_cv_cc_flag_unused_command_line_argument=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 found="no"
   6224 
   6225 	if test $found = "no" ; then
   6226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6228 		fi
   6229 
   6230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 		fi
   6233 
   6234 		CFLAGS="$CFLAGS -Wshadow"
   6235 
   6236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6237 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6238 		cacheid=xorg_cv_cc_flag__Wshadow
   6239 		if eval \${$cacheid+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 int
   6246 main ()
   6247 {
   6248 
   6249   ;
   6250   return 0;
   6251 }
   6252 _ACEOF
   6253 if ac_fn_c_try_link "$LINENO"; then :
   6254   eval $cacheid=yes
   6255 else
   6256   eval $cacheid=no
   6257 fi
   6258 rm -f core conftest.err conftest.$ac_objext \
   6259     conftest$ac_exeext conftest.$ac_ext
   6260 fi
   6261 
   6262 
   6263 		CFLAGS="$xorg_testset_save_CFLAGS"
   6264 
   6265 		eval supported=\$$cacheid
   6266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6267 $as_echo "$supported" >&6; }
   6268 		if test "$supported" = "yes" ; then
   6269 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6270 			found="yes"
   6271 		fi
   6272 	fi
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 xorg_testset_save_CFLAGS="$CFLAGS"
   6289 
   6290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 _ACEOF
   6301 if ac_fn_c_try_compile "$LINENO"; then :
   6302   xorg_cv_cc_flag_unknown_warning_option=yes
   6303 else
   6304   xorg_cv_cc_flag_unknown_warning_option=no
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6307 fi
   6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	fi
   6318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6325 /* end confdefs.h.  */
   6326 int i;
   6327 _ACEOF
   6328 if ac_fn_c_try_compile "$LINENO"; then :
   6329   xorg_cv_cc_flag_unused_command_line_argument=yes
   6330 else
   6331   xorg_cv_cc_flag_unused_command_line_argument=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6334 fi
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6338 	CFLAGS="$xorg_testset_save_CFLAGS"
   6339 fi
   6340 
   6341 found="no"
   6342 
   6343 	if test $found = "no" ; then
   6344 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 		fi
   6347 
   6348 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6350 		fi
   6351 
   6352 		CFLAGS="$CFLAGS -Wcast-qual"
   6353 
   6354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6355 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6356 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6357 		if eval \${$cacheid+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 int
   6364 main ()
   6365 {
   6366 
   6367   ;
   6368   return 0;
   6369 }
   6370 _ACEOF
   6371 if ac_fn_c_try_link "$LINENO"; then :
   6372   eval $cacheid=yes
   6373 else
   6374   eval $cacheid=no
   6375 fi
   6376 rm -f core conftest.err conftest.$ac_objext \
   6377     conftest$ac_exeext conftest.$ac_ext
   6378 fi
   6379 
   6380 
   6381 		CFLAGS="$xorg_testset_save_CFLAGS"
   6382 
   6383 		eval supported=\$$cacheid
   6384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6385 $as_echo "$supported" >&6; }
   6386 		if test "$supported" = "yes" ; then
   6387 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6388 			found="yes"
   6389 		fi
   6390 	fi
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 xorg_testset_save_CFLAGS="$CFLAGS"
   6407 
   6408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6413   $as_echo_n "(cached) " >&6
   6414 else
   6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6416 /* end confdefs.h.  */
   6417 int i;
   6418 _ACEOF
   6419 if ac_fn_c_try_compile "$LINENO"; then :
   6420   xorg_cv_cc_flag_unknown_warning_option=yes
   6421 else
   6422   xorg_cv_cc_flag_unknown_warning_option=no
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6425 fi
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6429 	CFLAGS="$xorg_testset_save_CFLAGS"
   6430 fi
   6431 
   6432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 	fi
   6436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6443 /* end confdefs.h.  */
   6444 int i;
   6445 _ACEOF
   6446 if ac_fn_c_try_compile "$LINENO"; then :
   6447   xorg_cv_cc_flag_unused_command_line_argument=yes
   6448 else
   6449   xorg_cv_cc_flag_unused_command_line_argument=no
   6450 fi
   6451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6452 fi
   6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6456 	CFLAGS="$xorg_testset_save_CFLAGS"
   6457 fi
   6458 
   6459 found="no"
   6460 
   6461 	if test $found = "no" ; then
   6462 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6464 		fi
   6465 
   6466 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6468 		fi
   6469 
   6470 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6471 
   6472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6473 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6474 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6475 		if eval \${$cacheid+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 int
   6482 main ()
   6483 {
   6484 
   6485   ;
   6486   return 0;
   6487 }
   6488 _ACEOF
   6489 if ac_fn_c_try_link "$LINENO"; then :
   6490   eval $cacheid=yes
   6491 else
   6492   eval $cacheid=no
   6493 fi
   6494 rm -f core conftest.err conftest.$ac_objext \
   6495     conftest$ac_exeext conftest.$ac_ext
   6496 fi
   6497 
   6498 
   6499 		CFLAGS="$xorg_testset_save_CFLAGS"
   6500 
   6501 		eval supported=\$$cacheid
   6502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6503 $as_echo "$supported" >&6; }
   6504 		if test "$supported" = "yes" ; then
   6505 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6506 			found="yes"
   6507 		fi
   6508 	fi
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 xorg_testset_save_CFLAGS="$CFLAGS"
   6525 
   6526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 int i;
   6536 _ACEOF
   6537 if ac_fn_c_try_compile "$LINENO"; then :
   6538   xorg_cv_cc_flag_unknown_warning_option=yes
   6539 else
   6540   xorg_cv_cc_flag_unknown_warning_option=no
   6541 fi
   6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6543 fi
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6547 	CFLAGS="$xorg_testset_save_CFLAGS"
   6548 fi
   6549 
   6550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	fi
   6554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6558   $as_echo_n "(cached) " >&6
   6559 else
   6560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6561 /* end confdefs.h.  */
   6562 int i;
   6563 _ACEOF
   6564 if ac_fn_c_try_compile "$LINENO"; then :
   6565   xorg_cv_cc_flag_unused_command_line_argument=yes
   6566 else
   6567   xorg_cv_cc_flag_unused_command_line_argument=no
   6568 fi
   6569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6570 fi
   6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6574 	CFLAGS="$xorg_testset_save_CFLAGS"
   6575 fi
   6576 
   6577 found="no"
   6578 
   6579 	if test $found = "no" ; then
   6580 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6582 		fi
   6583 
   6584 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6586 		fi
   6587 
   6588 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6589 
   6590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6591 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6592 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6593 		if eval \${$cacheid+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   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   eval $cacheid=yes
   6609 else
   6610   eval $cacheid=no
   6611 fi
   6612 rm -f core conftest.err conftest.$ac_objext \
   6613     conftest$ac_exeext conftest.$ac_ext
   6614 fi
   6615 
   6616 
   6617 		CFLAGS="$xorg_testset_save_CFLAGS"
   6618 
   6619 		eval supported=\$$cacheid
   6620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6621 $as_echo "$supported" >&6; }
   6622 		if test "$supported" = "yes" ; then
   6623 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6624 			found="yes"
   6625 		fi
   6626 	fi
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 xorg_testset_save_CFLAGS="$CFLAGS"
   6643 
   6644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"; then :
   6656   xorg_cv_cc_flag_unknown_warning_option=yes
   6657 else
   6658   xorg_cv_cc_flag_unknown_warning_option=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6661 fi
   6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6665 	CFLAGS="$xorg_testset_save_CFLAGS"
   6666 fi
   6667 
   6668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 	fi
   6672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6676   $as_echo_n "(cached) " >&6
   6677 else
   6678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6679 /* end confdefs.h.  */
   6680 int i;
   6681 _ACEOF
   6682 if ac_fn_c_try_compile "$LINENO"; then :
   6683   xorg_cv_cc_flag_unused_command_line_argument=yes
   6684 else
   6685   xorg_cv_cc_flag_unused_command_line_argument=no
   6686 fi
   6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6688 fi
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6692 	CFLAGS="$xorg_testset_save_CFLAGS"
   6693 fi
   6694 
   6695 found="no"
   6696 
   6697 	if test $found = "no" ; then
   6698 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6700 		fi
   6701 
   6702 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6704 		fi
   6705 
   6706 		CFLAGS="$CFLAGS -Wredundant-decls"
   6707 
   6708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6709 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6710 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6711 		if eval \${$cacheid+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 int
   6718 main ()
   6719 {
   6720 
   6721   ;
   6722   return 0;
   6723 }
   6724 _ACEOF
   6725 if ac_fn_c_try_link "$LINENO"; then :
   6726   eval $cacheid=yes
   6727 else
   6728   eval $cacheid=no
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext \
   6731     conftest$ac_exeext conftest.$ac_ext
   6732 fi
   6733 
   6734 
   6735 		CFLAGS="$xorg_testset_save_CFLAGS"
   6736 
   6737 		eval supported=\$$cacheid
   6738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6739 $as_echo "$supported" >&6; }
   6740 		if test "$supported" = "yes" ; then
   6741 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6742 			found="yes"
   6743 		fi
   6744 	fi
   6745 
   6746 
   6747 
   6748 # These are currently disabled because they are noisy.  They will be enabled
   6749 # in the future once the codebase is sufficiently modernized to silence
   6750 # them.  For now, I don't want them to drown out the other warnings.
   6751 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6752 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6753 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6754 
   6755 # Turn some warnings into errors, so we don't accidently get successful builds
   6756 # when there are problems that should be fixed.
   6757 
   6758 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 xorg_testset_save_CFLAGS="$CFLAGS"
   6773 
   6774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 _ACEOF
   6785 if ac_fn_c_try_compile "$LINENO"; then :
   6786   xorg_cv_cc_flag_unknown_warning_option=yes
   6787 else
   6788   xorg_cv_cc_flag_unknown_warning_option=no
   6789 fi
   6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6791 fi
   6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6795 	CFLAGS="$xorg_testset_save_CFLAGS"
   6796 fi
   6797 
   6798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 	fi
   6802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6809 /* end confdefs.h.  */
   6810 int i;
   6811 _ACEOF
   6812 if ac_fn_c_try_compile "$LINENO"; then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else
   6815   xorg_cv_cc_flag_unused_command_line_argument=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6818 fi
   6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 found="no"
   6826 
   6827 	if test $found = "no" ; then
   6828 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 		fi
   6831 
   6832 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 		fi
   6835 
   6836 		CFLAGS="$CFLAGS -Werror=implicit"
   6837 
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6839 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6840 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6841 		if eval \${$cacheid+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 int
   6848 main ()
   6849 {
   6850 
   6851   ;
   6852   return 0;
   6853 }
   6854 _ACEOF
   6855 if ac_fn_c_try_link "$LINENO"; then :
   6856   eval $cacheid=yes
   6857 else
   6858   eval $cacheid=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext \
   6861     conftest$ac_exeext conftest.$ac_ext
   6862 fi
   6863 
   6864 
   6865 		CFLAGS="$xorg_testset_save_CFLAGS"
   6866 
   6867 		eval supported=\$$cacheid
   6868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6869 $as_echo "$supported" >&6; }
   6870 		if test "$supported" = "yes" ; then
   6871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6872 			found="yes"
   6873 		fi
   6874 	fi
   6875 
   6876 	if test $found = "no" ; then
   6877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6879 		fi
   6880 
   6881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6883 		fi
   6884 
   6885 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6886 
   6887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6888 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6889 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6890 		if eval \${$cacheid+:} false; then :
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 int
   6897 main ()
   6898 {
   6899 
   6900   ;
   6901   return 0;
   6902 }
   6903 _ACEOF
   6904 if ac_fn_c_try_link "$LINENO"; then :
   6905   eval $cacheid=yes
   6906 else
   6907   eval $cacheid=no
   6908 fi
   6909 rm -f core conftest.err conftest.$ac_objext \
   6910     conftest$ac_exeext conftest.$ac_ext
   6911 fi
   6912 
   6913 
   6914 		CFLAGS="$xorg_testset_save_CFLAGS"
   6915 
   6916 		eval supported=\$$cacheid
   6917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6918 $as_echo "$supported" >&6; }
   6919 		if test "$supported" = "yes" ; then
   6920 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6921 			found="yes"
   6922 		fi
   6923 	fi
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 xorg_testset_save_CFLAGS="$CFLAGS"
   6940 
   6941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"; then :
   6953   xorg_cv_cc_flag_unknown_warning_option=yes
   6954 else
   6955   xorg_cv_cc_flag_unknown_warning_option=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6958 fi
   6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6962 	CFLAGS="$xorg_testset_save_CFLAGS"
   6963 fi
   6964 
   6965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	fi
   6969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6973   $as_echo_n "(cached) " >&6
   6974 else
   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_cv_cc_flag_unused_command_line_argument=yes
   6981 else
   6982   xorg_cv_cc_flag_unused_command_line_argument=no
   6983 fi
   6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6985 fi
   6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6989 	CFLAGS="$xorg_testset_save_CFLAGS"
   6990 fi
   6991 
   6992 found="no"
   6993 
   6994 	if test $found = "no" ; then
   6995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6997 		fi
   6998 
   6999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7001 		fi
   7002 
   7003 		CFLAGS="$CFLAGS -Werror=nonnull"
   7004 
   7005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7006 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7007 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7008 		if eval \${$cacheid+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 int
   7015 main ()
   7016 {
   7017 
   7018   ;
   7019   return 0;
   7020 }
   7021 _ACEOF
   7022 if ac_fn_c_try_link "$LINENO"; then :
   7023   eval $cacheid=yes
   7024 else
   7025   eval $cacheid=no
   7026 fi
   7027 rm -f core conftest.err conftest.$ac_objext \
   7028     conftest$ac_exeext conftest.$ac_ext
   7029 fi
   7030 
   7031 
   7032 		CFLAGS="$xorg_testset_save_CFLAGS"
   7033 
   7034 		eval supported=\$$cacheid
   7035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7036 $as_echo "$supported" >&6; }
   7037 		if test "$supported" = "yes" ; then
   7038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7039 			found="yes"
   7040 		fi
   7041 	fi
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 xorg_testset_save_CFLAGS="$CFLAGS"
   7058 
   7059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 _ACEOF
   7070 if ac_fn_c_try_compile "$LINENO"; then :
   7071   xorg_cv_cc_flag_unknown_warning_option=yes
   7072 else
   7073   xorg_cv_cc_flag_unknown_warning_option=no
   7074 fi
   7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7076 fi
   7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7080 	CFLAGS="$xorg_testset_save_CFLAGS"
   7081 fi
   7082 
   7083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7086 	fi
   7087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7091   $as_echo_n "(cached) " >&6
   7092 else
   7093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 _ACEOF
   7097 if ac_fn_c_try_compile "$LINENO"; then :
   7098   xorg_cv_cc_flag_unused_command_line_argument=yes
   7099 else
   7100   xorg_cv_cc_flag_unused_command_line_argument=no
   7101 fi
   7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7103 fi
   7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7107 	CFLAGS="$xorg_testset_save_CFLAGS"
   7108 fi
   7109 
   7110 found="no"
   7111 
   7112 	if test $found = "no" ; then
   7113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7115 		fi
   7116 
   7117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7119 		fi
   7120 
   7121 		CFLAGS="$CFLAGS -Werror=init-self"
   7122 
   7123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7124 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7125 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7126 		if eval \${$cacheid+:} false; then :
   7127   $as_echo_n "(cached) " >&6
   7128 else
   7129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130 /* end confdefs.h.  */
   7131 int i;
   7132 int
   7133 main ()
   7134 {
   7135 
   7136   ;
   7137   return 0;
   7138 }
   7139 _ACEOF
   7140 if ac_fn_c_try_link "$LINENO"; then :
   7141   eval $cacheid=yes
   7142 else
   7143   eval $cacheid=no
   7144 fi
   7145 rm -f core conftest.err conftest.$ac_objext \
   7146     conftest$ac_exeext conftest.$ac_ext
   7147 fi
   7148 
   7149 
   7150 		CFLAGS="$xorg_testset_save_CFLAGS"
   7151 
   7152 		eval supported=\$$cacheid
   7153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7154 $as_echo "$supported" >&6; }
   7155 		if test "$supported" = "yes" ; then
   7156 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7157 			found="yes"
   7158 		fi
   7159 	fi
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 xorg_testset_save_CFLAGS="$CFLAGS"
   7176 
   7177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"; then :
   7189   xorg_cv_cc_flag_unknown_warning_option=yes
   7190 else
   7191   xorg_cv_cc_flag_unknown_warning_option=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7194 fi
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7198 	CFLAGS="$xorg_testset_save_CFLAGS"
   7199 fi
   7200 
   7201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7204 	fi
   7205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7212 /* end confdefs.h.  */
   7213 int i;
   7214 _ACEOF
   7215 if ac_fn_c_try_compile "$LINENO"; then :
   7216   xorg_cv_cc_flag_unused_command_line_argument=yes
   7217 else
   7218   xorg_cv_cc_flag_unused_command_line_argument=no
   7219 fi
   7220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7221 fi
   7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7225 	CFLAGS="$xorg_testset_save_CFLAGS"
   7226 fi
   7227 
   7228 found="no"
   7229 
   7230 	if test $found = "no" ; then
   7231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7233 		fi
   7234 
   7235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7237 		fi
   7238 
   7239 		CFLAGS="$CFLAGS -Werror=main"
   7240 
   7241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7242 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7243 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7244 		if eval \${$cacheid+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 int
   7251 main ()
   7252 {
   7253 
   7254   ;
   7255   return 0;
   7256 }
   7257 _ACEOF
   7258 if ac_fn_c_try_link "$LINENO"; then :
   7259   eval $cacheid=yes
   7260 else
   7261   eval $cacheid=no
   7262 fi
   7263 rm -f core conftest.err conftest.$ac_objext \
   7264     conftest$ac_exeext conftest.$ac_ext
   7265 fi
   7266 
   7267 
   7268 		CFLAGS="$xorg_testset_save_CFLAGS"
   7269 
   7270 		eval supported=\$$cacheid
   7271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7272 $as_echo "$supported" >&6; }
   7273 		if test "$supported" = "yes" ; then
   7274 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7275 			found="yes"
   7276 		fi
   7277 	fi
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 xorg_testset_save_CFLAGS="$CFLAGS"
   7294 
   7295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 _ACEOF
   7306 if ac_fn_c_try_compile "$LINENO"; then :
   7307   xorg_cv_cc_flag_unknown_warning_option=yes
   7308 else
   7309   xorg_cv_cc_flag_unknown_warning_option=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7312 fi
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7316 	CFLAGS="$xorg_testset_save_CFLAGS"
   7317 fi
   7318 
   7319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7322 	fi
   7323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7327   $as_echo_n "(cached) " >&6
   7328 else
   7329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7330 /* end confdefs.h.  */
   7331 int i;
   7332 _ACEOF
   7333 if ac_fn_c_try_compile "$LINENO"; then :
   7334   xorg_cv_cc_flag_unused_command_line_argument=yes
   7335 else
   7336   xorg_cv_cc_flag_unused_command_line_argument=no
   7337 fi
   7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7339 fi
   7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7343 	CFLAGS="$xorg_testset_save_CFLAGS"
   7344 fi
   7345 
   7346 found="no"
   7347 
   7348 	if test $found = "no" ; then
   7349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7351 		fi
   7352 
   7353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7355 		fi
   7356 
   7357 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7358 
   7359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7360 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7361 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7362 		if eval \${$cacheid+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 int
   7369 main ()
   7370 {
   7371 
   7372   ;
   7373   return 0;
   7374 }
   7375 _ACEOF
   7376 if ac_fn_c_try_link "$LINENO"; then :
   7377   eval $cacheid=yes
   7378 else
   7379   eval $cacheid=no
   7380 fi
   7381 rm -f core conftest.err conftest.$ac_objext \
   7382     conftest$ac_exeext conftest.$ac_ext
   7383 fi
   7384 
   7385 
   7386 		CFLAGS="$xorg_testset_save_CFLAGS"
   7387 
   7388 		eval supported=\$$cacheid
   7389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7390 $as_echo "$supported" >&6; }
   7391 		if test "$supported" = "yes" ; then
   7392 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7393 			found="yes"
   7394 		fi
   7395 	fi
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 xorg_testset_save_CFLAGS="$CFLAGS"
   7412 
   7413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 int i;
   7423 _ACEOF
   7424 if ac_fn_c_try_compile "$LINENO"; then :
   7425   xorg_cv_cc_flag_unknown_warning_option=yes
   7426 else
   7427   xorg_cv_cc_flag_unknown_warning_option=no
   7428 fi
   7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7430 fi
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7434 	CFLAGS="$xorg_testset_save_CFLAGS"
   7435 fi
   7436 
   7437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	fi
   7441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7445   $as_echo_n "(cached) " >&6
   7446 else
   7447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7448 /* end confdefs.h.  */
   7449 int i;
   7450 _ACEOF
   7451 if ac_fn_c_try_compile "$LINENO"; then :
   7452   xorg_cv_cc_flag_unused_command_line_argument=yes
   7453 else
   7454   xorg_cv_cc_flag_unused_command_line_argument=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7457 fi
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7461 	CFLAGS="$xorg_testset_save_CFLAGS"
   7462 fi
   7463 
   7464 found="no"
   7465 
   7466 	if test $found = "no" ; then
   7467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7469 		fi
   7470 
   7471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7473 		fi
   7474 
   7475 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7476 
   7477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7478 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7479 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7480 		if eval \${$cacheid+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 int
   7487 main ()
   7488 {
   7489 
   7490   ;
   7491   return 0;
   7492 }
   7493 _ACEOF
   7494 if ac_fn_c_try_link "$LINENO"; then :
   7495   eval $cacheid=yes
   7496 else
   7497   eval $cacheid=no
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext \
   7500     conftest$ac_exeext conftest.$ac_ext
   7501 fi
   7502 
   7503 
   7504 		CFLAGS="$xorg_testset_save_CFLAGS"
   7505 
   7506 		eval supported=\$$cacheid
   7507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7508 $as_echo "$supported" >&6; }
   7509 		if test "$supported" = "yes" ; then
   7510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7511 			found="yes"
   7512 		fi
   7513 	fi
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 xorg_testset_save_CFLAGS="$CFLAGS"
   7530 
   7531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7536   $as_echo_n "(cached) " >&6
   7537 else
   7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7539 /* end confdefs.h.  */
   7540 int i;
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   xorg_cv_cc_flag_unknown_warning_option=yes
   7544 else
   7545   xorg_cv_cc_flag_unknown_warning_option=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7552 	CFLAGS="$xorg_testset_save_CFLAGS"
   7553 fi
   7554 
   7555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 	fi
   7559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7563   $as_echo_n "(cached) " >&6
   7564 else
   7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7566 /* end confdefs.h.  */
   7567 int i;
   7568 _ACEOF
   7569 if ac_fn_c_try_compile "$LINENO"; then :
   7570   xorg_cv_cc_flag_unused_command_line_argument=yes
   7571 else
   7572   xorg_cv_cc_flag_unused_command_line_argument=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7575 fi
   7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7579 	CFLAGS="$xorg_testset_save_CFLAGS"
   7580 fi
   7581 
   7582 found="no"
   7583 
   7584 	if test $found = "no" ; then
   7585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7587 		fi
   7588 
   7589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7591 		fi
   7592 
   7593 		CFLAGS="$CFLAGS -Werror=return-type"
   7594 
   7595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7596 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7597 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7598 		if eval \${$cacheid+:} false; then :
   7599   $as_echo_n "(cached) " >&6
   7600 else
   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   eval $cacheid=yes
   7614 else
   7615   eval $cacheid=no
   7616 fi
   7617 rm -f core conftest.err conftest.$ac_objext \
   7618     conftest$ac_exeext conftest.$ac_ext
   7619 fi
   7620 
   7621 
   7622 		CFLAGS="$xorg_testset_save_CFLAGS"
   7623 
   7624 		eval supported=\$$cacheid
   7625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7626 $as_echo "$supported" >&6; }
   7627 		if test "$supported" = "yes" ; then
   7628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7629 			found="yes"
   7630 		fi
   7631 	fi
   7632 
   7633 	if test $found = "no" ; then
   7634 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7636 		fi
   7637 
   7638 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 		fi
   7641 
   7642 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7643 
   7644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7645 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7646 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7647 		if eval \${$cacheid+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 int
   7654 main ()
   7655 {
   7656 
   7657   ;
   7658   return 0;
   7659 }
   7660 _ACEOF
   7661 if ac_fn_c_try_link "$LINENO"; then :
   7662   eval $cacheid=yes
   7663 else
   7664   eval $cacheid=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext \
   7667     conftest$ac_exeext conftest.$ac_ext
   7668 fi
   7669 
   7670 
   7671 		CFLAGS="$xorg_testset_save_CFLAGS"
   7672 
   7673 		eval supported=\$$cacheid
   7674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7675 $as_echo "$supported" >&6; }
   7676 		if test "$supported" = "yes" ; then
   7677 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7678 			found="yes"
   7679 		fi
   7680 	fi
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 xorg_testset_save_CFLAGS="$CFLAGS"
   7697 
   7698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7706 /* end confdefs.h.  */
   7707 int i;
   7708 _ACEOF
   7709 if ac_fn_c_try_compile "$LINENO"; then :
   7710   xorg_cv_cc_flag_unknown_warning_option=yes
   7711 else
   7712   xorg_cv_cc_flag_unknown_warning_option=no
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7715 fi
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7719 	CFLAGS="$xorg_testset_save_CFLAGS"
   7720 fi
   7721 
   7722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	fi
   7726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7730   $as_echo_n "(cached) " >&6
   7731 else
   7732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7733 /* end confdefs.h.  */
   7734 int i;
   7735 _ACEOF
   7736 if ac_fn_c_try_compile "$LINENO"; then :
   7737   xorg_cv_cc_flag_unused_command_line_argument=yes
   7738 else
   7739   xorg_cv_cc_flag_unused_command_line_argument=no
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7742 fi
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7746 	CFLAGS="$xorg_testset_save_CFLAGS"
   7747 fi
   7748 
   7749 found="no"
   7750 
   7751 	if test $found = "no" ; then
   7752 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 		fi
   7755 
   7756 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7758 		fi
   7759 
   7760 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7761 
   7762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7763 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7764 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7765 		if eval \${$cacheid+:} false; then :
   7766   $as_echo_n "(cached) " >&6
   7767 else
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 int i;
   7771 int
   7772 main ()
   7773 {
   7774 
   7775   ;
   7776   return 0;
   7777 }
   7778 _ACEOF
   7779 if ac_fn_c_try_link "$LINENO"; then :
   7780   eval $cacheid=yes
   7781 else
   7782   eval $cacheid=no
   7783 fi
   7784 rm -f core conftest.err conftest.$ac_objext \
   7785     conftest$ac_exeext conftest.$ac_ext
   7786 fi
   7787 
   7788 
   7789 		CFLAGS="$xorg_testset_save_CFLAGS"
   7790 
   7791 		eval supported=\$$cacheid
   7792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7793 $as_echo "$supported" >&6; }
   7794 		if test "$supported" = "yes" ; then
   7795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7796 			found="yes"
   7797 		fi
   7798 	fi
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 xorg_testset_save_CFLAGS="$CFLAGS"
   7815 
   7816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7821   $as_echo_n "(cached) " >&6
   7822 else
   7823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7824 /* end confdefs.h.  */
   7825 int i;
   7826 _ACEOF
   7827 if ac_fn_c_try_compile "$LINENO"; then :
   7828   xorg_cv_cc_flag_unknown_warning_option=yes
   7829 else
   7830   xorg_cv_cc_flag_unknown_warning_option=no
   7831 fi
   7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7833 fi
   7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7837 	CFLAGS="$xorg_testset_save_CFLAGS"
   7838 fi
   7839 
   7840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7841 	if test "x$xorg_testset_cc_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 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7848   $as_echo_n "(cached) " >&6
   7849 else
   7850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7851 /* end confdefs.h.  */
   7852 int i;
   7853 _ACEOF
   7854 if ac_fn_c_try_compile "$LINENO"; then :
   7855   xorg_cv_cc_flag_unused_command_line_argument=yes
   7856 else
   7857   xorg_cv_cc_flag_unused_command_line_argument=no
   7858 fi
   7859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7860 fi
   7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7864 	CFLAGS="$xorg_testset_save_CFLAGS"
   7865 fi
   7866 
   7867 found="no"
   7868 
   7869 	if test $found = "no" ; then
   7870 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7872 		fi
   7873 
   7874 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7876 		fi
   7877 
   7878 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7879 
   7880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7881 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7882 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7883 		if eval \${$cacheid+:} false; then :
   7884   $as_echo_n "(cached) " >&6
   7885 else
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 int i;
   7889 int
   7890 main ()
   7891 {
   7892 
   7893   ;
   7894   return 0;
   7895 }
   7896 _ACEOF
   7897 if ac_fn_c_try_link "$LINENO"; then :
   7898   eval $cacheid=yes
   7899 else
   7900   eval $cacheid=no
   7901 fi
   7902 rm -f core conftest.err conftest.$ac_objext \
   7903     conftest$ac_exeext conftest.$ac_ext
   7904 fi
   7905 
   7906 
   7907 		CFLAGS="$xorg_testset_save_CFLAGS"
   7908 
   7909 		eval supported=\$$cacheid
   7910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7911 $as_echo "$supported" >&6; }
   7912 		if test "$supported" = "yes" ; then
   7913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7914 			found="yes"
   7915 		fi
   7916 	fi
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 xorg_testset_save_CFLAGS="$CFLAGS"
   7933 
   7934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942 /* end confdefs.h.  */
   7943 int i;
   7944 _ACEOF
   7945 if ac_fn_c_try_compile "$LINENO"; then :
   7946   xorg_cv_cc_flag_unknown_warning_option=yes
   7947 else
   7948   xorg_cv_cc_flag_unknown_warning_option=no
   7949 fi
   7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7951 fi
   7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 	fi
   7962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7966   $as_echo_n "(cached) " >&6
   7967 else
   7968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7969 /* end confdefs.h.  */
   7970 int i;
   7971 _ACEOF
   7972 if ac_fn_c_try_compile "$LINENO"; then :
   7973   xorg_cv_cc_flag_unused_command_line_argument=yes
   7974 else
   7975   xorg_cv_cc_flag_unused_command_line_argument=no
   7976 fi
   7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7978 fi
   7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7982 	CFLAGS="$xorg_testset_save_CFLAGS"
   7983 fi
   7984 
   7985 found="no"
   7986 
   7987 	if test $found = "no" ; then
   7988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7990 		fi
   7991 
   7992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7994 		fi
   7995 
   7996 		CFLAGS="$CFLAGS -Werror=write-strings"
   7997 
   7998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7999 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8000 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8001 		if eval \${$cacheid+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8005 /* end confdefs.h.  */
   8006 int i;
   8007 int
   8008 main ()
   8009 {
   8010 
   8011   ;
   8012   return 0;
   8013 }
   8014 _ACEOF
   8015 if ac_fn_c_try_link "$LINENO"; then :
   8016   eval $cacheid=yes
   8017 else
   8018   eval $cacheid=no
   8019 fi
   8020 rm -f core conftest.err conftest.$ac_objext \
   8021     conftest$ac_exeext conftest.$ac_ext
   8022 fi
   8023 
   8024 
   8025 		CFLAGS="$xorg_testset_save_CFLAGS"
   8026 
   8027 		eval supported=\$$cacheid
   8028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8029 $as_echo "$supported" >&6; }
   8030 		if test "$supported" = "yes" ; then
   8031 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8032 			found="yes"
   8033 		fi
   8034 	fi
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 xorg_testset_save_CFLAGS="$CFLAGS"
   8051 
   8052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8057   $as_echo_n "(cached) " >&6
   8058 else
   8059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8060 /* end confdefs.h.  */
   8061 int i;
   8062 _ACEOF
   8063 if ac_fn_c_try_compile "$LINENO"; then :
   8064   xorg_cv_cc_flag_unknown_warning_option=yes
   8065 else
   8066   xorg_cv_cc_flag_unknown_warning_option=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8069 fi
   8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8079 	fi
   8080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8084   $as_echo_n "(cached) " >&6
   8085 else
   8086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8087 /* end confdefs.h.  */
   8088 int i;
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"; then :
   8091   xorg_cv_cc_flag_unused_command_line_argument=yes
   8092 else
   8093   xorg_cv_cc_flag_unused_command_line_argument=no
   8094 fi
   8095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8096 fi
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8100 	CFLAGS="$xorg_testset_save_CFLAGS"
   8101 fi
   8102 
   8103 found="no"
   8104 
   8105 	if test $found = "no" ; then
   8106 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8108 		fi
   8109 
   8110 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8112 		fi
   8113 
   8114 		CFLAGS="$CFLAGS -Werror=address"
   8115 
   8116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8117 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8118 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8119 		if eval \${$cacheid+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 int
   8126 main ()
   8127 {
   8128 
   8129   ;
   8130   return 0;
   8131 }
   8132 _ACEOF
   8133 if ac_fn_c_try_link "$LINENO"; then :
   8134   eval $cacheid=yes
   8135 else
   8136   eval $cacheid=no
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext \
   8139     conftest$ac_exeext conftest.$ac_ext
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 $as_echo "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8175   $as_echo_n "(cached) " >&6
   8176 else
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 _ACEOF
   8181 if ac_fn_c_try_compile "$LINENO"; then :
   8182   xorg_cv_cc_flag_unknown_warning_option=yes
   8183 else
   8184   xorg_cv_cc_flag_unknown_warning_option=no
   8185 fi
   8186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8187 fi
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8191 	CFLAGS="$xorg_testset_save_CFLAGS"
   8192 fi
   8193 
   8194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8197 	fi
   8198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8202   $as_echo_n "(cached) " >&6
   8203 else
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 _ACEOF
   8208 if ac_fn_c_try_compile "$LINENO"; then :
   8209   xorg_cv_cc_flag_unused_command_line_argument=yes
   8210 else
   8211   xorg_cv_cc_flag_unused_command_line_argument=no
   8212 fi
   8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8218 	CFLAGS="$xorg_testset_save_CFLAGS"
   8219 fi
   8220 
   8221 found="no"
   8222 
   8223 	if test $found = "no" ; then
   8224 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8226 		fi
   8227 
   8228 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8230 		fi
   8231 
   8232 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8233 
   8234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8235 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8236 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8237 		if eval \${$cacheid+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8241 /* end confdefs.h.  */
   8242 int i;
   8243 int
   8244 main ()
   8245 {
   8246 
   8247   ;
   8248   return 0;
   8249 }
   8250 _ACEOF
   8251 if ac_fn_c_try_link "$LINENO"; then :
   8252   eval $cacheid=yes
   8253 else
   8254   eval $cacheid=no
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext \
   8257     conftest$ac_exeext conftest.$ac_ext
   8258 fi
   8259 
   8260 
   8261 		CFLAGS="$xorg_testset_save_CFLAGS"
   8262 
   8263 		eval supported=\$$cacheid
   8264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8265 $as_echo "$supported" >&6; }
   8266 		if test "$supported" = "yes" ; then
   8267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8268 			found="yes"
   8269 		fi
   8270 	fi
   8271 
   8272 	if test $found = "no" ; then
   8273 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8275 		fi
   8276 
   8277 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8279 		fi
   8280 
   8281 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8282 
   8283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8284 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8285 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8286 		if eval \${$cacheid+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 int
   8293 main ()
   8294 {
   8295 
   8296   ;
   8297   return 0;
   8298 }
   8299 _ACEOF
   8300 if ac_fn_c_try_link "$LINENO"; then :
   8301   eval $cacheid=yes
   8302 else
   8303   eval $cacheid=no
   8304 fi
   8305 rm -f core conftest.err conftest.$ac_objext \
   8306     conftest$ac_exeext conftest.$ac_ext
   8307 fi
   8308 
   8309 
   8310 		CFLAGS="$xorg_testset_save_CFLAGS"
   8311 
   8312 		eval supported=\$$cacheid
   8313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8314 $as_echo "$supported" >&6; }
   8315 		if test "$supported" = "yes" ; then
   8316 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8317 			found="yes"
   8318 		fi
   8319 	fi
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 xorg_testset_save_CFLAGS="$CFLAGS"
   8336 
   8337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8342   $as_echo_n "(cached) " >&6
   8343 else
   8344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8345 /* end confdefs.h.  */
   8346 int i;
   8347 _ACEOF
   8348 if ac_fn_c_try_compile "$LINENO"; then :
   8349   xorg_cv_cc_flag_unknown_warning_option=yes
   8350 else
   8351   xorg_cv_cc_flag_unknown_warning_option=no
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8354 fi
   8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8358 	CFLAGS="$xorg_testset_save_CFLAGS"
   8359 fi
   8360 
   8361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8364 	fi
   8365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8369   $as_echo_n "(cached) " >&6
   8370 else
   8371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 int i;
   8374 _ACEOF
   8375 if ac_fn_c_try_compile "$LINENO"; then :
   8376   xorg_cv_cc_flag_unused_command_line_argument=yes
   8377 else
   8378   xorg_cv_cc_flag_unused_command_line_argument=no
   8379 fi
   8380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8381 fi
   8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8385 	CFLAGS="$xorg_testset_save_CFLAGS"
   8386 fi
   8387 
   8388 found="no"
   8389 
   8390 	if test $found = "no" ; then
   8391 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8393 		fi
   8394 
   8395 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8397 		fi
   8398 
   8399 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8400 
   8401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8402 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8403 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8404 		if eval \${$cacheid+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8408 /* end confdefs.h.  */
   8409 int i;
   8410 int
   8411 main ()
   8412 {
   8413 
   8414   ;
   8415   return 0;
   8416 }
   8417 _ACEOF
   8418 if ac_fn_c_try_link "$LINENO"; then :
   8419   eval $cacheid=yes
   8420 else
   8421   eval $cacheid=no
   8422 fi
   8423 rm -f core conftest.err conftest.$ac_objext \
   8424     conftest$ac_exeext conftest.$ac_ext
   8425 fi
   8426 
   8427 
   8428 		CFLAGS="$xorg_testset_save_CFLAGS"
   8429 
   8430 		eval supported=\$$cacheid
   8431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8432 $as_echo "$supported" >&6; }
   8433 		if test "$supported" = "yes" ; then
   8434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8435 			found="yes"
   8436 		fi
   8437 	fi
   8438 
   8439  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8440 else
   8441 { $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
   8442 $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;}
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 xorg_testset_save_CFLAGS="$CFLAGS"
   8457 
   8458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8463   $as_echo_n "(cached) " >&6
   8464 else
   8465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8466 /* end confdefs.h.  */
   8467 int i;
   8468 _ACEOF
   8469 if ac_fn_c_try_compile "$LINENO"; then :
   8470   xorg_cv_cc_flag_unknown_warning_option=yes
   8471 else
   8472   xorg_cv_cc_flag_unknown_warning_option=no
   8473 fi
   8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8475 fi
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8479 	CFLAGS="$xorg_testset_save_CFLAGS"
   8480 fi
   8481 
   8482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 	fi
   8486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 _ACEOF
   8496 if ac_fn_c_try_compile "$LINENO"; then :
   8497   xorg_cv_cc_flag_unused_command_line_argument=yes
   8498 else
   8499   xorg_cv_cc_flag_unused_command_line_argument=no
   8500 fi
   8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8502 fi
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8506 	CFLAGS="$xorg_testset_save_CFLAGS"
   8507 fi
   8508 
   8509 found="no"
   8510 
   8511 	if test $found = "no" ; then
   8512 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8514 		fi
   8515 
   8516 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8518 		fi
   8519 
   8520 		CFLAGS="$CFLAGS -Wimplicit"
   8521 
   8522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8523 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8524 		cacheid=xorg_cv_cc_flag__Wimplicit
   8525 		if eval \${$cacheid+:} false; then :
   8526   $as_echo_n "(cached) " >&6
   8527 else
   8528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8529 /* end confdefs.h.  */
   8530 int i;
   8531 int
   8532 main ()
   8533 {
   8534 
   8535   ;
   8536   return 0;
   8537 }
   8538 _ACEOF
   8539 if ac_fn_c_try_link "$LINENO"; then :
   8540   eval $cacheid=yes
   8541 else
   8542   eval $cacheid=no
   8543 fi
   8544 rm -f core conftest.err conftest.$ac_objext \
   8545     conftest$ac_exeext conftest.$ac_ext
   8546 fi
   8547 
   8548 
   8549 		CFLAGS="$xorg_testset_save_CFLAGS"
   8550 
   8551 		eval supported=\$$cacheid
   8552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8553 $as_echo "$supported" >&6; }
   8554 		if test "$supported" = "yes" ; then
   8555 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8556 			found="yes"
   8557 		fi
   8558 	fi
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 xorg_testset_save_CFLAGS="$CFLAGS"
   8575 
   8576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   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_cv_cc_flag_unknown_warning_option=yes
   8589 else
   8590   xorg_cv_cc_flag_unknown_warning_option=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8593 fi
   8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	fi
   8604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"; then :
   8615   xorg_cv_cc_flag_unused_command_line_argument=yes
   8616 else
   8617   xorg_cv_cc_flag_unused_command_line_argument=no
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8620 fi
   8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8624 	CFLAGS="$xorg_testset_save_CFLAGS"
   8625 fi
   8626 
   8627 found="no"
   8628 
   8629 	if test $found = "no" ; then
   8630 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8632 		fi
   8633 
   8634 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 		fi
   8637 
   8638 		CFLAGS="$CFLAGS -Wnonnull"
   8639 
   8640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8641 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8642 		cacheid=xorg_cv_cc_flag__Wnonnull
   8643 		if eval \${$cacheid+:} false; then :
   8644   $as_echo_n "(cached) " >&6
   8645 else
   8646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 int
   8650 main ()
   8651 {
   8652 
   8653   ;
   8654   return 0;
   8655 }
   8656 _ACEOF
   8657 if ac_fn_c_try_link "$LINENO"; then :
   8658   eval $cacheid=yes
   8659 else
   8660   eval $cacheid=no
   8661 fi
   8662 rm -f core conftest.err conftest.$ac_objext \
   8663     conftest$ac_exeext conftest.$ac_ext
   8664 fi
   8665 
   8666 
   8667 		CFLAGS="$xorg_testset_save_CFLAGS"
   8668 
   8669 		eval supported=\$$cacheid
   8670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8671 $as_echo "$supported" >&6; }
   8672 		if test "$supported" = "yes" ; then
   8673 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8674 			found="yes"
   8675 		fi
   8676 	fi
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 xorg_testset_save_CFLAGS="$CFLAGS"
   8693 
   8694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   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_cv_cc_flag_unknown_warning_option=yes
   8707 else
   8708   xorg_cv_cc_flag_unknown_warning_option=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8711 fi
   8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8715 	CFLAGS="$xorg_testset_save_CFLAGS"
   8716 fi
   8717 
   8718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 	fi
   8722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8726   $as_echo_n "(cached) " >&6
   8727 else
   8728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8729 /* end confdefs.h.  */
   8730 int i;
   8731 _ACEOF
   8732 if ac_fn_c_try_compile "$LINENO"; then :
   8733   xorg_cv_cc_flag_unused_command_line_argument=yes
   8734 else
   8735   xorg_cv_cc_flag_unused_command_line_argument=no
   8736 fi
   8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8738 fi
   8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8742 	CFLAGS="$xorg_testset_save_CFLAGS"
   8743 fi
   8744 
   8745 found="no"
   8746 
   8747 	if test $found = "no" ; then
   8748 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8750 		fi
   8751 
   8752 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8754 		fi
   8755 
   8756 		CFLAGS="$CFLAGS -Winit-self"
   8757 
   8758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8759 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8760 		cacheid=xorg_cv_cc_flag__Winit_self
   8761 		if eval \${$cacheid+:} false; then :
   8762   $as_echo_n "(cached) " >&6
   8763 else
   8764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8765 /* end confdefs.h.  */
   8766 int i;
   8767 int
   8768 main ()
   8769 {
   8770 
   8771   ;
   8772   return 0;
   8773 }
   8774 _ACEOF
   8775 if ac_fn_c_try_link "$LINENO"; then :
   8776   eval $cacheid=yes
   8777 else
   8778   eval $cacheid=no
   8779 fi
   8780 rm -f core conftest.err conftest.$ac_objext \
   8781     conftest$ac_exeext conftest.$ac_ext
   8782 fi
   8783 
   8784 
   8785 		CFLAGS="$xorg_testset_save_CFLAGS"
   8786 
   8787 		eval supported=\$$cacheid
   8788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8789 $as_echo "$supported" >&6; }
   8790 		if test "$supported" = "yes" ; then
   8791 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8792 			found="yes"
   8793 		fi
   8794 	fi
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 xorg_testset_save_CFLAGS="$CFLAGS"
   8811 
   8812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8817   $as_echo_n "(cached) " >&6
   8818 else
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 _ACEOF
   8823 if ac_fn_c_try_compile "$LINENO"; then :
   8824   xorg_cv_cc_flag_unknown_warning_option=yes
   8825 else
   8826   xorg_cv_cc_flag_unknown_warning_option=no
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8829 fi
   8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8833 	CFLAGS="$xorg_testset_save_CFLAGS"
   8834 fi
   8835 
   8836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	fi
   8840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8847 /* end confdefs.h.  */
   8848 int i;
   8849 _ACEOF
   8850 if ac_fn_c_try_compile "$LINENO"; then :
   8851   xorg_cv_cc_flag_unused_command_line_argument=yes
   8852 else
   8853   xorg_cv_cc_flag_unused_command_line_argument=no
   8854 fi
   8855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8856 fi
   8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8860 	CFLAGS="$xorg_testset_save_CFLAGS"
   8861 fi
   8862 
   8863 found="no"
   8864 
   8865 	if test $found = "no" ; then
   8866 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8868 		fi
   8869 
   8870 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8872 		fi
   8873 
   8874 		CFLAGS="$CFLAGS -Wmain"
   8875 
   8876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8877 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8878 		cacheid=xorg_cv_cc_flag__Wmain
   8879 		if eval \${$cacheid+:} false; then :
   8880   $as_echo_n "(cached) " >&6
   8881 else
   8882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 int
   8886 main ()
   8887 {
   8888 
   8889   ;
   8890   return 0;
   8891 }
   8892 _ACEOF
   8893 if ac_fn_c_try_link "$LINENO"; then :
   8894   eval $cacheid=yes
   8895 else
   8896   eval $cacheid=no
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext \
   8899     conftest$ac_exeext conftest.$ac_ext
   8900 fi
   8901 
   8902 
   8903 		CFLAGS="$xorg_testset_save_CFLAGS"
   8904 
   8905 		eval supported=\$$cacheid
   8906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8907 $as_echo "$supported" >&6; }
   8908 		if test "$supported" = "yes" ; then
   8909 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8910 			found="yes"
   8911 		fi
   8912 	fi
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 xorg_testset_save_CFLAGS="$CFLAGS"
   8929 
   8930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"; then :
   8942   xorg_cv_cc_flag_unknown_warning_option=yes
   8943 else
   8944   xorg_cv_cc_flag_unknown_warning_option=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	fi
   8958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8962   $as_echo_n "(cached) " >&6
   8963 else
   8964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"; then :
   8969   xorg_cv_cc_flag_unused_command_line_argument=yes
   8970 else
   8971   xorg_cv_cc_flag_unused_command_line_argument=no
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8974 fi
   8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8978 	CFLAGS="$xorg_testset_save_CFLAGS"
   8979 fi
   8980 
   8981 found="no"
   8982 
   8983 	if test $found = "no" ; then
   8984 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 		fi
   8987 
   8988 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 		fi
   8991 
   8992 		CFLAGS="$CFLAGS -Wmissing-braces"
   8993 
   8994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8995 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8996 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8997 		if eval \${$cacheid+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 int
   9004 main ()
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"; then :
   9012   eval $cacheid=yes
   9013 else
   9014   eval $cacheid=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 fi
   9019 
   9020 
   9021 		CFLAGS="$xorg_testset_save_CFLAGS"
   9022 
   9023 		eval supported=\$$cacheid
   9024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9025 $as_echo "$supported" >&6; }
   9026 		if test "$supported" = "yes" ; then
   9027 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9028 			found="yes"
   9029 		fi
   9030 	fi
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 xorg_testset_save_CFLAGS="$CFLAGS"
   9047 
   9048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"; then :
   9060   xorg_cv_cc_flag_unknown_warning_option=yes
   9061 else
   9062   xorg_cv_cc_flag_unknown_warning_option=no
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9065 fi
   9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9069 	CFLAGS="$xorg_testset_save_CFLAGS"
   9070 fi
   9071 
   9072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9075 	fi
   9076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9080   $as_echo_n "(cached) " >&6
   9081 else
   9082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 _ACEOF
   9086 if ac_fn_c_try_compile "$LINENO"; then :
   9087   xorg_cv_cc_flag_unused_command_line_argument=yes
   9088 else
   9089   xorg_cv_cc_flag_unused_command_line_argument=no
   9090 fi
   9091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9092 fi
   9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9096 	CFLAGS="$xorg_testset_save_CFLAGS"
   9097 fi
   9098 
   9099 found="no"
   9100 
   9101 	if test $found = "no" ; then
   9102 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9104 		fi
   9105 
   9106 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 		fi
   9109 
   9110 		CFLAGS="$CFLAGS -Wsequence-point"
   9111 
   9112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9113 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9114 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9115 		if eval \${$cacheid+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 int
   9122 main ()
   9123 {
   9124 
   9125   ;
   9126   return 0;
   9127 }
   9128 _ACEOF
   9129 if ac_fn_c_try_link "$LINENO"; then :
   9130   eval $cacheid=yes
   9131 else
   9132   eval $cacheid=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext \
   9135     conftest$ac_exeext conftest.$ac_ext
   9136 fi
   9137 
   9138 
   9139 		CFLAGS="$xorg_testset_save_CFLAGS"
   9140 
   9141 		eval supported=\$$cacheid
   9142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9143 $as_echo "$supported" >&6; }
   9144 		if test "$supported" = "yes" ; then
   9145 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9146 			found="yes"
   9147 		fi
   9148 	fi
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 xorg_testset_save_CFLAGS="$CFLAGS"
   9165 
   9166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 _ACEOF
   9177 if ac_fn_c_try_compile "$LINENO"; then :
   9178   xorg_cv_cc_flag_unknown_warning_option=yes
   9179 else
   9180   xorg_cv_cc_flag_unknown_warning_option=no
   9181 fi
   9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9183 fi
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9187 	CFLAGS="$xorg_testset_save_CFLAGS"
   9188 fi
   9189 
   9190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	fi
   9194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9198   $as_echo_n "(cached) " >&6
   9199 else
   9200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9201 /* end confdefs.h.  */
   9202 int i;
   9203 _ACEOF
   9204 if ac_fn_c_try_compile "$LINENO"; then :
   9205   xorg_cv_cc_flag_unused_command_line_argument=yes
   9206 else
   9207   xorg_cv_cc_flag_unused_command_line_argument=no
   9208 fi
   9209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9210 fi
   9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9214 	CFLAGS="$xorg_testset_save_CFLAGS"
   9215 fi
   9216 
   9217 found="no"
   9218 
   9219 	if test $found = "no" ; then
   9220 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9222 		fi
   9223 
   9224 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 		fi
   9227 
   9228 		CFLAGS="$CFLAGS -Wreturn-type"
   9229 
   9230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9231 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9232 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9233 		if eval \${$cacheid+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 int
   9240 main ()
   9241 {
   9242 
   9243   ;
   9244   return 0;
   9245 }
   9246 _ACEOF
   9247 if ac_fn_c_try_link "$LINENO"; then :
   9248   eval $cacheid=yes
   9249 else
   9250   eval $cacheid=no
   9251 fi
   9252 rm -f core conftest.err conftest.$ac_objext \
   9253     conftest$ac_exeext conftest.$ac_ext
   9254 fi
   9255 
   9256 
   9257 		CFLAGS="$xorg_testset_save_CFLAGS"
   9258 
   9259 		eval supported=\$$cacheid
   9260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9261 $as_echo "$supported" >&6; }
   9262 		if test "$supported" = "yes" ; then
   9263 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9264 			found="yes"
   9265 		fi
   9266 	fi
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 xorg_testset_save_CFLAGS="$CFLAGS"
   9283 
   9284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 _ACEOF
   9295 if ac_fn_c_try_compile "$LINENO"; then :
   9296   xorg_cv_cc_flag_unknown_warning_option=yes
   9297 else
   9298   xorg_cv_cc_flag_unknown_warning_option=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9301 fi
   9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9305 	CFLAGS="$xorg_testset_save_CFLAGS"
   9306 fi
   9307 
   9308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	fi
   9312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9316   $as_echo_n "(cached) " >&6
   9317 else
   9318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9319 /* end confdefs.h.  */
   9320 int i;
   9321 _ACEOF
   9322 if ac_fn_c_try_compile "$LINENO"; then :
   9323   xorg_cv_cc_flag_unused_command_line_argument=yes
   9324 else
   9325   xorg_cv_cc_flag_unused_command_line_argument=no
   9326 fi
   9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9328 fi
   9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9332 	CFLAGS="$xorg_testset_save_CFLAGS"
   9333 fi
   9334 
   9335 found="no"
   9336 
   9337 	if test $found = "no" ; then
   9338 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9340 		fi
   9341 
   9342 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9344 		fi
   9345 
   9346 		CFLAGS="$CFLAGS -Wtrigraphs"
   9347 
   9348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9349 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9350 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9351 		if eval \${$cacheid+:} false; then :
   9352   $as_echo_n "(cached) " >&6
   9353 else
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 int
   9358 main ()
   9359 {
   9360 
   9361   ;
   9362   return 0;
   9363 }
   9364 _ACEOF
   9365 if ac_fn_c_try_link "$LINENO"; then :
   9366   eval $cacheid=yes
   9367 else
   9368   eval $cacheid=no
   9369 fi
   9370 rm -f core conftest.err conftest.$ac_objext \
   9371     conftest$ac_exeext conftest.$ac_ext
   9372 fi
   9373 
   9374 
   9375 		CFLAGS="$xorg_testset_save_CFLAGS"
   9376 
   9377 		eval supported=\$$cacheid
   9378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9379 $as_echo "$supported" >&6; }
   9380 		if test "$supported" = "yes" ; then
   9381 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9382 			found="yes"
   9383 		fi
   9384 	fi
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 xorg_testset_save_CFLAGS="$CFLAGS"
   9401 
   9402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9407   $as_echo_n "(cached) " >&6
   9408 else
   9409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9410 /* end confdefs.h.  */
   9411 int i;
   9412 _ACEOF
   9413 if ac_fn_c_try_compile "$LINENO"; then :
   9414   xorg_cv_cc_flag_unknown_warning_option=yes
   9415 else
   9416   xorg_cv_cc_flag_unknown_warning_option=no
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9419 fi
   9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9423 	CFLAGS="$xorg_testset_save_CFLAGS"
   9424 fi
   9425 
   9426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9429 	fi
   9430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9434   $as_echo_n "(cached) " >&6
   9435 else
   9436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9437 /* end confdefs.h.  */
   9438 int i;
   9439 _ACEOF
   9440 if ac_fn_c_try_compile "$LINENO"; then :
   9441   xorg_cv_cc_flag_unused_command_line_argument=yes
   9442 else
   9443   xorg_cv_cc_flag_unused_command_line_argument=no
   9444 fi
   9445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9446 fi
   9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9450 	CFLAGS="$xorg_testset_save_CFLAGS"
   9451 fi
   9452 
   9453 found="no"
   9454 
   9455 	if test $found = "no" ; then
   9456 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9458 		fi
   9459 
   9460 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9462 		fi
   9463 
   9464 		CFLAGS="$CFLAGS -Warray-bounds"
   9465 
   9466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9467 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9468 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9469 		if eval \${$cacheid+:} false; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 int
   9476 main ()
   9477 {
   9478 
   9479   ;
   9480   return 0;
   9481 }
   9482 _ACEOF
   9483 if ac_fn_c_try_link "$LINENO"; then :
   9484   eval $cacheid=yes
   9485 else
   9486   eval $cacheid=no
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext \
   9489     conftest$ac_exeext conftest.$ac_ext
   9490 fi
   9491 
   9492 
   9493 		CFLAGS="$xorg_testset_save_CFLAGS"
   9494 
   9495 		eval supported=\$$cacheid
   9496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9497 $as_echo "$supported" >&6; }
   9498 		if test "$supported" = "yes" ; then
   9499 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9500 			found="yes"
   9501 		fi
   9502 	fi
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 xorg_testset_save_CFLAGS="$CFLAGS"
   9519 
   9520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"; then :
   9532   xorg_cv_cc_flag_unknown_warning_option=yes
   9533 else
   9534   xorg_cv_cc_flag_unknown_warning_option=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9537 fi
   9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9541 	CFLAGS="$xorg_testset_save_CFLAGS"
   9542 fi
   9543 
   9544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 	fi
   9548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9552   $as_echo_n "(cached) " >&6
   9553 else
   9554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9555 /* end confdefs.h.  */
   9556 int i;
   9557 _ACEOF
   9558 if ac_fn_c_try_compile "$LINENO"; then :
   9559   xorg_cv_cc_flag_unused_command_line_argument=yes
   9560 else
   9561   xorg_cv_cc_flag_unused_command_line_argument=no
   9562 fi
   9563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9564 fi
   9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9568 	CFLAGS="$xorg_testset_save_CFLAGS"
   9569 fi
   9570 
   9571 found="no"
   9572 
   9573 	if test $found = "no" ; then
   9574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9576 		fi
   9577 
   9578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9580 		fi
   9581 
   9582 		CFLAGS="$CFLAGS -Wwrite-strings"
   9583 
   9584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9585 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9586 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9587 		if eval \${$cacheid+:} false; then :
   9588   $as_echo_n "(cached) " >&6
   9589 else
   9590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9591 /* end confdefs.h.  */
   9592 int i;
   9593 int
   9594 main ()
   9595 {
   9596 
   9597   ;
   9598   return 0;
   9599 }
   9600 _ACEOF
   9601 if ac_fn_c_try_link "$LINENO"; then :
   9602   eval $cacheid=yes
   9603 else
   9604   eval $cacheid=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608 fi
   9609 
   9610 
   9611 		CFLAGS="$xorg_testset_save_CFLAGS"
   9612 
   9613 		eval supported=\$$cacheid
   9614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9615 $as_echo "$supported" >&6; }
   9616 		if test "$supported" = "yes" ; then
   9617 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9618 			found="yes"
   9619 		fi
   9620 	fi
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 xorg_testset_save_CFLAGS="$CFLAGS"
   9637 
   9638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9643   $as_echo_n "(cached) " >&6
   9644 else
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"; then :
   9650   xorg_cv_cc_flag_unknown_warning_option=yes
   9651 else
   9652   xorg_cv_cc_flag_unknown_warning_option=no
   9653 fi
   9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9655 fi
   9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9659 	CFLAGS="$xorg_testset_save_CFLAGS"
   9660 fi
   9661 
   9662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 	fi
   9666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9670   $as_echo_n "(cached) " >&6
   9671 else
   9672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9673 /* end confdefs.h.  */
   9674 int i;
   9675 _ACEOF
   9676 if ac_fn_c_try_compile "$LINENO"; then :
   9677   xorg_cv_cc_flag_unused_command_line_argument=yes
   9678 else
   9679   xorg_cv_cc_flag_unused_command_line_argument=no
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9682 fi
   9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9686 	CFLAGS="$xorg_testset_save_CFLAGS"
   9687 fi
   9688 
   9689 found="no"
   9690 
   9691 	if test $found = "no" ; then
   9692 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9694 		fi
   9695 
   9696 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9698 		fi
   9699 
   9700 		CFLAGS="$CFLAGS -Waddress"
   9701 
   9702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9703 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9704 		cacheid=xorg_cv_cc_flag__Waddress
   9705 		if eval \${$cacheid+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 int
   9712 main ()
   9713 {
   9714 
   9715   ;
   9716   return 0;
   9717 }
   9718 _ACEOF
   9719 if ac_fn_c_try_link "$LINENO"; then :
   9720   eval $cacheid=yes
   9721 else
   9722   eval $cacheid=no
   9723 fi
   9724 rm -f core conftest.err conftest.$ac_objext \
   9725     conftest$ac_exeext conftest.$ac_ext
   9726 fi
   9727 
   9728 
   9729 		CFLAGS="$xorg_testset_save_CFLAGS"
   9730 
   9731 		eval supported=\$$cacheid
   9732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9733 $as_echo "$supported" >&6; }
   9734 		if test "$supported" = "yes" ; then
   9735 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9736 			found="yes"
   9737 		fi
   9738 	fi
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 xorg_testset_save_CFLAGS="$CFLAGS"
   9755 
   9756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 _ACEOF
   9767 if ac_fn_c_try_compile "$LINENO"; then :
   9768   xorg_cv_cc_flag_unknown_warning_option=yes
   9769 else
   9770   xorg_cv_cc_flag_unknown_warning_option=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9773 fi
   9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9777 	CFLAGS="$xorg_testset_save_CFLAGS"
   9778 fi
   9779 
   9780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9783 	fi
   9784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9788   $as_echo_n "(cached) " >&6
   9789 else
   9790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9791 /* end confdefs.h.  */
   9792 int i;
   9793 _ACEOF
   9794 if ac_fn_c_try_compile "$LINENO"; then :
   9795   xorg_cv_cc_flag_unused_command_line_argument=yes
   9796 else
   9797   xorg_cv_cc_flag_unused_command_line_argument=no
   9798 fi
   9799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9800 fi
   9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9804 	CFLAGS="$xorg_testset_save_CFLAGS"
   9805 fi
   9806 
   9807 found="no"
   9808 
   9809 	if test $found = "no" ; then
   9810 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9812 		fi
   9813 
   9814 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9816 		fi
   9817 
   9818 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9819 
   9820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9821 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9822 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9823 		if eval \${$cacheid+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 int
   9830 main ()
   9831 {
   9832 
   9833   ;
   9834   return 0;
   9835 }
   9836 _ACEOF
   9837 if ac_fn_c_try_link "$LINENO"; then :
   9838   eval $cacheid=yes
   9839 else
   9840   eval $cacheid=no
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext \
   9843     conftest$ac_exeext conftest.$ac_ext
   9844 fi
   9845 
   9846 
   9847 		CFLAGS="$xorg_testset_save_CFLAGS"
   9848 
   9849 		eval supported=\$$cacheid
   9850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9851 $as_echo "$supported" >&6; }
   9852 		if test "$supported" = "yes" ; then
   9853 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9854 			found="yes"
   9855 		fi
   9856 	fi
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 xorg_testset_save_CFLAGS="$CFLAGS"
   9873 
   9874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"; then :
   9886   xorg_cv_cc_flag_unknown_warning_option=yes
   9887 else
   9888   xorg_cv_cc_flag_unknown_warning_option=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9891 fi
   9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	fi
   9902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9906   $as_echo_n "(cached) " >&6
   9907 else
   9908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9909 /* end confdefs.h.  */
   9910 int i;
   9911 _ACEOF
   9912 if ac_fn_c_try_compile "$LINENO"; then :
   9913   xorg_cv_cc_flag_unused_command_line_argument=yes
   9914 else
   9915   xorg_cv_cc_flag_unused_command_line_argument=no
   9916 fi
   9917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9918 fi
   9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9922 	CFLAGS="$xorg_testset_save_CFLAGS"
   9923 fi
   9924 
   9925 found="no"
   9926 
   9927 	if test $found = "no" ; then
   9928 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9930 		fi
   9931 
   9932 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9934 		fi
   9935 
   9936 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9937 
   9938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9939 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9940 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9941 		if eval \${$cacheid+:} false; then :
   9942   $as_echo_n "(cached) " >&6
   9943 else
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 int
   9948 main ()
   9949 {
   9950 
   9951   ;
   9952   return 0;
   9953 }
   9954 _ACEOF
   9955 if ac_fn_c_try_link "$LINENO"; then :
   9956   eval $cacheid=yes
   9957 else
   9958   eval $cacheid=no
   9959 fi
   9960 rm -f core conftest.err conftest.$ac_objext \
   9961     conftest$ac_exeext conftest.$ac_ext
   9962 fi
   9963 
   9964 
   9965 		CFLAGS="$xorg_testset_save_CFLAGS"
   9966 
   9967 		eval supported=\$$cacheid
   9968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9969 $as_echo "$supported" >&6; }
   9970 		if test "$supported" = "yes" ; then
   9971 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9972 			found="yes"
   9973 		fi
   9974 	fi
   9975 
   9976 
   9977 fi
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 		CWARNFLAGS="$BASE_CFLAGS"
   9986 		if  test "x$GCC" = xyes ; then
   9987 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9988 		fi
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 # Check whether --enable-strict-compilation was given.
   9998 if test "${enable_strict_compilation+set}" = set; then :
   9999   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10000 else
   10001   STRICT_COMPILE=no
   10002 fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 STRICT_CFLAGS=""
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 xorg_testset_save_CFLAGS="$CFLAGS"
   10024 
   10025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10030   $as_echo_n "(cached) " >&6
   10031 else
   10032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10033 /* end confdefs.h.  */
   10034 int i;
   10035 _ACEOF
   10036 if ac_fn_c_try_compile "$LINENO"; then :
   10037   xorg_cv_cc_flag_unknown_warning_option=yes
   10038 else
   10039   xorg_cv_cc_flag_unknown_warning_option=no
   10040 fi
   10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10042 fi
   10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10046 	CFLAGS="$xorg_testset_save_CFLAGS"
   10047 fi
   10048 
   10049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	fi
   10053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10057   $as_echo_n "(cached) " >&6
   10058 else
   10059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10060 /* end confdefs.h.  */
   10061 int i;
   10062 _ACEOF
   10063 if ac_fn_c_try_compile "$LINENO"; then :
   10064   xorg_cv_cc_flag_unused_command_line_argument=yes
   10065 else
   10066   xorg_cv_cc_flag_unused_command_line_argument=no
   10067 fi
   10068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10069 fi
   10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10073 	CFLAGS="$xorg_testset_save_CFLAGS"
   10074 fi
   10075 
   10076 found="no"
   10077 
   10078 	if test $found = "no" ; then
   10079 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10081 		fi
   10082 
   10083 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10085 		fi
   10086 
   10087 		CFLAGS="$CFLAGS -pedantic"
   10088 
   10089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10090 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10091 		cacheid=xorg_cv_cc_flag__pedantic
   10092 		if eval \${$cacheid+:} false; then :
   10093   $as_echo_n "(cached) " >&6
   10094 else
   10095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10096 /* end confdefs.h.  */
   10097 int i;
   10098 int
   10099 main ()
   10100 {
   10101 
   10102   ;
   10103   return 0;
   10104 }
   10105 _ACEOF
   10106 if ac_fn_c_try_link "$LINENO"; then :
   10107   eval $cacheid=yes
   10108 else
   10109   eval $cacheid=no
   10110 fi
   10111 rm -f core conftest.err conftest.$ac_objext \
   10112     conftest$ac_exeext conftest.$ac_ext
   10113 fi
   10114 
   10115 
   10116 		CFLAGS="$xorg_testset_save_CFLAGS"
   10117 
   10118 		eval supported=\$$cacheid
   10119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10120 $as_echo "$supported" >&6; }
   10121 		if test "$supported" = "yes" ; then
   10122 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10123 			found="yes"
   10124 		fi
   10125 	fi
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 xorg_testset_save_CFLAGS="$CFLAGS"
   10142 
   10143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10148   $as_echo_n "(cached) " >&6
   10149 else
   10150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10151 /* end confdefs.h.  */
   10152 int i;
   10153 _ACEOF
   10154 if ac_fn_c_try_compile "$LINENO"; then :
   10155   xorg_cv_cc_flag_unknown_warning_option=yes
   10156 else
   10157   xorg_cv_cc_flag_unknown_warning_option=no
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10160 fi
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10164 	CFLAGS="$xorg_testset_save_CFLAGS"
   10165 fi
   10166 
   10167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10170 	fi
   10171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10175   $as_echo_n "(cached) " >&6
   10176 else
   10177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10178 /* end confdefs.h.  */
   10179 int i;
   10180 _ACEOF
   10181 if ac_fn_c_try_compile "$LINENO"; then :
   10182   xorg_cv_cc_flag_unused_command_line_argument=yes
   10183 else
   10184   xorg_cv_cc_flag_unused_command_line_argument=no
   10185 fi
   10186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10187 fi
   10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10191 	CFLAGS="$xorg_testset_save_CFLAGS"
   10192 fi
   10193 
   10194 found="no"
   10195 
   10196 	if test $found = "no" ; then
   10197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10199 		fi
   10200 
   10201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10203 		fi
   10204 
   10205 		CFLAGS="$CFLAGS -Werror"
   10206 
   10207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10208 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10209 		cacheid=xorg_cv_cc_flag__Werror
   10210 		if eval \${$cacheid+:} false; then :
   10211   $as_echo_n "(cached) " >&6
   10212 else
   10213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10214 /* end confdefs.h.  */
   10215 int i;
   10216 int
   10217 main ()
   10218 {
   10219 
   10220   ;
   10221   return 0;
   10222 }
   10223 _ACEOF
   10224 if ac_fn_c_try_link "$LINENO"; then :
   10225   eval $cacheid=yes
   10226 else
   10227   eval $cacheid=no
   10228 fi
   10229 rm -f core conftest.err conftest.$ac_objext \
   10230     conftest$ac_exeext conftest.$ac_ext
   10231 fi
   10232 
   10233 
   10234 		CFLAGS="$xorg_testset_save_CFLAGS"
   10235 
   10236 		eval supported=\$$cacheid
   10237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10238 $as_echo "$supported" >&6; }
   10239 		if test "$supported" = "yes" ; then
   10240 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10241 			found="yes"
   10242 		fi
   10243 	fi
   10244 
   10245 	if test $found = "no" ; then
   10246 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10248 		fi
   10249 
   10250 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 		fi
   10253 
   10254 		CFLAGS="$CFLAGS -errwarn"
   10255 
   10256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10257 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10258 		cacheid=xorg_cv_cc_flag__errwarn
   10259 		if eval \${$cacheid+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 int
   10266 main ()
   10267 {
   10268 
   10269   ;
   10270   return 0;
   10271 }
   10272 _ACEOF
   10273 if ac_fn_c_try_link "$LINENO"; then :
   10274   eval $cacheid=yes
   10275 else
   10276   eval $cacheid=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext \
   10279     conftest$ac_exeext conftest.$ac_ext
   10280 fi
   10281 
   10282 
   10283 		CFLAGS="$xorg_testset_save_CFLAGS"
   10284 
   10285 		eval supported=\$$cacheid
   10286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10287 $as_echo "$supported" >&6; }
   10288 		if test "$supported" = "yes" ; then
   10289 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10290 			found="yes"
   10291 		fi
   10292 	fi
   10293 
   10294 
   10295 
   10296 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10297 # activate it with -Werror, so we add it here explicitly.
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 xorg_testset_save_CFLAGS="$CFLAGS"
   10312 
   10313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10318   $as_echo_n "(cached) " >&6
   10319 else
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"; then :
   10325   xorg_cv_cc_flag_unknown_warning_option=yes
   10326 else
   10327   xorg_cv_cc_flag_unknown_warning_option=no
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10330 fi
   10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10334 	CFLAGS="$xorg_testset_save_CFLAGS"
   10335 fi
   10336 
   10337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 	fi
   10341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10345   $as_echo_n "(cached) " >&6
   10346 else
   10347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 int i;
   10350 _ACEOF
   10351 if ac_fn_c_try_compile "$LINENO"; then :
   10352   xorg_cv_cc_flag_unused_command_line_argument=yes
   10353 else
   10354   xorg_cv_cc_flag_unused_command_line_argument=no
   10355 fi
   10356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10357 fi
   10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10361 	CFLAGS="$xorg_testset_save_CFLAGS"
   10362 fi
   10363 
   10364 found="no"
   10365 
   10366 	if test $found = "no" ; then
   10367 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10369 		fi
   10370 
   10371 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10373 		fi
   10374 
   10375 		CFLAGS="$CFLAGS -Werror=attributes"
   10376 
   10377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10378 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10379 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10380 		if eval \${$cacheid+:} false; then :
   10381   $as_echo_n "(cached) " >&6
   10382 else
   10383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10384 /* end confdefs.h.  */
   10385 int i;
   10386 int
   10387 main ()
   10388 {
   10389 
   10390   ;
   10391   return 0;
   10392 }
   10393 _ACEOF
   10394 if ac_fn_c_try_link "$LINENO"; then :
   10395   eval $cacheid=yes
   10396 else
   10397   eval $cacheid=no
   10398 fi
   10399 rm -f core conftest.err conftest.$ac_objext \
   10400     conftest$ac_exeext conftest.$ac_ext
   10401 fi
   10402 
   10403 
   10404 		CFLAGS="$xorg_testset_save_CFLAGS"
   10405 
   10406 		eval supported=\$$cacheid
   10407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10408 $as_echo "$supported" >&6; }
   10409 		if test "$supported" = "yes" ; then
   10410 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10411 			found="yes"
   10412 		fi
   10413 	fi
   10414 
   10415 
   10416 
   10417 if test "x$STRICT_COMPILE" = "xyes"; then
   10418     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10419     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10420 fi
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 cat >>confdefs.h <<_ACEOF
   10428 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10429 _ACEOF
   10430 
   10431 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10432 	if test "x$PVM" = "x"; then
   10433 		PVM="0"
   10434 	fi
   10435 
   10436 cat >>confdefs.h <<_ACEOF
   10437 #define PACKAGE_VERSION_MINOR $PVM
   10438 _ACEOF
   10439 
   10440 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10441 	if test "x$PVP" = "x"; then
   10442 		PVP="0"
   10443 	fi
   10444 
   10445 cat >>confdefs.h <<_ACEOF
   10446 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10447 _ACEOF
   10448 
   10449 
   10450 
   10451 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10452 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10453 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10454 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10455 
   10456 
   10457 
   10458 
   10459 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10460 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10461 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10462 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10463 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 if test x$APP_MAN_SUFFIX = x    ; then
   10471     APP_MAN_SUFFIX=1
   10472 fi
   10473 if test x$APP_MAN_DIR = x    ; then
   10474     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10475 fi
   10476 
   10477 if test x$LIB_MAN_SUFFIX = x    ; then
   10478     LIB_MAN_SUFFIX=3
   10479 fi
   10480 if test x$LIB_MAN_DIR = x    ; then
   10481     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10482 fi
   10483 
   10484 if test x$FILE_MAN_SUFFIX = x    ; then
   10485     case $host_os in
   10486 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10487 	*)		FILE_MAN_SUFFIX=5  ;;
   10488     esac
   10489 fi
   10490 if test x$FILE_MAN_DIR = x    ; then
   10491     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10492 fi
   10493 
   10494 if test x$MISC_MAN_SUFFIX = x    ; then
   10495     case $host_os in
   10496 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10497 	*)		MISC_MAN_SUFFIX=7  ;;
   10498     esac
   10499 fi
   10500 if test x$MISC_MAN_DIR = x    ; then
   10501     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10502 fi
   10503 
   10504 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10505     case $host_os in
   10506 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10507 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10508     esac
   10509 fi
   10510 if test x$DRIVER_MAN_DIR = x    ; then
   10511     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10512 fi
   10513 
   10514 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10515     case $host_os in
   10516 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10517 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10518     esac
   10519 fi
   10520 if test x$ADMIN_MAN_DIR = x    ; then
   10521     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10522 fi
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 XORG_MAN_PAGE="X Version 11"
   10539 
   10540 MAN_SUBSTS="\
   10541 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10542 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10543 	-e 's|__xservername__|Xorg|g' \
   10544 	-e 's|__xconfigfile__|xorg.conf|g' \
   10545 	-e 's|__projectroot__|\$(prefix)|g' \
   10546 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10547 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10548 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10549 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10550 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10551 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10552 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10553 
   10554 
   10555 
   10556 # Check whether --enable-silent-rules was given.
   10557 if test "${enable_silent_rules+set}" = set; then :
   10558   enableval=$enable_silent_rules;
   10559 fi
   10560 
   10561 case $enable_silent_rules in
   10562 yes) AM_DEFAULT_VERBOSITY=0;;
   10563 no)  AM_DEFAULT_VERBOSITY=1;;
   10564 *)   AM_DEFAULT_VERBOSITY=0;;
   10565 esac
   10566 AM_BACKSLASH='\'
   10567 
   10568 
   10569 
   10570 for ac_func in strcasecmp
   10571 do :
   10572   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   10573 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   10574   cat >>confdefs.h <<_ACEOF
   10575 #define HAVE_STRCASECMP 1
   10576 _ACEOF
   10577 
   10578 fi
   10579 done
   10580 
   10581 
   10582 # xkbvleds checks
   10583 
   10584 pkg_failed=no
   10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBVLEDS" >&5
   10586 $as_echo_n "checking for XKBVLEDS... " >&6; }
   10587 
   10588 if test -n "$XKBVLEDS_CFLAGS"; then
   10589     pkg_cv_XKBVLEDS_CFLAGS="$XKBVLEDS_CFLAGS"
   10590  elif test -n "$PKG_CONFIG"; then
   10591     if test -n "$PKG_CONFIG" && \
   10592     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xaw7 xt x11\""; } >&5
   10593   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xaw7 xt x11") 2>&5
   10594   ac_status=$?
   10595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10596   test $ac_status = 0; }; then
   10597   pkg_cv_XKBVLEDS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xaw7 xt x11" 2>/dev/null`
   10598 else
   10599   pkg_failed=yes
   10600 fi
   10601  else
   10602     pkg_failed=untried
   10603 fi
   10604 if test -n "$XKBVLEDS_LIBS"; then
   10605     pkg_cv_XKBVLEDS_LIBS="$XKBVLEDS_LIBS"
   10606  elif test -n "$PKG_CONFIG"; then
   10607     if test -n "$PKG_CONFIG" && \
   10608     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xaw7 xt x11\""; } >&5
   10609   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xaw7 xt x11") 2>&5
   10610   ac_status=$?
   10611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10612   test $ac_status = 0; }; then
   10613   pkg_cv_XKBVLEDS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xaw7 xt x11" 2>/dev/null`
   10614 else
   10615   pkg_failed=yes
   10616 fi
   10617  else
   10618     pkg_failed=untried
   10619 fi
   10620 
   10621 
   10622 
   10623 if test $pkg_failed = yes; then
   10624 
   10625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10626         _pkg_short_errors_supported=yes
   10627 else
   10628         _pkg_short_errors_supported=no
   10629 fi
   10630         if test $_pkg_short_errors_supported = yes; then
   10631 	        XKBVLEDS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17 xaw7 xt x11" 2>&1`
   10632         else
   10633 	        XKBVLEDS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17 xaw7 xt x11" 2>&1`
   10634         fi
   10635 	# Put the nasty error message in config.log where it belongs
   10636 	echo "$XKBVLEDS_PKG_ERRORS" >&5
   10637 
   10638 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xaw7 xt x11) were not met:
   10639 
   10640 $XKBVLEDS_PKG_ERRORS
   10641 
   10642 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10643 installed software in a non-standard prefix.
   10644 
   10645 Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
   10646 and XKBVLEDS_LIBS to avoid the need to call pkg-config.
   10647 See the pkg-config man page for more details.
   10648 " "$LINENO" 5
   10649 elif test $pkg_failed = untried; then
   10650 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10652 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10653 is in your PATH or set the PKG_CONFIG environment variable to the full
   10654 path to pkg-config.
   10655 
   10656 Alternatively, you may set the environment variables XKBVLEDS_CFLAGS
   10657 and XKBVLEDS_LIBS to avoid the need to call pkg-config.
   10658 See the pkg-config man page for more details.
   10659 
   10660 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10661 See \`config.log' for more details" "$LINENO" 5; }
   10662 else
   10663 	XKBVLEDS_CFLAGS=$pkg_cv_XKBVLEDS_CFLAGS
   10664 	XKBVLEDS_LIBS=$pkg_cv_XKBVLEDS_LIBS
   10665         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10666 $as_echo "yes" >&6; }
   10667 	:
   10668 fi
   10669 
   10670 # xkbbell checks
   10671 
   10672 pkg_failed=no
   10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBBELL" >&5
   10674 $as_echo_n "checking for XKBBELL... " >&6; }
   10675 
   10676 if test -n "$XKBBELL_CFLAGS"; then
   10677     pkg_cv_XKBBELL_CFLAGS="$XKBBELL_CFLAGS"
   10678  elif test -n "$PKG_CONFIG"; then
   10679     if test -n "$PKG_CONFIG" && \
   10680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto inputproto x11\""; } >&5
   10681   ($PKG_CONFIG --exists --print-errors "xproto inputproto x11") 2>&5
   10682   ac_status=$?
   10683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10684   test $ac_status = 0; }; then
   10685   pkg_cv_XKBBELL_CFLAGS=`$PKG_CONFIG --cflags "xproto inputproto x11" 2>/dev/null`
   10686 else
   10687   pkg_failed=yes
   10688 fi
   10689  else
   10690     pkg_failed=untried
   10691 fi
   10692 if test -n "$XKBBELL_LIBS"; then
   10693     pkg_cv_XKBBELL_LIBS="$XKBBELL_LIBS"
   10694  elif test -n "$PKG_CONFIG"; then
   10695     if test -n "$PKG_CONFIG" && \
   10696     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto inputproto x11\""; } >&5
   10697   ($PKG_CONFIG --exists --print-errors "xproto inputproto x11") 2>&5
   10698   ac_status=$?
   10699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10700   test $ac_status = 0; }; then
   10701   pkg_cv_XKBBELL_LIBS=`$PKG_CONFIG --libs "xproto inputproto x11" 2>/dev/null`
   10702 else
   10703   pkg_failed=yes
   10704 fi
   10705  else
   10706     pkg_failed=untried
   10707 fi
   10708 
   10709 
   10710 
   10711 if test $pkg_failed = yes; then
   10712 
   10713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10714         _pkg_short_errors_supported=yes
   10715 else
   10716         _pkg_short_errors_supported=no
   10717 fi
   10718         if test $_pkg_short_errors_supported = yes; then
   10719 	        XKBBELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto inputproto x11" 2>&1`
   10720         else
   10721 	        XKBBELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto inputproto x11" 2>&1`
   10722         fi
   10723 	# Put the nasty error message in config.log where it belongs
   10724 	echo "$XKBBELL_PKG_ERRORS" >&5
   10725 
   10726 	as_fn_error $? "Package requirements (xproto inputproto x11) were not met:
   10727 
   10728 $XKBBELL_PKG_ERRORS
   10729 
   10730 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10731 installed software in a non-standard prefix.
   10732 
   10733 Alternatively, you may set the environment variables XKBBELL_CFLAGS
   10734 and XKBBELL_LIBS to avoid the need to call pkg-config.
   10735 See the pkg-config man page for more details.
   10736 " "$LINENO" 5
   10737 elif test $pkg_failed = untried; then
   10738 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10740 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10741 is in your PATH or set the PKG_CONFIG environment variable to the full
   10742 path to pkg-config.
   10743 
   10744 Alternatively, you may set the environment variables XKBBELL_CFLAGS
   10745 and XKBBELL_LIBS to avoid the need to call pkg-config.
   10746 See the pkg-config man page for more details.
   10747 
   10748 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10749 See \`config.log' for more details" "$LINENO" 5; }
   10750 else
   10751 	XKBBELL_CFLAGS=$pkg_cv_XKBBELL_CFLAGS
   10752 	XKBBELL_LIBS=$pkg_cv_XKBBELL_LIBS
   10753         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10754 $as_echo "yes" >&6; }
   10755 	:
   10756 fi
   10757 
   10758 # xkbwatch checks
   10759 
   10760 pkg_failed=no
   10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBWATCH" >&5
   10762 $as_echo_n "checking for XKBWATCH... " >&6; }
   10763 
   10764 if test -n "$XKBWATCH_CFLAGS"; then
   10765     pkg_cv_XKBWATCH_CFLAGS="$XKBWATCH_CFLAGS"
   10766  elif test -n "$PKG_CONFIG"; then
   10767     if test -n "$PKG_CONFIG" && \
   10768     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xaw7 xt x11\""; } >&5
   10769   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xaw7 xt x11") 2>&5
   10770   ac_status=$?
   10771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10772   test $ac_status = 0; }; then
   10773   pkg_cv_XKBWATCH_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xaw7 xt x11" 2>/dev/null`
   10774 else
   10775   pkg_failed=yes
   10776 fi
   10777  else
   10778     pkg_failed=untried
   10779 fi
   10780 if test -n "$XKBWATCH_LIBS"; then
   10781     pkg_cv_XKBWATCH_LIBS="$XKBWATCH_LIBS"
   10782  elif test -n "$PKG_CONFIG"; then
   10783     if test -n "$PKG_CONFIG" && \
   10784     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xaw7 xt x11\""; } >&5
   10785   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xaw7 xt x11") 2>&5
   10786   ac_status=$?
   10787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10788   test $ac_status = 0; }; then
   10789   pkg_cv_XKBWATCH_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xaw7 xt x11" 2>/dev/null`
   10790 else
   10791   pkg_failed=yes
   10792 fi
   10793  else
   10794     pkg_failed=untried
   10795 fi
   10796 
   10797 
   10798 
   10799 if test $pkg_failed = yes; then
   10800 
   10801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10802         _pkg_short_errors_supported=yes
   10803 else
   10804         _pkg_short_errors_supported=no
   10805 fi
   10806         if test $_pkg_short_errors_supported = yes; then
   10807 	        XKBWATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17 xaw7 xt x11" 2>&1`
   10808         else
   10809 	        XKBWATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17 xaw7 xt x11" 2>&1`
   10810         fi
   10811 	# Put the nasty error message in config.log where it belongs
   10812 	echo "$XKBWATCH_PKG_ERRORS" >&5
   10813 
   10814 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xaw7 xt x11) were not met:
   10815 
   10816 $XKBWATCH_PKG_ERRORS
   10817 
   10818 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10819 installed software in a non-standard prefix.
   10820 
   10821 Alternatively, you may set the environment variables XKBWATCH_CFLAGS
   10822 and XKBWATCH_LIBS to avoid the need to call pkg-config.
   10823 See the pkg-config man page for more details.
   10824 " "$LINENO" 5
   10825 elif test $pkg_failed = untried; then
   10826 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10828 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10829 is in your PATH or set the PKG_CONFIG environment variable to the full
   10830 path to pkg-config.
   10831 
   10832 Alternatively, you may set the environment variables XKBWATCH_CFLAGS
   10833 and XKBWATCH_LIBS to avoid the need to call pkg-config.
   10834 See the pkg-config man page for more details.
   10835 
   10836 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10837 See \`config.log' for more details" "$LINENO" 5; }
   10838 else
   10839 	XKBWATCH_CFLAGS=$pkg_cv_XKBWATCH_CFLAGS
   10840 	XKBWATCH_LIBS=$pkg_cv_XKBWATCH_LIBS
   10841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10842 $as_echo "yes" >&6; }
   10843 	:
   10844 fi
   10845 
   10846 ac_config_files="$ac_config_files Makefile man/Makefile"
   10847 
   10848 cat >confcache <<\_ACEOF
   10849 # This file is a shell script that caches the results of configure
   10850 # tests run on this system so they can be shared between configure
   10851 # scripts and configure runs, see configure's option --config-cache.
   10852 # It is not useful on other systems.  If it contains results you don't
   10853 # want to keep, you may remove or edit it.
   10854 #
   10855 # config.status only pays attention to the cache file if you give it
   10856 # the --recheck option to rerun configure.
   10857 #
   10858 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10859 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10860 # following values.
   10861 
   10862 _ACEOF
   10863 
   10864 # The following way of writing the cache mishandles newlines in values,
   10865 # but we know of no workaround that is simple, portable, and efficient.
   10866 # So, we kill variables containing newlines.
   10867 # Ultrix sh set writes to stderr and can't be redirected directly,
   10868 # and sets the high bit in the cache file unless we assign to the vars.
   10869 (
   10870   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10871     eval ac_val=\$$ac_var
   10872     case $ac_val in #(
   10873     *${as_nl}*)
   10874       case $ac_var in #(
   10875       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10876 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10877       esac
   10878       case $ac_var in #(
   10879       _ | IFS | as_nl) ;; #(
   10880       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10881       *) { eval $ac_var=; unset $ac_var;} ;;
   10882       esac ;;
   10883     esac
   10884   done
   10885 
   10886   (set) 2>&1 |
   10887     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10888     *${as_nl}ac_space=\ *)
   10889       # `set' does not quote correctly, so add quotes: double-quote
   10890       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10891       sed -n \
   10892 	"s/'/'\\\\''/g;
   10893 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10894       ;; #(
   10895     *)
   10896       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10897       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10898       ;;
   10899     esac |
   10900     sort
   10901 ) |
   10902   sed '
   10903      /^ac_cv_env_/b end
   10904      t clear
   10905      :clear
   10906      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10907      t end
   10908      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10909      :end' >>confcache
   10910 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10911   if test -w "$cache_file"; then
   10912     if test "x$cache_file" != "x/dev/null"; then
   10913       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10914 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10915       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10916 	cat confcache >"$cache_file"
   10917       else
   10918         case $cache_file in #(
   10919         */* | ?:*)
   10920 	  mv -f confcache "$cache_file"$$ &&
   10921 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10922         *)
   10923 	  mv -f confcache "$cache_file" ;;
   10924 	esac
   10925       fi
   10926     fi
   10927   else
   10928     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10929 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10930   fi
   10931 fi
   10932 rm -f confcache
   10933 
   10934 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10935 # Let make expand exec_prefix.
   10936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10937 
   10938 DEFS=-DHAVE_CONFIG_H
   10939 
   10940 ac_libobjs=
   10941 ac_ltlibobjs=
   10942 U=
   10943 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10944   # 1. Remove the extension, and $U if already installed.
   10945   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10946   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10947   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10948   #    will be set to the directory where LIBOBJS objects are built.
   10949   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10950   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10951 done
   10952 LIBOBJS=$ac_libobjs
   10953 
   10954 LTLIBOBJS=$ac_ltlibobjs
   10955 
   10956 
   10957  if test -n "$EXEEXT"; then
   10958   am__EXEEXT_TRUE=
   10959   am__EXEEXT_FALSE='#'
   10960 else
   10961   am__EXEEXT_TRUE='#'
   10962   am__EXEEXT_FALSE=
   10963 fi
   10964 
   10965 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   10966   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   10967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10968 fi
   10969 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10970   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10972 fi
   10973 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10974   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10976 fi
   10977 
   10978 : "${CONFIG_STATUS=./config.status}"
   10979 ac_write_fail=0
   10980 ac_clean_files_save=$ac_clean_files
   10981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10983 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10984 as_write_fail=0
   10985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10986 #! $SHELL
   10987 # Generated by $as_me.
   10988 # Run this file to recreate the current configuration.
   10989 # Compiler output produced by configure, useful for debugging
   10990 # configure, is in config.log if it exists.
   10991 
   10992 debug=false
   10993 ac_cs_recheck=false
   10994 ac_cs_silent=false
   10995 
   10996 SHELL=\${CONFIG_SHELL-$SHELL}
   10997 export SHELL
   10998 _ASEOF
   10999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11000 ## -------------------- ##
   11001 ## M4sh Initialization. ##
   11002 ## -------------------- ##
   11003 
   11004 # Be more Bourne compatible
   11005 DUALCASE=1; export DUALCASE # for MKS sh
   11006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11007   emulate sh
   11008   NULLCMD=:
   11009   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11010   # is contrary to our usage.  Disable this feature.
   11011   alias -g '${1+"$@"}'='"$@"'
   11012   setopt NO_GLOB_SUBST
   11013 else
   11014   case `(set -o) 2>/dev/null` in #(
   11015   *posix*) :
   11016     set -o posix ;; #(
   11017   *) :
   11018      ;;
   11019 esac
   11020 fi
   11021 
   11022 
   11023 as_nl='
   11024 '
   11025 export as_nl
   11026 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11027 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11030 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11031 # but without wasting forks for bash or zsh.
   11032 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11033     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11034   as_echo='print -r --'
   11035   as_echo_n='print -rn --'
   11036 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11037   as_echo='printf %s\n'
   11038   as_echo_n='printf %s'
   11039 else
   11040   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11041     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11042     as_echo_n='/usr/ucb/echo -n'
   11043   else
   11044     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11045     as_echo_n_body='eval
   11046       arg=$1;
   11047       case $arg in #(
   11048       *"$as_nl"*)
   11049 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11050 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11051       esac;
   11052       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11053     '
   11054     export as_echo_n_body
   11055     as_echo_n='sh -c $as_echo_n_body as_echo'
   11056   fi
   11057   export as_echo_body
   11058   as_echo='sh -c $as_echo_body as_echo'
   11059 fi
   11060 
   11061 # The user is always right.
   11062 if test "${PATH_SEPARATOR+set}" != set; then
   11063   PATH_SEPARATOR=:
   11064   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11065     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11066       PATH_SEPARATOR=';'
   11067   }
   11068 fi
   11069 
   11070 
   11071 # IFS
   11072 # We need space, tab and new line, in precisely that order.  Quoting is
   11073 # there to prevent editors from complaining about space-tab.
   11074 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11075 # splitting by setting IFS to empty value.)
   11076 IFS=" ""	$as_nl"
   11077 
   11078 # Find who we are.  Look in the path if we contain no directory separator.
   11079 as_myself=
   11080 case $0 in #((
   11081   *[\\/]* ) as_myself=$0 ;;
   11082   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11083 for as_dir in $PATH
   11084 do
   11085   IFS=$as_save_IFS
   11086   test -z "$as_dir" && as_dir=.
   11087     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11088   done
   11089 IFS=$as_save_IFS
   11090 
   11091      ;;
   11092 esac
   11093 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11094 # in which case we are not to be found in the path.
   11095 if test "x$as_myself" = x; then
   11096   as_myself=$0
   11097 fi
   11098 if test ! -f "$as_myself"; then
   11099   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11100   exit 1
   11101 fi
   11102 
   11103 # Unset variables that we do not need and which cause bugs (e.g. in
   11104 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11105 # suppresses any "Segmentation fault" message there.  '((' could
   11106 # trigger a bug in pdksh 5.2.14.
   11107 for as_var in BASH_ENV ENV MAIL MAILPATH
   11108 do eval test x\${$as_var+set} = xset \
   11109   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11110 done
   11111 PS1='$ '
   11112 PS2='> '
   11113 PS4='+ '
   11114 
   11115 # NLS nuisances.
   11116 LC_ALL=C
   11117 export LC_ALL
   11118 LANGUAGE=C
   11119 export LANGUAGE
   11120 
   11121 # CDPATH.
   11122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11123 
   11124 
   11125 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11126 # ----------------------------------------
   11127 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11128 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11129 # script with STATUS, using 1 if that was 0.
   11130 as_fn_error ()
   11131 {
   11132   as_status=$1; test $as_status -eq 0 && as_status=1
   11133   if test "$4"; then
   11134     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11135     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11136   fi
   11137   $as_echo "$as_me: error: $2" >&2
   11138   as_fn_exit $as_status
   11139 } # as_fn_error
   11140 
   11141 
   11142 # as_fn_set_status STATUS
   11143 # -----------------------
   11144 # Set $? to STATUS, without forking.
   11145 as_fn_set_status ()
   11146 {
   11147   return $1
   11148 } # as_fn_set_status
   11149 
   11150 # as_fn_exit STATUS
   11151 # -----------------
   11152 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11153 as_fn_exit ()
   11154 {
   11155   set +e
   11156   as_fn_set_status $1
   11157   exit $1
   11158 } # as_fn_exit
   11159 
   11160 # as_fn_unset VAR
   11161 # ---------------
   11162 # Portably unset VAR.
   11163 as_fn_unset ()
   11164 {
   11165   { eval $1=; unset $1;}
   11166 }
   11167 as_unset=as_fn_unset
   11168 # as_fn_append VAR VALUE
   11169 # ----------------------
   11170 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11171 # advantage of any shell optimizations that allow amortized linear growth over
   11172 # repeated appends, instead of the typical quadratic growth present in naive
   11173 # implementations.
   11174 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11175   eval 'as_fn_append ()
   11176   {
   11177     eval $1+=\$2
   11178   }'
   11179 else
   11180   as_fn_append ()
   11181   {
   11182     eval $1=\$$1\$2
   11183   }
   11184 fi # as_fn_append
   11185 
   11186 # as_fn_arith ARG...
   11187 # ------------------
   11188 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11189 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11190 # must be portable across $(()) and expr.
   11191 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11192   eval 'as_fn_arith ()
   11193   {
   11194     as_val=$(( $* ))
   11195   }'
   11196 else
   11197   as_fn_arith ()
   11198   {
   11199     as_val=`expr "$@" || test $? -eq 1`
   11200   }
   11201 fi # as_fn_arith
   11202 
   11203 
   11204 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11205    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11206   as_expr=expr
   11207 else
   11208   as_expr=false
   11209 fi
   11210 
   11211 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11212   as_basename=basename
   11213 else
   11214   as_basename=false
   11215 fi
   11216 
   11217 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11218   as_dirname=dirname
   11219 else
   11220   as_dirname=false
   11221 fi
   11222 
   11223 as_me=`$as_basename -- "$0" ||
   11224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11225 	 X"$0" : 'X\(//\)$' \| \
   11226 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11227 $as_echo X/"$0" |
   11228     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11229 	    s//\1/
   11230 	    q
   11231 	  }
   11232 	  /^X\/\(\/\/\)$/{
   11233 	    s//\1/
   11234 	    q
   11235 	  }
   11236 	  /^X\/\(\/\).*/{
   11237 	    s//\1/
   11238 	    q
   11239 	  }
   11240 	  s/.*/./; q'`
   11241 
   11242 # Avoid depending upon Character Ranges.
   11243 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11244 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11245 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11246 as_cr_digits='0123456789'
   11247 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11248 
   11249 ECHO_C= ECHO_N= ECHO_T=
   11250 case `echo -n x` in #(((((
   11251 -n*)
   11252   case `echo 'xy\c'` in
   11253   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11254   xy)  ECHO_C='\c';;
   11255   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11256        ECHO_T='	';;
   11257   esac;;
   11258 *)
   11259   ECHO_N='-n';;
   11260 esac
   11261 
   11262 rm -f conf$$ conf$$.exe conf$$.file
   11263 if test -d conf$$.dir; then
   11264   rm -f conf$$.dir/conf$$.file
   11265 else
   11266   rm -f conf$$.dir
   11267   mkdir conf$$.dir 2>/dev/null
   11268 fi
   11269 if (echo >conf$$.file) 2>/dev/null; then
   11270   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11271     as_ln_s='ln -s'
   11272     # ... but there are two gotchas:
   11273     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11274     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11275     # In both cases, we have to default to `cp -p'.
   11276     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11277       as_ln_s='cp -p'
   11278   elif ln conf$$.file conf$$ 2>/dev/null; then
   11279     as_ln_s=ln
   11280   else
   11281     as_ln_s='cp -p'
   11282   fi
   11283 else
   11284   as_ln_s='cp -p'
   11285 fi
   11286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11287 rmdir conf$$.dir 2>/dev/null
   11288 
   11289 
   11290 # as_fn_mkdir_p
   11291 # -------------
   11292 # Create "$as_dir" as a directory, including parents if necessary.
   11293 as_fn_mkdir_p ()
   11294 {
   11295 
   11296   case $as_dir in #(
   11297   -*) as_dir=./$as_dir;;
   11298   esac
   11299   test -d "$as_dir" || eval $as_mkdir_p || {
   11300     as_dirs=
   11301     while :; do
   11302       case $as_dir in #(
   11303       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11304       *) as_qdir=$as_dir;;
   11305       esac
   11306       as_dirs="'$as_qdir' $as_dirs"
   11307       as_dir=`$as_dirname -- "$as_dir" ||
   11308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11309 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11310 	 X"$as_dir" : 'X\(//\)$' \| \
   11311 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11312 $as_echo X"$as_dir" |
   11313     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11314 	    s//\1/
   11315 	    q
   11316 	  }
   11317 	  /^X\(\/\/\)[^/].*/{
   11318 	    s//\1/
   11319 	    q
   11320 	  }
   11321 	  /^X\(\/\/\)$/{
   11322 	    s//\1/
   11323 	    q
   11324 	  }
   11325 	  /^X\(\/\).*/{
   11326 	    s//\1/
   11327 	    q
   11328 	  }
   11329 	  s/.*/./; q'`
   11330       test -d "$as_dir" && break
   11331     done
   11332     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11333   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11334 
   11335 
   11336 } # as_fn_mkdir_p
   11337 if mkdir -p . 2>/dev/null; then
   11338   as_mkdir_p='mkdir -p "$as_dir"'
   11339 else
   11340   test -d ./-p && rmdir ./-p
   11341   as_mkdir_p=false
   11342 fi
   11343 
   11344 if test -x / >/dev/null 2>&1; then
   11345   as_test_x='test -x'
   11346 else
   11347   if ls -dL / >/dev/null 2>&1; then
   11348     as_ls_L_option=L
   11349   else
   11350     as_ls_L_option=
   11351   fi
   11352   as_test_x='
   11353     eval sh -c '\''
   11354       if test -d "$1"; then
   11355 	test -d "$1/.";
   11356       else
   11357 	case $1 in #(
   11358 	-*)set "./$1";;
   11359 	esac;
   11360 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11361 	???[sx]*):;;*)false;;esac;fi
   11362     '\'' sh
   11363   '
   11364 fi
   11365 as_executable_p=$as_test_x
   11366 
   11367 # Sed expression to map a string onto a valid CPP name.
   11368 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11369 
   11370 # Sed expression to map a string onto a valid variable name.
   11371 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11372 
   11373 
   11374 exec 6>&1
   11375 ## ----------------------------------- ##
   11376 ## Main body of $CONFIG_STATUS script. ##
   11377 ## ----------------------------------- ##
   11378 _ASEOF
   11379 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11380 
   11381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11382 # Save the log message, to keep $0 and so on meaningful, and to
   11383 # report actual input values of CONFIG_FILES etc. instead of their
   11384 # values after options handling.
   11385 ac_log="
   11386 This file was extended by xkbutils $as_me 1.0.4, which was
   11387 generated by GNU Autoconf 2.68.  Invocation command line was
   11388 
   11389   CONFIG_FILES    = $CONFIG_FILES
   11390   CONFIG_HEADERS  = $CONFIG_HEADERS
   11391   CONFIG_LINKS    = $CONFIG_LINKS
   11392   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11393   $ $0 $@
   11394 
   11395 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11396 "
   11397 
   11398 _ACEOF
   11399 
   11400 case $ac_config_files in *"
   11401 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11402 esac
   11403 
   11404 case $ac_config_headers in *"
   11405 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11406 esac
   11407 
   11408 
   11409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11410 # Files that config.status was made for.
   11411 config_files="$ac_config_files"
   11412 config_headers="$ac_config_headers"
   11413 config_commands="$ac_config_commands"
   11414 
   11415 _ACEOF
   11416 
   11417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11418 ac_cs_usage="\
   11419 \`$as_me' instantiates files and other configuration actions
   11420 from templates according to the current configuration.  Unless the files
   11421 and actions are specified as TAGs, all are instantiated by default.
   11422 
   11423 Usage: $0 [OPTION]... [TAG]...
   11424 
   11425   -h, --help       print this help, then exit
   11426   -V, --version    print version number and configuration settings, then exit
   11427       --config     print configuration, then exit
   11428   -q, --quiet, --silent
   11429                    do not print progress messages
   11430   -d, --debug      don't remove temporary files
   11431       --recheck    update $as_me by reconfiguring in the same conditions
   11432       --file=FILE[:TEMPLATE]
   11433                    instantiate the configuration file FILE
   11434       --header=FILE[:TEMPLATE]
   11435                    instantiate the configuration header FILE
   11436 
   11437 Configuration files:
   11438 $config_files
   11439 
   11440 Configuration headers:
   11441 $config_headers
   11442 
   11443 Configuration commands:
   11444 $config_commands
   11445 
   11446 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11447 
   11448 _ACEOF
   11449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11450 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11451 ac_cs_version="\\
   11452 xkbutils config.status 1.0.4
   11453 configured by $0, generated by GNU Autoconf 2.68,
   11454   with options \\"\$ac_cs_config\\"
   11455 
   11456 Copyright (C) 2010 Free Software Foundation, Inc.
   11457 This config.status script is free software; the Free Software Foundation
   11458 gives unlimited permission to copy, distribute and modify it."
   11459 
   11460 ac_pwd='$ac_pwd'
   11461 srcdir='$srcdir'
   11462 INSTALL='$INSTALL'
   11463 MKDIR_P='$MKDIR_P'
   11464 AWK='$AWK'
   11465 test -n "\$AWK" || AWK=awk
   11466 _ACEOF
   11467 
   11468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11469 # The default lists apply if the user does not specify any file.
   11470 ac_need_defaults=:
   11471 while test $# != 0
   11472 do
   11473   case $1 in
   11474   --*=?*)
   11475     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11476     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11477     ac_shift=:
   11478     ;;
   11479   --*=)
   11480     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11481     ac_optarg=
   11482     ac_shift=:
   11483     ;;
   11484   *)
   11485     ac_option=$1
   11486     ac_optarg=$2
   11487     ac_shift=shift
   11488     ;;
   11489   esac
   11490 
   11491   case $ac_option in
   11492   # Handling of the options.
   11493   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11494     ac_cs_recheck=: ;;
   11495   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11496     $as_echo "$ac_cs_version"; exit ;;
   11497   --config | --confi | --conf | --con | --co | --c )
   11498     $as_echo "$ac_cs_config"; exit ;;
   11499   --debug | --debu | --deb | --de | --d | -d )
   11500     debug=: ;;
   11501   --file | --fil | --fi | --f )
   11502     $ac_shift
   11503     case $ac_optarg in
   11504     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11505     '') as_fn_error $? "missing file argument" ;;
   11506     esac
   11507     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11508     ac_need_defaults=false;;
   11509   --header | --heade | --head | --hea )
   11510     $ac_shift
   11511     case $ac_optarg in
   11512     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11513     esac
   11514     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11515     ac_need_defaults=false;;
   11516   --he | --h)
   11517     # Conflict between --help and --header
   11518     as_fn_error $? "ambiguous option: \`$1'
   11519 Try \`$0 --help' for more information.";;
   11520   --help | --hel | -h )
   11521     $as_echo "$ac_cs_usage"; exit ;;
   11522   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11523   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11524     ac_cs_silent=: ;;
   11525 
   11526   # This is an error.
   11527   -*) as_fn_error $? "unrecognized option: \`$1'
   11528 Try \`$0 --help' for more information." ;;
   11529 
   11530   *) as_fn_append ac_config_targets " $1"
   11531      ac_need_defaults=false ;;
   11532 
   11533   esac
   11534   shift
   11535 done
   11536 
   11537 ac_configure_extra_args=
   11538 
   11539 if $ac_cs_silent; then
   11540   exec 6>/dev/null
   11541   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11542 fi
   11543 
   11544 _ACEOF
   11545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11546 if \$ac_cs_recheck; then
   11547   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11548   shift
   11549   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11550   CONFIG_SHELL='$SHELL'
   11551   export CONFIG_SHELL
   11552   exec "\$@"
   11553 fi
   11554 
   11555 _ACEOF
   11556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11557 exec 5>>config.log
   11558 {
   11559   echo
   11560   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11561 ## Running $as_me. ##
   11562 _ASBOX
   11563   $as_echo "$ac_log"
   11564 } >&5
   11565 
   11566 _ACEOF
   11567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11568 #
   11569 # INIT-COMMANDS
   11570 #
   11571 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11572 
   11573 _ACEOF
   11574 
   11575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11576 
   11577 # Handling of arguments.
   11578 for ac_config_target in $ac_config_targets
   11579 do
   11580   case $ac_config_target in
   11581     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11582     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11583     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11584     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11585 
   11586   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11587   esac
   11588 done
   11589 
   11590 
   11591 # If the user did not use the arguments to specify the items to instantiate,
   11592 # then the envvar interface is used.  Set only those that are not.
   11593 # We use the long form for the default assignment because of an extremely
   11594 # bizarre bug on SunOS 4.1.3.
   11595 if $ac_need_defaults; then
   11596   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11597   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11598   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11599 fi
   11600 
   11601 # Have a temporary directory for convenience.  Make it in the build tree
   11602 # simply because there is no reason against having it here, and in addition,
   11603 # creating and moving files from /tmp can sometimes cause problems.
   11604 # Hook for its removal unless debugging.
   11605 # Note that there is a small window in which the directory will not be cleaned:
   11606 # after its creation but before its name has been assigned to `$tmp'.
   11607 $debug ||
   11608 {
   11609   tmp= ac_tmp=
   11610   trap 'exit_status=$?
   11611   : "${ac_tmp:=$tmp}"
   11612   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11613 ' 0
   11614   trap 'as_fn_exit 1' 1 2 13 15
   11615 }
   11616 # Create a (secure) tmp directory for tmp files.
   11617 
   11618 {
   11619   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11620   test -d "$tmp"
   11621 }  ||
   11622 {
   11623   tmp=./conf$$-$RANDOM
   11624   (umask 077 && mkdir "$tmp")
   11625 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11626 ac_tmp=$tmp
   11627 
   11628 # Set up the scripts for CONFIG_FILES section.
   11629 # No need to generate them if there are no CONFIG_FILES.
   11630 # This happens for instance with `./config.status config.h'.
   11631 if test -n "$CONFIG_FILES"; then
   11632 
   11633 
   11634 ac_cr=`echo X | tr X '\015'`
   11635 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11636 # But we know of no other shell where ac_cr would be empty at this
   11637 # point, so we can use a bashism as a fallback.
   11638 if test "x$ac_cr" = x; then
   11639   eval ac_cr=\$\'\\r\'
   11640 fi
   11641 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11642 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11643   ac_cs_awk_cr='\\r'
   11644 else
   11645   ac_cs_awk_cr=$ac_cr
   11646 fi
   11647 
   11648 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11649 _ACEOF
   11650 
   11651 
   11652 {
   11653   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11654   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11655   echo "_ACEOF"
   11656 } >conf$$subs.sh ||
   11657   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11658 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11659 ac_delim='%!_!# '
   11660 for ac_last_try in false false false false false :; do
   11661   . ./conf$$subs.sh ||
   11662     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11663 
   11664   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11665   if test $ac_delim_n = $ac_delim_num; then
   11666     break
   11667   elif $ac_last_try; then
   11668     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11669   else
   11670     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11671   fi
   11672 done
   11673 rm -f conf$$subs.sh
   11674 
   11675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11676 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11677 _ACEOF
   11678 sed -n '
   11679 h
   11680 s/^/S["/; s/!.*/"]=/
   11681 p
   11682 g
   11683 s/^[^!]*!//
   11684 :repl
   11685 t repl
   11686 s/'"$ac_delim"'$//
   11687 t delim
   11688 :nl
   11689 h
   11690 s/\(.\{148\}\)..*/\1/
   11691 t more1
   11692 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11693 p
   11694 n
   11695 b repl
   11696 :more1
   11697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11698 p
   11699 g
   11700 s/.\{148\}//
   11701 t nl
   11702 :delim
   11703 h
   11704 s/\(.\{148\}\)..*/\1/
   11705 t more2
   11706 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11707 p
   11708 b
   11709 :more2
   11710 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11711 p
   11712 g
   11713 s/.\{148\}//
   11714 t delim
   11715 ' <conf$$subs.awk | sed '
   11716 /^[^""]/{
   11717   N
   11718   s/\n//
   11719 }
   11720 ' >>$CONFIG_STATUS || ac_write_fail=1
   11721 rm -f conf$$subs.awk
   11722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11723 _ACAWK
   11724 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11725   for (key in S) S_is_set[key] = 1
   11726   FS = ""
   11727 
   11728 }
   11729 {
   11730   line = $ 0
   11731   nfields = split(line, field, "@")
   11732   substed = 0
   11733   len = length(field[1])
   11734   for (i = 2; i < nfields; i++) {
   11735     key = field[i]
   11736     keylen = length(key)
   11737     if (S_is_set[key]) {
   11738       value = S[key]
   11739       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11740       len += length(value) + length(field[++i])
   11741       substed = 1
   11742     } else
   11743       len += 1 + keylen
   11744   }
   11745 
   11746   print line
   11747 }
   11748 
   11749 _ACAWK
   11750 _ACEOF
   11751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11752 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11753   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11754 else
   11755   cat
   11756 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11757   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11758 _ACEOF
   11759 
   11760 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11761 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11762 # trailing colons and then remove the whole line if VPATH becomes empty
   11763 # (actually we leave an empty line to preserve line numbers).
   11764 if test "x$srcdir" = x.; then
   11765   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11766 h
   11767 s///
   11768 s/^/:/
   11769 s/[	 ]*$/:/
   11770 s/:\$(srcdir):/:/g
   11771 s/:\${srcdir}:/:/g
   11772 s/:@srcdir@:/:/g
   11773 s/^:*//
   11774 s/:*$//
   11775 x
   11776 s/\(=[	 ]*\).*/\1/
   11777 G
   11778 s/\n//
   11779 s/^[^=]*=[	 ]*$//
   11780 }'
   11781 fi
   11782 
   11783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11784 fi # test -n "$CONFIG_FILES"
   11785 
   11786 # Set up the scripts for CONFIG_HEADERS section.
   11787 # No need to generate them if there are no CONFIG_HEADERS.
   11788 # This happens for instance with `./config.status Makefile'.
   11789 if test -n "$CONFIG_HEADERS"; then
   11790 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11791 BEGIN {
   11792 _ACEOF
   11793 
   11794 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11795 # here-document in config.status, that substitutes the proper values into
   11796 # config.h.in to produce config.h.
   11797 
   11798 # Create a delimiter string that does not exist in confdefs.h, to ease
   11799 # handling of long lines.
   11800 ac_delim='%!_!# '
   11801 for ac_last_try in false false :; do
   11802   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11803   if test -z "$ac_tt"; then
   11804     break
   11805   elif $ac_last_try; then
   11806     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11807   else
   11808     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11809   fi
   11810 done
   11811 
   11812 # For the awk script, D is an array of macro values keyed by name,
   11813 # likewise P contains macro parameters if any.  Preserve backslash
   11814 # newline sequences.
   11815 
   11816 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11817 sed -n '
   11818 s/.\{148\}/&'"$ac_delim"'/g
   11819 t rset
   11820 :rset
   11821 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11822 t def
   11823 d
   11824 :def
   11825 s/\\$//
   11826 t bsnl
   11827 s/["\\]/\\&/g
   11828 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11829 D["\1"]=" \3"/p
   11830 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11831 d
   11832 :bsnl
   11833 s/["\\]/\\&/g
   11834 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11835 D["\1"]=" \3\\\\\\n"\\/p
   11836 t cont
   11837 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11838 t cont
   11839 d
   11840 :cont
   11841 n
   11842 s/.\{148\}/&'"$ac_delim"'/g
   11843 t clear
   11844 :clear
   11845 s/\\$//
   11846 t bsnlc
   11847 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11848 d
   11849 :bsnlc
   11850 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11851 b cont
   11852 ' <confdefs.h | sed '
   11853 s/'"$ac_delim"'/"\\\
   11854 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11855 
   11856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11857   for (key in D) D_is_set[key] = 1
   11858   FS = ""
   11859 }
   11860 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11861   line = \$ 0
   11862   split(line, arg, " ")
   11863   if (arg[1] == "#") {
   11864     defundef = arg[2]
   11865     mac1 = arg[3]
   11866   } else {
   11867     defundef = substr(arg[1], 2)
   11868     mac1 = arg[2]
   11869   }
   11870   split(mac1, mac2, "(") #)
   11871   macro = mac2[1]
   11872   prefix = substr(line, 1, index(line, defundef) - 1)
   11873   if (D_is_set[macro]) {
   11874     # Preserve the white space surrounding the "#".
   11875     print prefix "define", macro P[macro] D[macro]
   11876     next
   11877   } else {
   11878     # Replace #undef with comments.  This is necessary, for example,
   11879     # in the case of _POSIX_SOURCE, which is predefined and required
   11880     # on some systems where configure will not decide to define it.
   11881     if (defundef == "undef") {
   11882       print "/*", prefix defundef, macro, "*/"
   11883       next
   11884     }
   11885   }
   11886 }
   11887 { print }
   11888 _ACAWK
   11889 _ACEOF
   11890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11891   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11892 fi # test -n "$CONFIG_HEADERS"
   11893 
   11894 
   11895 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11896 shift
   11897 for ac_tag
   11898 do
   11899   case $ac_tag in
   11900   :[FHLC]) ac_mode=$ac_tag; continue;;
   11901   esac
   11902   case $ac_mode$ac_tag in
   11903   :[FHL]*:*);;
   11904   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11905   :[FH]-) ac_tag=-:-;;
   11906   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11907   esac
   11908   ac_save_IFS=$IFS
   11909   IFS=:
   11910   set x $ac_tag
   11911   IFS=$ac_save_IFS
   11912   shift
   11913   ac_file=$1
   11914   shift
   11915 
   11916   case $ac_mode in
   11917   :L) ac_source=$1;;
   11918   :[FH])
   11919     ac_file_inputs=
   11920     for ac_f
   11921     do
   11922       case $ac_f in
   11923       -) ac_f="$ac_tmp/stdin";;
   11924       *) # Look for the file first in the build tree, then in the source tree
   11925 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11926 	 # because $ac_f cannot contain `:'.
   11927 	 test -f "$ac_f" ||
   11928 	   case $ac_f in
   11929 	   [\\/$]*) false;;
   11930 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11931 	   esac ||
   11932 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11933       esac
   11934       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11935       as_fn_append ac_file_inputs " '$ac_f'"
   11936     done
   11937 
   11938     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11939     # use $as_me), people would be surprised to read:
   11940     #    /* config.h.  Generated by config.status.  */
   11941     configure_input='Generated from '`
   11942 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11943 	`' by configure.'
   11944     if test x"$ac_file" != x-; then
   11945       configure_input="$ac_file.  $configure_input"
   11946       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11947 $as_echo "$as_me: creating $ac_file" >&6;}
   11948     fi
   11949     # Neutralize special characters interpreted by sed in replacement strings.
   11950     case $configure_input in #(
   11951     *\&* | *\|* | *\\* )
   11952        ac_sed_conf_input=`$as_echo "$configure_input" |
   11953        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11954     *) ac_sed_conf_input=$configure_input;;
   11955     esac
   11956 
   11957     case $ac_tag in
   11958     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11959       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11960     esac
   11961     ;;
   11962   esac
   11963 
   11964   ac_dir=`$as_dirname -- "$ac_file" ||
   11965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11966 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11967 	 X"$ac_file" : 'X\(//\)$' \| \
   11968 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11969 $as_echo X"$ac_file" |
   11970     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11971 	    s//\1/
   11972 	    q
   11973 	  }
   11974 	  /^X\(\/\/\)[^/].*/{
   11975 	    s//\1/
   11976 	    q
   11977 	  }
   11978 	  /^X\(\/\/\)$/{
   11979 	    s//\1/
   11980 	    q
   11981 	  }
   11982 	  /^X\(\/\).*/{
   11983 	    s//\1/
   11984 	    q
   11985 	  }
   11986 	  s/.*/./; q'`
   11987   as_dir="$ac_dir"; as_fn_mkdir_p
   11988   ac_builddir=.
   11989 
   11990 case "$ac_dir" in
   11991 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11992 *)
   11993   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11994   # A ".." for each directory in $ac_dir_suffix.
   11995   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11996   case $ac_top_builddir_sub in
   11997   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11998   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11999   esac ;;
   12000 esac
   12001 ac_abs_top_builddir=$ac_pwd
   12002 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12003 # for backward compatibility:
   12004 ac_top_builddir=$ac_top_build_prefix
   12005 
   12006 case $srcdir in
   12007   .)  # We are building in place.
   12008     ac_srcdir=.
   12009     ac_top_srcdir=$ac_top_builddir_sub
   12010     ac_abs_top_srcdir=$ac_pwd ;;
   12011   [\\/]* | ?:[\\/]* )  # Absolute name.
   12012     ac_srcdir=$srcdir$ac_dir_suffix;
   12013     ac_top_srcdir=$srcdir
   12014     ac_abs_top_srcdir=$srcdir ;;
   12015   *) # Relative name.
   12016     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12017     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12018     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12019 esac
   12020 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12021 
   12022 
   12023   case $ac_mode in
   12024   :F)
   12025   #
   12026   # CONFIG_FILE
   12027   #
   12028 
   12029   case $INSTALL in
   12030   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12031   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12032   esac
   12033   ac_MKDIR_P=$MKDIR_P
   12034   case $MKDIR_P in
   12035   [\\/$]* | ?:[\\/]* ) ;;
   12036   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12037   esac
   12038 _ACEOF
   12039 
   12040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12041 # If the template does not know about datarootdir, expand it.
   12042 # FIXME: This hack should be removed a few years after 2.60.
   12043 ac_datarootdir_hack=; ac_datarootdir_seen=
   12044 ac_sed_dataroot='
   12045 /datarootdir/ {
   12046   p
   12047   q
   12048 }
   12049 /@datadir@/p
   12050 /@docdir@/p
   12051 /@infodir@/p
   12052 /@localedir@/p
   12053 /@mandir@/p'
   12054 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12055 *datarootdir*) ac_datarootdir_seen=yes;;
   12056 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12057   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12058 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12059 _ACEOF
   12060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12061   ac_datarootdir_hack='
   12062   s&@datadir@&$datadir&g
   12063   s&@docdir@&$docdir&g
   12064   s&@infodir@&$infodir&g
   12065   s&@localedir@&$localedir&g
   12066   s&@mandir@&$mandir&g
   12067   s&\\\${datarootdir}&$datarootdir&g' ;;
   12068 esac
   12069 _ACEOF
   12070 
   12071 # Neutralize VPATH when `$srcdir' = `.'.
   12072 # Shell code in configure.ac might set extrasub.
   12073 # FIXME: do we really want to maintain this feature?
   12074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12075 ac_sed_extra="$ac_vpsub
   12076 $extrasub
   12077 _ACEOF
   12078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12079 :t
   12080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12081 s|@configure_input@|$ac_sed_conf_input|;t t
   12082 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12083 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12084 s&@srcdir@&$ac_srcdir&;t t
   12085 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12086 s&@top_srcdir@&$ac_top_srcdir&;t t
   12087 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12088 s&@builddir@&$ac_builddir&;t t
   12089 s&@abs_builddir@&$ac_abs_builddir&;t t
   12090 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12091 s&@INSTALL@&$ac_INSTALL&;t t
   12092 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12093 $ac_datarootdir_hack
   12094 "
   12095 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12096   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12097 
   12098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12099   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12100   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12101       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12102   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12103 which seems to be undefined.  Please make sure it is defined" >&5
   12104 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12105 which seems to be undefined.  Please make sure it is defined" >&2;}
   12106 
   12107   rm -f "$ac_tmp/stdin"
   12108   case $ac_file in
   12109   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12110   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12111   esac \
   12112   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12113  ;;
   12114   :H)
   12115   #
   12116   # CONFIG_HEADER
   12117   #
   12118   if test x"$ac_file" != x-; then
   12119     {
   12120       $as_echo "/* $configure_input  */" \
   12121       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12122     } >"$ac_tmp/config.h" \
   12123       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12124     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12125       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12126 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12127     else
   12128       rm -f "$ac_file"
   12129       mv "$ac_tmp/config.h" "$ac_file" \
   12130 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12131     fi
   12132   else
   12133     $as_echo "/* $configure_input  */" \
   12134       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12135       || as_fn_error $? "could not create -" "$LINENO" 5
   12136   fi
   12137 # Compute "$ac_file"'s index in $config_headers.
   12138 _am_arg="$ac_file"
   12139 _am_stamp_count=1
   12140 for _am_header in $config_headers :; do
   12141   case $_am_header in
   12142     $_am_arg | $_am_arg:* )
   12143       break ;;
   12144     * )
   12145       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12146   esac
   12147 done
   12148 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12149 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12150 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12151 	 X"$_am_arg" : 'X\(//\)$' \| \
   12152 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12153 $as_echo X"$_am_arg" |
   12154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12155 	    s//\1/
   12156 	    q
   12157 	  }
   12158 	  /^X\(\/\/\)[^/].*/{
   12159 	    s//\1/
   12160 	    q
   12161 	  }
   12162 	  /^X\(\/\/\)$/{
   12163 	    s//\1/
   12164 	    q
   12165 	  }
   12166 	  /^X\(\/\).*/{
   12167 	    s//\1/
   12168 	    q
   12169 	  }
   12170 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12171  ;;
   12172 
   12173   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12174 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12175  ;;
   12176   esac
   12177 
   12178 
   12179   case $ac_file$ac_mode in
   12180     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12181   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12182   # are listed without --file.  Let's play safe and only enable the eval
   12183   # if we detect the quoting.
   12184   case $CONFIG_FILES in
   12185   *\'*) eval set x "$CONFIG_FILES" ;;
   12186   *)   set x $CONFIG_FILES ;;
   12187   esac
   12188   shift
   12189   for mf
   12190   do
   12191     # Strip MF so we end up with the name of the file.
   12192     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12193     # Check whether this is an Automake generated Makefile or not.
   12194     # We used to match only the files named `Makefile.in', but
   12195     # some people rename them; so instead we look at the file content.
   12196     # Grep'ing the first line is not enough: some people post-process
   12197     # each Makefile.in and add a new line on top of each file to say so.
   12198     # Grep'ing the whole file is not good either: AIX grep has a line
   12199     # limit of 2048, but all sed's we know have understand at least 4000.
   12200     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12201       dirpart=`$as_dirname -- "$mf" ||
   12202 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12203 	 X"$mf" : 'X\(//\)[^/]' \| \
   12204 	 X"$mf" : 'X\(//\)$' \| \
   12205 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12206 $as_echo X"$mf" |
   12207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12208 	    s//\1/
   12209 	    q
   12210 	  }
   12211 	  /^X\(\/\/\)[^/].*/{
   12212 	    s//\1/
   12213 	    q
   12214 	  }
   12215 	  /^X\(\/\/\)$/{
   12216 	    s//\1/
   12217 	    q
   12218 	  }
   12219 	  /^X\(\/\).*/{
   12220 	    s//\1/
   12221 	    q
   12222 	  }
   12223 	  s/.*/./; q'`
   12224     else
   12225       continue
   12226     fi
   12227     # Extract the definition of DEPDIR, am__include, and am__quote
   12228     # from the Makefile without running `make'.
   12229     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12230     test -z "$DEPDIR" && continue
   12231     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12232     test -z "am__include" && continue
   12233     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12234     # When using ansi2knr, U may be empty or an underscore; expand it
   12235     U=`sed -n 's/^U = //p' < "$mf"`
   12236     # Find all dependency output files, they are included files with
   12237     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12238     # simplest approach to changing $(DEPDIR) to its actual value in the
   12239     # expansion.
   12240     for file in `sed -n "
   12241       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12242 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12243       # Make sure the directory exists.
   12244       test -f "$dirpart/$file" && continue
   12245       fdir=`$as_dirname -- "$file" ||
   12246 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12247 	 X"$file" : 'X\(//\)[^/]' \| \
   12248 	 X"$file" : 'X\(//\)$' \| \
   12249 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12250 $as_echo X"$file" |
   12251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12252 	    s//\1/
   12253 	    q
   12254 	  }
   12255 	  /^X\(\/\/\)[^/].*/{
   12256 	    s//\1/
   12257 	    q
   12258 	  }
   12259 	  /^X\(\/\/\)$/{
   12260 	    s//\1/
   12261 	    q
   12262 	  }
   12263 	  /^X\(\/\).*/{
   12264 	    s//\1/
   12265 	    q
   12266 	  }
   12267 	  s/.*/./; q'`
   12268       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12269       # echo "creating $dirpart/$file"
   12270       echo '# dummy' > "$dirpart/$file"
   12271     done
   12272   done
   12273 }
   12274  ;;
   12275 
   12276   esac
   12277 done # for ac_tag
   12278 
   12279 
   12280 as_fn_exit 0
   12281 _ACEOF
   12282 ac_clean_files=$ac_clean_files_save
   12283 
   12284 test $ac_write_fail = 0 ||
   12285   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12286 
   12287 
   12288 # configure is writing to config.log, and then calls config.status.
   12289 # config.status does its own redirection, appending to config.log.
   12290 # Unfortunately, on DOS this fails, as config.log is still kept open
   12291 # by configure, so config.status won't be able to write to it; its
   12292 # output is simply discarded.  So we exec the FD to /dev/null,
   12293 # effectively closing config.log, so it can be properly (re)opened and
   12294 # appended to by config.status.  When coming back to configure, we
   12295 # need to make the FD available again.
   12296 if test "$no_create" != yes; then
   12297   ac_cs_success=:
   12298   ac_config_status_args=
   12299   test "$silent" = yes &&
   12300     ac_config_status_args="$ac_config_status_args --quiet"
   12301   exec 5>/dev/null
   12302   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12303   exec 5>>config.log
   12304   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12305   # would make configure fail if this is the last instruction.
   12306   $ac_cs_success || as_fn_exit 1
   12307 fi
   12308 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12309   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12310 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12311 fi
   12312 
   12313