Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xkbcomp 1.3.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xkbcomp'
    583 PACKAGE_TARNAME='xkbcomp'
    584 PACKAGE_VERSION='1.3.1'
    585 PACKAGE_STRING='xkbcomp 1.3.1'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XKBCONFIGROOT
    631 REQUIRED_MODULES
    632 XKBCOMP_LIBS
    633 XKBCOMP_CFLAGS
    634 YACC_INST
    635 YFLAGS
    636 YACC
    637 MAN_SUBSTS
    638 XORG_MAN_PAGE
    639 ADMIN_MAN_DIR
    640 DRIVER_MAN_DIR
    641 MISC_MAN_DIR
    642 FILE_MAN_DIR
    643 LIB_MAN_DIR
    644 APP_MAN_DIR
    645 ADMIN_MAN_SUFFIX
    646 DRIVER_MAN_SUFFIX
    647 MISC_MAN_SUFFIX
    648 FILE_MAN_SUFFIX
    649 LIB_MAN_SUFFIX
    650 APP_MAN_SUFFIX
    651 SED
    652 host_os
    653 host_vendor
    654 host_cpu
    655 host
    656 build_os
    657 build_vendor
    658 build_cpu
    659 build
    660 INSTALL_CMD
    661 PKG_CONFIG_LIBDIR
    662 PKG_CONFIG_PATH
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 EGREP
    669 GREP
    670 CPP
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 OBJEXT
    682 EXEEXT
    683 ac_ct_CC
    684 CPPFLAGS
    685 LDFLAGS
    686 CFLAGS
    687 CC
    688 AM_BACKSLASH
    689 AM_DEFAULT_VERBOSITY
    690 AM_DEFAULT_V
    691 AM_V
    692 am__untar
    693 am__tar
    694 AMTAR
    695 am__leading_dot
    696 SET_MAKE
    697 AWK
    698 mkdir_p
    699 MKDIR_P
    700 INSTALL_STRIP_PROGRAM
    701 STRIP
    702 install_sh
    703 MAKEINFO
    704 AUTOHEADER
    705 AUTOMAKE
    706 AUTOCONF
    707 ACLOCAL
    708 VERSION
    709 PACKAGE
    710 CYGPATH_W
    711 am__isrc
    712 INSTALL_DATA
    713 INSTALL_SCRIPT
    714 INSTALL_PROGRAM
    715 target_alias
    716 host_alias
    717 build_alias
    718 LIBS
    719 ECHO_T
    720 ECHO_N
    721 ECHO_C
    722 DEFS
    723 mandir
    724 localedir
    725 libdir
    726 psdir
    727 pdfdir
    728 dvidir
    729 htmldir
    730 infodir
    731 docdir
    732 oldincludedir
    733 includedir
    734 localstatedir
    735 sharedstatedir
    736 sysconfdir
    737 datadir
    738 datarootdir
    739 libexecdir
    740 sbindir
    741 bindir
    742 program_transform_name
    743 prefix
    744 exec_prefix
    745 PACKAGE_URL
    746 PACKAGE_BUGREPORT
    747 PACKAGE_STRING
    748 PACKAGE_VERSION
    749 PACKAGE_TARNAME
    750 PACKAGE_NAME
    751 PATH_SEPARATOR
    752 SHELL'
    753 ac_subst_files=''
    754 ac_user_opts='
    755 enable_option_checking
    756 enable_silent_rules
    757 enable_dependency_tracking
    758 enable_selective_werror
    759 enable_strict_compilation
    760 with_xkb_config_root
    761 '
    762       ac_precious_vars='build_alias
    763 host_alias
    764 target_alias
    765 CC
    766 CFLAGS
    767 LDFLAGS
    768 LIBS
    769 CPPFLAGS
    770 CPP
    771 PKG_CONFIG
    772 PKG_CONFIG_PATH
    773 PKG_CONFIG_LIBDIR
    774 YACC
    775 YFLAGS
    776 XKBCOMP_CFLAGS
    777 XKBCOMP_LIBS'
    778 
    779 
    780 # Initialize some variables set by options.
    781 ac_init_help=
    782 ac_init_version=false
    783 ac_unrecognized_opts=
    784 ac_unrecognized_sep=
    785 # The variables have the same names as the options, with
    786 # dashes changed to underlines.
    787 cache_file=/dev/null
    788 exec_prefix=NONE
    789 no_create=
    790 no_recursion=
    791 prefix=NONE
    792 program_prefix=NONE
    793 program_suffix=NONE
    794 program_transform_name=s,x,x,
    795 silent=
    796 site=
    797 srcdir=
    798 verbose=
    799 x_includes=NONE
    800 x_libraries=NONE
    801 
    802 # Installation directory options.
    803 # These are left unexpanded so users can "make install exec_prefix=/foo"
    804 # and all the variables that are supposed to be based on exec_prefix
    805 # by default will actually change.
    806 # Use braces instead of parens because sh, perl, etc. also accept them.
    807 # (The list follows the same order as the GNU Coding Standards.)
    808 bindir='${exec_prefix}/bin'
    809 sbindir='${exec_prefix}/sbin'
    810 libexecdir='${exec_prefix}/libexec'
    811 datarootdir='${prefix}/share'
    812 datadir='${datarootdir}'
    813 sysconfdir='${prefix}/etc'
    814 sharedstatedir='${prefix}/com'
    815 localstatedir='${prefix}/var'
    816 includedir='${prefix}/include'
    817 oldincludedir='/usr/include'
    818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    819 infodir='${datarootdir}/info'
    820 htmldir='${docdir}'
    821 dvidir='${docdir}'
    822 pdfdir='${docdir}'
    823 psdir='${docdir}'
    824 libdir='${exec_prefix}/lib'
    825 localedir='${datarootdir}/locale'
    826 mandir='${datarootdir}/man'
    827 
    828 ac_prev=
    829 ac_dashdash=
    830 for ac_option
    831 do
    832   # If the previous option needs an argument, assign it.
    833   if test -n "$ac_prev"; then
    834     eval $ac_prev=\$ac_option
    835     ac_prev=
    836     continue
    837   fi
    838 
    839   case $ac_option in
    840   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    841   *=)   ac_optarg= ;;
    842   *)    ac_optarg=yes ;;
    843   esac
    844 
    845   # Accept the important Cygnus configure options, so we can diagnose typos.
    846 
    847   case $ac_dashdash$ac_option in
    848   --)
    849     ac_dashdash=yes ;;
    850 
    851   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    852     ac_prev=bindir ;;
    853   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    854     bindir=$ac_optarg ;;
    855 
    856   -build | --build | --buil | --bui | --bu)
    857     ac_prev=build_alias ;;
    858   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    859     build_alias=$ac_optarg ;;
    860 
    861   -cache-file | --cache-file | --cache-fil | --cache-fi \
    862   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    863     ac_prev=cache_file ;;
    864   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    865   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    866     cache_file=$ac_optarg ;;
    867 
    868   --config-cache | -C)
    869     cache_file=config.cache ;;
    870 
    871   -datadir | --datadir | --datadi | --datad)
    872     ac_prev=datadir ;;
    873   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    874     datadir=$ac_optarg ;;
    875 
    876   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    877   | --dataroo | --dataro | --datar)
    878     ac_prev=datarootdir ;;
    879   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    880   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    881     datarootdir=$ac_optarg ;;
    882 
    883   -disable-* | --disable-*)
    884     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    885     # Reject names that are not valid shell variable names.
    886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    887       as_fn_error $? "invalid feature name: $ac_useropt"
    888     ac_useropt_orig=$ac_useropt
    889     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    890     case $ac_user_opts in
    891       *"
    892 "enable_$ac_useropt"
    893 "*) ;;
    894       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    895 	 ac_unrecognized_sep=', ';;
    896     esac
    897     eval enable_$ac_useropt=no ;;
    898 
    899   -docdir | --docdir | --docdi | --doc | --do)
    900     ac_prev=docdir ;;
    901   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    902     docdir=$ac_optarg ;;
    903 
    904   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    905     ac_prev=dvidir ;;
    906   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    907     dvidir=$ac_optarg ;;
    908 
    909   -enable-* | --enable-*)
    910     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    911     # Reject names that are not valid shell variable names.
    912     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    913       as_fn_error $? "invalid feature name: $ac_useropt"
    914     ac_useropt_orig=$ac_useropt
    915     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    916     case $ac_user_opts in
    917       *"
    918 "enable_$ac_useropt"
    919 "*) ;;
    920       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    921 	 ac_unrecognized_sep=', ';;
    922     esac
    923     eval enable_$ac_useropt=\$ac_optarg ;;
    924 
    925   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    926   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    927   | --exec | --exe | --ex)
    928     ac_prev=exec_prefix ;;
    929   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    930   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    931   | --exec=* | --exe=* | --ex=*)
    932     exec_prefix=$ac_optarg ;;
    933 
    934   -gas | --gas | --ga | --g)
    935     # Obsolete; use --with-gas.
    936     with_gas=yes ;;
    937 
    938   -help | --help | --hel | --he | -h)
    939     ac_init_help=long ;;
    940   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    941     ac_init_help=recursive ;;
    942   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    943     ac_init_help=short ;;
    944 
    945   -host | --host | --hos | --ho)
    946     ac_prev=host_alias ;;
    947   -host=* | --host=* | --hos=* | --ho=*)
    948     host_alias=$ac_optarg ;;
    949 
    950   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    951     ac_prev=htmldir ;;
    952   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    953   | --ht=*)
    954     htmldir=$ac_optarg ;;
    955 
    956   -includedir | --includedir | --includedi | --included | --include \
    957   | --includ | --inclu | --incl | --inc)
    958     ac_prev=includedir ;;
    959   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    960   | --includ=* | --inclu=* | --incl=* | --inc=*)
    961     includedir=$ac_optarg ;;
    962 
    963   -infodir | --infodir | --infodi | --infod | --info | --inf)
    964     ac_prev=infodir ;;
    965   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    966     infodir=$ac_optarg ;;
    967 
    968   -libdir | --libdir | --libdi | --libd)
    969     ac_prev=libdir ;;
    970   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    971     libdir=$ac_optarg ;;
    972 
    973   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    974   | --libexe | --libex | --libe)
    975     ac_prev=libexecdir ;;
    976   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    977   | --libexe=* | --libex=* | --libe=*)
    978     libexecdir=$ac_optarg ;;
    979 
    980   -localedir | --localedir | --localedi | --localed | --locale)
    981     ac_prev=localedir ;;
    982   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    983     localedir=$ac_optarg ;;
    984 
    985   -localstatedir | --localstatedir | --localstatedi | --localstated \
    986   | --localstate | --localstat | --localsta | --localst | --locals)
    987     ac_prev=localstatedir ;;
    988   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    989   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    990     localstatedir=$ac_optarg ;;
    991 
    992   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    993     ac_prev=mandir ;;
    994   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    995     mandir=$ac_optarg ;;
    996 
    997   -nfp | --nfp | --nf)
    998     # Obsolete; use --without-fp.
    999     with_fp=no ;;
   1000 
   1001   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1002   | --no-cr | --no-c | -n)
   1003     no_create=yes ;;
   1004 
   1005   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1006   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1007     no_recursion=yes ;;
   1008 
   1009   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1010   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1011   | --oldin | --oldi | --old | --ol | --o)
   1012     ac_prev=oldincludedir ;;
   1013   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1014   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1015   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1016     oldincludedir=$ac_optarg ;;
   1017 
   1018   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1019     ac_prev=prefix ;;
   1020   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1021     prefix=$ac_optarg ;;
   1022 
   1023   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1024   | --program-pre | --program-pr | --program-p)
   1025     ac_prev=program_prefix ;;
   1026   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1027   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1028     program_prefix=$ac_optarg ;;
   1029 
   1030   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1031   | --program-suf | --program-su | --program-s)
   1032     ac_prev=program_suffix ;;
   1033   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1034   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1035     program_suffix=$ac_optarg ;;
   1036 
   1037   -program-transform-name | --program-transform-name \
   1038   | --program-transform-nam | --program-transform-na \
   1039   | --program-transform-n | --program-transform- \
   1040   | --program-transform | --program-transfor \
   1041   | --program-transfo | --program-transf \
   1042   | --program-trans | --program-tran \
   1043   | --progr-tra | --program-tr | --program-t)
   1044     ac_prev=program_transform_name ;;
   1045   -program-transform-name=* | --program-transform-name=* \
   1046   | --program-transform-nam=* | --program-transform-na=* \
   1047   | --program-transform-n=* | --program-transform-=* \
   1048   | --program-transform=* | --program-transfor=* \
   1049   | --program-transfo=* | --program-transf=* \
   1050   | --program-trans=* | --program-tran=* \
   1051   | --progr-tra=* | --program-tr=* | --program-t=*)
   1052     program_transform_name=$ac_optarg ;;
   1053 
   1054   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1055     ac_prev=pdfdir ;;
   1056   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1057     pdfdir=$ac_optarg ;;
   1058 
   1059   -psdir | --psdir | --psdi | --psd | --ps)
   1060     ac_prev=psdir ;;
   1061   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1062     psdir=$ac_optarg ;;
   1063 
   1064   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1065   | -silent | --silent | --silen | --sile | --sil)
   1066     silent=yes ;;
   1067 
   1068   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1069     ac_prev=sbindir ;;
   1070   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1071   | --sbi=* | --sb=*)
   1072     sbindir=$ac_optarg ;;
   1073 
   1074   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1075   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1076   | --sharedst | --shareds | --shared | --share | --shar \
   1077   | --sha | --sh)
   1078     ac_prev=sharedstatedir ;;
   1079   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1080   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1081   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1082   | --sha=* | --sh=*)
   1083     sharedstatedir=$ac_optarg ;;
   1084 
   1085   -site | --site | --sit)
   1086     ac_prev=site ;;
   1087   -site=* | --site=* | --sit=*)
   1088     site=$ac_optarg ;;
   1089 
   1090   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1091     ac_prev=srcdir ;;
   1092   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1093     srcdir=$ac_optarg ;;
   1094 
   1095   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1096   | --syscon | --sysco | --sysc | --sys | --sy)
   1097     ac_prev=sysconfdir ;;
   1098   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1099   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1100     sysconfdir=$ac_optarg ;;
   1101 
   1102   -target | --target | --targe | --targ | --tar | --ta | --t)
   1103     ac_prev=target_alias ;;
   1104   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1105     target_alias=$ac_optarg ;;
   1106 
   1107   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1108     verbose=yes ;;
   1109 
   1110   -version | --version | --versio | --versi | --vers | -V)
   1111     ac_init_version=: ;;
   1112 
   1113   -with-* | --with-*)
   1114     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1115     # Reject names that are not valid shell variable names.
   1116     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1117       as_fn_error $? "invalid package name: $ac_useropt"
   1118     ac_useropt_orig=$ac_useropt
   1119     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1120     case $ac_user_opts in
   1121       *"
   1122 "with_$ac_useropt"
   1123 "*) ;;
   1124       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1125 	 ac_unrecognized_sep=', ';;
   1126     esac
   1127     eval with_$ac_useropt=\$ac_optarg ;;
   1128 
   1129   -without-* | --without-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=no ;;
   1144 
   1145   --x)
   1146     # Obsolete; use --with-x.
   1147     with_x=yes ;;
   1148 
   1149   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1150   | --x-incl | --x-inc | --x-in | --x-i)
   1151     ac_prev=x_includes ;;
   1152   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1153   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1154     x_includes=$ac_optarg ;;
   1155 
   1156   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1157   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1158     ac_prev=x_libraries ;;
   1159   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1160   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1161     x_libraries=$ac_optarg ;;
   1162 
   1163   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1164 Try \`$0 --help' for more information"
   1165     ;;
   1166 
   1167   *=*)
   1168     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1169     # Reject names that are not valid shell variable names.
   1170     case $ac_envvar in #(
   1171       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1172       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1173     esac
   1174     eval $ac_envvar=\$ac_optarg
   1175     export $ac_envvar ;;
   1176 
   1177   *)
   1178     # FIXME: should be removed in autoconf 3.0.
   1179     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1180     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1181       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1182     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1183     ;;
   1184 
   1185   esac
   1186 done
   1187 
   1188 if test -n "$ac_prev"; then
   1189   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1190   as_fn_error $? "missing argument to $ac_option"
   1191 fi
   1192 
   1193 if test -n "$ac_unrecognized_opts"; then
   1194   case $enable_option_checking in
   1195     no) ;;
   1196     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1197     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1198   esac
   1199 fi
   1200 
   1201 # Check all directory arguments for consistency.
   1202 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1203 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1204 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1205 		libdir localedir mandir
   1206 do
   1207   eval ac_val=\$$ac_var
   1208   # Remove trailing slashes.
   1209   case $ac_val in
   1210     */ )
   1211       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1212       eval $ac_var=\$ac_val;;
   1213   esac
   1214   # Be sure to have absolute directory names.
   1215   case $ac_val in
   1216     [\\/$]* | ?:[\\/]* )  continue;;
   1217     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1218   esac
   1219   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1220 done
   1221 
   1222 # There might be people who depend on the old broken behavior: `$host'
   1223 # used to hold the argument of --host etc.
   1224 # FIXME: To remove some day.
   1225 build=$build_alias
   1226 host=$host_alias
   1227 target=$target_alias
   1228 
   1229 # FIXME: To remove some day.
   1230 if test "x$host_alias" != x; then
   1231   if test "x$build_alias" = x; then
   1232     cross_compiling=maybe
   1233   elif test "x$build_alias" != "x$host_alias"; then
   1234     cross_compiling=yes
   1235   fi
   1236 fi
   1237 
   1238 ac_tool_prefix=
   1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1240 
   1241 test "$silent" = yes && exec 6>/dev/null
   1242 
   1243 
   1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1245 ac_ls_di=`ls -di .` &&
   1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1247   as_fn_error $? "working directory cannot be determined"
   1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1249   as_fn_error $? "pwd does not report name of working directory"
   1250 
   1251 
   1252 # Find the source files, if location was not specified.
   1253 if test -z "$srcdir"; then
   1254   ac_srcdir_defaulted=yes
   1255   # Try the directory containing this script, then the parent directory.
   1256   ac_confdir=`$as_dirname -- "$as_myself" ||
   1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1258 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1259 	 X"$as_myself" : 'X\(//\)$' \| \
   1260 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1261 $as_echo X"$as_myself" |
   1262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\/\)[^/].*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\/\)$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\).*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  s/.*/./; q'`
   1279   srcdir=$ac_confdir
   1280   if test ! -r "$srcdir/$ac_unique_file"; then
   1281     srcdir=..
   1282   fi
   1283 else
   1284   ac_srcdir_defaulted=no
   1285 fi
   1286 if test ! -r "$srcdir/$ac_unique_file"; then
   1287   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1288   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1289 fi
   1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1291 ac_abs_confdir=`(
   1292 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1293 	pwd)`
   1294 # When building in place, set srcdir=.
   1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1296   srcdir=.
   1297 fi
   1298 # Remove unnecessary trailing slashes from srcdir.
   1299 # Double slashes in file names in object file debugging info
   1300 # mess up M-x gdb in Emacs.
   1301 case $srcdir in
   1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1303 esac
   1304 for ac_var in $ac_precious_vars; do
   1305   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_env_${ac_var}_value=\$${ac_var}
   1307   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1308   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1309 done
   1310 
   1311 #
   1312 # Report the --help message.
   1313 #
   1314 if test "$ac_init_help" = "long"; then
   1315   # Omit some internal or obsolete options to make the list less imposing.
   1316   # This message is too long to be a string in the A/UX 3.1 sh.
   1317   cat <<_ACEOF
   1318 \`configure' configures xkbcomp 1.3.1 to adapt to many kinds of systems.
   1319 
   1320 Usage: $0 [OPTION]... [VAR=VALUE]...
   1321 
   1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1323 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1324 
   1325 Defaults for the options are specified in brackets.
   1326 
   1327 Configuration:
   1328   -h, --help              display this help and exit
   1329       --help=short        display options specific to this package
   1330       --help=recursive    display the short help of all the included packages
   1331   -V, --version           display version information and exit
   1332   -q, --quiet, --silent   do not print \`checking ...' messages
   1333       --cache-file=FILE   cache test results in FILE [disabled]
   1334   -C, --config-cache      alias for \`--cache-file=config.cache'
   1335   -n, --no-create         do not create output files
   1336       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1337 
   1338 Installation directories:
   1339   --prefix=PREFIX         install architecture-independent files in PREFIX
   1340                           [$ac_default_prefix]
   1341   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1342                           [PREFIX]
   1343 
   1344 By default, \`make install' will install all the files in
   1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1347 for instance \`--prefix=\$HOME'.
   1348 
   1349 For better control, use the options below.
   1350 
   1351 Fine tuning of the installation directories:
   1352   --bindir=DIR            user executables [EPREFIX/bin]
   1353   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1354   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1355   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1356   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1357   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1358   --libdir=DIR            object code libraries [EPREFIX/lib]
   1359   --includedir=DIR        C header files [PREFIX/include]
   1360   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1361   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1362   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1363   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1364   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1365   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1366   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbcomp]
   1367   --htmldir=DIR           html documentation [DOCDIR]
   1368   --dvidir=DIR            dvi documentation [DOCDIR]
   1369   --pdfdir=DIR            pdf documentation [DOCDIR]
   1370   --psdir=DIR             ps documentation [DOCDIR]
   1371 _ACEOF
   1372 
   1373   cat <<\_ACEOF
   1374 
   1375 Program names:
   1376   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1377   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1378   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1379 
   1380 System types:
   1381   --build=BUILD     configure for building on BUILD [guessed]
   1382   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1383 _ACEOF
   1384 fi
   1385 
   1386 if test -n "$ac_init_help"; then
   1387   case $ac_init_help in
   1388      short | recursive ) echo "Configuration of xkbcomp 1.3.1:";;
   1389    esac
   1390   cat <<\_ACEOF
   1391 
   1392 Optional Features:
   1393   --disable-option-checking  ignore unrecognized --enable/--with options
   1394   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1395   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1396   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1397   --disable-silent-rules  verbose build output (undo: "make V=0")
   1398   --enable-dependency-tracking
   1399                           do not reject slow dependency extractors
   1400   --disable-dependency-tracking
   1401                           speeds up one-time build
   1402   --disable-selective-werror
   1403                           Turn off selective compiler errors. (default:
   1404                           enabled)
   1405   --enable-strict-compilation
   1406                           Enable all warnings from compiler and make them
   1407                           errors (default: disabled)
   1408 
   1409 Optional Packages:
   1410   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1411   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1412   --with-xkb-config-root=<paths>
   1413                           Set default XKB config root (default:
   1414                           ${datadir}/X11/xkb)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   CPP         C preprocessor
   1425   PKG_CONFIG  path to pkg-config utility
   1426   PKG_CONFIG_PATH
   1427               directories to add to pkg-config's search path
   1428   PKG_CONFIG_LIBDIR
   1429               path overriding pkg-config's built-in search path
   1430   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1431               Defaults to the first program found out of: `bison -y', `byacc',
   1432               `yacc'.
   1433   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1434               This script will default YFLAGS to the empty string to avoid a
   1435               default value of `-d' given by some make applications.
   1436   XKBCOMP_CFLAGS
   1437               C compiler flags for XKBCOMP, overriding pkg-config
   1438   XKBCOMP_LIBS
   1439               linker flags for XKBCOMP, overriding pkg-config
   1440 
   1441 Use these variables to override the choices made by `configure' or to help
   1442 it to find libraries and programs with nonstandard names/locations.
   1443 
   1444 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1445 _ACEOF
   1446 ac_status=$?
   1447 fi
   1448 
   1449 if test "$ac_init_help" = "recursive"; then
   1450   # If there are subdirs, report their specific --help.
   1451   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1452     test -d "$ac_dir" ||
   1453       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1454       continue
   1455     ac_builddir=.
   1456 
   1457 case "$ac_dir" in
   1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459 *)
   1460   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1461   # A ".." for each directory in $ac_dir_suffix.
   1462   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1463   case $ac_top_builddir_sub in
   1464   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1465   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1466   esac ;;
   1467 esac
   1468 ac_abs_top_builddir=$ac_pwd
   1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1470 # for backward compatibility:
   1471 ac_top_builddir=$ac_top_build_prefix
   1472 
   1473 case $srcdir in
   1474   .)  # We are building in place.
   1475     ac_srcdir=.
   1476     ac_top_srcdir=$ac_top_builddir_sub
   1477     ac_abs_top_srcdir=$ac_pwd ;;
   1478   [\\/]* | ?:[\\/]* )  # Absolute name.
   1479     ac_srcdir=$srcdir$ac_dir_suffix;
   1480     ac_top_srcdir=$srcdir
   1481     ac_abs_top_srcdir=$srcdir ;;
   1482   *) # Relative name.
   1483     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1484     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1485     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1486 esac
   1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1488 
   1489     cd "$ac_dir" || { ac_status=$?; continue; }
   1490     # Check for guested configure.
   1491     if test -f "$ac_srcdir/configure.gnu"; then
   1492       echo &&
   1493       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1494     elif test -f "$ac_srcdir/configure"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure" --help=recursive
   1497     else
   1498       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1499     fi || ac_status=$?
   1500     cd "$ac_pwd" || { ac_status=$?; break; }
   1501   done
   1502 fi
   1503 
   1504 test -n "$ac_init_help" && exit $ac_status
   1505 if $ac_init_version; then
   1506   cat <<\_ACEOF
   1507 xkbcomp configure 1.3.1
   1508 generated by GNU Autoconf 2.69
   1509 
   1510 Copyright (C) 2012 Free Software Foundation, Inc.
   1511 This configure script is free software; the Free Software Foundation
   1512 gives unlimited permission to copy, distribute and modify it.
   1513 _ACEOF
   1514   exit
   1515 fi
   1516 
   1517 ## ------------------------ ##
   1518 ## Autoconf initialization. ##
   1519 ## ------------------------ ##
   1520 
   1521 # ac_fn_c_try_compile LINENO
   1522 # --------------------------
   1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1524 ac_fn_c_try_compile ()
   1525 {
   1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1527   rm -f conftest.$ac_objext
   1528   if { { ac_try="$ac_compile"
   1529 case "(($ac_try" in
   1530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1531   *) ac_try_echo=$ac_try;;
   1532 esac
   1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1534 $as_echo "$ac_try_echo"; } >&5
   1535   (eval "$ac_compile") 2>conftest.err
   1536   ac_status=$?
   1537   if test -s conftest.err; then
   1538     grep -v '^ *+' conftest.err >conftest.er1
   1539     cat conftest.er1 >&5
   1540     mv -f conftest.er1 conftest.err
   1541   fi
   1542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1543   test $ac_status = 0; } && {
   1544 	 test -z "$ac_c_werror_flag" ||
   1545 	 test ! -s conftest.err
   1546        } && test -s conftest.$ac_objext; then :
   1547   ac_retval=0
   1548 else
   1549   $as_echo "$as_me: failed program was:" >&5
   1550 sed 's/^/| /' conftest.$ac_ext >&5
   1551 
   1552 	ac_retval=1
   1553 fi
   1554   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1555   as_fn_set_status $ac_retval
   1556 
   1557 } # ac_fn_c_try_compile
   1558 
   1559 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1560 # ---------------------------------------------
   1561 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1562 # accordingly.
   1563 ac_fn_c_check_decl ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1567   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1569 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1570 if eval \${$3+:} false; then :
   1571   $as_echo_n "(cached) " >&6
   1572 else
   1573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1574 /* end confdefs.h.  */
   1575 $4
   1576 int
   1577 main ()
   1578 {
   1579 #ifndef $as_decl_name
   1580 #ifdef __cplusplus
   1581   (void) $as_decl_use;
   1582 #else
   1583   (void) $as_decl_name;
   1584 #endif
   1585 #endif
   1586 
   1587   ;
   1588   return 0;
   1589 }
   1590 _ACEOF
   1591 if ac_fn_c_try_compile "$LINENO"; then :
   1592   eval "$3=yes"
   1593 else
   1594   eval "$3=no"
   1595 fi
   1596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1597 fi
   1598 eval ac_res=\$$3
   1599 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1600 $as_echo "$ac_res" >&6; }
   1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1602 
   1603 } # ac_fn_c_check_decl
   1604 
   1605 # ac_fn_c_try_cpp LINENO
   1606 # ----------------------
   1607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1608 ac_fn_c_try_cpp ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1612 case "(($ac_try" in
   1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1614   *) ac_try_echo=$ac_try;;
   1615 esac
   1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1617 $as_echo "$ac_try_echo"; } >&5
   1618   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1619   ac_status=$?
   1620   if test -s conftest.err; then
   1621     grep -v '^ *+' conftest.err >conftest.er1
   1622     cat conftest.er1 >&5
   1623     mv -f conftest.er1 conftest.err
   1624   fi
   1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1626   test $ac_status = 0; } > conftest.i && {
   1627 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1628 	 test ! -s conftest.err
   1629        }; then :
   1630   ac_retval=0
   1631 else
   1632   $as_echo "$as_me: failed program was:" >&5
   1633 sed 's/^/| /' conftest.$ac_ext >&5
   1634 
   1635     ac_retval=1
   1636 fi
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_cpp
   1641 
   1642 # ac_fn_c_try_run LINENO
   1643 # ----------------------
   1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1645 # that executables *can* be run.
   1646 ac_fn_c_try_run ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   if { { ac_try="$ac_link"
   1650 case "(($ac_try" in
   1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1652   *) ac_try_echo=$ac_try;;
   1653 esac
   1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1655 $as_echo "$ac_try_echo"; } >&5
   1656   (eval "$ac_link") 2>&5
   1657   ac_status=$?
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1660   { { case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_try") 2>&5
   1667   ac_status=$?
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; }; }; then :
   1670   ac_retval=0
   1671 else
   1672   $as_echo "$as_me: program exited with status $ac_status" >&5
   1673        $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676        ac_retval=$ac_status
   1677 fi
   1678   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680   as_fn_set_status $ac_retval
   1681 
   1682 } # ac_fn_c_try_run
   1683 
   1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1685 # -------------------------------------------------------
   1686 # Tests whether HEADER exists and can be compiled using the include files in
   1687 # INCLUDES, setting the cache variable VAR accordingly.
   1688 ac_fn_c_check_header_compile ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1692 $as_echo_n "checking for $2... " >&6; }
   1693 if eval \${$3+:} false; then :
   1694   $as_echo_n "(cached) " >&6
   1695 else
   1696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1697 /* end confdefs.h.  */
   1698 $4
   1699 #include <$2>
   1700 _ACEOF
   1701 if ac_fn_c_try_compile "$LINENO"; then :
   1702   eval "$3=yes"
   1703 else
   1704   eval "$3=no"
   1705 fi
   1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1707 fi
   1708 eval ac_res=\$$3
   1709 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1710 $as_echo "$ac_res" >&6; }
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712 
   1713 } # ac_fn_c_check_header_compile
   1714 
   1715 # ac_fn_c_try_link LINENO
   1716 # -----------------------
   1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1718 ac_fn_c_try_link ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   rm -f conftest.$ac_objext conftest$ac_exeext
   1722   if { { ac_try="$ac_link"
   1723 case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 $as_echo "$ac_try_echo"; } >&5
   1729   (eval "$ac_link") 2>conftest.err
   1730   ac_status=$?
   1731   if test -s conftest.err; then
   1732     grep -v '^ *+' conftest.err >conftest.er1
   1733     cat conftest.er1 >&5
   1734     mv -f conftest.er1 conftest.err
   1735   fi
   1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; } && {
   1738 	 test -z "$ac_c_werror_flag" ||
   1739 	 test ! -s conftest.err
   1740        } && test -s conftest$ac_exeext && {
   1741 	 test "$cross_compiling" = yes ||
   1742 	 test -x conftest$ac_exeext
   1743        }; then :
   1744   ac_retval=0
   1745 else
   1746   $as_echo "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749 	ac_retval=1
   1750 fi
   1751   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1752   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1753   # interfere with the next link command; also delete a directory that is
   1754   # left behind by Apple's compiler.  We do this before executing the actions.
   1755   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1756   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1757   as_fn_set_status $ac_retval
   1758 
   1759 } # ac_fn_c_try_link
   1760 
   1761 # ac_fn_c_check_func LINENO FUNC VAR
   1762 # ----------------------------------
   1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1764 ac_fn_c_check_func ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1768 $as_echo_n "checking for $2... " >&6; }
   1769 if eval \${$3+:} false; then :
   1770   $as_echo_n "(cached) " >&6
   1771 else
   1772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1773 /* end confdefs.h.  */
   1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1776 #define $2 innocuous_$2
   1777 
   1778 /* System header to define __stub macros and hopefully few prototypes,
   1779     which can conflict with char $2 (); below.
   1780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1781     <limits.h> exists even on freestanding compilers.  */
   1782 
   1783 #ifdef __STDC__
   1784 # include <limits.h>
   1785 #else
   1786 # include <assert.h>
   1787 #endif
   1788 
   1789 #undef $2
   1790 
   1791 /* Override any GCC internal prototype to avoid an error.
   1792    Use char because int might match the return type of a GCC
   1793    builtin and then its argument prototype would still apply.  */
   1794 #ifdef __cplusplus
   1795 extern "C"
   1796 #endif
   1797 char $2 ();
   1798 /* The GNU C library defines this for functions which it implements
   1799     to always fail with ENOSYS.  Some functions are actually named
   1800     something starting with __ and the normal name is an alias.  */
   1801 #if defined __stub_$2 || defined __stub___$2
   1802 choke me
   1803 #endif
   1804 
   1805 int
   1806 main ()
   1807 {
   1808 return $2 ();
   1809   ;
   1810   return 0;
   1811 }
   1812 _ACEOF
   1813 if ac_fn_c_try_link "$LINENO"; then :
   1814   eval "$3=yes"
   1815 else
   1816   eval "$3=no"
   1817 fi
   1818 rm -f core conftest.err conftest.$ac_objext \
   1819     conftest$ac_exeext conftest.$ac_ext
   1820 fi
   1821 eval ac_res=\$$3
   1822 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1823 $as_echo "$ac_res" >&6; }
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825 
   1826 } # ac_fn_c_check_func
   1827 cat >config.log <<_ACEOF
   1828 This file contains any messages produced by compilers while
   1829 running configure, to aid debugging if configure makes a mistake.
   1830 
   1831 It was created by xkbcomp $as_me 1.3.1, which was
   1832 generated by GNU Autoconf 2.69.  Invocation command line was
   1833 
   1834   $ $0 $@
   1835 
   1836 _ACEOF
   1837 exec 5>>config.log
   1838 {
   1839 cat <<_ASUNAME
   1840 ## --------- ##
   1841 ## Platform. ##
   1842 ## --------- ##
   1843 
   1844 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1845 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1846 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1847 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1848 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1849 
   1850 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1851 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1852 
   1853 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1854 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1855 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1856 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1857 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1858 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1859 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1860 
   1861 _ASUNAME
   1862 
   1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1864 for as_dir in $PATH
   1865 do
   1866   IFS=$as_save_IFS
   1867   test -z "$as_dir" && as_dir=.
   1868     $as_echo "PATH: $as_dir"
   1869   done
   1870 IFS=$as_save_IFS
   1871 
   1872 } >&5
   1873 
   1874 cat >&5 <<_ACEOF
   1875 
   1876 
   1877 ## ----------- ##
   1878 ## Core tests. ##
   1879 ## ----------- ##
   1880 
   1881 _ACEOF
   1882 
   1883 
   1884 # Keep a trace of the command line.
   1885 # Strip out --no-create and --no-recursion so they do not pile up.
   1886 # Strip out --silent because we don't want to record it for future runs.
   1887 # Also quote any args containing shell meta-characters.
   1888 # Make two passes to allow for proper duplicate-argument suppression.
   1889 ac_configure_args=
   1890 ac_configure_args0=
   1891 ac_configure_args1=
   1892 ac_must_keep_next=false
   1893 for ac_pass in 1 2
   1894 do
   1895   for ac_arg
   1896   do
   1897     case $ac_arg in
   1898     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1899     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1900     | -silent | --silent | --silen | --sile | --sil)
   1901       continue ;;
   1902     *\'*)
   1903       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1904     esac
   1905     case $ac_pass in
   1906     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1907     2)
   1908       as_fn_append ac_configure_args1 " '$ac_arg'"
   1909       if test $ac_must_keep_next = true; then
   1910 	ac_must_keep_next=false # Got value, back to normal.
   1911       else
   1912 	case $ac_arg in
   1913 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1914 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1915 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1916 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1917 	    case "$ac_configure_args0 " in
   1918 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1919 	    esac
   1920 	    ;;
   1921 	  -* ) ac_must_keep_next=true ;;
   1922 	esac
   1923       fi
   1924       as_fn_append ac_configure_args " '$ac_arg'"
   1925       ;;
   1926     esac
   1927   done
   1928 done
   1929 { ac_configure_args0=; unset ac_configure_args0;}
   1930 { ac_configure_args1=; unset ac_configure_args1;}
   1931 
   1932 # When interrupted or exit'd, cleanup temporary files, and complete
   1933 # config.log.  We remove comments because anyway the quotes in there
   1934 # would cause problems or look ugly.
   1935 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1936 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1937 trap 'exit_status=$?
   1938   # Save into config.log some information that might help in debugging.
   1939   {
   1940     echo
   1941 
   1942     $as_echo "## ---------------- ##
   1943 ## Cache variables. ##
   1944 ## ---------------- ##"
   1945     echo
   1946     # The following way of writing the cache mishandles newlines in values,
   1947 (
   1948   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1949     eval ac_val=\$$ac_var
   1950     case $ac_val in #(
   1951     *${as_nl}*)
   1952       case $ac_var in #(
   1953       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1955       esac
   1956       case $ac_var in #(
   1957       _ | IFS | as_nl) ;; #(
   1958       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1959       *) { eval $ac_var=; unset $ac_var;} ;;
   1960       esac ;;
   1961     esac
   1962   done
   1963   (set) 2>&1 |
   1964     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1965     *${as_nl}ac_space=\ *)
   1966       sed -n \
   1967 	"s/'\''/'\''\\\\'\'''\''/g;
   1968 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1969       ;; #(
   1970     *)
   1971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1972       ;;
   1973     esac |
   1974     sort
   1975 )
   1976     echo
   1977 
   1978     $as_echo "## ----------------- ##
   1979 ## Output variables. ##
   1980 ## ----------------- ##"
   1981     echo
   1982     for ac_var in $ac_subst_vars
   1983     do
   1984       eval ac_val=\$$ac_var
   1985       case $ac_val in
   1986       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1987       esac
   1988       $as_echo "$ac_var='\''$ac_val'\''"
   1989     done | sort
   1990     echo
   1991 
   1992     if test -n "$ac_subst_files"; then
   1993       $as_echo "## ------------------- ##
   1994 ## File substitutions. ##
   1995 ## ------------------- ##"
   1996       echo
   1997       for ac_var in $ac_subst_files
   1998       do
   1999 	eval ac_val=\$$ac_var
   2000 	case $ac_val in
   2001 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2002 	esac
   2003 	$as_echo "$ac_var='\''$ac_val'\''"
   2004       done | sort
   2005       echo
   2006     fi
   2007 
   2008     if test -s confdefs.h; then
   2009       $as_echo "## ----------- ##
   2010 ## confdefs.h. ##
   2011 ## ----------- ##"
   2012       echo
   2013       cat confdefs.h
   2014       echo
   2015     fi
   2016     test "$ac_signal" != 0 &&
   2017       $as_echo "$as_me: caught signal $ac_signal"
   2018     $as_echo "$as_me: exit $exit_status"
   2019   } >&5
   2020   rm -f core *.core core.conftest.* &&
   2021     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2022     exit $exit_status
   2023 ' 0
   2024 for ac_signal in 1 2 13 15; do
   2025   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2026 done
   2027 ac_signal=0
   2028 
   2029 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2030 rm -f -r conftest* confdefs.h
   2031 
   2032 $as_echo "/* confdefs.h */" > confdefs.h
   2033 
   2034 # Predefined preprocessor variables.
   2035 
   2036 cat >>confdefs.h <<_ACEOF
   2037 #define PACKAGE_NAME "$PACKAGE_NAME"
   2038 _ACEOF
   2039 
   2040 cat >>confdefs.h <<_ACEOF
   2041 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2042 _ACEOF
   2043 
   2044 cat >>confdefs.h <<_ACEOF
   2045 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2046 _ACEOF
   2047 
   2048 cat >>confdefs.h <<_ACEOF
   2049 #define PACKAGE_STRING "$PACKAGE_STRING"
   2050 _ACEOF
   2051 
   2052 cat >>confdefs.h <<_ACEOF
   2053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2054 _ACEOF
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_URL "$PACKAGE_URL"
   2058 _ACEOF
   2059 
   2060 
   2061 # Let the site file select an alternate cache file if it wants to.
   2062 # Prefer an explicitly selected file to automatically selected ones.
   2063 ac_site_file1=NONE
   2064 ac_site_file2=NONE
   2065 if test -n "$CONFIG_SITE"; then
   2066   # We do not want a PATH search for config.site.
   2067   case $CONFIG_SITE in #((
   2068     -*)  ac_site_file1=./$CONFIG_SITE;;
   2069     */*) ac_site_file1=$CONFIG_SITE;;
   2070     *)   ac_site_file1=./$CONFIG_SITE;;
   2071   esac
   2072 elif test "x$prefix" != xNONE; then
   2073   ac_site_file1=$prefix/share/config.site
   2074   ac_site_file2=$prefix/etc/config.site
   2075 else
   2076   ac_site_file1=$ac_default_prefix/share/config.site
   2077   ac_site_file2=$ac_default_prefix/etc/config.site
   2078 fi
   2079 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2080 do
   2081   test "x$ac_site_file" = xNONE && continue
   2082   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2083     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2084 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2085     sed 's/^/| /' "$ac_site_file" >&5
   2086     . "$ac_site_file" \
   2087       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2089 as_fn_error $? "failed to load site script $ac_site_file
   2090 See \`config.log' for more details" "$LINENO" 5; }
   2091   fi
   2092 done
   2093 
   2094 if test -r "$cache_file"; then
   2095   # Some versions of bash will fail to source /dev/null (special files
   2096   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2097   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2098     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2099 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2100     case $cache_file in
   2101       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2102       *)                      . "./$cache_file";;
   2103     esac
   2104   fi
   2105 else
   2106   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2107 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2108   >$cache_file
   2109 fi
   2110 
   2111 # Check that the precious variables saved in the cache have kept the same
   2112 # value.
   2113 ac_cache_corrupted=false
   2114 for ac_var in $ac_precious_vars; do
   2115   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2116   eval ac_new_set=\$ac_env_${ac_var}_set
   2117   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2118   eval ac_new_val=\$ac_env_${ac_var}_value
   2119   case $ac_old_set,$ac_new_set in
   2120     set,)
   2121       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2122 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2123       ac_cache_corrupted=: ;;
   2124     ,set)
   2125       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2126 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2127       ac_cache_corrupted=: ;;
   2128     ,);;
   2129     *)
   2130       if test "x$ac_old_val" != "x$ac_new_val"; then
   2131 	# differences in whitespace do not lead to failure.
   2132 	ac_old_val_w=`echo x $ac_old_val`
   2133 	ac_new_val_w=`echo x $ac_new_val`
   2134 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2135 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2136 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2137 	  ac_cache_corrupted=:
   2138 	else
   2139 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2140 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2141 	  eval $ac_var=\$ac_old_val
   2142 	fi
   2143 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2144 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2145 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2146 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2147       fi;;
   2148   esac
   2149   # Pass precious variables to config.status.
   2150   if test "$ac_new_set" = set; then
   2151     case $ac_new_val in
   2152     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2153     *) ac_arg=$ac_var=$ac_new_val ;;
   2154     esac
   2155     case " $ac_configure_args " in
   2156       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2157       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2158     esac
   2159   fi
   2160 done
   2161 if $ac_cache_corrupted; then
   2162   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2164   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2165 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2166   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2167 fi
   2168 ## -------------------- ##
   2169 ## Main body of script. ##
   2170 ## -------------------- ##
   2171 
   2172 ac_ext=c
   2173 ac_cpp='$CPP $CPPFLAGS'
   2174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2177 
   2178 
   2179 
   2180 ac_config_headers="$ac_config_headers config.h"
   2181 
   2182 
   2183 # Initialize Automake
   2184 am__api_version='1.15'
   2185 
   2186 ac_aux_dir=
   2187 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2188   if test -f "$ac_dir/install-sh"; then
   2189     ac_aux_dir=$ac_dir
   2190     ac_install_sh="$ac_aux_dir/install-sh -c"
   2191     break
   2192   elif test -f "$ac_dir/install.sh"; then
   2193     ac_aux_dir=$ac_dir
   2194     ac_install_sh="$ac_aux_dir/install.sh -c"
   2195     break
   2196   elif test -f "$ac_dir/shtool"; then
   2197     ac_aux_dir=$ac_dir
   2198     ac_install_sh="$ac_aux_dir/shtool install -c"
   2199     break
   2200   fi
   2201 done
   2202 if test -z "$ac_aux_dir"; then
   2203   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2204 fi
   2205 
   2206 # These three variables are undocumented and unsupported,
   2207 # and are intended to be withdrawn in a future Autoconf release.
   2208 # They can cause serious problems if a builder's source tree is in a directory
   2209 # whose full name contains unusual characters.
   2210 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2211 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2212 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2213 
   2214 
   2215 # Find a good install program.  We prefer a C program (faster),
   2216 # so one script is as good as another.  But avoid the broken or
   2217 # incompatible versions:
   2218 # SysV /etc/install, /usr/sbin/install
   2219 # SunOS /usr/etc/install
   2220 # IRIX /sbin/install
   2221 # AIX /bin/install
   2222 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2223 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2224 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2225 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2226 # OS/2's system install, which has a completely different semantic
   2227 # ./install, which can be erroneously created by make from ./install.sh.
   2228 # Reject install programs that cannot install multiple files.
   2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2230 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2231 if test -z "$INSTALL"; then
   2232 if ${ac_cv_path_install+:} false; then :
   2233   $as_echo_n "(cached) " >&6
   2234 else
   2235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2236 for as_dir in $PATH
   2237 do
   2238   IFS=$as_save_IFS
   2239   test -z "$as_dir" && as_dir=.
   2240     # Account for people who put trailing slashes in PATH elements.
   2241 case $as_dir/ in #((
   2242   ./ | .// | /[cC]/* | \
   2243   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2244   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2245   /usr/ucb/* ) ;;
   2246   *)
   2247     # OSF1 and SCO ODT 3.0 have their own names for install.
   2248     # Don't use installbsd from OSF since it installs stuff as root
   2249     # by default.
   2250     for ac_prog in ginstall scoinst install; do
   2251       for ac_exec_ext in '' $ac_executable_extensions; do
   2252 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2253 	  if test $ac_prog = install &&
   2254 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2255 	    # AIX install.  It has an incompatible calling convention.
   2256 	    :
   2257 	  elif test $ac_prog = install &&
   2258 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2259 	    # program-specific install script used by HP pwplus--don't use.
   2260 	    :
   2261 	  else
   2262 	    rm -rf conftest.one conftest.two conftest.dir
   2263 	    echo one > conftest.one
   2264 	    echo two > conftest.two
   2265 	    mkdir conftest.dir
   2266 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2267 	      test -s conftest.one && test -s conftest.two &&
   2268 	      test -s conftest.dir/conftest.one &&
   2269 	      test -s conftest.dir/conftest.two
   2270 	    then
   2271 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2272 	      break 3
   2273 	    fi
   2274 	  fi
   2275 	fi
   2276       done
   2277     done
   2278     ;;
   2279 esac
   2280 
   2281   done
   2282 IFS=$as_save_IFS
   2283 
   2284 rm -rf conftest.one conftest.two conftest.dir
   2285 
   2286 fi
   2287   if test "${ac_cv_path_install+set}" = set; then
   2288     INSTALL=$ac_cv_path_install
   2289   else
   2290     # As a last resort, use the slow shell script.  Don't cache a
   2291     # value for INSTALL within a source directory, because that will
   2292     # break other packages using the cache if that directory is
   2293     # removed, or if the value is a relative name.
   2294     INSTALL=$ac_install_sh
   2295   fi
   2296 fi
   2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2298 $as_echo "$INSTALL" >&6; }
   2299 
   2300 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2301 # It thinks the first close brace ends the variable substitution.
   2302 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2303 
   2304 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2305 
   2306 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2307 
   2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2309 $as_echo_n "checking whether build environment is sane... " >&6; }
   2310 # Reject unsafe characters in $srcdir or the absolute working directory
   2311 # name.  Accept space and tab only in the latter.
   2312 am_lf='
   2313 '
   2314 case `pwd` in
   2315   *[\\\"\#\$\&\'\`$am_lf]*)
   2316     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2317 esac
   2318 case $srcdir in
   2319   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2320     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2321 esac
   2322 
   2323 # Do 'set' in a subshell so we don't clobber the current shell's
   2324 # arguments.  Must try -L first in case configure is actually a
   2325 # symlink; some systems play weird games with the mod time of symlinks
   2326 # (eg FreeBSD returns the mod time of the symlink's containing
   2327 # directory).
   2328 if (
   2329    am_has_slept=no
   2330    for am_try in 1 2; do
   2331      echo "timestamp, slept: $am_has_slept" > conftest.file
   2332      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2333      if test "$*" = "X"; then
   2334 	# -L didn't work.
   2335 	set X `ls -t "$srcdir/configure" conftest.file`
   2336      fi
   2337      if test "$*" != "X $srcdir/configure conftest.file" \
   2338 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2339 
   2340 	# If neither matched, then we have a broken ls.  This can happen
   2341 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2342 	# broken ls alias from the environment.  This has actually
   2343 	# happened.  Such a system could not be considered "sane".
   2344 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2345   alias in your environment" "$LINENO" 5
   2346      fi
   2347      if test "$2" = conftest.file || test $am_try -eq 2; then
   2348        break
   2349      fi
   2350      # Just in case.
   2351      sleep 1
   2352      am_has_slept=yes
   2353    done
   2354    test "$2" = conftest.file
   2355    )
   2356 then
   2357    # Ok.
   2358    :
   2359 else
   2360    as_fn_error $? "newly created file is older than distributed files!
   2361 Check your system clock" "$LINENO" 5
   2362 fi
   2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2364 $as_echo "yes" >&6; }
   2365 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2366 # generated files are strictly newer.
   2367 am_sleep_pid=
   2368 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2369   ( sleep 1 ) &
   2370   am_sleep_pid=$!
   2371 fi
   2372 
   2373 rm -f conftest.file
   2374 
   2375 test "$program_prefix" != NONE &&
   2376   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2377 # Use a double $ so make ignores it.
   2378 test "$program_suffix" != NONE &&
   2379   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2380 # Double any \ or $.
   2381 # By default was `s,x,x', remove it if useless.
   2382 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2383 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2384 
   2385 # Expand $ac_aux_dir to an absolute path.
   2386 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2387 
   2388 if test x"${MISSING+set}" != xset; then
   2389   case $am_aux_dir in
   2390   *\ * | *\	*)
   2391     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2392   *)
   2393     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2394   esac
   2395 fi
   2396 # Use eval to expand $SHELL
   2397 if eval "$MISSING --is-lightweight"; then
   2398   am_missing_run="$MISSING "
   2399 else
   2400   am_missing_run=
   2401   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2402 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2403 fi
   2404 
   2405 if test x"${install_sh+set}" != xset; then
   2406   case $am_aux_dir in
   2407   *\ * | *\	*)
   2408     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2409   *)
   2410     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2411   esac
   2412 fi
   2413 
   2414 # Installed binaries are usually stripped using 'strip' when the user
   2415 # run "make install-strip".  However 'strip' might not be the right
   2416 # tool to use in cross-compilation environments, therefore Automake
   2417 # will honor the 'STRIP' environment variable to overrule this program.
   2418 if test "$cross_compiling" != no; then
   2419   if test -n "$ac_tool_prefix"; then
   2420   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2421 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2423 $as_echo_n "checking for $ac_word... " >&6; }
   2424 if ${ac_cv_prog_STRIP+:} false; then :
   2425   $as_echo_n "(cached) " >&6
   2426 else
   2427   if test -n "$STRIP"; then
   2428   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2429 else
   2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2431 for as_dir in $PATH
   2432 do
   2433   IFS=$as_save_IFS
   2434   test -z "$as_dir" && as_dir=.
   2435     for ac_exec_ext in '' $ac_executable_extensions; do
   2436   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2437     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2439     break 2
   2440   fi
   2441 done
   2442   done
   2443 IFS=$as_save_IFS
   2444 
   2445 fi
   2446 fi
   2447 STRIP=$ac_cv_prog_STRIP
   2448 if test -n "$STRIP"; then
   2449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2450 $as_echo "$STRIP" >&6; }
   2451 else
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2453 $as_echo "no" >&6; }
   2454 fi
   2455 
   2456 
   2457 fi
   2458 if test -z "$ac_cv_prog_STRIP"; then
   2459   ac_ct_STRIP=$STRIP
   2460   # Extract the first word of "strip", so it can be a program name with args.
   2461 set dummy strip; ac_word=$2
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2463 $as_echo_n "checking for $ac_word... " >&6; }
   2464 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test -n "$ac_ct_STRIP"; then
   2468   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2469 else
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 for as_dir in $PATH
   2472 do
   2473   IFS=$as_save_IFS
   2474   test -z "$as_dir" && as_dir=.
   2475     for ac_exec_ext in '' $ac_executable_extensions; do
   2476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2477     ac_cv_prog_ac_ct_STRIP="strip"
   2478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2479     break 2
   2480   fi
   2481 done
   2482   done
   2483 IFS=$as_save_IFS
   2484 
   2485 fi
   2486 fi
   2487 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2488 if test -n "$ac_ct_STRIP"; then
   2489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2490 $as_echo "$ac_ct_STRIP" >&6; }
   2491 else
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2493 $as_echo "no" >&6; }
   2494 fi
   2495 
   2496   if test "x$ac_ct_STRIP" = x; then
   2497     STRIP=":"
   2498   else
   2499     case $cross_compiling:$ac_tool_warned in
   2500 yes:)
   2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2503 ac_tool_warned=yes ;;
   2504 esac
   2505     STRIP=$ac_ct_STRIP
   2506   fi
   2507 else
   2508   STRIP="$ac_cv_prog_STRIP"
   2509 fi
   2510 
   2511 fi
   2512 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2513 
   2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2515 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2516 if test -z "$MKDIR_P"; then
   2517   if ${ac_cv_path_mkdir+:} false; then :
   2518   $as_echo_n "(cached) " >&6
   2519 else
   2520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2521 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2522 do
   2523   IFS=$as_save_IFS
   2524   test -z "$as_dir" && as_dir=.
   2525     for ac_prog in mkdir gmkdir; do
   2526 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2527 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2528 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2529 	     'mkdir (GNU coreutils) '* | \
   2530 	     'mkdir (coreutils) '* | \
   2531 	     'mkdir (fileutils) '4.1*)
   2532 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2533 	       break 3;;
   2534 	   esac
   2535 	 done
   2536        done
   2537   done
   2538 IFS=$as_save_IFS
   2539 
   2540 fi
   2541 
   2542   test -d ./--version && rmdir ./--version
   2543   if test "${ac_cv_path_mkdir+set}" = set; then
   2544     MKDIR_P="$ac_cv_path_mkdir -p"
   2545   else
   2546     # As a last resort, use the slow shell script.  Don't cache a
   2547     # value for MKDIR_P within a source directory, because that will
   2548     # break other packages using the cache if that directory is
   2549     # removed, or if the value is a relative name.
   2550     MKDIR_P="$ac_install_sh -d"
   2551   fi
   2552 fi
   2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2554 $as_echo "$MKDIR_P" >&6; }
   2555 
   2556 for ac_prog in gawk mawk nawk awk
   2557 do
   2558   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2559 set dummy $ac_prog; ac_word=$2
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2561 $as_echo_n "checking for $ac_word... " >&6; }
   2562 if ${ac_cv_prog_AWK+:} false; then :
   2563   $as_echo_n "(cached) " >&6
   2564 else
   2565   if test -n "$AWK"; then
   2566   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2567 else
   2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 for as_dir in $PATH
   2570 do
   2571   IFS=$as_save_IFS
   2572   test -z "$as_dir" && as_dir=.
   2573     for ac_exec_ext in '' $ac_executable_extensions; do
   2574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2575     ac_cv_prog_AWK="$ac_prog"
   2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2577     break 2
   2578   fi
   2579 done
   2580   done
   2581 IFS=$as_save_IFS
   2582 
   2583 fi
   2584 fi
   2585 AWK=$ac_cv_prog_AWK
   2586 if test -n "$AWK"; then
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2588 $as_echo "$AWK" >&6; }
   2589 else
   2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2591 $as_echo "no" >&6; }
   2592 fi
   2593 
   2594 
   2595   test -n "$AWK" && break
   2596 done
   2597 
   2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2599 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2600 set x ${MAKE-make}
   2601 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2602 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2603   $as_echo_n "(cached) " >&6
   2604 else
   2605   cat >conftest.make <<\_ACEOF
   2606 SHELL = /bin/sh
   2607 all:
   2608 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2609 _ACEOF
   2610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2611 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2612   *@@@%%%=?*=@@@%%%*)
   2613     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2614   *)
   2615     eval ac_cv_prog_make_${ac_make}_set=no;;
   2616 esac
   2617 rm -f conftest.make
   2618 fi
   2619 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2621 $as_echo "yes" >&6; }
   2622   SET_MAKE=
   2623 else
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2625 $as_echo "no" >&6; }
   2626   SET_MAKE="MAKE=${MAKE-make}"
   2627 fi
   2628 
   2629 rm -rf .tst 2>/dev/null
   2630 mkdir .tst 2>/dev/null
   2631 if test -d .tst; then
   2632   am__leading_dot=.
   2633 else
   2634   am__leading_dot=_
   2635 fi
   2636 rmdir .tst 2>/dev/null
   2637 
   2638 # Check whether --enable-silent-rules was given.
   2639 if test "${enable_silent_rules+set}" = set; then :
   2640   enableval=$enable_silent_rules;
   2641 fi
   2642 
   2643 case $enable_silent_rules in # (((
   2644   yes) AM_DEFAULT_VERBOSITY=0;;
   2645    no) AM_DEFAULT_VERBOSITY=1;;
   2646     *) AM_DEFAULT_VERBOSITY=1;;
   2647 esac
   2648 am_make=${MAKE-make}
   2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2650 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2651 if ${am_cv_make_support_nested_variables+:} false; then :
   2652   $as_echo_n "(cached) " >&6
   2653 else
   2654   if $as_echo 'TRUE=$(BAR$(V))
   2655 BAR0=false
   2656 BAR1=true
   2657 V=1
   2658 am__doit:
   2659 	@$(TRUE)
   2660 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2661   am_cv_make_support_nested_variables=yes
   2662 else
   2663   am_cv_make_support_nested_variables=no
   2664 fi
   2665 fi
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2667 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2668 if test $am_cv_make_support_nested_variables = yes; then
   2669     AM_V='$(V)'
   2670   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2671 else
   2672   AM_V=$AM_DEFAULT_VERBOSITY
   2673   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2674 fi
   2675 AM_BACKSLASH='\'
   2676 
   2677 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2678   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2679   # is not polluted with repeated "-I."
   2680   am__isrc=' -I$(srcdir)'
   2681   # test to see if srcdir already configured
   2682   if test -f $srcdir/config.status; then
   2683     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2684   fi
   2685 fi
   2686 
   2687 # test whether we have cygpath
   2688 if test -z "$CYGPATH_W"; then
   2689   if (cygpath --version) >/dev/null 2>/dev/null; then
   2690     CYGPATH_W='cygpath -w'
   2691   else
   2692     CYGPATH_W=echo
   2693   fi
   2694 fi
   2695 
   2696 
   2697 # Define the identity of the package.
   2698  PACKAGE='xkbcomp'
   2699  VERSION='1.3.1'
   2700 
   2701 
   2702 cat >>confdefs.h <<_ACEOF
   2703 #define PACKAGE "$PACKAGE"
   2704 _ACEOF
   2705 
   2706 
   2707 cat >>confdefs.h <<_ACEOF
   2708 #define VERSION "$VERSION"
   2709 _ACEOF
   2710 
   2711 # Some tools Automake needs.
   2712 
   2713 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2714 
   2715 
   2716 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2717 
   2718 
   2719 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2720 
   2721 
   2722 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2723 
   2724 
   2725 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2726 
   2727 # For better backward compatibility.  To be removed once Automake 1.9.x
   2728 # dies out for good.  For more background, see:
   2729 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2730 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2731 mkdir_p='$(MKDIR_P)'
   2732 
   2733 # We need awk for the "check" target (and possibly the TAP driver).  The
   2734 # system "awk" is bad on some platforms.
   2735 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2736 # in the wild :-(  We should find a proper way to deprecate it ...
   2737 AMTAR='$${TAR-tar}'
   2738 
   2739 
   2740 # We'll loop over all known methods to create a tar archive until one works.
   2741 _am_tools='gnutar  pax cpio none'
   2742 
   2743 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2744 
   2745 
   2746 
   2747 
   2748 
   2749 
   2750 # POSIX will say in a future version that running "rm -f" with no argument
   2751 # is OK; and we want to be able to make that assumption in our Makefile
   2752 # recipes.  So use an aggressive probe to check that the usage we want is
   2753 # actually supported "in the wild" to an acceptable degree.
   2754 # See automake bug#10828.
   2755 # To make any issue more visible, cause the running configure to be aborted
   2756 # by default if the 'rm' program in use doesn't match our expectations; the
   2757 # user can still override this though.
   2758 if rm -f && rm -fr && rm -rf; then : OK; else
   2759   cat >&2 <<'END'
   2760 Oops!
   2761 
   2762 Your 'rm' program seems unable to run without file operands specified
   2763 on the command line, even when the '-f' option is present.  This is contrary
   2764 to the behaviour of most rm programs out there, and not conforming with
   2765 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2766 
   2767 Please tell bug-automake@gnu.org about your system, including the value
   2768 of your $PATH and any error possibly output before this message.  This
   2769 can help us improve future automake versions.
   2770 
   2771 END
   2772   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2773     echo 'Configuration will proceed anyway, since you have set the' >&2
   2774     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2775     echo >&2
   2776   else
   2777     cat >&2 <<'END'
   2778 Aborting the configuration process, to ensure you take notice of the issue.
   2779 
   2780 You can download and install GNU coreutils to get an 'rm' implementation
   2781 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2782 
   2783 If you want to complete the configuration process using your problematic
   2784 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2785 to "yes", and re-run configure.
   2786 
   2787 END
   2788     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2789   fi
   2790 fi
   2791 
   2792 
   2793 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 DEPDIR="${am__leading_dot}deps"
   2806 
   2807 ac_config_commands="$ac_config_commands depfiles"
   2808 
   2809 
   2810 am_make=${MAKE-make}
   2811 cat > confinc << 'END'
   2812 am__doit:
   2813 	@echo this is the am__doit target
   2814 .PHONY: am__doit
   2815 END
   2816 # If we don't find an include directive, just comment out the code.
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2818 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2819 am__include="#"
   2820 am__quote=
   2821 _am_result=none
   2822 # First try GNU make style include.
   2823 echo "include confinc" > confmf
   2824 # Ignore all kinds of additional output from 'make'.
   2825 case `$am_make -s -f confmf 2> /dev/null` in #(
   2826 *the\ am__doit\ target*)
   2827   am__include=include
   2828   am__quote=
   2829   _am_result=GNU
   2830   ;;
   2831 esac
   2832 # Now try BSD make style include.
   2833 if test "$am__include" = "#"; then
   2834    echo '.include "confinc"' > confmf
   2835    case `$am_make -s -f confmf 2> /dev/null` in #(
   2836    *the\ am__doit\ target*)
   2837      am__include=.include
   2838      am__quote="\""
   2839      _am_result=BSD
   2840      ;;
   2841    esac
   2842 fi
   2843 
   2844 
   2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2846 $as_echo "$_am_result" >&6; }
   2847 rm -f confinc confmf
   2848 
   2849 # Check whether --enable-dependency-tracking was given.
   2850 if test "${enable_dependency_tracking+set}" = set; then :
   2851   enableval=$enable_dependency_tracking;
   2852 fi
   2853 
   2854 if test "x$enable_dependency_tracking" != xno; then
   2855   am_depcomp="$ac_aux_dir/depcomp"
   2856   AMDEPBACKSLASH='\'
   2857   am__nodep='_no'
   2858 fi
   2859  if test "x$enable_dependency_tracking" != xno; then
   2860   AMDEP_TRUE=
   2861   AMDEP_FALSE='#'
   2862 else
   2863   AMDEP_TRUE='#'
   2864   AMDEP_FALSE=
   2865 fi
   2866 
   2867 
   2868 ac_ext=c
   2869 ac_cpp='$CPP $CPPFLAGS'
   2870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2873 if test -n "$ac_tool_prefix"; then
   2874   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2875 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2877 $as_echo_n "checking for $ac_word... " >&6; }
   2878 if ${ac_cv_prog_CC+:} false; then :
   2879   $as_echo_n "(cached) " >&6
   2880 else
   2881   if test -n "$CC"; then
   2882   ac_cv_prog_CC="$CC" # Let the user override the test.
   2883 else
   2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   test -z "$as_dir" && as_dir=.
   2889     for ac_exec_ext in '' $ac_executable_extensions; do
   2890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2891     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2893     break 2
   2894   fi
   2895 done
   2896   done
   2897 IFS=$as_save_IFS
   2898 
   2899 fi
   2900 fi
   2901 CC=$ac_cv_prog_CC
   2902 if test -n "$CC"; then
   2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2904 $as_echo "$CC" >&6; }
   2905 else
   2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2907 $as_echo "no" >&6; }
   2908 fi
   2909 
   2910 
   2911 fi
   2912 if test -z "$ac_cv_prog_CC"; then
   2913   ac_ct_CC=$CC
   2914   # Extract the first word of "gcc", so it can be a program name with args.
   2915 set dummy gcc; ac_word=$2
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2917 $as_echo_n "checking for $ac_word... " >&6; }
   2918 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if test -n "$ac_ct_CC"; then
   2922   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2923 else
   2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2925 for as_dir in $PATH
   2926 do
   2927   IFS=$as_save_IFS
   2928   test -z "$as_dir" && as_dir=.
   2929     for ac_exec_ext in '' $ac_executable_extensions; do
   2930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2931     ac_cv_prog_ac_ct_CC="gcc"
   2932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2933     break 2
   2934   fi
   2935 done
   2936   done
   2937 IFS=$as_save_IFS
   2938 
   2939 fi
   2940 fi
   2941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2942 if test -n "$ac_ct_CC"; then
   2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2944 $as_echo "$ac_ct_CC" >&6; }
   2945 else
   2946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2947 $as_echo "no" >&6; }
   2948 fi
   2949 
   2950   if test "x$ac_ct_CC" = x; then
   2951     CC=""
   2952   else
   2953     case $cross_compiling:$ac_tool_warned in
   2954 yes:)
   2955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2957 ac_tool_warned=yes ;;
   2958 esac
   2959     CC=$ac_ct_CC
   2960   fi
   2961 else
   2962   CC="$ac_cv_prog_CC"
   2963 fi
   2964 
   2965 if test -z "$CC"; then
   2966           if test -n "$ac_tool_prefix"; then
   2967     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2968 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2970 $as_echo_n "checking for $ac_word... " >&6; }
   2971 if ${ac_cv_prog_CC+:} false; then :
   2972   $as_echo_n "(cached) " >&6
   2973 else
   2974   if test -n "$CC"; then
   2975   ac_cv_prog_CC="$CC" # Let the user override the test.
   2976 else
   2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2978 for as_dir in $PATH
   2979 do
   2980   IFS=$as_save_IFS
   2981   test -z "$as_dir" && as_dir=.
   2982     for ac_exec_ext in '' $ac_executable_extensions; do
   2983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2984     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2986     break 2
   2987   fi
   2988 done
   2989   done
   2990 IFS=$as_save_IFS
   2991 
   2992 fi
   2993 fi
   2994 CC=$ac_cv_prog_CC
   2995 if test -n "$CC"; then
   2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2997 $as_echo "$CC" >&6; }
   2998 else
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3000 $as_echo "no" >&6; }
   3001 fi
   3002 
   3003 
   3004   fi
   3005 fi
   3006 if test -z "$CC"; then
   3007   # Extract the first word of "cc", so it can be a program name with args.
   3008 set dummy cc; ac_word=$2
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3010 $as_echo_n "checking for $ac_word... " >&6; }
   3011 if ${ac_cv_prog_CC+:} false; then :
   3012   $as_echo_n "(cached) " >&6
   3013 else
   3014   if test -n "$CC"; then
   3015   ac_cv_prog_CC="$CC" # Let the user override the test.
   3016 else
   3017   ac_prog_rejected=no
   3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3019 for as_dir in $PATH
   3020 do
   3021   IFS=$as_save_IFS
   3022   test -z "$as_dir" && as_dir=.
   3023     for ac_exec_ext in '' $ac_executable_extensions; do
   3024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3025     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3026        ac_prog_rejected=yes
   3027        continue
   3028      fi
   3029     ac_cv_prog_CC="cc"
   3030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3031     break 2
   3032   fi
   3033 done
   3034   done
   3035 IFS=$as_save_IFS
   3036 
   3037 if test $ac_prog_rejected = yes; then
   3038   # We found a bogon in the path, so make sure we never use it.
   3039   set dummy $ac_cv_prog_CC
   3040   shift
   3041   if test $# != 0; then
   3042     # We chose a different compiler from the bogus one.
   3043     # However, it has the same basename, so the bogon will be chosen
   3044     # first if we set CC to just the basename; use the full file name.
   3045     shift
   3046     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3047   fi
   3048 fi
   3049 fi
   3050 fi
   3051 CC=$ac_cv_prog_CC
   3052 if test -n "$CC"; then
   3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3054 $as_echo "$CC" >&6; }
   3055 else
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3057 $as_echo "no" >&6; }
   3058 fi
   3059 
   3060 
   3061 fi
   3062 if test -z "$CC"; then
   3063   if test -n "$ac_tool_prefix"; then
   3064   for ac_prog in cl.exe
   3065   do
   3066     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3069 $as_echo_n "checking for $ac_word... " >&6; }
   3070 if ${ac_cv_prog_CC+:} false; then :
   3071   $as_echo_n "(cached) " >&6
   3072 else
   3073   if test -n "$CC"; then
   3074   ac_cv_prog_CC="$CC" # Let the user override the test.
   3075 else
   3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3077 for as_dir in $PATH
   3078 do
   3079   IFS=$as_save_IFS
   3080   test -z "$as_dir" && as_dir=.
   3081     for ac_exec_ext in '' $ac_executable_extensions; do
   3082   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3083     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3085     break 2
   3086   fi
   3087 done
   3088   done
   3089 IFS=$as_save_IFS
   3090 
   3091 fi
   3092 fi
   3093 CC=$ac_cv_prog_CC
   3094 if test -n "$CC"; then
   3095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3096 $as_echo "$CC" >&6; }
   3097 else
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3099 $as_echo "no" >&6; }
   3100 fi
   3101 
   3102 
   3103     test -n "$CC" && break
   3104   done
   3105 fi
   3106 if test -z "$CC"; then
   3107   ac_ct_CC=$CC
   3108   for ac_prog in cl.exe
   3109 do
   3110   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3111 set dummy $ac_prog; ac_word=$2
   3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3113 $as_echo_n "checking for $ac_word... " >&6; }
   3114 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3115   $as_echo_n "(cached) " >&6
   3116 else
   3117   if test -n "$ac_ct_CC"; then
   3118   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3119 else
   3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3121 for as_dir in $PATH
   3122 do
   3123   IFS=$as_save_IFS
   3124   test -z "$as_dir" && as_dir=.
   3125     for ac_exec_ext in '' $ac_executable_extensions; do
   3126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3127     ac_cv_prog_ac_ct_CC="$ac_prog"
   3128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3129     break 2
   3130   fi
   3131 done
   3132   done
   3133 IFS=$as_save_IFS
   3134 
   3135 fi
   3136 fi
   3137 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3138 if test -n "$ac_ct_CC"; then
   3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3140 $as_echo "$ac_ct_CC" >&6; }
   3141 else
   3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3143 $as_echo "no" >&6; }
   3144 fi
   3145 
   3146 
   3147   test -n "$ac_ct_CC" && break
   3148 done
   3149 
   3150   if test "x$ac_ct_CC" = x; then
   3151     CC=""
   3152   else
   3153     case $cross_compiling:$ac_tool_warned in
   3154 yes:)
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3157 ac_tool_warned=yes ;;
   3158 esac
   3159     CC=$ac_ct_CC
   3160   fi
   3161 fi
   3162 
   3163 fi
   3164 
   3165 
   3166 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3168 as_fn_error $? "no acceptable C compiler found in \$PATH
   3169 See \`config.log' for more details" "$LINENO" 5; }
   3170 
   3171 # Provide some information about the compiler.
   3172 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3173 set X $ac_compile
   3174 ac_compiler=$2
   3175 for ac_option in --version -v -V -qversion; do
   3176   { { ac_try="$ac_compiler $ac_option >&5"
   3177 case "(($ac_try" in
   3178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3179   *) ac_try_echo=$ac_try;;
   3180 esac
   3181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3182 $as_echo "$ac_try_echo"; } >&5
   3183   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3184   ac_status=$?
   3185   if test -s conftest.err; then
   3186     sed '10a\
   3187 ... rest of stderr output deleted ...
   3188          10q' conftest.err >conftest.er1
   3189     cat conftest.er1 >&5
   3190   fi
   3191   rm -f conftest.er1 conftest.err
   3192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3193   test $ac_status = 0; }
   3194 done
   3195 
   3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3197 /* end confdefs.h.  */
   3198 
   3199 int
   3200 main ()
   3201 {
   3202 
   3203   ;
   3204   return 0;
   3205 }
   3206 _ACEOF
   3207 ac_clean_files_save=$ac_clean_files
   3208 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3209 # Try to create an executable without -o first, disregard a.out.
   3210 # It will help us diagnose broken compilers, and finding out an intuition
   3211 # of exeext.
   3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3213 $as_echo_n "checking whether the C compiler works... " >&6; }
   3214 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3215 
   3216 # The possible output files:
   3217 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3218 
   3219 ac_rmfiles=
   3220 for ac_file in $ac_files
   3221 do
   3222   case $ac_file in
   3223     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3224     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3225   esac
   3226 done
   3227 rm -f $ac_rmfiles
   3228 
   3229 if { { ac_try="$ac_link_default"
   3230 case "(($ac_try" in
   3231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3232   *) ac_try_echo=$ac_try;;
   3233 esac
   3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3235 $as_echo "$ac_try_echo"; } >&5
   3236   (eval "$ac_link_default") 2>&5
   3237   ac_status=$?
   3238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3239   test $ac_status = 0; }; then :
   3240   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3241 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3242 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3243 # so that the user can short-circuit this test for compilers unknown to
   3244 # Autoconf.
   3245 for ac_file in $ac_files ''
   3246 do
   3247   test -f "$ac_file" || continue
   3248   case $ac_file in
   3249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3250 	;;
   3251     [ab].out )
   3252 	# We found the default executable, but exeext='' is most
   3253 	# certainly right.
   3254 	break;;
   3255     *.* )
   3256 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3257 	then :; else
   3258 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3259 	fi
   3260 	# We set ac_cv_exeext here because the later test for it is not
   3261 	# safe: cross compilers may not add the suffix if given an `-o'
   3262 	# argument, so we may need to know it at that point already.
   3263 	# Even if this section looks crufty: it has the advantage of
   3264 	# actually working.
   3265 	break;;
   3266     * )
   3267 	break;;
   3268   esac
   3269 done
   3270 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3271 
   3272 else
   3273   ac_file=''
   3274 fi
   3275 if test -z "$ac_file"; then :
   3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3277 $as_echo "no" >&6; }
   3278 $as_echo "$as_me: failed program was:" >&5
   3279 sed 's/^/| /' conftest.$ac_ext >&5
   3280 
   3281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3283 as_fn_error 77 "C compiler cannot create executables
   3284 See \`config.log' for more details" "$LINENO" 5; }
   3285 else
   3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3287 $as_echo "yes" >&6; }
   3288 fi
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3290 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3292 $as_echo "$ac_file" >&6; }
   3293 ac_exeext=$ac_cv_exeext
   3294 
   3295 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3296 ac_clean_files=$ac_clean_files_save
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3298 $as_echo_n "checking for suffix of executables... " >&6; }
   3299 if { { ac_try="$ac_link"
   3300 case "(($ac_try" in
   3301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3302   *) ac_try_echo=$ac_try;;
   3303 esac
   3304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3305 $as_echo "$ac_try_echo"; } >&5
   3306   (eval "$ac_link") 2>&5
   3307   ac_status=$?
   3308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3309   test $ac_status = 0; }; then :
   3310   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3311 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3312 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3313 # `rm'.
   3314 for ac_file in conftest.exe conftest conftest.*; do
   3315   test -f "$ac_file" || continue
   3316   case $ac_file in
   3317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3318     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3319 	  break;;
   3320     * ) break;;
   3321   esac
   3322 done
   3323 else
   3324   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3326 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3327 See \`config.log' for more details" "$LINENO" 5; }
   3328 fi
   3329 rm -f conftest conftest$ac_cv_exeext
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3331 $as_echo "$ac_cv_exeext" >&6; }
   3332 
   3333 rm -f conftest.$ac_ext
   3334 EXEEXT=$ac_cv_exeext
   3335 ac_exeext=$EXEEXT
   3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3337 /* end confdefs.h.  */
   3338 #include <stdio.h>
   3339 int
   3340 main ()
   3341 {
   3342 FILE *f = fopen ("conftest.out", "w");
   3343  return ferror (f) || fclose (f) != 0;
   3344 
   3345   ;
   3346   return 0;
   3347 }
   3348 _ACEOF
   3349 ac_clean_files="$ac_clean_files conftest.out"
   3350 # Check that the compiler produces executables we can run.  If not, either
   3351 # the compiler is broken, or we cross compile.
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3353 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3354 if test "$cross_compiling" != yes; then
   3355   { { ac_try="$ac_link"
   3356 case "(($ac_try" in
   3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3358   *) ac_try_echo=$ac_try;;
   3359 esac
   3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3361 $as_echo "$ac_try_echo"; } >&5
   3362   (eval "$ac_link") 2>&5
   3363   ac_status=$?
   3364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3365   test $ac_status = 0; }
   3366   if { ac_try='./conftest$ac_cv_exeext'
   3367   { { case "(($ac_try" in
   3368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3369   *) ac_try_echo=$ac_try;;
   3370 esac
   3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3372 $as_echo "$ac_try_echo"; } >&5
   3373   (eval "$ac_try") 2>&5
   3374   ac_status=$?
   3375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3376   test $ac_status = 0; }; }; then
   3377     cross_compiling=no
   3378   else
   3379     if test "$cross_compiling" = maybe; then
   3380 	cross_compiling=yes
   3381     else
   3382 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3384 as_fn_error $? "cannot run C compiled programs.
   3385 If you meant to cross compile, use \`--host'.
   3386 See \`config.log' for more details" "$LINENO" 5; }
   3387     fi
   3388   fi
   3389 fi
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3391 $as_echo "$cross_compiling" >&6; }
   3392 
   3393 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3394 ac_clean_files=$ac_clean_files_save
   3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3396 $as_echo_n "checking for suffix of object files... " >&6; }
   3397 if ${ac_cv_objext+:} false; then :
   3398   $as_echo_n "(cached) " >&6
   3399 else
   3400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 rm -f conftest.o conftest.obj
   3412 if { { ac_try="$ac_compile"
   3413 case "(($ac_try" in
   3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3415   *) ac_try_echo=$ac_try;;
   3416 esac
   3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3418 $as_echo "$ac_try_echo"; } >&5
   3419   (eval "$ac_compile") 2>&5
   3420   ac_status=$?
   3421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3422   test $ac_status = 0; }; then :
   3423   for ac_file in conftest.o conftest.obj conftest.*; do
   3424   test -f "$ac_file" || continue;
   3425   case $ac_file in
   3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3427     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3428        break;;
   3429   esac
   3430 done
   3431 else
   3432   $as_echo "$as_me: failed program was:" >&5
   3433 sed 's/^/| /' conftest.$ac_ext >&5
   3434 
   3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3437 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3438 See \`config.log' for more details" "$LINENO" 5; }
   3439 fi
   3440 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3441 fi
   3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3443 $as_echo "$ac_cv_objext" >&6; }
   3444 OBJEXT=$ac_cv_objext
   3445 ac_objext=$OBJEXT
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3447 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3448 if ${ac_cv_c_compiler_gnu+:} false; then :
   3449   $as_echo_n "(cached) " >&6
   3450 else
   3451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3452 /* end confdefs.h.  */
   3453 
   3454 int
   3455 main ()
   3456 {
   3457 #ifndef __GNUC__
   3458        choke me
   3459 #endif
   3460 
   3461   ;
   3462   return 0;
   3463 }
   3464 _ACEOF
   3465 if ac_fn_c_try_compile "$LINENO"; then :
   3466   ac_compiler_gnu=yes
   3467 else
   3468   ac_compiler_gnu=no
   3469 fi
   3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3472 
   3473 fi
   3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3475 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3476 if test $ac_compiler_gnu = yes; then
   3477   GCC=yes
   3478 else
   3479   GCC=
   3480 fi
   3481 ac_test_CFLAGS=${CFLAGS+set}
   3482 ac_save_CFLAGS=$CFLAGS
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3484 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3485 if ${ac_cv_prog_cc_g+:} false; then :
   3486   $as_echo_n "(cached) " >&6
   3487 else
   3488   ac_save_c_werror_flag=$ac_c_werror_flag
   3489    ac_c_werror_flag=yes
   3490    ac_cv_prog_cc_g=no
   3491    CFLAGS="-g"
   3492    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3493 /* end confdefs.h.  */
   3494 
   3495 int
   3496 main ()
   3497 {
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 if ac_fn_c_try_compile "$LINENO"; then :
   3504   ac_cv_prog_cc_g=yes
   3505 else
   3506   CFLAGS=""
   3507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 int
   3511 main ()
   3512 {
   3513 
   3514   ;
   3515   return 0;
   3516 }
   3517 _ACEOF
   3518 if ac_fn_c_try_compile "$LINENO"; then :
   3519 
   3520 else
   3521   ac_c_werror_flag=$ac_save_c_werror_flag
   3522 	 CFLAGS="-g"
   3523 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3524 /* end confdefs.h.  */
   3525 
   3526 int
   3527 main ()
   3528 {
   3529 
   3530   ;
   3531   return 0;
   3532 }
   3533 _ACEOF
   3534 if ac_fn_c_try_compile "$LINENO"; then :
   3535   ac_cv_prog_cc_g=yes
   3536 fi
   3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3538 fi
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540 fi
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542    ac_c_werror_flag=$ac_save_c_werror_flag
   3543 fi
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3545 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3546 if test "$ac_test_CFLAGS" = set; then
   3547   CFLAGS=$ac_save_CFLAGS
   3548 elif test $ac_cv_prog_cc_g = yes; then
   3549   if test "$GCC" = yes; then
   3550     CFLAGS="-g -O2"
   3551   else
   3552     CFLAGS="-g"
   3553   fi
   3554 else
   3555   if test "$GCC" = yes; then
   3556     CFLAGS="-O2"
   3557   else
   3558     CFLAGS=
   3559   fi
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3562 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3563 if ${ac_cv_prog_cc_c89+:} false; then :
   3564   $as_echo_n "(cached) " >&6
   3565 else
   3566   ac_cv_prog_cc_c89=no
   3567 ac_save_CC=$CC
   3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3569 /* end confdefs.h.  */
   3570 #include <stdarg.h>
   3571 #include <stdio.h>
   3572 struct stat;
   3573 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3574 struct buf { int x; };
   3575 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3576 static char *e (p, i)
   3577      char **p;
   3578      int i;
   3579 {
   3580   return p[i];
   3581 }
   3582 static char *f (char * (*g) (char **, int), char **p, ...)
   3583 {
   3584   char *s;
   3585   va_list v;
   3586   va_start (v,p);
   3587   s = g (p, va_arg (v,int));
   3588   va_end (v);
   3589   return s;
   3590 }
   3591 
   3592 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3593    function prototypes and stuff, but not '\xHH' hex character constants.
   3594    These don't provoke an error unfortunately, instead are silently treated
   3595    as 'x'.  The following induces an error, until -std is added to get
   3596    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3597    array size at least.  It's necessary to write '\x00'==0 to get something
   3598    that's true only with -std.  */
   3599 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3600 
   3601 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3602    inside strings and character constants.  */
   3603 #define FOO(x) 'x'
   3604 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3605 
   3606 int test (int i, double x);
   3607 struct s1 {int (*f) (int a);};
   3608 struct s2 {int (*f) (double a);};
   3609 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3610 int argc;
   3611 char **argv;
   3612 int
   3613 main ()
   3614 {
   3615 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3616   ;
   3617   return 0;
   3618 }
   3619 _ACEOF
   3620 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3621 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3622 do
   3623   CC="$ac_save_CC $ac_arg"
   3624   if ac_fn_c_try_compile "$LINENO"; then :
   3625   ac_cv_prog_cc_c89=$ac_arg
   3626 fi
   3627 rm -f core conftest.err conftest.$ac_objext
   3628   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3629 done
   3630 rm -f conftest.$ac_ext
   3631 CC=$ac_save_CC
   3632 
   3633 fi
   3634 # AC_CACHE_VAL
   3635 case "x$ac_cv_prog_cc_c89" in
   3636   x)
   3637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3638 $as_echo "none needed" >&6; } ;;
   3639   xno)
   3640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3641 $as_echo "unsupported" >&6; } ;;
   3642   *)
   3643     CC="$CC $ac_cv_prog_cc_c89"
   3644     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3645 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3646 esac
   3647 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3648 
   3649 fi
   3650 
   3651 ac_ext=c
   3652 ac_cpp='$CPP $CPPFLAGS'
   3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3656 
   3657 ac_ext=c
   3658 ac_cpp='$CPP $CPPFLAGS'
   3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3663 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3664 if ${am_cv_prog_cc_c_o+:} false; then :
   3665   $as_echo_n "(cached) " >&6
   3666 else
   3667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3668 /* end confdefs.h.  */
   3669 
   3670 int
   3671 main ()
   3672 {
   3673 
   3674   ;
   3675   return 0;
   3676 }
   3677 _ACEOF
   3678   # Make sure it works both with $CC and with simple cc.
   3679   # Following AC_PROG_CC_C_O, we do the test twice because some
   3680   # compilers refuse to overwrite an existing .o file with -o,
   3681   # though they will create one.
   3682   am_cv_prog_cc_c_o=yes
   3683   for am_i in 1 2; do
   3684     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3685    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3686    ac_status=$?
   3687    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3688    (exit $ac_status); } \
   3689          && test -f conftest2.$ac_objext; then
   3690       : OK
   3691     else
   3692       am_cv_prog_cc_c_o=no
   3693       break
   3694     fi
   3695   done
   3696   rm -f core conftest*
   3697   unset am_i
   3698 fi
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3700 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3701 if test "$am_cv_prog_cc_c_o" != yes; then
   3702    # Losing compiler, so override with the script.
   3703    # FIXME: It is wrong to rewrite CC.
   3704    # But if we don't then we get into trouble of one sort or another.
   3705    # A longer-term fix would be to have automake use am__CC in this case,
   3706    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3707    CC="$am_aux_dir/compile $CC"
   3708 fi
   3709 ac_ext=c
   3710 ac_cpp='$CPP $CPPFLAGS'
   3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3714 
   3715 
   3716 depcc="$CC"   am_compiler_list=
   3717 
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3719 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3720 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3724   # We make a subdir and do the tests there.  Otherwise we can end up
   3725   # making bogus files that we don't know about and never remove.  For
   3726   # instance it was reported that on HP-UX the gcc test will end up
   3727   # making a dummy file named 'D' -- because '-MD' means "put the output
   3728   # in D".
   3729   rm -rf conftest.dir
   3730   mkdir conftest.dir
   3731   # Copy depcomp to subdir because otherwise we won't find it if we're
   3732   # using a relative directory.
   3733   cp "$am_depcomp" conftest.dir
   3734   cd conftest.dir
   3735   # We will build objects and dependencies in a subdirectory because
   3736   # it helps to detect inapplicable dependency modes.  For instance
   3737   # both Tru64's cc and ICC support -MD to output dependencies as a
   3738   # side effect of compilation, but ICC will put the dependencies in
   3739   # the current directory while Tru64 will put them in the object
   3740   # directory.
   3741   mkdir sub
   3742 
   3743   am_cv_CC_dependencies_compiler_type=none
   3744   if test "$am_compiler_list" = ""; then
   3745      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3746   fi
   3747   am__universal=false
   3748   case " $depcc " in #(
   3749      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3750      esac
   3751 
   3752   for depmode in $am_compiler_list; do
   3753     # Setup a source with many dependencies, because some compilers
   3754     # like to wrap large dependency lists on column 80 (with \), and
   3755     # we should not choose a depcomp mode which is confused by this.
   3756     #
   3757     # We need to recreate these files for each test, as the compiler may
   3758     # overwrite some of them when testing with obscure command lines.
   3759     # This happens at least with the AIX C compiler.
   3760     : > sub/conftest.c
   3761     for i in 1 2 3 4 5 6; do
   3762       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3763       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3764       # Solaris 10 /bin/sh.
   3765       echo '/* dummy */' > sub/conftst$i.h
   3766     done
   3767     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3768 
   3769     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3770     # mode.  It turns out that the SunPro C++ compiler does not properly
   3771     # handle '-M -o', and we need to detect this.  Also, some Intel
   3772     # versions had trouble with output in subdirs.
   3773     am__obj=sub/conftest.${OBJEXT-o}
   3774     am__minus_obj="-o $am__obj"
   3775     case $depmode in
   3776     gcc)
   3777       # This depmode causes a compiler race in universal mode.
   3778       test "$am__universal" = false || continue
   3779       ;;
   3780     nosideeffect)
   3781       # After this tag, mechanisms are not by side-effect, so they'll
   3782       # only be used when explicitly requested.
   3783       if test "x$enable_dependency_tracking" = xyes; then
   3784 	continue
   3785       else
   3786 	break
   3787       fi
   3788       ;;
   3789     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3790       # This compiler won't grok '-c -o', but also, the minuso test has
   3791       # not run yet.  These depmodes are late enough in the game, and
   3792       # so weak that their functioning should not be impacted.
   3793       am__obj=conftest.${OBJEXT-o}
   3794       am__minus_obj=
   3795       ;;
   3796     none) break ;;
   3797     esac
   3798     if depmode=$depmode \
   3799        source=sub/conftest.c object=$am__obj \
   3800        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3801        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3802          >/dev/null 2>conftest.err &&
   3803        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3804        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3805        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3806        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3807       # icc doesn't choke on unknown options, it will just issue warnings
   3808       # or remarks (even with -Werror).  So we grep stderr for any message
   3809       # that says an option was ignored or not supported.
   3810       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3811       #   icc: Command line warning: ignoring option '-M'; no argument required
   3812       # The diagnosis changed in icc 8.0:
   3813       #   icc: Command line remark: option '-MP' not supported
   3814       if (grep 'ignoring option' conftest.err ||
   3815           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3816         am_cv_CC_dependencies_compiler_type=$depmode
   3817         break
   3818       fi
   3819     fi
   3820   done
   3821 
   3822   cd ..
   3823   rm -rf conftest.dir
   3824 else
   3825   am_cv_CC_dependencies_compiler_type=none
   3826 fi
   3827 
   3828 fi
   3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3830 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3831 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3832 
   3833  if
   3834   test "x$enable_dependency_tracking" != xno \
   3835   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3836   am__fastdepCC_TRUE=
   3837   am__fastdepCC_FALSE='#'
   3838 else
   3839   am__fastdepCC_TRUE='#'
   3840   am__fastdepCC_FALSE=
   3841 fi
   3842 
   3843 
   3844    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3845 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3846 if ${ac_cv_prog_cc_c99+:} false; then :
   3847   $as_echo_n "(cached) " >&6
   3848 else
   3849   ac_cv_prog_cc_c99=no
   3850 ac_save_CC=$CC
   3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3852 /* end confdefs.h.  */
   3853 #include <stdarg.h>
   3854 #include <stdbool.h>
   3855 #include <stdlib.h>
   3856 #include <wchar.h>
   3857 #include <stdio.h>
   3858 
   3859 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3860 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3861 #define showlist(...) puts (#__VA_ARGS__)
   3862 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3863 static void
   3864 test_varargs_macros (void)
   3865 {
   3866   int x = 1234;
   3867   int y = 5678;
   3868   debug ("Flag");
   3869   debug ("X = %d\n", x);
   3870   showlist (The first, second, and third items.);
   3871   report (x>y, "x is %d but y is %d", x, y);
   3872 }
   3873 
   3874 // Check long long types.
   3875 #define BIG64 18446744073709551615ull
   3876 #define BIG32 4294967295ul
   3877 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3878 #if !BIG_OK
   3879   your preprocessor is broken;
   3880 #endif
   3881 #if BIG_OK
   3882 #else
   3883   your preprocessor is broken;
   3884 #endif
   3885 static long long int bignum = -9223372036854775807LL;
   3886 static unsigned long long int ubignum = BIG64;
   3887 
   3888 struct incomplete_array
   3889 {
   3890   int datasize;
   3891   double data[];
   3892 };
   3893 
   3894 struct named_init {
   3895   int number;
   3896   const wchar_t *name;
   3897   double average;
   3898 };
   3899 
   3900 typedef const char *ccp;
   3901 
   3902 static inline int
   3903 test_restrict (ccp restrict text)
   3904 {
   3905   // See if C++-style comments work.
   3906   // Iterate through items via the restricted pointer.
   3907   // Also check for declarations in for loops.
   3908   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3909     continue;
   3910   return 0;
   3911 }
   3912 
   3913 // Check varargs and va_copy.
   3914 static void
   3915 test_varargs (const char *format, ...)
   3916 {
   3917   va_list args;
   3918   va_start (args, format);
   3919   va_list args_copy;
   3920   va_copy (args_copy, args);
   3921 
   3922   const char *str;
   3923   int number;
   3924   float fnumber;
   3925 
   3926   while (*format)
   3927     {
   3928       switch (*format++)
   3929 	{
   3930 	case 's': // string
   3931 	  str = va_arg (args_copy, const char *);
   3932 	  break;
   3933 	case 'd': // int
   3934 	  number = va_arg (args_copy, int);
   3935 	  break;
   3936 	case 'f': // float
   3937 	  fnumber = va_arg (args_copy, double);
   3938 	  break;
   3939 	default:
   3940 	  break;
   3941 	}
   3942     }
   3943   va_end (args_copy);
   3944   va_end (args);
   3945 }
   3946 
   3947 int
   3948 main ()
   3949 {
   3950 
   3951   // Check bool.
   3952   _Bool success = false;
   3953 
   3954   // Check restrict.
   3955   if (test_restrict ("String literal") == 0)
   3956     success = true;
   3957   char *restrict newvar = "Another string";
   3958 
   3959   // Check varargs.
   3960   test_varargs ("s, d' f .", "string", 65, 34.234);
   3961   test_varargs_macros ();
   3962 
   3963   // Check flexible array members.
   3964   struct incomplete_array *ia =
   3965     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3966   ia->datasize = 10;
   3967   for (int i = 0; i < ia->datasize; ++i)
   3968     ia->data[i] = i * 1.234;
   3969 
   3970   // Check named initializers.
   3971   struct named_init ni = {
   3972     .number = 34,
   3973     .name = L"Test wide string",
   3974     .average = 543.34343,
   3975   };
   3976 
   3977   ni.number = 58;
   3978 
   3979   int dynamic_array[ni.number];
   3980   dynamic_array[ni.number - 1] = 543;
   3981 
   3982   // work around unused variable warnings
   3983   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3984 	  || dynamic_array[ni.number - 1] != 543);
   3985 
   3986   ;
   3987   return 0;
   3988 }
   3989 _ACEOF
   3990 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3991 do
   3992   CC="$ac_save_CC $ac_arg"
   3993   if ac_fn_c_try_compile "$LINENO"; then :
   3994   ac_cv_prog_cc_c99=$ac_arg
   3995 fi
   3996 rm -f core conftest.err conftest.$ac_objext
   3997   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3998 done
   3999 rm -f conftest.$ac_ext
   4000 CC=$ac_save_CC
   4001 
   4002 fi
   4003 # AC_CACHE_VAL
   4004 case "x$ac_cv_prog_cc_c99" in
   4005   x)
   4006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4007 $as_echo "none needed" >&6; } ;;
   4008   xno)
   4009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4010 $as_echo "unsupported" >&6; } ;;
   4011   *)
   4012     CC="$CC $ac_cv_prog_cc_c99"
   4013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4014 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4015 esac
   4016 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4017 
   4018 fi
   4019 
   4020 
   4021 
   4022 ac_ext=c
   4023 ac_cpp='$CPP $CPPFLAGS'
   4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4028 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4029 # On Suns, sometimes $CPP names a directory.
   4030 if test -n "$CPP" && test -d "$CPP"; then
   4031   CPP=
   4032 fi
   4033 if test -z "$CPP"; then
   4034   if ${ac_cv_prog_CPP+:} false; then :
   4035   $as_echo_n "(cached) " >&6
   4036 else
   4037       # Double quotes because CPP needs to be expanded
   4038     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4039     do
   4040       ac_preproc_ok=false
   4041 for ac_c_preproc_warn_flag in '' yes
   4042 do
   4043   # Use a header file that comes with gcc, so configuring glibc
   4044   # with a fresh cross-compiler works.
   4045   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4046   # <limits.h> exists even on freestanding compilers.
   4047   # On the NeXT, cc -E runs the code through the compiler's parser,
   4048   # not just through cpp. "Syntax error" is here to catch this case.
   4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 #ifdef __STDC__
   4052 # include <limits.h>
   4053 #else
   4054 # include <assert.h>
   4055 #endif
   4056 		     Syntax error
   4057 _ACEOF
   4058 if ac_fn_c_try_cpp "$LINENO"; then :
   4059 
   4060 else
   4061   # Broken: fails on valid input.
   4062 continue
   4063 fi
   4064 rm -f conftest.err conftest.i conftest.$ac_ext
   4065 
   4066   # OK, works on sane cases.  Now check whether nonexistent headers
   4067   # can be detected and how.
   4068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 #include <ac_nonexistent.h>
   4071 _ACEOF
   4072 if ac_fn_c_try_cpp "$LINENO"; then :
   4073   # Broken: success on invalid input.
   4074 continue
   4075 else
   4076   # Passes both tests.
   4077 ac_preproc_ok=:
   4078 break
   4079 fi
   4080 rm -f conftest.err conftest.i conftest.$ac_ext
   4081 
   4082 done
   4083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4084 rm -f conftest.i conftest.err conftest.$ac_ext
   4085 if $ac_preproc_ok; then :
   4086   break
   4087 fi
   4088 
   4089     done
   4090     ac_cv_prog_CPP=$CPP
   4091 
   4092 fi
   4093   CPP=$ac_cv_prog_CPP
   4094 else
   4095   ac_cv_prog_CPP=$CPP
   4096 fi
   4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4098 $as_echo "$CPP" >&6; }
   4099 ac_preproc_ok=false
   4100 for ac_c_preproc_warn_flag in '' yes
   4101 do
   4102   # Use a header file that comes with gcc, so configuring glibc
   4103   # with a fresh cross-compiler works.
   4104   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4105   # <limits.h> exists even on freestanding compilers.
   4106   # On the NeXT, cc -E runs the code through the compiler's parser,
   4107   # not just through cpp. "Syntax error" is here to catch this case.
   4108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4109 /* end confdefs.h.  */
   4110 #ifdef __STDC__
   4111 # include <limits.h>
   4112 #else
   4113 # include <assert.h>
   4114 #endif
   4115 		     Syntax error
   4116 _ACEOF
   4117 if ac_fn_c_try_cpp "$LINENO"; then :
   4118 
   4119 else
   4120   # Broken: fails on valid input.
   4121 continue
   4122 fi
   4123 rm -f conftest.err conftest.i conftest.$ac_ext
   4124 
   4125   # OK, works on sane cases.  Now check whether nonexistent headers
   4126   # can be detected and how.
   4127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4128 /* end confdefs.h.  */
   4129 #include <ac_nonexistent.h>
   4130 _ACEOF
   4131 if ac_fn_c_try_cpp "$LINENO"; then :
   4132   # Broken: success on invalid input.
   4133 continue
   4134 else
   4135   # Passes both tests.
   4136 ac_preproc_ok=:
   4137 break
   4138 fi
   4139 rm -f conftest.err conftest.i conftest.$ac_ext
   4140 
   4141 done
   4142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4143 rm -f conftest.i conftest.err conftest.$ac_ext
   4144 if $ac_preproc_ok; then :
   4145 
   4146 else
   4147   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4149 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4150 See \`config.log' for more details" "$LINENO" 5; }
   4151 fi
   4152 
   4153 ac_ext=c
   4154 ac_cpp='$CPP $CPPFLAGS'
   4155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4158 
   4159 
   4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4161 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4162 if ${ac_cv_path_GREP+:} false; then :
   4163   $as_echo_n "(cached) " >&6
   4164 else
   4165   if test -z "$GREP"; then
   4166   ac_path_GREP_found=false
   4167   # Loop through the user's path and test for each of PROGNAME-LIST
   4168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4170 do
   4171   IFS=$as_save_IFS
   4172   test -z "$as_dir" && as_dir=.
   4173     for ac_prog in grep ggrep; do
   4174     for ac_exec_ext in '' $ac_executable_extensions; do
   4175       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4176       as_fn_executable_p "$ac_path_GREP" || continue
   4177 # Check for GNU ac_path_GREP and select it if it is found.
   4178   # Check for GNU $ac_path_GREP
   4179 case `"$ac_path_GREP" --version 2>&1` in
   4180 *GNU*)
   4181   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4182 *)
   4183   ac_count=0
   4184   $as_echo_n 0123456789 >"conftest.in"
   4185   while :
   4186   do
   4187     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4188     mv "conftest.tmp" "conftest.in"
   4189     cp "conftest.in" "conftest.nl"
   4190     $as_echo 'GREP' >> "conftest.nl"
   4191     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4192     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4193     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4194     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4195       # Best one so far, save it but keep looking for a better one
   4196       ac_cv_path_GREP="$ac_path_GREP"
   4197       ac_path_GREP_max=$ac_count
   4198     fi
   4199     # 10*(2^10) chars as input seems more than enough
   4200     test $ac_count -gt 10 && break
   4201   done
   4202   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4203 esac
   4204 
   4205       $ac_path_GREP_found && break 3
   4206     done
   4207   done
   4208   done
   4209 IFS=$as_save_IFS
   4210   if test -z "$ac_cv_path_GREP"; then
   4211     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4212   fi
   4213 else
   4214   ac_cv_path_GREP=$GREP
   4215 fi
   4216 
   4217 fi
   4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4219 $as_echo "$ac_cv_path_GREP" >&6; }
   4220  GREP="$ac_cv_path_GREP"
   4221 
   4222 
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4224 $as_echo_n "checking for egrep... " >&6; }
   4225 if ${ac_cv_path_EGREP+:} false; then :
   4226   $as_echo_n "(cached) " >&6
   4227 else
   4228   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4229    then ac_cv_path_EGREP="$GREP -E"
   4230    else
   4231      if test -z "$EGREP"; then
   4232   ac_path_EGREP_found=false
   4233   # Loop through the user's path and test for each of PROGNAME-LIST
   4234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4235 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4236 do
   4237   IFS=$as_save_IFS
   4238   test -z "$as_dir" && as_dir=.
   4239     for ac_prog in egrep; do
   4240     for ac_exec_ext in '' $ac_executable_extensions; do
   4241       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4242       as_fn_executable_p "$ac_path_EGREP" || continue
   4243 # Check for GNU ac_path_EGREP and select it if it is found.
   4244   # Check for GNU $ac_path_EGREP
   4245 case `"$ac_path_EGREP" --version 2>&1` in
   4246 *GNU*)
   4247   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4248 *)
   4249   ac_count=0
   4250   $as_echo_n 0123456789 >"conftest.in"
   4251   while :
   4252   do
   4253     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4254     mv "conftest.tmp" "conftest.in"
   4255     cp "conftest.in" "conftest.nl"
   4256     $as_echo 'EGREP' >> "conftest.nl"
   4257     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4258     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4259     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4260     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4261       # Best one so far, save it but keep looking for a better one
   4262       ac_cv_path_EGREP="$ac_path_EGREP"
   4263       ac_path_EGREP_max=$ac_count
   4264     fi
   4265     # 10*(2^10) chars as input seems more than enough
   4266     test $ac_count -gt 10 && break
   4267   done
   4268   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4269 esac
   4270 
   4271       $ac_path_EGREP_found && break 3
   4272     done
   4273   done
   4274   done
   4275 IFS=$as_save_IFS
   4276   if test -z "$ac_cv_path_EGREP"; then
   4277     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4278   fi
   4279 else
   4280   ac_cv_path_EGREP=$EGREP
   4281 fi
   4282 
   4283    fi
   4284 fi
   4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4286 $as_echo "$ac_cv_path_EGREP" >&6; }
   4287  EGREP="$ac_cv_path_EGREP"
   4288 
   4289 
   4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4291 $as_echo_n "checking for ANSI C header files... " >&6; }
   4292 if ${ac_cv_header_stdc+:} false; then :
   4293   $as_echo_n "(cached) " >&6
   4294 else
   4295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4296 /* end confdefs.h.  */
   4297 #include <stdlib.h>
   4298 #include <stdarg.h>
   4299 #include <string.h>
   4300 #include <float.h>
   4301 
   4302 int
   4303 main ()
   4304 {
   4305 
   4306   ;
   4307   return 0;
   4308 }
   4309 _ACEOF
   4310 if ac_fn_c_try_compile "$LINENO"; then :
   4311   ac_cv_header_stdc=yes
   4312 else
   4313   ac_cv_header_stdc=no
   4314 fi
   4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4316 
   4317 if test $ac_cv_header_stdc = yes; then
   4318   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4320 /* end confdefs.h.  */
   4321 #include <string.h>
   4322 
   4323 _ACEOF
   4324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4325   $EGREP "memchr" >/dev/null 2>&1; then :
   4326 
   4327 else
   4328   ac_cv_header_stdc=no
   4329 fi
   4330 rm -f conftest*
   4331 
   4332 fi
   4333 
   4334 if test $ac_cv_header_stdc = yes; then
   4335   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4337 /* end confdefs.h.  */
   4338 #include <stdlib.h>
   4339 
   4340 _ACEOF
   4341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4342   $EGREP "free" >/dev/null 2>&1; then :
   4343 
   4344 else
   4345   ac_cv_header_stdc=no
   4346 fi
   4347 rm -f conftest*
   4348 
   4349 fi
   4350 
   4351 if test $ac_cv_header_stdc = yes; then
   4352   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4353   if test "$cross_compiling" = yes; then :
   4354   :
   4355 else
   4356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4357 /* end confdefs.h.  */
   4358 #include <ctype.h>
   4359 #include <stdlib.h>
   4360 #if ((' ' & 0x0FF) == 0x020)
   4361 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4362 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4363 #else
   4364 # define ISLOWER(c) \
   4365 		   (('a' <= (c) && (c) <= 'i') \
   4366 		     || ('j' <= (c) && (c) <= 'r') \
   4367 		     || ('s' <= (c) && (c) <= 'z'))
   4368 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4369 #endif
   4370 
   4371 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4372 int
   4373 main ()
   4374 {
   4375   int i;
   4376   for (i = 0; i < 256; i++)
   4377     if (XOR (islower (i), ISLOWER (i))
   4378 	|| toupper (i) != TOUPPER (i))
   4379       return 2;
   4380   return 0;
   4381 }
   4382 _ACEOF
   4383 if ac_fn_c_try_run "$LINENO"; then :
   4384 
   4385 else
   4386   ac_cv_header_stdc=no
   4387 fi
   4388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4389   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4390 fi
   4391 
   4392 fi
   4393 fi
   4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4395 $as_echo "$ac_cv_header_stdc" >&6; }
   4396 if test $ac_cv_header_stdc = yes; then
   4397 
   4398 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4399 
   4400 fi
   4401 
   4402 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4403 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4404 		  inttypes.h stdint.h unistd.h
   4405 do :
   4406   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4408 "
   4409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4410   cat >>confdefs.h <<_ACEOF
   4411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4412 _ACEOF
   4413 
   4414 fi
   4415 
   4416 done
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4424 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4425   CLANGCC="yes"
   4426 else
   4427   CLANGCC="no"
   4428 fi
   4429 
   4430 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4431 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4432   INTELCC="yes"
   4433 else
   4434   INTELCC="no"
   4435 fi
   4436 
   4437 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4438 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4439   SUNCC="yes"
   4440 else
   4441   SUNCC="no"
   4442 fi
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 
   4450 
   4451 
   4452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4453 	if test -n "$ac_tool_prefix"; then
   4454   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4455 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4457 $as_echo_n "checking for $ac_word... " >&6; }
   4458 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   case $PKG_CONFIG in
   4462   [\\/]* | ?:[\\/]*)
   4463   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4464   ;;
   4465   *)
   4466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4467 for as_dir in $PATH
   4468 do
   4469   IFS=$as_save_IFS
   4470   test -z "$as_dir" && as_dir=.
   4471     for ac_exec_ext in '' $ac_executable_extensions; do
   4472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4473     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4475     break 2
   4476   fi
   4477 done
   4478   done
   4479 IFS=$as_save_IFS
   4480 
   4481   ;;
   4482 esac
   4483 fi
   4484 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4485 if test -n "$PKG_CONFIG"; then
   4486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4487 $as_echo "$PKG_CONFIG" >&6; }
   4488 else
   4489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4490 $as_echo "no" >&6; }
   4491 fi
   4492 
   4493 
   4494 fi
   4495 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4496   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4497   # Extract the first word of "pkg-config", so it can be a program name with args.
   4498 set dummy pkg-config; ac_word=$2
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4500 $as_echo_n "checking for $ac_word... " >&6; }
   4501 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4502   $as_echo_n "(cached) " >&6
   4503 else
   4504   case $ac_pt_PKG_CONFIG in
   4505   [\\/]* | ?:[\\/]*)
   4506   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4507   ;;
   4508   *)
   4509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4510 for as_dir in $PATH
   4511 do
   4512   IFS=$as_save_IFS
   4513   test -z "$as_dir" && as_dir=.
   4514     for ac_exec_ext in '' $ac_executable_extensions; do
   4515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4516     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4518     break 2
   4519   fi
   4520 done
   4521   done
   4522 IFS=$as_save_IFS
   4523 
   4524   ;;
   4525 esac
   4526 fi
   4527 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4528 if test -n "$ac_pt_PKG_CONFIG"; then
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4530 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4531 else
   4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4533 $as_echo "no" >&6; }
   4534 fi
   4535 
   4536   if test "x$ac_pt_PKG_CONFIG" = x; then
   4537     PKG_CONFIG=""
   4538   else
   4539     case $cross_compiling:$ac_tool_warned in
   4540 yes:)
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4543 ac_tool_warned=yes ;;
   4544 esac
   4545     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4546   fi
   4547 else
   4548   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4549 fi
   4550 
   4551 fi
   4552 if test -n "$PKG_CONFIG"; then
   4553 	_pkg_min_version=0.9.0
   4554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4555 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4556 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4558 $as_echo "yes" >&6; }
   4559 	else
   4560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4561 $as_echo "no" >&6; }
   4562 		PKG_CONFIG=""
   4563 	fi
   4564 fi
   4565 # Make sure we can run config.sub.
   4566 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4567   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4568 
   4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4570 $as_echo_n "checking build system type... " >&6; }
   4571 if ${ac_cv_build+:} false; then :
   4572   $as_echo_n "(cached) " >&6
   4573 else
   4574   ac_build_alias=$build_alias
   4575 test "x$ac_build_alias" = x &&
   4576   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4577 test "x$ac_build_alias" = x &&
   4578   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4579 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4580   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4581 
   4582 fi
   4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4584 $as_echo "$ac_cv_build" >&6; }
   4585 case $ac_cv_build in
   4586 *-*-*) ;;
   4587 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4588 esac
   4589 build=$ac_cv_build
   4590 ac_save_IFS=$IFS; IFS='-'
   4591 set x $ac_cv_build
   4592 shift
   4593 build_cpu=$1
   4594 build_vendor=$2
   4595 shift; shift
   4596 # Remember, the first character of IFS is used to create $*,
   4597 # except with old shells:
   4598 build_os=$*
   4599 IFS=$ac_save_IFS
   4600 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4601 
   4602 
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4604 $as_echo_n "checking host system type... " >&6; }
   4605 if ${ac_cv_host+:} false; then :
   4606   $as_echo_n "(cached) " >&6
   4607 else
   4608   if test "x$host_alias" = x; then
   4609   ac_cv_host=$ac_cv_build
   4610 else
   4611   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4612     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4613 fi
   4614 
   4615 fi
   4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4617 $as_echo "$ac_cv_host" >&6; }
   4618 case $ac_cv_host in
   4619 *-*-*) ;;
   4620 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4621 esac
   4622 host=$ac_cv_host
   4623 ac_save_IFS=$IFS; IFS='-'
   4624 set x $ac_cv_host
   4625 shift
   4626 host_cpu=$1
   4627 host_vendor=$2
   4628 shift; shift
   4629 # Remember, the first character of IFS is used to create $*,
   4630 # except with old shells:
   4631 host_os=$*
   4632 IFS=$ac_save_IFS
   4633 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4634 
   4635 
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4637 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4638 if ${ac_cv_path_SED+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4642      for ac_i in 1 2 3 4 5 6 7; do
   4643        ac_script="$ac_script$as_nl$ac_script"
   4644      done
   4645      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4646      { ac_script=; unset ac_script;}
   4647      if test -z "$SED"; then
   4648   ac_path_SED_found=false
   4649   # Loop through the user's path and test for each of PROGNAME-LIST
   4650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4651 for as_dir in $PATH
   4652 do
   4653   IFS=$as_save_IFS
   4654   test -z "$as_dir" && as_dir=.
   4655     for ac_prog in sed gsed; do
   4656     for ac_exec_ext in '' $ac_executable_extensions; do
   4657       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4658       as_fn_executable_p "$ac_path_SED" || continue
   4659 # Check for GNU ac_path_SED and select it if it is found.
   4660   # Check for GNU $ac_path_SED
   4661 case `"$ac_path_SED" --version 2>&1` in
   4662 *GNU*)
   4663   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4664 *)
   4665   ac_count=0
   4666   $as_echo_n 0123456789 >"conftest.in"
   4667   while :
   4668   do
   4669     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4670     mv "conftest.tmp" "conftest.in"
   4671     cp "conftest.in" "conftest.nl"
   4672     $as_echo '' >> "conftest.nl"
   4673     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4674     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4675     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4676     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4677       # Best one so far, save it but keep looking for a better one
   4678       ac_cv_path_SED="$ac_path_SED"
   4679       ac_path_SED_max=$ac_count
   4680     fi
   4681     # 10*(2^10) chars as input seems more than enough
   4682     test $ac_count -gt 10 && break
   4683   done
   4684   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4685 esac
   4686 
   4687       $ac_path_SED_found && break 3
   4688     done
   4689   done
   4690   done
   4691 IFS=$as_save_IFS
   4692   if test -z "$ac_cv_path_SED"; then
   4693     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4694   fi
   4695 else
   4696   ac_cv_path_SED=$SED
   4697 fi
   4698 
   4699 fi
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4701 $as_echo "$ac_cv_path_SED" >&6; }
   4702  SED="$ac_cv_path_SED"
   4703   rm -f conftest.sed
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 # Check whether --enable-selective-werror was given.
   4711 if test "${enable_selective_werror+set}" = set; then :
   4712   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4713 else
   4714   SELECTIVE_WERROR=yes
   4715 fi
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4722 if test "x$SUNCC" = "xyes"; then
   4723     BASE_CFLAGS="-v"
   4724 else
   4725     BASE_CFLAGS=""
   4726 fi
   4727 
   4728 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 xorg_testset_save_CFLAGS="$CFLAGS"
   4743 
   4744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4748 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4752 /* end confdefs.h.  */
   4753 int i;
   4754 _ACEOF
   4755 if ac_fn_c_try_compile "$LINENO"; then :
   4756   xorg_cv_cc_flag_unknown_warning_option=yes
   4757 else
   4758   xorg_cv_cc_flag_unknown_warning_option=no
   4759 fi
   4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4761 fi
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4765 	CFLAGS="$xorg_testset_save_CFLAGS"
   4766 fi
   4767 
   4768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4771 	fi
   4772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4776   $as_echo_n "(cached) " >&6
   4777 else
   4778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4779 /* end confdefs.h.  */
   4780 int i;
   4781 _ACEOF
   4782 if ac_fn_c_try_compile "$LINENO"; then :
   4783   xorg_cv_cc_flag_unused_command_line_argument=yes
   4784 else
   4785   xorg_cv_cc_flag_unused_command_line_argument=no
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4788 fi
   4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4792 	CFLAGS="$xorg_testset_save_CFLAGS"
   4793 fi
   4794 
   4795 found="no"
   4796 
   4797 	if test $found = "no" ; then
   4798 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4800 		fi
   4801 
   4802 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4804 		fi
   4805 
   4806 		CFLAGS="$CFLAGS -Wall"
   4807 
   4808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4809 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4810 		cacheid=xorg_cv_cc_flag__Wall
   4811 		if eval \${$cacheid+:} false; then :
   4812   $as_echo_n "(cached) " >&6
   4813 else
   4814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4815 /* end confdefs.h.  */
   4816 int i;
   4817 int
   4818 main ()
   4819 {
   4820 
   4821   ;
   4822   return 0;
   4823 }
   4824 _ACEOF
   4825 if ac_fn_c_try_link "$LINENO"; then :
   4826   eval $cacheid=yes
   4827 else
   4828   eval $cacheid=no
   4829 fi
   4830 rm -f core conftest.err conftest.$ac_objext \
   4831     conftest$ac_exeext conftest.$ac_ext
   4832 fi
   4833 
   4834 
   4835 		CFLAGS="$xorg_testset_save_CFLAGS"
   4836 
   4837 		eval supported=\$$cacheid
   4838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4839 $as_echo "$supported" >&6; }
   4840 		if test "$supported" = "yes" ; then
   4841 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4842 			found="yes"
   4843 		fi
   4844 	fi
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 xorg_testset_save_CFLAGS="$CFLAGS"
   4861 
   4862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4867   $as_echo_n "(cached) " >&6
   4868 else
   4869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4870 /* end confdefs.h.  */
   4871 int i;
   4872 _ACEOF
   4873 if ac_fn_c_try_compile "$LINENO"; then :
   4874   xorg_cv_cc_flag_unknown_warning_option=yes
   4875 else
   4876   xorg_cv_cc_flag_unknown_warning_option=no
   4877 fi
   4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4879 fi
   4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4883 	CFLAGS="$xorg_testset_save_CFLAGS"
   4884 fi
   4885 
   4886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4889 	fi
   4890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4894   $as_echo_n "(cached) " >&6
   4895 else
   4896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4897 /* end confdefs.h.  */
   4898 int i;
   4899 _ACEOF
   4900 if ac_fn_c_try_compile "$LINENO"; then :
   4901   xorg_cv_cc_flag_unused_command_line_argument=yes
   4902 else
   4903   xorg_cv_cc_flag_unused_command_line_argument=no
   4904 fi
   4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4906 fi
   4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4910 	CFLAGS="$xorg_testset_save_CFLAGS"
   4911 fi
   4912 
   4913 found="no"
   4914 
   4915 	if test $found = "no" ; then
   4916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4918 		fi
   4919 
   4920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4922 		fi
   4923 
   4924 		CFLAGS="$CFLAGS -Wpointer-arith"
   4925 
   4926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4927 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4928 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4929 		if eval \${$cacheid+:} false; then :
   4930   $as_echo_n "(cached) " >&6
   4931 else
   4932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4933 /* end confdefs.h.  */
   4934 int i;
   4935 int
   4936 main ()
   4937 {
   4938 
   4939   ;
   4940   return 0;
   4941 }
   4942 _ACEOF
   4943 if ac_fn_c_try_link "$LINENO"; then :
   4944   eval $cacheid=yes
   4945 else
   4946   eval $cacheid=no
   4947 fi
   4948 rm -f core conftest.err conftest.$ac_objext \
   4949     conftest$ac_exeext conftest.$ac_ext
   4950 fi
   4951 
   4952 
   4953 		CFLAGS="$xorg_testset_save_CFLAGS"
   4954 
   4955 		eval supported=\$$cacheid
   4956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4957 $as_echo "$supported" >&6; }
   4958 		if test "$supported" = "yes" ; then
   4959 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4960 			found="yes"
   4961 		fi
   4962 	fi
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 xorg_testset_save_CFLAGS="$CFLAGS"
   4979 
   4980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4988 /* end confdefs.h.  */
   4989 int i;
   4990 _ACEOF
   4991 if ac_fn_c_try_compile "$LINENO"; then :
   4992   xorg_cv_cc_flag_unknown_warning_option=yes
   4993 else
   4994   xorg_cv_cc_flag_unknown_warning_option=no
   4995 fi
   4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4997 fi
   4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5001 	CFLAGS="$xorg_testset_save_CFLAGS"
   5002 fi
   5003 
   5004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5007 	fi
   5008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5012   $as_echo_n "(cached) " >&6
   5013 else
   5014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5015 /* end confdefs.h.  */
   5016 int i;
   5017 _ACEOF
   5018 if ac_fn_c_try_compile "$LINENO"; then :
   5019   xorg_cv_cc_flag_unused_command_line_argument=yes
   5020 else
   5021   xorg_cv_cc_flag_unused_command_line_argument=no
   5022 fi
   5023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5024 fi
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5028 	CFLAGS="$xorg_testset_save_CFLAGS"
   5029 fi
   5030 
   5031 found="no"
   5032 
   5033 	if test $found = "no" ; then
   5034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5036 		fi
   5037 
   5038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5040 		fi
   5041 
   5042 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5043 
   5044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5045 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5046 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5047 		if eval \${$cacheid+:} false; then :
   5048   $as_echo_n "(cached) " >&6
   5049 else
   5050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5051 /* end confdefs.h.  */
   5052 int i;
   5053 int
   5054 main ()
   5055 {
   5056 
   5057   ;
   5058   return 0;
   5059 }
   5060 _ACEOF
   5061 if ac_fn_c_try_link "$LINENO"; then :
   5062   eval $cacheid=yes
   5063 else
   5064   eval $cacheid=no
   5065 fi
   5066 rm -f core conftest.err conftest.$ac_objext \
   5067     conftest$ac_exeext conftest.$ac_ext
   5068 fi
   5069 
   5070 
   5071 		CFLAGS="$xorg_testset_save_CFLAGS"
   5072 
   5073 		eval supported=\$$cacheid
   5074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5075 $as_echo "$supported" >&6; }
   5076 		if test "$supported" = "yes" ; then
   5077 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5078 			found="yes"
   5079 		fi
   5080 	fi
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 xorg_testset_save_CFLAGS="$CFLAGS"
   5097 
   5098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5103   $as_echo_n "(cached) " >&6
   5104 else
   5105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5106 /* end confdefs.h.  */
   5107 int i;
   5108 _ACEOF
   5109 if ac_fn_c_try_compile "$LINENO"; then :
   5110   xorg_cv_cc_flag_unknown_warning_option=yes
   5111 else
   5112   xorg_cv_cc_flag_unknown_warning_option=no
   5113 fi
   5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5115 fi
   5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5119 	CFLAGS="$xorg_testset_save_CFLAGS"
   5120 fi
   5121 
   5122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 	fi
   5126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5130   $as_echo_n "(cached) " >&6
   5131 else
   5132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5133 /* end confdefs.h.  */
   5134 int i;
   5135 _ACEOF
   5136 if ac_fn_c_try_compile "$LINENO"; then :
   5137   xorg_cv_cc_flag_unused_command_line_argument=yes
   5138 else
   5139   xorg_cv_cc_flag_unused_command_line_argument=no
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5142 fi
   5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5146 	CFLAGS="$xorg_testset_save_CFLAGS"
   5147 fi
   5148 
   5149 found="no"
   5150 
   5151 	if test $found = "no" ; then
   5152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5154 		fi
   5155 
   5156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5158 		fi
   5159 
   5160 		CFLAGS="$CFLAGS -Wformat=2"
   5161 
   5162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5163 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5164 		cacheid=xorg_cv_cc_flag__Wformat_2
   5165 		if eval \${$cacheid+:} false; then :
   5166   $as_echo_n "(cached) " >&6
   5167 else
   5168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5169 /* end confdefs.h.  */
   5170 int i;
   5171 int
   5172 main ()
   5173 {
   5174 
   5175   ;
   5176   return 0;
   5177 }
   5178 _ACEOF
   5179 if ac_fn_c_try_link "$LINENO"; then :
   5180   eval $cacheid=yes
   5181 else
   5182   eval $cacheid=no
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext \
   5185     conftest$ac_exeext conftest.$ac_ext
   5186 fi
   5187 
   5188 
   5189 		CFLAGS="$xorg_testset_save_CFLAGS"
   5190 
   5191 		eval supported=\$$cacheid
   5192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5193 $as_echo "$supported" >&6; }
   5194 		if test "$supported" = "yes" ; then
   5195 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5196 			found="yes"
   5197 		fi
   5198 	fi
   5199 
   5200 	if test $found = "no" ; then
   5201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5203 		fi
   5204 
   5205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5207 		fi
   5208 
   5209 		CFLAGS="$CFLAGS -Wformat"
   5210 
   5211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5212 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5213 		cacheid=xorg_cv_cc_flag__Wformat
   5214 		if eval \${$cacheid+:} false; then :
   5215   $as_echo_n "(cached) " >&6
   5216 else
   5217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5218 /* end confdefs.h.  */
   5219 int i;
   5220 int
   5221 main ()
   5222 {
   5223 
   5224   ;
   5225   return 0;
   5226 }
   5227 _ACEOF
   5228 if ac_fn_c_try_link "$LINENO"; then :
   5229   eval $cacheid=yes
   5230 else
   5231   eval $cacheid=no
   5232 fi
   5233 rm -f core conftest.err conftest.$ac_objext \
   5234     conftest$ac_exeext conftest.$ac_ext
   5235 fi
   5236 
   5237 
   5238 		CFLAGS="$xorg_testset_save_CFLAGS"
   5239 
   5240 		eval supported=\$$cacheid
   5241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5242 $as_echo "$supported" >&6; }
   5243 		if test "$supported" = "yes" ; then
   5244 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5245 			found="yes"
   5246 		fi
   5247 	fi
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 xorg_testset_save_CFLAGS="$CFLAGS"
   5266 
   5267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5275 /* end confdefs.h.  */
   5276 int i;
   5277 _ACEOF
   5278 if ac_fn_c_try_compile "$LINENO"; then :
   5279   xorg_cv_cc_flag_unknown_warning_option=yes
   5280 else
   5281   xorg_cv_cc_flag_unknown_warning_option=no
   5282 fi
   5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5284 fi
   5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5288 	CFLAGS="$xorg_testset_save_CFLAGS"
   5289 fi
   5290 
   5291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5294 	fi
   5295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5299   $as_echo_n "(cached) " >&6
   5300 else
   5301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5302 /* end confdefs.h.  */
   5303 int i;
   5304 _ACEOF
   5305 if ac_fn_c_try_compile "$LINENO"; then :
   5306   xorg_cv_cc_flag_unused_command_line_argument=yes
   5307 else
   5308   xorg_cv_cc_flag_unused_command_line_argument=no
   5309 fi
   5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5311 fi
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5315 	CFLAGS="$xorg_testset_save_CFLAGS"
   5316 fi
   5317 
   5318 found="no"
   5319 
   5320 	if test $found = "no" ; then
   5321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 		fi
   5324 
   5325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 		fi
   5328 
   5329 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5330 
   5331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5332 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5333 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5334 		if eval \${$cacheid+:} false; then :
   5335   $as_echo_n "(cached) " >&6
   5336 else
   5337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5338 /* end confdefs.h.  */
   5339 int i;
   5340 int
   5341 main ()
   5342 {
   5343 
   5344   ;
   5345   return 0;
   5346 }
   5347 _ACEOF
   5348 if ac_fn_c_try_link "$LINENO"; then :
   5349   eval $cacheid=yes
   5350 else
   5351   eval $cacheid=no
   5352 fi
   5353 rm -f core conftest.err conftest.$ac_objext \
   5354     conftest$ac_exeext conftest.$ac_ext
   5355 fi
   5356 
   5357 
   5358 		CFLAGS="$xorg_testset_save_CFLAGS"
   5359 
   5360 		eval supported=\$$cacheid
   5361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5362 $as_echo "$supported" >&6; }
   5363 		if test "$supported" = "yes" ; then
   5364 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5365 			found="yes"
   5366 		fi
   5367 	fi
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 xorg_testset_save_CFLAGS="$CFLAGS"
   5384 
   5385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5393 /* end confdefs.h.  */
   5394 int i;
   5395 _ACEOF
   5396 if ac_fn_c_try_compile "$LINENO"; then :
   5397   xorg_cv_cc_flag_unknown_warning_option=yes
   5398 else
   5399   xorg_cv_cc_flag_unknown_warning_option=no
   5400 fi
   5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5402 fi
   5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5406 	CFLAGS="$xorg_testset_save_CFLAGS"
   5407 fi
   5408 
   5409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 	fi
   5413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5417   $as_echo_n "(cached) " >&6
   5418 else
   5419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5420 /* end confdefs.h.  */
   5421 int i;
   5422 _ACEOF
   5423 if ac_fn_c_try_compile "$LINENO"; then :
   5424   xorg_cv_cc_flag_unused_command_line_argument=yes
   5425 else
   5426   xorg_cv_cc_flag_unused_command_line_argument=no
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5429 fi
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5433 	CFLAGS="$xorg_testset_save_CFLAGS"
   5434 fi
   5435 
   5436 found="no"
   5437 
   5438 	if test $found = "no" ; then
   5439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5441 		fi
   5442 
   5443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5445 		fi
   5446 
   5447 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5448 
   5449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5450 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5451 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5452 		if eval \${$cacheid+:} false; then :
   5453   $as_echo_n "(cached) " >&6
   5454 else
   5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5456 /* end confdefs.h.  */
   5457 int i;
   5458 int
   5459 main ()
   5460 {
   5461 
   5462   ;
   5463   return 0;
   5464 }
   5465 _ACEOF
   5466 if ac_fn_c_try_link "$LINENO"; then :
   5467   eval $cacheid=yes
   5468 else
   5469   eval $cacheid=no
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext \
   5472     conftest$ac_exeext conftest.$ac_ext
   5473 fi
   5474 
   5475 
   5476 		CFLAGS="$xorg_testset_save_CFLAGS"
   5477 
   5478 		eval supported=\$$cacheid
   5479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5480 $as_echo "$supported" >&6; }
   5481 		if test "$supported" = "yes" ; then
   5482 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5483 			found="yes"
   5484 		fi
   5485 	fi
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 xorg_testset_save_CFLAGS="$CFLAGS"
   5502 
   5503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5508   $as_echo_n "(cached) " >&6
   5509 else
   5510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 int i;
   5513 _ACEOF
   5514 if ac_fn_c_try_compile "$LINENO"; then :
   5515   xorg_cv_cc_flag_unknown_warning_option=yes
   5516 else
   5517   xorg_cv_cc_flag_unknown_warning_option=no
   5518 fi
   5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5520 fi
   5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5524 	CFLAGS="$xorg_testset_save_CFLAGS"
   5525 fi
   5526 
   5527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	fi
   5531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5538 /* end confdefs.h.  */
   5539 int i;
   5540 _ACEOF
   5541 if ac_fn_c_try_compile "$LINENO"; then :
   5542   xorg_cv_cc_flag_unused_command_line_argument=yes
   5543 else
   5544   xorg_cv_cc_flag_unused_command_line_argument=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5547 fi
   5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5551 	CFLAGS="$xorg_testset_save_CFLAGS"
   5552 fi
   5553 
   5554 found="no"
   5555 
   5556 	if test $found = "no" ; then
   5557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 		fi
   5560 
   5561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5563 		fi
   5564 
   5565 		CFLAGS="$CFLAGS -Wnested-externs"
   5566 
   5567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5568 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5569 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5570 		if eval \${$cacheid+:} false; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5574 /* end confdefs.h.  */
   5575 int i;
   5576 int
   5577 main ()
   5578 {
   5579 
   5580   ;
   5581   return 0;
   5582 }
   5583 _ACEOF
   5584 if ac_fn_c_try_link "$LINENO"; then :
   5585   eval $cacheid=yes
   5586 else
   5587   eval $cacheid=no
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext \
   5590     conftest$ac_exeext conftest.$ac_ext
   5591 fi
   5592 
   5593 
   5594 		CFLAGS="$xorg_testset_save_CFLAGS"
   5595 
   5596 		eval supported=\$$cacheid
   5597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5598 $as_echo "$supported" >&6; }
   5599 		if test "$supported" = "yes" ; then
   5600 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5601 			found="yes"
   5602 		fi
   5603 	fi
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 xorg_testset_save_CFLAGS="$CFLAGS"
   5620 
   5621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5624 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5625 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5626   $as_echo_n "(cached) " >&6
   5627 else
   5628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5629 /* end confdefs.h.  */
   5630 int i;
   5631 _ACEOF
   5632 if ac_fn_c_try_compile "$LINENO"; then :
   5633   xorg_cv_cc_flag_unknown_warning_option=yes
   5634 else
   5635   xorg_cv_cc_flag_unknown_warning_option=no
   5636 fi
   5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5638 fi
   5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5640 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5642 	CFLAGS="$xorg_testset_save_CFLAGS"
   5643 fi
   5644 
   5645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5648 	fi
   5649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5651 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5652 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5653   $as_echo_n "(cached) " >&6
   5654 else
   5655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5656 /* end confdefs.h.  */
   5657 int i;
   5658 _ACEOF
   5659 if ac_fn_c_try_compile "$LINENO"; then :
   5660   xorg_cv_cc_flag_unused_command_line_argument=yes
   5661 else
   5662   xorg_cv_cc_flag_unused_command_line_argument=no
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5665 fi
   5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5667 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5669 	CFLAGS="$xorg_testset_save_CFLAGS"
   5670 fi
   5671 
   5672 found="no"
   5673 
   5674 	if test $found = "no" ; then
   5675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5677 		fi
   5678 
   5679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5681 		fi
   5682 
   5683 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5684 
   5685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5686 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5687 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5688 		if eval \${$cacheid+:} false; then :
   5689   $as_echo_n "(cached) " >&6
   5690 else
   5691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5692 /* end confdefs.h.  */
   5693 int i;
   5694 int
   5695 main ()
   5696 {
   5697 
   5698   ;
   5699   return 0;
   5700 }
   5701 _ACEOF
   5702 if ac_fn_c_try_link "$LINENO"; then :
   5703   eval $cacheid=yes
   5704 else
   5705   eval $cacheid=no
   5706 fi
   5707 rm -f core conftest.err conftest.$ac_objext \
   5708     conftest$ac_exeext conftest.$ac_ext
   5709 fi
   5710 
   5711 
   5712 		CFLAGS="$xorg_testset_save_CFLAGS"
   5713 
   5714 		eval supported=\$$cacheid
   5715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5716 $as_echo "$supported" >&6; }
   5717 		if test "$supported" = "yes" ; then
   5718 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5719 			found="yes"
   5720 		fi
   5721 	fi
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 xorg_testset_save_CFLAGS="$CFLAGS"
   5738 
   5739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5744   $as_echo_n "(cached) " >&6
   5745 else
   5746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5747 /* end confdefs.h.  */
   5748 int i;
   5749 _ACEOF
   5750 if ac_fn_c_try_compile "$LINENO"; then :
   5751   xorg_cv_cc_flag_unknown_warning_option=yes
   5752 else
   5753   xorg_cv_cc_flag_unknown_warning_option=no
   5754 fi
   5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5756 fi
   5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5760 	CFLAGS="$xorg_testset_save_CFLAGS"
   5761 fi
   5762 
   5763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	fi
   5767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5771   $as_echo_n "(cached) " >&6
   5772 else
   5773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5774 /* end confdefs.h.  */
   5775 int i;
   5776 _ACEOF
   5777 if ac_fn_c_try_compile "$LINENO"; then :
   5778   xorg_cv_cc_flag_unused_command_line_argument=yes
   5779 else
   5780   xorg_cv_cc_flag_unused_command_line_argument=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5783 fi
   5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5787 	CFLAGS="$xorg_testset_save_CFLAGS"
   5788 fi
   5789 
   5790 found="no"
   5791 
   5792 	if test $found = "no" ; then
   5793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5795 		fi
   5796 
   5797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5799 		fi
   5800 
   5801 		CFLAGS="$CFLAGS -Wold-style-definition"
   5802 
   5803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5804 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5805 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5806 		if eval \${$cacheid+:} false; then :
   5807   $as_echo_n "(cached) " >&6
   5808 else
   5809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 int i;
   5812 int
   5813 main ()
   5814 {
   5815 
   5816   ;
   5817   return 0;
   5818 }
   5819 _ACEOF
   5820 if ac_fn_c_try_link "$LINENO"; then :
   5821   eval $cacheid=yes
   5822 else
   5823   eval $cacheid=no
   5824 fi
   5825 rm -f core conftest.err conftest.$ac_objext \
   5826     conftest$ac_exeext conftest.$ac_ext
   5827 fi
   5828 
   5829 
   5830 		CFLAGS="$xorg_testset_save_CFLAGS"
   5831 
   5832 		eval supported=\$$cacheid
   5833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5834 $as_echo "$supported" >&6; }
   5835 		if test "$supported" = "yes" ; then
   5836 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5837 			found="yes"
   5838 		fi
   5839 	fi
   5840 
   5841 	if test $found = "no" ; then
   5842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5844 		fi
   5845 
   5846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5848 		fi
   5849 
   5850 		CFLAGS="$CFLAGS -fd"
   5851 
   5852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5853 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5854 		cacheid=xorg_cv_cc_flag__fd
   5855 		if eval \${$cacheid+:} false; then :
   5856   $as_echo_n "(cached) " >&6
   5857 else
   5858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5859 /* end confdefs.h.  */
   5860 int i;
   5861 int
   5862 main ()
   5863 {
   5864 
   5865   ;
   5866   return 0;
   5867 }
   5868 _ACEOF
   5869 if ac_fn_c_try_link "$LINENO"; then :
   5870   eval $cacheid=yes
   5871 else
   5872   eval $cacheid=no
   5873 fi
   5874 rm -f core conftest.err conftest.$ac_objext \
   5875     conftest$ac_exeext conftest.$ac_ext
   5876 fi
   5877 
   5878 
   5879 		CFLAGS="$xorg_testset_save_CFLAGS"
   5880 
   5881 		eval supported=\$$cacheid
   5882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5883 $as_echo "$supported" >&6; }
   5884 		if test "$supported" = "yes" ; then
   5885 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5886 			found="yes"
   5887 		fi
   5888 	fi
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 xorg_testset_save_CFLAGS="$CFLAGS"
   5905 
   5906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5911   $as_echo_n "(cached) " >&6
   5912 else
   5913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5914 /* end confdefs.h.  */
   5915 int i;
   5916 _ACEOF
   5917 if ac_fn_c_try_compile "$LINENO"; then :
   5918   xorg_cv_cc_flag_unknown_warning_option=yes
   5919 else
   5920   xorg_cv_cc_flag_unknown_warning_option=no
   5921 fi
   5922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5923 fi
   5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5927 	CFLAGS="$xorg_testset_save_CFLAGS"
   5928 fi
   5929 
   5930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5933 	fi
   5934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 _ACEOF
   5944 if ac_fn_c_try_compile "$LINENO"; then :
   5945   xorg_cv_cc_flag_unused_command_line_argument=yes
   5946 else
   5947   xorg_cv_cc_flag_unused_command_line_argument=no
   5948 fi
   5949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5950 fi
   5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5954 	CFLAGS="$xorg_testset_save_CFLAGS"
   5955 fi
   5956 
   5957 found="no"
   5958 
   5959 	if test $found = "no" ; then
   5960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5962 		fi
   5963 
   5964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5966 		fi
   5967 
   5968 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5969 
   5970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5971 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5972 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5973 		if eval \${$cacheid+:} false; then :
   5974   $as_echo_n "(cached) " >&6
   5975 else
   5976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 int
   5980 main ()
   5981 {
   5982 
   5983   ;
   5984   return 0;
   5985 }
   5986 _ACEOF
   5987 if ac_fn_c_try_link "$LINENO"; then :
   5988   eval $cacheid=yes
   5989 else
   5990   eval $cacheid=no
   5991 fi
   5992 rm -f core conftest.err conftest.$ac_objext \
   5993     conftest$ac_exeext conftest.$ac_ext
   5994 fi
   5995 
   5996 
   5997 		CFLAGS="$xorg_testset_save_CFLAGS"
   5998 
   5999 		eval supported=\$$cacheid
   6000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6001 $as_echo "$supported" >&6; }
   6002 		if test "$supported" = "yes" ; then
   6003 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6004 			found="yes"
   6005 		fi
   6006 	fi
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 # This chunk adds additional warnings that could catch undesired effects.
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 xorg_testset_save_CFLAGS="$CFLAGS"
   6027 
   6028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6033   $as_echo_n "(cached) " >&6
   6034 else
   6035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6036 /* end confdefs.h.  */
   6037 int i;
   6038 _ACEOF
   6039 if ac_fn_c_try_compile "$LINENO"; then :
   6040   xorg_cv_cc_flag_unknown_warning_option=yes
   6041 else
   6042   xorg_cv_cc_flag_unknown_warning_option=no
   6043 fi
   6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6045 fi
   6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6049 	CFLAGS="$xorg_testset_save_CFLAGS"
   6050 fi
   6051 
   6052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6055 	fi
   6056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6060   $as_echo_n "(cached) " >&6
   6061 else
   6062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6063 /* end confdefs.h.  */
   6064 int i;
   6065 _ACEOF
   6066 if ac_fn_c_try_compile "$LINENO"; then :
   6067   xorg_cv_cc_flag_unused_command_line_argument=yes
   6068 else
   6069   xorg_cv_cc_flag_unused_command_line_argument=no
   6070 fi
   6071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6072 fi
   6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6076 	CFLAGS="$xorg_testset_save_CFLAGS"
   6077 fi
   6078 
   6079 found="no"
   6080 
   6081 	if test $found = "no" ; then
   6082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6084 		fi
   6085 
   6086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6088 		fi
   6089 
   6090 		CFLAGS="$CFLAGS -Wunused"
   6091 
   6092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6093 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6094 		cacheid=xorg_cv_cc_flag__Wunused
   6095 		if eval \${$cacheid+:} false; then :
   6096   $as_echo_n "(cached) " >&6
   6097 else
   6098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6099 /* end confdefs.h.  */
   6100 int i;
   6101 int
   6102 main ()
   6103 {
   6104 
   6105   ;
   6106   return 0;
   6107 }
   6108 _ACEOF
   6109 if ac_fn_c_try_link "$LINENO"; then :
   6110   eval $cacheid=yes
   6111 else
   6112   eval $cacheid=no
   6113 fi
   6114 rm -f core conftest.err conftest.$ac_objext \
   6115     conftest$ac_exeext conftest.$ac_ext
   6116 fi
   6117 
   6118 
   6119 		CFLAGS="$xorg_testset_save_CFLAGS"
   6120 
   6121 		eval supported=\$$cacheid
   6122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6123 $as_echo "$supported" >&6; }
   6124 		if test "$supported" = "yes" ; then
   6125 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6126 			found="yes"
   6127 		fi
   6128 	fi
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 xorg_testset_save_CFLAGS="$CFLAGS"
   6145 
   6146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6151   $as_echo_n "(cached) " >&6
   6152 else
   6153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6154 /* end confdefs.h.  */
   6155 int i;
   6156 _ACEOF
   6157 if ac_fn_c_try_compile "$LINENO"; then :
   6158   xorg_cv_cc_flag_unknown_warning_option=yes
   6159 else
   6160   xorg_cv_cc_flag_unknown_warning_option=no
   6161 fi
   6162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6163 fi
   6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6167 	CFLAGS="$xorg_testset_save_CFLAGS"
   6168 fi
   6169 
   6170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6173 	fi
   6174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6178   $as_echo_n "(cached) " >&6
   6179 else
   6180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6181 /* end confdefs.h.  */
   6182 int i;
   6183 _ACEOF
   6184 if ac_fn_c_try_compile "$LINENO"; then :
   6185   xorg_cv_cc_flag_unused_command_line_argument=yes
   6186 else
   6187   xorg_cv_cc_flag_unused_command_line_argument=no
   6188 fi
   6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6190 fi
   6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6194 	CFLAGS="$xorg_testset_save_CFLAGS"
   6195 fi
   6196 
   6197 found="no"
   6198 
   6199 	if test $found = "no" ; then
   6200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6202 		fi
   6203 
   6204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6206 		fi
   6207 
   6208 		CFLAGS="$CFLAGS -Wuninitialized"
   6209 
   6210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6211 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6212 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6213 		if eval \${$cacheid+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6217 /* end confdefs.h.  */
   6218 int i;
   6219 int
   6220 main ()
   6221 {
   6222 
   6223   ;
   6224   return 0;
   6225 }
   6226 _ACEOF
   6227 if ac_fn_c_try_link "$LINENO"; then :
   6228   eval $cacheid=yes
   6229 else
   6230   eval $cacheid=no
   6231 fi
   6232 rm -f core conftest.err conftest.$ac_objext \
   6233     conftest$ac_exeext conftest.$ac_ext
   6234 fi
   6235 
   6236 
   6237 		CFLAGS="$xorg_testset_save_CFLAGS"
   6238 
   6239 		eval supported=\$$cacheid
   6240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6241 $as_echo "$supported" >&6; }
   6242 		if test "$supported" = "yes" ; then
   6243 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6244 			found="yes"
   6245 		fi
   6246 	fi
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 xorg_testset_save_CFLAGS="$CFLAGS"
   6263 
   6264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6269   $as_echo_n "(cached) " >&6
   6270 else
   6271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6272 /* end confdefs.h.  */
   6273 int i;
   6274 _ACEOF
   6275 if ac_fn_c_try_compile "$LINENO"; then :
   6276   xorg_cv_cc_flag_unknown_warning_option=yes
   6277 else
   6278   xorg_cv_cc_flag_unknown_warning_option=no
   6279 fi
   6280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6281 fi
   6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6285 	CFLAGS="$xorg_testset_save_CFLAGS"
   6286 fi
   6287 
   6288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6291 	fi
   6292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6296   $as_echo_n "(cached) " >&6
   6297 else
   6298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6299 /* end confdefs.h.  */
   6300 int i;
   6301 _ACEOF
   6302 if ac_fn_c_try_compile "$LINENO"; then :
   6303   xorg_cv_cc_flag_unused_command_line_argument=yes
   6304 else
   6305   xorg_cv_cc_flag_unused_command_line_argument=no
   6306 fi
   6307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6308 fi
   6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6312 	CFLAGS="$xorg_testset_save_CFLAGS"
   6313 fi
   6314 
   6315 found="no"
   6316 
   6317 	if test $found = "no" ; then
   6318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6320 		fi
   6321 
   6322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6324 		fi
   6325 
   6326 		CFLAGS="$CFLAGS -Wshadow"
   6327 
   6328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6329 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6330 		cacheid=xorg_cv_cc_flag__Wshadow
   6331 		if eval \${$cacheid+:} false; then :
   6332   $as_echo_n "(cached) " >&6
   6333 else
   6334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6335 /* end confdefs.h.  */
   6336 int i;
   6337 int
   6338 main ()
   6339 {
   6340 
   6341   ;
   6342   return 0;
   6343 }
   6344 _ACEOF
   6345 if ac_fn_c_try_link "$LINENO"; then :
   6346   eval $cacheid=yes
   6347 else
   6348   eval $cacheid=no
   6349 fi
   6350 rm -f core conftest.err conftest.$ac_objext \
   6351     conftest$ac_exeext conftest.$ac_ext
   6352 fi
   6353 
   6354 
   6355 		CFLAGS="$xorg_testset_save_CFLAGS"
   6356 
   6357 		eval supported=\$$cacheid
   6358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6359 $as_echo "$supported" >&6; }
   6360 		if test "$supported" = "yes" ; then
   6361 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6362 			found="yes"
   6363 		fi
   6364 	fi
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 xorg_testset_save_CFLAGS="$CFLAGS"
   6381 
   6382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6385 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6386 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6390 /* end confdefs.h.  */
   6391 int i;
   6392 _ACEOF
   6393 if ac_fn_c_try_compile "$LINENO"; then :
   6394   xorg_cv_cc_flag_unknown_warning_option=yes
   6395 else
   6396   xorg_cv_cc_flag_unknown_warning_option=no
   6397 fi
   6398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6399 fi
   6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6401 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6403 	CFLAGS="$xorg_testset_save_CFLAGS"
   6404 fi
   6405 
   6406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 	fi
   6410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6412 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6413 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6414   $as_echo_n "(cached) " >&6
   6415 else
   6416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6417 /* end confdefs.h.  */
   6418 int i;
   6419 _ACEOF
   6420 if ac_fn_c_try_compile "$LINENO"; then :
   6421   xorg_cv_cc_flag_unused_command_line_argument=yes
   6422 else
   6423   xorg_cv_cc_flag_unused_command_line_argument=no
   6424 fi
   6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6426 fi
   6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6428 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6429 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6430 	CFLAGS="$xorg_testset_save_CFLAGS"
   6431 fi
   6432 
   6433 found="no"
   6434 
   6435 	if test $found = "no" ; then
   6436 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6438 		fi
   6439 
   6440 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6442 		fi
   6443 
   6444 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6445 
   6446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6447 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6448 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6449 		if eval \${$cacheid+:} false; then :
   6450   $as_echo_n "(cached) " >&6
   6451 else
   6452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 int
   6456 main ()
   6457 {
   6458 
   6459   ;
   6460   return 0;
   6461 }
   6462 _ACEOF
   6463 if ac_fn_c_try_link "$LINENO"; then :
   6464   eval $cacheid=yes
   6465 else
   6466   eval $cacheid=no
   6467 fi
   6468 rm -f core conftest.err conftest.$ac_objext \
   6469     conftest$ac_exeext conftest.$ac_ext
   6470 fi
   6471 
   6472 
   6473 		CFLAGS="$xorg_testset_save_CFLAGS"
   6474 
   6475 		eval supported=\$$cacheid
   6476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6477 $as_echo "$supported" >&6; }
   6478 		if test "$supported" = "yes" ; then
   6479 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6480 			found="yes"
   6481 		fi
   6482 	fi
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 xorg_testset_save_CFLAGS="$CFLAGS"
   6499 
   6500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6505   $as_echo_n "(cached) " >&6
   6506 else
   6507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6508 /* end confdefs.h.  */
   6509 int i;
   6510 _ACEOF
   6511 if ac_fn_c_try_compile "$LINENO"; then :
   6512   xorg_cv_cc_flag_unknown_warning_option=yes
   6513 else
   6514   xorg_cv_cc_flag_unknown_warning_option=no
   6515 fi
   6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6517 fi
   6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6521 	CFLAGS="$xorg_testset_save_CFLAGS"
   6522 fi
   6523 
   6524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6527 	fi
   6528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6532   $as_echo_n "(cached) " >&6
   6533 else
   6534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6535 /* end confdefs.h.  */
   6536 int i;
   6537 _ACEOF
   6538 if ac_fn_c_try_compile "$LINENO"; then :
   6539   xorg_cv_cc_flag_unused_command_line_argument=yes
   6540 else
   6541   xorg_cv_cc_flag_unused_command_line_argument=no
   6542 fi
   6543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6544 fi
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6548 	CFLAGS="$xorg_testset_save_CFLAGS"
   6549 fi
   6550 
   6551 found="no"
   6552 
   6553 	if test $found = "no" ; then
   6554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6556 		fi
   6557 
   6558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6560 		fi
   6561 
   6562 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6563 
   6564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6565 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6566 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6567 		if eval \${$cacheid+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6571 /* end confdefs.h.  */
   6572 int i;
   6573 int
   6574 main ()
   6575 {
   6576 
   6577   ;
   6578   return 0;
   6579 }
   6580 _ACEOF
   6581 if ac_fn_c_try_link "$LINENO"; then :
   6582   eval $cacheid=yes
   6583 else
   6584   eval $cacheid=no
   6585 fi
   6586 rm -f core conftest.err conftest.$ac_objext \
   6587     conftest$ac_exeext conftest.$ac_ext
   6588 fi
   6589 
   6590 
   6591 		CFLAGS="$xorg_testset_save_CFLAGS"
   6592 
   6593 		eval supported=\$$cacheid
   6594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6595 $as_echo "$supported" >&6; }
   6596 		if test "$supported" = "yes" ; then
   6597 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6598 			found="yes"
   6599 		fi
   6600 	fi
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 xorg_testset_save_CFLAGS="$CFLAGS"
   6617 
   6618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6621 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6622 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6623   $as_echo_n "(cached) " >&6
   6624 else
   6625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6626 /* end confdefs.h.  */
   6627 int i;
   6628 _ACEOF
   6629 if ac_fn_c_try_compile "$LINENO"; then :
   6630   xorg_cv_cc_flag_unknown_warning_option=yes
   6631 else
   6632   xorg_cv_cc_flag_unknown_warning_option=no
   6633 fi
   6634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6635 fi
   6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6637 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6639 	CFLAGS="$xorg_testset_save_CFLAGS"
   6640 fi
   6641 
   6642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6645 	fi
   6646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6648 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6649 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6650   $as_echo_n "(cached) " >&6
   6651 else
   6652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6653 /* end confdefs.h.  */
   6654 int i;
   6655 _ACEOF
   6656 if ac_fn_c_try_compile "$LINENO"; then :
   6657   xorg_cv_cc_flag_unused_command_line_argument=yes
   6658 else
   6659   xorg_cv_cc_flag_unused_command_line_argument=no
   6660 fi
   6661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6662 fi
   6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6664 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6666 	CFLAGS="$xorg_testset_save_CFLAGS"
   6667 fi
   6668 
   6669 found="no"
   6670 
   6671 	if test $found = "no" ; then
   6672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6674 		fi
   6675 
   6676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6678 		fi
   6679 
   6680 		CFLAGS="$CFLAGS -Wredundant-decls"
   6681 
   6682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6683 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6684 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6685 		if eval \${$cacheid+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 int
   6692 main ()
   6693 {
   6694 
   6695   ;
   6696   return 0;
   6697 }
   6698 _ACEOF
   6699 if ac_fn_c_try_link "$LINENO"; then :
   6700   eval $cacheid=yes
   6701 else
   6702   eval $cacheid=no
   6703 fi
   6704 rm -f core conftest.err conftest.$ac_objext \
   6705     conftest$ac_exeext conftest.$ac_ext
   6706 fi
   6707 
   6708 
   6709 		CFLAGS="$xorg_testset_save_CFLAGS"
   6710 
   6711 		eval supported=\$$cacheid
   6712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6713 $as_echo "$supported" >&6; }
   6714 		if test "$supported" = "yes" ; then
   6715 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6716 			found="yes"
   6717 		fi
   6718 	fi
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 xorg_testset_save_CFLAGS="$CFLAGS"
   6735 
   6736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6739 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6740 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 _ACEOF
   6747 if ac_fn_c_try_compile "$LINENO"; then :
   6748   xorg_cv_cc_flag_unknown_warning_option=yes
   6749 else
   6750   xorg_cv_cc_flag_unknown_warning_option=no
   6751 fi
   6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6753 fi
   6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6755 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6757 	CFLAGS="$xorg_testset_save_CFLAGS"
   6758 fi
   6759 
   6760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6763 	fi
   6764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6766 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6767 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6768   $as_echo_n "(cached) " >&6
   6769 else
   6770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6771 /* end confdefs.h.  */
   6772 int i;
   6773 _ACEOF
   6774 if ac_fn_c_try_compile "$LINENO"; then :
   6775   xorg_cv_cc_flag_unused_command_line_argument=yes
   6776 else
   6777   xorg_cv_cc_flag_unused_command_line_argument=no
   6778 fi
   6779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6780 fi
   6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6782 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6784 	CFLAGS="$xorg_testset_save_CFLAGS"
   6785 fi
   6786 
   6787 found="no"
   6788 
   6789 	if test $found = "no" ; then
   6790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6792 		fi
   6793 
   6794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6796 		fi
   6797 
   6798 		CFLAGS="$CFLAGS -Wlogical-op"
   6799 
   6800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6801 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6802 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6803 		if eval \${$cacheid+:} false; then :
   6804   $as_echo_n "(cached) " >&6
   6805 else
   6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 int
   6810 main ()
   6811 {
   6812 
   6813   ;
   6814   return 0;
   6815 }
   6816 _ACEOF
   6817 if ac_fn_c_try_link "$LINENO"; then :
   6818   eval $cacheid=yes
   6819 else
   6820   eval $cacheid=no
   6821 fi
   6822 rm -f core conftest.err conftest.$ac_objext \
   6823     conftest$ac_exeext conftest.$ac_ext
   6824 fi
   6825 
   6826 
   6827 		CFLAGS="$xorg_testset_save_CFLAGS"
   6828 
   6829 		eval supported=\$$cacheid
   6830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6831 $as_echo "$supported" >&6; }
   6832 		if test "$supported" = "yes" ; then
   6833 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6834 			found="yes"
   6835 		fi
   6836 	fi
   6837 
   6838 
   6839 
   6840 # These are currently disabled because they are noisy.  They will be enabled
   6841 # in the future once the codebase is sufficiently modernized to silence
   6842 # them.  For now, I don't want them to drown out the other warnings.
   6843 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6844 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6845 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6846 
   6847 # Turn some warnings into errors, so we don't accidently get successful builds
   6848 # when there are problems that should be fixed.
   6849 
   6850 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 xorg_testset_save_CFLAGS="$CFLAGS"
   6865 
   6866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6869 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6870 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6871   $as_echo_n "(cached) " >&6
   6872 else
   6873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 _ACEOF
   6877 if ac_fn_c_try_compile "$LINENO"; then :
   6878   xorg_cv_cc_flag_unknown_warning_option=yes
   6879 else
   6880   xorg_cv_cc_flag_unknown_warning_option=no
   6881 fi
   6882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6883 fi
   6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6885 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6887 	CFLAGS="$xorg_testset_save_CFLAGS"
   6888 fi
   6889 
   6890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6893 	fi
   6894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6896 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6897 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6898   $as_echo_n "(cached) " >&6
   6899 else
   6900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6901 /* end confdefs.h.  */
   6902 int i;
   6903 _ACEOF
   6904 if ac_fn_c_try_compile "$LINENO"; then :
   6905   xorg_cv_cc_flag_unused_command_line_argument=yes
   6906 else
   6907   xorg_cv_cc_flag_unused_command_line_argument=no
   6908 fi
   6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6910 fi
   6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6912 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6914 	CFLAGS="$xorg_testset_save_CFLAGS"
   6915 fi
   6916 
   6917 found="no"
   6918 
   6919 	if test $found = "no" ; then
   6920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6922 		fi
   6923 
   6924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6926 		fi
   6927 
   6928 		CFLAGS="$CFLAGS -Werror=implicit"
   6929 
   6930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6931 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6932 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6933 		if eval \${$cacheid+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 int
   6940 main ()
   6941 {
   6942 
   6943   ;
   6944   return 0;
   6945 }
   6946 _ACEOF
   6947 if ac_fn_c_try_link "$LINENO"; then :
   6948   eval $cacheid=yes
   6949 else
   6950   eval $cacheid=no
   6951 fi
   6952 rm -f core conftest.err conftest.$ac_objext \
   6953     conftest$ac_exeext conftest.$ac_ext
   6954 fi
   6955 
   6956 
   6957 		CFLAGS="$xorg_testset_save_CFLAGS"
   6958 
   6959 		eval supported=\$$cacheid
   6960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6961 $as_echo "$supported" >&6; }
   6962 		if test "$supported" = "yes" ; then
   6963 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6964 			found="yes"
   6965 		fi
   6966 	fi
   6967 
   6968 	if test $found = "no" ; then
   6969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6971 		fi
   6972 
   6973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6975 		fi
   6976 
   6977 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6978 
   6979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6980 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6981 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6982 		if eval \${$cacheid+:} false; then :
   6983   $as_echo_n "(cached) " >&6
   6984 else
   6985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"; then :
   6997   eval $cacheid=yes
   6998 else
   6999   eval $cacheid=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext \
   7002     conftest$ac_exeext conftest.$ac_ext
   7003 fi
   7004 
   7005 
   7006 		CFLAGS="$xorg_testset_save_CFLAGS"
   7007 
   7008 		eval supported=\$$cacheid
   7009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7010 $as_echo "$supported" >&6; }
   7011 		if test "$supported" = "yes" ; then
   7012 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7013 			found="yes"
   7014 		fi
   7015 	fi
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 xorg_testset_save_CFLAGS="$CFLAGS"
   7032 
   7033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7041 /* end confdefs.h.  */
   7042 int i;
   7043 _ACEOF
   7044 if ac_fn_c_try_compile "$LINENO"; then :
   7045   xorg_cv_cc_flag_unknown_warning_option=yes
   7046 else
   7047   xorg_cv_cc_flag_unknown_warning_option=no
   7048 fi
   7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7050 fi
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7054 	CFLAGS="$xorg_testset_save_CFLAGS"
   7055 fi
   7056 
   7057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7060 	fi
   7061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"; then :
   7072   xorg_cv_cc_flag_unused_command_line_argument=yes
   7073 else
   7074   xorg_cv_cc_flag_unused_command_line_argument=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7077 fi
   7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7081 	CFLAGS="$xorg_testset_save_CFLAGS"
   7082 fi
   7083 
   7084 found="no"
   7085 
   7086 	if test $found = "no" ; then
   7087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7089 		fi
   7090 
   7091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7093 		fi
   7094 
   7095 		CFLAGS="$CFLAGS -Werror=nonnull"
   7096 
   7097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7098 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7099 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7100 		if eval \${$cacheid+:} false; then :
   7101   $as_echo_n "(cached) " >&6
   7102 else
   7103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7104 /* end confdefs.h.  */
   7105 int i;
   7106 int
   7107 main ()
   7108 {
   7109 
   7110   ;
   7111   return 0;
   7112 }
   7113 _ACEOF
   7114 if ac_fn_c_try_link "$LINENO"; then :
   7115   eval $cacheid=yes
   7116 else
   7117   eval $cacheid=no
   7118 fi
   7119 rm -f core conftest.err conftest.$ac_objext \
   7120     conftest$ac_exeext conftest.$ac_ext
   7121 fi
   7122 
   7123 
   7124 		CFLAGS="$xorg_testset_save_CFLAGS"
   7125 
   7126 		eval supported=\$$cacheid
   7127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7128 $as_echo "$supported" >&6; }
   7129 		if test "$supported" = "yes" ; then
   7130 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7131 			found="yes"
   7132 		fi
   7133 	fi
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 xorg_testset_save_CFLAGS="$CFLAGS"
   7150 
   7151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7154 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7155 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7156   $as_echo_n "(cached) " >&6
   7157 else
   7158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7159 /* end confdefs.h.  */
   7160 int i;
   7161 _ACEOF
   7162 if ac_fn_c_try_compile "$LINENO"; then :
   7163   xorg_cv_cc_flag_unknown_warning_option=yes
   7164 else
   7165   xorg_cv_cc_flag_unknown_warning_option=no
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7168 fi
   7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7170 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7172 	CFLAGS="$xorg_testset_save_CFLAGS"
   7173 fi
   7174 
   7175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7178 	fi
   7179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7181 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7182 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7183   $as_echo_n "(cached) " >&6
   7184 else
   7185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7186 /* end confdefs.h.  */
   7187 int i;
   7188 _ACEOF
   7189 if ac_fn_c_try_compile "$LINENO"; then :
   7190   xorg_cv_cc_flag_unused_command_line_argument=yes
   7191 else
   7192   xorg_cv_cc_flag_unused_command_line_argument=no
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7195 fi
   7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7197 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7199 	CFLAGS="$xorg_testset_save_CFLAGS"
   7200 fi
   7201 
   7202 found="no"
   7203 
   7204 	if test $found = "no" ; then
   7205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7207 		fi
   7208 
   7209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7211 		fi
   7212 
   7213 		CFLAGS="$CFLAGS -Werror=init-self"
   7214 
   7215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7216 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7217 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7218 		if eval \${$cacheid+:} false; then :
   7219   $as_echo_n "(cached) " >&6
   7220 else
   7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 int i;
   7224 int
   7225 main ()
   7226 {
   7227 
   7228   ;
   7229   return 0;
   7230 }
   7231 _ACEOF
   7232 if ac_fn_c_try_link "$LINENO"; then :
   7233   eval $cacheid=yes
   7234 else
   7235   eval $cacheid=no
   7236 fi
   7237 rm -f core conftest.err conftest.$ac_objext \
   7238     conftest$ac_exeext conftest.$ac_ext
   7239 fi
   7240 
   7241 
   7242 		CFLAGS="$xorg_testset_save_CFLAGS"
   7243 
   7244 		eval supported=\$$cacheid
   7245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7246 $as_echo "$supported" >&6; }
   7247 		if test "$supported" = "yes" ; then
   7248 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7249 			found="yes"
   7250 		fi
   7251 	fi
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 xorg_testset_save_CFLAGS="$CFLAGS"
   7268 
   7269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7272 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7273 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7274   $as_echo_n "(cached) " >&6
   7275 else
   7276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7277 /* end confdefs.h.  */
   7278 int i;
   7279 _ACEOF
   7280 if ac_fn_c_try_compile "$LINENO"; then :
   7281   xorg_cv_cc_flag_unknown_warning_option=yes
   7282 else
   7283   xorg_cv_cc_flag_unknown_warning_option=no
   7284 fi
   7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7286 fi
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7288 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7290 	CFLAGS="$xorg_testset_save_CFLAGS"
   7291 fi
   7292 
   7293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7296 	fi
   7297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7299 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7300 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7301   $as_echo_n "(cached) " >&6
   7302 else
   7303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7304 /* end confdefs.h.  */
   7305 int i;
   7306 _ACEOF
   7307 if ac_fn_c_try_compile "$LINENO"; then :
   7308   xorg_cv_cc_flag_unused_command_line_argument=yes
   7309 else
   7310   xorg_cv_cc_flag_unused_command_line_argument=no
   7311 fi
   7312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7313 fi
   7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7315 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7317 	CFLAGS="$xorg_testset_save_CFLAGS"
   7318 fi
   7319 
   7320 found="no"
   7321 
   7322 	if test $found = "no" ; then
   7323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7325 		fi
   7326 
   7327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7329 		fi
   7330 
   7331 		CFLAGS="$CFLAGS -Werror=main"
   7332 
   7333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7334 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7335 		cacheid=xorg_cv_cc_flag__Werror_main
   7336 		if eval \${$cacheid+:} false; then :
   7337   $as_echo_n "(cached) " >&6
   7338 else
   7339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7340 /* end confdefs.h.  */
   7341 int i;
   7342 int
   7343 main ()
   7344 {
   7345 
   7346   ;
   7347   return 0;
   7348 }
   7349 _ACEOF
   7350 if ac_fn_c_try_link "$LINENO"; then :
   7351   eval $cacheid=yes
   7352 else
   7353   eval $cacheid=no
   7354 fi
   7355 rm -f core conftest.err conftest.$ac_objext \
   7356     conftest$ac_exeext conftest.$ac_ext
   7357 fi
   7358 
   7359 
   7360 		CFLAGS="$xorg_testset_save_CFLAGS"
   7361 
   7362 		eval supported=\$$cacheid
   7363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7364 $as_echo "$supported" >&6; }
   7365 		if test "$supported" = "yes" ; then
   7366 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7367 			found="yes"
   7368 		fi
   7369 	fi
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 xorg_testset_save_CFLAGS="$CFLAGS"
   7386 
   7387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7390 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7391 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7392   $as_echo_n "(cached) " >&6
   7393 else
   7394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7395 /* end confdefs.h.  */
   7396 int i;
   7397 _ACEOF
   7398 if ac_fn_c_try_compile "$LINENO"; then :
   7399   xorg_cv_cc_flag_unknown_warning_option=yes
   7400 else
   7401   xorg_cv_cc_flag_unknown_warning_option=no
   7402 fi
   7403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7404 fi
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7406 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7408 	CFLAGS="$xorg_testset_save_CFLAGS"
   7409 fi
   7410 
   7411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7414 	fi
   7415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7417 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7418 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7419   $as_echo_n "(cached) " >&6
   7420 else
   7421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7422 /* end confdefs.h.  */
   7423 int i;
   7424 _ACEOF
   7425 if ac_fn_c_try_compile "$LINENO"; then :
   7426   xorg_cv_cc_flag_unused_command_line_argument=yes
   7427 else
   7428   xorg_cv_cc_flag_unused_command_line_argument=no
   7429 fi
   7430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7431 fi
   7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7433 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7435 	CFLAGS="$xorg_testset_save_CFLAGS"
   7436 fi
   7437 
   7438 found="no"
   7439 
   7440 	if test $found = "no" ; then
   7441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7443 		fi
   7444 
   7445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7447 		fi
   7448 
   7449 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7450 
   7451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7452 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7453 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7454 		if eval \${$cacheid+:} false; then :
   7455   $as_echo_n "(cached) " >&6
   7456 else
   7457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7458 /* end confdefs.h.  */
   7459 int i;
   7460 int
   7461 main ()
   7462 {
   7463 
   7464   ;
   7465   return 0;
   7466 }
   7467 _ACEOF
   7468 if ac_fn_c_try_link "$LINENO"; then :
   7469   eval $cacheid=yes
   7470 else
   7471   eval $cacheid=no
   7472 fi
   7473 rm -f core conftest.err conftest.$ac_objext \
   7474     conftest$ac_exeext conftest.$ac_ext
   7475 fi
   7476 
   7477 
   7478 		CFLAGS="$xorg_testset_save_CFLAGS"
   7479 
   7480 		eval supported=\$$cacheid
   7481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7482 $as_echo "$supported" >&6; }
   7483 		if test "$supported" = "yes" ; then
   7484 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7485 			found="yes"
   7486 		fi
   7487 	fi
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 xorg_testset_save_CFLAGS="$CFLAGS"
   7504 
   7505 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7508 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7509 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7510   $as_echo_n "(cached) " >&6
   7511 else
   7512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7513 /* end confdefs.h.  */
   7514 int i;
   7515 _ACEOF
   7516 if ac_fn_c_try_compile "$LINENO"; then :
   7517   xorg_cv_cc_flag_unknown_warning_option=yes
   7518 else
   7519   xorg_cv_cc_flag_unknown_warning_option=no
   7520 fi
   7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7522 fi
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7524 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7526 	CFLAGS="$xorg_testset_save_CFLAGS"
   7527 fi
   7528 
   7529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7532 	fi
   7533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7535 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7536 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7537   $as_echo_n "(cached) " >&6
   7538 else
   7539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7540 /* end confdefs.h.  */
   7541 int i;
   7542 _ACEOF
   7543 if ac_fn_c_try_compile "$LINENO"; then :
   7544   xorg_cv_cc_flag_unused_command_line_argument=yes
   7545 else
   7546   xorg_cv_cc_flag_unused_command_line_argument=no
   7547 fi
   7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7549 fi
   7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7551 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7553 	CFLAGS="$xorg_testset_save_CFLAGS"
   7554 fi
   7555 
   7556 found="no"
   7557 
   7558 	if test $found = "no" ; then
   7559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7561 		fi
   7562 
   7563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7565 		fi
   7566 
   7567 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7568 
   7569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7570 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7571 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7572 		if eval \${$cacheid+:} false; then :
   7573   $as_echo_n "(cached) " >&6
   7574 else
   7575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7576 /* end confdefs.h.  */
   7577 int i;
   7578 int
   7579 main ()
   7580 {
   7581 
   7582   ;
   7583   return 0;
   7584 }
   7585 _ACEOF
   7586 if ac_fn_c_try_link "$LINENO"; then :
   7587   eval $cacheid=yes
   7588 else
   7589   eval $cacheid=no
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext \
   7592     conftest$ac_exeext conftest.$ac_ext
   7593 fi
   7594 
   7595 
   7596 		CFLAGS="$xorg_testset_save_CFLAGS"
   7597 
   7598 		eval supported=\$$cacheid
   7599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7600 $as_echo "$supported" >&6; }
   7601 		if test "$supported" = "yes" ; then
   7602 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7603 			found="yes"
   7604 		fi
   7605 	fi
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 xorg_testset_save_CFLAGS="$CFLAGS"
   7622 
   7623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7628   $as_echo_n "(cached) " >&6
   7629 else
   7630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7631 /* end confdefs.h.  */
   7632 int i;
   7633 _ACEOF
   7634 if ac_fn_c_try_compile "$LINENO"; then :
   7635   xorg_cv_cc_flag_unknown_warning_option=yes
   7636 else
   7637   xorg_cv_cc_flag_unknown_warning_option=no
   7638 fi
   7639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7640 fi
   7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7644 	CFLAGS="$xorg_testset_save_CFLAGS"
   7645 fi
   7646 
   7647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7650 	fi
   7651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7655   $as_echo_n "(cached) " >&6
   7656 else
   7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 int i;
   7660 _ACEOF
   7661 if ac_fn_c_try_compile "$LINENO"; then :
   7662   xorg_cv_cc_flag_unused_command_line_argument=yes
   7663 else
   7664   xorg_cv_cc_flag_unused_command_line_argument=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7667 fi
   7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7671 	CFLAGS="$xorg_testset_save_CFLAGS"
   7672 fi
   7673 
   7674 found="no"
   7675 
   7676 	if test $found = "no" ; then
   7677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7679 		fi
   7680 
   7681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7683 		fi
   7684 
   7685 		CFLAGS="$CFLAGS -Werror=return-type"
   7686 
   7687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7688 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7689 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7690 		if eval \${$cacheid+:} false; then :
   7691   $as_echo_n "(cached) " >&6
   7692 else
   7693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7694 /* end confdefs.h.  */
   7695 int i;
   7696 int
   7697 main ()
   7698 {
   7699 
   7700   ;
   7701   return 0;
   7702 }
   7703 _ACEOF
   7704 if ac_fn_c_try_link "$LINENO"; then :
   7705   eval $cacheid=yes
   7706 else
   7707   eval $cacheid=no
   7708 fi
   7709 rm -f core conftest.err conftest.$ac_objext \
   7710     conftest$ac_exeext conftest.$ac_ext
   7711 fi
   7712 
   7713 
   7714 		CFLAGS="$xorg_testset_save_CFLAGS"
   7715 
   7716 		eval supported=\$$cacheid
   7717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7718 $as_echo "$supported" >&6; }
   7719 		if test "$supported" = "yes" ; then
   7720 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7721 			found="yes"
   7722 		fi
   7723 	fi
   7724 
   7725 	if test $found = "no" ; then
   7726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7728 		fi
   7729 
   7730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7732 		fi
   7733 
   7734 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7735 
   7736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7737 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7738 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7739 		if eval \${$cacheid+:} false; then :
   7740   $as_echo_n "(cached) " >&6
   7741 else
   7742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7743 /* end confdefs.h.  */
   7744 int i;
   7745 int
   7746 main ()
   7747 {
   7748 
   7749   ;
   7750   return 0;
   7751 }
   7752 _ACEOF
   7753 if ac_fn_c_try_link "$LINENO"; then :
   7754   eval $cacheid=yes
   7755 else
   7756   eval $cacheid=no
   7757 fi
   7758 rm -f core conftest.err conftest.$ac_objext \
   7759     conftest$ac_exeext conftest.$ac_ext
   7760 fi
   7761 
   7762 
   7763 		CFLAGS="$xorg_testset_save_CFLAGS"
   7764 
   7765 		eval supported=\$$cacheid
   7766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7767 $as_echo "$supported" >&6; }
   7768 		if test "$supported" = "yes" ; then
   7769 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7770 			found="yes"
   7771 		fi
   7772 	fi
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 xorg_testset_save_CFLAGS="$CFLAGS"
   7789 
   7790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7793 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7794 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7795   $as_echo_n "(cached) " >&6
   7796 else
   7797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7798 /* end confdefs.h.  */
   7799 int i;
   7800 _ACEOF
   7801 if ac_fn_c_try_compile "$LINENO"; then :
   7802   xorg_cv_cc_flag_unknown_warning_option=yes
   7803 else
   7804   xorg_cv_cc_flag_unknown_warning_option=no
   7805 fi
   7806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7807 fi
   7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7809 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7811 	CFLAGS="$xorg_testset_save_CFLAGS"
   7812 fi
   7813 
   7814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7817 	fi
   7818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7820 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7821 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"; then :
   7829   xorg_cv_cc_flag_unused_command_line_argument=yes
   7830 else
   7831   xorg_cv_cc_flag_unused_command_line_argument=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7834 fi
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7836 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7838 	CFLAGS="$xorg_testset_save_CFLAGS"
   7839 fi
   7840 
   7841 found="no"
   7842 
   7843 	if test $found = "no" ; then
   7844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7846 		fi
   7847 
   7848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7850 		fi
   7851 
   7852 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7853 
   7854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7855 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7856 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7857 		if eval \${$cacheid+:} false; then :
   7858   $as_echo_n "(cached) " >&6
   7859 else
   7860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7861 /* end confdefs.h.  */
   7862 int i;
   7863 int
   7864 main ()
   7865 {
   7866 
   7867   ;
   7868   return 0;
   7869 }
   7870 _ACEOF
   7871 if ac_fn_c_try_link "$LINENO"; then :
   7872   eval $cacheid=yes
   7873 else
   7874   eval $cacheid=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext \
   7877     conftest$ac_exeext conftest.$ac_ext
   7878 fi
   7879 
   7880 
   7881 		CFLAGS="$xorg_testset_save_CFLAGS"
   7882 
   7883 		eval supported=\$$cacheid
   7884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7885 $as_echo "$supported" >&6; }
   7886 		if test "$supported" = "yes" ; then
   7887 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7888 			found="yes"
   7889 		fi
   7890 	fi
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 xorg_testset_save_CFLAGS="$CFLAGS"
   7907 
   7908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7913   $as_echo_n "(cached) " >&6
   7914 else
   7915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7916 /* end confdefs.h.  */
   7917 int i;
   7918 _ACEOF
   7919 if ac_fn_c_try_compile "$LINENO"; then :
   7920   xorg_cv_cc_flag_unknown_warning_option=yes
   7921 else
   7922   xorg_cv_cc_flag_unknown_warning_option=no
   7923 fi
   7924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7925 fi
   7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7929 	CFLAGS="$xorg_testset_save_CFLAGS"
   7930 fi
   7931 
   7932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7935 	fi
   7936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7940   $as_echo_n "(cached) " >&6
   7941 else
   7942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7943 /* end confdefs.h.  */
   7944 int i;
   7945 _ACEOF
   7946 if ac_fn_c_try_compile "$LINENO"; then :
   7947   xorg_cv_cc_flag_unused_command_line_argument=yes
   7948 else
   7949   xorg_cv_cc_flag_unused_command_line_argument=no
   7950 fi
   7951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7952 fi
   7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7956 	CFLAGS="$xorg_testset_save_CFLAGS"
   7957 fi
   7958 
   7959 found="no"
   7960 
   7961 	if test $found = "no" ; then
   7962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 		fi
   7965 
   7966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7968 		fi
   7969 
   7970 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7971 
   7972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7973 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7974 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7975 		if eval \${$cacheid+:} false; then :
   7976   $as_echo_n "(cached) " >&6
   7977 else
   7978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 int i;
   7981 int
   7982 main ()
   7983 {
   7984 
   7985   ;
   7986   return 0;
   7987 }
   7988 _ACEOF
   7989 if ac_fn_c_try_link "$LINENO"; then :
   7990   eval $cacheid=yes
   7991 else
   7992   eval $cacheid=no
   7993 fi
   7994 rm -f core conftest.err conftest.$ac_objext \
   7995     conftest$ac_exeext conftest.$ac_ext
   7996 fi
   7997 
   7998 
   7999 		CFLAGS="$xorg_testset_save_CFLAGS"
   8000 
   8001 		eval supported=\$$cacheid
   8002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8003 $as_echo "$supported" >&6; }
   8004 		if test "$supported" = "yes" ; then
   8005 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8006 			found="yes"
   8007 		fi
   8008 	fi
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 xorg_testset_save_CFLAGS="$CFLAGS"
   8025 
   8026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8031   $as_echo_n "(cached) " >&6
   8032 else
   8033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8034 /* end confdefs.h.  */
   8035 int i;
   8036 _ACEOF
   8037 if ac_fn_c_try_compile "$LINENO"; then :
   8038   xorg_cv_cc_flag_unknown_warning_option=yes
   8039 else
   8040   xorg_cv_cc_flag_unknown_warning_option=no
   8041 fi
   8042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8043 fi
   8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8047 	CFLAGS="$xorg_testset_save_CFLAGS"
   8048 fi
   8049 
   8050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8053 	fi
   8054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8058   $as_echo_n "(cached) " >&6
   8059 else
   8060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8061 /* end confdefs.h.  */
   8062 int i;
   8063 _ACEOF
   8064 if ac_fn_c_try_compile "$LINENO"; then :
   8065   xorg_cv_cc_flag_unused_command_line_argument=yes
   8066 else
   8067   xorg_cv_cc_flag_unused_command_line_argument=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8070 fi
   8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8074 	CFLAGS="$xorg_testset_save_CFLAGS"
   8075 fi
   8076 
   8077 found="no"
   8078 
   8079 	if test $found = "no" ; then
   8080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8082 		fi
   8083 
   8084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8086 		fi
   8087 
   8088 		CFLAGS="$CFLAGS -Werror=write-strings"
   8089 
   8090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8091 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8092 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8093 		if eval \${$cacheid+:} false; then :
   8094   $as_echo_n "(cached) " >&6
   8095 else
   8096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8097 /* end confdefs.h.  */
   8098 int i;
   8099 int
   8100 main ()
   8101 {
   8102 
   8103   ;
   8104   return 0;
   8105 }
   8106 _ACEOF
   8107 if ac_fn_c_try_link "$LINENO"; then :
   8108   eval $cacheid=yes
   8109 else
   8110   eval $cacheid=no
   8111 fi
   8112 rm -f core conftest.err conftest.$ac_objext \
   8113     conftest$ac_exeext conftest.$ac_ext
   8114 fi
   8115 
   8116 
   8117 		CFLAGS="$xorg_testset_save_CFLAGS"
   8118 
   8119 		eval supported=\$$cacheid
   8120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8121 $as_echo "$supported" >&6; }
   8122 		if test "$supported" = "yes" ; then
   8123 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8124 			found="yes"
   8125 		fi
   8126 	fi
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 xorg_testset_save_CFLAGS="$CFLAGS"
   8143 
   8144 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8145 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8147 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8148 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8149   $as_echo_n "(cached) " >&6
   8150 else
   8151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8152 /* end confdefs.h.  */
   8153 int i;
   8154 _ACEOF
   8155 if ac_fn_c_try_compile "$LINENO"; then :
   8156   xorg_cv_cc_flag_unknown_warning_option=yes
   8157 else
   8158   xorg_cv_cc_flag_unknown_warning_option=no
   8159 fi
   8160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8161 fi
   8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8163 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8164 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8165 	CFLAGS="$xorg_testset_save_CFLAGS"
   8166 fi
   8167 
   8168 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8169 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8171 	fi
   8172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8175 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8176   $as_echo_n "(cached) " >&6
   8177 else
   8178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 _ACEOF
   8182 if ac_fn_c_try_compile "$LINENO"; then :
   8183   xorg_cv_cc_flag_unused_command_line_argument=yes
   8184 else
   8185   xorg_cv_cc_flag_unused_command_line_argument=no
   8186 fi
   8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8188 fi
   8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8190 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8192 	CFLAGS="$xorg_testset_save_CFLAGS"
   8193 fi
   8194 
   8195 found="no"
   8196 
   8197 	if test $found = "no" ; then
   8198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8200 		fi
   8201 
   8202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8204 		fi
   8205 
   8206 		CFLAGS="$CFLAGS -Werror=address"
   8207 
   8208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8209 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8210 		cacheid=xorg_cv_cc_flag__Werror_address
   8211 		if eval \${$cacheid+:} false; then :
   8212   $as_echo_n "(cached) " >&6
   8213 else
   8214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8215 /* end confdefs.h.  */
   8216 int i;
   8217 int
   8218 main ()
   8219 {
   8220 
   8221   ;
   8222   return 0;
   8223 }
   8224 _ACEOF
   8225 if ac_fn_c_try_link "$LINENO"; then :
   8226   eval $cacheid=yes
   8227 else
   8228   eval $cacheid=no
   8229 fi
   8230 rm -f core conftest.err conftest.$ac_objext \
   8231     conftest$ac_exeext conftest.$ac_ext
   8232 fi
   8233 
   8234 
   8235 		CFLAGS="$xorg_testset_save_CFLAGS"
   8236 
   8237 		eval supported=\$$cacheid
   8238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8239 $as_echo "$supported" >&6; }
   8240 		if test "$supported" = "yes" ; then
   8241 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8242 			found="yes"
   8243 		fi
   8244 	fi
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 xorg_testset_save_CFLAGS="$CFLAGS"
   8261 
   8262 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8263 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8265 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8266 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8270 /* end confdefs.h.  */
   8271 int i;
   8272 _ACEOF
   8273 if ac_fn_c_try_compile "$LINENO"; then :
   8274   xorg_cv_cc_flag_unknown_warning_option=yes
   8275 else
   8276   xorg_cv_cc_flag_unknown_warning_option=no
   8277 fi
   8278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8279 fi
   8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8281 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8282 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8283 	CFLAGS="$xorg_testset_save_CFLAGS"
   8284 fi
   8285 
   8286 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8287 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8288 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 	fi
   8290 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8292 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8293 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8294   $as_echo_n "(cached) " >&6
   8295 else
   8296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8297 /* end confdefs.h.  */
   8298 int i;
   8299 _ACEOF
   8300 if ac_fn_c_try_compile "$LINENO"; then :
   8301   xorg_cv_cc_flag_unused_command_line_argument=yes
   8302 else
   8303   xorg_cv_cc_flag_unused_command_line_argument=no
   8304 fi
   8305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8306 fi
   8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8308 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8310 	CFLAGS="$xorg_testset_save_CFLAGS"
   8311 fi
   8312 
   8313 found="no"
   8314 
   8315 	if test $found = "no" ; then
   8316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 		fi
   8319 
   8320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8322 		fi
   8323 
   8324 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8325 
   8326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8327 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8328 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8329 		if eval \${$cacheid+:} false; then :
   8330   $as_echo_n "(cached) " >&6
   8331 else
   8332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8333 /* end confdefs.h.  */
   8334 int i;
   8335 int
   8336 main ()
   8337 {
   8338 
   8339   ;
   8340   return 0;
   8341 }
   8342 _ACEOF
   8343 if ac_fn_c_try_link "$LINENO"; then :
   8344   eval $cacheid=yes
   8345 else
   8346   eval $cacheid=no
   8347 fi
   8348 rm -f core conftest.err conftest.$ac_objext \
   8349     conftest$ac_exeext conftest.$ac_ext
   8350 fi
   8351 
   8352 
   8353 		CFLAGS="$xorg_testset_save_CFLAGS"
   8354 
   8355 		eval supported=\$$cacheid
   8356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8357 $as_echo "$supported" >&6; }
   8358 		if test "$supported" = "yes" ; then
   8359 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8360 			found="yes"
   8361 		fi
   8362 	fi
   8363 
   8364 	if test $found = "no" ; then
   8365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8367 		fi
   8368 
   8369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8371 		fi
   8372 
   8373 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8374 
   8375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8376 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8377 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8378 		if eval \${$cacheid+:} false; then :
   8379   $as_echo_n "(cached) " >&6
   8380 else
   8381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8382 /* end confdefs.h.  */
   8383 int i;
   8384 int
   8385 main ()
   8386 {
   8387 
   8388   ;
   8389   return 0;
   8390 }
   8391 _ACEOF
   8392 if ac_fn_c_try_link "$LINENO"; then :
   8393   eval $cacheid=yes
   8394 else
   8395   eval $cacheid=no
   8396 fi
   8397 rm -f core conftest.err conftest.$ac_objext \
   8398     conftest$ac_exeext conftest.$ac_ext
   8399 fi
   8400 
   8401 
   8402 		CFLAGS="$xorg_testset_save_CFLAGS"
   8403 
   8404 		eval supported=\$$cacheid
   8405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8406 $as_echo "$supported" >&6; }
   8407 		if test "$supported" = "yes" ; then
   8408 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8409 			found="yes"
   8410 		fi
   8411 	fi
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 xorg_testset_save_CFLAGS="$CFLAGS"
   8428 
   8429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8432 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8433 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8434   $as_echo_n "(cached) " >&6
   8435 else
   8436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8437 /* end confdefs.h.  */
   8438 int i;
   8439 _ACEOF
   8440 if ac_fn_c_try_compile "$LINENO"; then :
   8441   xorg_cv_cc_flag_unknown_warning_option=yes
   8442 else
   8443   xorg_cv_cc_flag_unknown_warning_option=no
   8444 fi
   8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8446 fi
   8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8448 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8450 	CFLAGS="$xorg_testset_save_CFLAGS"
   8451 fi
   8452 
   8453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8456 	fi
   8457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8459 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8460 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 _ACEOF
   8467 if ac_fn_c_try_compile "$LINENO"; then :
   8468   xorg_cv_cc_flag_unused_command_line_argument=yes
   8469 else
   8470   xorg_cv_cc_flag_unused_command_line_argument=no
   8471 fi
   8472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8473 fi
   8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8475 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8477 	CFLAGS="$xorg_testset_save_CFLAGS"
   8478 fi
   8479 
   8480 found="no"
   8481 
   8482 	if test $found = "no" ; then
   8483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 		fi
   8486 
   8487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8489 		fi
   8490 
   8491 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8492 
   8493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8494 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8495 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8496 		if eval \${$cacheid+:} false; then :
   8497   $as_echo_n "(cached) " >&6
   8498 else
   8499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8500 /* end confdefs.h.  */
   8501 int i;
   8502 int
   8503 main ()
   8504 {
   8505 
   8506   ;
   8507   return 0;
   8508 }
   8509 _ACEOF
   8510 if ac_fn_c_try_link "$LINENO"; then :
   8511   eval $cacheid=yes
   8512 else
   8513   eval $cacheid=no
   8514 fi
   8515 rm -f core conftest.err conftest.$ac_objext \
   8516     conftest$ac_exeext conftest.$ac_ext
   8517 fi
   8518 
   8519 
   8520 		CFLAGS="$xorg_testset_save_CFLAGS"
   8521 
   8522 		eval supported=\$$cacheid
   8523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8524 $as_echo "$supported" >&6; }
   8525 		if test "$supported" = "yes" ; then
   8526 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8527 			found="yes"
   8528 		fi
   8529 	fi
   8530 
   8531  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8532 else
   8533 { $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
   8534 $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;}
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 xorg_testset_save_CFLAGS="$CFLAGS"
   8549 
   8550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8553 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8554 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8555   $as_echo_n "(cached) " >&6
   8556 else
   8557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8558 /* end confdefs.h.  */
   8559 int i;
   8560 _ACEOF
   8561 if ac_fn_c_try_compile "$LINENO"; then :
   8562   xorg_cv_cc_flag_unknown_warning_option=yes
   8563 else
   8564   xorg_cv_cc_flag_unknown_warning_option=no
   8565 fi
   8566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8567 fi
   8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8569 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8571 	CFLAGS="$xorg_testset_save_CFLAGS"
   8572 fi
   8573 
   8574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8577 	fi
   8578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8580 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8581 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8582   $as_echo_n "(cached) " >&6
   8583 else
   8584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8585 /* end confdefs.h.  */
   8586 int i;
   8587 _ACEOF
   8588 if ac_fn_c_try_compile "$LINENO"; then :
   8589   xorg_cv_cc_flag_unused_command_line_argument=yes
   8590 else
   8591   xorg_cv_cc_flag_unused_command_line_argument=no
   8592 fi
   8593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8594 fi
   8595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8596 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8597 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8598 	CFLAGS="$xorg_testset_save_CFLAGS"
   8599 fi
   8600 
   8601 found="no"
   8602 
   8603 	if test $found = "no" ; then
   8604 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8605 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8606 		fi
   8607 
   8608 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8609 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8610 		fi
   8611 
   8612 		CFLAGS="$CFLAGS -Wimplicit"
   8613 
   8614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8615 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8616 		cacheid=xorg_cv_cc_flag__Wimplicit
   8617 		if eval \${$cacheid+:} false; then :
   8618   $as_echo_n "(cached) " >&6
   8619 else
   8620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8621 /* end confdefs.h.  */
   8622 int i;
   8623 int
   8624 main ()
   8625 {
   8626 
   8627   ;
   8628   return 0;
   8629 }
   8630 _ACEOF
   8631 if ac_fn_c_try_link "$LINENO"; then :
   8632   eval $cacheid=yes
   8633 else
   8634   eval $cacheid=no
   8635 fi
   8636 rm -f core conftest.err conftest.$ac_objext \
   8637     conftest$ac_exeext conftest.$ac_ext
   8638 fi
   8639 
   8640 
   8641 		CFLAGS="$xorg_testset_save_CFLAGS"
   8642 
   8643 		eval supported=\$$cacheid
   8644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8645 $as_echo "$supported" >&6; }
   8646 		if test "$supported" = "yes" ; then
   8647 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8648 			found="yes"
   8649 		fi
   8650 	fi
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 xorg_testset_save_CFLAGS="$CFLAGS"
   8667 
   8668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8671 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8672 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8673   $as_echo_n "(cached) " >&6
   8674 else
   8675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8676 /* end confdefs.h.  */
   8677 int i;
   8678 _ACEOF
   8679 if ac_fn_c_try_compile "$LINENO"; then :
   8680   xorg_cv_cc_flag_unknown_warning_option=yes
   8681 else
   8682   xorg_cv_cc_flag_unknown_warning_option=no
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8685 fi
   8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8687 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8689 	CFLAGS="$xorg_testset_save_CFLAGS"
   8690 fi
   8691 
   8692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8695 	fi
   8696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8698 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8699 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8700   $as_echo_n "(cached) " >&6
   8701 else
   8702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8703 /* end confdefs.h.  */
   8704 int i;
   8705 _ACEOF
   8706 if ac_fn_c_try_compile "$LINENO"; then :
   8707   xorg_cv_cc_flag_unused_command_line_argument=yes
   8708 else
   8709   xorg_cv_cc_flag_unused_command_line_argument=no
   8710 fi
   8711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8712 fi
   8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8714 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8716 	CFLAGS="$xorg_testset_save_CFLAGS"
   8717 fi
   8718 
   8719 found="no"
   8720 
   8721 	if test $found = "no" ; then
   8722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8724 		fi
   8725 
   8726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8728 		fi
   8729 
   8730 		CFLAGS="$CFLAGS -Wnonnull"
   8731 
   8732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8733 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8734 		cacheid=xorg_cv_cc_flag__Wnonnull
   8735 		if eval \${$cacheid+:} false; then :
   8736   $as_echo_n "(cached) " >&6
   8737 else
   8738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 int
   8742 main ()
   8743 {
   8744 
   8745   ;
   8746   return 0;
   8747 }
   8748 _ACEOF
   8749 if ac_fn_c_try_link "$LINENO"; then :
   8750   eval $cacheid=yes
   8751 else
   8752   eval $cacheid=no
   8753 fi
   8754 rm -f core conftest.err conftest.$ac_objext \
   8755     conftest$ac_exeext conftest.$ac_ext
   8756 fi
   8757 
   8758 
   8759 		CFLAGS="$xorg_testset_save_CFLAGS"
   8760 
   8761 		eval supported=\$$cacheid
   8762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8763 $as_echo "$supported" >&6; }
   8764 		if test "$supported" = "yes" ; then
   8765 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8766 			found="yes"
   8767 		fi
   8768 	fi
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 xorg_testset_save_CFLAGS="$CFLAGS"
   8785 
   8786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8789 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8790 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8791   $as_echo_n "(cached) " >&6
   8792 else
   8793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8794 /* end confdefs.h.  */
   8795 int i;
   8796 _ACEOF
   8797 if ac_fn_c_try_compile "$LINENO"; then :
   8798   xorg_cv_cc_flag_unknown_warning_option=yes
   8799 else
   8800   xorg_cv_cc_flag_unknown_warning_option=no
   8801 fi
   8802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8803 fi
   8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8805 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8806 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8807 	CFLAGS="$xorg_testset_save_CFLAGS"
   8808 fi
   8809 
   8810 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8811 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8812 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8813 	fi
   8814 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8816 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8817 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8818   $as_echo_n "(cached) " >&6
   8819 else
   8820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8821 /* end confdefs.h.  */
   8822 int i;
   8823 _ACEOF
   8824 if ac_fn_c_try_compile "$LINENO"; then :
   8825   xorg_cv_cc_flag_unused_command_line_argument=yes
   8826 else
   8827   xorg_cv_cc_flag_unused_command_line_argument=no
   8828 fi
   8829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8830 fi
   8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8832 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8833 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8834 	CFLAGS="$xorg_testset_save_CFLAGS"
   8835 fi
   8836 
   8837 found="no"
   8838 
   8839 	if test $found = "no" ; then
   8840 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8842 		fi
   8843 
   8844 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8846 		fi
   8847 
   8848 		CFLAGS="$CFLAGS -Winit-self"
   8849 
   8850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8851 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8852 		cacheid=xorg_cv_cc_flag__Winit_self
   8853 		if eval \${$cacheid+:} false; then :
   8854   $as_echo_n "(cached) " >&6
   8855 else
   8856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8857 /* end confdefs.h.  */
   8858 int i;
   8859 int
   8860 main ()
   8861 {
   8862 
   8863   ;
   8864   return 0;
   8865 }
   8866 _ACEOF
   8867 if ac_fn_c_try_link "$LINENO"; then :
   8868   eval $cacheid=yes
   8869 else
   8870   eval $cacheid=no
   8871 fi
   8872 rm -f core conftest.err conftest.$ac_objext \
   8873     conftest$ac_exeext conftest.$ac_ext
   8874 fi
   8875 
   8876 
   8877 		CFLAGS="$xorg_testset_save_CFLAGS"
   8878 
   8879 		eval supported=\$$cacheid
   8880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8881 $as_echo "$supported" >&6; }
   8882 		if test "$supported" = "yes" ; then
   8883 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8884 			found="yes"
   8885 		fi
   8886 	fi
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 xorg_testset_save_CFLAGS="$CFLAGS"
   8903 
   8904 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8905 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8907 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8908 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8909   $as_echo_n "(cached) " >&6
   8910 else
   8911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8912 /* end confdefs.h.  */
   8913 int i;
   8914 _ACEOF
   8915 if ac_fn_c_try_compile "$LINENO"; then :
   8916   xorg_cv_cc_flag_unknown_warning_option=yes
   8917 else
   8918   xorg_cv_cc_flag_unknown_warning_option=no
   8919 fi
   8920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8921 fi
   8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8923 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8925 	CFLAGS="$xorg_testset_save_CFLAGS"
   8926 fi
   8927 
   8928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8931 	fi
   8932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8934 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8935 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8936   $as_echo_n "(cached) " >&6
   8937 else
   8938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8939 /* end confdefs.h.  */
   8940 int i;
   8941 _ACEOF
   8942 if ac_fn_c_try_compile "$LINENO"; then :
   8943   xorg_cv_cc_flag_unused_command_line_argument=yes
   8944 else
   8945   xorg_cv_cc_flag_unused_command_line_argument=no
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8948 fi
   8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8950 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8951 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8952 	CFLAGS="$xorg_testset_save_CFLAGS"
   8953 fi
   8954 
   8955 found="no"
   8956 
   8957 	if test $found = "no" ; then
   8958 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8959 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 		fi
   8961 
   8962 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8963 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8964 		fi
   8965 
   8966 		CFLAGS="$CFLAGS -Wmain"
   8967 
   8968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8969 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8970 		cacheid=xorg_cv_cc_flag__Wmain
   8971 		if eval \${$cacheid+:} false; then :
   8972   $as_echo_n "(cached) " >&6
   8973 else
   8974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8975 /* end confdefs.h.  */
   8976 int i;
   8977 int
   8978 main ()
   8979 {
   8980 
   8981   ;
   8982   return 0;
   8983 }
   8984 _ACEOF
   8985 if ac_fn_c_try_link "$LINENO"; then :
   8986   eval $cacheid=yes
   8987 else
   8988   eval $cacheid=no
   8989 fi
   8990 rm -f core conftest.err conftest.$ac_objext \
   8991     conftest$ac_exeext conftest.$ac_ext
   8992 fi
   8993 
   8994 
   8995 		CFLAGS="$xorg_testset_save_CFLAGS"
   8996 
   8997 		eval supported=\$$cacheid
   8998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8999 $as_echo "$supported" >&6; }
   9000 		if test "$supported" = "yes" ; then
   9001 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9002 			found="yes"
   9003 		fi
   9004 	fi
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 xorg_testset_save_CFLAGS="$CFLAGS"
   9021 
   9022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9025 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9026 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9027   $as_echo_n "(cached) " >&6
   9028 else
   9029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9030 /* end confdefs.h.  */
   9031 int i;
   9032 _ACEOF
   9033 if ac_fn_c_try_compile "$LINENO"; then :
   9034   xorg_cv_cc_flag_unknown_warning_option=yes
   9035 else
   9036   xorg_cv_cc_flag_unknown_warning_option=no
   9037 fi
   9038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9039 fi
   9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9041 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9042 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9043 	CFLAGS="$xorg_testset_save_CFLAGS"
   9044 fi
   9045 
   9046 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9047 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9048 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9049 	fi
   9050 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9052 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9053 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9054   $as_echo_n "(cached) " >&6
   9055 else
   9056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9057 /* end confdefs.h.  */
   9058 int i;
   9059 _ACEOF
   9060 if ac_fn_c_try_compile "$LINENO"; then :
   9061   xorg_cv_cc_flag_unused_command_line_argument=yes
   9062 else
   9063   xorg_cv_cc_flag_unused_command_line_argument=no
   9064 fi
   9065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9066 fi
   9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9068 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9069 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9070 	CFLAGS="$xorg_testset_save_CFLAGS"
   9071 fi
   9072 
   9073 found="no"
   9074 
   9075 	if test $found = "no" ; then
   9076 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9078 		fi
   9079 
   9080 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9082 		fi
   9083 
   9084 		CFLAGS="$CFLAGS -Wmissing-braces"
   9085 
   9086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9087 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9088 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9089 		if eval \${$cacheid+:} false; then :
   9090   $as_echo_n "(cached) " >&6
   9091 else
   9092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9093 /* end confdefs.h.  */
   9094 int i;
   9095 int
   9096 main ()
   9097 {
   9098 
   9099   ;
   9100   return 0;
   9101 }
   9102 _ACEOF
   9103 if ac_fn_c_try_link "$LINENO"; then :
   9104   eval $cacheid=yes
   9105 else
   9106   eval $cacheid=no
   9107 fi
   9108 rm -f core conftest.err conftest.$ac_objext \
   9109     conftest$ac_exeext conftest.$ac_ext
   9110 fi
   9111 
   9112 
   9113 		CFLAGS="$xorg_testset_save_CFLAGS"
   9114 
   9115 		eval supported=\$$cacheid
   9116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9117 $as_echo "$supported" >&6; }
   9118 		if test "$supported" = "yes" ; then
   9119 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9120 			found="yes"
   9121 		fi
   9122 	fi
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 xorg_testset_save_CFLAGS="$CFLAGS"
   9139 
   9140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9143 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9144 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9145   $as_echo_n "(cached) " >&6
   9146 else
   9147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9148 /* end confdefs.h.  */
   9149 int i;
   9150 _ACEOF
   9151 if ac_fn_c_try_compile "$LINENO"; then :
   9152   xorg_cv_cc_flag_unknown_warning_option=yes
   9153 else
   9154   xorg_cv_cc_flag_unknown_warning_option=no
   9155 fi
   9156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9157 fi
   9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9159 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9161 	CFLAGS="$xorg_testset_save_CFLAGS"
   9162 fi
   9163 
   9164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 	fi
   9168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9170 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9171 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9172   $as_echo_n "(cached) " >&6
   9173 else
   9174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9175 /* end confdefs.h.  */
   9176 int i;
   9177 _ACEOF
   9178 if ac_fn_c_try_compile "$LINENO"; then :
   9179   xorg_cv_cc_flag_unused_command_line_argument=yes
   9180 else
   9181   xorg_cv_cc_flag_unused_command_line_argument=no
   9182 fi
   9183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9184 fi
   9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9186 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9187 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9188 	CFLAGS="$xorg_testset_save_CFLAGS"
   9189 fi
   9190 
   9191 found="no"
   9192 
   9193 	if test $found = "no" ; then
   9194 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9195 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 		fi
   9197 
   9198 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9199 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9200 		fi
   9201 
   9202 		CFLAGS="$CFLAGS -Wsequence-point"
   9203 
   9204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9205 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9206 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9207 		if eval \${$cacheid+:} false; then :
   9208   $as_echo_n "(cached) " >&6
   9209 else
   9210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9211 /* end confdefs.h.  */
   9212 int i;
   9213 int
   9214 main ()
   9215 {
   9216 
   9217   ;
   9218   return 0;
   9219 }
   9220 _ACEOF
   9221 if ac_fn_c_try_link "$LINENO"; then :
   9222   eval $cacheid=yes
   9223 else
   9224   eval $cacheid=no
   9225 fi
   9226 rm -f core conftest.err conftest.$ac_objext \
   9227     conftest$ac_exeext conftest.$ac_ext
   9228 fi
   9229 
   9230 
   9231 		CFLAGS="$xorg_testset_save_CFLAGS"
   9232 
   9233 		eval supported=\$$cacheid
   9234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9235 $as_echo "$supported" >&6; }
   9236 		if test "$supported" = "yes" ; then
   9237 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9238 			found="yes"
   9239 		fi
   9240 	fi
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 xorg_testset_save_CFLAGS="$CFLAGS"
   9257 
   9258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9261 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9262 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9263   $as_echo_n "(cached) " >&6
   9264 else
   9265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9266 /* end confdefs.h.  */
   9267 int i;
   9268 _ACEOF
   9269 if ac_fn_c_try_compile "$LINENO"; then :
   9270   xorg_cv_cc_flag_unknown_warning_option=yes
   9271 else
   9272   xorg_cv_cc_flag_unknown_warning_option=no
   9273 fi
   9274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9275 fi
   9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9277 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9279 	CFLAGS="$xorg_testset_save_CFLAGS"
   9280 fi
   9281 
   9282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9285 	fi
   9286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9288 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9289 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9290   $as_echo_n "(cached) " >&6
   9291 else
   9292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9293 /* end confdefs.h.  */
   9294 int i;
   9295 _ACEOF
   9296 if ac_fn_c_try_compile "$LINENO"; then :
   9297   xorg_cv_cc_flag_unused_command_line_argument=yes
   9298 else
   9299   xorg_cv_cc_flag_unused_command_line_argument=no
   9300 fi
   9301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9302 fi
   9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9304 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9305 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9306 	CFLAGS="$xorg_testset_save_CFLAGS"
   9307 fi
   9308 
   9309 found="no"
   9310 
   9311 	if test $found = "no" ; then
   9312 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9314 		fi
   9315 
   9316 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9318 		fi
   9319 
   9320 		CFLAGS="$CFLAGS -Wreturn-type"
   9321 
   9322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9323 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9324 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9325 		if eval \${$cacheid+:} false; then :
   9326   $as_echo_n "(cached) " >&6
   9327 else
   9328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9329 /* end confdefs.h.  */
   9330 int i;
   9331 int
   9332 main ()
   9333 {
   9334 
   9335   ;
   9336   return 0;
   9337 }
   9338 _ACEOF
   9339 if ac_fn_c_try_link "$LINENO"; then :
   9340   eval $cacheid=yes
   9341 else
   9342   eval $cacheid=no
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext \
   9345     conftest$ac_exeext conftest.$ac_ext
   9346 fi
   9347 
   9348 
   9349 		CFLAGS="$xorg_testset_save_CFLAGS"
   9350 
   9351 		eval supported=\$$cacheid
   9352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9353 $as_echo "$supported" >&6; }
   9354 		if test "$supported" = "yes" ; then
   9355 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9356 			found="yes"
   9357 		fi
   9358 	fi
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 xorg_testset_save_CFLAGS="$CFLAGS"
   9375 
   9376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9379 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9380 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9381   $as_echo_n "(cached) " >&6
   9382 else
   9383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9384 /* end confdefs.h.  */
   9385 int i;
   9386 _ACEOF
   9387 if ac_fn_c_try_compile "$LINENO"; then :
   9388   xorg_cv_cc_flag_unknown_warning_option=yes
   9389 else
   9390   xorg_cv_cc_flag_unknown_warning_option=no
   9391 fi
   9392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9393 fi
   9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9395 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9397 	CFLAGS="$xorg_testset_save_CFLAGS"
   9398 fi
   9399 
   9400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9403 	fi
   9404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9406 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9407 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9408   $as_echo_n "(cached) " >&6
   9409 else
   9410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 int i;
   9413 _ACEOF
   9414 if ac_fn_c_try_compile "$LINENO"; then :
   9415   xorg_cv_cc_flag_unused_command_line_argument=yes
   9416 else
   9417   xorg_cv_cc_flag_unused_command_line_argument=no
   9418 fi
   9419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9420 fi
   9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9422 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9424 	CFLAGS="$xorg_testset_save_CFLAGS"
   9425 fi
   9426 
   9427 found="no"
   9428 
   9429 	if test $found = "no" ; then
   9430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9432 		fi
   9433 
   9434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9436 		fi
   9437 
   9438 		CFLAGS="$CFLAGS -Wtrigraphs"
   9439 
   9440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9441 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9442 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9443 		if eval \${$cacheid+:} false; then :
   9444   $as_echo_n "(cached) " >&6
   9445 else
   9446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9447 /* end confdefs.h.  */
   9448 int i;
   9449 int
   9450 main ()
   9451 {
   9452 
   9453   ;
   9454   return 0;
   9455 }
   9456 _ACEOF
   9457 if ac_fn_c_try_link "$LINENO"; then :
   9458   eval $cacheid=yes
   9459 else
   9460   eval $cacheid=no
   9461 fi
   9462 rm -f core conftest.err conftest.$ac_objext \
   9463     conftest$ac_exeext conftest.$ac_ext
   9464 fi
   9465 
   9466 
   9467 		CFLAGS="$xorg_testset_save_CFLAGS"
   9468 
   9469 		eval supported=\$$cacheid
   9470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9471 $as_echo "$supported" >&6; }
   9472 		if test "$supported" = "yes" ; then
   9473 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9474 			found="yes"
   9475 		fi
   9476 	fi
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 xorg_testset_save_CFLAGS="$CFLAGS"
   9493 
   9494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9498 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9499   $as_echo_n "(cached) " >&6
   9500 else
   9501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9502 /* end confdefs.h.  */
   9503 int i;
   9504 _ACEOF
   9505 if ac_fn_c_try_compile "$LINENO"; then :
   9506   xorg_cv_cc_flag_unknown_warning_option=yes
   9507 else
   9508   xorg_cv_cc_flag_unknown_warning_option=no
   9509 fi
   9510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9511 fi
   9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9513 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9515 	CFLAGS="$xorg_testset_save_CFLAGS"
   9516 fi
   9517 
   9518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9521 	fi
   9522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9524 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9525 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9526   $as_echo_n "(cached) " >&6
   9527 else
   9528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9529 /* end confdefs.h.  */
   9530 int i;
   9531 _ACEOF
   9532 if ac_fn_c_try_compile "$LINENO"; then :
   9533   xorg_cv_cc_flag_unused_command_line_argument=yes
   9534 else
   9535   xorg_cv_cc_flag_unused_command_line_argument=no
   9536 fi
   9537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9538 fi
   9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9540 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9542 	CFLAGS="$xorg_testset_save_CFLAGS"
   9543 fi
   9544 
   9545 found="no"
   9546 
   9547 	if test $found = "no" ; then
   9548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9550 		fi
   9551 
   9552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9554 		fi
   9555 
   9556 		CFLAGS="$CFLAGS -Warray-bounds"
   9557 
   9558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9559 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9560 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9561 		if eval \${$cacheid+:} false; then :
   9562   $as_echo_n "(cached) " >&6
   9563 else
   9564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9565 /* end confdefs.h.  */
   9566 int i;
   9567 int
   9568 main ()
   9569 {
   9570 
   9571   ;
   9572   return 0;
   9573 }
   9574 _ACEOF
   9575 if ac_fn_c_try_link "$LINENO"; then :
   9576   eval $cacheid=yes
   9577 else
   9578   eval $cacheid=no
   9579 fi
   9580 rm -f core conftest.err conftest.$ac_objext \
   9581     conftest$ac_exeext conftest.$ac_ext
   9582 fi
   9583 
   9584 
   9585 		CFLAGS="$xorg_testset_save_CFLAGS"
   9586 
   9587 		eval supported=\$$cacheid
   9588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9589 $as_echo "$supported" >&6; }
   9590 		if test "$supported" = "yes" ; then
   9591 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9592 			found="yes"
   9593 		fi
   9594 	fi
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 xorg_testset_save_CFLAGS="$CFLAGS"
   9611 
   9612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9615 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9616 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9617   $as_echo_n "(cached) " >&6
   9618 else
   9619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9620 /* end confdefs.h.  */
   9621 int i;
   9622 _ACEOF
   9623 if ac_fn_c_try_compile "$LINENO"; then :
   9624   xorg_cv_cc_flag_unknown_warning_option=yes
   9625 else
   9626   xorg_cv_cc_flag_unknown_warning_option=no
   9627 fi
   9628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9629 fi
   9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9631 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9633 	CFLAGS="$xorg_testset_save_CFLAGS"
   9634 fi
   9635 
   9636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 	fi
   9640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9642 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9643 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9644   $as_echo_n "(cached) " >&6
   9645 else
   9646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9647 /* end confdefs.h.  */
   9648 int i;
   9649 _ACEOF
   9650 if ac_fn_c_try_compile "$LINENO"; then :
   9651   xorg_cv_cc_flag_unused_command_line_argument=yes
   9652 else
   9653   xorg_cv_cc_flag_unused_command_line_argument=no
   9654 fi
   9655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9656 fi
   9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9658 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9660 	CFLAGS="$xorg_testset_save_CFLAGS"
   9661 fi
   9662 
   9663 found="no"
   9664 
   9665 	if test $found = "no" ; then
   9666 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9668 		fi
   9669 
   9670 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9672 		fi
   9673 
   9674 		CFLAGS="$CFLAGS -Wwrite-strings"
   9675 
   9676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9677 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9678 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9679 		if eval \${$cacheid+:} false; then :
   9680   $as_echo_n "(cached) " >&6
   9681 else
   9682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9683 /* end confdefs.h.  */
   9684 int i;
   9685 int
   9686 main ()
   9687 {
   9688 
   9689   ;
   9690   return 0;
   9691 }
   9692 _ACEOF
   9693 if ac_fn_c_try_link "$LINENO"; then :
   9694   eval $cacheid=yes
   9695 else
   9696   eval $cacheid=no
   9697 fi
   9698 rm -f core conftest.err conftest.$ac_objext \
   9699     conftest$ac_exeext conftest.$ac_ext
   9700 fi
   9701 
   9702 
   9703 		CFLAGS="$xorg_testset_save_CFLAGS"
   9704 
   9705 		eval supported=\$$cacheid
   9706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9707 $as_echo "$supported" >&6; }
   9708 		if test "$supported" = "yes" ; then
   9709 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9710 			found="yes"
   9711 		fi
   9712 	fi
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 xorg_testset_save_CFLAGS="$CFLAGS"
   9729 
   9730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9735   $as_echo_n "(cached) " >&6
   9736 else
   9737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9738 /* end confdefs.h.  */
   9739 int i;
   9740 _ACEOF
   9741 if ac_fn_c_try_compile "$LINENO"; then :
   9742   xorg_cv_cc_flag_unknown_warning_option=yes
   9743 else
   9744   xorg_cv_cc_flag_unknown_warning_option=no
   9745 fi
   9746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9747 fi
   9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9751 	CFLAGS="$xorg_testset_save_CFLAGS"
   9752 fi
   9753 
   9754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9757 	fi
   9758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9762   $as_echo_n "(cached) " >&6
   9763 else
   9764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9765 /* end confdefs.h.  */
   9766 int i;
   9767 _ACEOF
   9768 if ac_fn_c_try_compile "$LINENO"; then :
   9769   xorg_cv_cc_flag_unused_command_line_argument=yes
   9770 else
   9771   xorg_cv_cc_flag_unused_command_line_argument=no
   9772 fi
   9773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9774 fi
   9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9778 	CFLAGS="$xorg_testset_save_CFLAGS"
   9779 fi
   9780 
   9781 found="no"
   9782 
   9783 	if test $found = "no" ; then
   9784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9786 		fi
   9787 
   9788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9790 		fi
   9791 
   9792 		CFLAGS="$CFLAGS -Waddress"
   9793 
   9794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9795 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9796 		cacheid=xorg_cv_cc_flag__Waddress
   9797 		if eval \${$cacheid+:} false; then :
   9798   $as_echo_n "(cached) " >&6
   9799 else
   9800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9801 /* end confdefs.h.  */
   9802 int i;
   9803 int
   9804 main ()
   9805 {
   9806 
   9807   ;
   9808   return 0;
   9809 }
   9810 _ACEOF
   9811 if ac_fn_c_try_link "$LINENO"; then :
   9812   eval $cacheid=yes
   9813 else
   9814   eval $cacheid=no
   9815 fi
   9816 rm -f core conftest.err conftest.$ac_objext \
   9817     conftest$ac_exeext conftest.$ac_ext
   9818 fi
   9819 
   9820 
   9821 		CFLAGS="$xorg_testset_save_CFLAGS"
   9822 
   9823 		eval supported=\$$cacheid
   9824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9825 $as_echo "$supported" >&6; }
   9826 		if test "$supported" = "yes" ; then
   9827 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9828 			found="yes"
   9829 		fi
   9830 	fi
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 xorg_testset_save_CFLAGS="$CFLAGS"
   9847 
   9848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9853   $as_echo_n "(cached) " >&6
   9854 else
   9855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9856 /* end confdefs.h.  */
   9857 int i;
   9858 _ACEOF
   9859 if ac_fn_c_try_compile "$LINENO"; then :
   9860   xorg_cv_cc_flag_unknown_warning_option=yes
   9861 else
   9862   xorg_cv_cc_flag_unknown_warning_option=no
   9863 fi
   9864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9865 fi
   9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9869 	CFLAGS="$xorg_testset_save_CFLAGS"
   9870 fi
   9871 
   9872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 	fi
   9876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9880   $as_echo_n "(cached) " >&6
   9881 else
   9882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9883 /* end confdefs.h.  */
   9884 int i;
   9885 _ACEOF
   9886 if ac_fn_c_try_compile "$LINENO"; then :
   9887   xorg_cv_cc_flag_unused_command_line_argument=yes
   9888 else
   9889   xorg_cv_cc_flag_unused_command_line_argument=no
   9890 fi
   9891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9892 fi
   9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9896 	CFLAGS="$xorg_testset_save_CFLAGS"
   9897 fi
   9898 
   9899 found="no"
   9900 
   9901 	if test $found = "no" ; then
   9902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9904 		fi
   9905 
   9906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9908 		fi
   9909 
   9910 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9911 
   9912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9913 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9914 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9915 		if eval \${$cacheid+:} false; then :
   9916   $as_echo_n "(cached) " >&6
   9917 else
   9918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9919 /* end confdefs.h.  */
   9920 int i;
   9921 int
   9922 main ()
   9923 {
   9924 
   9925   ;
   9926   return 0;
   9927 }
   9928 _ACEOF
   9929 if ac_fn_c_try_link "$LINENO"; then :
   9930   eval $cacheid=yes
   9931 else
   9932   eval $cacheid=no
   9933 fi
   9934 rm -f core conftest.err conftest.$ac_objext \
   9935     conftest$ac_exeext conftest.$ac_ext
   9936 fi
   9937 
   9938 
   9939 		CFLAGS="$xorg_testset_save_CFLAGS"
   9940 
   9941 		eval supported=\$$cacheid
   9942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9943 $as_echo "$supported" >&6; }
   9944 		if test "$supported" = "yes" ; then
   9945 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9946 			found="yes"
   9947 		fi
   9948 	fi
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 xorg_testset_save_CFLAGS="$CFLAGS"
   9965 
   9966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9971   $as_echo_n "(cached) " >&6
   9972 else
   9973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9974 /* end confdefs.h.  */
   9975 int i;
   9976 _ACEOF
   9977 if ac_fn_c_try_compile "$LINENO"; then :
   9978   xorg_cv_cc_flag_unknown_warning_option=yes
   9979 else
   9980   xorg_cv_cc_flag_unknown_warning_option=no
   9981 fi
   9982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9983 fi
   9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9987 	CFLAGS="$xorg_testset_save_CFLAGS"
   9988 fi
   9989 
   9990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9993 	fi
   9994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9998   $as_echo_n "(cached) " >&6
   9999 else
   10000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10001 /* end confdefs.h.  */
   10002 int i;
   10003 _ACEOF
   10004 if ac_fn_c_try_compile "$LINENO"; then :
   10005   xorg_cv_cc_flag_unused_command_line_argument=yes
   10006 else
   10007   xorg_cv_cc_flag_unused_command_line_argument=no
   10008 fi
   10009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10010 fi
   10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10014 	CFLAGS="$xorg_testset_save_CFLAGS"
   10015 fi
   10016 
   10017 found="no"
   10018 
   10019 	if test $found = "no" ; then
   10020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10022 		fi
   10023 
   10024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10026 		fi
   10027 
   10028 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10029 
   10030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10031 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10032 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10033 		if eval \${$cacheid+:} false; then :
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10037 /* end confdefs.h.  */
   10038 int i;
   10039 int
   10040 main ()
   10041 {
   10042 
   10043   ;
   10044   return 0;
   10045 }
   10046 _ACEOF
   10047 if ac_fn_c_try_link "$LINENO"; then :
   10048   eval $cacheid=yes
   10049 else
   10050   eval $cacheid=no
   10051 fi
   10052 rm -f core conftest.err conftest.$ac_objext \
   10053     conftest$ac_exeext conftest.$ac_ext
   10054 fi
   10055 
   10056 
   10057 		CFLAGS="$xorg_testset_save_CFLAGS"
   10058 
   10059 		eval supported=\$$cacheid
   10060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10061 $as_echo "$supported" >&6; }
   10062 		if test "$supported" = "yes" ; then
   10063 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10064 			found="yes"
   10065 		fi
   10066 	fi
   10067 
   10068 
   10069 fi
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 		CWARNFLAGS="$BASE_CFLAGS"
   10078 		if  test "x$GCC" = xyes ; then
   10079 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10080 		fi
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 # Check whether --enable-strict-compilation was given.
   10090 if test "${enable_strict_compilation+set}" = set; then :
   10091   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10092 else
   10093   STRICT_COMPILE=no
   10094 fi
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 STRICT_CFLAGS=""
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 xorg_testset_save_CFLAGS="$CFLAGS"
   10116 
   10117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10120 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10121 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10122   $as_echo_n "(cached) " >&6
   10123 else
   10124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10125 /* end confdefs.h.  */
   10126 int i;
   10127 _ACEOF
   10128 if ac_fn_c_try_compile "$LINENO"; then :
   10129   xorg_cv_cc_flag_unknown_warning_option=yes
   10130 else
   10131   xorg_cv_cc_flag_unknown_warning_option=no
   10132 fi
   10133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10134 fi
   10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10136 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10138 	CFLAGS="$xorg_testset_save_CFLAGS"
   10139 fi
   10140 
   10141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10144 	fi
   10145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10147 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10148 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10149   $as_echo_n "(cached) " >&6
   10150 else
   10151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 int i;
   10154 _ACEOF
   10155 if ac_fn_c_try_compile "$LINENO"; then :
   10156   xorg_cv_cc_flag_unused_command_line_argument=yes
   10157 else
   10158   xorg_cv_cc_flag_unused_command_line_argument=no
   10159 fi
   10160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10161 fi
   10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10163 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10165 	CFLAGS="$xorg_testset_save_CFLAGS"
   10166 fi
   10167 
   10168 found="no"
   10169 
   10170 	if test $found = "no" ; then
   10171 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10173 		fi
   10174 
   10175 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10177 		fi
   10178 
   10179 		CFLAGS="$CFLAGS -pedantic"
   10180 
   10181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10182 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10183 		cacheid=xorg_cv_cc_flag__pedantic
   10184 		if eval \${$cacheid+:} false; then :
   10185   $as_echo_n "(cached) " >&6
   10186 else
   10187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10188 /* end confdefs.h.  */
   10189 int i;
   10190 int
   10191 main ()
   10192 {
   10193 
   10194   ;
   10195   return 0;
   10196 }
   10197 _ACEOF
   10198 if ac_fn_c_try_link "$LINENO"; then :
   10199   eval $cacheid=yes
   10200 else
   10201   eval $cacheid=no
   10202 fi
   10203 rm -f core conftest.err conftest.$ac_objext \
   10204     conftest$ac_exeext conftest.$ac_ext
   10205 fi
   10206 
   10207 
   10208 		CFLAGS="$xorg_testset_save_CFLAGS"
   10209 
   10210 		eval supported=\$$cacheid
   10211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10212 $as_echo "$supported" >&6; }
   10213 		if test "$supported" = "yes" ; then
   10214 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10215 			found="yes"
   10216 		fi
   10217 	fi
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 xorg_testset_save_CFLAGS="$CFLAGS"
   10234 
   10235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10240   $as_echo_n "(cached) " >&6
   10241 else
   10242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10243 /* end confdefs.h.  */
   10244 int i;
   10245 _ACEOF
   10246 if ac_fn_c_try_compile "$LINENO"; then :
   10247   xorg_cv_cc_flag_unknown_warning_option=yes
   10248 else
   10249   xorg_cv_cc_flag_unknown_warning_option=no
   10250 fi
   10251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10252 fi
   10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10256 	CFLAGS="$xorg_testset_save_CFLAGS"
   10257 fi
   10258 
   10259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 	fi
   10263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10267   $as_echo_n "(cached) " >&6
   10268 else
   10269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10270 /* end confdefs.h.  */
   10271 int i;
   10272 _ACEOF
   10273 if ac_fn_c_try_compile "$LINENO"; then :
   10274   xorg_cv_cc_flag_unused_command_line_argument=yes
   10275 else
   10276   xorg_cv_cc_flag_unused_command_line_argument=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10279 fi
   10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10283 	CFLAGS="$xorg_testset_save_CFLAGS"
   10284 fi
   10285 
   10286 found="no"
   10287 
   10288 	if test $found = "no" ; then
   10289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10291 		fi
   10292 
   10293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10295 		fi
   10296 
   10297 		CFLAGS="$CFLAGS -Werror"
   10298 
   10299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10300 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10301 		cacheid=xorg_cv_cc_flag__Werror
   10302 		if eval \${$cacheid+:} false; then :
   10303   $as_echo_n "(cached) " >&6
   10304 else
   10305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10306 /* end confdefs.h.  */
   10307 int i;
   10308 int
   10309 main ()
   10310 {
   10311 
   10312   ;
   10313   return 0;
   10314 }
   10315 _ACEOF
   10316 if ac_fn_c_try_link "$LINENO"; then :
   10317   eval $cacheid=yes
   10318 else
   10319   eval $cacheid=no
   10320 fi
   10321 rm -f core conftest.err conftest.$ac_objext \
   10322     conftest$ac_exeext conftest.$ac_ext
   10323 fi
   10324 
   10325 
   10326 		CFLAGS="$xorg_testset_save_CFLAGS"
   10327 
   10328 		eval supported=\$$cacheid
   10329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10330 $as_echo "$supported" >&6; }
   10331 		if test "$supported" = "yes" ; then
   10332 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10333 			found="yes"
   10334 		fi
   10335 	fi
   10336 
   10337 	if test $found = "no" ; then
   10338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 		fi
   10341 
   10342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10344 		fi
   10345 
   10346 		CFLAGS="$CFLAGS -errwarn"
   10347 
   10348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10349 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10350 		cacheid=xorg_cv_cc_flag__errwarn
   10351 		if eval \${$cacheid+:} false; then :
   10352   $as_echo_n "(cached) " >&6
   10353 else
   10354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10355 /* end confdefs.h.  */
   10356 int i;
   10357 int
   10358 main ()
   10359 {
   10360 
   10361   ;
   10362   return 0;
   10363 }
   10364 _ACEOF
   10365 if ac_fn_c_try_link "$LINENO"; then :
   10366   eval $cacheid=yes
   10367 else
   10368   eval $cacheid=no
   10369 fi
   10370 rm -f core conftest.err conftest.$ac_objext \
   10371     conftest$ac_exeext conftest.$ac_ext
   10372 fi
   10373 
   10374 
   10375 		CFLAGS="$xorg_testset_save_CFLAGS"
   10376 
   10377 		eval supported=\$$cacheid
   10378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10379 $as_echo "$supported" >&6; }
   10380 		if test "$supported" = "yes" ; then
   10381 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10382 			found="yes"
   10383 		fi
   10384 	fi
   10385 
   10386 
   10387 
   10388 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10389 # activate it with -Werror, so we add it here explicitly.
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 xorg_testset_save_CFLAGS="$CFLAGS"
   10404 
   10405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10410   $as_echo_n "(cached) " >&6
   10411 else
   10412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10413 /* end confdefs.h.  */
   10414 int i;
   10415 _ACEOF
   10416 if ac_fn_c_try_compile "$LINENO"; then :
   10417   xorg_cv_cc_flag_unknown_warning_option=yes
   10418 else
   10419   xorg_cv_cc_flag_unknown_warning_option=no
   10420 fi
   10421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10422 fi
   10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10426 	CFLAGS="$xorg_testset_save_CFLAGS"
   10427 fi
   10428 
   10429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10432 	fi
   10433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10437   $as_echo_n "(cached) " >&6
   10438 else
   10439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10440 /* end confdefs.h.  */
   10441 int i;
   10442 _ACEOF
   10443 if ac_fn_c_try_compile "$LINENO"; then :
   10444   xorg_cv_cc_flag_unused_command_line_argument=yes
   10445 else
   10446   xorg_cv_cc_flag_unused_command_line_argument=no
   10447 fi
   10448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10449 fi
   10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10453 	CFLAGS="$xorg_testset_save_CFLAGS"
   10454 fi
   10455 
   10456 found="no"
   10457 
   10458 	if test $found = "no" ; then
   10459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10461 		fi
   10462 
   10463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10465 		fi
   10466 
   10467 		CFLAGS="$CFLAGS -Werror=attributes"
   10468 
   10469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10470 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10471 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10472 		if eval \${$cacheid+:} false; then :
   10473   $as_echo_n "(cached) " >&6
   10474 else
   10475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10476 /* end confdefs.h.  */
   10477 int i;
   10478 int
   10479 main ()
   10480 {
   10481 
   10482   ;
   10483   return 0;
   10484 }
   10485 _ACEOF
   10486 if ac_fn_c_try_link "$LINENO"; then :
   10487   eval $cacheid=yes
   10488 else
   10489   eval $cacheid=no
   10490 fi
   10491 rm -f core conftest.err conftest.$ac_objext \
   10492     conftest$ac_exeext conftest.$ac_ext
   10493 fi
   10494 
   10495 
   10496 		CFLAGS="$xorg_testset_save_CFLAGS"
   10497 
   10498 		eval supported=\$$cacheid
   10499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10500 $as_echo "$supported" >&6; }
   10501 		if test "$supported" = "yes" ; then
   10502 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10503 			found="yes"
   10504 		fi
   10505 	fi
   10506 
   10507 
   10508 
   10509 if test "x$STRICT_COMPILE" = "xyes"; then
   10510     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10511     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10512 fi
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 cat >>confdefs.h <<_ACEOF
   10520 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10521 _ACEOF
   10522 
   10523 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10524 	if test "x$PVM" = "x"; then
   10525 		PVM="0"
   10526 	fi
   10527 
   10528 cat >>confdefs.h <<_ACEOF
   10529 #define PACKAGE_VERSION_MINOR $PVM
   10530 _ACEOF
   10531 
   10532 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10533 	if test "x$PVP" = "x"; then
   10534 		PVP="0"
   10535 	fi
   10536 
   10537 cat >>confdefs.h <<_ACEOF
   10538 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10539 _ACEOF
   10540 
   10541 
   10542 
   10543 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10544 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10545 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10546 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10547 
   10548 
   10549 
   10550 
   10551 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10552 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10553 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10554 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10555 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 if test x$APP_MAN_SUFFIX = x    ; then
   10563     APP_MAN_SUFFIX=1
   10564 fi
   10565 if test x$APP_MAN_DIR = x    ; then
   10566     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10567 fi
   10568 
   10569 if test x$LIB_MAN_SUFFIX = x    ; then
   10570     LIB_MAN_SUFFIX=3
   10571 fi
   10572 if test x$LIB_MAN_DIR = x    ; then
   10573     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10574 fi
   10575 
   10576 if test x$FILE_MAN_SUFFIX = x    ; then
   10577     case $host_os in
   10578 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10579 	*)		FILE_MAN_SUFFIX=5  ;;
   10580     esac
   10581 fi
   10582 if test x$FILE_MAN_DIR = x    ; then
   10583     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10584 fi
   10585 
   10586 if test x$MISC_MAN_SUFFIX = x    ; then
   10587     case $host_os in
   10588 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10589 	*)		MISC_MAN_SUFFIX=7  ;;
   10590     esac
   10591 fi
   10592 if test x$MISC_MAN_DIR = x    ; then
   10593     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10594 fi
   10595 
   10596 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10597     case $host_os in
   10598 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10599 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10600     esac
   10601 fi
   10602 if test x$DRIVER_MAN_DIR = x    ; then
   10603     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10604 fi
   10605 
   10606 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10607     case $host_os in
   10608 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10609 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10610     esac
   10611 fi
   10612 if test x$ADMIN_MAN_DIR = x    ; then
   10613     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10614 fi
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 XORG_MAN_PAGE="X Version 11"
   10631 
   10632 MAN_SUBSTS="\
   10633 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10634 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10635 	-e 's|__xservername__|Xorg|g' \
   10636 	-e 's|__xconfigfile__|xorg.conf|g' \
   10637 	-e 's|__xorgconfdir__|xorg.conf.d|g' \
   10638 	-e 's|__projectroot__|\$(prefix)|g' \
   10639 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10640 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10641 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10642 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10643 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10644 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10645 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10646 
   10647 
   10648 
   10649 # Check whether --enable-silent-rules was given.
   10650 if test "${enable_silent_rules+set}" = set; then :
   10651   enableval=$enable_silent_rules;
   10652 fi
   10653 
   10654 case $enable_silent_rules in # (((
   10655   yes) AM_DEFAULT_VERBOSITY=0;;
   10656    no) AM_DEFAULT_VERBOSITY=1;;
   10657     *) AM_DEFAULT_VERBOSITY=0;;
   10658 esac
   10659 am_make=${MAKE-make}
   10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10661 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10662 if ${am_cv_make_support_nested_variables+:} false; then :
   10663   $as_echo_n "(cached) " >&6
   10664 else
   10665   if $as_echo 'TRUE=$(BAR$(V))
   10666 BAR0=false
   10667 BAR1=true
   10668 V=1
   10669 am__doit:
   10670 	@$(TRUE)
   10671 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10672   am_cv_make_support_nested_variables=yes
   10673 else
   10674   am_cv_make_support_nested_variables=no
   10675 fi
   10676 fi
   10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10678 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10679 if test $am_cv_make_support_nested_variables = yes; then
   10680     AM_V='$(V)'
   10681   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10682 else
   10683   AM_V=$AM_DEFAULT_VERBOSITY
   10684   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10685 fi
   10686 AM_BACKSLASH='\'
   10687 
   10688 
   10689 
   10690 # If both the C file and YACC are missing, the package cannot be build.
   10691 for ac_prog in 'bison -y' byacc
   10692 do
   10693   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10694 set dummy $ac_prog; ac_word=$2
   10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10696 $as_echo_n "checking for $ac_word... " >&6; }
   10697 if ${ac_cv_prog_YACC+:} false; then :
   10698   $as_echo_n "(cached) " >&6
   10699 else
   10700   if test -n "$YACC"; then
   10701   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10702 else
   10703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10704 for as_dir in $PATH
   10705 do
   10706   IFS=$as_save_IFS
   10707   test -z "$as_dir" && as_dir=.
   10708     for ac_exec_ext in '' $ac_executable_extensions; do
   10709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10710     ac_cv_prog_YACC="$ac_prog"
   10711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10712     break 2
   10713   fi
   10714 done
   10715   done
   10716 IFS=$as_save_IFS
   10717 
   10718 fi
   10719 fi
   10720 YACC=$ac_cv_prog_YACC
   10721 if test -n "$YACC"; then
   10722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10723 $as_echo "$YACC" >&6; }
   10724 else
   10725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10726 $as_echo "no" >&6; }
   10727 fi
   10728 
   10729 
   10730   test -n "$YACC" && break
   10731 done
   10732 test -n "$YACC" || YACC="yacc"
   10733 
   10734 # Extract the first word of "$YACC", so it can be a program name with args.
   10735 set dummy $YACC; ac_word=$2
   10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10737 $as_echo_n "checking for $ac_word... " >&6; }
   10738 if ${ac_cv_path_YACC_INST+:} false; then :
   10739   $as_echo_n "(cached) " >&6
   10740 else
   10741   case $YACC_INST in
   10742   [\\/]* | ?:[\\/]*)
   10743   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   10744   ;;
   10745   *)
   10746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10747 for as_dir in $PATH
   10748 do
   10749   IFS=$as_save_IFS
   10750   test -z "$as_dir" && as_dir=.
   10751     for ac_exec_ext in '' $ac_executable_extensions; do
   10752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10753     ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
   10754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10755     break 2
   10756   fi
   10757 done
   10758   done
   10759 IFS=$as_save_IFS
   10760 
   10761   ;;
   10762 esac
   10763 fi
   10764 YACC_INST=$ac_cv_path_YACC_INST
   10765 if test -n "$YACC_INST"; then
   10766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   10767 $as_echo "$YACC_INST" >&6; }
   10768 else
   10769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10770 $as_echo "no" >&6; }
   10771 fi
   10772 
   10773 
   10774 if test ! -f "$srcdir/xkbparse.c"; then
   10775    if test -z "$YACC_INST"; then
   10776       as_fn_error $? "yacc not found - unable to compile xkbparse.y" "$LINENO" 5
   10777    fi
   10778 fi
   10779 
   10780 for ac_func in strdup strcasecmp
   10781 do :
   10782   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10785   cat >>confdefs.h <<_ACEOF
   10786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10787 _ACEOF
   10788 
   10789 fi
   10790 done
   10791 
   10792 
   10793 REQUIRED_MODULES="x11 xkbfile xproto >= 7.0.17"
   10794 
   10795 # Checks for pkg-config packages
   10796 
   10797 pkg_failed=no
   10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBCOMP" >&5
   10799 $as_echo_n "checking for XKBCOMP... " >&6; }
   10800 
   10801 if test -n "$XKBCOMP_CFLAGS"; then
   10802     pkg_cv_XKBCOMP_CFLAGS="$XKBCOMP_CFLAGS"
   10803  elif test -n "$PKG_CONFIG"; then
   10804     if test -n "$PKG_CONFIG" && \
   10805     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
   10806   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
   10807   ac_status=$?
   10808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10809   test $ac_status = 0; }; then
   10810   pkg_cv_XKBCOMP_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES" 2>/dev/null`
   10811 		      test "x$?" != "x0" && pkg_failed=yes
   10812 else
   10813   pkg_failed=yes
   10814 fi
   10815  else
   10816     pkg_failed=untried
   10817 fi
   10818 if test -n "$XKBCOMP_LIBS"; then
   10819     pkg_cv_XKBCOMP_LIBS="$XKBCOMP_LIBS"
   10820  elif test -n "$PKG_CONFIG"; then
   10821     if test -n "$PKG_CONFIG" && \
   10822     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES\""; } >&5
   10823   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES") 2>&5
   10824   ac_status=$?
   10825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10826   test $ac_status = 0; }; then
   10827   pkg_cv_XKBCOMP_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES" 2>/dev/null`
   10828 		      test "x$?" != "x0" && pkg_failed=yes
   10829 else
   10830   pkg_failed=yes
   10831 fi
   10832  else
   10833     pkg_failed=untried
   10834 fi
   10835 
   10836 
   10837 
   10838 if test $pkg_failed = yes; then
   10839    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10840 $as_echo "no" >&6; }
   10841 
   10842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10843         _pkg_short_errors_supported=yes
   10844 else
   10845         _pkg_short_errors_supported=no
   10846 fi
   10847         if test $_pkg_short_errors_supported = yes; then
   10848 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
   10849         else
   10850 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES" 2>&1`
   10851         fi
   10852 	# Put the nasty error message in config.log where it belongs
   10853 	echo "$XKBCOMP_PKG_ERRORS" >&5
   10854 
   10855 	as_fn_error $? "Package requirements ($REQUIRED_MODULES) were not met:
   10856 
   10857 $XKBCOMP_PKG_ERRORS
   10858 
   10859 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10860 installed software in a non-standard prefix.
   10861 
   10862 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   10863 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   10864 See the pkg-config man page for more details." "$LINENO" 5
   10865 elif test $pkg_failed = untried; then
   10866      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10867 $as_echo "no" >&6; }
   10868 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10870 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10871 is in your PATH or set the PKG_CONFIG environment variable to the full
   10872 path to pkg-config.
   10873 
   10874 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   10875 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   10876 See the pkg-config man page for more details.
   10877 
   10878 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10879 See \`config.log' for more details" "$LINENO" 5; }
   10880 else
   10881 	XKBCOMP_CFLAGS=$pkg_cv_XKBCOMP_CFLAGS
   10882 	XKBCOMP_LIBS=$pkg_cv_XKBCOMP_LIBS
   10883         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10884 $as_echo "yes" >&6; }
   10885 
   10886 fi
   10887 
   10888 
   10889 
   10890 # Check whether --with-xkb_config_root was given.
   10891 if test "${with_xkb_config_root+set}" = set; then :
   10892   withval=$with_xkb_config_root; XKBCONFIGROOT="$withval"
   10893 else
   10894   XKBCONFIGROOT='${datadir}/X11/xkb'
   10895 fi
   10896 
   10897 
   10898 
   10899 
   10900 ac_config_files="$ac_config_files Makefile man/Makefile xkbcomp.pc"
   10901 
   10902 cat >confcache <<\_ACEOF
   10903 # This file is a shell script that caches the results of configure
   10904 # tests run on this system so they can be shared between configure
   10905 # scripts and configure runs, see configure's option --config-cache.
   10906 # It is not useful on other systems.  If it contains results you don't
   10907 # want to keep, you may remove or edit it.
   10908 #
   10909 # config.status only pays attention to the cache file if you give it
   10910 # the --recheck option to rerun configure.
   10911 #
   10912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10914 # following values.
   10915 
   10916 _ACEOF
   10917 
   10918 # The following way of writing the cache mishandles newlines in values,
   10919 # but we know of no workaround that is simple, portable, and efficient.
   10920 # So, we kill variables containing newlines.
   10921 # Ultrix sh set writes to stderr and can't be redirected directly,
   10922 # and sets the high bit in the cache file unless we assign to the vars.
   10923 (
   10924   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10925     eval ac_val=\$$ac_var
   10926     case $ac_val in #(
   10927     *${as_nl}*)
   10928       case $ac_var in #(
   10929       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10930 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10931       esac
   10932       case $ac_var in #(
   10933       _ | IFS | as_nl) ;; #(
   10934       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10935       *) { eval $ac_var=; unset $ac_var;} ;;
   10936       esac ;;
   10937     esac
   10938   done
   10939 
   10940   (set) 2>&1 |
   10941     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10942     *${as_nl}ac_space=\ *)
   10943       # `set' does not quote correctly, so add quotes: double-quote
   10944       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10945       sed -n \
   10946 	"s/'/'\\\\''/g;
   10947 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10948       ;; #(
   10949     *)
   10950       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10951       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10952       ;;
   10953     esac |
   10954     sort
   10955 ) |
   10956   sed '
   10957      /^ac_cv_env_/b end
   10958      t clear
   10959      :clear
   10960      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10961      t end
   10962      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10963      :end' >>confcache
   10964 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10965   if test -w "$cache_file"; then
   10966     if test "x$cache_file" != "x/dev/null"; then
   10967       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10968 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10969       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10970 	cat confcache >"$cache_file"
   10971       else
   10972         case $cache_file in #(
   10973         */* | ?:*)
   10974 	  mv -f confcache "$cache_file"$$ &&
   10975 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10976         *)
   10977 	  mv -f confcache "$cache_file" ;;
   10978 	esac
   10979       fi
   10980     fi
   10981   else
   10982     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10983 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10984   fi
   10985 fi
   10986 rm -f confcache
   10987 
   10988 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10989 # Let make expand exec_prefix.
   10990 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10991 
   10992 DEFS=-DHAVE_CONFIG_H
   10993 
   10994 ac_libobjs=
   10995 ac_ltlibobjs=
   10996 U=
   10997 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10998   # 1. Remove the extension, and $U if already installed.
   10999   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11000   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11001   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11002   #    will be set to the directory where LIBOBJS objects are built.
   11003   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11004   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11005 done
   11006 LIBOBJS=$ac_libobjs
   11007 
   11008 LTLIBOBJS=$ac_ltlibobjs
   11009 
   11010 
   11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11012 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11013    if test -n "$am_sleep_pid"; then
   11014      # Hide warnings about reused PIDs.
   11015      wait $am_sleep_pid 2>/dev/null
   11016    fi
   11017    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11018 $as_echo "done" >&6; }
   11019  if test -n "$EXEEXT"; then
   11020   am__EXEEXT_TRUE=
   11021   am__EXEEXT_FALSE='#'
   11022 else
   11023   am__EXEEXT_TRUE='#'
   11024   am__EXEEXT_FALSE=
   11025 fi
   11026 
   11027 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11028   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11030 fi
   11031 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11032   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11034 fi
   11035 
   11036 : "${CONFIG_STATUS=./config.status}"
   11037 ac_write_fail=0
   11038 ac_clean_files_save=$ac_clean_files
   11039 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11041 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11042 as_write_fail=0
   11043 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11044 #! $SHELL
   11045 # Generated by $as_me.
   11046 # Run this file to recreate the current configuration.
   11047 # Compiler output produced by configure, useful for debugging
   11048 # configure, is in config.log if it exists.
   11049 
   11050 debug=false
   11051 ac_cs_recheck=false
   11052 ac_cs_silent=false
   11053 
   11054 SHELL=\${CONFIG_SHELL-$SHELL}
   11055 export SHELL
   11056 _ASEOF
   11057 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11058 ## -------------------- ##
   11059 ## M4sh Initialization. ##
   11060 ## -------------------- ##
   11061 
   11062 # Be more Bourne compatible
   11063 DUALCASE=1; export DUALCASE # for MKS sh
   11064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11065   emulate sh
   11066   NULLCMD=:
   11067   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11068   # is contrary to our usage.  Disable this feature.
   11069   alias -g '${1+"$@"}'='"$@"'
   11070   setopt NO_GLOB_SUBST
   11071 else
   11072   case `(set -o) 2>/dev/null` in #(
   11073   *posix*) :
   11074     set -o posix ;; #(
   11075   *) :
   11076      ;;
   11077 esac
   11078 fi
   11079 
   11080 
   11081 as_nl='
   11082 '
   11083 export as_nl
   11084 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11085 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11088 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11089 # but without wasting forks for bash or zsh.
   11090 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11091     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11092   as_echo='print -r --'
   11093   as_echo_n='print -rn --'
   11094 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11095   as_echo='printf %s\n'
   11096   as_echo_n='printf %s'
   11097 else
   11098   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11099     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11100     as_echo_n='/usr/ucb/echo -n'
   11101   else
   11102     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11103     as_echo_n_body='eval
   11104       arg=$1;
   11105       case $arg in #(
   11106       *"$as_nl"*)
   11107 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11108 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11109       esac;
   11110       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11111     '
   11112     export as_echo_n_body
   11113     as_echo_n='sh -c $as_echo_n_body as_echo'
   11114   fi
   11115   export as_echo_body
   11116   as_echo='sh -c $as_echo_body as_echo'
   11117 fi
   11118 
   11119 # The user is always right.
   11120 if test "${PATH_SEPARATOR+set}" != set; then
   11121   PATH_SEPARATOR=:
   11122   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11123     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11124       PATH_SEPARATOR=';'
   11125   }
   11126 fi
   11127 
   11128 
   11129 # IFS
   11130 # We need space, tab and new line, in precisely that order.  Quoting is
   11131 # there to prevent editors from complaining about space-tab.
   11132 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11133 # splitting by setting IFS to empty value.)
   11134 IFS=" ""	$as_nl"
   11135 
   11136 # Find who we are.  Look in the path if we contain no directory separator.
   11137 as_myself=
   11138 case $0 in #((
   11139   *[\\/]* ) as_myself=$0 ;;
   11140   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11141 for as_dir in $PATH
   11142 do
   11143   IFS=$as_save_IFS
   11144   test -z "$as_dir" && as_dir=.
   11145     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11146   done
   11147 IFS=$as_save_IFS
   11148 
   11149      ;;
   11150 esac
   11151 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11152 # in which case we are not to be found in the path.
   11153 if test "x$as_myself" = x; then
   11154   as_myself=$0
   11155 fi
   11156 if test ! -f "$as_myself"; then
   11157   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11158   exit 1
   11159 fi
   11160 
   11161 # Unset variables that we do not need and which cause bugs (e.g. in
   11162 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11163 # suppresses any "Segmentation fault" message there.  '((' could
   11164 # trigger a bug in pdksh 5.2.14.
   11165 for as_var in BASH_ENV ENV MAIL MAILPATH
   11166 do eval test x\${$as_var+set} = xset \
   11167   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11168 done
   11169 PS1='$ '
   11170 PS2='> '
   11171 PS4='+ '
   11172 
   11173 # NLS nuisances.
   11174 LC_ALL=C
   11175 export LC_ALL
   11176 LANGUAGE=C
   11177 export LANGUAGE
   11178 
   11179 # CDPATH.
   11180 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11181 
   11182 
   11183 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11184 # ----------------------------------------
   11185 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11186 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11187 # script with STATUS, using 1 if that was 0.
   11188 as_fn_error ()
   11189 {
   11190   as_status=$1; test $as_status -eq 0 && as_status=1
   11191   if test "$4"; then
   11192     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11193     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11194   fi
   11195   $as_echo "$as_me: error: $2" >&2
   11196   as_fn_exit $as_status
   11197 } # as_fn_error
   11198 
   11199 
   11200 # as_fn_set_status STATUS
   11201 # -----------------------
   11202 # Set $? to STATUS, without forking.
   11203 as_fn_set_status ()
   11204 {
   11205   return $1
   11206 } # as_fn_set_status
   11207 
   11208 # as_fn_exit STATUS
   11209 # -----------------
   11210 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11211 as_fn_exit ()
   11212 {
   11213   set +e
   11214   as_fn_set_status $1
   11215   exit $1
   11216 } # as_fn_exit
   11217 
   11218 # as_fn_unset VAR
   11219 # ---------------
   11220 # Portably unset VAR.
   11221 as_fn_unset ()
   11222 {
   11223   { eval $1=; unset $1;}
   11224 }
   11225 as_unset=as_fn_unset
   11226 # as_fn_append VAR VALUE
   11227 # ----------------------
   11228 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11229 # advantage of any shell optimizations that allow amortized linear growth over
   11230 # repeated appends, instead of the typical quadratic growth present in naive
   11231 # implementations.
   11232 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11233   eval 'as_fn_append ()
   11234   {
   11235     eval $1+=\$2
   11236   }'
   11237 else
   11238   as_fn_append ()
   11239   {
   11240     eval $1=\$$1\$2
   11241   }
   11242 fi # as_fn_append
   11243 
   11244 # as_fn_arith ARG...
   11245 # ------------------
   11246 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11247 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11248 # must be portable across $(()) and expr.
   11249 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11250   eval 'as_fn_arith ()
   11251   {
   11252     as_val=$(( $* ))
   11253   }'
   11254 else
   11255   as_fn_arith ()
   11256   {
   11257     as_val=`expr "$@" || test $? -eq 1`
   11258   }
   11259 fi # as_fn_arith
   11260 
   11261 
   11262 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11263    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11264   as_expr=expr
   11265 else
   11266   as_expr=false
   11267 fi
   11268 
   11269 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11270   as_basename=basename
   11271 else
   11272   as_basename=false
   11273 fi
   11274 
   11275 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11276   as_dirname=dirname
   11277 else
   11278   as_dirname=false
   11279 fi
   11280 
   11281 as_me=`$as_basename -- "$0" ||
   11282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11283 	 X"$0" : 'X\(//\)$' \| \
   11284 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11285 $as_echo X/"$0" |
   11286     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11287 	    s//\1/
   11288 	    q
   11289 	  }
   11290 	  /^X\/\(\/\/\)$/{
   11291 	    s//\1/
   11292 	    q
   11293 	  }
   11294 	  /^X\/\(\/\).*/{
   11295 	    s//\1/
   11296 	    q
   11297 	  }
   11298 	  s/.*/./; q'`
   11299 
   11300 # Avoid depending upon Character Ranges.
   11301 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11302 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11303 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11304 as_cr_digits='0123456789'
   11305 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11306 
   11307 ECHO_C= ECHO_N= ECHO_T=
   11308 case `echo -n x` in #(((((
   11309 -n*)
   11310   case `echo 'xy\c'` in
   11311   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11312   xy)  ECHO_C='\c';;
   11313   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11314        ECHO_T='	';;
   11315   esac;;
   11316 *)
   11317   ECHO_N='-n';;
   11318 esac
   11319 
   11320 rm -f conf$$ conf$$.exe conf$$.file
   11321 if test -d conf$$.dir; then
   11322   rm -f conf$$.dir/conf$$.file
   11323 else
   11324   rm -f conf$$.dir
   11325   mkdir conf$$.dir 2>/dev/null
   11326 fi
   11327 if (echo >conf$$.file) 2>/dev/null; then
   11328   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11329     as_ln_s='ln -s'
   11330     # ... but there are two gotchas:
   11331     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11332     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11333     # In both cases, we have to default to `cp -pR'.
   11334     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11335       as_ln_s='cp -pR'
   11336   elif ln conf$$.file conf$$ 2>/dev/null; then
   11337     as_ln_s=ln
   11338   else
   11339     as_ln_s='cp -pR'
   11340   fi
   11341 else
   11342   as_ln_s='cp -pR'
   11343 fi
   11344 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11345 rmdir conf$$.dir 2>/dev/null
   11346 
   11347 
   11348 # as_fn_mkdir_p
   11349 # -------------
   11350 # Create "$as_dir" as a directory, including parents if necessary.
   11351 as_fn_mkdir_p ()
   11352 {
   11353 
   11354   case $as_dir in #(
   11355   -*) as_dir=./$as_dir;;
   11356   esac
   11357   test -d "$as_dir" || eval $as_mkdir_p || {
   11358     as_dirs=
   11359     while :; do
   11360       case $as_dir in #(
   11361       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11362       *) as_qdir=$as_dir;;
   11363       esac
   11364       as_dirs="'$as_qdir' $as_dirs"
   11365       as_dir=`$as_dirname -- "$as_dir" ||
   11366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11367 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11368 	 X"$as_dir" : 'X\(//\)$' \| \
   11369 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11370 $as_echo X"$as_dir" |
   11371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11372 	    s//\1/
   11373 	    q
   11374 	  }
   11375 	  /^X\(\/\/\)[^/].*/{
   11376 	    s//\1/
   11377 	    q
   11378 	  }
   11379 	  /^X\(\/\/\)$/{
   11380 	    s//\1/
   11381 	    q
   11382 	  }
   11383 	  /^X\(\/\).*/{
   11384 	    s//\1/
   11385 	    q
   11386 	  }
   11387 	  s/.*/./; q'`
   11388       test -d "$as_dir" && break
   11389     done
   11390     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11391   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11392 
   11393 
   11394 } # as_fn_mkdir_p
   11395 if mkdir -p . 2>/dev/null; then
   11396   as_mkdir_p='mkdir -p "$as_dir"'
   11397 else
   11398   test -d ./-p && rmdir ./-p
   11399   as_mkdir_p=false
   11400 fi
   11401 
   11402 
   11403 # as_fn_executable_p FILE
   11404 # -----------------------
   11405 # Test if FILE is an executable regular file.
   11406 as_fn_executable_p ()
   11407 {
   11408   test -f "$1" && test -x "$1"
   11409 } # as_fn_executable_p
   11410 as_test_x='test -x'
   11411 as_executable_p=as_fn_executable_p
   11412 
   11413 # Sed expression to map a string onto a valid CPP name.
   11414 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11415 
   11416 # Sed expression to map a string onto a valid variable name.
   11417 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11418 
   11419 
   11420 exec 6>&1
   11421 ## ----------------------------------- ##
   11422 ## Main body of $CONFIG_STATUS script. ##
   11423 ## ----------------------------------- ##
   11424 _ASEOF
   11425 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11426 
   11427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11428 # Save the log message, to keep $0 and so on meaningful, and to
   11429 # report actual input values of CONFIG_FILES etc. instead of their
   11430 # values after options handling.
   11431 ac_log="
   11432 This file was extended by xkbcomp $as_me 1.3.1, which was
   11433 generated by GNU Autoconf 2.69.  Invocation command line was
   11434 
   11435   CONFIG_FILES    = $CONFIG_FILES
   11436   CONFIG_HEADERS  = $CONFIG_HEADERS
   11437   CONFIG_LINKS    = $CONFIG_LINKS
   11438   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11439   $ $0 $@
   11440 
   11441 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11442 "
   11443 
   11444 _ACEOF
   11445 
   11446 case $ac_config_files in *"
   11447 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11448 esac
   11449 
   11450 case $ac_config_headers in *"
   11451 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11452 esac
   11453 
   11454 
   11455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11456 # Files that config.status was made for.
   11457 config_files="$ac_config_files"
   11458 config_headers="$ac_config_headers"
   11459 config_commands="$ac_config_commands"
   11460 
   11461 _ACEOF
   11462 
   11463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11464 ac_cs_usage="\
   11465 \`$as_me' instantiates files and other configuration actions
   11466 from templates according to the current configuration.  Unless the files
   11467 and actions are specified as TAGs, all are instantiated by default.
   11468 
   11469 Usage: $0 [OPTION]... [TAG]...
   11470 
   11471   -h, --help       print this help, then exit
   11472   -V, --version    print version number and configuration settings, then exit
   11473       --config     print configuration, then exit
   11474   -q, --quiet, --silent
   11475                    do not print progress messages
   11476   -d, --debug      don't remove temporary files
   11477       --recheck    update $as_me by reconfiguring in the same conditions
   11478       --file=FILE[:TEMPLATE]
   11479                    instantiate the configuration file FILE
   11480       --header=FILE[:TEMPLATE]
   11481                    instantiate the configuration header FILE
   11482 
   11483 Configuration files:
   11484 $config_files
   11485 
   11486 Configuration headers:
   11487 $config_headers
   11488 
   11489 Configuration commands:
   11490 $config_commands
   11491 
   11492 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11493 
   11494 _ACEOF
   11495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11496 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11497 ac_cs_version="\\
   11498 xkbcomp config.status 1.3.1
   11499 configured by $0, generated by GNU Autoconf 2.69,
   11500   with options \\"\$ac_cs_config\\"
   11501 
   11502 Copyright (C) 2012 Free Software Foundation, Inc.
   11503 This config.status script is free software; the Free Software Foundation
   11504 gives unlimited permission to copy, distribute and modify it."
   11505 
   11506 ac_pwd='$ac_pwd'
   11507 srcdir='$srcdir'
   11508 INSTALL='$INSTALL'
   11509 MKDIR_P='$MKDIR_P'
   11510 AWK='$AWK'
   11511 test -n "\$AWK" || AWK=awk
   11512 _ACEOF
   11513 
   11514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11515 # The default lists apply if the user does not specify any file.
   11516 ac_need_defaults=:
   11517 while test $# != 0
   11518 do
   11519   case $1 in
   11520   --*=?*)
   11521     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11522     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11523     ac_shift=:
   11524     ;;
   11525   --*=)
   11526     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11527     ac_optarg=
   11528     ac_shift=:
   11529     ;;
   11530   *)
   11531     ac_option=$1
   11532     ac_optarg=$2
   11533     ac_shift=shift
   11534     ;;
   11535   esac
   11536 
   11537   case $ac_option in
   11538   # Handling of the options.
   11539   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11540     ac_cs_recheck=: ;;
   11541   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11542     $as_echo "$ac_cs_version"; exit ;;
   11543   --config | --confi | --conf | --con | --co | --c )
   11544     $as_echo "$ac_cs_config"; exit ;;
   11545   --debug | --debu | --deb | --de | --d | -d )
   11546     debug=: ;;
   11547   --file | --fil | --fi | --f )
   11548     $ac_shift
   11549     case $ac_optarg in
   11550     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11551     '') as_fn_error $? "missing file argument" ;;
   11552     esac
   11553     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11554     ac_need_defaults=false;;
   11555   --header | --heade | --head | --hea )
   11556     $ac_shift
   11557     case $ac_optarg in
   11558     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11559     esac
   11560     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11561     ac_need_defaults=false;;
   11562   --he | --h)
   11563     # Conflict between --help and --header
   11564     as_fn_error $? "ambiguous option: \`$1'
   11565 Try \`$0 --help' for more information.";;
   11566   --help | --hel | -h )
   11567     $as_echo "$ac_cs_usage"; exit ;;
   11568   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11569   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11570     ac_cs_silent=: ;;
   11571 
   11572   # This is an error.
   11573   -*) as_fn_error $? "unrecognized option: \`$1'
   11574 Try \`$0 --help' for more information." ;;
   11575 
   11576   *) as_fn_append ac_config_targets " $1"
   11577      ac_need_defaults=false ;;
   11578 
   11579   esac
   11580   shift
   11581 done
   11582 
   11583 ac_configure_extra_args=
   11584 
   11585 if $ac_cs_silent; then
   11586   exec 6>/dev/null
   11587   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11588 fi
   11589 
   11590 _ACEOF
   11591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11592 if \$ac_cs_recheck; then
   11593   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11594   shift
   11595   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11596   CONFIG_SHELL='$SHELL'
   11597   export CONFIG_SHELL
   11598   exec "\$@"
   11599 fi
   11600 
   11601 _ACEOF
   11602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11603 exec 5>>config.log
   11604 {
   11605   echo
   11606   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11607 ## Running $as_me. ##
   11608 _ASBOX
   11609   $as_echo "$ac_log"
   11610 } >&5
   11611 
   11612 _ACEOF
   11613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11614 #
   11615 # INIT-COMMANDS
   11616 #
   11617 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11618 
   11619 _ACEOF
   11620 
   11621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11622 
   11623 # Handling of arguments.
   11624 for ac_config_target in $ac_config_targets
   11625 do
   11626   case $ac_config_target in
   11627     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11628     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11629     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11630     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11631     "xkbcomp.pc") CONFIG_FILES="$CONFIG_FILES xkbcomp.pc" ;;
   11632 
   11633   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11634   esac
   11635 done
   11636 
   11637 
   11638 # If the user did not use the arguments to specify the items to instantiate,
   11639 # then the envvar interface is used.  Set only those that are not.
   11640 # We use the long form for the default assignment because of an extremely
   11641 # bizarre bug on SunOS 4.1.3.
   11642 if $ac_need_defaults; then
   11643   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11644   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11645   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11646 fi
   11647 
   11648 # Have a temporary directory for convenience.  Make it in the build tree
   11649 # simply because there is no reason against having it here, and in addition,
   11650 # creating and moving files from /tmp can sometimes cause problems.
   11651 # Hook for its removal unless debugging.
   11652 # Note that there is a small window in which the directory will not be cleaned:
   11653 # after its creation but before its name has been assigned to `$tmp'.
   11654 $debug ||
   11655 {
   11656   tmp= ac_tmp=
   11657   trap 'exit_status=$?
   11658   : "${ac_tmp:=$tmp}"
   11659   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11660 ' 0
   11661   trap 'as_fn_exit 1' 1 2 13 15
   11662 }
   11663 # Create a (secure) tmp directory for tmp files.
   11664 
   11665 {
   11666   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11667   test -d "$tmp"
   11668 }  ||
   11669 {
   11670   tmp=./conf$$-$RANDOM
   11671   (umask 077 && mkdir "$tmp")
   11672 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11673 ac_tmp=$tmp
   11674 
   11675 # Set up the scripts for CONFIG_FILES section.
   11676 # No need to generate them if there are no CONFIG_FILES.
   11677 # This happens for instance with `./config.status config.h'.
   11678 if test -n "$CONFIG_FILES"; then
   11679 
   11680 
   11681 ac_cr=`echo X | tr X '\015'`
   11682 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11683 # But we know of no other shell where ac_cr would be empty at this
   11684 # point, so we can use a bashism as a fallback.
   11685 if test "x$ac_cr" = x; then
   11686   eval ac_cr=\$\'\\r\'
   11687 fi
   11688 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11689 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11690   ac_cs_awk_cr='\\r'
   11691 else
   11692   ac_cs_awk_cr=$ac_cr
   11693 fi
   11694 
   11695 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11696 _ACEOF
   11697 
   11698 
   11699 {
   11700   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11701   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11702   echo "_ACEOF"
   11703 } >conf$$subs.sh ||
   11704   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11705 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11706 ac_delim='%!_!# '
   11707 for ac_last_try in false false false false false :; do
   11708   . ./conf$$subs.sh ||
   11709     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11710 
   11711   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11712   if test $ac_delim_n = $ac_delim_num; then
   11713     break
   11714   elif $ac_last_try; then
   11715     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11716   else
   11717     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11718   fi
   11719 done
   11720 rm -f conf$$subs.sh
   11721 
   11722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11723 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11724 _ACEOF
   11725 sed -n '
   11726 h
   11727 s/^/S["/; s/!.*/"]=/
   11728 p
   11729 g
   11730 s/^[^!]*!//
   11731 :repl
   11732 t repl
   11733 s/'"$ac_delim"'$//
   11734 t delim
   11735 :nl
   11736 h
   11737 s/\(.\{148\}\)..*/\1/
   11738 t more1
   11739 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11740 p
   11741 n
   11742 b repl
   11743 :more1
   11744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11745 p
   11746 g
   11747 s/.\{148\}//
   11748 t nl
   11749 :delim
   11750 h
   11751 s/\(.\{148\}\)..*/\1/
   11752 t more2
   11753 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11754 p
   11755 b
   11756 :more2
   11757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11758 p
   11759 g
   11760 s/.\{148\}//
   11761 t delim
   11762 ' <conf$$subs.awk | sed '
   11763 /^[^""]/{
   11764   N
   11765   s/\n//
   11766 }
   11767 ' >>$CONFIG_STATUS || ac_write_fail=1
   11768 rm -f conf$$subs.awk
   11769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11770 _ACAWK
   11771 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11772   for (key in S) S_is_set[key] = 1
   11773   FS = ""
   11774 
   11775 }
   11776 {
   11777   line = $ 0
   11778   nfields = split(line, field, "@")
   11779   substed = 0
   11780   len = length(field[1])
   11781   for (i = 2; i < nfields; i++) {
   11782     key = field[i]
   11783     keylen = length(key)
   11784     if (S_is_set[key]) {
   11785       value = S[key]
   11786       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11787       len += length(value) + length(field[++i])
   11788       substed = 1
   11789     } else
   11790       len += 1 + keylen
   11791   }
   11792 
   11793   print line
   11794 }
   11795 
   11796 _ACAWK
   11797 _ACEOF
   11798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11799 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11800   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11801 else
   11802   cat
   11803 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11804   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11805 _ACEOF
   11806 
   11807 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11808 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11809 # trailing colons and then remove the whole line if VPATH becomes empty
   11810 # (actually we leave an empty line to preserve line numbers).
   11811 if test "x$srcdir" = x.; then
   11812   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11813 h
   11814 s///
   11815 s/^/:/
   11816 s/[	 ]*$/:/
   11817 s/:\$(srcdir):/:/g
   11818 s/:\${srcdir}:/:/g
   11819 s/:@srcdir@:/:/g
   11820 s/^:*//
   11821 s/:*$//
   11822 x
   11823 s/\(=[	 ]*\).*/\1/
   11824 G
   11825 s/\n//
   11826 s/^[^=]*=[	 ]*$//
   11827 }'
   11828 fi
   11829 
   11830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11831 fi # test -n "$CONFIG_FILES"
   11832 
   11833 # Set up the scripts for CONFIG_HEADERS section.
   11834 # No need to generate them if there are no CONFIG_HEADERS.
   11835 # This happens for instance with `./config.status Makefile'.
   11836 if test -n "$CONFIG_HEADERS"; then
   11837 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11838 BEGIN {
   11839 _ACEOF
   11840 
   11841 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11842 # here-document in config.status, that substitutes the proper values into
   11843 # config.h.in to produce config.h.
   11844 
   11845 # Create a delimiter string that does not exist in confdefs.h, to ease
   11846 # handling of long lines.
   11847 ac_delim='%!_!# '
   11848 for ac_last_try in false false :; do
   11849   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11850   if test -z "$ac_tt"; then
   11851     break
   11852   elif $ac_last_try; then
   11853     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11854   else
   11855     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11856   fi
   11857 done
   11858 
   11859 # For the awk script, D is an array of macro values keyed by name,
   11860 # likewise P contains macro parameters if any.  Preserve backslash
   11861 # newline sequences.
   11862 
   11863 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11864 sed -n '
   11865 s/.\{148\}/&'"$ac_delim"'/g
   11866 t rset
   11867 :rset
   11868 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11869 t def
   11870 d
   11871 :def
   11872 s/\\$//
   11873 t bsnl
   11874 s/["\\]/\\&/g
   11875 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11876 D["\1"]=" \3"/p
   11877 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11878 d
   11879 :bsnl
   11880 s/["\\]/\\&/g
   11881 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11882 D["\1"]=" \3\\\\\\n"\\/p
   11883 t cont
   11884 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11885 t cont
   11886 d
   11887 :cont
   11888 n
   11889 s/.\{148\}/&'"$ac_delim"'/g
   11890 t clear
   11891 :clear
   11892 s/\\$//
   11893 t bsnlc
   11894 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11895 d
   11896 :bsnlc
   11897 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11898 b cont
   11899 ' <confdefs.h | sed '
   11900 s/'"$ac_delim"'/"\\\
   11901 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11902 
   11903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11904   for (key in D) D_is_set[key] = 1
   11905   FS = ""
   11906 }
   11907 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11908   line = \$ 0
   11909   split(line, arg, " ")
   11910   if (arg[1] == "#") {
   11911     defundef = arg[2]
   11912     mac1 = arg[3]
   11913   } else {
   11914     defundef = substr(arg[1], 2)
   11915     mac1 = arg[2]
   11916   }
   11917   split(mac1, mac2, "(") #)
   11918   macro = mac2[1]
   11919   prefix = substr(line, 1, index(line, defundef) - 1)
   11920   if (D_is_set[macro]) {
   11921     # Preserve the white space surrounding the "#".
   11922     print prefix "define", macro P[macro] D[macro]
   11923     next
   11924   } else {
   11925     # Replace #undef with comments.  This is necessary, for example,
   11926     # in the case of _POSIX_SOURCE, which is predefined and required
   11927     # on some systems where configure will not decide to define it.
   11928     if (defundef == "undef") {
   11929       print "/*", prefix defundef, macro, "*/"
   11930       next
   11931     }
   11932   }
   11933 }
   11934 { print }
   11935 _ACAWK
   11936 _ACEOF
   11937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11938   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11939 fi # test -n "$CONFIG_HEADERS"
   11940 
   11941 
   11942 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11943 shift
   11944 for ac_tag
   11945 do
   11946   case $ac_tag in
   11947   :[FHLC]) ac_mode=$ac_tag; continue;;
   11948   esac
   11949   case $ac_mode$ac_tag in
   11950   :[FHL]*:*);;
   11951   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11952   :[FH]-) ac_tag=-:-;;
   11953   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11954   esac
   11955   ac_save_IFS=$IFS
   11956   IFS=:
   11957   set x $ac_tag
   11958   IFS=$ac_save_IFS
   11959   shift
   11960   ac_file=$1
   11961   shift
   11962 
   11963   case $ac_mode in
   11964   :L) ac_source=$1;;
   11965   :[FH])
   11966     ac_file_inputs=
   11967     for ac_f
   11968     do
   11969       case $ac_f in
   11970       -) ac_f="$ac_tmp/stdin";;
   11971       *) # Look for the file first in the build tree, then in the source tree
   11972 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11973 	 # because $ac_f cannot contain `:'.
   11974 	 test -f "$ac_f" ||
   11975 	   case $ac_f in
   11976 	   [\\/$]*) false;;
   11977 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11978 	   esac ||
   11979 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11980       esac
   11981       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11982       as_fn_append ac_file_inputs " '$ac_f'"
   11983     done
   11984 
   11985     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11986     # use $as_me), people would be surprised to read:
   11987     #    /* config.h.  Generated by config.status.  */
   11988     configure_input='Generated from '`
   11989 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11990 	`' by configure.'
   11991     if test x"$ac_file" != x-; then
   11992       configure_input="$ac_file.  $configure_input"
   11993       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11994 $as_echo "$as_me: creating $ac_file" >&6;}
   11995     fi
   11996     # Neutralize special characters interpreted by sed in replacement strings.
   11997     case $configure_input in #(
   11998     *\&* | *\|* | *\\* )
   11999        ac_sed_conf_input=`$as_echo "$configure_input" |
   12000        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12001     *) ac_sed_conf_input=$configure_input;;
   12002     esac
   12003 
   12004     case $ac_tag in
   12005     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12006       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12007     esac
   12008     ;;
   12009   esac
   12010 
   12011   ac_dir=`$as_dirname -- "$ac_file" ||
   12012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12013 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12014 	 X"$ac_file" : 'X\(//\)$' \| \
   12015 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12016 $as_echo X"$ac_file" |
   12017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12018 	    s//\1/
   12019 	    q
   12020 	  }
   12021 	  /^X\(\/\/\)[^/].*/{
   12022 	    s//\1/
   12023 	    q
   12024 	  }
   12025 	  /^X\(\/\/\)$/{
   12026 	    s//\1/
   12027 	    q
   12028 	  }
   12029 	  /^X\(\/\).*/{
   12030 	    s//\1/
   12031 	    q
   12032 	  }
   12033 	  s/.*/./; q'`
   12034   as_dir="$ac_dir"; as_fn_mkdir_p
   12035   ac_builddir=.
   12036 
   12037 case "$ac_dir" in
   12038 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12039 *)
   12040   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12041   # A ".." for each directory in $ac_dir_suffix.
   12042   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12043   case $ac_top_builddir_sub in
   12044   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12045   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12046   esac ;;
   12047 esac
   12048 ac_abs_top_builddir=$ac_pwd
   12049 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12050 # for backward compatibility:
   12051 ac_top_builddir=$ac_top_build_prefix
   12052 
   12053 case $srcdir in
   12054   .)  # We are building in place.
   12055     ac_srcdir=.
   12056     ac_top_srcdir=$ac_top_builddir_sub
   12057     ac_abs_top_srcdir=$ac_pwd ;;
   12058   [\\/]* | ?:[\\/]* )  # Absolute name.
   12059     ac_srcdir=$srcdir$ac_dir_suffix;
   12060     ac_top_srcdir=$srcdir
   12061     ac_abs_top_srcdir=$srcdir ;;
   12062   *) # Relative name.
   12063     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12064     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12065     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12066 esac
   12067 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12068 
   12069 
   12070   case $ac_mode in
   12071   :F)
   12072   #
   12073   # CONFIG_FILE
   12074   #
   12075 
   12076   case $INSTALL in
   12077   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12078   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12079   esac
   12080   ac_MKDIR_P=$MKDIR_P
   12081   case $MKDIR_P in
   12082   [\\/$]* | ?:[\\/]* ) ;;
   12083   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12084   esac
   12085 _ACEOF
   12086 
   12087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12088 # If the template does not know about datarootdir, expand it.
   12089 # FIXME: This hack should be removed a few years after 2.60.
   12090 ac_datarootdir_hack=; ac_datarootdir_seen=
   12091 ac_sed_dataroot='
   12092 /datarootdir/ {
   12093   p
   12094   q
   12095 }
   12096 /@datadir@/p
   12097 /@docdir@/p
   12098 /@infodir@/p
   12099 /@localedir@/p
   12100 /@mandir@/p'
   12101 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12102 *datarootdir*) ac_datarootdir_seen=yes;;
   12103 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12104   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12105 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12106 _ACEOF
   12107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12108   ac_datarootdir_hack='
   12109   s&@datadir@&$datadir&g
   12110   s&@docdir@&$docdir&g
   12111   s&@infodir@&$infodir&g
   12112   s&@localedir@&$localedir&g
   12113   s&@mandir@&$mandir&g
   12114   s&\\\${datarootdir}&$datarootdir&g' ;;
   12115 esac
   12116 _ACEOF
   12117 
   12118 # Neutralize VPATH when `$srcdir' = `.'.
   12119 # Shell code in configure.ac might set extrasub.
   12120 # FIXME: do we really want to maintain this feature?
   12121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12122 ac_sed_extra="$ac_vpsub
   12123 $extrasub
   12124 _ACEOF
   12125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12126 :t
   12127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12128 s|@configure_input@|$ac_sed_conf_input|;t t
   12129 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12130 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12131 s&@srcdir@&$ac_srcdir&;t t
   12132 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12133 s&@top_srcdir@&$ac_top_srcdir&;t t
   12134 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12135 s&@builddir@&$ac_builddir&;t t
   12136 s&@abs_builddir@&$ac_abs_builddir&;t t
   12137 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12138 s&@INSTALL@&$ac_INSTALL&;t t
   12139 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12140 $ac_datarootdir_hack
   12141 "
   12142 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12143   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12144 
   12145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12146   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12147   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12148       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12149   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12150 which seems to be undefined.  Please make sure it is defined" >&5
   12151 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12152 which seems to be undefined.  Please make sure it is defined" >&2;}
   12153 
   12154   rm -f "$ac_tmp/stdin"
   12155   case $ac_file in
   12156   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12157   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12158   esac \
   12159   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12160  ;;
   12161   :H)
   12162   #
   12163   # CONFIG_HEADER
   12164   #
   12165   if test x"$ac_file" != x-; then
   12166     {
   12167       $as_echo "/* $configure_input  */" \
   12168       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12169     } >"$ac_tmp/config.h" \
   12170       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12171     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12172       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12173 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12174     else
   12175       rm -f "$ac_file"
   12176       mv "$ac_tmp/config.h" "$ac_file" \
   12177 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12178     fi
   12179   else
   12180     $as_echo "/* $configure_input  */" \
   12181       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12182       || as_fn_error $? "could not create -" "$LINENO" 5
   12183   fi
   12184 # Compute "$ac_file"'s index in $config_headers.
   12185 _am_arg="$ac_file"
   12186 _am_stamp_count=1
   12187 for _am_header in $config_headers :; do
   12188   case $_am_header in
   12189     $_am_arg | $_am_arg:* )
   12190       break ;;
   12191     * )
   12192       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12193   esac
   12194 done
   12195 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12196 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12197 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12198 	 X"$_am_arg" : 'X\(//\)$' \| \
   12199 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12200 $as_echo X"$_am_arg" |
   12201     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12202 	    s//\1/
   12203 	    q
   12204 	  }
   12205 	  /^X\(\/\/\)[^/].*/{
   12206 	    s//\1/
   12207 	    q
   12208 	  }
   12209 	  /^X\(\/\/\)$/{
   12210 	    s//\1/
   12211 	    q
   12212 	  }
   12213 	  /^X\(\/\).*/{
   12214 	    s//\1/
   12215 	    q
   12216 	  }
   12217 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12218  ;;
   12219 
   12220   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12221 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12222  ;;
   12223   esac
   12224 
   12225 
   12226   case $ac_file$ac_mode in
   12227     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12228   # Older Autoconf quotes --file arguments for eval, but not when files
   12229   # are listed without --file.  Let's play safe and only enable the eval
   12230   # if we detect the quoting.
   12231   case $CONFIG_FILES in
   12232   *\'*) eval set x "$CONFIG_FILES" ;;
   12233   *)   set x $CONFIG_FILES ;;
   12234   esac
   12235   shift
   12236   for mf
   12237   do
   12238     # Strip MF so we end up with the name of the file.
   12239     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12240     # Check whether this is an Automake generated Makefile or not.
   12241     # We used to match only the files named 'Makefile.in', but
   12242     # some people rename them; so instead we look at the file content.
   12243     # Grep'ing the first line is not enough: some people post-process
   12244     # each Makefile.in and add a new line on top of each file to say so.
   12245     # Grep'ing the whole file is not good either: AIX grep has a line
   12246     # limit of 2048, but all sed's we know have understand at least 4000.
   12247     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12248       dirpart=`$as_dirname -- "$mf" ||
   12249 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12250 	 X"$mf" : 'X\(//\)[^/]' \| \
   12251 	 X"$mf" : 'X\(//\)$' \| \
   12252 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12253 $as_echo X"$mf" |
   12254     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12255 	    s//\1/
   12256 	    q
   12257 	  }
   12258 	  /^X\(\/\/\)[^/].*/{
   12259 	    s//\1/
   12260 	    q
   12261 	  }
   12262 	  /^X\(\/\/\)$/{
   12263 	    s//\1/
   12264 	    q
   12265 	  }
   12266 	  /^X\(\/\).*/{
   12267 	    s//\1/
   12268 	    q
   12269 	  }
   12270 	  s/.*/./; q'`
   12271     else
   12272       continue
   12273     fi
   12274     # Extract the definition of DEPDIR, am__include, and am__quote
   12275     # from the Makefile without running 'make'.
   12276     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12277     test -z "$DEPDIR" && continue
   12278     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12279     test -z "$am__include" && continue
   12280     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12281     # Find all dependency output files, they are included files with
   12282     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12283     # simplest approach to changing $(DEPDIR) to its actual value in the
   12284     # expansion.
   12285     for file in `sed -n "
   12286       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12287 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12288       # Make sure the directory exists.
   12289       test -f "$dirpart/$file" && continue
   12290       fdir=`$as_dirname -- "$file" ||
   12291 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12292 	 X"$file" : 'X\(//\)[^/]' \| \
   12293 	 X"$file" : 'X\(//\)$' \| \
   12294 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12295 $as_echo X"$file" |
   12296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12297 	    s//\1/
   12298 	    q
   12299 	  }
   12300 	  /^X\(\/\/\)[^/].*/{
   12301 	    s//\1/
   12302 	    q
   12303 	  }
   12304 	  /^X\(\/\/\)$/{
   12305 	    s//\1/
   12306 	    q
   12307 	  }
   12308 	  /^X\(\/\).*/{
   12309 	    s//\1/
   12310 	    q
   12311 	  }
   12312 	  s/.*/./; q'`
   12313       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12314       # echo "creating $dirpart/$file"
   12315       echo '# dummy' > "$dirpart/$file"
   12316     done
   12317   done
   12318 }
   12319  ;;
   12320 
   12321   esac
   12322 done # for ac_tag
   12323 
   12324 
   12325 as_fn_exit 0
   12326 _ACEOF
   12327 ac_clean_files=$ac_clean_files_save
   12328 
   12329 test $ac_write_fail = 0 ||
   12330   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12331 
   12332 
   12333 # configure is writing to config.log, and then calls config.status.
   12334 # config.status does its own redirection, appending to config.log.
   12335 # Unfortunately, on DOS this fails, as config.log is still kept open
   12336 # by configure, so config.status won't be able to write to it; its
   12337 # output is simply discarded.  So we exec the FD to /dev/null,
   12338 # effectively closing config.log, so it can be properly (re)opened and
   12339 # appended to by config.status.  When coming back to configure, we
   12340 # need to make the FD available again.
   12341 if test "$no_create" != yes; then
   12342   ac_cs_success=:
   12343   ac_config_status_args=
   12344   test "$silent" = yes &&
   12345     ac_config_status_args="$ac_config_status_args --quiet"
   12346   exec 5>/dev/null
   12347   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12348   exec 5>>config.log
   12349   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12350   # would make configure fail if this is the last instruction.
   12351   $ac_cs_success || as_fn_exit 1
   12352 fi
   12353 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12354   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12355 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12356 fi
   12357 
   12358