Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.13
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xkbcomp 1.4.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues>.
      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://gitlab.freedesktop.org/xorg/app/xkbcomp/issues
    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.4.5'
    585 PACKAGE_STRING='xkbcomp 1.4.5'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues'
    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 XKBCOMP_LIBS
    632 XKBCOMP_CFLAGS
    633 YACC_INST
    634 YFLAGS
    635 YACC
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 EGREP
    668 GREP
    669 CPP
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__include
    678 DEPDIR
    679 OBJEXT
    680 EXEEXT
    681 ac_ct_CC
    682 CPPFLAGS
    683 LDFLAGS
    684 CFLAGS
    685 CC
    686 AM_BACKSLASH
    687 AM_DEFAULT_VERBOSITY
    688 AM_DEFAULT_V
    689 AM_V
    690 am__untar
    691 am__tar
    692 AMTAR
    693 am__leading_dot
    694 SET_MAKE
    695 AWK
    696 mkdir_p
    697 MKDIR_P
    698 INSTALL_STRIP_PROGRAM
    699 STRIP
    700 install_sh
    701 MAKEINFO
    702 AUTOHEADER
    703 AUTOMAKE
    704 AUTOCONF
    705 ACLOCAL
    706 VERSION
    707 PACKAGE
    708 CYGPATH_W
    709 am__isrc
    710 INSTALL_DATA
    711 INSTALL_SCRIPT
    712 INSTALL_PROGRAM
    713 target_alias
    714 host_alias
    715 build_alias
    716 LIBS
    717 ECHO_T
    718 ECHO_N
    719 ECHO_C
    720 DEFS
    721 mandir
    722 localedir
    723 libdir
    724 psdir
    725 pdfdir
    726 dvidir
    727 htmldir
    728 infodir
    729 docdir
    730 oldincludedir
    731 includedir
    732 localstatedir
    733 sharedstatedir
    734 sysconfdir
    735 datadir
    736 datarootdir
    737 libexecdir
    738 sbindir
    739 bindir
    740 program_transform_name
    741 prefix
    742 exec_prefix
    743 PACKAGE_URL
    744 PACKAGE_BUGREPORT
    745 PACKAGE_STRING
    746 PACKAGE_VERSION
    747 PACKAGE_TARNAME
    748 PACKAGE_NAME
    749 PATH_SEPARATOR
    750 SHELL
    751 am__quote'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_silent_rules
    756 enable_dependency_tracking
    757 enable_selective_werror
    758 enable_strict_compilation
    759 with_xkb_config_root
    760 '
    761       ac_precious_vars='build_alias
    762 host_alias
    763 target_alias
    764 CC
    765 CFLAGS
    766 LDFLAGS
    767 LIBS
    768 CPPFLAGS
    769 CPP
    770 PKG_CONFIG
    771 PKG_CONFIG_PATH
    772 PKG_CONFIG_LIBDIR
    773 YACC
    774 YFLAGS
    775 XKBCOMP_CFLAGS
    776 XKBCOMP_LIBS'
    777 
    778 
    779 # Initialize some variables set by options.
    780 ac_init_help=
    781 ac_init_version=false
    782 ac_unrecognized_opts=
    783 ac_unrecognized_sep=
    784 # The variables have the same names as the options, with
    785 # dashes changed to underlines.
    786 cache_file=/dev/null
    787 exec_prefix=NONE
    788 no_create=
    789 no_recursion=
    790 prefix=NONE
    791 program_prefix=NONE
    792 program_suffix=NONE
    793 program_transform_name=s,x,x,
    794 silent=
    795 site=
    796 srcdir=
    797 verbose=
    798 x_includes=NONE
    799 x_libraries=NONE
    800 
    801 # Installation directory options.
    802 # These are left unexpanded so users can "make install exec_prefix=/foo"
    803 # and all the variables that are supposed to be based on exec_prefix
    804 # by default will actually change.
    805 # Use braces instead of parens because sh, perl, etc. also accept them.
    806 # (The list follows the same order as the GNU Coding Standards.)
    807 bindir='${exec_prefix}/bin'
    808 sbindir='${exec_prefix}/sbin'
    809 libexecdir='${exec_prefix}/libexec'
    810 datarootdir='${prefix}/share'
    811 datadir='${datarootdir}'
    812 sysconfdir='${prefix}/etc'
    813 sharedstatedir='${prefix}/com'
    814 localstatedir='${prefix}/var'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   # Accept the important Cygnus configure options, so we can diagnose typos.
    845 
    846   case $ac_dashdash$ac_option in
    847   --)
    848     ac_dashdash=yes ;;
    849 
    850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    851     ac_prev=bindir ;;
    852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    853     bindir=$ac_optarg ;;
    854 
    855   -build | --build | --buil | --bui | --bu)
    856     ac_prev=build_alias ;;
    857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    858     build_alias=$ac_optarg ;;
    859 
    860   -cache-file | --cache-file | --cache-fil | --cache-fi \
    861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    862     ac_prev=cache_file ;;
    863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    865     cache_file=$ac_optarg ;;
    866 
    867   --config-cache | -C)
    868     cache_file=config.cache ;;
    869 
    870   -datadir | --datadir | --datadi | --datad)
    871     ac_prev=datadir ;;
    872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    873     datadir=$ac_optarg ;;
    874 
    875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    876   | --dataroo | --dataro | --datar)
    877     ac_prev=datarootdir ;;
    878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    880     datarootdir=$ac_optarg ;;
    881 
    882   -disable-* | --disable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: $ac_useropt"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=no ;;
    897 
    898   -docdir | --docdir | --docdi | --doc | --do)
    899     ac_prev=docdir ;;
    900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    901     docdir=$ac_optarg ;;
    902 
    903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    904     ac_prev=dvidir ;;
    905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    906     dvidir=$ac_optarg ;;
    907 
    908   -enable-* | --enable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: $ac_useropt"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=\$ac_optarg ;;
    923 
    924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    926   | --exec | --exe | --ex)
    927     ac_prev=exec_prefix ;;
    928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    930   | --exec=* | --exe=* | --ex=*)
    931     exec_prefix=$ac_optarg ;;
    932 
    933   -gas | --gas | --ga | --g)
    934     # Obsolete; use --with-gas.
    935     with_gas=yes ;;
    936 
    937   -help | --help | --hel | --he | -h)
    938     ac_init_help=long ;;
    939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    940     ac_init_help=recursive ;;
    941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    942     ac_init_help=short ;;
    943 
    944   -host | --host | --hos | --ho)
    945     ac_prev=host_alias ;;
    946   -host=* | --host=* | --hos=* | --ho=*)
    947     host_alias=$ac_optarg ;;
    948 
    949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    950     ac_prev=htmldir ;;
    951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    952   | --ht=*)
    953     htmldir=$ac_optarg ;;
    954 
    955   -includedir | --includedir | --includedi | --included | --include \
    956   | --includ | --inclu | --incl | --inc)
    957     ac_prev=includedir ;;
    958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    959   | --includ=* | --inclu=* | --incl=* | --inc=*)
    960     includedir=$ac_optarg ;;
    961 
    962   -infodir | --infodir | --infodi | --infod | --info | --inf)
    963     ac_prev=infodir ;;
    964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    965     infodir=$ac_optarg ;;
    966 
    967   -libdir | --libdir | --libdi | --libd)
    968     ac_prev=libdir ;;
    969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    970     libdir=$ac_optarg ;;
    971 
    972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    973   | --libexe | --libex | --libe)
    974     ac_prev=libexecdir ;;
    975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    976   | --libexe=* | --libex=* | --libe=*)
    977     libexecdir=$ac_optarg ;;
    978 
    979   -localedir | --localedir | --localedi | --localed | --locale)
    980     ac_prev=localedir ;;
    981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    982     localedir=$ac_optarg ;;
    983 
    984   -localstatedir | --localstatedir | --localstatedi | --localstated \
    985   | --localstate | --localstat | --localsta | --localst | --locals)
    986     ac_prev=localstatedir ;;
    987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    989     localstatedir=$ac_optarg ;;
    990 
    991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    992     ac_prev=mandir ;;
    993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    994     mandir=$ac_optarg ;;
    995 
    996   -nfp | --nfp | --nf)
    997     # Obsolete; use --without-fp.
    998     with_fp=no ;;
    999 
   1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1001   | --no-cr | --no-c | -n)
   1002     no_create=yes ;;
   1003 
   1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1006     no_recursion=yes ;;
   1007 
   1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1010   | --oldin | --oldi | --old | --ol | --o)
   1011     ac_prev=oldincludedir ;;
   1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1015     oldincludedir=$ac_optarg ;;
   1016 
   1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1018     ac_prev=prefix ;;
   1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1020     prefix=$ac_optarg ;;
   1021 
   1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1023   | --program-pre | --program-pr | --program-p)
   1024     ac_prev=program_prefix ;;
   1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1027     program_prefix=$ac_optarg ;;
   1028 
   1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1030   | --program-suf | --program-su | --program-s)
   1031     ac_prev=program_suffix ;;
   1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1034     program_suffix=$ac_optarg ;;
   1035 
   1036   -program-transform-name | --program-transform-name \
   1037   | --program-transform-nam | --program-transform-na \
   1038   | --program-transform-n | --program-transform- \
   1039   | --program-transform | --program-transfor \
   1040   | --program-transfo | --program-transf \
   1041   | --program-trans | --program-tran \
   1042   | --progr-tra | --program-tr | --program-t)
   1043     ac_prev=program_transform_name ;;
   1044   -program-transform-name=* | --program-transform-name=* \
   1045   | --program-transform-nam=* | --program-transform-na=* \
   1046   | --program-transform-n=* | --program-transform-=* \
   1047   | --program-transform=* | --program-transfor=* \
   1048   | --program-transfo=* | --program-transf=* \
   1049   | --program-trans=* | --program-tran=* \
   1050   | --progr-tra=* | --program-tr=* | --program-t=*)
   1051     program_transform_name=$ac_optarg ;;
   1052 
   1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1054     ac_prev=pdfdir ;;
   1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1056     pdfdir=$ac_optarg ;;
   1057 
   1058   -psdir | --psdir | --psdi | --psd | --ps)
   1059     ac_prev=psdir ;;
   1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1061     psdir=$ac_optarg ;;
   1062 
   1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1064   | -silent | --silent | --silen | --sile | --sil)
   1065     silent=yes ;;
   1066 
   1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1068     ac_prev=sbindir ;;
   1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1070   | --sbi=* | --sb=*)
   1071     sbindir=$ac_optarg ;;
   1072 
   1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1075   | --sharedst | --shareds | --shared | --share | --shar \
   1076   | --sha | --sh)
   1077     ac_prev=sharedstatedir ;;
   1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1081   | --sha=* | --sh=*)
   1082     sharedstatedir=$ac_optarg ;;
   1083 
   1084   -site | --site | --sit)
   1085     ac_prev=site ;;
   1086   -site=* | --site=* | --sit=*)
   1087     site=$ac_optarg ;;
   1088 
   1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1090     ac_prev=srcdir ;;
   1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1092     srcdir=$ac_optarg ;;
   1093 
   1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1095   | --syscon | --sysco | --sysc | --sys | --sy)
   1096     ac_prev=sysconfdir ;;
   1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1099     sysconfdir=$ac_optarg ;;
   1100 
   1101   -target | --target | --targe | --targ | --tar | --ta | --t)
   1102     ac_prev=target_alias ;;
   1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1104     target_alias=$ac_optarg ;;
   1105 
   1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1107     verbose=yes ;;
   1108 
   1109   -version | --version | --versio | --versi | --vers | -V)
   1110     ac_init_version=: ;;
   1111 
   1112   -with-* | --with-*)
   1113     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1114     # Reject names that are not valid shell variable names.
   1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1116       as_fn_error $? "invalid package name: $ac_useropt"
   1117     ac_useropt_orig=$ac_useropt
   1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1119     case $ac_user_opts in
   1120       *"
   1121 "with_$ac_useropt"
   1122 "*) ;;
   1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1124 	 ac_unrecognized_sep=', ';;
   1125     esac
   1126     eval with_$ac_useropt=\$ac_optarg ;;
   1127 
   1128   -without-* | --without-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=no ;;
   1143 
   1144   --x)
   1145     # Obsolete; use --with-x.
   1146     with_x=yes ;;
   1147 
   1148   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1149   | --x-incl | --x-inc | --x-in | --x-i)
   1150     ac_prev=x_includes ;;
   1151   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1152   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1153     x_includes=$ac_optarg ;;
   1154 
   1155   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1156   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1157     ac_prev=x_libraries ;;
   1158   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1159   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1160     x_libraries=$ac_optarg ;;
   1161 
   1162   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1163 Try \`$0 --help' for more information"
   1164     ;;
   1165 
   1166   *=*)
   1167     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1168     # Reject names that are not valid shell variable names.
   1169     case $ac_envvar in #(
   1170       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1171       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1172     esac
   1173     eval $ac_envvar=\$ac_optarg
   1174     export $ac_envvar ;;
   1175 
   1176   *)
   1177     # FIXME: should be removed in autoconf 3.0.
   1178     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1179     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1180       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1181     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1182     ;;
   1183 
   1184   esac
   1185 done
   1186 
   1187 if test -n "$ac_prev"; then
   1188   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1189   as_fn_error $? "missing argument to $ac_option"
   1190 fi
   1191 
   1192 if test -n "$ac_unrecognized_opts"; then
   1193   case $enable_option_checking in
   1194     no) ;;
   1195     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1196     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1197   esac
   1198 fi
   1199 
   1200 # Check all directory arguments for consistency.
   1201 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1202 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1203 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1204 		libdir localedir mandir
   1205 do
   1206   eval ac_val=\$$ac_var
   1207   # Remove trailing slashes.
   1208   case $ac_val in
   1209     */ )
   1210       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1211       eval $ac_var=\$ac_val;;
   1212   esac
   1213   # Be sure to have absolute directory names.
   1214   case $ac_val in
   1215     [\\/$]* | ?:[\\/]* )  continue;;
   1216     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1217   esac
   1218   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1219 done
   1220 
   1221 # There might be people who depend on the old broken behavior: `$host'
   1222 # used to hold the argument of --host etc.
   1223 # FIXME: To remove some day.
   1224 build=$build_alias
   1225 host=$host_alias
   1226 target=$target_alias
   1227 
   1228 # FIXME: To remove some day.
   1229 if test "x$host_alias" != x; then
   1230   if test "x$build_alias" = x; then
   1231     cross_compiling=maybe
   1232   elif test "x$build_alias" != "x$host_alias"; then
   1233     cross_compiling=yes
   1234   fi
   1235 fi
   1236 
   1237 ac_tool_prefix=
   1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1239 
   1240 test "$silent" = yes && exec 6>/dev/null
   1241 
   1242 
   1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1244 ac_ls_di=`ls -di .` &&
   1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1246   as_fn_error $? "working directory cannot be determined"
   1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1248   as_fn_error $? "pwd does not report name of working directory"
   1249 
   1250 
   1251 # Find the source files, if location was not specified.
   1252 if test -z "$srcdir"; then
   1253   ac_srcdir_defaulted=yes
   1254   # Try the directory containing this script, then the parent directory.
   1255   ac_confdir=`$as_dirname -- "$as_myself" ||
   1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1257 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1258 	 X"$as_myself" : 'X\(//\)$' \| \
   1259 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1260 $as_echo X"$as_myself" |
   1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)[^/].*/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\/\)$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\).*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  s/.*/./; q'`
   1278   srcdir=$ac_confdir
   1279   if test ! -r "$srcdir/$ac_unique_file"; then
   1280     srcdir=..
   1281   fi
   1282 else
   1283   ac_srcdir_defaulted=no
   1284 fi
   1285 if test ! -r "$srcdir/$ac_unique_file"; then
   1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1287   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1288 fi
   1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1290 ac_abs_confdir=`(
   1291 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1292 	pwd)`
   1293 # When building in place, set srcdir=.
   1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1295   srcdir=.
   1296 fi
   1297 # Remove unnecessary trailing slashes from srcdir.
   1298 # Double slashes in file names in object file debugging info
   1299 # mess up M-x gdb in Emacs.
   1300 case $srcdir in
   1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1302 esac
   1303 for ac_var in $ac_precious_vars; do
   1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_env_${ac_var}_value=\$${ac_var}
   1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1308 done
   1309 
   1310 #
   1311 # Report the --help message.
   1312 #
   1313 if test "$ac_init_help" = "long"; then
   1314   # Omit some internal or obsolete options to make the list less imposing.
   1315   # This message is too long to be a string in the A/UX 3.1 sh.
   1316   cat <<_ACEOF
   1317 \`configure' configures xkbcomp 1.4.5 to adapt to many kinds of systems.
   1318 
   1319 Usage: $0 [OPTION]... [VAR=VALUE]...
   1320 
   1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1323 
   1324 Defaults for the options are specified in brackets.
   1325 
   1326 Configuration:
   1327   -h, --help              display this help and exit
   1328       --help=short        display options specific to this package
   1329       --help=recursive    display the short help of all the included packages
   1330   -V, --version           display version information and exit
   1331   -q, --quiet, --silent   do not print \`checking ...' messages
   1332       --cache-file=FILE   cache test results in FILE [disabled]
   1333   -C, --config-cache      alias for \`--cache-file=config.cache'
   1334   -n, --no-create         do not create output files
   1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1336 
   1337 Installation directories:
   1338   --prefix=PREFIX         install architecture-independent files in PREFIX
   1339                           [$ac_default_prefix]
   1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1341                           [PREFIX]
   1342 
   1343 By default, \`make install' will install all the files in
   1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1346 for instance \`--prefix=\$HOME'.
   1347 
   1348 For better control, use the options below.
   1349 
   1350 Fine tuning of the installation directories:
   1351   --bindir=DIR            user executables [EPREFIX/bin]
   1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1357   --libdir=DIR            object code libraries [EPREFIX/lib]
   1358   --includedir=DIR        C header files [PREFIX/include]
   1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1365   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbcomp]
   1366   --htmldir=DIR           html documentation [DOCDIR]
   1367   --dvidir=DIR            dvi documentation [DOCDIR]
   1368   --pdfdir=DIR            pdf documentation [DOCDIR]
   1369   --psdir=DIR             ps documentation [DOCDIR]
   1370 _ACEOF
   1371 
   1372   cat <<\_ACEOF
   1373 
   1374 Program names:
   1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1378 
   1379 System types:
   1380   --build=BUILD     configure for building on BUILD [guessed]
   1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1382 _ACEOF
   1383 fi
   1384 
   1385 if test -n "$ac_init_help"; then
   1386   case $ac_init_help in
   1387      short | recursive ) echo "Configuration of xkbcomp 1.4.5:";;
   1388    esac
   1389   cat <<\_ACEOF
   1390 
   1391 Optional Features:
   1392   --disable-option-checking  ignore unrecognized --enable/--with options
   1393   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1394   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1395   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1396   --disable-silent-rules  verbose build output (undo: "make V=0")
   1397   --enable-dependency-tracking
   1398                           do not reject slow dependency extractors
   1399   --disable-dependency-tracking
   1400                           speeds up one-time build
   1401   --disable-selective-werror
   1402                           Turn off selective compiler errors. (default:
   1403                           enabled)
   1404   --enable-strict-compilation
   1405                           Enable all warnings from compiler and make them
   1406                           errors (default: disabled)
   1407 
   1408 Optional Packages:
   1409   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1410   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1411   --with-xkb-config-root=<paths>
   1412                           Set default XKB config root (default:
   1413                           ${datadir}/X11/xkb)
   1414 
   1415 Some influential environment variables:
   1416   CC          C compiler command
   1417   CFLAGS      C compiler flags
   1418   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1419               nonstandard directory <lib dir>
   1420   LIBS        libraries to pass to the linker, e.g. -l<library>
   1421   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1422               you have headers in a nonstandard directory <include dir>
   1423   CPP         C preprocessor
   1424   PKG_CONFIG  path to pkg-config utility
   1425   PKG_CONFIG_PATH
   1426               directories to add to pkg-config's search path
   1427   PKG_CONFIG_LIBDIR
   1428               path overriding pkg-config's built-in search path
   1429   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1430               Defaults to the first program found out of: `bison -y', `byacc',
   1431               `yacc'.
   1432   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1433               This script will default YFLAGS to the empty string to avoid a
   1434               default value of `-d' given by some make applications.
   1435   XKBCOMP_CFLAGS
   1436               C compiler flags for XKBCOMP, overriding pkg-config
   1437   XKBCOMP_LIBS
   1438               linker flags for XKBCOMP, overriding pkg-config
   1439 
   1440 Use these variables to override the choices made by `configure' or to help
   1441 it to find libraries and programs with nonstandard names/locations.
   1442 
   1443 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues>.
   1444 _ACEOF
   1445 ac_status=$?
   1446 fi
   1447 
   1448 if test "$ac_init_help" = "recursive"; then
   1449   # If there are subdirs, report their specific --help.
   1450   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1451     test -d "$ac_dir" ||
   1452       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1453       continue
   1454     ac_builddir=.
   1455 
   1456 case "$ac_dir" in
   1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458 *)
   1459   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1460   # A ".." for each directory in $ac_dir_suffix.
   1461   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1462   case $ac_top_builddir_sub in
   1463   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1464   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1465   esac ;;
   1466 esac
   1467 ac_abs_top_builddir=$ac_pwd
   1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1469 # for backward compatibility:
   1470 ac_top_builddir=$ac_top_build_prefix
   1471 
   1472 case $srcdir in
   1473   .)  # We are building in place.
   1474     ac_srcdir=.
   1475     ac_top_srcdir=$ac_top_builddir_sub
   1476     ac_abs_top_srcdir=$ac_pwd ;;
   1477   [\\/]* | ?:[\\/]* )  # Absolute name.
   1478     ac_srcdir=$srcdir$ac_dir_suffix;
   1479     ac_top_srcdir=$srcdir
   1480     ac_abs_top_srcdir=$srcdir ;;
   1481   *) # Relative name.
   1482     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1483     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1484     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1485 esac
   1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1487 
   1488     cd "$ac_dir" || { ac_status=$?; continue; }
   1489     # Check for guested configure.
   1490     if test -f "$ac_srcdir/configure.gnu"; then
   1491       echo &&
   1492       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1493     elif test -f "$ac_srcdir/configure"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure" --help=recursive
   1496     else
   1497       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1498     fi || ac_status=$?
   1499     cd "$ac_pwd" || { ac_status=$?; break; }
   1500   done
   1501 fi
   1502 
   1503 test -n "$ac_init_help" && exit $ac_status
   1504 if $ac_init_version; then
   1505   cat <<\_ACEOF
   1506 xkbcomp configure 1.4.5
   1507 generated by GNU Autoconf 2.69
   1508 
   1509 Copyright (C) 2012 Free Software Foundation, Inc.
   1510 This configure script is free software; the Free Software Foundation
   1511 gives unlimited permission to copy, distribute and modify it.
   1512 _ACEOF
   1513   exit
   1514 fi
   1515 
   1516 ## ------------------------ ##
   1517 ## Autoconf initialization. ##
   1518 ## ------------------------ ##
   1519 
   1520 # ac_fn_c_try_compile LINENO
   1521 # --------------------------
   1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1523 ac_fn_c_try_compile ()
   1524 {
   1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1526   rm -f conftest.$ac_objext
   1527   if { { ac_try="$ac_compile"
   1528 case "(($ac_try" in
   1529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1530   *) ac_try_echo=$ac_try;;
   1531 esac
   1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1533 $as_echo "$ac_try_echo"; } >&5
   1534   (eval "$ac_compile") 2>conftest.err
   1535   ac_status=$?
   1536   if test -s conftest.err; then
   1537     grep -v '^ *+' conftest.err >conftest.er1
   1538     cat conftest.er1 >&5
   1539     mv -f conftest.er1 conftest.err
   1540   fi
   1541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1542   test $ac_status = 0; } && {
   1543 	 test -z "$ac_c_werror_flag" ||
   1544 	 test ! -s conftest.err
   1545        } && test -s conftest.$ac_objext; then :
   1546   ac_retval=0
   1547 else
   1548   $as_echo "$as_me: failed program was:" >&5
   1549 sed 's/^/| /' conftest.$ac_ext >&5
   1550 
   1551 	ac_retval=1
   1552 fi
   1553   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1554   as_fn_set_status $ac_retval
   1555 
   1556 } # ac_fn_c_try_compile
   1557 
   1558 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1559 # ---------------------------------------------
   1560 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1561 # accordingly.
   1562 ac_fn_c_check_decl ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1566   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1568 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1569 if eval \${$3+:} false; then :
   1570   $as_echo_n "(cached) " >&6
   1571 else
   1572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1573 /* end confdefs.h.  */
   1574 $4
   1575 int
   1576 main ()
   1577 {
   1578 #ifndef $as_decl_name
   1579 #ifdef __cplusplus
   1580   (void) $as_decl_use;
   1581 #else
   1582   (void) $as_decl_name;
   1583 #endif
   1584 #endif
   1585 
   1586   ;
   1587   return 0;
   1588 }
   1589 _ACEOF
   1590 if ac_fn_c_try_compile "$LINENO"; then :
   1591   eval "$3=yes"
   1592 else
   1593   eval "$3=no"
   1594 fi
   1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1596 fi
   1597 eval ac_res=\$$3
   1598 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1599 $as_echo "$ac_res" >&6; }
   1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1601 
   1602 } # ac_fn_c_check_decl
   1603 
   1604 # ac_fn_c_try_cpp LINENO
   1605 # ----------------------
   1606 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1607 ac_fn_c_try_cpp ()
   1608 {
   1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1610   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1611 case "(($ac_try" in
   1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1613   *) ac_try_echo=$ac_try;;
   1614 esac
   1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1616 $as_echo "$ac_try_echo"; } >&5
   1617   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1618   ac_status=$?
   1619   if test -s conftest.err; then
   1620     grep -v '^ *+' conftest.err >conftest.er1
   1621     cat conftest.er1 >&5
   1622     mv -f conftest.er1 conftest.err
   1623   fi
   1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1625   test $ac_status = 0; } > conftest.i && {
   1626 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1627 	 test ! -s conftest.err
   1628        }; then :
   1629   ac_retval=0
   1630 else
   1631   $as_echo "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634     ac_retval=1
   1635 fi
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_cpp
   1640 
   1641 # ac_fn_c_try_run LINENO
   1642 # ----------------------
   1643 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1644 # that executables *can* be run.
   1645 ac_fn_c_try_run ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   if { { ac_try="$ac_link"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 $as_echo "$ac_try_echo"; } >&5
   1655   (eval "$ac_link") 2>&5
   1656   ac_status=$?
   1657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1658   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1659   { { case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 $as_echo "$ac_try_echo"; } >&5
   1665   (eval "$ac_try") 2>&5
   1666   ac_status=$?
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; }; }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: program exited with status $ac_status" >&5
   1672        $as_echo "$as_me: failed program was:" >&5
   1673 sed 's/^/| /' conftest.$ac_ext >&5
   1674 
   1675        ac_retval=$ac_status
   1676 fi
   1677   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_run
   1682 
   1683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1684 # -------------------------------------------------------
   1685 # Tests whether HEADER exists and can be compiled using the include files in
   1686 # INCLUDES, setting the cache variable VAR accordingly.
   1687 ac_fn_c_check_header_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if eval \${$3+:} false; then :
   1693   $as_echo_n "(cached) " >&6
   1694 else
   1695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"; then :
   1701   eval "$3=yes"
   1702 else
   1703   eval "$3=no"
   1704 fi
   1705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1706 fi
   1707 eval ac_res=\$$3
   1708 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1709 $as_echo "$ac_res" >&6; }
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711 
   1712 } # ac_fn_c_check_header_compile
   1713 
   1714 # ac_fn_c_try_link LINENO
   1715 # -----------------------
   1716 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1717 ac_fn_c_try_link ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   rm -f conftest.$ac_objext conftest$ac_exeext
   1721   if { { ac_try="$ac_link"
   1722 case "(($ac_try" in
   1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1724   *) ac_try_echo=$ac_try;;
   1725 esac
   1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1727 $as_echo "$ac_try_echo"; } >&5
   1728   (eval "$ac_link") 2>conftest.err
   1729   ac_status=$?
   1730   if test -s conftest.err; then
   1731     grep -v '^ *+' conftest.err >conftest.er1
   1732     cat conftest.er1 >&5
   1733     mv -f conftest.er1 conftest.err
   1734   fi
   1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1736   test $ac_status = 0; } && {
   1737 	 test -z "$ac_c_werror_flag" ||
   1738 	 test ! -s conftest.err
   1739        } && test -s conftest$ac_exeext && {
   1740 	 test "$cross_compiling" = yes ||
   1741 	 test -x conftest$ac_exeext
   1742        }; then :
   1743   ac_retval=0
   1744 else
   1745   $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748 	ac_retval=1
   1749 fi
   1750   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1751   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1752   # interfere with the next link command; also delete a directory that is
   1753   # left behind by Apple's compiler.  We do this before executing the actions.
   1754   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_link
   1759 
   1760 # ac_fn_c_check_func LINENO FUNC VAR
   1761 # ----------------------------------
   1762 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1763 ac_fn_c_check_func ()
   1764 {
   1765   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1767 $as_echo_n "checking for $2... " >&6; }
   1768 if eval \${$3+:} false; then :
   1769   $as_echo_n "(cached) " >&6
   1770 else
   1771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1772 /* end confdefs.h.  */
   1773 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1775 #define $2 innocuous_$2
   1776 
   1777 /* System header to define __stub macros and hopefully few prototypes,
   1778     which can conflict with char $2 (); below.
   1779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1780     <limits.h> exists even on freestanding compilers.  */
   1781 
   1782 #ifdef __STDC__
   1783 # include <limits.h>
   1784 #else
   1785 # include <assert.h>
   1786 #endif
   1787 
   1788 #undef $2
   1789 
   1790 /* Override any GCC internal prototype to avoid an error.
   1791    Use char because int might match the return type of a GCC
   1792    builtin and then its argument prototype would still apply.  */
   1793 #ifdef __cplusplus
   1794 extern "C"
   1795 #endif
   1796 char $2 ();
   1797 /* The GNU C library defines this for functions which it implements
   1798     to always fail with ENOSYS.  Some functions are actually named
   1799     something starting with __ and the normal name is an alias.  */
   1800 #if defined __stub_$2 || defined __stub___$2
   1801 choke me
   1802 #endif
   1803 
   1804 int
   1805 main ()
   1806 {
   1807 return $2 ();
   1808   ;
   1809   return 0;
   1810 }
   1811 _ACEOF
   1812 if ac_fn_c_try_link "$LINENO"; then :
   1813   eval "$3=yes"
   1814 else
   1815   eval "$3=no"
   1816 fi
   1817 rm -f core conftest.err conftest.$ac_objext \
   1818     conftest$ac_exeext conftest.$ac_ext
   1819 fi
   1820 eval ac_res=\$$3
   1821 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1822 $as_echo "$ac_res" >&6; }
   1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1824 
   1825 } # ac_fn_c_check_func
   1826 cat >config.log <<_ACEOF
   1827 This file contains any messages produced by compilers while
   1828 running configure, to aid debugging if configure makes a mistake.
   1829 
   1830 It was created by xkbcomp $as_me 1.4.5, which was
   1831 generated by GNU Autoconf 2.69.  Invocation command line was
   1832 
   1833   $ $0 $@
   1834 
   1835 _ACEOF
   1836 exec 5>>config.log
   1837 {
   1838 cat <<_ASUNAME
   1839 ## --------- ##
   1840 ## Platform. ##
   1841 ## --------- ##
   1842 
   1843 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1844 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1845 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1846 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1847 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1848 
   1849 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1850 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1851 
   1852 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1853 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1854 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1855 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1856 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1857 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1858 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1859 
   1860 _ASUNAME
   1861 
   1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1863 for as_dir in $PATH
   1864 do
   1865   IFS=$as_save_IFS
   1866   test -z "$as_dir" && as_dir=.
   1867     $as_echo "PATH: $as_dir"
   1868   done
   1869 IFS=$as_save_IFS
   1870 
   1871 } >&5
   1872 
   1873 cat >&5 <<_ACEOF
   1874 
   1875 
   1876 ## ----------- ##
   1877 ## Core tests. ##
   1878 ## ----------- ##
   1879 
   1880 _ACEOF
   1881 
   1882 
   1883 # Keep a trace of the command line.
   1884 # Strip out --no-create and --no-recursion so they do not pile up.
   1885 # Strip out --silent because we don't want to record it for future runs.
   1886 # Also quote any args containing shell meta-characters.
   1887 # Make two passes to allow for proper duplicate-argument suppression.
   1888 ac_configure_args=
   1889 ac_configure_args0=
   1890 ac_configure_args1=
   1891 ac_must_keep_next=false
   1892 for ac_pass in 1 2
   1893 do
   1894   for ac_arg
   1895   do
   1896     case $ac_arg in
   1897     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1898     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1899     | -silent | --silent | --silen | --sile | --sil)
   1900       continue ;;
   1901     *\'*)
   1902       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1903     esac
   1904     case $ac_pass in
   1905     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1906     2)
   1907       as_fn_append ac_configure_args1 " '$ac_arg'"
   1908       if test $ac_must_keep_next = true; then
   1909 	ac_must_keep_next=false # Got value, back to normal.
   1910       else
   1911 	case $ac_arg in
   1912 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1913 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1914 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1915 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1916 	    case "$ac_configure_args0 " in
   1917 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1918 	    esac
   1919 	    ;;
   1920 	  -* ) ac_must_keep_next=true ;;
   1921 	esac
   1922       fi
   1923       as_fn_append ac_configure_args " '$ac_arg'"
   1924       ;;
   1925     esac
   1926   done
   1927 done
   1928 { ac_configure_args0=; unset ac_configure_args0;}
   1929 { ac_configure_args1=; unset ac_configure_args1;}
   1930 
   1931 # When interrupted or exit'd, cleanup temporary files, and complete
   1932 # config.log.  We remove comments because anyway the quotes in there
   1933 # would cause problems or look ugly.
   1934 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1935 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1936 trap 'exit_status=$?
   1937   # Save into config.log some information that might help in debugging.
   1938   {
   1939     echo
   1940 
   1941     $as_echo "## ---------------- ##
   1942 ## Cache variables. ##
   1943 ## ---------------- ##"
   1944     echo
   1945     # The following way of writing the cache mishandles newlines in values,
   1946 (
   1947   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1948     eval ac_val=\$$ac_var
   1949     case $ac_val in #(
   1950     *${as_nl}*)
   1951       case $ac_var in #(
   1952       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1954       esac
   1955       case $ac_var in #(
   1956       _ | IFS | as_nl) ;; #(
   1957       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1958       *) { eval $ac_var=; unset $ac_var;} ;;
   1959       esac ;;
   1960     esac
   1961   done
   1962   (set) 2>&1 |
   1963     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1964     *${as_nl}ac_space=\ *)
   1965       sed -n \
   1966 	"s/'\''/'\''\\\\'\'''\''/g;
   1967 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1968       ;; #(
   1969     *)
   1970       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1971       ;;
   1972     esac |
   1973     sort
   1974 )
   1975     echo
   1976 
   1977     $as_echo "## ----------------- ##
   1978 ## Output variables. ##
   1979 ## ----------------- ##"
   1980     echo
   1981     for ac_var in $ac_subst_vars
   1982     do
   1983       eval ac_val=\$$ac_var
   1984       case $ac_val in
   1985       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1986       esac
   1987       $as_echo "$ac_var='\''$ac_val'\''"
   1988     done | sort
   1989     echo
   1990 
   1991     if test -n "$ac_subst_files"; then
   1992       $as_echo "## ------------------- ##
   1993 ## File substitutions. ##
   1994 ## ------------------- ##"
   1995       echo
   1996       for ac_var in $ac_subst_files
   1997       do
   1998 	eval ac_val=\$$ac_var
   1999 	case $ac_val in
   2000 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2001 	esac
   2002 	$as_echo "$ac_var='\''$ac_val'\''"
   2003       done | sort
   2004       echo
   2005     fi
   2006 
   2007     if test -s confdefs.h; then
   2008       $as_echo "## ----------- ##
   2009 ## confdefs.h. ##
   2010 ## ----------- ##"
   2011       echo
   2012       cat confdefs.h
   2013       echo
   2014     fi
   2015     test "$ac_signal" != 0 &&
   2016       $as_echo "$as_me: caught signal $ac_signal"
   2017     $as_echo "$as_me: exit $exit_status"
   2018   } >&5
   2019   rm -f core *.core core.conftest.* &&
   2020     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2021     exit $exit_status
   2022 ' 0
   2023 for ac_signal in 1 2 13 15; do
   2024   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2025 done
   2026 ac_signal=0
   2027 
   2028 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2029 rm -f -r conftest* confdefs.h
   2030 
   2031 $as_echo "/* confdefs.h */" > confdefs.h
   2032 
   2033 # Predefined preprocessor variables.
   2034 
   2035 cat >>confdefs.h <<_ACEOF
   2036 #define PACKAGE_NAME "$PACKAGE_NAME"
   2037 _ACEOF
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_STRING "$PACKAGE_STRING"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_URL "$PACKAGE_URL"
   2057 _ACEOF
   2058 
   2059 
   2060 # Let the site file select an alternate cache file if it wants to.
   2061 # Prefer an explicitly selected file to automatically selected ones.
   2062 ac_site_file1=NONE
   2063 ac_site_file2=NONE
   2064 if test -n "$CONFIG_SITE"; then
   2065   # We do not want a PATH search for config.site.
   2066   case $CONFIG_SITE in #((
   2067     -*)  ac_site_file1=./$CONFIG_SITE;;
   2068     */*) ac_site_file1=$CONFIG_SITE;;
   2069     *)   ac_site_file1=./$CONFIG_SITE;;
   2070   esac
   2071 elif test "x$prefix" != xNONE; then
   2072   ac_site_file1=$prefix/share/config.site
   2073   ac_site_file2=$prefix/etc/config.site
   2074 else
   2075   ac_site_file1=$ac_default_prefix/share/config.site
   2076   ac_site_file2=$ac_default_prefix/etc/config.site
   2077 fi
   2078 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2079 do
   2080   test "x$ac_site_file" = xNONE && continue
   2081   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2082     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2083 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2084     sed 's/^/| /' "$ac_site_file" >&5
   2085     . "$ac_site_file" \
   2086       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2088 as_fn_error $? "failed to load site script $ac_site_file
   2089 See \`config.log' for more details" "$LINENO" 5; }
   2090   fi
   2091 done
   2092 
   2093 if test -r "$cache_file"; then
   2094   # Some versions of bash will fail to source /dev/null (special files
   2095   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2096   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2097     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2098 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2099     case $cache_file in
   2100       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2101       *)                      . "./$cache_file";;
   2102     esac
   2103   fi
   2104 else
   2105   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2106 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2107   >$cache_file
   2108 fi
   2109 
   2110 # Check that the precious variables saved in the cache have kept the same
   2111 # value.
   2112 ac_cache_corrupted=false
   2113 for ac_var in $ac_precious_vars; do
   2114   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2115   eval ac_new_set=\$ac_env_${ac_var}_set
   2116   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2117   eval ac_new_val=\$ac_env_${ac_var}_value
   2118   case $ac_old_set,$ac_new_set in
   2119     set,)
   2120       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2121 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2122       ac_cache_corrupted=: ;;
   2123     ,set)
   2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2125 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2126       ac_cache_corrupted=: ;;
   2127     ,);;
   2128     *)
   2129       if test "x$ac_old_val" != "x$ac_new_val"; then
   2130 	# differences in whitespace do not lead to failure.
   2131 	ac_old_val_w=`echo x $ac_old_val`
   2132 	ac_new_val_w=`echo x $ac_new_val`
   2133 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2134 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2135 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2136 	  ac_cache_corrupted=:
   2137 	else
   2138 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2139 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2140 	  eval $ac_var=\$ac_old_val
   2141 	fi
   2142 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2143 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2144 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2145 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2146       fi;;
   2147   esac
   2148   # Pass precious variables to config.status.
   2149   if test "$ac_new_set" = set; then
   2150     case $ac_new_val in
   2151     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2152     *) ac_arg=$ac_var=$ac_new_val ;;
   2153     esac
   2154     case " $ac_configure_args " in
   2155       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2156       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2157     esac
   2158   fi
   2159 done
   2160 if $ac_cache_corrupted; then
   2161   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2163   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2164 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2165   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2166 fi
   2167 ## -------------------- ##
   2168 ## Main body of script. ##
   2169 ## -------------------- ##
   2170 
   2171 ac_ext=c
   2172 ac_cpp='$CPP $CPPFLAGS'
   2173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2176 
   2177 
   2178 
   2179 ac_config_headers="$ac_config_headers config.h"
   2180 
   2181 
   2182 # Initialize Automake
   2183 am__api_version='1.16'
   2184 
   2185 ac_aux_dir=
   2186 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2187   if test -f "$ac_dir/install-sh"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/install-sh -c"
   2190     break
   2191   elif test -f "$ac_dir/install.sh"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/install.sh -c"
   2194     break
   2195   elif test -f "$ac_dir/shtool"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/shtool install -c"
   2198     break
   2199   fi
   2200 done
   2201 if test -z "$ac_aux_dir"; then
   2202   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2203 fi
   2204 
   2205 # These three variables are undocumented and unsupported,
   2206 # and are intended to be withdrawn in a future Autoconf release.
   2207 # They can cause serious problems if a builder's source tree is in a directory
   2208 # whose full name contains unusual characters.
   2209 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2210 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2211 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2212 
   2213 
   2214 # Find a good install program.  We prefer a C program (faster),
   2215 # so one script is as good as another.  But avoid the broken or
   2216 # incompatible versions:
   2217 # SysV /etc/install, /usr/sbin/install
   2218 # SunOS /usr/etc/install
   2219 # IRIX /sbin/install
   2220 # AIX /bin/install
   2221 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2222 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2223 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2224 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2225 # OS/2's system install, which has a completely different semantic
   2226 # ./install, which can be erroneously created by make from ./install.sh.
   2227 # Reject install programs that cannot install multiple files.
   2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2229 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2230 if test -z "$INSTALL"; then
   2231 if ${ac_cv_path_install+:} false; then :
   2232   $as_echo_n "(cached) " >&6
   2233 else
   2234   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2235 for as_dir in $PATH
   2236 do
   2237   IFS=$as_save_IFS
   2238   test -z "$as_dir" && as_dir=.
   2239     # Account for people who put trailing slashes in PATH elements.
   2240 case $as_dir/ in #((
   2241   ./ | .// | /[cC]/* | \
   2242   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2243   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2244   /usr/ucb/* ) ;;
   2245   *)
   2246     # OSF1 and SCO ODT 3.0 have their own names for install.
   2247     # Don't use installbsd from OSF since it installs stuff as root
   2248     # by default.
   2249     for ac_prog in ginstall scoinst install; do
   2250       for ac_exec_ext in '' $ac_executable_extensions; do
   2251 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2252 	  if test $ac_prog = install &&
   2253 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2254 	    # AIX install.  It has an incompatible calling convention.
   2255 	    :
   2256 	  elif test $ac_prog = install &&
   2257 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2258 	    # program-specific install script used by HP pwplus--don't use.
   2259 	    :
   2260 	  else
   2261 	    rm -rf conftest.one conftest.two conftest.dir
   2262 	    echo one > conftest.one
   2263 	    echo two > conftest.two
   2264 	    mkdir conftest.dir
   2265 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2266 	      test -s conftest.one && test -s conftest.two &&
   2267 	      test -s conftest.dir/conftest.one &&
   2268 	      test -s conftest.dir/conftest.two
   2269 	    then
   2270 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2271 	      break 3
   2272 	    fi
   2273 	  fi
   2274 	fi
   2275       done
   2276     done
   2277     ;;
   2278 esac
   2279 
   2280   done
   2281 IFS=$as_save_IFS
   2282 
   2283 rm -rf conftest.one conftest.two conftest.dir
   2284 
   2285 fi
   2286   if test "${ac_cv_path_install+set}" = set; then
   2287     INSTALL=$ac_cv_path_install
   2288   else
   2289     # As a last resort, use the slow shell script.  Don't cache a
   2290     # value for INSTALL within a source directory, because that will
   2291     # break other packages using the cache if that directory is
   2292     # removed, or if the value is a relative name.
   2293     INSTALL=$ac_install_sh
   2294   fi
   2295 fi
   2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2297 $as_echo "$INSTALL" >&6; }
   2298 
   2299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2300 # It thinks the first close brace ends the variable substitution.
   2301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2302 
   2303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2304 
   2305 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2306 
   2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2308 $as_echo_n "checking whether build environment is sane... " >&6; }
   2309 # Reject unsafe characters in $srcdir or the absolute working directory
   2310 # name.  Accept space and tab only in the latter.
   2311 am_lf='
   2312 '
   2313 case `pwd` in
   2314   *[\\\"\#\$\&\'\`$am_lf]*)
   2315     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2316 esac
   2317 case $srcdir in
   2318   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2319     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2320 esac
   2321 
   2322 # Do 'set' in a subshell so we don't clobber the current shell's
   2323 # arguments.  Must try -L first in case configure is actually a
   2324 # symlink; some systems play weird games with the mod time of symlinks
   2325 # (eg FreeBSD returns the mod time of the symlink's containing
   2326 # directory).
   2327 if (
   2328    am_has_slept=no
   2329    for am_try in 1 2; do
   2330      echo "timestamp, slept: $am_has_slept" > conftest.file
   2331      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2332      if test "$*" = "X"; then
   2333 	# -L didn't work.
   2334 	set X `ls -t "$srcdir/configure" conftest.file`
   2335      fi
   2336      if test "$*" != "X $srcdir/configure conftest.file" \
   2337 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2338 
   2339 	# If neither matched, then we have a broken ls.  This can happen
   2340 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2341 	# broken ls alias from the environment.  This has actually
   2342 	# happened.  Such a system could not be considered "sane".
   2343 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2344   alias in your environment" "$LINENO" 5
   2345      fi
   2346      if test "$2" = conftest.file || test $am_try -eq 2; then
   2347        break
   2348      fi
   2349      # Just in case.
   2350      sleep 1
   2351      am_has_slept=yes
   2352    done
   2353    test "$2" = conftest.file
   2354    )
   2355 then
   2356    # Ok.
   2357    :
   2358 else
   2359    as_fn_error $? "newly created file is older than distributed files!
   2360 Check your system clock" "$LINENO" 5
   2361 fi
   2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2363 $as_echo "yes" >&6; }
   2364 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2365 # generated files are strictly newer.
   2366 am_sleep_pid=
   2367 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2368   ( sleep 1 ) &
   2369   am_sleep_pid=$!
   2370 fi
   2371 
   2372 rm -f conftest.file
   2373 
   2374 test "$program_prefix" != NONE &&
   2375   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2376 # Use a double $ so make ignores it.
   2377 test "$program_suffix" != NONE &&
   2378   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2379 # Double any \ or $.
   2380 # By default was `s,x,x', remove it if useless.
   2381 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2382 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2383 
   2384 # Expand $ac_aux_dir to an absolute path.
   2385 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2386 
   2387 if test x"${MISSING+set}" != xset; then
   2388   case $am_aux_dir in
   2389   *\ * | *\	*)
   2390     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2391   *)
   2392     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2393   esac
   2394 fi
   2395 # Use eval to expand $SHELL
   2396 if eval "$MISSING --is-lightweight"; then
   2397   am_missing_run="$MISSING "
   2398 else
   2399   am_missing_run=
   2400   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2401 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2402 fi
   2403 
   2404 if test x"${install_sh+set}" != xset; then
   2405   case $am_aux_dir in
   2406   *\ * | *\	*)
   2407     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2408   *)
   2409     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2410   esac
   2411 fi
   2412 
   2413 # Installed binaries are usually stripped using 'strip' when the user
   2414 # run "make install-strip".  However 'strip' might not be the right
   2415 # tool to use in cross-compilation environments, therefore Automake
   2416 # will honor the 'STRIP' environment variable to overrule this program.
   2417 if test "$cross_compiling" != no; then
   2418   if test -n "$ac_tool_prefix"; then
   2419   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2420 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2422 $as_echo_n "checking for $ac_word... " >&6; }
   2423 if ${ac_cv_prog_STRIP+:} false; then :
   2424   $as_echo_n "(cached) " >&6
   2425 else
   2426   if test -n "$STRIP"; then
   2427   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2428 else
   2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2430 for as_dir in $PATH
   2431 do
   2432   IFS=$as_save_IFS
   2433   test -z "$as_dir" && as_dir=.
   2434     for ac_exec_ext in '' $ac_executable_extensions; do
   2435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2436     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2438     break 2
   2439   fi
   2440 done
   2441   done
   2442 IFS=$as_save_IFS
   2443 
   2444 fi
   2445 fi
   2446 STRIP=$ac_cv_prog_STRIP
   2447 if test -n "$STRIP"; then
   2448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2449 $as_echo "$STRIP" >&6; }
   2450 else
   2451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2452 $as_echo "no" >&6; }
   2453 fi
   2454 
   2455 
   2456 fi
   2457 if test -z "$ac_cv_prog_STRIP"; then
   2458   ac_ct_STRIP=$STRIP
   2459   # Extract the first word of "strip", so it can be a program name with args.
   2460 set dummy strip; ac_word=$2
   2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2462 $as_echo_n "checking for $ac_word... " >&6; }
   2463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2464   $as_echo_n "(cached) " >&6
   2465 else
   2466   if test -n "$ac_ct_STRIP"; then
   2467   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2468 else
   2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2470 for as_dir in $PATH
   2471 do
   2472   IFS=$as_save_IFS
   2473   test -z "$as_dir" && as_dir=.
   2474     for ac_exec_ext in '' $ac_executable_extensions; do
   2475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2476     ac_cv_prog_ac_ct_STRIP="strip"
   2477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2478     break 2
   2479   fi
   2480 done
   2481   done
   2482 IFS=$as_save_IFS
   2483 
   2484 fi
   2485 fi
   2486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2487 if test -n "$ac_ct_STRIP"; then
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2489 $as_echo "$ac_ct_STRIP" >&6; }
   2490 else
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2492 $as_echo "no" >&6; }
   2493 fi
   2494 
   2495   if test "x$ac_ct_STRIP" = x; then
   2496     STRIP=":"
   2497   else
   2498     case $cross_compiling:$ac_tool_warned in
   2499 yes:)
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2502 ac_tool_warned=yes ;;
   2503 esac
   2504     STRIP=$ac_ct_STRIP
   2505   fi
   2506 else
   2507   STRIP="$ac_cv_prog_STRIP"
   2508 fi
   2509 
   2510 fi
   2511 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2512 
   2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2514 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2515 if test -z "$MKDIR_P"; then
   2516   if ${ac_cv_path_mkdir+:} false; then :
   2517   $as_echo_n "(cached) " >&6
   2518 else
   2519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2520 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2521 do
   2522   IFS=$as_save_IFS
   2523   test -z "$as_dir" && as_dir=.
   2524     for ac_prog in mkdir gmkdir; do
   2525 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2526 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2527 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2528 	     'mkdir (GNU coreutils) '* | \
   2529 	     'mkdir (coreutils) '* | \
   2530 	     'mkdir (fileutils) '4.1*)
   2531 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2532 	       break 3;;
   2533 	   esac
   2534 	 done
   2535        done
   2536   done
   2537 IFS=$as_save_IFS
   2538 
   2539 fi
   2540 
   2541   test -d ./--version && rmdir ./--version
   2542   if test "${ac_cv_path_mkdir+set}" = set; then
   2543     MKDIR_P="$ac_cv_path_mkdir -p"
   2544   else
   2545     # As a last resort, use the slow shell script.  Don't cache a
   2546     # value for MKDIR_P within a source directory, because that will
   2547     # break other packages using the cache if that directory is
   2548     # removed, or if the value is a relative name.
   2549     MKDIR_P="$ac_install_sh -d"
   2550   fi
   2551 fi
   2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2553 $as_echo "$MKDIR_P" >&6; }
   2554 
   2555 for ac_prog in gawk mawk nawk awk
   2556 do
   2557   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2558 set dummy $ac_prog; ac_word=$2
   2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2560 $as_echo_n "checking for $ac_word... " >&6; }
   2561 if ${ac_cv_prog_AWK+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   if test -n "$AWK"; then
   2565   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2566 else
   2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2568 for as_dir in $PATH
   2569 do
   2570   IFS=$as_save_IFS
   2571   test -z "$as_dir" && as_dir=.
   2572     for ac_exec_ext in '' $ac_executable_extensions; do
   2573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2574     ac_cv_prog_AWK="$ac_prog"
   2575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2576     break 2
   2577   fi
   2578 done
   2579   done
   2580 IFS=$as_save_IFS
   2581 
   2582 fi
   2583 fi
   2584 AWK=$ac_cv_prog_AWK
   2585 if test -n "$AWK"; then
   2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2587 $as_echo "$AWK" >&6; }
   2588 else
   2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2590 $as_echo "no" >&6; }
   2591 fi
   2592 
   2593 
   2594   test -n "$AWK" && break
   2595 done
   2596 
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2598 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2599 set x ${MAKE-make}
   2600 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2601 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2602   $as_echo_n "(cached) " >&6
   2603 else
   2604   cat >conftest.make <<\_ACEOF
   2605 SHELL = /bin/sh
   2606 all:
   2607 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2608 _ACEOF
   2609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2611   *@@@%%%=?*=@@@%%%*)
   2612     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2613   *)
   2614     eval ac_cv_prog_make_${ac_make}_set=no;;
   2615 esac
   2616 rm -f conftest.make
   2617 fi
   2618 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2620 $as_echo "yes" >&6; }
   2621   SET_MAKE=
   2622 else
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2624 $as_echo "no" >&6; }
   2625   SET_MAKE="MAKE=${MAKE-make}"
   2626 fi
   2627 
   2628 rm -rf .tst 2>/dev/null
   2629 mkdir .tst 2>/dev/null
   2630 if test -d .tst; then
   2631   am__leading_dot=.
   2632 else
   2633   am__leading_dot=_
   2634 fi
   2635 rmdir .tst 2>/dev/null
   2636 
   2637 # Check whether --enable-silent-rules was given.
   2638 if test "${enable_silent_rules+set}" = set; then :
   2639   enableval=$enable_silent_rules;
   2640 fi
   2641 
   2642 case $enable_silent_rules in # (((
   2643   yes) AM_DEFAULT_VERBOSITY=0;;
   2644    no) AM_DEFAULT_VERBOSITY=1;;
   2645     *) AM_DEFAULT_VERBOSITY=1;;
   2646 esac
   2647 am_make=${MAKE-make}
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2649 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2650 if ${am_cv_make_support_nested_variables+:} false; then :
   2651   $as_echo_n "(cached) " >&6
   2652 else
   2653   if $as_echo 'TRUE=$(BAR$(V))
   2654 BAR0=false
   2655 BAR1=true
   2656 V=1
   2657 am__doit:
   2658 	@$(TRUE)
   2659 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2660   am_cv_make_support_nested_variables=yes
   2661 else
   2662   am_cv_make_support_nested_variables=no
   2663 fi
   2664 fi
   2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2666 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2667 if test $am_cv_make_support_nested_variables = yes; then
   2668     AM_V='$(V)'
   2669   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2670 else
   2671   AM_V=$AM_DEFAULT_VERBOSITY
   2672   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2673 fi
   2674 AM_BACKSLASH='\'
   2675 
   2676 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2677   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2678   # is not polluted with repeated "-I."
   2679   am__isrc=' -I$(srcdir)'
   2680   # test to see if srcdir already configured
   2681   if test -f $srcdir/config.status; then
   2682     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2683   fi
   2684 fi
   2685 
   2686 # test whether we have cygpath
   2687 if test -z "$CYGPATH_W"; then
   2688   if (cygpath --version) >/dev/null 2>/dev/null; then
   2689     CYGPATH_W='cygpath -w'
   2690   else
   2691     CYGPATH_W=echo
   2692   fi
   2693 fi
   2694 
   2695 
   2696 # Define the identity of the package.
   2697  PACKAGE='xkbcomp'
   2698  VERSION='1.4.5'
   2699 
   2700 
   2701 cat >>confdefs.h <<_ACEOF
   2702 #define PACKAGE "$PACKAGE"
   2703 _ACEOF
   2704 
   2705 
   2706 cat >>confdefs.h <<_ACEOF
   2707 #define VERSION "$VERSION"
   2708 _ACEOF
   2709 
   2710 # Some tools Automake needs.
   2711 
   2712 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2713 
   2714 
   2715 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2716 
   2717 
   2718 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2719 
   2720 
   2721 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2722 
   2723 
   2724 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2725 
   2726 # For better backward compatibility.  To be removed once Automake 1.9.x
   2727 # dies out for good.  For more background, see:
   2728 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2729 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2730 mkdir_p='$(MKDIR_P)'
   2731 
   2732 # We need awk for the "check" target (and possibly the TAP driver).  The
   2733 # system "awk" is bad on some platforms.
   2734 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2735 # in the wild :-(  We should find a proper way to deprecate it ...
   2736 AMTAR='$${TAR-tar}'
   2737 
   2738 
   2739 # We'll loop over all known methods to create a tar archive until one works.
   2740 _am_tools='gnutar  pax cpio none'
   2741 
   2742 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2743 
   2744 
   2745 
   2746 
   2747 
   2748 
   2749 # POSIX will say in a future version that running "rm -f" with no argument
   2750 # is OK; and we want to be able to make that assumption in our Makefile
   2751 # recipes.  So use an aggressive probe to check that the usage we want is
   2752 # actually supported "in the wild" to an acceptable degree.
   2753 # See automake bug#10828.
   2754 # To make any issue more visible, cause the running configure to be aborted
   2755 # by default if the 'rm' program in use doesn't match our expectations; the
   2756 # user can still override this though.
   2757 if rm -f && rm -fr && rm -rf; then : OK; else
   2758   cat >&2 <<'END'
   2759 Oops!
   2760 
   2761 Your 'rm' program seems unable to run without file operands specified
   2762 on the command line, even when the '-f' option is present.  This is contrary
   2763 to the behaviour of most rm programs out there, and not conforming with
   2764 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2765 
   2766 Please tell bug-automake@gnu.org about your system, including the value
   2767 of your $PATH and any error possibly output before this message.  This
   2768 can help us improve future automake versions.
   2769 
   2770 END
   2771   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2772     echo 'Configuration will proceed anyway, since you have set the' >&2
   2773     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2774     echo >&2
   2775   else
   2776     cat >&2 <<'END'
   2777 Aborting the configuration process, to ensure you take notice of the issue.
   2778 
   2779 You can download and install GNU coreutils to get an 'rm' implementation
   2780 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2781 
   2782 If you want to complete the configuration process using your problematic
   2783 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2784 to "yes", and re-run configure.
   2785 
   2786 END
   2787     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2788   fi
   2789 fi
   2790 
   2791 
   2792 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 DEPDIR="${am__leading_dot}deps"
   2805 
   2806 ac_config_commands="$ac_config_commands depfiles"
   2807 
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2809 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2810 cat > confinc.mk << 'END'
   2811 am__doit:
   2812 	@echo this is the am__doit target >confinc.out
   2813 .PHONY: am__doit
   2814 END
   2815 am__include="#"
   2816 am__quote=
   2817 # BSD make does it like this.
   2818 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2819 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2820 echo 'include confinc.mk # ignored' > confmf.GNU
   2821 _am_result=no
   2822 for s in GNU BSD; do
   2823   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2824    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2825    ac_status=$?
   2826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2827    (exit $ac_status); }
   2828   case $?:`cat confinc.out 2>/dev/null` in #(
   2829   '0:this is the am__doit target') :
   2830     case $s in #(
   2831   BSD) :
   2832     am__include='.include' am__quote='"' ;; #(
   2833   *) :
   2834     am__include='include' am__quote='' ;;
   2835 esac ;; #(
   2836   *) :
   2837      ;;
   2838 esac
   2839   if test "$am__include" != "#"; then
   2840     _am_result="yes ($s style)"
   2841     break
   2842   fi
   2843 done
   2844 rm -f confinc.* confmf.*
   2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2846 $as_echo "${_am_result}" >&6; }
   2847 
   2848 # Check whether --enable-dependency-tracking was given.
   2849 if test "${enable_dependency_tracking+set}" = set; then :
   2850   enableval=$enable_dependency_tracking;
   2851 fi
   2852 
   2853 if test "x$enable_dependency_tracking" != xno; then
   2854   am_depcomp="$ac_aux_dir/depcomp"
   2855   AMDEPBACKSLASH='\'
   2856   am__nodep='_no'
   2857 fi
   2858  if test "x$enable_dependency_tracking" != xno; then
   2859   AMDEP_TRUE=
   2860   AMDEP_FALSE='#'
   2861 else
   2862   AMDEP_TRUE='#'
   2863   AMDEP_FALSE=
   2864 fi
   2865 
   2866 
   2867 ac_ext=c
   2868 ac_cpp='$CPP $CPPFLAGS'
   2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2872 if test -n "$ac_tool_prefix"; then
   2873   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2874 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2876 $as_echo_n "checking for $ac_word... " >&6; }
   2877 if ${ac_cv_prog_CC+:} false; then :
   2878   $as_echo_n "(cached) " >&6
   2879 else
   2880   if test -n "$CC"; then
   2881   ac_cv_prog_CC="$CC" # Let the user override the test.
   2882 else
   2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2884 for as_dir in $PATH
   2885 do
   2886   IFS=$as_save_IFS
   2887   test -z "$as_dir" && as_dir=.
   2888     for ac_exec_ext in '' $ac_executable_extensions; do
   2889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2890     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2892     break 2
   2893   fi
   2894 done
   2895   done
   2896 IFS=$as_save_IFS
   2897 
   2898 fi
   2899 fi
   2900 CC=$ac_cv_prog_CC
   2901 if test -n "$CC"; then
   2902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2903 $as_echo "$CC" >&6; }
   2904 else
   2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2906 $as_echo "no" >&6; }
   2907 fi
   2908 
   2909 
   2910 fi
   2911 if test -z "$ac_cv_prog_CC"; then
   2912   ac_ct_CC=$CC
   2913   # Extract the first word of "gcc", so it can be a program name with args.
   2914 set dummy gcc; ac_word=$2
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2916 $as_echo_n "checking for $ac_word... " >&6; }
   2917 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2918   $as_echo_n "(cached) " >&6
   2919 else
   2920   if test -n "$ac_ct_CC"; then
   2921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2922 else
   2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2924 for as_dir in $PATH
   2925 do
   2926   IFS=$as_save_IFS
   2927   test -z "$as_dir" && as_dir=.
   2928     for ac_exec_ext in '' $ac_executable_extensions; do
   2929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2930     ac_cv_prog_ac_ct_CC="gcc"
   2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2932     break 2
   2933   fi
   2934 done
   2935   done
   2936 IFS=$as_save_IFS
   2937 
   2938 fi
   2939 fi
   2940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2941 if test -n "$ac_ct_CC"; then
   2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2943 $as_echo "$ac_ct_CC" >&6; }
   2944 else
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2946 $as_echo "no" >&6; }
   2947 fi
   2948 
   2949   if test "x$ac_ct_CC" = x; then
   2950     CC=""
   2951   else
   2952     case $cross_compiling:$ac_tool_warned in
   2953 yes:)
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2956 ac_tool_warned=yes ;;
   2957 esac
   2958     CC=$ac_ct_CC
   2959   fi
   2960 else
   2961   CC="$ac_cv_prog_CC"
   2962 fi
   2963 
   2964 if test -z "$CC"; then
   2965           if test -n "$ac_tool_prefix"; then
   2966     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2967 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2969 $as_echo_n "checking for $ac_word... " >&6; }
   2970 if ${ac_cv_prog_CC+:} false; then :
   2971   $as_echo_n "(cached) " >&6
   2972 else
   2973   if test -n "$CC"; then
   2974   ac_cv_prog_CC="$CC" # Let the user override the test.
   2975 else
   2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2977 for as_dir in $PATH
   2978 do
   2979   IFS=$as_save_IFS
   2980   test -z "$as_dir" && as_dir=.
   2981     for ac_exec_ext in '' $ac_executable_extensions; do
   2982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2983     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2985     break 2
   2986   fi
   2987 done
   2988   done
   2989 IFS=$as_save_IFS
   2990 
   2991 fi
   2992 fi
   2993 CC=$ac_cv_prog_CC
   2994 if test -n "$CC"; then
   2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2996 $as_echo "$CC" >&6; }
   2997 else
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2999 $as_echo "no" >&6; }
   3000 fi
   3001 
   3002 
   3003   fi
   3004 fi
   3005 if test -z "$CC"; then
   3006   # Extract the first word of "cc", so it can be a program name with args.
   3007 set dummy cc; ac_word=$2
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3009 $as_echo_n "checking for $ac_word... " >&6; }
   3010 if ${ac_cv_prog_CC+:} false; then :
   3011   $as_echo_n "(cached) " >&6
   3012 else
   3013   if test -n "$CC"; then
   3014   ac_cv_prog_CC="$CC" # Let the user override the test.
   3015 else
   3016   ac_prog_rejected=no
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022     for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3024     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3025        ac_prog_rejected=yes
   3026        continue
   3027      fi
   3028     ac_cv_prog_CC="cc"
   3029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3030     break 2
   3031   fi
   3032 done
   3033   done
   3034 IFS=$as_save_IFS
   3035 
   3036 if test $ac_prog_rejected = yes; then
   3037   # We found a bogon in the path, so make sure we never use it.
   3038   set dummy $ac_cv_prog_CC
   3039   shift
   3040   if test $# != 0; then
   3041     # We chose a different compiler from the bogus one.
   3042     # However, it has the same basename, so the bogon will be chosen
   3043     # first if we set CC to just the basename; use the full file name.
   3044     shift
   3045     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3046   fi
   3047 fi
   3048 fi
   3049 fi
   3050 CC=$ac_cv_prog_CC
   3051 if test -n "$CC"; then
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3053 $as_echo "$CC" >&6; }
   3054 else
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 $as_echo "no" >&6; }
   3057 fi
   3058 
   3059 
   3060 fi
   3061 if test -z "$CC"; then
   3062   if test -n "$ac_tool_prefix"; then
   3063   for ac_prog in cl.exe
   3064   do
   3065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3068 $as_echo_n "checking for $ac_word... " >&6; }
   3069 if ${ac_cv_prog_CC+:} false; then :
   3070   $as_echo_n "(cached) " >&6
   3071 else
   3072   if test -n "$CC"; then
   3073   ac_cv_prog_CC="$CC" # Let the user override the test.
   3074 else
   3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3076 for as_dir in $PATH
   3077 do
   3078   IFS=$as_save_IFS
   3079   test -z "$as_dir" && as_dir=.
   3080     for ac_exec_ext in '' $ac_executable_extensions; do
   3081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3082     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3084     break 2
   3085   fi
   3086 done
   3087   done
   3088 IFS=$as_save_IFS
   3089 
   3090 fi
   3091 fi
   3092 CC=$ac_cv_prog_CC
   3093 if test -n "$CC"; then
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3095 $as_echo "$CC" >&6; }
   3096 else
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3098 $as_echo "no" >&6; }
   3099 fi
   3100 
   3101 
   3102     test -n "$CC" && break
   3103   done
   3104 fi
   3105 if test -z "$CC"; then
   3106   ac_ct_CC=$CC
   3107   for ac_prog in cl.exe
   3108 do
   3109   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3110 set dummy $ac_prog; ac_word=$2
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3112 $as_echo_n "checking for $ac_word... " >&6; }
   3113 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3114   $as_echo_n "(cached) " >&6
   3115 else
   3116   if test -n "$ac_ct_CC"; then
   3117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3118 else
   3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3120 for as_dir in $PATH
   3121 do
   3122   IFS=$as_save_IFS
   3123   test -z "$as_dir" && as_dir=.
   3124     for ac_exec_ext in '' $ac_executable_extensions; do
   3125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3126     ac_cv_prog_ac_ct_CC="$ac_prog"
   3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3128     break 2
   3129   fi
   3130 done
   3131   done
   3132 IFS=$as_save_IFS
   3133 
   3134 fi
   3135 fi
   3136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3137 if test -n "$ac_ct_CC"; then
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3139 $as_echo "$ac_ct_CC" >&6; }
   3140 else
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3142 $as_echo "no" >&6; }
   3143 fi
   3144 
   3145 
   3146   test -n "$ac_ct_CC" && break
   3147 done
   3148 
   3149   if test "x$ac_ct_CC" = x; then
   3150     CC=""
   3151   else
   3152     case $cross_compiling:$ac_tool_warned in
   3153 yes:)
   3154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3156 ac_tool_warned=yes ;;
   3157 esac
   3158     CC=$ac_ct_CC
   3159   fi
   3160 fi
   3161 
   3162 fi
   3163 
   3164 
   3165 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3167 as_fn_error $? "no acceptable C compiler found in \$PATH
   3168 See \`config.log' for more details" "$LINENO" 5; }
   3169 
   3170 # Provide some information about the compiler.
   3171 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3172 set X $ac_compile
   3173 ac_compiler=$2
   3174 for ac_option in --version -v -V -qversion; do
   3175   { { ac_try="$ac_compiler $ac_option >&5"
   3176 case "(($ac_try" in
   3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3178   *) ac_try_echo=$ac_try;;
   3179 esac
   3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3181 $as_echo "$ac_try_echo"; } >&5
   3182   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3183   ac_status=$?
   3184   if test -s conftest.err; then
   3185     sed '10a\
   3186 ... rest of stderr output deleted ...
   3187          10q' conftest.err >conftest.er1
   3188     cat conftest.er1 >&5
   3189   fi
   3190   rm -f conftest.er1 conftest.err
   3191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3192   test $ac_status = 0; }
   3193 done
   3194 
   3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3196 /* end confdefs.h.  */
   3197 
   3198 int
   3199 main ()
   3200 {
   3201 
   3202   ;
   3203   return 0;
   3204 }
   3205 _ACEOF
   3206 ac_clean_files_save=$ac_clean_files
   3207 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3208 # Try to create an executable without -o first, disregard a.out.
   3209 # It will help us diagnose broken compilers, and finding out an intuition
   3210 # of exeext.
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3212 $as_echo_n "checking whether the C compiler works... " >&6; }
   3213 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3214 
   3215 # The possible output files:
   3216 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3217 
   3218 ac_rmfiles=
   3219 for ac_file in $ac_files
   3220 do
   3221   case $ac_file in
   3222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3223     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3224   esac
   3225 done
   3226 rm -f $ac_rmfiles
   3227 
   3228 if { { ac_try="$ac_link_default"
   3229 case "(($ac_try" in
   3230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3231   *) ac_try_echo=$ac_try;;
   3232 esac
   3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3234 $as_echo "$ac_try_echo"; } >&5
   3235   (eval "$ac_link_default") 2>&5
   3236   ac_status=$?
   3237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3238   test $ac_status = 0; }; then :
   3239   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3240 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3241 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3242 # so that the user can short-circuit this test for compilers unknown to
   3243 # Autoconf.
   3244 for ac_file in $ac_files ''
   3245 do
   3246   test -f "$ac_file" || continue
   3247   case $ac_file in
   3248     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3249 	;;
   3250     [ab].out )
   3251 	# We found the default executable, but exeext='' is most
   3252 	# certainly right.
   3253 	break;;
   3254     *.* )
   3255 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3256 	then :; else
   3257 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3258 	fi
   3259 	# We set ac_cv_exeext here because the later test for it is not
   3260 	# safe: cross compilers may not add the suffix if given an `-o'
   3261 	# argument, so we may need to know it at that point already.
   3262 	# Even if this section looks crufty: it has the advantage of
   3263 	# actually working.
   3264 	break;;
   3265     * )
   3266 	break;;
   3267   esac
   3268 done
   3269 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3270 
   3271 else
   3272   ac_file=''
   3273 fi
   3274 if test -z "$ac_file"; then :
   3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3276 $as_echo "no" >&6; }
   3277 $as_echo "$as_me: failed program was:" >&5
   3278 sed 's/^/| /' conftest.$ac_ext >&5
   3279 
   3280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3282 as_fn_error 77 "C compiler cannot create executables
   3283 See \`config.log' for more details" "$LINENO" 5; }
   3284 else
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3286 $as_echo "yes" >&6; }
   3287 fi
   3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3289 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3291 $as_echo "$ac_file" >&6; }
   3292 ac_exeext=$ac_cv_exeext
   3293 
   3294 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3295 ac_clean_files=$ac_clean_files_save
   3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3297 $as_echo_n "checking for suffix of executables... " >&6; }
   3298 if { { ac_try="$ac_link"
   3299 case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3304 $as_echo "$ac_try_echo"; } >&5
   3305   (eval "$ac_link") 2>&5
   3306   ac_status=$?
   3307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3308   test $ac_status = 0; }; then :
   3309   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3310 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3311 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3312 # `rm'.
   3313 for ac_file in conftest.exe conftest conftest.*; do
   3314   test -f "$ac_file" || continue
   3315   case $ac_file in
   3316     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3317     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3318 	  break;;
   3319     * ) break;;
   3320   esac
   3321 done
   3322 else
   3323   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3325 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3326 See \`config.log' for more details" "$LINENO" 5; }
   3327 fi
   3328 rm -f conftest conftest$ac_cv_exeext
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3330 $as_echo "$ac_cv_exeext" >&6; }
   3331 
   3332 rm -f conftest.$ac_ext
   3333 EXEEXT=$ac_cv_exeext
   3334 ac_exeext=$EXEEXT
   3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3336 /* end confdefs.h.  */
   3337 #include <stdio.h>
   3338 int
   3339 main ()
   3340 {
   3341 FILE *f = fopen ("conftest.out", "w");
   3342  return ferror (f) || fclose (f) != 0;
   3343 
   3344   ;
   3345   return 0;
   3346 }
   3347 _ACEOF
   3348 ac_clean_files="$ac_clean_files conftest.out"
   3349 # Check that the compiler produces executables we can run.  If not, either
   3350 # the compiler is broken, or we cross compile.
   3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3352 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3353 if test "$cross_compiling" != yes; then
   3354   { { ac_try="$ac_link"
   3355 case "(($ac_try" in
   3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3357   *) ac_try_echo=$ac_try;;
   3358 esac
   3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3360 $as_echo "$ac_try_echo"; } >&5
   3361   (eval "$ac_link") 2>&5
   3362   ac_status=$?
   3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3364   test $ac_status = 0; }
   3365   if { ac_try='./conftest$ac_cv_exeext'
   3366   { { case "(($ac_try" in
   3367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3368   *) ac_try_echo=$ac_try;;
   3369 esac
   3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3371 $as_echo "$ac_try_echo"; } >&5
   3372   (eval "$ac_try") 2>&5
   3373   ac_status=$?
   3374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3375   test $ac_status = 0; }; }; then
   3376     cross_compiling=no
   3377   else
   3378     if test "$cross_compiling" = maybe; then
   3379 	cross_compiling=yes
   3380     else
   3381 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3383 as_fn_error $? "cannot run C compiled programs.
   3384 If you meant to cross compile, use \`--host'.
   3385 See \`config.log' for more details" "$LINENO" 5; }
   3386     fi
   3387   fi
   3388 fi
   3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3390 $as_echo "$cross_compiling" >&6; }
   3391 
   3392 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3393 ac_clean_files=$ac_clean_files_save
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3395 $as_echo_n "checking for suffix of object files... " >&6; }
   3396 if ${ac_cv_objext+:} false; then :
   3397   $as_echo_n "(cached) " >&6
   3398 else
   3399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 
   3402 int
   3403 main ()
   3404 {
   3405 
   3406   ;
   3407   return 0;
   3408 }
   3409 _ACEOF
   3410 rm -f conftest.o conftest.obj
   3411 if { { ac_try="$ac_compile"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_compile") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }; then :
   3422   for ac_file in conftest.o conftest.obj conftest.*; do
   3423   test -f "$ac_file" || continue;
   3424   case $ac_file in
   3425     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3426     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3427        break;;
   3428   esac
   3429 done
   3430 else
   3431   $as_echo "$as_me: failed program was:" >&5
   3432 sed 's/^/| /' conftest.$ac_ext >&5
   3433 
   3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3436 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3437 See \`config.log' for more details" "$LINENO" 5; }
   3438 fi
   3439 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3440 fi
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3442 $as_echo "$ac_cv_objext" >&6; }
   3443 OBJEXT=$ac_cv_objext
   3444 ac_objext=$OBJEXT
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3446 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3447 if ${ac_cv_c_compiler_gnu+:} false; then :
   3448   $as_echo_n "(cached) " >&6
   3449 else
   3450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3451 /* end confdefs.h.  */
   3452 
   3453 int
   3454 main ()
   3455 {
   3456 #ifndef __GNUC__
   3457        choke me
   3458 #endif
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 if ac_fn_c_try_compile "$LINENO"; then :
   3465   ac_compiler_gnu=yes
   3466 else
   3467   ac_compiler_gnu=no
   3468 fi
   3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3471 
   3472 fi
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3474 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3475 if test $ac_compiler_gnu = yes; then
   3476   GCC=yes
   3477 else
   3478   GCC=
   3479 fi
   3480 ac_test_CFLAGS=${CFLAGS+set}
   3481 ac_save_CFLAGS=$CFLAGS
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3483 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3484 if ${ac_cv_prog_cc_g+:} false; then :
   3485   $as_echo_n "(cached) " >&6
   3486 else
   3487   ac_save_c_werror_flag=$ac_c_werror_flag
   3488    ac_c_werror_flag=yes
   3489    ac_cv_prog_cc_g=no
   3490    CFLAGS="-g"
   3491    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3492 /* end confdefs.h.  */
   3493 
   3494 int
   3495 main ()
   3496 {
   3497 
   3498   ;
   3499   return 0;
   3500 }
   3501 _ACEOF
   3502 if ac_fn_c_try_compile "$LINENO"; then :
   3503   ac_cv_prog_cc_g=yes
   3504 else
   3505   CFLAGS=""
   3506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3507 /* end confdefs.h.  */
   3508 
   3509 int
   3510 main ()
   3511 {
   3512 
   3513   ;
   3514   return 0;
   3515 }
   3516 _ACEOF
   3517 if ac_fn_c_try_compile "$LINENO"; then :
   3518 
   3519 else
   3520   ac_c_werror_flag=$ac_save_c_werror_flag
   3521 	 CFLAGS="-g"
   3522 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3523 /* end confdefs.h.  */
   3524 
   3525 int
   3526 main ()
   3527 {
   3528 
   3529   ;
   3530   return 0;
   3531 }
   3532 _ACEOF
   3533 if ac_fn_c_try_compile "$LINENO"; then :
   3534   ac_cv_prog_cc_g=yes
   3535 fi
   3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3537 fi
   3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3539 fi
   3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3541    ac_c_werror_flag=$ac_save_c_werror_flag
   3542 fi
   3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3544 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3545 if test "$ac_test_CFLAGS" = set; then
   3546   CFLAGS=$ac_save_CFLAGS
   3547 elif test $ac_cv_prog_cc_g = yes; then
   3548   if test "$GCC" = yes; then
   3549     CFLAGS="-g -O2"
   3550   else
   3551     CFLAGS="-g"
   3552   fi
   3553 else
   3554   if test "$GCC" = yes; then
   3555     CFLAGS="-O2"
   3556   else
   3557     CFLAGS=
   3558   fi
   3559 fi
   3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3561 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3562 if ${ac_cv_prog_cc_c89+:} false; then :
   3563   $as_echo_n "(cached) " >&6
   3564 else
   3565   ac_cv_prog_cc_c89=no
   3566 ac_save_CC=$CC
   3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3568 /* end confdefs.h.  */
   3569 #include <stdarg.h>
   3570 #include <stdio.h>
   3571 struct stat;
   3572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3573 struct buf { int x; };
   3574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3575 static char *e (p, i)
   3576      char **p;
   3577      int i;
   3578 {
   3579   return p[i];
   3580 }
   3581 static char *f (char * (*g) (char **, int), char **p, ...)
   3582 {
   3583   char *s;
   3584   va_list v;
   3585   va_start (v,p);
   3586   s = g (p, va_arg (v,int));
   3587   va_end (v);
   3588   return s;
   3589 }
   3590 
   3591 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3592    function prototypes and stuff, but not '\xHH' hex character constants.
   3593    These don't provoke an error unfortunately, instead are silently treated
   3594    as 'x'.  The following induces an error, until -std is added to get
   3595    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3596    array size at least.  It's necessary to write '\x00'==0 to get something
   3597    that's true only with -std.  */
   3598 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3599 
   3600 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3601    inside strings and character constants.  */
   3602 #define FOO(x) 'x'
   3603 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3604 
   3605 int test (int i, double x);
   3606 struct s1 {int (*f) (int a);};
   3607 struct s2 {int (*f) (double a);};
   3608 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3609 int argc;
   3610 char **argv;
   3611 int
   3612 main ()
   3613 {
   3614 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3615   ;
   3616   return 0;
   3617 }
   3618 _ACEOF
   3619 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3620 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3621 do
   3622   CC="$ac_save_CC $ac_arg"
   3623   if ac_fn_c_try_compile "$LINENO"; then :
   3624   ac_cv_prog_cc_c89=$ac_arg
   3625 fi
   3626 rm -f core conftest.err conftest.$ac_objext
   3627   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3628 done
   3629 rm -f conftest.$ac_ext
   3630 CC=$ac_save_CC
   3631 
   3632 fi
   3633 # AC_CACHE_VAL
   3634 case "x$ac_cv_prog_cc_c89" in
   3635   x)
   3636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3637 $as_echo "none needed" >&6; } ;;
   3638   xno)
   3639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3640 $as_echo "unsupported" >&6; } ;;
   3641   *)
   3642     CC="$CC $ac_cv_prog_cc_c89"
   3643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3644 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3645 esac
   3646 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3647 
   3648 fi
   3649 
   3650 ac_ext=c
   3651 ac_cpp='$CPP $CPPFLAGS'
   3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3655 
   3656 ac_ext=c
   3657 ac_cpp='$CPP $CPPFLAGS'
   3658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3662 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3663 if ${am_cv_prog_cc_c_o+:} false; then :
   3664   $as_echo_n "(cached) " >&6
   3665 else
   3666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3667 /* end confdefs.h.  */
   3668 
   3669 int
   3670 main ()
   3671 {
   3672 
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677   # Make sure it works both with $CC and with simple cc.
   3678   # Following AC_PROG_CC_C_O, we do the test twice because some
   3679   # compilers refuse to overwrite an existing .o file with -o,
   3680   # though they will create one.
   3681   am_cv_prog_cc_c_o=yes
   3682   for am_i in 1 2; do
   3683     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3684    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3685    ac_status=$?
   3686    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3687    (exit $ac_status); } \
   3688          && test -f conftest2.$ac_objext; then
   3689       : OK
   3690     else
   3691       am_cv_prog_cc_c_o=no
   3692       break
   3693     fi
   3694   done
   3695   rm -f core conftest*
   3696   unset am_i
   3697 fi
   3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3699 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3700 if test "$am_cv_prog_cc_c_o" != yes; then
   3701    # Losing compiler, so override with the script.
   3702    # FIXME: It is wrong to rewrite CC.
   3703    # But if we don't then we get into trouble of one sort or another.
   3704    # A longer-term fix would be to have automake use am__CC in this case,
   3705    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3706    CC="$am_aux_dir/compile $CC"
   3707 fi
   3708 ac_ext=c
   3709 ac_cpp='$CPP $CPPFLAGS'
   3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3713 
   3714 
   3715 depcc="$CC"   am_compiler_list=
   3716 
   3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3718 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3719 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3720   $as_echo_n "(cached) " >&6
   3721 else
   3722   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3723   # We make a subdir and do the tests there.  Otherwise we can end up
   3724   # making bogus files that we don't know about and never remove.  For
   3725   # instance it was reported that on HP-UX the gcc test will end up
   3726   # making a dummy file named 'D' -- because '-MD' means "put the output
   3727   # in D".
   3728   rm -rf conftest.dir
   3729   mkdir conftest.dir
   3730   # Copy depcomp to subdir because otherwise we won't find it if we're
   3731   # using a relative directory.
   3732   cp "$am_depcomp" conftest.dir
   3733   cd conftest.dir
   3734   # We will build objects and dependencies in a subdirectory because
   3735   # it helps to detect inapplicable dependency modes.  For instance
   3736   # both Tru64's cc and ICC support -MD to output dependencies as a
   3737   # side effect of compilation, but ICC will put the dependencies in
   3738   # the current directory while Tru64 will put them in the object
   3739   # directory.
   3740   mkdir sub
   3741 
   3742   am_cv_CC_dependencies_compiler_type=none
   3743   if test "$am_compiler_list" = ""; then
   3744      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3745   fi
   3746   am__universal=false
   3747   case " $depcc " in #(
   3748      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3749      esac
   3750 
   3751   for depmode in $am_compiler_list; do
   3752     # Setup a source with many dependencies, because some compilers
   3753     # like to wrap large dependency lists on column 80 (with \), and
   3754     # we should not choose a depcomp mode which is confused by this.
   3755     #
   3756     # We need to recreate these files for each test, as the compiler may
   3757     # overwrite some of them when testing with obscure command lines.
   3758     # This happens at least with the AIX C compiler.
   3759     : > sub/conftest.c
   3760     for i in 1 2 3 4 5 6; do
   3761       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3762       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3763       # Solaris 10 /bin/sh.
   3764       echo '/* dummy */' > sub/conftst$i.h
   3765     done
   3766     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3767 
   3768     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3769     # mode.  It turns out that the SunPro C++ compiler does not properly
   3770     # handle '-M -o', and we need to detect this.  Also, some Intel
   3771     # versions had trouble with output in subdirs.
   3772     am__obj=sub/conftest.${OBJEXT-o}
   3773     am__minus_obj="-o $am__obj"
   3774     case $depmode in
   3775     gcc)
   3776       # This depmode causes a compiler race in universal mode.
   3777       test "$am__universal" = false || continue
   3778       ;;
   3779     nosideeffect)
   3780       # After this tag, mechanisms are not by side-effect, so they'll
   3781       # only be used when explicitly requested.
   3782       if test "x$enable_dependency_tracking" = xyes; then
   3783 	continue
   3784       else
   3785 	break
   3786       fi
   3787       ;;
   3788     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3789       # This compiler won't grok '-c -o', but also, the minuso test has
   3790       # not run yet.  These depmodes are late enough in the game, and
   3791       # so weak that their functioning should not be impacted.
   3792       am__obj=conftest.${OBJEXT-o}
   3793       am__minus_obj=
   3794       ;;
   3795     none) break ;;
   3796     esac
   3797     if depmode=$depmode \
   3798        source=sub/conftest.c object=$am__obj \
   3799        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3800        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3801          >/dev/null 2>conftest.err &&
   3802        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3803        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3804        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3805        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3806       # icc doesn't choke on unknown options, it will just issue warnings
   3807       # or remarks (even with -Werror).  So we grep stderr for any message
   3808       # that says an option was ignored or not supported.
   3809       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3810       #   icc: Command line warning: ignoring option '-M'; no argument required
   3811       # The diagnosis changed in icc 8.0:
   3812       #   icc: Command line remark: option '-MP' not supported
   3813       if (grep 'ignoring option' conftest.err ||
   3814           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3815         am_cv_CC_dependencies_compiler_type=$depmode
   3816         break
   3817       fi
   3818     fi
   3819   done
   3820 
   3821   cd ..
   3822   rm -rf conftest.dir
   3823 else
   3824   am_cv_CC_dependencies_compiler_type=none
   3825 fi
   3826 
   3827 fi
   3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3829 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3830 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3831 
   3832  if
   3833   test "x$enable_dependency_tracking" != xno \
   3834   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3835   am__fastdepCC_TRUE=
   3836   am__fastdepCC_FALSE='#'
   3837 else
   3838   am__fastdepCC_TRUE='#'
   3839   am__fastdepCC_FALSE=
   3840 fi
   3841 
   3842 
   3843    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3844 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3845 if ${ac_cv_prog_cc_c99+:} false; then :
   3846   $as_echo_n "(cached) " >&6
   3847 else
   3848   ac_cv_prog_cc_c99=no
   3849 ac_save_CC=$CC
   3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3851 /* end confdefs.h.  */
   3852 #include <stdarg.h>
   3853 #include <stdbool.h>
   3854 #include <stdlib.h>
   3855 #include <wchar.h>
   3856 #include <stdio.h>
   3857 
   3858 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3859 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3860 #define showlist(...) puts (#__VA_ARGS__)
   3861 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3862 static void
   3863 test_varargs_macros (void)
   3864 {
   3865   int x = 1234;
   3866   int y = 5678;
   3867   debug ("Flag");
   3868   debug ("X = %d\n", x);
   3869   showlist (The first, second, and third items.);
   3870   report (x>y, "x is %d but y is %d", x, y);
   3871 }
   3872 
   3873 // Check long long types.
   3874 #define BIG64 18446744073709551615ull
   3875 #define BIG32 4294967295ul
   3876 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3877 #if !BIG_OK
   3878   your preprocessor is broken;
   3879 #endif
   3880 #if BIG_OK
   3881 #else
   3882   your preprocessor is broken;
   3883 #endif
   3884 static long long int bignum = -9223372036854775807LL;
   3885 static unsigned long long int ubignum = BIG64;
   3886 
   3887 struct incomplete_array
   3888 {
   3889   int datasize;
   3890   double data[];
   3891 };
   3892 
   3893 struct named_init {
   3894   int number;
   3895   const wchar_t *name;
   3896   double average;
   3897 };
   3898 
   3899 typedef const char *ccp;
   3900 
   3901 static inline int
   3902 test_restrict (ccp restrict text)
   3903 {
   3904   // See if C++-style comments work.
   3905   // Iterate through items via the restricted pointer.
   3906   // Also check for declarations in for loops.
   3907   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3908     continue;
   3909   return 0;
   3910 }
   3911 
   3912 // Check varargs and va_copy.
   3913 static void
   3914 test_varargs (const char *format, ...)
   3915 {
   3916   va_list args;
   3917   va_start (args, format);
   3918   va_list args_copy;
   3919   va_copy (args_copy, args);
   3920 
   3921   const char *str;
   3922   int number;
   3923   float fnumber;
   3924 
   3925   while (*format)
   3926     {
   3927       switch (*format++)
   3928 	{
   3929 	case 's': // string
   3930 	  str = va_arg (args_copy, const char *);
   3931 	  break;
   3932 	case 'd': // int
   3933 	  number = va_arg (args_copy, int);
   3934 	  break;
   3935 	case 'f': // float
   3936 	  fnumber = va_arg (args_copy, double);
   3937 	  break;
   3938 	default:
   3939 	  break;
   3940 	}
   3941     }
   3942   va_end (args_copy);
   3943   va_end (args);
   3944 }
   3945 
   3946 int
   3947 main ()
   3948 {
   3949 
   3950   // Check bool.
   3951   _Bool success = false;
   3952 
   3953   // Check restrict.
   3954   if (test_restrict ("String literal") == 0)
   3955     success = true;
   3956   char *restrict newvar = "Another string";
   3957 
   3958   // Check varargs.
   3959   test_varargs ("s, d' f .", "string", 65, 34.234);
   3960   test_varargs_macros ();
   3961 
   3962   // Check flexible array members.
   3963   struct incomplete_array *ia =
   3964     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3965   ia->datasize = 10;
   3966   for (int i = 0; i < ia->datasize; ++i)
   3967     ia->data[i] = i * 1.234;
   3968 
   3969   // Check named initializers.
   3970   struct named_init ni = {
   3971     .number = 34,
   3972     .name = L"Test wide string",
   3973     .average = 543.34343,
   3974   };
   3975 
   3976   ni.number = 58;
   3977 
   3978   int dynamic_array[ni.number];
   3979   dynamic_array[ni.number - 1] = 543;
   3980 
   3981   // work around unused variable warnings
   3982   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3983 	  || dynamic_array[ni.number - 1] != 543);
   3984 
   3985   ;
   3986   return 0;
   3987 }
   3988 _ACEOF
   3989 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3990 do
   3991   CC="$ac_save_CC $ac_arg"
   3992   if ac_fn_c_try_compile "$LINENO"; then :
   3993   ac_cv_prog_cc_c99=$ac_arg
   3994 fi
   3995 rm -f core conftest.err conftest.$ac_objext
   3996   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3997 done
   3998 rm -f conftest.$ac_ext
   3999 CC=$ac_save_CC
   4000 
   4001 fi
   4002 # AC_CACHE_VAL
   4003 case "x$ac_cv_prog_cc_c99" in
   4004   x)
   4005     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4006 $as_echo "none needed" >&6; } ;;
   4007   xno)
   4008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4009 $as_echo "unsupported" >&6; } ;;
   4010   *)
   4011     CC="$CC $ac_cv_prog_cc_c99"
   4012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4013 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4014 esac
   4015 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4016 
   4017 fi
   4018 
   4019 
   4020 
   4021 ac_ext=c
   4022 ac_cpp='$CPP $CPPFLAGS'
   4023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4027 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4028 # On Suns, sometimes $CPP names a directory.
   4029 if test -n "$CPP" && test -d "$CPP"; then
   4030   CPP=
   4031 fi
   4032 if test -z "$CPP"; then
   4033   if ${ac_cv_prog_CPP+:} false; then :
   4034   $as_echo_n "(cached) " >&6
   4035 else
   4036       # Double quotes because CPP needs to be expanded
   4037     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4038     do
   4039       ac_preproc_ok=false
   4040 for ac_c_preproc_warn_flag in '' yes
   4041 do
   4042   # Use a header file that comes with gcc, so configuring glibc
   4043   # with a fresh cross-compiler works.
   4044   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4045   # <limits.h> exists even on freestanding compilers.
   4046   # On the NeXT, cc -E runs the code through the compiler's parser,
   4047   # not just through cpp. "Syntax error" is here to catch this case.
   4048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4049 /* end confdefs.h.  */
   4050 #ifdef __STDC__
   4051 # include <limits.h>
   4052 #else
   4053 # include <assert.h>
   4054 #endif
   4055 		     Syntax error
   4056 _ACEOF
   4057 if ac_fn_c_try_cpp "$LINENO"; then :
   4058 
   4059 else
   4060   # Broken: fails on valid input.
   4061 continue
   4062 fi
   4063 rm -f conftest.err conftest.i conftest.$ac_ext
   4064 
   4065   # OK, works on sane cases.  Now check whether nonexistent headers
   4066   # can be detected and how.
   4067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4068 /* end confdefs.h.  */
   4069 #include <ac_nonexistent.h>
   4070 _ACEOF
   4071 if ac_fn_c_try_cpp "$LINENO"; then :
   4072   # Broken: success on invalid input.
   4073 continue
   4074 else
   4075   # Passes both tests.
   4076 ac_preproc_ok=:
   4077 break
   4078 fi
   4079 rm -f conftest.err conftest.i conftest.$ac_ext
   4080 
   4081 done
   4082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4083 rm -f conftest.i conftest.err conftest.$ac_ext
   4084 if $ac_preproc_ok; then :
   4085   break
   4086 fi
   4087 
   4088     done
   4089     ac_cv_prog_CPP=$CPP
   4090 
   4091 fi
   4092   CPP=$ac_cv_prog_CPP
   4093 else
   4094   ac_cv_prog_CPP=$CPP
   4095 fi
   4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4097 $as_echo "$CPP" >&6; }
   4098 ac_preproc_ok=false
   4099 for ac_c_preproc_warn_flag in '' yes
   4100 do
   4101   # Use a header file that comes with gcc, so configuring glibc
   4102   # with a fresh cross-compiler works.
   4103   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4104   # <limits.h> exists even on freestanding compilers.
   4105   # On the NeXT, cc -E runs the code through the compiler's parser,
   4106   # not just through cpp. "Syntax error" is here to catch this case.
   4107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4108 /* end confdefs.h.  */
   4109 #ifdef __STDC__
   4110 # include <limits.h>
   4111 #else
   4112 # include <assert.h>
   4113 #endif
   4114 		     Syntax error
   4115 _ACEOF
   4116 if ac_fn_c_try_cpp "$LINENO"; then :
   4117 
   4118 else
   4119   # Broken: fails on valid input.
   4120 continue
   4121 fi
   4122 rm -f conftest.err conftest.i conftest.$ac_ext
   4123 
   4124   # OK, works on sane cases.  Now check whether nonexistent headers
   4125   # can be detected and how.
   4126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4127 /* end confdefs.h.  */
   4128 #include <ac_nonexistent.h>
   4129 _ACEOF
   4130 if ac_fn_c_try_cpp "$LINENO"; then :
   4131   # Broken: success on invalid input.
   4132 continue
   4133 else
   4134   # Passes both tests.
   4135 ac_preproc_ok=:
   4136 break
   4137 fi
   4138 rm -f conftest.err conftest.i conftest.$ac_ext
   4139 
   4140 done
   4141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4142 rm -f conftest.i conftest.err conftest.$ac_ext
   4143 if $ac_preproc_ok; then :
   4144 
   4145 else
   4146   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4148 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4149 See \`config.log' for more details" "$LINENO" 5; }
   4150 fi
   4151 
   4152 ac_ext=c
   4153 ac_cpp='$CPP $CPPFLAGS'
   4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4157 
   4158 
   4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4160 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4161 if ${ac_cv_path_GREP+:} false; then :
   4162   $as_echo_n "(cached) " >&6
   4163 else
   4164   if test -z "$GREP"; then
   4165   ac_path_GREP_found=false
   4166   # Loop through the user's path and test for each of PROGNAME-LIST
   4167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4169 do
   4170   IFS=$as_save_IFS
   4171   test -z "$as_dir" && as_dir=.
   4172     for ac_prog in grep ggrep; do
   4173     for ac_exec_ext in '' $ac_executable_extensions; do
   4174       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4175       as_fn_executable_p "$ac_path_GREP" || continue
   4176 # Check for GNU ac_path_GREP and select it if it is found.
   4177   # Check for GNU $ac_path_GREP
   4178 case `"$ac_path_GREP" --version 2>&1` in
   4179 *GNU*)
   4180   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4181 *)
   4182   ac_count=0
   4183   $as_echo_n 0123456789 >"conftest.in"
   4184   while :
   4185   do
   4186     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4187     mv "conftest.tmp" "conftest.in"
   4188     cp "conftest.in" "conftest.nl"
   4189     $as_echo 'GREP' >> "conftest.nl"
   4190     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4191     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4192     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4193     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4194       # Best one so far, save it but keep looking for a better one
   4195       ac_cv_path_GREP="$ac_path_GREP"
   4196       ac_path_GREP_max=$ac_count
   4197     fi
   4198     # 10*(2^10) chars as input seems more than enough
   4199     test $ac_count -gt 10 && break
   4200   done
   4201   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4202 esac
   4203 
   4204       $ac_path_GREP_found && break 3
   4205     done
   4206   done
   4207   done
   4208 IFS=$as_save_IFS
   4209   if test -z "$ac_cv_path_GREP"; then
   4210     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4211   fi
   4212 else
   4213   ac_cv_path_GREP=$GREP
   4214 fi
   4215 
   4216 fi
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4218 $as_echo "$ac_cv_path_GREP" >&6; }
   4219  GREP="$ac_cv_path_GREP"
   4220 
   4221 
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4223 $as_echo_n "checking for egrep... " >&6; }
   4224 if ${ac_cv_path_EGREP+:} false; then :
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4228    then ac_cv_path_EGREP="$GREP -E"
   4229    else
   4230      if test -z "$EGREP"; then
   4231   ac_path_EGREP_found=false
   4232   # Loop through the user's path and test for each of PROGNAME-LIST
   4233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4235 do
   4236   IFS=$as_save_IFS
   4237   test -z "$as_dir" && as_dir=.
   4238     for ac_prog in egrep; do
   4239     for ac_exec_ext in '' $ac_executable_extensions; do
   4240       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4241       as_fn_executable_p "$ac_path_EGREP" || continue
   4242 # Check for GNU ac_path_EGREP and select it if it is found.
   4243   # Check for GNU $ac_path_EGREP
   4244 case `"$ac_path_EGREP" --version 2>&1` in
   4245 *GNU*)
   4246   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4247 *)
   4248   ac_count=0
   4249   $as_echo_n 0123456789 >"conftest.in"
   4250   while :
   4251   do
   4252     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4253     mv "conftest.tmp" "conftest.in"
   4254     cp "conftest.in" "conftest.nl"
   4255     $as_echo 'EGREP' >> "conftest.nl"
   4256     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4257     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4258     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4259     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4260       # Best one so far, save it but keep looking for a better one
   4261       ac_cv_path_EGREP="$ac_path_EGREP"
   4262       ac_path_EGREP_max=$ac_count
   4263     fi
   4264     # 10*(2^10) chars as input seems more than enough
   4265     test $ac_count -gt 10 && break
   4266   done
   4267   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4268 esac
   4269 
   4270       $ac_path_EGREP_found && break 3
   4271     done
   4272   done
   4273   done
   4274 IFS=$as_save_IFS
   4275   if test -z "$ac_cv_path_EGREP"; then
   4276     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4277   fi
   4278 else
   4279   ac_cv_path_EGREP=$EGREP
   4280 fi
   4281 
   4282    fi
   4283 fi
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4285 $as_echo "$ac_cv_path_EGREP" >&6; }
   4286  EGREP="$ac_cv_path_EGREP"
   4287 
   4288 
   4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4290 $as_echo_n "checking for ANSI C header files... " >&6; }
   4291 if ${ac_cv_header_stdc+:} false; then :
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4295 /* end confdefs.h.  */
   4296 #include <stdlib.h>
   4297 #include <stdarg.h>
   4298 #include <string.h>
   4299 #include <float.h>
   4300 
   4301 int
   4302 main ()
   4303 {
   4304 
   4305   ;
   4306   return 0;
   4307 }
   4308 _ACEOF
   4309 if ac_fn_c_try_compile "$LINENO"; then :
   4310   ac_cv_header_stdc=yes
   4311 else
   4312   ac_cv_header_stdc=no
   4313 fi
   4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4315 
   4316 if test $ac_cv_header_stdc = yes; then
   4317   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4319 /* end confdefs.h.  */
   4320 #include <string.h>
   4321 
   4322 _ACEOF
   4323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4324   $EGREP "memchr" >/dev/null 2>&1; then :
   4325 
   4326 else
   4327   ac_cv_header_stdc=no
   4328 fi
   4329 rm -f conftest*
   4330 
   4331 fi
   4332 
   4333 if test $ac_cv_header_stdc = yes; then
   4334   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4336 /* end confdefs.h.  */
   4337 #include <stdlib.h>
   4338 
   4339 _ACEOF
   4340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4341   $EGREP "free" >/dev/null 2>&1; then :
   4342 
   4343 else
   4344   ac_cv_header_stdc=no
   4345 fi
   4346 rm -f conftest*
   4347 
   4348 fi
   4349 
   4350 if test $ac_cv_header_stdc = yes; then
   4351   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4352   if test "$cross_compiling" = yes; then :
   4353   :
   4354 else
   4355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4356 /* end confdefs.h.  */
   4357 #include <ctype.h>
   4358 #include <stdlib.h>
   4359 #if ((' ' & 0x0FF) == 0x020)
   4360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4362 #else
   4363 # define ISLOWER(c) \
   4364 		   (('a' <= (c) && (c) <= 'i') \
   4365 		     || ('j' <= (c) && (c) <= 'r') \
   4366 		     || ('s' <= (c) && (c) <= 'z'))
   4367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4368 #endif
   4369 
   4370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4371 int
   4372 main ()
   4373 {
   4374   int i;
   4375   for (i = 0; i < 256; i++)
   4376     if (XOR (islower (i), ISLOWER (i))
   4377 	|| toupper (i) != TOUPPER (i))
   4378       return 2;
   4379   return 0;
   4380 }
   4381 _ACEOF
   4382 if ac_fn_c_try_run "$LINENO"; then :
   4383 
   4384 else
   4385   ac_cv_header_stdc=no
   4386 fi
   4387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4388   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4389 fi
   4390 
   4391 fi
   4392 fi
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4394 $as_echo "$ac_cv_header_stdc" >&6; }
   4395 if test $ac_cv_header_stdc = yes; then
   4396 
   4397 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4398 
   4399 fi
   4400 
   4401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4402 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4403 		  inttypes.h stdint.h unistd.h
   4404 do :
   4405   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4406 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4407 "
   4408 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4409   cat >>confdefs.h <<_ACEOF
   4410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4411 _ACEOF
   4412 
   4413 fi
   4414 
   4415 done
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4423 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4424   CLANGCC="yes"
   4425 else
   4426   CLANGCC="no"
   4427 fi
   4428 
   4429 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4430 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4431   INTELCC="yes"
   4432 else
   4433   INTELCC="no"
   4434 fi
   4435 
   4436 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4437 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4438   SUNCC="yes"
   4439 else
   4440   SUNCC="no"
   4441 fi
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 
   4450 
   4451 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4452 	if test -n "$ac_tool_prefix"; then
   4453   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4454 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4456 $as_echo_n "checking for $ac_word... " >&6; }
   4457 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4458   $as_echo_n "(cached) " >&6
   4459 else
   4460   case $PKG_CONFIG in
   4461   [\\/]* | ?:[\\/]*)
   4462   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4463   ;;
   4464   *)
   4465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4466 for as_dir in $PATH
   4467 do
   4468   IFS=$as_save_IFS
   4469   test -z "$as_dir" && as_dir=.
   4470     for ac_exec_ext in '' $ac_executable_extensions; do
   4471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4472     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4474     break 2
   4475   fi
   4476 done
   4477   done
   4478 IFS=$as_save_IFS
   4479 
   4480   ;;
   4481 esac
   4482 fi
   4483 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4484 if test -n "$PKG_CONFIG"; then
   4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4486 $as_echo "$PKG_CONFIG" >&6; }
   4487 else
   4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4489 $as_echo "no" >&6; }
   4490 fi
   4491 
   4492 
   4493 fi
   4494 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4495   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4496   # Extract the first word of "pkg-config", so it can be a program name with args.
   4497 set dummy pkg-config; ac_word=$2
   4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4499 $as_echo_n "checking for $ac_word... " >&6; }
   4500 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4501   $as_echo_n "(cached) " >&6
   4502 else
   4503   case $ac_pt_PKG_CONFIG in
   4504   [\\/]* | ?:[\\/]*)
   4505   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4506   ;;
   4507   *)
   4508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4509 for as_dir in $PATH
   4510 do
   4511   IFS=$as_save_IFS
   4512   test -z "$as_dir" && as_dir=.
   4513     for ac_exec_ext in '' $ac_executable_extensions; do
   4514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4515     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4517     break 2
   4518   fi
   4519 done
   4520   done
   4521 IFS=$as_save_IFS
   4522 
   4523   ;;
   4524 esac
   4525 fi
   4526 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4527 if test -n "$ac_pt_PKG_CONFIG"; then
   4528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4529 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4530 else
   4531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4532 $as_echo "no" >&6; }
   4533 fi
   4534 
   4535   if test "x$ac_pt_PKG_CONFIG" = x; then
   4536     PKG_CONFIG=""
   4537   else
   4538     case $cross_compiling:$ac_tool_warned in
   4539 yes:)
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4542 ac_tool_warned=yes ;;
   4543 esac
   4544     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4545   fi
   4546 else
   4547   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4548 fi
   4549 
   4550 fi
   4551 if test -n "$PKG_CONFIG"; then
   4552 	_pkg_min_version=0.9.0
   4553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4554 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4555 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4557 $as_echo "yes" >&6; }
   4558 	else
   4559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4560 $as_echo "no" >&6; }
   4561 		PKG_CONFIG=""
   4562 	fi
   4563 fi
   4564 # Make sure we can run config.sub.
   4565 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4566   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4567 
   4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4569 $as_echo_n "checking build system type... " >&6; }
   4570 if ${ac_cv_build+:} false; then :
   4571   $as_echo_n "(cached) " >&6
   4572 else
   4573   ac_build_alias=$build_alias
   4574 test "x$ac_build_alias" = x &&
   4575   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4576 test "x$ac_build_alias" = x &&
   4577   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4578 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4579   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4580 
   4581 fi
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4583 $as_echo "$ac_cv_build" >&6; }
   4584 case $ac_cv_build in
   4585 *-*-*) ;;
   4586 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4587 esac
   4588 build=$ac_cv_build
   4589 ac_save_IFS=$IFS; IFS='-'
   4590 set x $ac_cv_build
   4591 shift
   4592 build_cpu=$1
   4593 build_vendor=$2
   4594 shift; shift
   4595 # Remember, the first character of IFS is used to create $*,
   4596 # except with old shells:
   4597 build_os=$*
   4598 IFS=$ac_save_IFS
   4599 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4600 
   4601 
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4603 $as_echo_n "checking host system type... " >&6; }
   4604 if ${ac_cv_host+:} false; then :
   4605   $as_echo_n "(cached) " >&6
   4606 else
   4607   if test "x$host_alias" = x; then
   4608   ac_cv_host=$ac_cv_build
   4609 else
   4610   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4611     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4612 fi
   4613 
   4614 fi
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4616 $as_echo "$ac_cv_host" >&6; }
   4617 case $ac_cv_host in
   4618 *-*-*) ;;
   4619 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4620 esac
   4621 host=$ac_cv_host
   4622 ac_save_IFS=$IFS; IFS='-'
   4623 set x $ac_cv_host
   4624 shift
   4625 host_cpu=$1
   4626 host_vendor=$2
   4627 shift; shift
   4628 # Remember, the first character of IFS is used to create $*,
   4629 # except with old shells:
   4630 host_os=$*
   4631 IFS=$ac_save_IFS
   4632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4633 
   4634 
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4636 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4637 if ${ac_cv_path_SED+:} false; then :
   4638   $as_echo_n "(cached) " >&6
   4639 else
   4640             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4641      for ac_i in 1 2 3 4 5 6 7; do
   4642        ac_script="$ac_script$as_nl$ac_script"
   4643      done
   4644      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4645      { ac_script=; unset ac_script;}
   4646      if test -z "$SED"; then
   4647   ac_path_SED_found=false
   4648   # Loop through the user's path and test for each of PROGNAME-LIST
   4649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4650 for as_dir in $PATH
   4651 do
   4652   IFS=$as_save_IFS
   4653   test -z "$as_dir" && as_dir=.
   4654     for ac_prog in sed gsed; do
   4655     for ac_exec_ext in '' $ac_executable_extensions; do
   4656       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4657       as_fn_executable_p "$ac_path_SED" || continue
   4658 # Check for GNU ac_path_SED and select it if it is found.
   4659   # Check for GNU $ac_path_SED
   4660 case `"$ac_path_SED" --version 2>&1` in
   4661 *GNU*)
   4662   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4663 *)
   4664   ac_count=0
   4665   $as_echo_n 0123456789 >"conftest.in"
   4666   while :
   4667   do
   4668     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4669     mv "conftest.tmp" "conftest.in"
   4670     cp "conftest.in" "conftest.nl"
   4671     $as_echo '' >> "conftest.nl"
   4672     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4673     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4674     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4675     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4676       # Best one so far, save it but keep looking for a better one
   4677       ac_cv_path_SED="$ac_path_SED"
   4678       ac_path_SED_max=$ac_count
   4679     fi
   4680     # 10*(2^10) chars as input seems more than enough
   4681     test $ac_count -gt 10 && break
   4682   done
   4683   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4684 esac
   4685 
   4686       $ac_path_SED_found && break 3
   4687     done
   4688   done
   4689   done
   4690 IFS=$as_save_IFS
   4691   if test -z "$ac_cv_path_SED"; then
   4692     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4693   fi
   4694 else
   4695   ac_cv_path_SED=$SED
   4696 fi
   4697 
   4698 fi
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4700 $as_echo "$ac_cv_path_SED" >&6; }
   4701  SED="$ac_cv_path_SED"
   4702   rm -f conftest.sed
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 # Check whether --enable-selective-werror was given.
   4710 if test "${enable_selective_werror+set}" = set; then :
   4711   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4712 else
   4713   SELECTIVE_WERROR=yes
   4714 fi
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4721 if test "x$SUNCC" = "xyes"; then
   4722     BASE_CFLAGS="-v"
   4723 else
   4724     BASE_CFLAGS=""
   4725 fi
   4726 
   4727 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 xorg_testset_save_CFLAGS="$CFLAGS"
   4742 
   4743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4748   $as_echo_n "(cached) " >&6
   4749 else
   4750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4751 /* end confdefs.h.  */
   4752 int i;
   4753 _ACEOF
   4754 if ac_fn_c_try_compile "$LINENO"; then :
   4755   xorg_cv_cc_flag_unknown_warning_option=yes
   4756 else
   4757   xorg_cv_cc_flag_unknown_warning_option=no
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4760 fi
   4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4764 	CFLAGS="$xorg_testset_save_CFLAGS"
   4765 fi
   4766 
   4767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4770 	fi
   4771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4778 /* end confdefs.h.  */
   4779 int i;
   4780 _ACEOF
   4781 if ac_fn_c_try_compile "$LINENO"; then :
   4782   xorg_cv_cc_flag_unused_command_line_argument=yes
   4783 else
   4784   xorg_cv_cc_flag_unused_command_line_argument=no
   4785 fi
   4786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4787 fi
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4791 	CFLAGS="$xorg_testset_save_CFLAGS"
   4792 fi
   4793 
   4794 found="no"
   4795 
   4796 	if test $found = "no" ; then
   4797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4799 		fi
   4800 
   4801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4803 		fi
   4804 
   4805 		CFLAGS="$CFLAGS -Wall"
   4806 
   4807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4808 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4809 		cacheid=xorg_cv_cc_flag__Wall
   4810 		if eval \${$cacheid+:} false; then :
   4811   $as_echo_n "(cached) " >&6
   4812 else
   4813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4814 /* end confdefs.h.  */
   4815 int i;
   4816 int
   4817 main ()
   4818 {
   4819 
   4820   ;
   4821   return 0;
   4822 }
   4823 _ACEOF
   4824 if ac_fn_c_try_link "$LINENO"; then :
   4825   eval $cacheid=yes
   4826 else
   4827   eval $cacheid=no
   4828 fi
   4829 rm -f core conftest.err conftest.$ac_objext \
   4830     conftest$ac_exeext conftest.$ac_ext
   4831 fi
   4832 
   4833 
   4834 		CFLAGS="$xorg_testset_save_CFLAGS"
   4835 
   4836 		eval supported=\$$cacheid
   4837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4838 $as_echo "$supported" >&6; }
   4839 		if test "$supported" = "yes" ; then
   4840 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4841 			found="yes"
   4842 		fi
   4843 	fi
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 xorg_testset_save_CFLAGS="$CFLAGS"
   4860 
   4861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4866   $as_echo_n "(cached) " >&6
   4867 else
   4868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4869 /* end confdefs.h.  */
   4870 int i;
   4871 _ACEOF
   4872 if ac_fn_c_try_compile "$LINENO"; then :
   4873   xorg_cv_cc_flag_unknown_warning_option=yes
   4874 else
   4875   xorg_cv_cc_flag_unknown_warning_option=no
   4876 fi
   4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4878 fi
   4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4882 	CFLAGS="$xorg_testset_save_CFLAGS"
   4883 fi
   4884 
   4885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4888 	fi
   4889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4893   $as_echo_n "(cached) " >&6
   4894 else
   4895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4896 /* end confdefs.h.  */
   4897 int i;
   4898 _ACEOF
   4899 if ac_fn_c_try_compile "$LINENO"; then :
   4900   xorg_cv_cc_flag_unused_command_line_argument=yes
   4901 else
   4902   xorg_cv_cc_flag_unused_command_line_argument=no
   4903 fi
   4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4905 fi
   4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4909 	CFLAGS="$xorg_testset_save_CFLAGS"
   4910 fi
   4911 
   4912 found="no"
   4913 
   4914 	if test $found = "no" ; then
   4915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4917 		fi
   4918 
   4919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4921 		fi
   4922 
   4923 		CFLAGS="$CFLAGS -Wpointer-arith"
   4924 
   4925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4926 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4927 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4928 		if eval \${$cacheid+:} false; then :
   4929   $as_echo_n "(cached) " >&6
   4930 else
   4931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4932 /* end confdefs.h.  */
   4933 int i;
   4934 int
   4935 main ()
   4936 {
   4937 
   4938   ;
   4939   return 0;
   4940 }
   4941 _ACEOF
   4942 if ac_fn_c_try_link "$LINENO"; then :
   4943   eval $cacheid=yes
   4944 else
   4945   eval $cacheid=no
   4946 fi
   4947 rm -f core conftest.err conftest.$ac_objext \
   4948     conftest$ac_exeext conftest.$ac_ext
   4949 fi
   4950 
   4951 
   4952 		CFLAGS="$xorg_testset_save_CFLAGS"
   4953 
   4954 		eval supported=\$$cacheid
   4955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4956 $as_echo "$supported" >&6; }
   4957 		if test "$supported" = "yes" ; then
   4958 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4959 			found="yes"
   4960 		fi
   4961 	fi
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 xorg_testset_save_CFLAGS="$CFLAGS"
   4978 
   4979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4984   $as_echo_n "(cached) " >&6
   4985 else
   4986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4987 /* end confdefs.h.  */
   4988 int i;
   4989 _ACEOF
   4990 if ac_fn_c_try_compile "$LINENO"; then :
   4991   xorg_cv_cc_flag_unknown_warning_option=yes
   4992 else
   4993   xorg_cv_cc_flag_unknown_warning_option=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4996 fi
   4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5000 	CFLAGS="$xorg_testset_save_CFLAGS"
   5001 fi
   5002 
   5003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5006 	fi
   5007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5014 /* end confdefs.h.  */
   5015 int i;
   5016 _ACEOF
   5017 if ac_fn_c_try_compile "$LINENO"; then :
   5018   xorg_cv_cc_flag_unused_command_line_argument=yes
   5019 else
   5020   xorg_cv_cc_flag_unused_command_line_argument=no
   5021 fi
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 fi
   5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5027 	CFLAGS="$xorg_testset_save_CFLAGS"
   5028 fi
   5029 
   5030 found="no"
   5031 
   5032 	if test $found = "no" ; then
   5033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5035 		fi
   5036 
   5037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5039 		fi
   5040 
   5041 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5042 
   5043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5044 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5045 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5046 		if eval \${$cacheid+:} false; then :
   5047   $as_echo_n "(cached) " >&6
   5048 else
   5049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5050 /* end confdefs.h.  */
   5051 int i;
   5052 int
   5053 main ()
   5054 {
   5055 
   5056   ;
   5057   return 0;
   5058 }
   5059 _ACEOF
   5060 if ac_fn_c_try_link "$LINENO"; then :
   5061   eval $cacheid=yes
   5062 else
   5063   eval $cacheid=no
   5064 fi
   5065 rm -f core conftest.err conftest.$ac_objext \
   5066     conftest$ac_exeext conftest.$ac_ext
   5067 fi
   5068 
   5069 
   5070 		CFLAGS="$xorg_testset_save_CFLAGS"
   5071 
   5072 		eval supported=\$$cacheid
   5073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5074 $as_echo "$supported" >&6; }
   5075 		if test "$supported" = "yes" ; then
   5076 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5077 			found="yes"
   5078 		fi
   5079 	fi
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 xorg_testset_save_CFLAGS="$CFLAGS"
   5096 
   5097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5102   $as_echo_n "(cached) " >&6
   5103 else
   5104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5105 /* end confdefs.h.  */
   5106 int i;
   5107 _ACEOF
   5108 if ac_fn_c_try_compile "$LINENO"; then :
   5109   xorg_cv_cc_flag_unknown_warning_option=yes
   5110 else
   5111   xorg_cv_cc_flag_unknown_warning_option=no
   5112 fi
   5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5114 fi
   5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5118 	CFLAGS="$xorg_testset_save_CFLAGS"
   5119 fi
   5120 
   5121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5124 	fi
   5125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5129   $as_echo_n "(cached) " >&6
   5130 else
   5131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 int i;
   5134 _ACEOF
   5135 if ac_fn_c_try_compile "$LINENO"; then :
   5136   xorg_cv_cc_flag_unused_command_line_argument=yes
   5137 else
   5138   xorg_cv_cc_flag_unused_command_line_argument=no
   5139 fi
   5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5141 fi
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5145 	CFLAGS="$xorg_testset_save_CFLAGS"
   5146 fi
   5147 
   5148 found="no"
   5149 
   5150 	if test $found = "no" ; then
   5151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5153 		fi
   5154 
   5155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5157 		fi
   5158 
   5159 		CFLAGS="$CFLAGS -Wformat=2"
   5160 
   5161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5162 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5163 		cacheid=xorg_cv_cc_flag__Wformat_2
   5164 		if eval \${$cacheid+:} false; then :
   5165   $as_echo_n "(cached) " >&6
   5166 else
   5167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5168 /* end confdefs.h.  */
   5169 int i;
   5170 int
   5171 main ()
   5172 {
   5173 
   5174   ;
   5175   return 0;
   5176 }
   5177 _ACEOF
   5178 if ac_fn_c_try_link "$LINENO"; then :
   5179   eval $cacheid=yes
   5180 else
   5181   eval $cacheid=no
   5182 fi
   5183 rm -f core conftest.err conftest.$ac_objext \
   5184     conftest$ac_exeext conftest.$ac_ext
   5185 fi
   5186 
   5187 
   5188 		CFLAGS="$xorg_testset_save_CFLAGS"
   5189 
   5190 		eval supported=\$$cacheid
   5191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5192 $as_echo "$supported" >&6; }
   5193 		if test "$supported" = "yes" ; then
   5194 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5195 			found="yes"
   5196 		fi
   5197 	fi
   5198 
   5199 	if test $found = "no" ; then
   5200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5202 		fi
   5203 
   5204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5206 		fi
   5207 
   5208 		CFLAGS="$CFLAGS -Wformat"
   5209 
   5210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5211 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5212 		cacheid=xorg_cv_cc_flag__Wformat
   5213 		if eval \${$cacheid+:} false; then :
   5214   $as_echo_n "(cached) " >&6
   5215 else
   5216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5217 /* end confdefs.h.  */
   5218 int i;
   5219 int
   5220 main ()
   5221 {
   5222 
   5223   ;
   5224   return 0;
   5225 }
   5226 _ACEOF
   5227 if ac_fn_c_try_link "$LINENO"; then :
   5228   eval $cacheid=yes
   5229 else
   5230   eval $cacheid=no
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext \
   5233     conftest$ac_exeext conftest.$ac_ext
   5234 fi
   5235 
   5236 
   5237 		CFLAGS="$xorg_testset_save_CFLAGS"
   5238 
   5239 		eval supported=\$$cacheid
   5240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5241 $as_echo "$supported" >&6; }
   5242 		if test "$supported" = "yes" ; then
   5243 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5244 			found="yes"
   5245 		fi
   5246 	fi
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 xorg_testset_save_CFLAGS="$CFLAGS"
   5265 
   5266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5271   $as_echo_n "(cached) " >&6
   5272 else
   5273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 int i;
   5276 _ACEOF
   5277 if ac_fn_c_try_compile "$LINENO"; then :
   5278   xorg_cv_cc_flag_unknown_warning_option=yes
   5279 else
   5280   xorg_cv_cc_flag_unknown_warning_option=no
   5281 fi
   5282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5283 fi
   5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5287 	CFLAGS="$xorg_testset_save_CFLAGS"
   5288 fi
   5289 
   5290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5293 	fi
   5294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 _ACEOF
   5304 if ac_fn_c_try_compile "$LINENO"; then :
   5305   xorg_cv_cc_flag_unused_command_line_argument=yes
   5306 else
   5307   xorg_cv_cc_flag_unused_command_line_argument=no
   5308 fi
   5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5310 fi
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5314 	CFLAGS="$xorg_testset_save_CFLAGS"
   5315 fi
   5316 
   5317 found="no"
   5318 
   5319 	if test $found = "no" ; then
   5320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5322 		fi
   5323 
   5324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5326 		fi
   5327 
   5328 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5329 
   5330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5331 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5332 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5333 		if eval \${$cacheid+:} false; then :
   5334   $as_echo_n "(cached) " >&6
   5335 else
   5336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5337 /* end confdefs.h.  */
   5338 int i;
   5339 int
   5340 main ()
   5341 {
   5342 
   5343   ;
   5344   return 0;
   5345 }
   5346 _ACEOF
   5347 if ac_fn_c_try_link "$LINENO"; then :
   5348   eval $cacheid=yes
   5349 else
   5350   eval $cacheid=no
   5351 fi
   5352 rm -f core conftest.err conftest.$ac_objext \
   5353     conftest$ac_exeext conftest.$ac_ext
   5354 fi
   5355 
   5356 
   5357 		CFLAGS="$xorg_testset_save_CFLAGS"
   5358 
   5359 		eval supported=\$$cacheid
   5360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5361 $as_echo "$supported" >&6; }
   5362 		if test "$supported" = "yes" ; then
   5363 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5364 			found="yes"
   5365 		fi
   5366 	fi
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 xorg_testset_save_CFLAGS="$CFLAGS"
   5383 
   5384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5392 /* end confdefs.h.  */
   5393 int i;
   5394 _ACEOF
   5395 if ac_fn_c_try_compile "$LINENO"; then :
   5396   xorg_cv_cc_flag_unknown_warning_option=yes
   5397 else
   5398   xorg_cv_cc_flag_unknown_warning_option=no
   5399 fi
   5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5401 fi
   5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5405 	CFLAGS="$xorg_testset_save_CFLAGS"
   5406 fi
   5407 
   5408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5411 	fi
   5412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5416   $as_echo_n "(cached) " >&6
   5417 else
   5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5419 /* end confdefs.h.  */
   5420 int i;
   5421 _ACEOF
   5422 if ac_fn_c_try_compile "$LINENO"; then :
   5423   xorg_cv_cc_flag_unused_command_line_argument=yes
   5424 else
   5425   xorg_cv_cc_flag_unused_command_line_argument=no
   5426 fi
   5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5428 fi
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5432 	CFLAGS="$xorg_testset_save_CFLAGS"
   5433 fi
   5434 
   5435 found="no"
   5436 
   5437 	if test $found = "no" ; then
   5438 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5440 		fi
   5441 
   5442 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5444 		fi
   5445 
   5446 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5447 
   5448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5449 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5450 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5451 		if eval \${$cacheid+:} false; then :
   5452   $as_echo_n "(cached) " >&6
   5453 else
   5454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5455 /* end confdefs.h.  */
   5456 int i;
   5457 int
   5458 main ()
   5459 {
   5460 
   5461   ;
   5462   return 0;
   5463 }
   5464 _ACEOF
   5465 if ac_fn_c_try_link "$LINENO"; then :
   5466   eval $cacheid=yes
   5467 else
   5468   eval $cacheid=no
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext \
   5471     conftest$ac_exeext conftest.$ac_ext
   5472 fi
   5473 
   5474 
   5475 		CFLAGS="$xorg_testset_save_CFLAGS"
   5476 
   5477 		eval supported=\$$cacheid
   5478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5479 $as_echo "$supported" >&6; }
   5480 		if test "$supported" = "yes" ; then
   5481 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5482 			found="yes"
   5483 		fi
   5484 	fi
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 xorg_testset_save_CFLAGS="$CFLAGS"
   5501 
   5502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5507   $as_echo_n "(cached) " >&6
   5508 else
   5509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5510 /* end confdefs.h.  */
   5511 int i;
   5512 _ACEOF
   5513 if ac_fn_c_try_compile "$LINENO"; then :
   5514   xorg_cv_cc_flag_unknown_warning_option=yes
   5515 else
   5516   xorg_cv_cc_flag_unknown_warning_option=no
   5517 fi
   5518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5519 fi
   5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5523 	CFLAGS="$xorg_testset_save_CFLAGS"
   5524 fi
   5525 
   5526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5529 	fi
   5530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 int i;
   5539 _ACEOF
   5540 if ac_fn_c_try_compile "$LINENO"; then :
   5541   xorg_cv_cc_flag_unused_command_line_argument=yes
   5542 else
   5543   xorg_cv_cc_flag_unused_command_line_argument=no
   5544 fi
   5545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5546 fi
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5550 	CFLAGS="$xorg_testset_save_CFLAGS"
   5551 fi
   5552 
   5553 found="no"
   5554 
   5555 	if test $found = "no" ; then
   5556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5558 		fi
   5559 
   5560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5562 		fi
   5563 
   5564 		CFLAGS="$CFLAGS -Wnested-externs"
   5565 
   5566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5567 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5568 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5569 		if eval \${$cacheid+:} false; then :
   5570   $as_echo_n "(cached) " >&6
   5571 else
   5572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5573 /* end confdefs.h.  */
   5574 int i;
   5575 int
   5576 main ()
   5577 {
   5578 
   5579   ;
   5580   return 0;
   5581 }
   5582 _ACEOF
   5583 if ac_fn_c_try_link "$LINENO"; then :
   5584   eval $cacheid=yes
   5585 else
   5586   eval $cacheid=no
   5587 fi
   5588 rm -f core conftest.err conftest.$ac_objext \
   5589     conftest$ac_exeext conftest.$ac_ext
   5590 fi
   5591 
   5592 
   5593 		CFLAGS="$xorg_testset_save_CFLAGS"
   5594 
   5595 		eval supported=\$$cacheid
   5596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5597 $as_echo "$supported" >&6; }
   5598 		if test "$supported" = "yes" ; then
   5599 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5600 			found="yes"
   5601 		fi
   5602 	fi
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 xorg_testset_save_CFLAGS="$CFLAGS"
   5619 
   5620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5625   $as_echo_n "(cached) " >&6
   5626 else
   5627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5628 /* end confdefs.h.  */
   5629 int i;
   5630 _ACEOF
   5631 if ac_fn_c_try_compile "$LINENO"; then :
   5632   xorg_cv_cc_flag_unknown_warning_option=yes
   5633 else
   5634   xorg_cv_cc_flag_unknown_warning_option=no
   5635 fi
   5636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5637 fi
   5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5641 	CFLAGS="$xorg_testset_save_CFLAGS"
   5642 fi
   5643 
   5644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	fi
   5648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5652   $as_echo_n "(cached) " >&6
   5653 else
   5654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5655 /* end confdefs.h.  */
   5656 int i;
   5657 _ACEOF
   5658 if ac_fn_c_try_compile "$LINENO"; then :
   5659   xorg_cv_cc_flag_unused_command_line_argument=yes
   5660 else
   5661   xorg_cv_cc_flag_unused_command_line_argument=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5664 fi
   5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 found="no"
   5672 
   5673 	if test $found = "no" ; then
   5674 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5676 		fi
   5677 
   5678 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5680 		fi
   5681 
   5682 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5683 
   5684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5685 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5686 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5687 		if eval \${$cacheid+:} false; then :
   5688   $as_echo_n "(cached) " >&6
   5689 else
   5690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5691 /* end confdefs.h.  */
   5692 int i;
   5693 int
   5694 main ()
   5695 {
   5696 
   5697   ;
   5698   return 0;
   5699 }
   5700 _ACEOF
   5701 if ac_fn_c_try_link "$LINENO"; then :
   5702   eval $cacheid=yes
   5703 else
   5704   eval $cacheid=no
   5705 fi
   5706 rm -f core conftest.err conftest.$ac_objext \
   5707     conftest$ac_exeext conftest.$ac_ext
   5708 fi
   5709 
   5710 
   5711 		CFLAGS="$xorg_testset_save_CFLAGS"
   5712 
   5713 		eval supported=\$$cacheid
   5714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5715 $as_echo "$supported" >&6; }
   5716 		if test "$supported" = "yes" ; then
   5717 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5718 			found="yes"
   5719 		fi
   5720 	fi
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 xorg_testset_save_CFLAGS="$CFLAGS"
   5737 
   5738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5743   $as_echo_n "(cached) " >&6
   5744 else
   5745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5746 /* end confdefs.h.  */
   5747 int i;
   5748 _ACEOF
   5749 if ac_fn_c_try_compile "$LINENO"; then :
   5750   xorg_cv_cc_flag_unknown_warning_option=yes
   5751 else
   5752   xorg_cv_cc_flag_unknown_warning_option=no
   5753 fi
   5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5755 fi
   5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5759 	CFLAGS="$xorg_testset_save_CFLAGS"
   5760 fi
   5761 
   5762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5765 	fi
   5766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 int i;
   5775 _ACEOF
   5776 if ac_fn_c_try_compile "$LINENO"; then :
   5777   xorg_cv_cc_flag_unused_command_line_argument=yes
   5778 else
   5779   xorg_cv_cc_flag_unused_command_line_argument=no
   5780 fi
   5781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5782 fi
   5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5786 	CFLAGS="$xorg_testset_save_CFLAGS"
   5787 fi
   5788 
   5789 found="no"
   5790 
   5791 	if test $found = "no" ; then
   5792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5794 		fi
   5795 
   5796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5798 		fi
   5799 
   5800 		CFLAGS="$CFLAGS -Wold-style-definition"
   5801 
   5802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5803 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5804 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5805 		if eval \${$cacheid+:} false; then :
   5806   $as_echo_n "(cached) " >&6
   5807 else
   5808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5809 /* end confdefs.h.  */
   5810 int i;
   5811 int
   5812 main ()
   5813 {
   5814 
   5815   ;
   5816   return 0;
   5817 }
   5818 _ACEOF
   5819 if ac_fn_c_try_link "$LINENO"; then :
   5820   eval $cacheid=yes
   5821 else
   5822   eval $cacheid=no
   5823 fi
   5824 rm -f core conftest.err conftest.$ac_objext \
   5825     conftest$ac_exeext conftest.$ac_ext
   5826 fi
   5827 
   5828 
   5829 		CFLAGS="$xorg_testset_save_CFLAGS"
   5830 
   5831 		eval supported=\$$cacheid
   5832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5833 $as_echo "$supported" >&6; }
   5834 		if test "$supported" = "yes" ; then
   5835 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5836 			found="yes"
   5837 		fi
   5838 	fi
   5839 
   5840 	if test $found = "no" ; then
   5841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5843 		fi
   5844 
   5845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5847 		fi
   5848 
   5849 		CFLAGS="$CFLAGS -fd"
   5850 
   5851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5852 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5853 		cacheid=xorg_cv_cc_flag__fd
   5854 		if eval \${$cacheid+:} false; then :
   5855   $as_echo_n "(cached) " >&6
   5856 else
   5857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5858 /* end confdefs.h.  */
   5859 int i;
   5860 int
   5861 main ()
   5862 {
   5863 
   5864   ;
   5865   return 0;
   5866 }
   5867 _ACEOF
   5868 if ac_fn_c_try_link "$LINENO"; then :
   5869   eval $cacheid=yes
   5870 else
   5871   eval $cacheid=no
   5872 fi
   5873 rm -f core conftest.err conftest.$ac_objext \
   5874     conftest$ac_exeext conftest.$ac_ext
   5875 fi
   5876 
   5877 
   5878 		CFLAGS="$xorg_testset_save_CFLAGS"
   5879 
   5880 		eval supported=\$$cacheid
   5881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5882 $as_echo "$supported" >&6; }
   5883 		if test "$supported" = "yes" ; then
   5884 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5885 			found="yes"
   5886 		fi
   5887 	fi
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 xorg_testset_save_CFLAGS="$CFLAGS"
   5904 
   5905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5910   $as_echo_n "(cached) " >&6
   5911 else
   5912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5913 /* end confdefs.h.  */
   5914 int i;
   5915 _ACEOF
   5916 if ac_fn_c_try_compile "$LINENO"; then :
   5917   xorg_cv_cc_flag_unknown_warning_option=yes
   5918 else
   5919   xorg_cv_cc_flag_unknown_warning_option=no
   5920 fi
   5921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5922 fi
   5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5926 	CFLAGS="$xorg_testset_save_CFLAGS"
   5927 fi
   5928 
   5929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5932 	fi
   5933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5937   $as_echo_n "(cached) " >&6
   5938 else
   5939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5940 /* end confdefs.h.  */
   5941 int i;
   5942 _ACEOF
   5943 if ac_fn_c_try_compile "$LINENO"; then :
   5944   xorg_cv_cc_flag_unused_command_line_argument=yes
   5945 else
   5946   xorg_cv_cc_flag_unused_command_line_argument=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5949 fi
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 found="no"
   5957 
   5958 	if test $found = "no" ; then
   5959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 		fi
   5962 
   5963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 		fi
   5966 
   5967 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5968 
   5969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5970 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5971 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5972 		if eval \${$cacheid+:} false; then :
   5973   $as_echo_n "(cached) " >&6
   5974 else
   5975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5976 /* end confdefs.h.  */
   5977 int i;
   5978 int
   5979 main ()
   5980 {
   5981 
   5982   ;
   5983   return 0;
   5984 }
   5985 _ACEOF
   5986 if ac_fn_c_try_link "$LINENO"; then :
   5987   eval $cacheid=yes
   5988 else
   5989   eval $cacheid=no
   5990 fi
   5991 rm -f core conftest.err conftest.$ac_objext \
   5992     conftest$ac_exeext conftest.$ac_ext
   5993 fi
   5994 
   5995 
   5996 		CFLAGS="$xorg_testset_save_CFLAGS"
   5997 
   5998 		eval supported=\$$cacheid
   5999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6000 $as_echo "$supported" >&6; }
   6001 		if test "$supported" = "yes" ; then
   6002 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6003 			found="yes"
   6004 		fi
   6005 	fi
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 # This chunk adds additional warnings that could catch undesired effects.
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 xorg_testset_save_CFLAGS="$CFLAGS"
   6026 
   6027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6032   $as_echo_n "(cached) " >&6
   6033 else
   6034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6035 /* end confdefs.h.  */
   6036 int i;
   6037 _ACEOF
   6038 if ac_fn_c_try_compile "$LINENO"; then :
   6039   xorg_cv_cc_flag_unknown_warning_option=yes
   6040 else
   6041   xorg_cv_cc_flag_unknown_warning_option=no
   6042 fi
   6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6044 fi
   6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6048 	CFLAGS="$xorg_testset_save_CFLAGS"
   6049 fi
   6050 
   6051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6054 	fi
   6055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6062 /* end confdefs.h.  */
   6063 int i;
   6064 _ACEOF
   6065 if ac_fn_c_try_compile "$LINENO"; then :
   6066   xorg_cv_cc_flag_unused_command_line_argument=yes
   6067 else
   6068   xorg_cv_cc_flag_unused_command_line_argument=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6071 fi
   6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6075 	CFLAGS="$xorg_testset_save_CFLAGS"
   6076 fi
   6077 
   6078 found="no"
   6079 
   6080 	if test $found = "no" ; then
   6081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 		fi
   6084 
   6085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6087 		fi
   6088 
   6089 		CFLAGS="$CFLAGS -Wunused"
   6090 
   6091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6092 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6093 		cacheid=xorg_cv_cc_flag__Wunused
   6094 		if eval \${$cacheid+:} false; then :
   6095   $as_echo_n "(cached) " >&6
   6096 else
   6097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6098 /* end confdefs.h.  */
   6099 int i;
   6100 int
   6101 main ()
   6102 {
   6103 
   6104   ;
   6105   return 0;
   6106 }
   6107 _ACEOF
   6108 if ac_fn_c_try_link "$LINENO"; then :
   6109   eval $cacheid=yes
   6110 else
   6111   eval $cacheid=no
   6112 fi
   6113 rm -f core conftest.err conftest.$ac_objext \
   6114     conftest$ac_exeext conftest.$ac_ext
   6115 fi
   6116 
   6117 
   6118 		CFLAGS="$xorg_testset_save_CFLAGS"
   6119 
   6120 		eval supported=\$$cacheid
   6121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6122 $as_echo "$supported" >&6; }
   6123 		if test "$supported" = "yes" ; then
   6124 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6125 			found="yes"
   6126 		fi
   6127 	fi
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 xorg_testset_save_CFLAGS="$CFLAGS"
   6144 
   6145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6150   $as_echo_n "(cached) " >&6
   6151 else
   6152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6153 /* end confdefs.h.  */
   6154 int i;
   6155 _ACEOF
   6156 if ac_fn_c_try_compile "$LINENO"; then :
   6157   xorg_cv_cc_flag_unknown_warning_option=yes
   6158 else
   6159   xorg_cv_cc_flag_unknown_warning_option=no
   6160 fi
   6161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6162 fi
   6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6166 	CFLAGS="$xorg_testset_save_CFLAGS"
   6167 fi
   6168 
   6169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6172 	fi
   6173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"; then :
   6184   xorg_cv_cc_flag_unused_command_line_argument=yes
   6185 else
   6186   xorg_cv_cc_flag_unused_command_line_argument=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6193 	CFLAGS="$xorg_testset_save_CFLAGS"
   6194 fi
   6195 
   6196 found="no"
   6197 
   6198 	if test $found = "no" ; then
   6199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6201 		fi
   6202 
   6203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6205 		fi
   6206 
   6207 		CFLAGS="$CFLAGS -Wuninitialized"
   6208 
   6209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6210 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6211 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6212 		if eval \${$cacheid+:} false; then :
   6213   $as_echo_n "(cached) " >&6
   6214 else
   6215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6216 /* end confdefs.h.  */
   6217 int i;
   6218 int
   6219 main ()
   6220 {
   6221 
   6222   ;
   6223   return 0;
   6224 }
   6225 _ACEOF
   6226 if ac_fn_c_try_link "$LINENO"; then :
   6227   eval $cacheid=yes
   6228 else
   6229   eval $cacheid=no
   6230 fi
   6231 rm -f core conftest.err conftest.$ac_objext \
   6232     conftest$ac_exeext conftest.$ac_ext
   6233 fi
   6234 
   6235 
   6236 		CFLAGS="$xorg_testset_save_CFLAGS"
   6237 
   6238 		eval supported=\$$cacheid
   6239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6240 $as_echo "$supported" >&6; }
   6241 		if test "$supported" = "yes" ; then
   6242 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6243 			found="yes"
   6244 		fi
   6245 	fi
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 xorg_testset_save_CFLAGS="$CFLAGS"
   6262 
   6263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6266 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6267 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6268   $as_echo_n "(cached) " >&6
   6269 else
   6270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6271 /* end confdefs.h.  */
   6272 int i;
   6273 _ACEOF
   6274 if ac_fn_c_try_compile "$LINENO"; then :
   6275   xorg_cv_cc_flag_unknown_warning_option=yes
   6276 else
   6277   xorg_cv_cc_flag_unknown_warning_option=no
   6278 fi
   6279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6280 fi
   6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6282 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6284 	CFLAGS="$xorg_testset_save_CFLAGS"
   6285 fi
   6286 
   6287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6290 	fi
   6291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6293 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6294 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 _ACEOF
   6301 if ac_fn_c_try_compile "$LINENO"; then :
   6302   xorg_cv_cc_flag_unused_command_line_argument=yes
   6303 else
   6304   xorg_cv_cc_flag_unused_command_line_argument=no
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6307 fi
   6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6309 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6311 	CFLAGS="$xorg_testset_save_CFLAGS"
   6312 fi
   6313 
   6314 found="no"
   6315 
   6316 	if test $found = "no" ; then
   6317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6319 		fi
   6320 
   6321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6323 		fi
   6324 
   6325 		CFLAGS="$CFLAGS -Wshadow"
   6326 
   6327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6328 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6329 		cacheid=xorg_cv_cc_flag__Wshadow
   6330 		if eval \${$cacheid+:} false; then :
   6331   $as_echo_n "(cached) " >&6
   6332 else
   6333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6334 /* end confdefs.h.  */
   6335 int i;
   6336 int
   6337 main ()
   6338 {
   6339 
   6340   ;
   6341   return 0;
   6342 }
   6343 _ACEOF
   6344 if ac_fn_c_try_link "$LINENO"; then :
   6345   eval $cacheid=yes
   6346 else
   6347   eval $cacheid=no
   6348 fi
   6349 rm -f core conftest.err conftest.$ac_objext \
   6350     conftest$ac_exeext conftest.$ac_ext
   6351 fi
   6352 
   6353 
   6354 		CFLAGS="$xorg_testset_save_CFLAGS"
   6355 
   6356 		eval supported=\$$cacheid
   6357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6358 $as_echo "$supported" >&6; }
   6359 		if test "$supported" = "yes" ; then
   6360 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6361 			found="yes"
   6362 		fi
   6363 	fi
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 xorg_testset_save_CFLAGS="$CFLAGS"
   6380 
   6381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6384 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6385 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6386   $as_echo_n "(cached) " >&6
   6387 else
   6388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6389 /* end confdefs.h.  */
   6390 int i;
   6391 _ACEOF
   6392 if ac_fn_c_try_compile "$LINENO"; then :
   6393   xorg_cv_cc_flag_unknown_warning_option=yes
   6394 else
   6395   xorg_cv_cc_flag_unknown_warning_option=no
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6398 fi
   6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6400 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6402 	CFLAGS="$xorg_testset_save_CFLAGS"
   6403 fi
   6404 
   6405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6408 	fi
   6409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6411 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6412 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6413   $as_echo_n "(cached) " >&6
   6414 else
   6415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6416 /* end confdefs.h.  */
   6417 int i;
   6418 _ACEOF
   6419 if ac_fn_c_try_compile "$LINENO"; then :
   6420   xorg_cv_cc_flag_unused_command_line_argument=yes
   6421 else
   6422   xorg_cv_cc_flag_unused_command_line_argument=no
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6425 fi
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6427 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6429 	CFLAGS="$xorg_testset_save_CFLAGS"
   6430 fi
   6431 
   6432 found="no"
   6433 
   6434 	if test $found = "no" ; then
   6435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6437 		fi
   6438 
   6439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6441 		fi
   6442 
   6443 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6444 
   6445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6446 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6447 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6448 		if eval \${$cacheid+:} false; then :
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 int i;
   6454 int
   6455 main ()
   6456 {
   6457 
   6458   ;
   6459   return 0;
   6460 }
   6461 _ACEOF
   6462 if ac_fn_c_try_link "$LINENO"; then :
   6463   eval $cacheid=yes
   6464 else
   6465   eval $cacheid=no
   6466 fi
   6467 rm -f core conftest.err conftest.$ac_objext \
   6468     conftest$ac_exeext conftest.$ac_ext
   6469 fi
   6470 
   6471 
   6472 		CFLAGS="$xorg_testset_save_CFLAGS"
   6473 
   6474 		eval supported=\$$cacheid
   6475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6476 $as_echo "$supported" >&6; }
   6477 		if test "$supported" = "yes" ; then
   6478 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6479 			found="yes"
   6480 		fi
   6481 	fi
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 xorg_testset_save_CFLAGS="$CFLAGS"
   6498 
   6499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6502 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6503 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6507 /* end confdefs.h.  */
   6508 int i;
   6509 _ACEOF
   6510 if ac_fn_c_try_compile "$LINENO"; then :
   6511   xorg_cv_cc_flag_unknown_warning_option=yes
   6512 else
   6513   xorg_cv_cc_flag_unknown_warning_option=no
   6514 fi
   6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6516 fi
   6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6518 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6520 	CFLAGS="$xorg_testset_save_CFLAGS"
   6521 fi
   6522 
   6523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6526 	fi
   6527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6529 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6530 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6534 /* end confdefs.h.  */
   6535 int i;
   6536 _ACEOF
   6537 if ac_fn_c_try_compile "$LINENO"; then :
   6538   xorg_cv_cc_flag_unused_command_line_argument=yes
   6539 else
   6540   xorg_cv_cc_flag_unused_command_line_argument=no
   6541 fi
   6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6543 fi
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6545 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6547 	CFLAGS="$xorg_testset_save_CFLAGS"
   6548 fi
   6549 
   6550 found="no"
   6551 
   6552 	if test $found = "no" ; then
   6553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6555 		fi
   6556 
   6557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6559 		fi
   6560 
   6561 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6562 
   6563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6564 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6565 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6566 		if eval \${$cacheid+:} false; then :
   6567   $as_echo_n "(cached) " >&6
   6568 else
   6569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6570 /* end confdefs.h.  */
   6571 int i;
   6572 int
   6573 main ()
   6574 {
   6575 
   6576   ;
   6577   return 0;
   6578 }
   6579 _ACEOF
   6580 if ac_fn_c_try_link "$LINENO"; then :
   6581   eval $cacheid=yes
   6582 else
   6583   eval $cacheid=no
   6584 fi
   6585 rm -f core conftest.err conftest.$ac_objext \
   6586     conftest$ac_exeext conftest.$ac_ext
   6587 fi
   6588 
   6589 
   6590 		CFLAGS="$xorg_testset_save_CFLAGS"
   6591 
   6592 		eval supported=\$$cacheid
   6593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6594 $as_echo "$supported" >&6; }
   6595 		if test "$supported" = "yes" ; then
   6596 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6597 			found="yes"
   6598 		fi
   6599 	fi
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 xorg_testset_save_CFLAGS="$CFLAGS"
   6616 
   6617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6620 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6621 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6622   $as_echo_n "(cached) " >&6
   6623 else
   6624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6625 /* end confdefs.h.  */
   6626 int i;
   6627 _ACEOF
   6628 if ac_fn_c_try_compile "$LINENO"; then :
   6629   xorg_cv_cc_flag_unknown_warning_option=yes
   6630 else
   6631   xorg_cv_cc_flag_unknown_warning_option=no
   6632 fi
   6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6634 fi
   6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6636 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6638 	CFLAGS="$xorg_testset_save_CFLAGS"
   6639 fi
   6640 
   6641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6644 	fi
   6645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6647 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6648 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"; then :
   6656   xorg_cv_cc_flag_unused_command_line_argument=yes
   6657 else
   6658   xorg_cv_cc_flag_unused_command_line_argument=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6661 fi
   6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6663 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6665 	CFLAGS="$xorg_testset_save_CFLAGS"
   6666 fi
   6667 
   6668 found="no"
   6669 
   6670 	if test $found = "no" ; then
   6671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6673 		fi
   6674 
   6675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 		fi
   6678 
   6679 		CFLAGS="$CFLAGS -Wredundant-decls"
   6680 
   6681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6682 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6683 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6684 		if eval \${$cacheid+:} false; then :
   6685   $as_echo_n "(cached) " >&6
   6686 else
   6687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6688 /* end confdefs.h.  */
   6689 int i;
   6690 int
   6691 main ()
   6692 {
   6693 
   6694   ;
   6695   return 0;
   6696 }
   6697 _ACEOF
   6698 if ac_fn_c_try_link "$LINENO"; then :
   6699   eval $cacheid=yes
   6700 else
   6701   eval $cacheid=no
   6702 fi
   6703 rm -f core conftest.err conftest.$ac_objext \
   6704     conftest$ac_exeext conftest.$ac_ext
   6705 fi
   6706 
   6707 
   6708 		CFLAGS="$xorg_testset_save_CFLAGS"
   6709 
   6710 		eval supported=\$$cacheid
   6711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6712 $as_echo "$supported" >&6; }
   6713 		if test "$supported" = "yes" ; then
   6714 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6715 			found="yes"
   6716 		fi
   6717 	fi
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 xorg_testset_save_CFLAGS="$CFLAGS"
   6734 
   6735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6738 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6739 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6740   $as_echo_n "(cached) " >&6
   6741 else
   6742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6743 /* end confdefs.h.  */
   6744 int i;
   6745 _ACEOF
   6746 if ac_fn_c_try_compile "$LINENO"; then :
   6747   xorg_cv_cc_flag_unknown_warning_option=yes
   6748 else
   6749   xorg_cv_cc_flag_unknown_warning_option=no
   6750 fi
   6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6752 fi
   6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6754 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6755 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6756 	CFLAGS="$xorg_testset_save_CFLAGS"
   6757 fi
   6758 
   6759 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6760 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6761 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6762 	fi
   6763 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6765 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6766 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6767   $as_echo_n "(cached) " >&6
   6768 else
   6769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6770 /* end confdefs.h.  */
   6771 int i;
   6772 _ACEOF
   6773 if ac_fn_c_try_compile "$LINENO"; then :
   6774   xorg_cv_cc_flag_unused_command_line_argument=yes
   6775 else
   6776   xorg_cv_cc_flag_unused_command_line_argument=no
   6777 fi
   6778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6779 fi
   6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6781 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6783 	CFLAGS="$xorg_testset_save_CFLAGS"
   6784 fi
   6785 
   6786 found="no"
   6787 
   6788 	if test $found = "no" ; then
   6789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6791 		fi
   6792 
   6793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6795 		fi
   6796 
   6797 		CFLAGS="$CFLAGS -Wlogical-op"
   6798 
   6799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6800 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6801 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6802 		if eval \${$cacheid+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6806 /* end confdefs.h.  */
   6807 int i;
   6808 int
   6809 main ()
   6810 {
   6811 
   6812   ;
   6813   return 0;
   6814 }
   6815 _ACEOF
   6816 if ac_fn_c_try_link "$LINENO"; then :
   6817   eval $cacheid=yes
   6818 else
   6819   eval $cacheid=no
   6820 fi
   6821 rm -f core conftest.err conftest.$ac_objext \
   6822     conftest$ac_exeext conftest.$ac_ext
   6823 fi
   6824 
   6825 
   6826 		CFLAGS="$xorg_testset_save_CFLAGS"
   6827 
   6828 		eval supported=\$$cacheid
   6829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6830 $as_echo "$supported" >&6; }
   6831 		if test "$supported" = "yes" ; then
   6832 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6833 			found="yes"
   6834 		fi
   6835 	fi
   6836 
   6837 
   6838 
   6839 # These are currently disabled because they are noisy.  They will be enabled
   6840 # in the future once the codebase is sufficiently modernized to silence
   6841 # them.  For now, I don't want them to drown out the other warnings.
   6842 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6843 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6844 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6845 
   6846 # Turn some warnings into errors, so we don't accidently get successful builds
   6847 # when there are problems that should be fixed.
   6848 
   6849 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 xorg_testset_save_CFLAGS="$CFLAGS"
   6864 
   6865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6870   $as_echo_n "(cached) " >&6
   6871 else
   6872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6873 /* end confdefs.h.  */
   6874 int i;
   6875 _ACEOF
   6876 if ac_fn_c_try_compile "$LINENO"; then :
   6877   xorg_cv_cc_flag_unknown_warning_option=yes
   6878 else
   6879   xorg_cv_cc_flag_unknown_warning_option=no
   6880 fi
   6881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6882 fi
   6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6886 	CFLAGS="$xorg_testset_save_CFLAGS"
   6887 fi
   6888 
   6889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6892 	fi
   6893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6897   $as_echo_n "(cached) " >&6
   6898 else
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 int i;
   6902 _ACEOF
   6903 if ac_fn_c_try_compile "$LINENO"; then :
   6904   xorg_cv_cc_flag_unused_command_line_argument=yes
   6905 else
   6906   xorg_cv_cc_flag_unused_command_line_argument=no
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6909 fi
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6913 	CFLAGS="$xorg_testset_save_CFLAGS"
   6914 fi
   6915 
   6916 found="no"
   6917 
   6918 	if test $found = "no" ; then
   6919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 		fi
   6922 
   6923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 		fi
   6926 
   6927 		CFLAGS="$CFLAGS -Werror=implicit"
   6928 
   6929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6930 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6931 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6932 		if eval \${$cacheid+:} false; then :
   6933   $as_echo_n "(cached) " >&6
   6934 else
   6935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6936 /* end confdefs.h.  */
   6937 int i;
   6938 int
   6939 main ()
   6940 {
   6941 
   6942   ;
   6943   return 0;
   6944 }
   6945 _ACEOF
   6946 if ac_fn_c_try_link "$LINENO"; then :
   6947   eval $cacheid=yes
   6948 else
   6949   eval $cacheid=no
   6950 fi
   6951 rm -f core conftest.err conftest.$ac_objext \
   6952     conftest$ac_exeext conftest.$ac_ext
   6953 fi
   6954 
   6955 
   6956 		CFLAGS="$xorg_testset_save_CFLAGS"
   6957 
   6958 		eval supported=\$$cacheid
   6959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6960 $as_echo "$supported" >&6; }
   6961 		if test "$supported" = "yes" ; then
   6962 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6963 			found="yes"
   6964 		fi
   6965 	fi
   6966 
   6967 	if test $found = "no" ; then
   6968 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6970 		fi
   6971 
   6972 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6974 		fi
   6975 
   6976 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6977 
   6978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6979 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6980 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6981 		if eval \${$cacheid+:} false; then :
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6985 /* end confdefs.h.  */
   6986 int i;
   6987 int
   6988 main ()
   6989 {
   6990 
   6991   ;
   6992   return 0;
   6993 }
   6994 _ACEOF
   6995 if ac_fn_c_try_link "$LINENO"; then :
   6996   eval $cacheid=yes
   6997 else
   6998   eval $cacheid=no
   6999 fi
   7000 rm -f core conftest.err conftest.$ac_objext \
   7001     conftest$ac_exeext conftest.$ac_ext
   7002 fi
   7003 
   7004 
   7005 		CFLAGS="$xorg_testset_save_CFLAGS"
   7006 
   7007 		eval supported=\$$cacheid
   7008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7009 $as_echo "$supported" >&6; }
   7010 		if test "$supported" = "yes" ; then
   7011 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7012 			found="yes"
   7013 		fi
   7014 	fi
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 xorg_testset_save_CFLAGS="$CFLAGS"
   7031 
   7032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7037   $as_echo_n "(cached) " >&6
   7038 else
   7039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7040 /* end confdefs.h.  */
   7041 int i;
   7042 _ACEOF
   7043 if ac_fn_c_try_compile "$LINENO"; then :
   7044   xorg_cv_cc_flag_unknown_warning_option=yes
   7045 else
   7046   xorg_cv_cc_flag_unknown_warning_option=no
   7047 fi
   7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7049 fi
   7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7053 	CFLAGS="$xorg_testset_save_CFLAGS"
   7054 fi
   7055 
   7056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7059 	fi
   7060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 _ACEOF
   7070 if ac_fn_c_try_compile "$LINENO"; then :
   7071   xorg_cv_cc_flag_unused_command_line_argument=yes
   7072 else
   7073   xorg_cv_cc_flag_unused_command_line_argument=no
   7074 fi
   7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7076 fi
   7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7080 	CFLAGS="$xorg_testset_save_CFLAGS"
   7081 fi
   7082 
   7083 found="no"
   7084 
   7085 	if test $found = "no" ; then
   7086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7088 		fi
   7089 
   7090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7092 		fi
   7093 
   7094 		CFLAGS="$CFLAGS -Werror=nonnull"
   7095 
   7096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7097 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7098 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7099 		if eval \${$cacheid+:} false; then :
   7100   $as_echo_n "(cached) " >&6
   7101 else
   7102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 int i;
   7105 int
   7106 main ()
   7107 {
   7108 
   7109   ;
   7110   return 0;
   7111 }
   7112 _ACEOF
   7113 if ac_fn_c_try_link "$LINENO"; then :
   7114   eval $cacheid=yes
   7115 else
   7116   eval $cacheid=no
   7117 fi
   7118 rm -f core conftest.err conftest.$ac_objext \
   7119     conftest$ac_exeext conftest.$ac_ext
   7120 fi
   7121 
   7122 
   7123 		CFLAGS="$xorg_testset_save_CFLAGS"
   7124 
   7125 		eval supported=\$$cacheid
   7126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7127 $as_echo "$supported" >&6; }
   7128 		if test "$supported" = "yes" ; then
   7129 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7130 			found="yes"
   7131 		fi
   7132 	fi
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 xorg_testset_save_CFLAGS="$CFLAGS"
   7149 
   7150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7155   $as_echo_n "(cached) " >&6
   7156 else
   7157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7158 /* end confdefs.h.  */
   7159 int i;
   7160 _ACEOF
   7161 if ac_fn_c_try_compile "$LINENO"; then :
   7162   xorg_cv_cc_flag_unknown_warning_option=yes
   7163 else
   7164   xorg_cv_cc_flag_unknown_warning_option=no
   7165 fi
   7166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7167 fi
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7171 	CFLAGS="$xorg_testset_save_CFLAGS"
   7172 fi
   7173 
   7174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7177 	fi
   7178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"; then :
   7189   xorg_cv_cc_flag_unused_command_line_argument=yes
   7190 else
   7191   xorg_cv_cc_flag_unused_command_line_argument=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7194 fi
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7198 	CFLAGS="$xorg_testset_save_CFLAGS"
   7199 fi
   7200 
   7201 found="no"
   7202 
   7203 	if test $found = "no" ; then
   7204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7206 		fi
   7207 
   7208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7210 		fi
   7211 
   7212 		CFLAGS="$CFLAGS -Werror=init-self"
   7213 
   7214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7215 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7216 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7217 		if eval \${$cacheid+:} false; then :
   7218   $as_echo_n "(cached) " >&6
   7219 else
   7220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7221 /* end confdefs.h.  */
   7222 int i;
   7223 int
   7224 main ()
   7225 {
   7226 
   7227   ;
   7228   return 0;
   7229 }
   7230 _ACEOF
   7231 if ac_fn_c_try_link "$LINENO"; then :
   7232   eval $cacheid=yes
   7233 else
   7234   eval $cacheid=no
   7235 fi
   7236 rm -f core conftest.err conftest.$ac_objext \
   7237     conftest$ac_exeext conftest.$ac_ext
   7238 fi
   7239 
   7240 
   7241 		CFLAGS="$xorg_testset_save_CFLAGS"
   7242 
   7243 		eval supported=\$$cacheid
   7244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7245 $as_echo "$supported" >&6; }
   7246 		if test "$supported" = "yes" ; then
   7247 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7248 			found="yes"
   7249 		fi
   7250 	fi
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 xorg_testset_save_CFLAGS="$CFLAGS"
   7267 
   7268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7271 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7272 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7273   $as_echo_n "(cached) " >&6
   7274 else
   7275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7276 /* end confdefs.h.  */
   7277 int i;
   7278 _ACEOF
   7279 if ac_fn_c_try_compile "$LINENO"; then :
   7280   xorg_cv_cc_flag_unknown_warning_option=yes
   7281 else
   7282   xorg_cv_cc_flag_unknown_warning_option=no
   7283 fi
   7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7285 fi
   7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7287 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7289 	CFLAGS="$xorg_testset_save_CFLAGS"
   7290 fi
   7291 
   7292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7295 	fi
   7296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7298 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7299 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 _ACEOF
   7306 if ac_fn_c_try_compile "$LINENO"; then :
   7307   xorg_cv_cc_flag_unused_command_line_argument=yes
   7308 else
   7309   xorg_cv_cc_flag_unused_command_line_argument=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7312 fi
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7314 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7316 	CFLAGS="$xorg_testset_save_CFLAGS"
   7317 fi
   7318 
   7319 found="no"
   7320 
   7321 	if test $found = "no" ; then
   7322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7324 		fi
   7325 
   7326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7328 		fi
   7329 
   7330 		CFLAGS="$CFLAGS -Werror=main"
   7331 
   7332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7333 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7334 		cacheid=xorg_cv_cc_flag__Werror_main
   7335 		if eval \${$cacheid+:} false; then :
   7336   $as_echo_n "(cached) " >&6
   7337 else
   7338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 int i;
   7341 int
   7342 main ()
   7343 {
   7344 
   7345   ;
   7346   return 0;
   7347 }
   7348 _ACEOF
   7349 if ac_fn_c_try_link "$LINENO"; then :
   7350   eval $cacheid=yes
   7351 else
   7352   eval $cacheid=no
   7353 fi
   7354 rm -f core conftest.err conftest.$ac_objext \
   7355     conftest$ac_exeext conftest.$ac_ext
   7356 fi
   7357 
   7358 
   7359 		CFLAGS="$xorg_testset_save_CFLAGS"
   7360 
   7361 		eval supported=\$$cacheid
   7362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7363 $as_echo "$supported" >&6; }
   7364 		if test "$supported" = "yes" ; then
   7365 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7366 			found="yes"
   7367 		fi
   7368 	fi
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 xorg_testset_save_CFLAGS="$CFLAGS"
   7385 
   7386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7391   $as_echo_n "(cached) " >&6
   7392 else
   7393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7394 /* end confdefs.h.  */
   7395 int i;
   7396 _ACEOF
   7397 if ac_fn_c_try_compile "$LINENO"; then :
   7398   xorg_cv_cc_flag_unknown_warning_option=yes
   7399 else
   7400   xorg_cv_cc_flag_unknown_warning_option=no
   7401 fi
   7402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7403 fi
   7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7407 	CFLAGS="$xorg_testset_save_CFLAGS"
   7408 fi
   7409 
   7410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7413 	fi
   7414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7421 /* end confdefs.h.  */
   7422 int i;
   7423 _ACEOF
   7424 if ac_fn_c_try_compile "$LINENO"; then :
   7425   xorg_cv_cc_flag_unused_command_line_argument=yes
   7426 else
   7427   xorg_cv_cc_flag_unused_command_line_argument=no
   7428 fi
   7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7430 fi
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7434 	CFLAGS="$xorg_testset_save_CFLAGS"
   7435 fi
   7436 
   7437 found="no"
   7438 
   7439 	if test $found = "no" ; then
   7440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7442 		fi
   7443 
   7444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7446 		fi
   7447 
   7448 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7449 
   7450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7451 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7452 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7453 		if eval \${$cacheid+:} false; then :
   7454   $as_echo_n "(cached) " >&6
   7455 else
   7456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7457 /* end confdefs.h.  */
   7458 int i;
   7459 int
   7460 main ()
   7461 {
   7462 
   7463   ;
   7464   return 0;
   7465 }
   7466 _ACEOF
   7467 if ac_fn_c_try_link "$LINENO"; then :
   7468   eval $cacheid=yes
   7469 else
   7470   eval $cacheid=no
   7471 fi
   7472 rm -f core conftest.err conftest.$ac_objext \
   7473     conftest$ac_exeext conftest.$ac_ext
   7474 fi
   7475 
   7476 
   7477 		CFLAGS="$xorg_testset_save_CFLAGS"
   7478 
   7479 		eval supported=\$$cacheid
   7480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7481 $as_echo "$supported" >&6; }
   7482 		if test "$supported" = "yes" ; then
   7483 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7484 			found="yes"
   7485 		fi
   7486 	fi
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 xorg_testset_save_CFLAGS="$CFLAGS"
   7503 
   7504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7509   $as_echo_n "(cached) " >&6
   7510 else
   7511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7512 /* end confdefs.h.  */
   7513 int i;
   7514 _ACEOF
   7515 if ac_fn_c_try_compile "$LINENO"; then :
   7516   xorg_cv_cc_flag_unknown_warning_option=yes
   7517 else
   7518   xorg_cv_cc_flag_unknown_warning_option=no
   7519 fi
   7520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7521 fi
   7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7525 	CFLAGS="$xorg_testset_save_CFLAGS"
   7526 fi
   7527 
   7528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7531 	fi
   7532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7536   $as_echo_n "(cached) " >&6
   7537 else
   7538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7539 /* end confdefs.h.  */
   7540 int i;
   7541 _ACEOF
   7542 if ac_fn_c_try_compile "$LINENO"; then :
   7543   xorg_cv_cc_flag_unused_command_line_argument=yes
   7544 else
   7545   xorg_cv_cc_flag_unused_command_line_argument=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7552 	CFLAGS="$xorg_testset_save_CFLAGS"
   7553 fi
   7554 
   7555 found="no"
   7556 
   7557 	if test $found = "no" ; then
   7558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 		fi
   7561 
   7562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7564 		fi
   7565 
   7566 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7567 
   7568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7569 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7570 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7571 		if eval \${$cacheid+:} false; then :
   7572   $as_echo_n "(cached) " >&6
   7573 else
   7574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7575 /* end confdefs.h.  */
   7576 int i;
   7577 int
   7578 main ()
   7579 {
   7580 
   7581   ;
   7582   return 0;
   7583 }
   7584 _ACEOF
   7585 if ac_fn_c_try_link "$LINENO"; then :
   7586   eval $cacheid=yes
   7587 else
   7588   eval $cacheid=no
   7589 fi
   7590 rm -f core conftest.err conftest.$ac_objext \
   7591     conftest$ac_exeext conftest.$ac_ext
   7592 fi
   7593 
   7594 
   7595 		CFLAGS="$xorg_testset_save_CFLAGS"
   7596 
   7597 		eval supported=\$$cacheid
   7598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7599 $as_echo "$supported" >&6; }
   7600 		if test "$supported" = "yes" ; then
   7601 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7602 			found="yes"
   7603 		fi
   7604 	fi
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 xorg_testset_save_CFLAGS="$CFLAGS"
   7621 
   7622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7625 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7626 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7627   $as_echo_n "(cached) " >&6
   7628 else
   7629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7630 /* end confdefs.h.  */
   7631 int i;
   7632 _ACEOF
   7633 if ac_fn_c_try_compile "$LINENO"; then :
   7634   xorg_cv_cc_flag_unknown_warning_option=yes
   7635 else
   7636   xorg_cv_cc_flag_unknown_warning_option=no
   7637 fi
   7638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7639 fi
   7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7641 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7643 	CFLAGS="$xorg_testset_save_CFLAGS"
   7644 fi
   7645 
   7646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7649 	fi
   7650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7653 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7654   $as_echo_n "(cached) " >&6
   7655 else
   7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 int i;
   7659 _ACEOF
   7660 if ac_fn_c_try_compile "$LINENO"; then :
   7661   xorg_cv_cc_flag_unused_command_line_argument=yes
   7662 else
   7663   xorg_cv_cc_flag_unused_command_line_argument=no
   7664 fi
   7665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7666 fi
   7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7668 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7670 	CFLAGS="$xorg_testset_save_CFLAGS"
   7671 fi
   7672 
   7673 found="no"
   7674 
   7675 	if test $found = "no" ; then
   7676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7678 		fi
   7679 
   7680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7682 		fi
   7683 
   7684 		CFLAGS="$CFLAGS -Werror=return-type"
   7685 
   7686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7687 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7688 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7689 		if eval \${$cacheid+:} false; then :
   7690   $as_echo_n "(cached) " >&6
   7691 else
   7692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7693 /* end confdefs.h.  */
   7694 int i;
   7695 int
   7696 main ()
   7697 {
   7698 
   7699   ;
   7700   return 0;
   7701 }
   7702 _ACEOF
   7703 if ac_fn_c_try_link "$LINENO"; then :
   7704   eval $cacheid=yes
   7705 else
   7706   eval $cacheid=no
   7707 fi
   7708 rm -f core conftest.err conftest.$ac_objext \
   7709     conftest$ac_exeext conftest.$ac_ext
   7710 fi
   7711 
   7712 
   7713 		CFLAGS="$xorg_testset_save_CFLAGS"
   7714 
   7715 		eval supported=\$$cacheid
   7716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7717 $as_echo "$supported" >&6; }
   7718 		if test "$supported" = "yes" ; then
   7719 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7720 			found="yes"
   7721 		fi
   7722 	fi
   7723 
   7724 	if test $found = "no" ; then
   7725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7727 		fi
   7728 
   7729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7731 		fi
   7732 
   7733 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7734 
   7735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7736 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7737 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7738 		if eval \${$cacheid+:} false; then :
   7739   $as_echo_n "(cached) " >&6
   7740 else
   7741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7742 /* end confdefs.h.  */
   7743 int i;
   7744 int
   7745 main ()
   7746 {
   7747 
   7748   ;
   7749   return 0;
   7750 }
   7751 _ACEOF
   7752 if ac_fn_c_try_link "$LINENO"; then :
   7753   eval $cacheid=yes
   7754 else
   7755   eval $cacheid=no
   7756 fi
   7757 rm -f core conftest.err conftest.$ac_objext \
   7758     conftest$ac_exeext conftest.$ac_ext
   7759 fi
   7760 
   7761 
   7762 		CFLAGS="$xorg_testset_save_CFLAGS"
   7763 
   7764 		eval supported=\$$cacheid
   7765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7766 $as_echo "$supported" >&6; }
   7767 		if test "$supported" = "yes" ; then
   7768 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7769 			found="yes"
   7770 		fi
   7771 	fi
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 xorg_testset_save_CFLAGS="$CFLAGS"
   7788 
   7789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7794   $as_echo_n "(cached) " >&6
   7795 else
   7796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7797 /* end confdefs.h.  */
   7798 int i;
   7799 _ACEOF
   7800 if ac_fn_c_try_compile "$LINENO"; then :
   7801   xorg_cv_cc_flag_unknown_warning_option=yes
   7802 else
   7803   xorg_cv_cc_flag_unknown_warning_option=no
   7804 fi
   7805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7806 fi
   7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7810 	CFLAGS="$xorg_testset_save_CFLAGS"
   7811 fi
   7812 
   7813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7816 	fi
   7817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7821   $as_echo_n "(cached) " >&6
   7822 else
   7823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7824 /* end confdefs.h.  */
   7825 int i;
   7826 _ACEOF
   7827 if ac_fn_c_try_compile "$LINENO"; then :
   7828   xorg_cv_cc_flag_unused_command_line_argument=yes
   7829 else
   7830   xorg_cv_cc_flag_unused_command_line_argument=no
   7831 fi
   7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7833 fi
   7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7837 	CFLAGS="$xorg_testset_save_CFLAGS"
   7838 fi
   7839 
   7840 found="no"
   7841 
   7842 	if test $found = "no" ; then
   7843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7845 		fi
   7846 
   7847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7849 		fi
   7850 
   7851 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7852 
   7853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7854 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7855 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7856 		if eval \${$cacheid+:} false; then :
   7857   $as_echo_n "(cached) " >&6
   7858 else
   7859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7860 /* end confdefs.h.  */
   7861 int i;
   7862 int
   7863 main ()
   7864 {
   7865 
   7866   ;
   7867   return 0;
   7868 }
   7869 _ACEOF
   7870 if ac_fn_c_try_link "$LINENO"; then :
   7871   eval $cacheid=yes
   7872 else
   7873   eval $cacheid=no
   7874 fi
   7875 rm -f core conftest.err conftest.$ac_objext \
   7876     conftest$ac_exeext conftest.$ac_ext
   7877 fi
   7878 
   7879 
   7880 		CFLAGS="$xorg_testset_save_CFLAGS"
   7881 
   7882 		eval supported=\$$cacheid
   7883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7884 $as_echo "$supported" >&6; }
   7885 		if test "$supported" = "yes" ; then
   7886 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7887 			found="yes"
   7888 		fi
   7889 	fi
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 xorg_testset_save_CFLAGS="$CFLAGS"
   7906 
   7907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7912   $as_echo_n "(cached) " >&6
   7913 else
   7914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7915 /* end confdefs.h.  */
   7916 int i;
   7917 _ACEOF
   7918 if ac_fn_c_try_compile "$LINENO"; then :
   7919   xorg_cv_cc_flag_unknown_warning_option=yes
   7920 else
   7921   xorg_cv_cc_flag_unknown_warning_option=no
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7924 fi
   7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7928 	CFLAGS="$xorg_testset_save_CFLAGS"
   7929 fi
   7930 
   7931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7934 	fi
   7935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7939   $as_echo_n "(cached) " >&6
   7940 else
   7941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7942 /* end confdefs.h.  */
   7943 int i;
   7944 _ACEOF
   7945 if ac_fn_c_try_compile "$LINENO"; then :
   7946   xorg_cv_cc_flag_unused_command_line_argument=yes
   7947 else
   7948   xorg_cv_cc_flag_unused_command_line_argument=no
   7949 fi
   7950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7951 fi
   7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 found="no"
   7959 
   7960 	if test $found = "no" ; then
   7961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7963 		fi
   7964 
   7965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7967 		fi
   7968 
   7969 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7970 
   7971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7972 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7973 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7974 		if eval \${$cacheid+:} false; then :
   7975   $as_echo_n "(cached) " >&6
   7976 else
   7977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7978 /* end confdefs.h.  */
   7979 int i;
   7980 int
   7981 main ()
   7982 {
   7983 
   7984   ;
   7985   return 0;
   7986 }
   7987 _ACEOF
   7988 if ac_fn_c_try_link "$LINENO"; then :
   7989   eval $cacheid=yes
   7990 else
   7991   eval $cacheid=no
   7992 fi
   7993 rm -f core conftest.err conftest.$ac_objext \
   7994     conftest$ac_exeext conftest.$ac_ext
   7995 fi
   7996 
   7997 
   7998 		CFLAGS="$xorg_testset_save_CFLAGS"
   7999 
   8000 		eval supported=\$$cacheid
   8001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8002 $as_echo "$supported" >&6; }
   8003 		if test "$supported" = "yes" ; then
   8004 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8005 			found="yes"
   8006 		fi
   8007 	fi
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 xorg_testset_save_CFLAGS="$CFLAGS"
   8024 
   8025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8030   $as_echo_n "(cached) " >&6
   8031 else
   8032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8033 /* end confdefs.h.  */
   8034 int i;
   8035 _ACEOF
   8036 if ac_fn_c_try_compile "$LINENO"; then :
   8037   xorg_cv_cc_flag_unknown_warning_option=yes
   8038 else
   8039   xorg_cv_cc_flag_unknown_warning_option=no
   8040 fi
   8041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8042 fi
   8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8046 	CFLAGS="$xorg_testset_save_CFLAGS"
   8047 fi
   8048 
   8049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8052 	fi
   8053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8057   $as_echo_n "(cached) " >&6
   8058 else
   8059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8060 /* end confdefs.h.  */
   8061 int i;
   8062 _ACEOF
   8063 if ac_fn_c_try_compile "$LINENO"; then :
   8064   xorg_cv_cc_flag_unused_command_line_argument=yes
   8065 else
   8066   xorg_cv_cc_flag_unused_command_line_argument=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8069 fi
   8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8073 	CFLAGS="$xorg_testset_save_CFLAGS"
   8074 fi
   8075 
   8076 found="no"
   8077 
   8078 	if test $found = "no" ; then
   8079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8081 		fi
   8082 
   8083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8085 		fi
   8086 
   8087 		CFLAGS="$CFLAGS -Werror=write-strings"
   8088 
   8089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8090 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8091 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8092 		if eval \${$cacheid+:} false; then :
   8093   $as_echo_n "(cached) " >&6
   8094 else
   8095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8096 /* end confdefs.h.  */
   8097 int i;
   8098 int
   8099 main ()
   8100 {
   8101 
   8102   ;
   8103   return 0;
   8104 }
   8105 _ACEOF
   8106 if ac_fn_c_try_link "$LINENO"; then :
   8107   eval $cacheid=yes
   8108 else
   8109   eval $cacheid=no
   8110 fi
   8111 rm -f core conftest.err conftest.$ac_objext \
   8112     conftest$ac_exeext conftest.$ac_ext
   8113 fi
   8114 
   8115 
   8116 		CFLAGS="$xorg_testset_save_CFLAGS"
   8117 
   8118 		eval supported=\$$cacheid
   8119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8120 $as_echo "$supported" >&6; }
   8121 		if test "$supported" = "yes" ; then
   8122 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8123 			found="yes"
   8124 		fi
   8125 	fi
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 xorg_testset_save_CFLAGS="$CFLAGS"
   8142 
   8143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8148   $as_echo_n "(cached) " >&6
   8149 else
   8150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8151 /* end confdefs.h.  */
   8152 int i;
   8153 _ACEOF
   8154 if ac_fn_c_try_compile "$LINENO"; then :
   8155   xorg_cv_cc_flag_unknown_warning_option=yes
   8156 else
   8157   xorg_cv_cc_flag_unknown_warning_option=no
   8158 fi
   8159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8160 fi
   8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8164 	CFLAGS="$xorg_testset_save_CFLAGS"
   8165 fi
   8166 
   8167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8170 	fi
   8171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8175   $as_echo_n "(cached) " >&6
   8176 else
   8177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8178 /* end confdefs.h.  */
   8179 int i;
   8180 _ACEOF
   8181 if ac_fn_c_try_compile "$LINENO"; then :
   8182   xorg_cv_cc_flag_unused_command_line_argument=yes
   8183 else
   8184   xorg_cv_cc_flag_unused_command_line_argument=no
   8185 fi
   8186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8187 fi
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8191 	CFLAGS="$xorg_testset_save_CFLAGS"
   8192 fi
   8193 
   8194 found="no"
   8195 
   8196 	if test $found = "no" ; then
   8197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 		fi
   8200 
   8201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8203 		fi
   8204 
   8205 		CFLAGS="$CFLAGS -Werror=address"
   8206 
   8207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8208 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8209 		cacheid=xorg_cv_cc_flag__Werror_address
   8210 		if eval \${$cacheid+:} false; then :
   8211   $as_echo_n "(cached) " >&6
   8212 else
   8213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8214 /* end confdefs.h.  */
   8215 int i;
   8216 int
   8217 main ()
   8218 {
   8219 
   8220   ;
   8221   return 0;
   8222 }
   8223 _ACEOF
   8224 if ac_fn_c_try_link "$LINENO"; then :
   8225   eval $cacheid=yes
   8226 else
   8227   eval $cacheid=no
   8228 fi
   8229 rm -f core conftest.err conftest.$ac_objext \
   8230     conftest$ac_exeext conftest.$ac_ext
   8231 fi
   8232 
   8233 
   8234 		CFLAGS="$xorg_testset_save_CFLAGS"
   8235 
   8236 		eval supported=\$$cacheid
   8237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8238 $as_echo "$supported" >&6; }
   8239 		if test "$supported" = "yes" ; then
   8240 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8241 			found="yes"
   8242 		fi
   8243 	fi
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 xorg_testset_save_CFLAGS="$CFLAGS"
   8260 
   8261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8266   $as_echo_n "(cached) " >&6
   8267 else
   8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"; then :
   8273   xorg_cv_cc_flag_unknown_warning_option=yes
   8274 else
   8275   xorg_cv_cc_flag_unknown_warning_option=no
   8276 fi
   8277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8278 fi
   8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8282 	CFLAGS="$xorg_testset_save_CFLAGS"
   8283 fi
   8284 
   8285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8288 	fi
   8289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 _ACEOF
   8299 if ac_fn_c_try_compile "$LINENO"; then :
   8300   xorg_cv_cc_flag_unused_command_line_argument=yes
   8301 else
   8302   xorg_cv_cc_flag_unused_command_line_argument=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8305 fi
   8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8309 	CFLAGS="$xorg_testset_save_CFLAGS"
   8310 fi
   8311 
   8312 found="no"
   8313 
   8314 	if test $found = "no" ; then
   8315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8317 		fi
   8318 
   8319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 		fi
   8322 
   8323 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8324 
   8325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8326 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8327 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8328 		if eval \${$cacheid+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 int
   8335 main ()
   8336 {
   8337 
   8338   ;
   8339   return 0;
   8340 }
   8341 _ACEOF
   8342 if ac_fn_c_try_link "$LINENO"; then :
   8343   eval $cacheid=yes
   8344 else
   8345   eval $cacheid=no
   8346 fi
   8347 rm -f core conftest.err conftest.$ac_objext \
   8348     conftest$ac_exeext conftest.$ac_ext
   8349 fi
   8350 
   8351 
   8352 		CFLAGS="$xorg_testset_save_CFLAGS"
   8353 
   8354 		eval supported=\$$cacheid
   8355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8356 $as_echo "$supported" >&6; }
   8357 		if test "$supported" = "yes" ; then
   8358 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8359 			found="yes"
   8360 		fi
   8361 	fi
   8362 
   8363 	if test $found = "no" ; then
   8364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8366 		fi
   8367 
   8368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8370 		fi
   8371 
   8372 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8373 
   8374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8375 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8376 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8377 		if eval \${$cacheid+:} false; then :
   8378   $as_echo_n "(cached) " >&6
   8379 else
   8380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8381 /* end confdefs.h.  */
   8382 int i;
   8383 int
   8384 main ()
   8385 {
   8386 
   8387   ;
   8388   return 0;
   8389 }
   8390 _ACEOF
   8391 if ac_fn_c_try_link "$LINENO"; then :
   8392   eval $cacheid=yes
   8393 else
   8394   eval $cacheid=no
   8395 fi
   8396 rm -f core conftest.err conftest.$ac_objext \
   8397     conftest$ac_exeext conftest.$ac_ext
   8398 fi
   8399 
   8400 
   8401 		CFLAGS="$xorg_testset_save_CFLAGS"
   8402 
   8403 		eval supported=\$$cacheid
   8404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8405 $as_echo "$supported" >&6; }
   8406 		if test "$supported" = "yes" ; then
   8407 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8408 			found="yes"
   8409 		fi
   8410 	fi
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 xorg_testset_save_CFLAGS="$CFLAGS"
   8427 
   8428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8433   $as_echo_n "(cached) " >&6
   8434 else
   8435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8436 /* end confdefs.h.  */
   8437 int i;
   8438 _ACEOF
   8439 if ac_fn_c_try_compile "$LINENO"; then :
   8440   xorg_cv_cc_flag_unknown_warning_option=yes
   8441 else
   8442   xorg_cv_cc_flag_unknown_warning_option=no
   8443 fi
   8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8445 fi
   8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8449 	CFLAGS="$xorg_testset_save_CFLAGS"
   8450 fi
   8451 
   8452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8455 	fi
   8456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8460   $as_echo_n "(cached) " >&6
   8461 else
   8462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8463 /* end confdefs.h.  */
   8464 int i;
   8465 _ACEOF
   8466 if ac_fn_c_try_compile "$LINENO"; then :
   8467   xorg_cv_cc_flag_unused_command_line_argument=yes
   8468 else
   8469   xorg_cv_cc_flag_unused_command_line_argument=no
   8470 fi
   8471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8472 fi
   8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8476 	CFLAGS="$xorg_testset_save_CFLAGS"
   8477 fi
   8478 
   8479 found="no"
   8480 
   8481 	if test $found = "no" ; then
   8482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8484 		fi
   8485 
   8486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8488 		fi
   8489 
   8490 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8491 
   8492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8493 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8494 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8495 		if eval \${$cacheid+:} false; then :
   8496   $as_echo_n "(cached) " >&6
   8497 else
   8498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8499 /* end confdefs.h.  */
   8500 int i;
   8501 int
   8502 main ()
   8503 {
   8504 
   8505   ;
   8506   return 0;
   8507 }
   8508 _ACEOF
   8509 if ac_fn_c_try_link "$LINENO"; then :
   8510   eval $cacheid=yes
   8511 else
   8512   eval $cacheid=no
   8513 fi
   8514 rm -f core conftest.err conftest.$ac_objext \
   8515     conftest$ac_exeext conftest.$ac_ext
   8516 fi
   8517 
   8518 
   8519 		CFLAGS="$xorg_testset_save_CFLAGS"
   8520 
   8521 		eval supported=\$$cacheid
   8522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8523 $as_echo "$supported" >&6; }
   8524 		if test "$supported" = "yes" ; then
   8525 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8526 			found="yes"
   8527 		fi
   8528 	fi
   8529 
   8530  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8531 else
   8532 { $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
   8533 $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;}
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 xorg_testset_save_CFLAGS="$CFLAGS"
   8548 
   8549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8557 /* end confdefs.h.  */
   8558 int i;
   8559 _ACEOF
   8560 if ac_fn_c_try_compile "$LINENO"; then :
   8561   xorg_cv_cc_flag_unknown_warning_option=yes
   8562 else
   8563   xorg_cv_cc_flag_unknown_warning_option=no
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8566 fi
   8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8570 	CFLAGS="$xorg_testset_save_CFLAGS"
   8571 fi
   8572 
   8573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8576 	fi
   8577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   8583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8584 /* end confdefs.h.  */
   8585 int i;
   8586 _ACEOF
   8587 if ac_fn_c_try_compile "$LINENO"; then :
   8588   xorg_cv_cc_flag_unused_command_line_argument=yes
   8589 else
   8590   xorg_cv_cc_flag_unused_command_line_argument=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8593 fi
   8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 found="no"
   8601 
   8602 	if test $found = "no" ; then
   8603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 		fi
   8606 
   8607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8609 		fi
   8610 
   8611 		CFLAGS="$CFLAGS -Wimplicit"
   8612 
   8613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8614 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8615 		cacheid=xorg_cv_cc_flag__Wimplicit
   8616 		if eval \${$cacheid+:} false; then :
   8617   $as_echo_n "(cached) " >&6
   8618 else
   8619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8620 /* end confdefs.h.  */
   8621 int i;
   8622 int
   8623 main ()
   8624 {
   8625 
   8626   ;
   8627   return 0;
   8628 }
   8629 _ACEOF
   8630 if ac_fn_c_try_link "$LINENO"; then :
   8631   eval $cacheid=yes
   8632 else
   8633   eval $cacheid=no
   8634 fi
   8635 rm -f core conftest.err conftest.$ac_objext \
   8636     conftest$ac_exeext conftest.$ac_ext
   8637 fi
   8638 
   8639 
   8640 		CFLAGS="$xorg_testset_save_CFLAGS"
   8641 
   8642 		eval supported=\$$cacheid
   8643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8644 $as_echo "$supported" >&6; }
   8645 		if test "$supported" = "yes" ; then
   8646 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8647 			found="yes"
   8648 		fi
   8649 	fi
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 xorg_testset_save_CFLAGS="$CFLAGS"
   8666 
   8667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8672   $as_echo_n "(cached) " >&6
   8673 else
   8674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8675 /* end confdefs.h.  */
   8676 int i;
   8677 _ACEOF
   8678 if ac_fn_c_try_compile "$LINENO"; then :
   8679   xorg_cv_cc_flag_unknown_warning_option=yes
   8680 else
   8681   xorg_cv_cc_flag_unknown_warning_option=no
   8682 fi
   8683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8684 fi
   8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8688 	CFLAGS="$xorg_testset_save_CFLAGS"
   8689 fi
   8690 
   8691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8694 	fi
   8695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   8701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 _ACEOF
   8705 if ac_fn_c_try_compile "$LINENO"; then :
   8706   xorg_cv_cc_flag_unused_command_line_argument=yes
   8707 else
   8708   xorg_cv_cc_flag_unused_command_line_argument=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8711 fi
   8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8715 	CFLAGS="$xorg_testset_save_CFLAGS"
   8716 fi
   8717 
   8718 found="no"
   8719 
   8720 	if test $found = "no" ; then
   8721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8723 		fi
   8724 
   8725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 		fi
   8728 
   8729 		CFLAGS="$CFLAGS -Wnonnull"
   8730 
   8731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8732 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8733 		cacheid=xorg_cv_cc_flag__Wnonnull
   8734 		if eval \${$cacheid+:} false; then :
   8735   $as_echo_n "(cached) " >&6
   8736 else
   8737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8738 /* end confdefs.h.  */
   8739 int i;
   8740 int
   8741 main ()
   8742 {
   8743 
   8744   ;
   8745   return 0;
   8746 }
   8747 _ACEOF
   8748 if ac_fn_c_try_link "$LINENO"; then :
   8749   eval $cacheid=yes
   8750 else
   8751   eval $cacheid=no
   8752 fi
   8753 rm -f core conftest.err conftest.$ac_objext \
   8754     conftest$ac_exeext conftest.$ac_ext
   8755 fi
   8756 
   8757 
   8758 		CFLAGS="$xorg_testset_save_CFLAGS"
   8759 
   8760 		eval supported=\$$cacheid
   8761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8762 $as_echo "$supported" >&6; }
   8763 		if test "$supported" = "yes" ; then
   8764 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8765 			found="yes"
   8766 		fi
   8767 	fi
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 xorg_testset_save_CFLAGS="$CFLAGS"
   8784 
   8785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8790   $as_echo_n "(cached) " >&6
   8791 else
   8792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8793 /* end confdefs.h.  */
   8794 int i;
   8795 _ACEOF
   8796 if ac_fn_c_try_compile "$LINENO"; then :
   8797   xorg_cv_cc_flag_unknown_warning_option=yes
   8798 else
   8799   xorg_cv_cc_flag_unknown_warning_option=no
   8800 fi
   8801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8802 fi
   8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8806 	CFLAGS="$xorg_testset_save_CFLAGS"
   8807 fi
   8808 
   8809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8812 	fi
   8813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8817   $as_echo_n "(cached) " >&6
   8818 else
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 _ACEOF
   8823 if ac_fn_c_try_compile "$LINENO"; then :
   8824   xorg_cv_cc_flag_unused_command_line_argument=yes
   8825 else
   8826   xorg_cv_cc_flag_unused_command_line_argument=no
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8829 fi
   8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8833 	CFLAGS="$xorg_testset_save_CFLAGS"
   8834 fi
   8835 
   8836 found="no"
   8837 
   8838 	if test $found = "no" ; then
   8839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8841 		fi
   8842 
   8843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8845 		fi
   8846 
   8847 		CFLAGS="$CFLAGS -Winit-self"
   8848 
   8849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8850 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8851 		cacheid=xorg_cv_cc_flag__Winit_self
   8852 		if eval \${$cacheid+:} false; then :
   8853   $as_echo_n "(cached) " >&6
   8854 else
   8855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8856 /* end confdefs.h.  */
   8857 int i;
   8858 int
   8859 main ()
   8860 {
   8861 
   8862   ;
   8863   return 0;
   8864 }
   8865 _ACEOF
   8866 if ac_fn_c_try_link "$LINENO"; then :
   8867   eval $cacheid=yes
   8868 else
   8869   eval $cacheid=no
   8870 fi
   8871 rm -f core conftest.err conftest.$ac_objext \
   8872     conftest$ac_exeext conftest.$ac_ext
   8873 fi
   8874 
   8875 
   8876 		CFLAGS="$xorg_testset_save_CFLAGS"
   8877 
   8878 		eval supported=\$$cacheid
   8879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8880 $as_echo "$supported" >&6; }
   8881 		if test "$supported" = "yes" ; then
   8882 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8883 			found="yes"
   8884 		fi
   8885 	fi
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 xorg_testset_save_CFLAGS="$CFLAGS"
   8902 
   8903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8908   $as_echo_n "(cached) " >&6
   8909 else
   8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8911 /* end confdefs.h.  */
   8912 int i;
   8913 _ACEOF
   8914 if ac_fn_c_try_compile "$LINENO"; then :
   8915   xorg_cv_cc_flag_unknown_warning_option=yes
   8916 else
   8917   xorg_cv_cc_flag_unknown_warning_option=no
   8918 fi
   8919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8920 fi
   8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8924 	CFLAGS="$xorg_testset_save_CFLAGS"
   8925 fi
   8926 
   8927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8930 	fi
   8931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"; then :
   8942   xorg_cv_cc_flag_unused_command_line_argument=yes
   8943 else
   8944   xorg_cv_cc_flag_unused_command_line_argument=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 found="no"
   8955 
   8956 	if test $found = "no" ; then
   8957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8959 		fi
   8960 
   8961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8963 		fi
   8964 
   8965 		CFLAGS="$CFLAGS -Wmain"
   8966 
   8967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8968 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8969 		cacheid=xorg_cv_cc_flag__Wmain
   8970 		if eval \${$cacheid+:} false; then :
   8971   $as_echo_n "(cached) " >&6
   8972 else
   8973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8974 /* end confdefs.h.  */
   8975 int i;
   8976 int
   8977 main ()
   8978 {
   8979 
   8980   ;
   8981   return 0;
   8982 }
   8983 _ACEOF
   8984 if ac_fn_c_try_link "$LINENO"; then :
   8985   eval $cacheid=yes
   8986 else
   8987   eval $cacheid=no
   8988 fi
   8989 rm -f core conftest.err conftest.$ac_objext \
   8990     conftest$ac_exeext conftest.$ac_ext
   8991 fi
   8992 
   8993 
   8994 		CFLAGS="$xorg_testset_save_CFLAGS"
   8995 
   8996 		eval supported=\$$cacheid
   8997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8998 $as_echo "$supported" >&6; }
   8999 		if test "$supported" = "yes" ; then
   9000 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9001 			found="yes"
   9002 		fi
   9003 	fi
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 xorg_testset_save_CFLAGS="$CFLAGS"
   9020 
   9021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9026   $as_echo_n "(cached) " >&6
   9027 else
   9028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9029 /* end confdefs.h.  */
   9030 int i;
   9031 _ACEOF
   9032 if ac_fn_c_try_compile "$LINENO"; then :
   9033   xorg_cv_cc_flag_unknown_warning_option=yes
   9034 else
   9035   xorg_cv_cc_flag_unknown_warning_option=no
   9036 fi
   9037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9038 fi
   9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9042 	CFLAGS="$xorg_testset_save_CFLAGS"
   9043 fi
   9044 
   9045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9048 	fi
   9049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 _ACEOF
   9059 if ac_fn_c_try_compile "$LINENO"; then :
   9060   xorg_cv_cc_flag_unused_command_line_argument=yes
   9061 else
   9062   xorg_cv_cc_flag_unused_command_line_argument=no
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9065 fi
   9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9069 	CFLAGS="$xorg_testset_save_CFLAGS"
   9070 fi
   9071 
   9072 found="no"
   9073 
   9074 	if test $found = "no" ; then
   9075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9077 		fi
   9078 
   9079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9081 		fi
   9082 
   9083 		CFLAGS="$CFLAGS -Wmissing-braces"
   9084 
   9085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9086 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9087 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9088 		if eval \${$cacheid+:} false; then :
   9089   $as_echo_n "(cached) " >&6
   9090 else
   9091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9092 /* end confdefs.h.  */
   9093 int i;
   9094 int
   9095 main ()
   9096 {
   9097 
   9098   ;
   9099   return 0;
   9100 }
   9101 _ACEOF
   9102 if ac_fn_c_try_link "$LINENO"; then :
   9103   eval $cacheid=yes
   9104 else
   9105   eval $cacheid=no
   9106 fi
   9107 rm -f core conftest.err conftest.$ac_objext \
   9108     conftest$ac_exeext conftest.$ac_ext
   9109 fi
   9110 
   9111 
   9112 		CFLAGS="$xorg_testset_save_CFLAGS"
   9113 
   9114 		eval supported=\$$cacheid
   9115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9116 $as_echo "$supported" >&6; }
   9117 		if test "$supported" = "yes" ; then
   9118 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9119 			found="yes"
   9120 		fi
   9121 	fi
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 xorg_testset_save_CFLAGS="$CFLAGS"
   9138 
   9139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9144   $as_echo_n "(cached) " >&6
   9145 else
   9146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9147 /* end confdefs.h.  */
   9148 int i;
   9149 _ACEOF
   9150 if ac_fn_c_try_compile "$LINENO"; then :
   9151   xorg_cv_cc_flag_unknown_warning_option=yes
   9152 else
   9153   xorg_cv_cc_flag_unknown_warning_option=no
   9154 fi
   9155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9156 fi
   9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9160 	CFLAGS="$xorg_testset_save_CFLAGS"
   9161 fi
   9162 
   9163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9166 	fi
   9167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 _ACEOF
   9177 if ac_fn_c_try_compile "$LINENO"; then :
   9178   xorg_cv_cc_flag_unused_command_line_argument=yes
   9179 else
   9180   xorg_cv_cc_flag_unused_command_line_argument=no
   9181 fi
   9182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9183 fi
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9187 	CFLAGS="$xorg_testset_save_CFLAGS"
   9188 fi
   9189 
   9190 found="no"
   9191 
   9192 	if test $found = "no" ; then
   9193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9195 		fi
   9196 
   9197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9199 		fi
   9200 
   9201 		CFLAGS="$CFLAGS -Wsequence-point"
   9202 
   9203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9204 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9205 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9206 		if eval \${$cacheid+:} false; then :
   9207   $as_echo_n "(cached) " >&6
   9208 else
   9209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9210 /* end confdefs.h.  */
   9211 int i;
   9212 int
   9213 main ()
   9214 {
   9215 
   9216   ;
   9217   return 0;
   9218 }
   9219 _ACEOF
   9220 if ac_fn_c_try_link "$LINENO"; then :
   9221   eval $cacheid=yes
   9222 else
   9223   eval $cacheid=no
   9224 fi
   9225 rm -f core conftest.err conftest.$ac_objext \
   9226     conftest$ac_exeext conftest.$ac_ext
   9227 fi
   9228 
   9229 
   9230 		CFLAGS="$xorg_testset_save_CFLAGS"
   9231 
   9232 		eval supported=\$$cacheid
   9233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9234 $as_echo "$supported" >&6; }
   9235 		if test "$supported" = "yes" ; then
   9236 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9237 			found="yes"
   9238 		fi
   9239 	fi
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 xorg_testset_save_CFLAGS="$CFLAGS"
   9256 
   9257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9262   $as_echo_n "(cached) " >&6
   9263 else
   9264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9265 /* end confdefs.h.  */
   9266 int i;
   9267 _ACEOF
   9268 if ac_fn_c_try_compile "$LINENO"; then :
   9269   xorg_cv_cc_flag_unknown_warning_option=yes
   9270 else
   9271   xorg_cv_cc_flag_unknown_warning_option=no
   9272 fi
   9273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9274 fi
   9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9278 	CFLAGS="$xorg_testset_save_CFLAGS"
   9279 fi
   9280 
   9281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9284 	fi
   9285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 _ACEOF
   9295 if ac_fn_c_try_compile "$LINENO"; then :
   9296   xorg_cv_cc_flag_unused_command_line_argument=yes
   9297 else
   9298   xorg_cv_cc_flag_unused_command_line_argument=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9301 fi
   9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9305 	CFLAGS="$xorg_testset_save_CFLAGS"
   9306 fi
   9307 
   9308 found="no"
   9309 
   9310 	if test $found = "no" ; then
   9311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9313 		fi
   9314 
   9315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9317 		fi
   9318 
   9319 		CFLAGS="$CFLAGS -Wreturn-type"
   9320 
   9321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9322 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9323 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9324 		if eval \${$cacheid+:} false; then :
   9325   $as_echo_n "(cached) " >&6
   9326 else
   9327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9328 /* end confdefs.h.  */
   9329 int i;
   9330 int
   9331 main ()
   9332 {
   9333 
   9334   ;
   9335   return 0;
   9336 }
   9337 _ACEOF
   9338 if ac_fn_c_try_link "$LINENO"; then :
   9339   eval $cacheid=yes
   9340 else
   9341   eval $cacheid=no
   9342 fi
   9343 rm -f core conftest.err conftest.$ac_objext \
   9344     conftest$ac_exeext conftest.$ac_ext
   9345 fi
   9346 
   9347 
   9348 		CFLAGS="$xorg_testset_save_CFLAGS"
   9349 
   9350 		eval supported=\$$cacheid
   9351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9352 $as_echo "$supported" >&6; }
   9353 		if test "$supported" = "yes" ; then
   9354 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9355 			found="yes"
   9356 		fi
   9357 	fi
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 xorg_testset_save_CFLAGS="$CFLAGS"
   9374 
   9375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9378 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9379 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9380   $as_echo_n "(cached) " >&6
   9381 else
   9382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9383 /* end confdefs.h.  */
   9384 int i;
   9385 _ACEOF
   9386 if ac_fn_c_try_compile "$LINENO"; then :
   9387   xorg_cv_cc_flag_unknown_warning_option=yes
   9388 else
   9389   xorg_cv_cc_flag_unknown_warning_option=no
   9390 fi
   9391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9392 fi
   9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9394 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9396 	CFLAGS="$xorg_testset_save_CFLAGS"
   9397 fi
   9398 
   9399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9402 	fi
   9403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9405 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9406 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9407   $as_echo_n "(cached) " >&6
   9408 else
   9409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9410 /* end confdefs.h.  */
   9411 int i;
   9412 _ACEOF
   9413 if ac_fn_c_try_compile "$LINENO"; then :
   9414   xorg_cv_cc_flag_unused_command_line_argument=yes
   9415 else
   9416   xorg_cv_cc_flag_unused_command_line_argument=no
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9419 fi
   9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9421 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9423 	CFLAGS="$xorg_testset_save_CFLAGS"
   9424 fi
   9425 
   9426 found="no"
   9427 
   9428 	if test $found = "no" ; then
   9429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9431 		fi
   9432 
   9433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9435 		fi
   9436 
   9437 		CFLAGS="$CFLAGS -Wtrigraphs"
   9438 
   9439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9440 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9441 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9442 		if eval \${$cacheid+:} false; then :
   9443   $as_echo_n "(cached) " >&6
   9444 else
   9445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int i;
   9448 int
   9449 main ()
   9450 {
   9451 
   9452   ;
   9453   return 0;
   9454 }
   9455 _ACEOF
   9456 if ac_fn_c_try_link "$LINENO"; then :
   9457   eval $cacheid=yes
   9458 else
   9459   eval $cacheid=no
   9460 fi
   9461 rm -f core conftest.err conftest.$ac_objext \
   9462     conftest$ac_exeext conftest.$ac_ext
   9463 fi
   9464 
   9465 
   9466 		CFLAGS="$xorg_testset_save_CFLAGS"
   9467 
   9468 		eval supported=\$$cacheid
   9469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9470 $as_echo "$supported" >&6; }
   9471 		if test "$supported" = "yes" ; then
   9472 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9473 			found="yes"
   9474 		fi
   9475 	fi
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 xorg_testset_save_CFLAGS="$CFLAGS"
   9492 
   9493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9498   $as_echo_n "(cached) " >&6
   9499 else
   9500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9501 /* end confdefs.h.  */
   9502 int i;
   9503 _ACEOF
   9504 if ac_fn_c_try_compile "$LINENO"; then :
   9505   xorg_cv_cc_flag_unknown_warning_option=yes
   9506 else
   9507   xorg_cv_cc_flag_unknown_warning_option=no
   9508 fi
   9509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9510 fi
   9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9514 	CFLAGS="$xorg_testset_save_CFLAGS"
   9515 fi
   9516 
   9517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9520 	fi
   9521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 _ACEOF
   9531 if ac_fn_c_try_compile "$LINENO"; then :
   9532   xorg_cv_cc_flag_unused_command_line_argument=yes
   9533 else
   9534   xorg_cv_cc_flag_unused_command_line_argument=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9537 fi
   9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9541 	CFLAGS="$xorg_testset_save_CFLAGS"
   9542 fi
   9543 
   9544 found="no"
   9545 
   9546 	if test $found = "no" ; then
   9547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9549 		fi
   9550 
   9551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9553 		fi
   9554 
   9555 		CFLAGS="$CFLAGS -Warray-bounds"
   9556 
   9557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9558 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9559 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9560 		if eval \${$cacheid+:} false; then :
   9561   $as_echo_n "(cached) " >&6
   9562 else
   9563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9564 /* end confdefs.h.  */
   9565 int i;
   9566 int
   9567 main ()
   9568 {
   9569 
   9570   ;
   9571   return 0;
   9572 }
   9573 _ACEOF
   9574 if ac_fn_c_try_link "$LINENO"; then :
   9575   eval $cacheid=yes
   9576 else
   9577   eval $cacheid=no
   9578 fi
   9579 rm -f core conftest.err conftest.$ac_objext \
   9580     conftest$ac_exeext conftest.$ac_ext
   9581 fi
   9582 
   9583 
   9584 		CFLAGS="$xorg_testset_save_CFLAGS"
   9585 
   9586 		eval supported=\$$cacheid
   9587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9588 $as_echo "$supported" >&6; }
   9589 		if test "$supported" = "yes" ; then
   9590 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9591 			found="yes"
   9592 		fi
   9593 	fi
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 xorg_testset_save_CFLAGS="$CFLAGS"
   9610 
   9611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9614 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9615 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9616   $as_echo_n "(cached) " >&6
   9617 else
   9618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9619 /* end confdefs.h.  */
   9620 int i;
   9621 _ACEOF
   9622 if ac_fn_c_try_compile "$LINENO"; then :
   9623   xorg_cv_cc_flag_unknown_warning_option=yes
   9624 else
   9625   xorg_cv_cc_flag_unknown_warning_option=no
   9626 fi
   9627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9628 fi
   9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9630 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9632 	CFLAGS="$xorg_testset_save_CFLAGS"
   9633 fi
   9634 
   9635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9638 	fi
   9639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9641 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9642 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9643   $as_echo_n "(cached) " >&6
   9644 else
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 _ACEOF
   9649 if ac_fn_c_try_compile "$LINENO"; then :
   9650   xorg_cv_cc_flag_unused_command_line_argument=yes
   9651 else
   9652   xorg_cv_cc_flag_unused_command_line_argument=no
   9653 fi
   9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9655 fi
   9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9657 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9659 	CFLAGS="$xorg_testset_save_CFLAGS"
   9660 fi
   9661 
   9662 found="no"
   9663 
   9664 	if test $found = "no" ; then
   9665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9667 		fi
   9668 
   9669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9671 		fi
   9672 
   9673 		CFLAGS="$CFLAGS -Wwrite-strings"
   9674 
   9675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9676 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9677 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9678 		if eval \${$cacheid+:} false; then :
   9679   $as_echo_n "(cached) " >&6
   9680 else
   9681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9682 /* end confdefs.h.  */
   9683 int i;
   9684 int
   9685 main ()
   9686 {
   9687 
   9688   ;
   9689   return 0;
   9690 }
   9691 _ACEOF
   9692 if ac_fn_c_try_link "$LINENO"; then :
   9693   eval $cacheid=yes
   9694 else
   9695   eval $cacheid=no
   9696 fi
   9697 rm -f core conftest.err conftest.$ac_objext \
   9698     conftest$ac_exeext conftest.$ac_ext
   9699 fi
   9700 
   9701 
   9702 		CFLAGS="$xorg_testset_save_CFLAGS"
   9703 
   9704 		eval supported=\$$cacheid
   9705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9706 $as_echo "$supported" >&6; }
   9707 		if test "$supported" = "yes" ; then
   9708 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9709 			found="yes"
   9710 		fi
   9711 	fi
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 xorg_testset_save_CFLAGS="$CFLAGS"
   9728 
   9729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9734   $as_echo_n "(cached) " >&6
   9735 else
   9736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9737 /* end confdefs.h.  */
   9738 int i;
   9739 _ACEOF
   9740 if ac_fn_c_try_compile "$LINENO"; then :
   9741   xorg_cv_cc_flag_unknown_warning_option=yes
   9742 else
   9743   xorg_cv_cc_flag_unknown_warning_option=no
   9744 fi
   9745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9746 fi
   9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9750 	CFLAGS="$xorg_testset_save_CFLAGS"
   9751 fi
   9752 
   9753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9756 	fi
   9757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9761   $as_echo_n "(cached) " >&6
   9762 else
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 _ACEOF
   9767 if ac_fn_c_try_compile "$LINENO"; then :
   9768   xorg_cv_cc_flag_unused_command_line_argument=yes
   9769 else
   9770   xorg_cv_cc_flag_unused_command_line_argument=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9773 fi
   9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9777 	CFLAGS="$xorg_testset_save_CFLAGS"
   9778 fi
   9779 
   9780 found="no"
   9781 
   9782 	if test $found = "no" ; then
   9783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9785 		fi
   9786 
   9787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9789 		fi
   9790 
   9791 		CFLAGS="$CFLAGS -Waddress"
   9792 
   9793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9794 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9795 		cacheid=xorg_cv_cc_flag__Waddress
   9796 		if eval \${$cacheid+:} false; then :
   9797   $as_echo_n "(cached) " >&6
   9798 else
   9799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9800 /* end confdefs.h.  */
   9801 int i;
   9802 int
   9803 main ()
   9804 {
   9805 
   9806   ;
   9807   return 0;
   9808 }
   9809 _ACEOF
   9810 if ac_fn_c_try_link "$LINENO"; then :
   9811   eval $cacheid=yes
   9812 else
   9813   eval $cacheid=no
   9814 fi
   9815 rm -f core conftest.err conftest.$ac_objext \
   9816     conftest$ac_exeext conftest.$ac_ext
   9817 fi
   9818 
   9819 
   9820 		CFLAGS="$xorg_testset_save_CFLAGS"
   9821 
   9822 		eval supported=\$$cacheid
   9823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9824 $as_echo "$supported" >&6; }
   9825 		if test "$supported" = "yes" ; then
   9826 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9827 			found="yes"
   9828 		fi
   9829 	fi
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 xorg_testset_save_CFLAGS="$CFLAGS"
   9846 
   9847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9852   $as_echo_n "(cached) " >&6
   9853 else
   9854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9855 /* end confdefs.h.  */
   9856 int i;
   9857 _ACEOF
   9858 if ac_fn_c_try_compile "$LINENO"; then :
   9859   xorg_cv_cc_flag_unknown_warning_option=yes
   9860 else
   9861   xorg_cv_cc_flag_unknown_warning_option=no
   9862 fi
   9863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9864 fi
   9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9868 	CFLAGS="$xorg_testset_save_CFLAGS"
   9869 fi
   9870 
   9871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9874 	fi
   9875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"; then :
   9886   xorg_cv_cc_flag_unused_command_line_argument=yes
   9887 else
   9888   xorg_cv_cc_flag_unused_command_line_argument=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9891 fi
   9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 found="no"
   9899 
   9900 	if test $found = "no" ; then
   9901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9903 		fi
   9904 
   9905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 		fi
   9908 
   9909 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9910 
   9911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9912 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9913 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9914 		if eval \${$cacheid+:} false; then :
   9915   $as_echo_n "(cached) " >&6
   9916 else
   9917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9918 /* end confdefs.h.  */
   9919 int i;
   9920 int
   9921 main ()
   9922 {
   9923 
   9924   ;
   9925   return 0;
   9926 }
   9927 _ACEOF
   9928 if ac_fn_c_try_link "$LINENO"; then :
   9929   eval $cacheid=yes
   9930 else
   9931   eval $cacheid=no
   9932 fi
   9933 rm -f core conftest.err conftest.$ac_objext \
   9934     conftest$ac_exeext conftest.$ac_ext
   9935 fi
   9936 
   9937 
   9938 		CFLAGS="$xorg_testset_save_CFLAGS"
   9939 
   9940 		eval supported=\$$cacheid
   9941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9942 $as_echo "$supported" >&6; }
   9943 		if test "$supported" = "yes" ; then
   9944 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9945 			found="yes"
   9946 		fi
   9947 	fi
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 xorg_testset_save_CFLAGS="$CFLAGS"
   9964 
   9965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9970   $as_echo_n "(cached) " >&6
   9971 else
   9972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9973 /* end confdefs.h.  */
   9974 int i;
   9975 _ACEOF
   9976 if ac_fn_c_try_compile "$LINENO"; then :
   9977   xorg_cv_cc_flag_unknown_warning_option=yes
   9978 else
   9979   xorg_cv_cc_flag_unknown_warning_option=no
   9980 fi
   9981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9982 fi
   9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9986 	CFLAGS="$xorg_testset_save_CFLAGS"
   9987 fi
   9988 
   9989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9992 	fi
   9993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9997   $as_echo_n "(cached) " >&6
   9998 else
   9999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10000 /* end confdefs.h.  */
   10001 int i;
   10002 _ACEOF
   10003 if ac_fn_c_try_compile "$LINENO"; then :
   10004   xorg_cv_cc_flag_unused_command_line_argument=yes
   10005 else
   10006   xorg_cv_cc_flag_unused_command_line_argument=no
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10009 fi
   10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10013 	CFLAGS="$xorg_testset_save_CFLAGS"
   10014 fi
   10015 
   10016 found="no"
   10017 
   10018 	if test $found = "no" ; then
   10019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10021 		fi
   10022 
   10023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10025 		fi
   10026 
   10027 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10028 
   10029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10030 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10031 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10032 		if eval \${$cacheid+:} false; then :
   10033   $as_echo_n "(cached) " >&6
   10034 else
   10035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 int
   10039 main ()
   10040 {
   10041 
   10042   ;
   10043   return 0;
   10044 }
   10045 _ACEOF
   10046 if ac_fn_c_try_link "$LINENO"; then :
   10047   eval $cacheid=yes
   10048 else
   10049   eval $cacheid=no
   10050 fi
   10051 rm -f core conftest.err conftest.$ac_objext \
   10052     conftest$ac_exeext conftest.$ac_ext
   10053 fi
   10054 
   10055 
   10056 		CFLAGS="$xorg_testset_save_CFLAGS"
   10057 
   10058 		eval supported=\$$cacheid
   10059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10060 $as_echo "$supported" >&6; }
   10061 		if test "$supported" = "yes" ; then
   10062 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10063 			found="yes"
   10064 		fi
   10065 	fi
   10066 
   10067 
   10068 fi
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 		CWARNFLAGS="$BASE_CFLAGS"
   10077 		if  test "x$GCC" = xyes ; then
   10078 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10079 		fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 # Check whether --enable-strict-compilation was given.
   10089 if test "${enable_strict_compilation+set}" = set; then :
   10090   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10091 else
   10092   STRICT_COMPILE=no
   10093 fi
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 STRICT_CFLAGS=""
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 xorg_testset_save_CFLAGS="$CFLAGS"
   10115 
   10116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10121   $as_echo_n "(cached) " >&6
   10122 else
   10123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10124 /* end confdefs.h.  */
   10125 int i;
   10126 _ACEOF
   10127 if ac_fn_c_try_compile "$LINENO"; then :
   10128   xorg_cv_cc_flag_unknown_warning_option=yes
   10129 else
   10130   xorg_cv_cc_flag_unknown_warning_option=no
   10131 fi
   10132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10133 fi
   10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10137 	CFLAGS="$xorg_testset_save_CFLAGS"
   10138 fi
   10139 
   10140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10143 	fi
   10144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10148   $as_echo_n "(cached) " >&6
   10149 else
   10150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10151 /* end confdefs.h.  */
   10152 int i;
   10153 _ACEOF
   10154 if ac_fn_c_try_compile "$LINENO"; then :
   10155   xorg_cv_cc_flag_unused_command_line_argument=yes
   10156 else
   10157   xorg_cv_cc_flag_unused_command_line_argument=no
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10160 fi
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10164 	CFLAGS="$xorg_testset_save_CFLAGS"
   10165 fi
   10166 
   10167 found="no"
   10168 
   10169 	if test $found = "no" ; then
   10170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 		fi
   10173 
   10174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10176 		fi
   10177 
   10178 		CFLAGS="$CFLAGS -pedantic"
   10179 
   10180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10181 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10182 		cacheid=xorg_cv_cc_flag__pedantic
   10183 		if eval \${$cacheid+:} false; then :
   10184   $as_echo_n "(cached) " >&6
   10185 else
   10186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10187 /* end confdefs.h.  */
   10188 int i;
   10189 int
   10190 main ()
   10191 {
   10192 
   10193   ;
   10194   return 0;
   10195 }
   10196 _ACEOF
   10197 if ac_fn_c_try_link "$LINENO"; then :
   10198   eval $cacheid=yes
   10199 else
   10200   eval $cacheid=no
   10201 fi
   10202 rm -f core conftest.err conftest.$ac_objext \
   10203     conftest$ac_exeext conftest.$ac_ext
   10204 fi
   10205 
   10206 
   10207 		CFLAGS="$xorg_testset_save_CFLAGS"
   10208 
   10209 		eval supported=\$$cacheid
   10210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10211 $as_echo "$supported" >&6; }
   10212 		if test "$supported" = "yes" ; then
   10213 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10214 			found="yes"
   10215 		fi
   10216 	fi
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 xorg_testset_save_CFLAGS="$CFLAGS"
   10233 
   10234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10239   $as_echo_n "(cached) " >&6
   10240 else
   10241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10242 /* end confdefs.h.  */
   10243 int i;
   10244 _ACEOF
   10245 if ac_fn_c_try_compile "$LINENO"; then :
   10246   xorg_cv_cc_flag_unknown_warning_option=yes
   10247 else
   10248   xorg_cv_cc_flag_unknown_warning_option=no
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10251 fi
   10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10255 	CFLAGS="$xorg_testset_save_CFLAGS"
   10256 fi
   10257 
   10258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10261 	fi
   10262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10266   $as_echo_n "(cached) " >&6
   10267 else
   10268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10269 /* end confdefs.h.  */
   10270 int i;
   10271 _ACEOF
   10272 if ac_fn_c_try_compile "$LINENO"; then :
   10273   xorg_cv_cc_flag_unused_command_line_argument=yes
   10274 else
   10275   xorg_cv_cc_flag_unused_command_line_argument=no
   10276 fi
   10277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10278 fi
   10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10282 	CFLAGS="$xorg_testset_save_CFLAGS"
   10283 fi
   10284 
   10285 found="no"
   10286 
   10287 	if test $found = "no" ; then
   10288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10290 		fi
   10291 
   10292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10294 		fi
   10295 
   10296 		CFLAGS="$CFLAGS -Werror"
   10297 
   10298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10299 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10300 		cacheid=xorg_cv_cc_flag__Werror
   10301 		if eval \${$cacheid+:} false; then :
   10302   $as_echo_n "(cached) " >&6
   10303 else
   10304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 int i;
   10307 int
   10308 main ()
   10309 {
   10310 
   10311   ;
   10312   return 0;
   10313 }
   10314 _ACEOF
   10315 if ac_fn_c_try_link "$LINENO"; then :
   10316   eval $cacheid=yes
   10317 else
   10318   eval $cacheid=no
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext \
   10321     conftest$ac_exeext conftest.$ac_ext
   10322 fi
   10323 
   10324 
   10325 		CFLAGS="$xorg_testset_save_CFLAGS"
   10326 
   10327 		eval supported=\$$cacheid
   10328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10329 $as_echo "$supported" >&6; }
   10330 		if test "$supported" = "yes" ; then
   10331 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10332 			found="yes"
   10333 		fi
   10334 	fi
   10335 
   10336 	if test $found = "no" ; then
   10337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10339 		fi
   10340 
   10341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10343 		fi
   10344 
   10345 		CFLAGS="$CFLAGS -errwarn"
   10346 
   10347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10348 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10349 		cacheid=xorg_cv_cc_flag__errwarn
   10350 		if eval \${$cacheid+:} false; then :
   10351   $as_echo_n "(cached) " >&6
   10352 else
   10353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10354 /* end confdefs.h.  */
   10355 int i;
   10356 int
   10357 main ()
   10358 {
   10359 
   10360   ;
   10361   return 0;
   10362 }
   10363 _ACEOF
   10364 if ac_fn_c_try_link "$LINENO"; then :
   10365   eval $cacheid=yes
   10366 else
   10367   eval $cacheid=no
   10368 fi
   10369 rm -f core conftest.err conftest.$ac_objext \
   10370     conftest$ac_exeext conftest.$ac_ext
   10371 fi
   10372 
   10373 
   10374 		CFLAGS="$xorg_testset_save_CFLAGS"
   10375 
   10376 		eval supported=\$$cacheid
   10377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10378 $as_echo "$supported" >&6; }
   10379 		if test "$supported" = "yes" ; then
   10380 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10381 			found="yes"
   10382 		fi
   10383 	fi
   10384 
   10385 
   10386 
   10387 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10388 # activate it with -Werror, so we add it here explicitly.
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 xorg_testset_save_CFLAGS="$CFLAGS"
   10403 
   10404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10409   $as_echo_n "(cached) " >&6
   10410 else
   10411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 _ACEOF
   10415 if ac_fn_c_try_compile "$LINENO"; then :
   10416   xorg_cv_cc_flag_unknown_warning_option=yes
   10417 else
   10418   xorg_cv_cc_flag_unknown_warning_option=no
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10421 fi
   10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10425 	CFLAGS="$xorg_testset_save_CFLAGS"
   10426 fi
   10427 
   10428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10431 	fi
   10432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10436   $as_echo_n "(cached) " >&6
   10437 else
   10438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10439 /* end confdefs.h.  */
   10440 int i;
   10441 _ACEOF
   10442 if ac_fn_c_try_compile "$LINENO"; then :
   10443   xorg_cv_cc_flag_unused_command_line_argument=yes
   10444 else
   10445   xorg_cv_cc_flag_unused_command_line_argument=no
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10448 fi
   10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10452 	CFLAGS="$xorg_testset_save_CFLAGS"
   10453 fi
   10454 
   10455 found="no"
   10456 
   10457 	if test $found = "no" ; then
   10458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10460 		fi
   10461 
   10462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10464 		fi
   10465 
   10466 		CFLAGS="$CFLAGS -Werror=attributes"
   10467 
   10468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10469 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10470 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10471 		if eval \${$cacheid+:} false; then :
   10472   $as_echo_n "(cached) " >&6
   10473 else
   10474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 int i;
   10477 int
   10478 main ()
   10479 {
   10480 
   10481   ;
   10482   return 0;
   10483 }
   10484 _ACEOF
   10485 if ac_fn_c_try_link "$LINENO"; then :
   10486   eval $cacheid=yes
   10487 else
   10488   eval $cacheid=no
   10489 fi
   10490 rm -f core conftest.err conftest.$ac_objext \
   10491     conftest$ac_exeext conftest.$ac_ext
   10492 fi
   10493 
   10494 
   10495 		CFLAGS="$xorg_testset_save_CFLAGS"
   10496 
   10497 		eval supported=\$$cacheid
   10498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10499 $as_echo "$supported" >&6; }
   10500 		if test "$supported" = "yes" ; then
   10501 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10502 			found="yes"
   10503 		fi
   10504 	fi
   10505 
   10506 
   10507 
   10508 if test "x$STRICT_COMPILE" = "xyes"; then
   10509     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10510     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10511 fi
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 cat >>confdefs.h <<_ACEOF
   10519 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10520 _ACEOF
   10521 
   10522 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10523 	if test "x$PVM" = "x"; then
   10524 		PVM="0"
   10525 	fi
   10526 
   10527 cat >>confdefs.h <<_ACEOF
   10528 #define PACKAGE_VERSION_MINOR $PVM
   10529 _ACEOF
   10530 
   10531 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10532 	if test "x$PVP" = "x"; then
   10533 		PVP="0"
   10534 	fi
   10535 
   10536 cat >>confdefs.h <<_ACEOF
   10537 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10538 _ACEOF
   10539 
   10540 
   10541 
   10542 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10543 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10544 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10545 touch \$(top_srcdir)/ChangeLog; \
   10546 echo 'git failed to create ChangeLog: installing 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; test -e \$(top_srcdir)/INSTALL || ( \
   10555 touch \$(top_srcdir)/INSTALL; \
   10556 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 case $host_os in
   10564     solaris*)
   10565         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10566         # check for a man page file found in later versions that use
   10567         # traditional section numbers instead
   10568         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10569 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10570 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10571   $as_echo_n "(cached) " >&6
   10572 else
   10573   test "$cross_compiling" = yes &&
   10574   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10575 if test -r "/usr/share/man/man7/attributes.7"; then
   10576   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10577 else
   10578   ac_cv_file__usr_share_man_man7_attributes_7=no
   10579 fi
   10580 fi
   10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10582 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10583 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10584   SYSV_MAN_SECTIONS=false
   10585 else
   10586   SYSV_MAN_SECTIONS=true
   10587 fi
   10588 
   10589         ;;
   10590     *) SYSV_MAN_SECTIONS=false ;;
   10591 esac
   10592 
   10593 if test x$APP_MAN_SUFFIX = x    ; then
   10594     APP_MAN_SUFFIX=1
   10595 fi
   10596 if test x$APP_MAN_DIR = x    ; then
   10597     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10598 fi
   10599 
   10600 if test x$LIB_MAN_SUFFIX = x    ; then
   10601     LIB_MAN_SUFFIX=3
   10602 fi
   10603 if test x$LIB_MAN_DIR = x    ; then
   10604     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10605 fi
   10606 
   10607 if test x$FILE_MAN_SUFFIX = x    ; then
   10608     case $SYSV_MAN_SECTIONS in
   10609 	true)				FILE_MAN_SUFFIX=4  ;;
   10610 	*)				FILE_MAN_SUFFIX=5  ;;
   10611     esac
   10612 fi
   10613 if test x$FILE_MAN_DIR = x    ; then
   10614     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10615 fi
   10616 
   10617 if test x$MISC_MAN_SUFFIX = x    ; then
   10618     case $SYSV_MAN_SECTIONS in
   10619 	true)				MISC_MAN_SUFFIX=5  ;;
   10620 	*)				MISC_MAN_SUFFIX=7  ;;
   10621     esac
   10622 fi
   10623 if test x$MISC_MAN_DIR = x    ; then
   10624     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10625 fi
   10626 
   10627 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10628     case $SYSV_MAN_SECTIONS in
   10629 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10630 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10631     esac
   10632 fi
   10633 if test x$DRIVER_MAN_DIR = x    ; then
   10634     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10635 fi
   10636 
   10637 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10638     case $SYSV_MAN_SECTIONS in
   10639 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10640 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10641     esac
   10642 fi
   10643 if test x$ADMIN_MAN_DIR = x    ; then
   10644     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10645 fi
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 XORG_MAN_PAGE="X Version 11"
   10662 
   10663 MAN_SUBSTS="\
   10664 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10665 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10666 	-e 's|__xservername__|Xorg|g' \
   10667 	-e 's|__xconfigfile__|xorg.conf|g' \
   10668 	-e 's|__projectroot__|\$(prefix)|g' \
   10669 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10670 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10671 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10672 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10673 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10674 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10675 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10676 
   10677 
   10678 
   10679 # Check whether --enable-silent-rules was given.
   10680 if test "${enable_silent_rules+set}" = set; then :
   10681   enableval=$enable_silent_rules;
   10682 fi
   10683 
   10684 case $enable_silent_rules in # (((
   10685   yes) AM_DEFAULT_VERBOSITY=0;;
   10686    no) AM_DEFAULT_VERBOSITY=1;;
   10687     *) AM_DEFAULT_VERBOSITY=0;;
   10688 esac
   10689 am_make=${MAKE-make}
   10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10691 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10692 if ${am_cv_make_support_nested_variables+:} false; then :
   10693   $as_echo_n "(cached) " >&6
   10694 else
   10695   if $as_echo 'TRUE=$(BAR$(V))
   10696 BAR0=false
   10697 BAR1=true
   10698 V=1
   10699 am__doit:
   10700 	@$(TRUE)
   10701 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10702   am_cv_make_support_nested_variables=yes
   10703 else
   10704   am_cv_make_support_nested_variables=no
   10705 fi
   10706 fi
   10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10708 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10709 if test $am_cv_make_support_nested_variables = yes; then
   10710     AM_V='$(V)'
   10711   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10712 else
   10713   AM_V=$AM_DEFAULT_VERBOSITY
   10714   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10715 fi
   10716 AM_BACKSLASH='\'
   10717 
   10718 
   10719 
   10720 # If both the C file and YACC are missing, the package cannot be build.
   10721 for ac_prog in 'bison -y' byacc
   10722 do
   10723   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10724 set dummy $ac_prog; ac_word=$2
   10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10726 $as_echo_n "checking for $ac_word... " >&6; }
   10727 if ${ac_cv_prog_YACC+:} false; then :
   10728   $as_echo_n "(cached) " >&6
   10729 else
   10730   if test -n "$YACC"; then
   10731   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   10732 else
   10733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10734 for as_dir in $PATH
   10735 do
   10736   IFS=$as_save_IFS
   10737   test -z "$as_dir" && as_dir=.
   10738     for ac_exec_ext in '' $ac_executable_extensions; do
   10739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10740     ac_cv_prog_YACC="$ac_prog"
   10741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10742     break 2
   10743   fi
   10744 done
   10745   done
   10746 IFS=$as_save_IFS
   10747 
   10748 fi
   10749 fi
   10750 YACC=$ac_cv_prog_YACC
   10751 if test -n "$YACC"; then
   10752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   10753 $as_echo "$YACC" >&6; }
   10754 else
   10755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10756 $as_echo "no" >&6; }
   10757 fi
   10758 
   10759 
   10760   test -n "$YACC" && break
   10761 done
   10762 test -n "$YACC" || YACC="yacc"
   10763 
   10764 # Extract the first word of "$YACC", so it can be a program name with args.
   10765 set dummy $YACC; ac_word=$2
   10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10767 $as_echo_n "checking for $ac_word... " >&6; }
   10768 if ${ac_cv_path_YACC_INST+:} false; then :
   10769   $as_echo_n "(cached) " >&6
   10770 else
   10771   case $YACC_INST in
   10772   [\\/]* | ?:[\\/]*)
   10773   ac_cv_path_YACC_INST="$YACC_INST" # Let the user override the test with a path.
   10774   ;;
   10775   *)
   10776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10777 for as_dir in $PATH
   10778 do
   10779   IFS=$as_save_IFS
   10780   test -z "$as_dir" && as_dir=.
   10781     for ac_exec_ext in '' $ac_executable_extensions; do
   10782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10783     ac_cv_path_YACC_INST="$as_dir/$ac_word$ac_exec_ext"
   10784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10785     break 2
   10786   fi
   10787 done
   10788   done
   10789 IFS=$as_save_IFS
   10790 
   10791   ;;
   10792 esac
   10793 fi
   10794 YACC_INST=$ac_cv_path_YACC_INST
   10795 if test -n "$YACC_INST"; then
   10796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC_INST" >&5
   10797 $as_echo "$YACC_INST" >&6; }
   10798 else
   10799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10800 $as_echo "no" >&6; }
   10801 fi
   10802 
   10803 
   10804 if test ! -f "$srcdir/xkbparse.c"; then
   10805    if test -z "$YACC_INST"; then
   10806       as_fn_error $? "yacc not found - unable to compile xkbparse.y" "$LINENO" 5
   10807    fi
   10808 fi
   10809 
   10810 for ac_func in strdup strcasecmp
   10811 do :
   10812   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10815   cat >>confdefs.h <<_ACEOF
   10816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10817 _ACEOF
   10818 
   10819 fi
   10820 done
   10821 
   10822 
   10823 # Checks for pkg-config packages
   10824 
   10825 pkg_failed=no
   10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBCOMP" >&5
   10827 $as_echo_n "checking for XKBCOMP... " >&6; }
   10828 
   10829 if test -n "$XKBCOMP_CFLAGS"; then
   10830     pkg_cv_XKBCOMP_CFLAGS="$XKBCOMP_CFLAGS"
   10831  elif test -n "$PKG_CONFIG"; then
   10832     if test -n "$PKG_CONFIG" && \
   10833     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xkbfile xproto >= 7.0.17\""; } >&5
   10834   ($PKG_CONFIG --exists --print-errors "x11 xkbfile xproto >= 7.0.17") 2>&5
   10835   ac_status=$?
   10836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10837   test $ac_status = 0; }; then
   10838   pkg_cv_XKBCOMP_CFLAGS=`$PKG_CONFIG --cflags "x11 xkbfile xproto >= 7.0.17" 2>/dev/null`
   10839 		      test "x$?" != "x0" && pkg_failed=yes
   10840 else
   10841   pkg_failed=yes
   10842 fi
   10843  else
   10844     pkg_failed=untried
   10845 fi
   10846 if test -n "$XKBCOMP_LIBS"; then
   10847     pkg_cv_XKBCOMP_LIBS="$XKBCOMP_LIBS"
   10848  elif test -n "$PKG_CONFIG"; then
   10849     if test -n "$PKG_CONFIG" && \
   10850     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xkbfile xproto >= 7.0.17\""; } >&5
   10851   ($PKG_CONFIG --exists --print-errors "x11 xkbfile xproto >= 7.0.17") 2>&5
   10852   ac_status=$?
   10853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10854   test $ac_status = 0; }; then
   10855   pkg_cv_XKBCOMP_LIBS=`$PKG_CONFIG --libs "x11 xkbfile xproto >= 7.0.17" 2>/dev/null`
   10856 		      test "x$?" != "x0" && pkg_failed=yes
   10857 else
   10858   pkg_failed=yes
   10859 fi
   10860  else
   10861     pkg_failed=untried
   10862 fi
   10863 
   10864 
   10865 
   10866 if test $pkg_failed = yes; then
   10867    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10868 $as_echo "no" >&6; }
   10869 
   10870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10871         _pkg_short_errors_supported=yes
   10872 else
   10873         _pkg_short_errors_supported=no
   10874 fi
   10875         if test $_pkg_short_errors_supported = yes; then
   10876 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xkbfile xproto >= 7.0.17" 2>&1`
   10877         else
   10878 	        XKBCOMP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xkbfile xproto >= 7.0.17" 2>&1`
   10879         fi
   10880 	# Put the nasty error message in config.log where it belongs
   10881 	echo "$XKBCOMP_PKG_ERRORS" >&5
   10882 
   10883 	as_fn_error $? "Package requirements (x11 xkbfile xproto >= 7.0.17) were not met:
   10884 
   10885 $XKBCOMP_PKG_ERRORS
   10886 
   10887 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10888 installed software in a non-standard prefix.
   10889 
   10890 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   10891 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   10892 See the pkg-config man page for more details." "$LINENO" 5
   10893 elif test $pkg_failed = untried; then
   10894      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10895 $as_echo "no" >&6; }
   10896 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10898 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10899 is in your PATH or set the PKG_CONFIG environment variable to the full
   10900 path to pkg-config.
   10901 
   10902 Alternatively, you may set the environment variables XKBCOMP_CFLAGS
   10903 and XKBCOMP_LIBS to avoid the need to call pkg-config.
   10904 See the pkg-config man page for more details.
   10905 
   10906 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10907 See \`config.log' for more details" "$LINENO" 5; }
   10908 else
   10909 	XKBCOMP_CFLAGS=$pkg_cv_XKBCOMP_CFLAGS
   10910 	XKBCOMP_LIBS=$pkg_cv_XKBCOMP_LIBS
   10911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10912 $as_echo "yes" >&6; }
   10913 
   10914 fi
   10915 
   10916 
   10917 # Check whether --with-xkb_config_root was given.
   10918 if test "${with_xkb_config_root+set}" = set; then :
   10919   withval=$with_xkb_config_root; XKBCONFIGROOT="$withval"
   10920 else
   10921   XKBCONFIGROOT='${datadir}/X11/xkb'
   10922 fi
   10923 
   10924 
   10925 
   10926 
   10927 ac_config_files="$ac_config_files Makefile man/Makefile xkbcomp.pc"
   10928 
   10929 cat >confcache <<\_ACEOF
   10930 # This file is a shell script that caches the results of configure
   10931 # tests run on this system so they can be shared between configure
   10932 # scripts and configure runs, see configure's option --config-cache.
   10933 # It is not useful on other systems.  If it contains results you don't
   10934 # want to keep, you may remove or edit it.
   10935 #
   10936 # config.status only pays attention to the cache file if you give it
   10937 # the --recheck option to rerun configure.
   10938 #
   10939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10941 # following values.
   10942 
   10943 _ACEOF
   10944 
   10945 # The following way of writing the cache mishandles newlines in values,
   10946 # but we know of no workaround that is simple, portable, and efficient.
   10947 # So, we kill variables containing newlines.
   10948 # Ultrix sh set writes to stderr and can't be redirected directly,
   10949 # and sets the high bit in the cache file unless we assign to the vars.
   10950 (
   10951   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10952     eval ac_val=\$$ac_var
   10953     case $ac_val in #(
   10954     *${as_nl}*)
   10955       case $ac_var in #(
   10956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10958       esac
   10959       case $ac_var in #(
   10960       _ | IFS | as_nl) ;; #(
   10961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10962       *) { eval $ac_var=; unset $ac_var;} ;;
   10963       esac ;;
   10964     esac
   10965   done
   10966 
   10967   (set) 2>&1 |
   10968     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10969     *${as_nl}ac_space=\ *)
   10970       # `set' does not quote correctly, so add quotes: double-quote
   10971       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10972       sed -n \
   10973 	"s/'/'\\\\''/g;
   10974 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10975       ;; #(
   10976     *)
   10977       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10978       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10979       ;;
   10980     esac |
   10981     sort
   10982 ) |
   10983   sed '
   10984      /^ac_cv_env_/b end
   10985      t clear
   10986      :clear
   10987      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10988      t end
   10989      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10990      :end' >>confcache
   10991 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10992   if test -w "$cache_file"; then
   10993     if test "x$cache_file" != "x/dev/null"; then
   10994       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10995 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10996       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10997 	cat confcache >"$cache_file"
   10998       else
   10999         case $cache_file in #(
   11000         */* | ?:*)
   11001 	  mv -f confcache "$cache_file"$$ &&
   11002 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11003         *)
   11004 	  mv -f confcache "$cache_file" ;;
   11005 	esac
   11006       fi
   11007     fi
   11008   else
   11009     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11010 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11011   fi
   11012 fi
   11013 rm -f confcache
   11014 
   11015 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11016 # Let make expand exec_prefix.
   11017 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11018 
   11019 DEFS=-DHAVE_CONFIG_H
   11020 
   11021 ac_libobjs=
   11022 ac_ltlibobjs=
   11023 U=
   11024 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11025   # 1. Remove the extension, and $U if already installed.
   11026   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11027   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11028   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11029   #    will be set to the directory where LIBOBJS objects are built.
   11030   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11031   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11032 done
   11033 LIBOBJS=$ac_libobjs
   11034 
   11035 LTLIBOBJS=$ac_ltlibobjs
   11036 
   11037 
   11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11039 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11040    if test -n "$am_sleep_pid"; then
   11041      # Hide warnings about reused PIDs.
   11042      wait $am_sleep_pid 2>/dev/null
   11043    fi
   11044    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11045 $as_echo "done" >&6; }
   11046  if test -n "$EXEEXT"; then
   11047   am__EXEEXT_TRUE=
   11048   am__EXEEXT_FALSE='#'
   11049 else
   11050   am__EXEEXT_TRUE='#'
   11051   am__EXEEXT_FALSE=
   11052 fi
   11053 
   11054 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11055   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11057 fi
   11058 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11059   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11061 fi
   11062 
   11063 : "${CONFIG_STATUS=./config.status}"
   11064 ac_write_fail=0
   11065 ac_clean_files_save=$ac_clean_files
   11066 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11068 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11069 as_write_fail=0
   11070 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11071 #! $SHELL
   11072 # Generated by $as_me.
   11073 # Run this file to recreate the current configuration.
   11074 # Compiler output produced by configure, useful for debugging
   11075 # configure, is in config.log if it exists.
   11076 
   11077 debug=false
   11078 ac_cs_recheck=false
   11079 ac_cs_silent=false
   11080 
   11081 SHELL=\${CONFIG_SHELL-$SHELL}
   11082 export SHELL
   11083 _ASEOF
   11084 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11085 ## -------------------- ##
   11086 ## M4sh Initialization. ##
   11087 ## -------------------- ##
   11088 
   11089 # Be more Bourne compatible
   11090 DUALCASE=1; export DUALCASE # for MKS sh
   11091 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11092   emulate sh
   11093   NULLCMD=:
   11094   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11095   # is contrary to our usage.  Disable this feature.
   11096   alias -g '${1+"$@"}'='"$@"'
   11097   setopt NO_GLOB_SUBST
   11098 else
   11099   case `(set -o) 2>/dev/null` in #(
   11100   *posix*) :
   11101     set -o posix ;; #(
   11102   *) :
   11103      ;;
   11104 esac
   11105 fi
   11106 
   11107 
   11108 as_nl='
   11109 '
   11110 export as_nl
   11111 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11112 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11113 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11115 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11116 # but without wasting forks for bash or zsh.
   11117 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11118     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11119   as_echo='print -r --'
   11120   as_echo_n='print -rn --'
   11121 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11122   as_echo='printf %s\n'
   11123   as_echo_n='printf %s'
   11124 else
   11125   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11126     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11127     as_echo_n='/usr/ucb/echo -n'
   11128   else
   11129     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11130     as_echo_n_body='eval
   11131       arg=$1;
   11132       case $arg in #(
   11133       *"$as_nl"*)
   11134 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11135 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11136       esac;
   11137       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11138     '
   11139     export as_echo_n_body
   11140     as_echo_n='sh -c $as_echo_n_body as_echo'
   11141   fi
   11142   export as_echo_body
   11143   as_echo='sh -c $as_echo_body as_echo'
   11144 fi
   11145 
   11146 # The user is always right.
   11147 if test "${PATH_SEPARATOR+set}" != set; then
   11148   PATH_SEPARATOR=:
   11149   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11150     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11151       PATH_SEPARATOR=';'
   11152   }
   11153 fi
   11154 
   11155 
   11156 # IFS
   11157 # We need space, tab and new line, in precisely that order.  Quoting is
   11158 # there to prevent editors from complaining about space-tab.
   11159 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11160 # splitting by setting IFS to empty value.)
   11161 IFS=" ""	$as_nl"
   11162 
   11163 # Find who we are.  Look in the path if we contain no directory separator.
   11164 as_myself=
   11165 case $0 in #((
   11166   *[\\/]* ) as_myself=$0 ;;
   11167   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11168 for as_dir in $PATH
   11169 do
   11170   IFS=$as_save_IFS
   11171   test -z "$as_dir" && as_dir=.
   11172     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11173   done
   11174 IFS=$as_save_IFS
   11175 
   11176      ;;
   11177 esac
   11178 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11179 # in which case we are not to be found in the path.
   11180 if test "x$as_myself" = x; then
   11181   as_myself=$0
   11182 fi
   11183 if test ! -f "$as_myself"; then
   11184   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11185   exit 1
   11186 fi
   11187 
   11188 # Unset variables that we do not need and which cause bugs (e.g. in
   11189 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11190 # suppresses any "Segmentation fault" message there.  '((' could
   11191 # trigger a bug in pdksh 5.2.14.
   11192 for as_var in BASH_ENV ENV MAIL MAILPATH
   11193 do eval test x\${$as_var+set} = xset \
   11194   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11195 done
   11196 PS1='$ '
   11197 PS2='> '
   11198 PS4='+ '
   11199 
   11200 # NLS nuisances.
   11201 LC_ALL=C
   11202 export LC_ALL
   11203 LANGUAGE=C
   11204 export LANGUAGE
   11205 
   11206 # CDPATH.
   11207 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11208 
   11209 
   11210 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11211 # ----------------------------------------
   11212 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11213 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11214 # script with STATUS, using 1 if that was 0.
   11215 as_fn_error ()
   11216 {
   11217   as_status=$1; test $as_status -eq 0 && as_status=1
   11218   if test "$4"; then
   11219     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11220     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11221   fi
   11222   $as_echo "$as_me: error: $2" >&2
   11223   as_fn_exit $as_status
   11224 } # as_fn_error
   11225 
   11226 
   11227 # as_fn_set_status STATUS
   11228 # -----------------------
   11229 # Set $? to STATUS, without forking.
   11230 as_fn_set_status ()
   11231 {
   11232   return $1
   11233 } # as_fn_set_status
   11234 
   11235 # as_fn_exit STATUS
   11236 # -----------------
   11237 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11238 as_fn_exit ()
   11239 {
   11240   set +e
   11241   as_fn_set_status $1
   11242   exit $1
   11243 } # as_fn_exit
   11244 
   11245 # as_fn_unset VAR
   11246 # ---------------
   11247 # Portably unset VAR.
   11248 as_fn_unset ()
   11249 {
   11250   { eval $1=; unset $1;}
   11251 }
   11252 as_unset=as_fn_unset
   11253 # as_fn_append VAR VALUE
   11254 # ----------------------
   11255 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11256 # advantage of any shell optimizations that allow amortized linear growth over
   11257 # repeated appends, instead of the typical quadratic growth present in naive
   11258 # implementations.
   11259 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11260   eval 'as_fn_append ()
   11261   {
   11262     eval $1+=\$2
   11263   }'
   11264 else
   11265   as_fn_append ()
   11266   {
   11267     eval $1=\$$1\$2
   11268   }
   11269 fi # as_fn_append
   11270 
   11271 # as_fn_arith ARG...
   11272 # ------------------
   11273 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11274 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11275 # must be portable across $(()) and expr.
   11276 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11277   eval 'as_fn_arith ()
   11278   {
   11279     as_val=$(( $* ))
   11280   }'
   11281 else
   11282   as_fn_arith ()
   11283   {
   11284     as_val=`expr "$@" || test $? -eq 1`
   11285   }
   11286 fi # as_fn_arith
   11287 
   11288 
   11289 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11290    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11291   as_expr=expr
   11292 else
   11293   as_expr=false
   11294 fi
   11295 
   11296 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11297   as_basename=basename
   11298 else
   11299   as_basename=false
   11300 fi
   11301 
   11302 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11303   as_dirname=dirname
   11304 else
   11305   as_dirname=false
   11306 fi
   11307 
   11308 as_me=`$as_basename -- "$0" ||
   11309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11310 	 X"$0" : 'X\(//\)$' \| \
   11311 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11312 $as_echo X/"$0" |
   11313     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11314 	    s//\1/
   11315 	    q
   11316 	  }
   11317 	  /^X\/\(\/\/\)$/{
   11318 	    s//\1/
   11319 	    q
   11320 	  }
   11321 	  /^X\/\(\/\).*/{
   11322 	    s//\1/
   11323 	    q
   11324 	  }
   11325 	  s/.*/./; q'`
   11326 
   11327 # Avoid depending upon Character Ranges.
   11328 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11329 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11330 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11331 as_cr_digits='0123456789'
   11332 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11333 
   11334 ECHO_C= ECHO_N= ECHO_T=
   11335 case `echo -n x` in #(((((
   11336 -n*)
   11337   case `echo 'xy\c'` in
   11338   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11339   xy)  ECHO_C='\c';;
   11340   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11341        ECHO_T='	';;
   11342   esac;;
   11343 *)
   11344   ECHO_N='-n';;
   11345 esac
   11346 
   11347 rm -f conf$$ conf$$.exe conf$$.file
   11348 if test -d conf$$.dir; then
   11349   rm -f conf$$.dir/conf$$.file
   11350 else
   11351   rm -f conf$$.dir
   11352   mkdir conf$$.dir 2>/dev/null
   11353 fi
   11354 if (echo >conf$$.file) 2>/dev/null; then
   11355   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11356     as_ln_s='ln -s'
   11357     # ... but there are two gotchas:
   11358     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11359     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11360     # In both cases, we have to default to `cp -pR'.
   11361     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11362       as_ln_s='cp -pR'
   11363   elif ln conf$$.file conf$$ 2>/dev/null; then
   11364     as_ln_s=ln
   11365   else
   11366     as_ln_s='cp -pR'
   11367   fi
   11368 else
   11369   as_ln_s='cp -pR'
   11370 fi
   11371 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11372 rmdir conf$$.dir 2>/dev/null
   11373 
   11374 
   11375 # as_fn_mkdir_p
   11376 # -------------
   11377 # Create "$as_dir" as a directory, including parents if necessary.
   11378 as_fn_mkdir_p ()
   11379 {
   11380 
   11381   case $as_dir in #(
   11382   -*) as_dir=./$as_dir;;
   11383   esac
   11384   test -d "$as_dir" || eval $as_mkdir_p || {
   11385     as_dirs=
   11386     while :; do
   11387       case $as_dir in #(
   11388       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11389       *) as_qdir=$as_dir;;
   11390       esac
   11391       as_dirs="'$as_qdir' $as_dirs"
   11392       as_dir=`$as_dirname -- "$as_dir" ||
   11393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11394 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11395 	 X"$as_dir" : 'X\(//\)$' \| \
   11396 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11397 $as_echo X"$as_dir" |
   11398     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11399 	    s//\1/
   11400 	    q
   11401 	  }
   11402 	  /^X\(\/\/\)[^/].*/{
   11403 	    s//\1/
   11404 	    q
   11405 	  }
   11406 	  /^X\(\/\/\)$/{
   11407 	    s//\1/
   11408 	    q
   11409 	  }
   11410 	  /^X\(\/\).*/{
   11411 	    s//\1/
   11412 	    q
   11413 	  }
   11414 	  s/.*/./; q'`
   11415       test -d "$as_dir" && break
   11416     done
   11417     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11418   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11419 
   11420 
   11421 } # as_fn_mkdir_p
   11422 if mkdir -p . 2>/dev/null; then
   11423   as_mkdir_p='mkdir -p "$as_dir"'
   11424 else
   11425   test -d ./-p && rmdir ./-p
   11426   as_mkdir_p=false
   11427 fi
   11428 
   11429 
   11430 # as_fn_executable_p FILE
   11431 # -----------------------
   11432 # Test if FILE is an executable regular file.
   11433 as_fn_executable_p ()
   11434 {
   11435   test -f "$1" && test -x "$1"
   11436 } # as_fn_executable_p
   11437 as_test_x='test -x'
   11438 as_executable_p=as_fn_executable_p
   11439 
   11440 # Sed expression to map a string onto a valid CPP name.
   11441 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11442 
   11443 # Sed expression to map a string onto a valid variable name.
   11444 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11445 
   11446 
   11447 exec 6>&1
   11448 ## ----------------------------------- ##
   11449 ## Main body of $CONFIG_STATUS script. ##
   11450 ## ----------------------------------- ##
   11451 _ASEOF
   11452 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11453 
   11454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11455 # Save the log message, to keep $0 and so on meaningful, and to
   11456 # report actual input values of CONFIG_FILES etc. instead of their
   11457 # values after options handling.
   11458 ac_log="
   11459 This file was extended by xkbcomp $as_me 1.4.5, which was
   11460 generated by GNU Autoconf 2.69.  Invocation command line was
   11461 
   11462   CONFIG_FILES    = $CONFIG_FILES
   11463   CONFIG_HEADERS  = $CONFIG_HEADERS
   11464   CONFIG_LINKS    = $CONFIG_LINKS
   11465   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11466   $ $0 $@
   11467 
   11468 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11469 "
   11470 
   11471 _ACEOF
   11472 
   11473 case $ac_config_files in *"
   11474 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11475 esac
   11476 
   11477 case $ac_config_headers in *"
   11478 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11479 esac
   11480 
   11481 
   11482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11483 # Files that config.status was made for.
   11484 config_files="$ac_config_files"
   11485 config_headers="$ac_config_headers"
   11486 config_commands="$ac_config_commands"
   11487 
   11488 _ACEOF
   11489 
   11490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11491 ac_cs_usage="\
   11492 \`$as_me' instantiates files and other configuration actions
   11493 from templates according to the current configuration.  Unless the files
   11494 and actions are specified as TAGs, all are instantiated by default.
   11495 
   11496 Usage: $0 [OPTION]... [TAG]...
   11497 
   11498   -h, --help       print this help, then exit
   11499   -V, --version    print version number and configuration settings, then exit
   11500       --config     print configuration, then exit
   11501   -q, --quiet, --silent
   11502                    do not print progress messages
   11503   -d, --debug      don't remove temporary files
   11504       --recheck    update $as_me by reconfiguring in the same conditions
   11505       --file=FILE[:TEMPLATE]
   11506                    instantiate the configuration file FILE
   11507       --header=FILE[:TEMPLATE]
   11508                    instantiate the configuration header FILE
   11509 
   11510 Configuration files:
   11511 $config_files
   11512 
   11513 Configuration headers:
   11514 $config_headers
   11515 
   11516 Configuration commands:
   11517 $config_commands
   11518 
   11519 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xkbcomp/issues>."
   11520 
   11521 _ACEOF
   11522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11523 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11524 ac_cs_version="\\
   11525 xkbcomp config.status 1.4.5
   11526 configured by $0, generated by GNU Autoconf 2.69,
   11527   with options \\"\$ac_cs_config\\"
   11528 
   11529 Copyright (C) 2012 Free Software Foundation, Inc.
   11530 This config.status script is free software; the Free Software Foundation
   11531 gives unlimited permission to copy, distribute and modify it."
   11532 
   11533 ac_pwd='$ac_pwd'
   11534 srcdir='$srcdir'
   11535 INSTALL='$INSTALL'
   11536 MKDIR_P='$MKDIR_P'
   11537 AWK='$AWK'
   11538 test -n "\$AWK" || AWK=awk
   11539 _ACEOF
   11540 
   11541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11542 # The default lists apply if the user does not specify any file.
   11543 ac_need_defaults=:
   11544 while test $# != 0
   11545 do
   11546   case $1 in
   11547   --*=?*)
   11548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11550     ac_shift=:
   11551     ;;
   11552   --*=)
   11553     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11554     ac_optarg=
   11555     ac_shift=:
   11556     ;;
   11557   *)
   11558     ac_option=$1
   11559     ac_optarg=$2
   11560     ac_shift=shift
   11561     ;;
   11562   esac
   11563 
   11564   case $ac_option in
   11565   # Handling of the options.
   11566   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11567     ac_cs_recheck=: ;;
   11568   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11569     $as_echo "$ac_cs_version"; exit ;;
   11570   --config | --confi | --conf | --con | --co | --c )
   11571     $as_echo "$ac_cs_config"; exit ;;
   11572   --debug | --debu | --deb | --de | --d | -d )
   11573     debug=: ;;
   11574   --file | --fil | --fi | --f )
   11575     $ac_shift
   11576     case $ac_optarg in
   11577     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11578     '') as_fn_error $? "missing file argument" ;;
   11579     esac
   11580     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11581     ac_need_defaults=false;;
   11582   --header | --heade | --head | --hea )
   11583     $ac_shift
   11584     case $ac_optarg in
   11585     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11586     esac
   11587     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11588     ac_need_defaults=false;;
   11589   --he | --h)
   11590     # Conflict between --help and --header
   11591     as_fn_error $? "ambiguous option: \`$1'
   11592 Try \`$0 --help' for more information.";;
   11593   --help | --hel | -h )
   11594     $as_echo "$ac_cs_usage"; exit ;;
   11595   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11596   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11597     ac_cs_silent=: ;;
   11598 
   11599   # This is an error.
   11600   -*) as_fn_error $? "unrecognized option: \`$1'
   11601 Try \`$0 --help' for more information." ;;
   11602 
   11603   *) as_fn_append ac_config_targets " $1"
   11604      ac_need_defaults=false ;;
   11605 
   11606   esac
   11607   shift
   11608 done
   11609 
   11610 ac_configure_extra_args=
   11611 
   11612 if $ac_cs_silent; then
   11613   exec 6>/dev/null
   11614   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11615 fi
   11616 
   11617 _ACEOF
   11618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11619 if \$ac_cs_recheck; then
   11620   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11621   shift
   11622   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11623   CONFIG_SHELL='$SHELL'
   11624   export CONFIG_SHELL
   11625   exec "\$@"
   11626 fi
   11627 
   11628 _ACEOF
   11629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11630 exec 5>>config.log
   11631 {
   11632   echo
   11633   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11634 ## Running $as_me. ##
   11635 _ASBOX
   11636   $as_echo "$ac_log"
   11637 } >&5
   11638 
   11639 _ACEOF
   11640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11641 #
   11642 # INIT-COMMANDS
   11643 #
   11644 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11645 
   11646 _ACEOF
   11647 
   11648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11649 
   11650 # Handling of arguments.
   11651 for ac_config_target in $ac_config_targets
   11652 do
   11653   case $ac_config_target in
   11654     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11655     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11656     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11657     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11658     "xkbcomp.pc") CONFIG_FILES="$CONFIG_FILES xkbcomp.pc" ;;
   11659 
   11660   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11661   esac
   11662 done
   11663 
   11664 
   11665 # If the user did not use the arguments to specify the items to instantiate,
   11666 # then the envvar interface is used.  Set only those that are not.
   11667 # We use the long form for the default assignment because of an extremely
   11668 # bizarre bug on SunOS 4.1.3.
   11669 if $ac_need_defaults; then
   11670   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11671   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11672   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11673 fi
   11674 
   11675 # Have a temporary directory for convenience.  Make it in the build tree
   11676 # simply because there is no reason against having it here, and in addition,
   11677 # creating and moving files from /tmp can sometimes cause problems.
   11678 # Hook for its removal unless debugging.
   11679 # Note that there is a small window in which the directory will not be cleaned:
   11680 # after its creation but before its name has been assigned to `$tmp'.
   11681 $debug ||
   11682 {
   11683   tmp= ac_tmp=
   11684   trap 'exit_status=$?
   11685   : "${ac_tmp:=$tmp}"
   11686   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11687 ' 0
   11688   trap 'as_fn_exit 1' 1 2 13 15
   11689 }
   11690 # Create a (secure) tmp directory for tmp files.
   11691 
   11692 {
   11693   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11694   test -d "$tmp"
   11695 }  ||
   11696 {
   11697   tmp=./conf$$-$RANDOM
   11698   (umask 077 && mkdir "$tmp")
   11699 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11700 ac_tmp=$tmp
   11701 
   11702 # Set up the scripts for CONFIG_FILES section.
   11703 # No need to generate them if there are no CONFIG_FILES.
   11704 # This happens for instance with `./config.status config.h'.
   11705 if test -n "$CONFIG_FILES"; then
   11706 
   11707 
   11708 ac_cr=`echo X | tr X '\015'`
   11709 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11710 # But we know of no other shell where ac_cr would be empty at this
   11711 # point, so we can use a bashism as a fallback.
   11712 if test "x$ac_cr" = x; then
   11713   eval ac_cr=\$\'\\r\'
   11714 fi
   11715 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11717   ac_cs_awk_cr='\\r'
   11718 else
   11719   ac_cs_awk_cr=$ac_cr
   11720 fi
   11721 
   11722 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11723 _ACEOF
   11724 
   11725 
   11726 {
   11727   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11728   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11729   echo "_ACEOF"
   11730 } >conf$$subs.sh ||
   11731   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11732 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11733 ac_delim='%!_!# '
   11734 for ac_last_try in false false false false false :; do
   11735   . ./conf$$subs.sh ||
   11736     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11737 
   11738   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11739   if test $ac_delim_n = $ac_delim_num; then
   11740     break
   11741   elif $ac_last_try; then
   11742     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11743   else
   11744     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11745   fi
   11746 done
   11747 rm -f conf$$subs.sh
   11748 
   11749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11750 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11751 _ACEOF
   11752 sed -n '
   11753 h
   11754 s/^/S["/; s/!.*/"]=/
   11755 p
   11756 g
   11757 s/^[^!]*!//
   11758 :repl
   11759 t repl
   11760 s/'"$ac_delim"'$//
   11761 t delim
   11762 :nl
   11763 h
   11764 s/\(.\{148\}\)..*/\1/
   11765 t more1
   11766 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11767 p
   11768 n
   11769 b repl
   11770 :more1
   11771 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11772 p
   11773 g
   11774 s/.\{148\}//
   11775 t nl
   11776 :delim
   11777 h
   11778 s/\(.\{148\}\)..*/\1/
   11779 t more2
   11780 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11781 p
   11782 b
   11783 :more2
   11784 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11785 p
   11786 g
   11787 s/.\{148\}//
   11788 t delim
   11789 ' <conf$$subs.awk | sed '
   11790 /^[^""]/{
   11791   N
   11792   s/\n//
   11793 }
   11794 ' >>$CONFIG_STATUS || ac_write_fail=1
   11795 rm -f conf$$subs.awk
   11796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11797 _ACAWK
   11798 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11799   for (key in S) S_is_set[key] = 1
   11800   FS = ""
   11801 
   11802 }
   11803 {
   11804   line = $ 0
   11805   nfields = split(line, field, "@")
   11806   substed = 0
   11807   len = length(field[1])
   11808   for (i = 2; i < nfields; i++) {
   11809     key = field[i]
   11810     keylen = length(key)
   11811     if (S_is_set[key]) {
   11812       value = S[key]
   11813       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11814       len += length(value) + length(field[++i])
   11815       substed = 1
   11816     } else
   11817       len += 1 + keylen
   11818   }
   11819 
   11820   print line
   11821 }
   11822 
   11823 _ACAWK
   11824 _ACEOF
   11825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11826 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11827   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11828 else
   11829   cat
   11830 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11831   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11832 _ACEOF
   11833 
   11834 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11835 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11836 # trailing colons and then remove the whole line if VPATH becomes empty
   11837 # (actually we leave an empty line to preserve line numbers).
   11838 if test "x$srcdir" = x.; then
   11839   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11840 h
   11841 s///
   11842 s/^/:/
   11843 s/[	 ]*$/:/
   11844 s/:\$(srcdir):/:/g
   11845 s/:\${srcdir}:/:/g
   11846 s/:@srcdir@:/:/g
   11847 s/^:*//
   11848 s/:*$//
   11849 x
   11850 s/\(=[	 ]*\).*/\1/
   11851 G
   11852 s/\n//
   11853 s/^[^=]*=[	 ]*$//
   11854 }'
   11855 fi
   11856 
   11857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11858 fi # test -n "$CONFIG_FILES"
   11859 
   11860 # Set up the scripts for CONFIG_HEADERS section.
   11861 # No need to generate them if there are no CONFIG_HEADERS.
   11862 # This happens for instance with `./config.status Makefile'.
   11863 if test -n "$CONFIG_HEADERS"; then
   11864 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11865 BEGIN {
   11866 _ACEOF
   11867 
   11868 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11869 # here-document in config.status, that substitutes the proper values into
   11870 # config.h.in to produce config.h.
   11871 
   11872 # Create a delimiter string that does not exist in confdefs.h, to ease
   11873 # handling of long lines.
   11874 ac_delim='%!_!# '
   11875 for ac_last_try in false false :; do
   11876   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11877   if test -z "$ac_tt"; then
   11878     break
   11879   elif $ac_last_try; then
   11880     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11881   else
   11882     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11883   fi
   11884 done
   11885 
   11886 # For the awk script, D is an array of macro values keyed by name,
   11887 # likewise P contains macro parameters if any.  Preserve backslash
   11888 # newline sequences.
   11889 
   11890 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11891 sed -n '
   11892 s/.\{148\}/&'"$ac_delim"'/g
   11893 t rset
   11894 :rset
   11895 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11896 t def
   11897 d
   11898 :def
   11899 s/\\$//
   11900 t bsnl
   11901 s/["\\]/\\&/g
   11902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11903 D["\1"]=" \3"/p
   11904 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11905 d
   11906 :bsnl
   11907 s/["\\]/\\&/g
   11908 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11909 D["\1"]=" \3\\\\\\n"\\/p
   11910 t cont
   11911 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11912 t cont
   11913 d
   11914 :cont
   11915 n
   11916 s/.\{148\}/&'"$ac_delim"'/g
   11917 t clear
   11918 :clear
   11919 s/\\$//
   11920 t bsnlc
   11921 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11922 d
   11923 :bsnlc
   11924 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11925 b cont
   11926 ' <confdefs.h | sed '
   11927 s/'"$ac_delim"'/"\\\
   11928 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11929 
   11930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11931   for (key in D) D_is_set[key] = 1
   11932   FS = ""
   11933 }
   11934 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11935   line = \$ 0
   11936   split(line, arg, " ")
   11937   if (arg[1] == "#") {
   11938     defundef = arg[2]
   11939     mac1 = arg[3]
   11940   } else {
   11941     defundef = substr(arg[1], 2)
   11942     mac1 = arg[2]
   11943   }
   11944   split(mac1, mac2, "(") #)
   11945   macro = mac2[1]
   11946   prefix = substr(line, 1, index(line, defundef) - 1)
   11947   if (D_is_set[macro]) {
   11948     # Preserve the white space surrounding the "#".
   11949     print prefix "define", macro P[macro] D[macro]
   11950     next
   11951   } else {
   11952     # Replace #undef with comments.  This is necessary, for example,
   11953     # in the case of _POSIX_SOURCE, which is predefined and required
   11954     # on some systems where configure will not decide to define it.
   11955     if (defundef == "undef") {
   11956       print "/*", prefix defundef, macro, "*/"
   11957       next
   11958     }
   11959   }
   11960 }
   11961 { print }
   11962 _ACAWK
   11963 _ACEOF
   11964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11965   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11966 fi # test -n "$CONFIG_HEADERS"
   11967 
   11968 
   11969 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11970 shift
   11971 for ac_tag
   11972 do
   11973   case $ac_tag in
   11974   :[FHLC]) ac_mode=$ac_tag; continue;;
   11975   esac
   11976   case $ac_mode$ac_tag in
   11977   :[FHL]*:*);;
   11978   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11979   :[FH]-) ac_tag=-:-;;
   11980   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11981   esac
   11982   ac_save_IFS=$IFS
   11983   IFS=:
   11984   set x $ac_tag
   11985   IFS=$ac_save_IFS
   11986   shift
   11987   ac_file=$1
   11988   shift
   11989 
   11990   case $ac_mode in
   11991   :L) ac_source=$1;;
   11992   :[FH])
   11993     ac_file_inputs=
   11994     for ac_f
   11995     do
   11996       case $ac_f in
   11997       -) ac_f="$ac_tmp/stdin";;
   11998       *) # Look for the file first in the build tree, then in the source tree
   11999 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12000 	 # because $ac_f cannot contain `:'.
   12001 	 test -f "$ac_f" ||
   12002 	   case $ac_f in
   12003 	   [\\/$]*) false;;
   12004 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12005 	   esac ||
   12006 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12007       esac
   12008       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12009       as_fn_append ac_file_inputs " '$ac_f'"
   12010     done
   12011 
   12012     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12013     # use $as_me), people would be surprised to read:
   12014     #    /* config.h.  Generated by config.status.  */
   12015     configure_input='Generated from '`
   12016 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12017 	`' by configure.'
   12018     if test x"$ac_file" != x-; then
   12019       configure_input="$ac_file.  $configure_input"
   12020       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12021 $as_echo "$as_me: creating $ac_file" >&6;}
   12022     fi
   12023     # Neutralize special characters interpreted by sed in replacement strings.
   12024     case $configure_input in #(
   12025     *\&* | *\|* | *\\* )
   12026        ac_sed_conf_input=`$as_echo "$configure_input" |
   12027        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12028     *) ac_sed_conf_input=$configure_input;;
   12029     esac
   12030 
   12031     case $ac_tag in
   12032     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12033       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12034     esac
   12035     ;;
   12036   esac
   12037 
   12038   ac_dir=`$as_dirname -- "$ac_file" ||
   12039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12040 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12041 	 X"$ac_file" : 'X\(//\)$' \| \
   12042 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12043 $as_echo X"$ac_file" |
   12044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12045 	    s//\1/
   12046 	    q
   12047 	  }
   12048 	  /^X\(\/\/\)[^/].*/{
   12049 	    s//\1/
   12050 	    q
   12051 	  }
   12052 	  /^X\(\/\/\)$/{
   12053 	    s//\1/
   12054 	    q
   12055 	  }
   12056 	  /^X\(\/\).*/{
   12057 	    s//\1/
   12058 	    q
   12059 	  }
   12060 	  s/.*/./; q'`
   12061   as_dir="$ac_dir"; as_fn_mkdir_p
   12062   ac_builddir=.
   12063 
   12064 case "$ac_dir" in
   12065 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12066 *)
   12067   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12068   # A ".." for each directory in $ac_dir_suffix.
   12069   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12070   case $ac_top_builddir_sub in
   12071   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12072   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12073   esac ;;
   12074 esac
   12075 ac_abs_top_builddir=$ac_pwd
   12076 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12077 # for backward compatibility:
   12078 ac_top_builddir=$ac_top_build_prefix
   12079 
   12080 case $srcdir in
   12081   .)  # We are building in place.
   12082     ac_srcdir=.
   12083     ac_top_srcdir=$ac_top_builddir_sub
   12084     ac_abs_top_srcdir=$ac_pwd ;;
   12085   [\\/]* | ?:[\\/]* )  # Absolute name.
   12086     ac_srcdir=$srcdir$ac_dir_suffix;
   12087     ac_top_srcdir=$srcdir
   12088     ac_abs_top_srcdir=$srcdir ;;
   12089   *) # Relative name.
   12090     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12091     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12092     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12093 esac
   12094 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12095 
   12096 
   12097   case $ac_mode in
   12098   :F)
   12099   #
   12100   # CONFIG_FILE
   12101   #
   12102 
   12103   case $INSTALL in
   12104   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12105   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12106   esac
   12107   ac_MKDIR_P=$MKDIR_P
   12108   case $MKDIR_P in
   12109   [\\/$]* | ?:[\\/]* ) ;;
   12110   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12111   esac
   12112 _ACEOF
   12113 
   12114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12115 # If the template does not know about datarootdir, expand it.
   12116 # FIXME: This hack should be removed a few years after 2.60.
   12117 ac_datarootdir_hack=; ac_datarootdir_seen=
   12118 ac_sed_dataroot='
   12119 /datarootdir/ {
   12120   p
   12121   q
   12122 }
   12123 /@datadir@/p
   12124 /@docdir@/p
   12125 /@infodir@/p
   12126 /@localedir@/p
   12127 /@mandir@/p'
   12128 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12129 *datarootdir*) ac_datarootdir_seen=yes;;
   12130 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12131   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12132 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12133 _ACEOF
   12134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12135   ac_datarootdir_hack='
   12136   s&@datadir@&$datadir&g
   12137   s&@docdir@&$docdir&g
   12138   s&@infodir@&$infodir&g
   12139   s&@localedir@&$localedir&g
   12140   s&@mandir@&$mandir&g
   12141   s&\\\${datarootdir}&$datarootdir&g' ;;
   12142 esac
   12143 _ACEOF
   12144 
   12145 # Neutralize VPATH when `$srcdir' = `.'.
   12146 # Shell code in configure.ac might set extrasub.
   12147 # FIXME: do we really want to maintain this feature?
   12148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12149 ac_sed_extra="$ac_vpsub
   12150 $extrasub
   12151 _ACEOF
   12152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12153 :t
   12154 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12155 s|@configure_input@|$ac_sed_conf_input|;t t
   12156 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12157 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12158 s&@srcdir@&$ac_srcdir&;t t
   12159 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12160 s&@top_srcdir@&$ac_top_srcdir&;t t
   12161 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12162 s&@builddir@&$ac_builddir&;t t
   12163 s&@abs_builddir@&$ac_abs_builddir&;t t
   12164 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12165 s&@INSTALL@&$ac_INSTALL&;t t
   12166 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12167 $ac_datarootdir_hack
   12168 "
   12169 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12170   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12171 
   12172 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12173   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12174   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12175       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12176   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12177 which seems to be undefined.  Please make sure it is defined" >&5
   12178 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12179 which seems to be undefined.  Please make sure it is defined" >&2;}
   12180 
   12181   rm -f "$ac_tmp/stdin"
   12182   case $ac_file in
   12183   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12184   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12185   esac \
   12186   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12187  ;;
   12188   :H)
   12189   #
   12190   # CONFIG_HEADER
   12191   #
   12192   if test x"$ac_file" != x-; then
   12193     {
   12194       $as_echo "/* $configure_input  */" \
   12195       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12196     } >"$ac_tmp/config.h" \
   12197       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12198     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12199       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12200 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12201     else
   12202       rm -f "$ac_file"
   12203       mv "$ac_tmp/config.h" "$ac_file" \
   12204 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12205     fi
   12206   else
   12207     $as_echo "/* $configure_input  */" \
   12208       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12209       || as_fn_error $? "could not create -" "$LINENO" 5
   12210   fi
   12211 # Compute "$ac_file"'s index in $config_headers.
   12212 _am_arg="$ac_file"
   12213 _am_stamp_count=1
   12214 for _am_header in $config_headers :; do
   12215   case $_am_header in
   12216     $_am_arg | $_am_arg:* )
   12217       break ;;
   12218     * )
   12219       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12220   esac
   12221 done
   12222 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12223 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12224 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12225 	 X"$_am_arg" : 'X\(//\)$' \| \
   12226 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12227 $as_echo X"$_am_arg" |
   12228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12229 	    s//\1/
   12230 	    q
   12231 	  }
   12232 	  /^X\(\/\/\)[^/].*/{
   12233 	    s//\1/
   12234 	    q
   12235 	  }
   12236 	  /^X\(\/\/\)$/{
   12237 	    s//\1/
   12238 	    q
   12239 	  }
   12240 	  /^X\(\/\).*/{
   12241 	    s//\1/
   12242 	    q
   12243 	  }
   12244 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12245  ;;
   12246 
   12247   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12248 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12249  ;;
   12250   esac
   12251 
   12252 
   12253   case $ac_file$ac_mode in
   12254     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12255   # Older Autoconf quotes --file arguments for eval, but not when files
   12256   # are listed without --file.  Let's play safe and only enable the eval
   12257   # if we detect the quoting.
   12258   # TODO: see whether this extra hack can be removed once we start
   12259   # requiring Autoconf 2.70 or later.
   12260   case $CONFIG_FILES in #(
   12261   *\'*) :
   12262     eval set x "$CONFIG_FILES" ;; #(
   12263   *) :
   12264     set x $CONFIG_FILES ;; #(
   12265   *) :
   12266      ;;
   12267 esac
   12268   shift
   12269   # Used to flag and report bootstrapping failures.
   12270   am_rc=0
   12271   for am_mf
   12272   do
   12273     # Strip MF so we end up with the name of the file.
   12274     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   12275     # Check whether this is an Automake generated Makefile which includes
   12276     # dependency-tracking related rules and includes.
   12277     # Grep'ing the whole file directly is not great: AIX grep has a line
   12278     # limit of 2048, but all sed's we know have understand at least 4000.
   12279     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12280       || continue
   12281     am_dirpart=`$as_dirname -- "$am_mf" ||
   12282 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12283 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12284 	 X"$am_mf" : 'X\(//\)$' \| \
   12285 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12286 $as_echo X"$am_mf" |
   12287     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12288 	    s//\1/
   12289 	    q
   12290 	  }
   12291 	  /^X\(\/\/\)[^/].*/{
   12292 	    s//\1/
   12293 	    q
   12294 	  }
   12295 	  /^X\(\/\/\)$/{
   12296 	    s//\1/
   12297 	    q
   12298 	  }
   12299 	  /^X\(\/\).*/{
   12300 	    s//\1/
   12301 	    q
   12302 	  }
   12303 	  s/.*/./; q'`
   12304     am_filepart=`$as_basename -- "$am_mf" ||
   12305 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12306 	 X"$am_mf" : 'X\(//\)$' \| \
   12307 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12308 $as_echo X/"$am_mf" |
   12309     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12310 	    s//\1/
   12311 	    q
   12312 	  }
   12313 	  /^X\/\(\/\/\)$/{
   12314 	    s//\1/
   12315 	    q
   12316 	  }
   12317 	  /^X\/\(\/\).*/{
   12318 	    s//\1/
   12319 	    q
   12320 	  }
   12321 	  s/.*/./; q'`
   12322     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12323       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12324         | $MAKE -f - am--depfiles" >&5
   12325    (cd "$am_dirpart" \
   12326       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12327         | $MAKE -f - am--depfiles) >&5 2>&5
   12328    ac_status=$?
   12329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12330    (exit $ac_status); } || am_rc=$?
   12331   done
   12332   if test $am_rc -ne 0; then
   12333     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12335 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12336     for automatic dependency tracking.  If GNU make was not used, consider
   12337     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12338     necessary).  You can also try re-running configure with the
   12339     '--disable-dependency-tracking' option to at least be able to build
   12340     the package (albeit without support for automatic dependency tracking).
   12341 See \`config.log' for more details" "$LINENO" 5; }
   12342   fi
   12343   { am_dirpart=; unset am_dirpart;}
   12344   { am_filepart=; unset am_filepart;}
   12345   { am_mf=; unset am_mf;}
   12346   { am_rc=; unset am_rc;}
   12347   rm -f conftest-deps.mk
   12348 }
   12349  ;;
   12350 
   12351   esac
   12352 done # for ac_tag
   12353 
   12354 
   12355 as_fn_exit 0
   12356 _ACEOF
   12357 ac_clean_files=$ac_clean_files_save
   12358 
   12359 test $ac_write_fail = 0 ||
   12360   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12361 
   12362 
   12363 # configure is writing to config.log, and then calls config.status.
   12364 # config.status does its own redirection, appending to config.log.
   12365 # Unfortunately, on DOS this fails, as config.log is still kept open
   12366 # by configure, so config.status won't be able to write to it; its
   12367 # output is simply discarded.  So we exec the FD to /dev/null,
   12368 # effectively closing config.log, so it can be properly (re)opened and
   12369 # appended to by config.status.  When coming back to configure, we
   12370 # need to make the FD available again.
   12371 if test "$no_create" != yes; then
   12372   ac_cs_success=:
   12373   ac_config_status_args=
   12374   test "$silent" = yes &&
   12375     ac_config_status_args="$ac_config_status_args --quiet"
   12376   exec 5>/dev/null
   12377   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12378   exec 5>>config.log
   12379   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12380   # would make configure fail if this is the last instruction.
   12381   $ac_cs_success || as_fn_exit 1
   12382 fi
   12383 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12384   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12385 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12386 fi
   12387 
   12388