Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xkbprint 1.0.4.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xkbprint'
    583 PACKAGE_TARNAME='xkbprint'
    584 PACKAGE_VERSION='1.0.4'
    585 PACKAGE_STRING='xkbprint 1.0.4'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XKBPRINT_LIBS
    631 XKBPRINT_CFLAGS
    632 MAN_SUBSTS
    633 XORG_MAN_PAGE
    634 ADMIN_MAN_DIR
    635 DRIVER_MAN_DIR
    636 MISC_MAN_DIR
    637 FILE_MAN_DIR
    638 LIB_MAN_DIR
    639 APP_MAN_DIR
    640 ADMIN_MAN_SUFFIX
    641 DRIVER_MAN_SUFFIX
    642 MISC_MAN_SUFFIX
    643 FILE_MAN_SUFFIX
    644 LIB_MAN_SUFFIX
    645 APP_MAN_SUFFIX
    646 SED
    647 host_os
    648 host_vendor
    649 host_cpu
    650 host
    651 build_os
    652 build_vendor
    653 build_cpu
    654 build
    655 INSTALL_CMD
    656 PKG_CONFIG
    657 CHANGELOG_CMD
    658 STRICT_CFLAGS
    659 CWARNFLAGS
    660 BASE_CFLAGS
    661 AM_BACKSLASH
    662 AM_DEFAULT_VERBOSITY
    663 AM_DEFAULT_V
    664 AM_V
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 am__nodep
    669 AMDEPBACKSLASH
    670 AMDEP_FALSE
    671 AMDEP_TRUE
    672 am__quote
    673 am__include
    674 DEPDIR
    675 am__untar
    676 am__tar
    677 AMTAR
    678 am__leading_dot
    679 SET_MAKE
    680 AWK
    681 mkdir_p
    682 MKDIR_P
    683 INSTALL_STRIP_PROGRAM
    684 STRIP
    685 install_sh
    686 MAKEINFO
    687 AUTOHEADER
    688 AUTOMAKE
    689 AUTOCONF
    690 ACLOCAL
    691 VERSION
    692 PACKAGE
    693 CYGPATH_W
    694 am__isrc
    695 INSTALL_DATA
    696 INSTALL_SCRIPT
    697 INSTALL_PROGRAM
    698 EGREP
    699 GREP
    700 CPP
    701 OBJEXT
    702 EXEEXT
    703 ac_ct_CC
    704 CPPFLAGS
    705 LDFLAGS
    706 CFLAGS
    707 CC
    708 target_alias
    709 host_alias
    710 build_alias
    711 LIBS
    712 ECHO_T
    713 ECHO_N
    714 ECHO_C
    715 DEFS
    716 mandir
    717 localedir
    718 libdir
    719 psdir
    720 pdfdir
    721 dvidir
    722 htmldir
    723 infodir
    724 docdir
    725 oldincludedir
    726 includedir
    727 localstatedir
    728 sharedstatedir
    729 sysconfdir
    730 datadir
    731 datarootdir
    732 libexecdir
    733 sbindir
    734 bindir
    735 program_transform_name
    736 prefix
    737 exec_prefix
    738 PACKAGE_URL
    739 PACKAGE_BUGREPORT
    740 PACKAGE_STRING
    741 PACKAGE_VERSION
    742 PACKAGE_TARNAME
    743 PACKAGE_NAME
    744 PATH_SEPARATOR
    745 SHELL'
    746 ac_subst_files=''
    747 ac_user_opts='
    748 enable_option_checking
    749 enable_dependency_tracking
    750 enable_silent_rules
    751 enable_selective_werror
    752 enable_strict_compilation
    753 '
    754       ac_precious_vars='build_alias
    755 host_alias
    756 target_alias
    757 CC
    758 CFLAGS
    759 LDFLAGS
    760 LIBS
    761 CPPFLAGS
    762 CPP
    763 PKG_CONFIG
    764 XKBPRINT_CFLAGS
    765 XKBPRINT_LIBS'
    766 
    767 
    768 # Initialize some variables set by options.
    769 ac_init_help=
    770 ac_init_version=false
    771 ac_unrecognized_opts=
    772 ac_unrecognized_sep=
    773 # The variables have the same names as the options, with
    774 # dashes changed to underlines.
    775 cache_file=/dev/null
    776 exec_prefix=NONE
    777 no_create=
    778 no_recursion=
    779 prefix=NONE
    780 program_prefix=NONE
    781 program_suffix=NONE
    782 program_transform_name=s,x,x,
    783 silent=
    784 site=
    785 srcdir=
    786 verbose=
    787 x_includes=NONE
    788 x_libraries=NONE
    789 
    790 # Installation directory options.
    791 # These are left unexpanded so users can "make install exec_prefix=/foo"
    792 # and all the variables that are supposed to be based on exec_prefix
    793 # by default will actually change.
    794 # Use braces instead of parens because sh, perl, etc. also accept them.
    795 # (The list follows the same order as the GNU Coding Standards.)
    796 bindir='${exec_prefix}/bin'
    797 sbindir='${exec_prefix}/sbin'
    798 libexecdir='${exec_prefix}/libexec'
    799 datarootdir='${prefix}/share'
    800 datadir='${datarootdir}'
    801 sysconfdir='${prefix}/etc'
    802 sharedstatedir='${prefix}/com'
    803 localstatedir='${prefix}/var'
    804 includedir='${prefix}/include'
    805 oldincludedir='/usr/include'
    806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    807 infodir='${datarootdir}/info'
    808 htmldir='${docdir}'
    809 dvidir='${docdir}'
    810 pdfdir='${docdir}'
    811 psdir='${docdir}'
    812 libdir='${exec_prefix}/lib'
    813 localedir='${datarootdir}/locale'
    814 mandir='${datarootdir}/man'
    815 
    816 ac_prev=
    817 ac_dashdash=
    818 for ac_option
    819 do
    820   # If the previous option needs an argument, assign it.
    821   if test -n "$ac_prev"; then
    822     eval $ac_prev=\$ac_option
    823     ac_prev=
    824     continue
    825   fi
    826 
    827   case $ac_option in
    828   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    829   *=)   ac_optarg= ;;
    830   *)    ac_optarg=yes ;;
    831   esac
    832 
    833   # Accept the important Cygnus configure options, so we can diagnose typos.
    834 
    835   case $ac_dashdash$ac_option in
    836   --)
    837     ac_dashdash=yes ;;
    838 
    839   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    840     ac_prev=bindir ;;
    841   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    842     bindir=$ac_optarg ;;
    843 
    844   -build | --build | --buil | --bui | --bu)
    845     ac_prev=build_alias ;;
    846   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    847     build_alias=$ac_optarg ;;
    848 
    849   -cache-file | --cache-file | --cache-fil | --cache-fi \
    850   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    851     ac_prev=cache_file ;;
    852   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    853   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    854     cache_file=$ac_optarg ;;
    855 
    856   --config-cache | -C)
    857     cache_file=config.cache ;;
    858 
    859   -datadir | --datadir | --datadi | --datad)
    860     ac_prev=datadir ;;
    861   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    862     datadir=$ac_optarg ;;
    863 
    864   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    865   | --dataroo | --dataro | --datar)
    866     ac_prev=datarootdir ;;
    867   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    868   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    869     datarootdir=$ac_optarg ;;
    870 
    871   -disable-* | --disable-*)
    872     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    873     # Reject names that are not valid shell variable names.
    874     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    875       as_fn_error $? "invalid feature name: $ac_useropt"
    876     ac_useropt_orig=$ac_useropt
    877     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    878     case $ac_user_opts in
    879       *"
    880 "enable_$ac_useropt"
    881 "*) ;;
    882       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    883 	 ac_unrecognized_sep=', ';;
    884     esac
    885     eval enable_$ac_useropt=no ;;
    886 
    887   -docdir | --docdir | --docdi | --doc | --do)
    888     ac_prev=docdir ;;
    889   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    890     docdir=$ac_optarg ;;
    891 
    892   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    893     ac_prev=dvidir ;;
    894   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    895     dvidir=$ac_optarg ;;
    896 
    897   -enable-* | --enable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=\$ac_optarg ;;
    912 
    913   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    914   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    915   | --exec | --exe | --ex)
    916     ac_prev=exec_prefix ;;
    917   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    918   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    919   | --exec=* | --exe=* | --ex=*)
    920     exec_prefix=$ac_optarg ;;
    921 
    922   -gas | --gas | --ga | --g)
    923     # Obsolete; use --with-gas.
    924     with_gas=yes ;;
    925 
    926   -help | --help | --hel | --he | -h)
    927     ac_init_help=long ;;
    928   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    929     ac_init_help=recursive ;;
    930   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    931     ac_init_help=short ;;
    932 
    933   -host | --host | --hos | --ho)
    934     ac_prev=host_alias ;;
    935   -host=* | --host=* | --hos=* | --ho=*)
    936     host_alias=$ac_optarg ;;
    937 
    938   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    939     ac_prev=htmldir ;;
    940   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    941   | --ht=*)
    942     htmldir=$ac_optarg ;;
    943 
    944   -includedir | --includedir | --includedi | --included | --include \
    945   | --includ | --inclu | --incl | --inc)
    946     ac_prev=includedir ;;
    947   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    948   | --includ=* | --inclu=* | --incl=* | --inc=*)
    949     includedir=$ac_optarg ;;
    950 
    951   -infodir | --infodir | --infodi | --infod | --info | --inf)
    952     ac_prev=infodir ;;
    953   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    954     infodir=$ac_optarg ;;
    955 
    956   -libdir | --libdir | --libdi | --libd)
    957     ac_prev=libdir ;;
    958   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    959     libdir=$ac_optarg ;;
    960 
    961   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    962   | --libexe | --libex | --libe)
    963     ac_prev=libexecdir ;;
    964   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    965   | --libexe=* | --libex=* | --libe=*)
    966     libexecdir=$ac_optarg ;;
    967 
    968   -localedir | --localedir | --localedi | --localed | --locale)
    969     ac_prev=localedir ;;
    970   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    971     localedir=$ac_optarg ;;
    972 
    973   -localstatedir | --localstatedir | --localstatedi | --localstated \
    974   | --localstate | --localstat | --localsta | --localst | --locals)
    975     ac_prev=localstatedir ;;
    976   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    977   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    978     localstatedir=$ac_optarg ;;
    979 
    980   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    981     ac_prev=mandir ;;
    982   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    983     mandir=$ac_optarg ;;
    984 
    985   -nfp | --nfp | --nf)
    986     # Obsolete; use --without-fp.
    987     with_fp=no ;;
    988 
    989   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    990   | --no-cr | --no-c | -n)
    991     no_create=yes ;;
    992 
    993   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    994   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    995     no_recursion=yes ;;
    996 
    997   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    998   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    999   | --oldin | --oldi | --old | --ol | --o)
   1000     ac_prev=oldincludedir ;;
   1001   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1002   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1003   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1004     oldincludedir=$ac_optarg ;;
   1005 
   1006   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1007     ac_prev=prefix ;;
   1008   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1009     prefix=$ac_optarg ;;
   1010 
   1011   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1012   | --program-pre | --program-pr | --program-p)
   1013     ac_prev=program_prefix ;;
   1014   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1015   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1016     program_prefix=$ac_optarg ;;
   1017 
   1018   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1019   | --program-suf | --program-su | --program-s)
   1020     ac_prev=program_suffix ;;
   1021   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1022   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1023     program_suffix=$ac_optarg ;;
   1024 
   1025   -program-transform-name | --program-transform-name \
   1026   | --program-transform-nam | --program-transform-na \
   1027   | --program-transform-n | --program-transform- \
   1028   | --program-transform | --program-transfor \
   1029   | --program-transfo | --program-transf \
   1030   | --program-trans | --program-tran \
   1031   | --progr-tra | --program-tr | --program-t)
   1032     ac_prev=program_transform_name ;;
   1033   -program-transform-name=* | --program-transform-name=* \
   1034   | --program-transform-nam=* | --program-transform-na=* \
   1035   | --program-transform-n=* | --program-transform-=* \
   1036   | --program-transform=* | --program-transfor=* \
   1037   | --program-transfo=* | --program-transf=* \
   1038   | --program-trans=* | --program-tran=* \
   1039   | --progr-tra=* | --program-tr=* | --program-t=*)
   1040     program_transform_name=$ac_optarg ;;
   1041 
   1042   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1043     ac_prev=pdfdir ;;
   1044   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1045     pdfdir=$ac_optarg ;;
   1046 
   1047   -psdir | --psdir | --psdi | --psd | --ps)
   1048     ac_prev=psdir ;;
   1049   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1050     psdir=$ac_optarg ;;
   1051 
   1052   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1053   | -silent | --silent | --silen | --sile | --sil)
   1054     silent=yes ;;
   1055 
   1056   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1057     ac_prev=sbindir ;;
   1058   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1059   | --sbi=* | --sb=*)
   1060     sbindir=$ac_optarg ;;
   1061 
   1062   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1063   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1064   | --sharedst | --shareds | --shared | --share | --shar \
   1065   | --sha | --sh)
   1066     ac_prev=sharedstatedir ;;
   1067   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1068   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1069   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1070   | --sha=* | --sh=*)
   1071     sharedstatedir=$ac_optarg ;;
   1072 
   1073   -site | --site | --sit)
   1074     ac_prev=site ;;
   1075   -site=* | --site=* | --sit=*)
   1076     site=$ac_optarg ;;
   1077 
   1078   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1079     ac_prev=srcdir ;;
   1080   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1081     srcdir=$ac_optarg ;;
   1082 
   1083   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1084   | --syscon | --sysco | --sysc | --sys | --sy)
   1085     ac_prev=sysconfdir ;;
   1086   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1087   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1088     sysconfdir=$ac_optarg ;;
   1089 
   1090   -target | --target | --targe | --targ | --tar | --ta | --t)
   1091     ac_prev=target_alias ;;
   1092   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1093     target_alias=$ac_optarg ;;
   1094 
   1095   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1096     verbose=yes ;;
   1097 
   1098   -version | --version | --versio | --versi | --vers | -V)
   1099     ac_init_version=: ;;
   1100 
   1101   -with-* | --with-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=\$ac_optarg ;;
   1116 
   1117   -without-* | --without-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=no ;;
   1132 
   1133   --x)
   1134     # Obsolete; use --with-x.
   1135     with_x=yes ;;
   1136 
   1137   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1138   | --x-incl | --x-inc | --x-in | --x-i)
   1139     ac_prev=x_includes ;;
   1140   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1141   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1142     x_includes=$ac_optarg ;;
   1143 
   1144   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1145   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1146     ac_prev=x_libraries ;;
   1147   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1148   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1149     x_libraries=$ac_optarg ;;
   1150 
   1151   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1152 Try \`$0 --help' for more information"
   1153     ;;
   1154 
   1155   *=*)
   1156     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1157     # Reject names that are not valid shell variable names.
   1158     case $ac_envvar in #(
   1159       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1160       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1161     esac
   1162     eval $ac_envvar=\$ac_optarg
   1163     export $ac_envvar ;;
   1164 
   1165   *)
   1166     # FIXME: should be removed in autoconf 3.0.
   1167     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1168     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1169       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1170     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1171     ;;
   1172 
   1173   esac
   1174 done
   1175 
   1176 if test -n "$ac_prev"; then
   1177   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1178   as_fn_error $? "missing argument to $ac_option"
   1179 fi
   1180 
   1181 if test -n "$ac_unrecognized_opts"; then
   1182   case $enable_option_checking in
   1183     no) ;;
   1184     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1185     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1186   esac
   1187 fi
   1188 
   1189 # Check all directory arguments for consistency.
   1190 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1191 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1192 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1193 		libdir localedir mandir
   1194 do
   1195   eval ac_val=\$$ac_var
   1196   # Remove trailing slashes.
   1197   case $ac_val in
   1198     */ )
   1199       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1200       eval $ac_var=\$ac_val;;
   1201   esac
   1202   # Be sure to have absolute directory names.
   1203   case $ac_val in
   1204     [\\/$]* | ?:[\\/]* )  continue;;
   1205     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1206   esac
   1207   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1208 done
   1209 
   1210 # There might be people who depend on the old broken behavior: `$host'
   1211 # used to hold the argument of --host etc.
   1212 # FIXME: To remove some day.
   1213 build=$build_alias
   1214 host=$host_alias
   1215 target=$target_alias
   1216 
   1217 # FIXME: To remove some day.
   1218 if test "x$host_alias" != x; then
   1219   if test "x$build_alias" = x; then
   1220     cross_compiling=maybe
   1221   elif test "x$build_alias" != "x$host_alias"; then
   1222     cross_compiling=yes
   1223   fi
   1224 fi
   1225 
   1226 ac_tool_prefix=
   1227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1228 
   1229 test "$silent" = yes && exec 6>/dev/null
   1230 
   1231 
   1232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1233 ac_ls_di=`ls -di .` &&
   1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1235   as_fn_error $? "working directory cannot be determined"
   1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1237   as_fn_error $? "pwd does not report name of working directory"
   1238 
   1239 
   1240 # Find the source files, if location was not specified.
   1241 if test -z "$srcdir"; then
   1242   ac_srcdir_defaulted=yes
   1243   # Try the directory containing this script, then the parent directory.
   1244   ac_confdir=`$as_dirname -- "$as_myself" ||
   1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1246 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1247 	 X"$as_myself" : 'X\(//\)$' \| \
   1248 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1249 $as_echo X"$as_myself" |
   1250     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\/\)[^/].*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  /^X\(\/\/\)$/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\).*/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  s/.*/./; q'`
   1267   srcdir=$ac_confdir
   1268   if test ! -r "$srcdir/$ac_unique_file"; then
   1269     srcdir=..
   1270   fi
   1271 else
   1272   ac_srcdir_defaulted=no
   1273 fi
   1274 if test ! -r "$srcdir/$ac_unique_file"; then
   1275   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1276   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1277 fi
   1278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1279 ac_abs_confdir=`(
   1280 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1281 	pwd)`
   1282 # When building in place, set srcdir=.
   1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1284   srcdir=.
   1285 fi
   1286 # Remove unnecessary trailing slashes from srcdir.
   1287 # Double slashes in file names in object file debugging info
   1288 # mess up M-x gdb in Emacs.
   1289 case $srcdir in
   1290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1291 esac
   1292 for ac_var in $ac_precious_vars; do
   1293   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1294   eval ac_env_${ac_var}_value=\$${ac_var}
   1295   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1297 done
   1298 
   1299 #
   1300 # Report the --help message.
   1301 #
   1302 if test "$ac_init_help" = "long"; then
   1303   # Omit some internal or obsolete options to make the list less imposing.
   1304   # This message is too long to be a string in the A/UX 3.1 sh.
   1305   cat <<_ACEOF
   1306 \`configure' configures xkbprint 1.0.4 to adapt to many kinds of systems.
   1307 
   1308 Usage: $0 [OPTION]... [VAR=VALUE]...
   1309 
   1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1311 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1312 
   1313 Defaults for the options are specified in brackets.
   1314 
   1315 Configuration:
   1316   -h, --help              display this help and exit
   1317       --help=short        display options specific to this package
   1318       --help=recursive    display the short help of all the included packages
   1319   -V, --version           display version information and exit
   1320   -q, --quiet, --silent   do not print \`checking ...' messages
   1321       --cache-file=FILE   cache test results in FILE [disabled]
   1322   -C, --config-cache      alias for \`--cache-file=config.cache'
   1323   -n, --no-create         do not create output files
   1324       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1325 
   1326 Installation directories:
   1327   --prefix=PREFIX         install architecture-independent files in PREFIX
   1328                           [$ac_default_prefix]
   1329   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1330                           [PREFIX]
   1331 
   1332 By default, \`make install' will install all the files in
   1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1335 for instance \`--prefix=\$HOME'.
   1336 
   1337 For better control, use the options below.
   1338 
   1339 Fine tuning of the installation directories:
   1340   --bindir=DIR            user executables [EPREFIX/bin]
   1341   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1342   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1343   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1344   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1345   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1346   --libdir=DIR            object code libraries [EPREFIX/lib]
   1347   --includedir=DIR        C header files [PREFIX/include]
   1348   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1349   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1350   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1351   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1352   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1353   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1354   --docdir=DIR            documentation root [DATAROOTDIR/doc/xkbprint]
   1355   --htmldir=DIR           html documentation [DOCDIR]
   1356   --dvidir=DIR            dvi documentation [DOCDIR]
   1357   --pdfdir=DIR            pdf documentation [DOCDIR]
   1358   --psdir=DIR             ps documentation [DOCDIR]
   1359 _ACEOF
   1360 
   1361   cat <<\_ACEOF
   1362 
   1363 Program names:
   1364   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1365   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1366   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1367 
   1368 System types:
   1369   --build=BUILD     configure for building on BUILD [guessed]
   1370   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1371 _ACEOF
   1372 fi
   1373 
   1374 if test -n "$ac_init_help"; then
   1375   case $ac_init_help in
   1376      short | recursive ) echo "Configuration of xkbprint 1.0.4:";;
   1377    esac
   1378   cat <<\_ACEOF
   1379 
   1380 Optional Features:
   1381   --disable-option-checking  ignore unrecognized --enable/--with options
   1382   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1383   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1384   --enable-dependency-tracking
   1385                           do not reject slow dependency extractors
   1386   --disable-dependency-tracking
   1387                           speeds up one-time build
   1388   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1389   --disable-silent-rules  verbose build output (undo: "make V=0")
   1390   --disable-selective-werror
   1391                           Turn off selective compiler errors. (default:
   1392                           enabled)
   1393   --enable-strict-compilation
   1394                           Enable all warnings from compiler and make them
   1395                           errors (default: disabled)
   1396 
   1397 Some influential environment variables:
   1398   CC          C compiler command
   1399   CFLAGS      C compiler flags
   1400   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1401               nonstandard directory <lib dir>
   1402   LIBS        libraries to pass to the linker, e.g. -l<library>
   1403   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1404               you have headers in a nonstandard directory <include dir>
   1405   CPP         C preprocessor
   1406   PKG_CONFIG  path to pkg-config utility
   1407   XKBPRINT_CFLAGS
   1408               C compiler flags for XKBPRINT, overriding pkg-config
   1409   XKBPRINT_LIBS
   1410               linker flags for XKBPRINT, overriding pkg-config
   1411 
   1412 Use these variables to override the choices made by `configure' or to help
   1413 it to find libraries and programs with nonstandard names/locations.
   1414 
   1415 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1416 _ACEOF
   1417 ac_status=$?
   1418 fi
   1419 
   1420 if test "$ac_init_help" = "recursive"; then
   1421   # If there are subdirs, report their specific --help.
   1422   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1423     test -d "$ac_dir" ||
   1424       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1425       continue
   1426     ac_builddir=.
   1427 
   1428 case "$ac_dir" in
   1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1430 *)
   1431   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1432   # A ".." for each directory in $ac_dir_suffix.
   1433   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1434   case $ac_top_builddir_sub in
   1435   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1437   esac ;;
   1438 esac
   1439 ac_abs_top_builddir=$ac_pwd
   1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1441 # for backward compatibility:
   1442 ac_top_builddir=$ac_top_build_prefix
   1443 
   1444 case $srcdir in
   1445   .)  # We are building in place.
   1446     ac_srcdir=.
   1447     ac_top_srcdir=$ac_top_builddir_sub
   1448     ac_abs_top_srcdir=$ac_pwd ;;
   1449   [\\/]* | ?:[\\/]* )  # Absolute name.
   1450     ac_srcdir=$srcdir$ac_dir_suffix;
   1451     ac_top_srcdir=$srcdir
   1452     ac_abs_top_srcdir=$srcdir ;;
   1453   *) # Relative name.
   1454     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1455     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1456     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1457 esac
   1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1459 
   1460     cd "$ac_dir" || { ac_status=$?; continue; }
   1461     # Check for guested configure.
   1462     if test -f "$ac_srcdir/configure.gnu"; then
   1463       echo &&
   1464       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1465     elif test -f "$ac_srcdir/configure"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure" --help=recursive
   1468     else
   1469       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1470     fi || ac_status=$?
   1471     cd "$ac_pwd" || { ac_status=$?; break; }
   1472   done
   1473 fi
   1474 
   1475 test -n "$ac_init_help" && exit $ac_status
   1476 if $ac_init_version; then
   1477   cat <<\_ACEOF
   1478 xkbprint configure 1.0.4
   1479 generated by GNU Autoconf 2.69
   1480 
   1481 Copyright (C) 2012 Free Software Foundation, Inc.
   1482 This configure script is free software; the Free Software Foundation
   1483 gives unlimited permission to copy, distribute and modify it.
   1484 _ACEOF
   1485   exit
   1486 fi
   1487 
   1488 ## ------------------------ ##
   1489 ## Autoconf initialization. ##
   1490 ## ------------------------ ##
   1491 
   1492 # ac_fn_c_try_compile LINENO
   1493 # --------------------------
   1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1495 ac_fn_c_try_compile ()
   1496 {
   1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1498   rm -f conftest.$ac_objext
   1499   if { { ac_try="$ac_compile"
   1500 case "(($ac_try" in
   1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1502   *) ac_try_echo=$ac_try;;
   1503 esac
   1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1505 $as_echo "$ac_try_echo"; } >&5
   1506   (eval "$ac_compile") 2>conftest.err
   1507   ac_status=$?
   1508   if test -s conftest.err; then
   1509     grep -v '^ *+' conftest.err >conftest.er1
   1510     cat conftest.er1 >&5
   1511     mv -f conftest.er1 conftest.err
   1512   fi
   1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1514   test $ac_status = 0; } && {
   1515 	 test -z "$ac_c_werror_flag" ||
   1516 	 test ! -s conftest.err
   1517        } && test -s conftest.$ac_objext; then :
   1518   ac_retval=0
   1519 else
   1520   $as_echo "$as_me: failed program was:" >&5
   1521 sed 's/^/| /' conftest.$ac_ext >&5
   1522 
   1523 	ac_retval=1
   1524 fi
   1525   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1526   as_fn_set_status $ac_retval
   1527 
   1528 } # ac_fn_c_try_compile
   1529 
   1530 # ac_fn_c_try_cpp LINENO
   1531 # ----------------------
   1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1533 ac_fn_c_try_cpp ()
   1534 {
   1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1536   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1537 case "(($ac_try" in
   1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1539   *) ac_try_echo=$ac_try;;
   1540 esac
   1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1542 $as_echo "$ac_try_echo"; } >&5
   1543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1544   ac_status=$?
   1545   if test -s conftest.err; then
   1546     grep -v '^ *+' conftest.err >conftest.er1
   1547     cat conftest.er1 >&5
   1548     mv -f conftest.er1 conftest.err
   1549   fi
   1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1551   test $ac_status = 0; } > conftest.i && {
   1552 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1553 	 test ! -s conftest.err
   1554        }; then :
   1555   ac_retval=0
   1556 else
   1557   $as_echo "$as_me: failed program was:" >&5
   1558 sed 's/^/| /' conftest.$ac_ext >&5
   1559 
   1560     ac_retval=1
   1561 fi
   1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1563   as_fn_set_status $ac_retval
   1564 
   1565 } # ac_fn_c_try_cpp
   1566 
   1567 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1568 # -------------------------------------------------------
   1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1570 # the include files in INCLUDES and setting the cache variable VAR
   1571 # accordingly.
   1572 ac_fn_c_check_header_mongrel ()
   1573 {
   1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1575   if eval \${$3+:} false; then :
   1576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1577 $as_echo_n "checking for $2... " >&6; }
   1578 if eval \${$3+:} false; then :
   1579   $as_echo_n "(cached) " >&6
   1580 fi
   1581 eval ac_res=\$$3
   1582 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1583 $as_echo "$ac_res" >&6; }
   1584 else
   1585   # Is the header compilable?
   1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1587 $as_echo_n "checking $2 usability... " >&6; }
   1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1589 /* end confdefs.h.  */
   1590 $4
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"; then :
   1594   ac_header_compiler=yes
   1595 else
   1596   ac_header_compiler=no
   1597 fi
   1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1600 $as_echo "$ac_header_compiler" >&6; }
   1601 
   1602 # Is the header present?
   1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1604 $as_echo_n "checking $2 presence... " >&6; }
   1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1606 /* end confdefs.h.  */
   1607 #include <$2>
   1608 _ACEOF
   1609 if ac_fn_c_try_cpp "$LINENO"; then :
   1610   ac_header_preproc=yes
   1611 else
   1612   ac_header_preproc=no
   1613 fi
   1614 rm -f conftest.err conftest.i conftest.$ac_ext
   1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1616 $as_echo "$ac_header_preproc" >&6; }
   1617 
   1618 # So?  What about this header?
   1619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1620   yes:no: )
   1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1623     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1625     ;;
   1626   no:yes:* )
   1627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1630 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1634 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1637 ( $as_echo "## ---------------------------------------------------------------------- ##
   1638 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1639 ## ---------------------------------------------------------------------- ##"
   1640      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1641     ;;
   1642 esac
   1643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1644 $as_echo_n "checking for $2... " >&6; }
   1645 if eval \${$3+:} false; then :
   1646   $as_echo_n "(cached) " >&6
   1647 else
   1648   eval "$3=\$ac_header_compiler"
   1649 fi
   1650 eval ac_res=\$$3
   1651 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1652 $as_echo "$ac_res" >&6; }
   1653 fi
   1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1655 
   1656 } # ac_fn_c_check_header_mongrel
   1657 
   1658 # ac_fn_c_try_run LINENO
   1659 # ----------------------
   1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1661 # that executables *can* be run.
   1662 ac_fn_c_try_run ()
   1663 {
   1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1665   if { { ac_try="$ac_link"
   1666 case "(($ac_try" in
   1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1668   *) ac_try_echo=$ac_try;;
   1669 esac
   1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1671 $as_echo "$ac_try_echo"; } >&5
   1672   (eval "$ac_link") 2>&5
   1673   ac_status=$?
   1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1675   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1676   { { case "(($ac_try" in
   1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1678   *) ac_try_echo=$ac_try;;
   1679 esac
   1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1681 $as_echo "$ac_try_echo"; } >&5
   1682   (eval "$ac_try") 2>&5
   1683   ac_status=$?
   1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1685   test $ac_status = 0; }; }; then :
   1686   ac_retval=0
   1687 else
   1688   $as_echo "$as_me: program exited with status $ac_status" >&5
   1689        $as_echo "$as_me: failed program was:" >&5
   1690 sed 's/^/| /' conftest.$ac_ext >&5
   1691 
   1692        ac_retval=$ac_status
   1693 fi
   1694   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1696   as_fn_set_status $ac_retval
   1697 
   1698 } # ac_fn_c_try_run
   1699 
   1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1701 # -------------------------------------------------------
   1702 # Tests whether HEADER exists and can be compiled using the include files in
   1703 # INCLUDES, setting the cache variable VAR accordingly.
   1704 ac_fn_c_check_header_compile ()
   1705 {
   1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1708 $as_echo_n "checking for $2... " >&6; }
   1709 if eval \${$3+:} false; then :
   1710   $as_echo_n "(cached) " >&6
   1711 else
   1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1713 /* end confdefs.h.  */
   1714 $4
   1715 #include <$2>
   1716 _ACEOF
   1717 if ac_fn_c_try_compile "$LINENO"; then :
   1718   eval "$3=yes"
   1719 else
   1720   eval "$3=no"
   1721 fi
   1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1723 fi
   1724 eval ac_res=\$$3
   1725 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1726 $as_echo "$ac_res" >&6; }
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728 
   1729 } # ac_fn_c_check_header_compile
   1730 
   1731 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1732 # ---------------------------------------------
   1733 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1734 # accordingly.
   1735 ac_fn_c_check_decl ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1739   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1741 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1742 if eval \${$3+:} false; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 $4
   1748 int
   1749 main ()
   1750 {
   1751 #ifndef $as_decl_name
   1752 #ifdef __cplusplus
   1753   (void) $as_decl_use;
   1754 #else
   1755   (void) $as_decl_name;
   1756 #endif
   1757 #endif
   1758 
   1759   ;
   1760   return 0;
   1761 }
   1762 _ACEOF
   1763 if ac_fn_c_try_compile "$LINENO"; then :
   1764   eval "$3=yes"
   1765 else
   1766   eval "$3=no"
   1767 fi
   1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1769 fi
   1770 eval ac_res=\$$3
   1771 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1772 $as_echo "$ac_res" >&6; }
   1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1774 
   1775 } # ac_fn_c_check_decl
   1776 
   1777 # ac_fn_c_try_link LINENO
   1778 # -----------------------
   1779 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1780 ac_fn_c_try_link ()
   1781 {
   1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1783   rm -f conftest.$ac_objext conftest$ac_exeext
   1784   if { { ac_try="$ac_link"
   1785 case "(($ac_try" in
   1786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1787   *) ac_try_echo=$ac_try;;
   1788 esac
   1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1790 $as_echo "$ac_try_echo"; } >&5
   1791   (eval "$ac_link") 2>conftest.err
   1792   ac_status=$?
   1793   if test -s conftest.err; then
   1794     grep -v '^ *+' conftest.err >conftest.er1
   1795     cat conftest.er1 >&5
   1796     mv -f conftest.er1 conftest.err
   1797   fi
   1798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1799   test $ac_status = 0; } && {
   1800 	 test -z "$ac_c_werror_flag" ||
   1801 	 test ! -s conftest.err
   1802        } && test -s conftest$ac_exeext && {
   1803 	 test "$cross_compiling" = yes ||
   1804 	 test -x conftest$ac_exeext
   1805        }; then :
   1806   ac_retval=0
   1807 else
   1808   $as_echo "$as_me: failed program was:" >&5
   1809 sed 's/^/| /' conftest.$ac_ext >&5
   1810 
   1811 	ac_retval=1
   1812 fi
   1813   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1814   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1815   # interfere with the next link command; also delete a directory that is
   1816   # left behind by Apple's compiler.  We do this before executing the actions.
   1817   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1818   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1819   as_fn_set_status $ac_retval
   1820 
   1821 } # ac_fn_c_try_link
   1822 
   1823 # ac_fn_c_check_func LINENO FUNC VAR
   1824 # ----------------------------------
   1825 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1826 ac_fn_c_check_func ()
   1827 {
   1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1830 $as_echo_n "checking for $2... " >&6; }
   1831 if eval \${$3+:} false; then :
   1832   $as_echo_n "(cached) " >&6
   1833 else
   1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1835 /* end confdefs.h.  */
   1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1838 #define $2 innocuous_$2
   1839 
   1840 /* System header to define __stub macros and hopefully few prototypes,
   1841     which can conflict with char $2 (); below.
   1842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1843     <limits.h> exists even on freestanding compilers.  */
   1844 
   1845 #ifdef __STDC__
   1846 # include <limits.h>
   1847 #else
   1848 # include <assert.h>
   1849 #endif
   1850 
   1851 #undef $2
   1852 
   1853 /* Override any GCC internal prototype to avoid an error.
   1854    Use char because int might match the return type of a GCC
   1855    builtin and then its argument prototype would still apply.  */
   1856 #ifdef __cplusplus
   1857 extern "C"
   1858 #endif
   1859 char $2 ();
   1860 /* The GNU C library defines this for functions which it implements
   1861     to always fail with ENOSYS.  Some functions are actually named
   1862     something starting with __ and the normal name is an alias.  */
   1863 #if defined __stub_$2 || defined __stub___$2
   1864 choke me
   1865 #endif
   1866 
   1867 int
   1868 main ()
   1869 {
   1870 return $2 ();
   1871   ;
   1872   return 0;
   1873 }
   1874 _ACEOF
   1875 if ac_fn_c_try_link "$LINENO"; then :
   1876   eval "$3=yes"
   1877 else
   1878   eval "$3=no"
   1879 fi
   1880 rm -f core conftest.err conftest.$ac_objext \
   1881     conftest$ac_exeext conftest.$ac_ext
   1882 fi
   1883 eval ac_res=\$$3
   1884 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1885 $as_echo "$ac_res" >&6; }
   1886   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1887 
   1888 } # ac_fn_c_check_func
   1889 cat >config.log <<_ACEOF
   1890 This file contains any messages produced by compilers while
   1891 running configure, to aid debugging if configure makes a mistake.
   1892 
   1893 It was created by xkbprint $as_me 1.0.4, which was
   1894 generated by GNU Autoconf 2.69.  Invocation command line was
   1895 
   1896   $ $0 $@
   1897 
   1898 _ACEOF
   1899 exec 5>>config.log
   1900 {
   1901 cat <<_ASUNAME
   1902 ## --------- ##
   1903 ## Platform. ##
   1904 ## --------- ##
   1905 
   1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1911 
   1912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1913 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1914 
   1915 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1916 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1918 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1919 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1920 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1921 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1922 
   1923 _ASUNAME
   1924 
   1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1926 for as_dir in $PATH
   1927 do
   1928   IFS=$as_save_IFS
   1929   test -z "$as_dir" && as_dir=.
   1930     $as_echo "PATH: $as_dir"
   1931   done
   1932 IFS=$as_save_IFS
   1933 
   1934 } >&5
   1935 
   1936 cat >&5 <<_ACEOF
   1937 
   1938 
   1939 ## ----------- ##
   1940 ## Core tests. ##
   1941 ## ----------- ##
   1942 
   1943 _ACEOF
   1944 
   1945 
   1946 # Keep a trace of the command line.
   1947 # Strip out --no-create and --no-recursion so they do not pile up.
   1948 # Strip out --silent because we don't want to record it for future runs.
   1949 # Also quote any args containing shell meta-characters.
   1950 # Make two passes to allow for proper duplicate-argument suppression.
   1951 ac_configure_args=
   1952 ac_configure_args0=
   1953 ac_configure_args1=
   1954 ac_must_keep_next=false
   1955 for ac_pass in 1 2
   1956 do
   1957   for ac_arg
   1958   do
   1959     case $ac_arg in
   1960     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1961     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1962     | -silent | --silent | --silen | --sile | --sil)
   1963       continue ;;
   1964     *\'*)
   1965       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1966     esac
   1967     case $ac_pass in
   1968     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1969     2)
   1970       as_fn_append ac_configure_args1 " '$ac_arg'"
   1971       if test $ac_must_keep_next = true; then
   1972 	ac_must_keep_next=false # Got value, back to normal.
   1973       else
   1974 	case $ac_arg in
   1975 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1976 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1977 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1978 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1979 	    case "$ac_configure_args0 " in
   1980 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1981 	    esac
   1982 	    ;;
   1983 	  -* ) ac_must_keep_next=true ;;
   1984 	esac
   1985       fi
   1986       as_fn_append ac_configure_args " '$ac_arg'"
   1987       ;;
   1988     esac
   1989   done
   1990 done
   1991 { ac_configure_args0=; unset ac_configure_args0;}
   1992 { ac_configure_args1=; unset ac_configure_args1;}
   1993 
   1994 # When interrupted or exit'd, cleanup temporary files, and complete
   1995 # config.log.  We remove comments because anyway the quotes in there
   1996 # would cause problems or look ugly.
   1997 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1998 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1999 trap 'exit_status=$?
   2000   # Save into config.log some information that might help in debugging.
   2001   {
   2002     echo
   2003 
   2004     $as_echo "## ---------------- ##
   2005 ## Cache variables. ##
   2006 ## ---------------- ##"
   2007     echo
   2008     # The following way of writing the cache mishandles newlines in values,
   2009 (
   2010   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2011     eval ac_val=\$$ac_var
   2012     case $ac_val in #(
   2013     *${as_nl}*)
   2014       case $ac_var in #(
   2015       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2017       esac
   2018       case $ac_var in #(
   2019       _ | IFS | as_nl) ;; #(
   2020       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2021       *) { eval $ac_var=; unset $ac_var;} ;;
   2022       esac ;;
   2023     esac
   2024   done
   2025   (set) 2>&1 |
   2026     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2027     *${as_nl}ac_space=\ *)
   2028       sed -n \
   2029 	"s/'\''/'\''\\\\'\'''\''/g;
   2030 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2031       ;; #(
   2032     *)
   2033       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2034       ;;
   2035     esac |
   2036     sort
   2037 )
   2038     echo
   2039 
   2040     $as_echo "## ----------------- ##
   2041 ## Output variables. ##
   2042 ## ----------------- ##"
   2043     echo
   2044     for ac_var in $ac_subst_vars
   2045     do
   2046       eval ac_val=\$$ac_var
   2047       case $ac_val in
   2048       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2049       esac
   2050       $as_echo "$ac_var='\''$ac_val'\''"
   2051     done | sort
   2052     echo
   2053 
   2054     if test -n "$ac_subst_files"; then
   2055       $as_echo "## ------------------- ##
   2056 ## File substitutions. ##
   2057 ## ------------------- ##"
   2058       echo
   2059       for ac_var in $ac_subst_files
   2060       do
   2061 	eval ac_val=\$$ac_var
   2062 	case $ac_val in
   2063 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2064 	esac
   2065 	$as_echo "$ac_var='\''$ac_val'\''"
   2066       done | sort
   2067       echo
   2068     fi
   2069 
   2070     if test -s confdefs.h; then
   2071       $as_echo "## ----------- ##
   2072 ## confdefs.h. ##
   2073 ## ----------- ##"
   2074       echo
   2075       cat confdefs.h
   2076       echo
   2077     fi
   2078     test "$ac_signal" != 0 &&
   2079       $as_echo "$as_me: caught signal $ac_signal"
   2080     $as_echo "$as_me: exit $exit_status"
   2081   } >&5
   2082   rm -f core *.core core.conftest.* &&
   2083     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2084     exit $exit_status
   2085 ' 0
   2086 for ac_signal in 1 2 13 15; do
   2087   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2088 done
   2089 ac_signal=0
   2090 
   2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2092 rm -f -r conftest* confdefs.h
   2093 
   2094 $as_echo "/* confdefs.h */" > confdefs.h
   2095 
   2096 # Predefined preprocessor variables.
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_NAME "$PACKAGE_NAME"
   2100 _ACEOF
   2101 
   2102 cat >>confdefs.h <<_ACEOF
   2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2104 _ACEOF
   2105 
   2106 cat >>confdefs.h <<_ACEOF
   2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2108 _ACEOF
   2109 
   2110 cat >>confdefs.h <<_ACEOF
   2111 #define PACKAGE_STRING "$PACKAGE_STRING"
   2112 _ACEOF
   2113 
   2114 cat >>confdefs.h <<_ACEOF
   2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2116 _ACEOF
   2117 
   2118 cat >>confdefs.h <<_ACEOF
   2119 #define PACKAGE_URL "$PACKAGE_URL"
   2120 _ACEOF
   2121 
   2122 
   2123 # Let the site file select an alternate cache file if it wants to.
   2124 # Prefer an explicitly selected file to automatically selected ones.
   2125 ac_site_file1=NONE
   2126 ac_site_file2=NONE
   2127 if test -n "$CONFIG_SITE"; then
   2128   # We do not want a PATH search for config.site.
   2129   case $CONFIG_SITE in #((
   2130     -*)  ac_site_file1=./$CONFIG_SITE;;
   2131     */*) ac_site_file1=$CONFIG_SITE;;
   2132     *)   ac_site_file1=./$CONFIG_SITE;;
   2133   esac
   2134 elif test "x$prefix" != xNONE; then
   2135   ac_site_file1=$prefix/share/config.site
   2136   ac_site_file2=$prefix/etc/config.site
   2137 else
   2138   ac_site_file1=$ac_default_prefix/share/config.site
   2139   ac_site_file2=$ac_default_prefix/etc/config.site
   2140 fi
   2141 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2142 do
   2143   test "x$ac_site_file" = xNONE && continue
   2144   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2145     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2146 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2147     sed 's/^/| /' "$ac_site_file" >&5
   2148     . "$ac_site_file" \
   2149       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2151 as_fn_error $? "failed to load site script $ac_site_file
   2152 See \`config.log' for more details" "$LINENO" 5; }
   2153   fi
   2154 done
   2155 
   2156 if test -r "$cache_file"; then
   2157   # Some versions of bash will fail to source /dev/null (special files
   2158   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2159   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2160     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2161 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2162     case $cache_file in
   2163       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2164       *)                      . "./$cache_file";;
   2165     esac
   2166   fi
   2167 else
   2168   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2169 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2170   >$cache_file
   2171 fi
   2172 
   2173 # Check that the precious variables saved in the cache have kept the same
   2174 # value.
   2175 ac_cache_corrupted=false
   2176 for ac_var in $ac_precious_vars; do
   2177   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2178   eval ac_new_set=\$ac_env_${ac_var}_set
   2179   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2180   eval ac_new_val=\$ac_env_${ac_var}_value
   2181   case $ac_old_set,$ac_new_set in
   2182     set,)
   2183       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2185       ac_cache_corrupted=: ;;
   2186     ,set)
   2187       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2189       ac_cache_corrupted=: ;;
   2190     ,);;
   2191     *)
   2192       if test "x$ac_old_val" != "x$ac_new_val"; then
   2193 	# differences in whitespace do not lead to failure.
   2194 	ac_old_val_w=`echo x $ac_old_val`
   2195 	ac_new_val_w=`echo x $ac_new_val`
   2196 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2197 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2199 	  ac_cache_corrupted=:
   2200 	else
   2201 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2203 	  eval $ac_var=\$ac_old_val
   2204 	fi
   2205 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2206 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2207 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2208 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2209       fi;;
   2210   esac
   2211   # Pass precious variables to config.status.
   2212   if test "$ac_new_set" = set; then
   2213     case $ac_new_val in
   2214     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2215     *) ac_arg=$ac_var=$ac_new_val ;;
   2216     esac
   2217     case " $ac_configure_args " in
   2218       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2219       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2220     esac
   2221   fi
   2222 done
   2223 if $ac_cache_corrupted; then
   2224   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2226   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2228   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2229 fi
   2230 ## -------------------- ##
   2231 ## Main body of script. ##
   2232 ## -------------------- ##
   2233 
   2234 ac_ext=c
   2235 ac_cpp='$CPP $CPPFLAGS'
   2236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2239 
   2240 
   2241 
   2242 ac_config_headers="$ac_config_headers config.h"
   2243 
   2244 # Needed for asprintf on GNU libc
   2245 ac_aux_dir=
   2246 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2247   if test -f "$ac_dir/install-sh"; then
   2248     ac_aux_dir=$ac_dir
   2249     ac_install_sh="$ac_aux_dir/install-sh -c"
   2250     break
   2251   elif test -f "$ac_dir/install.sh"; then
   2252     ac_aux_dir=$ac_dir
   2253     ac_install_sh="$ac_aux_dir/install.sh -c"
   2254     break
   2255   elif test -f "$ac_dir/shtool"; then
   2256     ac_aux_dir=$ac_dir
   2257     ac_install_sh="$ac_aux_dir/shtool install -c"
   2258     break
   2259   fi
   2260 done
   2261 if test -z "$ac_aux_dir"; then
   2262   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2263 fi
   2264 
   2265 # These three variables are undocumented and unsupported,
   2266 # and are intended to be withdrawn in a future Autoconf release.
   2267 # They can cause serious problems if a builder's source tree is in a directory
   2268 # whose full name contains unusual characters.
   2269 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2270 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2271 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2272 
   2273 
   2274 # Expand $ac_aux_dir to an absolute path.
   2275 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2276 
   2277 ac_ext=c
   2278 ac_cpp='$CPP $CPPFLAGS'
   2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2282 if test -n "$ac_tool_prefix"; then
   2283   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2284 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2286 $as_echo_n "checking for $ac_word... " >&6; }
   2287 if ${ac_cv_prog_CC+:} false; then :
   2288   $as_echo_n "(cached) " >&6
   2289 else
   2290   if test -n "$CC"; then
   2291   ac_cv_prog_CC="$CC" # Let the user override the test.
   2292 else
   2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2294 for as_dir in $PATH
   2295 do
   2296   IFS=$as_save_IFS
   2297   test -z "$as_dir" && as_dir=.
   2298     for ac_exec_ext in '' $ac_executable_extensions; do
   2299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2300     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2302     break 2
   2303   fi
   2304 done
   2305   done
   2306 IFS=$as_save_IFS
   2307 
   2308 fi
   2309 fi
   2310 CC=$ac_cv_prog_CC
   2311 if test -n "$CC"; then
   2312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2313 $as_echo "$CC" >&6; }
   2314 else
   2315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2316 $as_echo "no" >&6; }
   2317 fi
   2318 
   2319 
   2320 fi
   2321 if test -z "$ac_cv_prog_CC"; then
   2322   ac_ct_CC=$CC
   2323   # Extract the first word of "gcc", so it can be a program name with args.
   2324 set dummy gcc; ac_word=$2
   2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2326 $as_echo_n "checking for $ac_word... " >&6; }
   2327 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2328   $as_echo_n "(cached) " >&6
   2329 else
   2330   if test -n "$ac_ct_CC"; then
   2331   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2332 else
   2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 for as_dir in $PATH
   2335 do
   2336   IFS=$as_save_IFS
   2337   test -z "$as_dir" && as_dir=.
   2338     for ac_exec_ext in '' $ac_executable_extensions; do
   2339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2340     ac_cv_prog_ac_ct_CC="gcc"
   2341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2342     break 2
   2343   fi
   2344 done
   2345   done
   2346 IFS=$as_save_IFS
   2347 
   2348 fi
   2349 fi
   2350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2351 if test -n "$ac_ct_CC"; then
   2352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2353 $as_echo "$ac_ct_CC" >&6; }
   2354 else
   2355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2356 $as_echo "no" >&6; }
   2357 fi
   2358 
   2359   if test "x$ac_ct_CC" = x; then
   2360     CC=""
   2361   else
   2362     case $cross_compiling:$ac_tool_warned in
   2363 yes:)
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2366 ac_tool_warned=yes ;;
   2367 esac
   2368     CC=$ac_ct_CC
   2369   fi
   2370 else
   2371   CC="$ac_cv_prog_CC"
   2372 fi
   2373 
   2374 if test -z "$CC"; then
   2375           if test -n "$ac_tool_prefix"; then
   2376     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2377 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2379 $as_echo_n "checking for $ac_word... " >&6; }
   2380 if ${ac_cv_prog_CC+:} false; then :
   2381   $as_echo_n "(cached) " >&6
   2382 else
   2383   if test -n "$CC"; then
   2384   ac_cv_prog_CC="$CC" # Let the user override the test.
   2385 else
   2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2387 for as_dir in $PATH
   2388 do
   2389   IFS=$as_save_IFS
   2390   test -z "$as_dir" && as_dir=.
   2391     for ac_exec_ext in '' $ac_executable_extensions; do
   2392   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2393     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2395     break 2
   2396   fi
   2397 done
   2398   done
   2399 IFS=$as_save_IFS
   2400 
   2401 fi
   2402 fi
   2403 CC=$ac_cv_prog_CC
   2404 if test -n "$CC"; then
   2405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2406 $as_echo "$CC" >&6; }
   2407 else
   2408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2409 $as_echo "no" >&6; }
   2410 fi
   2411 
   2412 
   2413   fi
   2414 fi
   2415 if test -z "$CC"; then
   2416   # Extract the first word of "cc", so it can be a program name with args.
   2417 set dummy cc; ac_word=$2
   2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2419 $as_echo_n "checking for $ac_word... " >&6; }
   2420 if ${ac_cv_prog_CC+:} false; then :
   2421   $as_echo_n "(cached) " >&6
   2422 else
   2423   if test -n "$CC"; then
   2424   ac_cv_prog_CC="$CC" # Let the user override the test.
   2425 else
   2426   ac_prog_rejected=no
   2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2428 for as_dir in $PATH
   2429 do
   2430   IFS=$as_save_IFS
   2431   test -z "$as_dir" && as_dir=.
   2432     for ac_exec_ext in '' $ac_executable_extensions; do
   2433   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2434     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2435        ac_prog_rejected=yes
   2436        continue
   2437      fi
   2438     ac_cv_prog_CC="cc"
   2439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2440     break 2
   2441   fi
   2442 done
   2443   done
   2444 IFS=$as_save_IFS
   2445 
   2446 if test $ac_prog_rejected = yes; then
   2447   # We found a bogon in the path, so make sure we never use it.
   2448   set dummy $ac_cv_prog_CC
   2449   shift
   2450   if test $# != 0; then
   2451     # We chose a different compiler from the bogus one.
   2452     # However, it has the same basename, so the bogon will be chosen
   2453     # first if we set CC to just the basename; use the full file name.
   2454     shift
   2455     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2456   fi
   2457 fi
   2458 fi
   2459 fi
   2460 CC=$ac_cv_prog_CC
   2461 if test -n "$CC"; then
   2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2463 $as_echo "$CC" >&6; }
   2464 else
   2465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2466 $as_echo "no" >&6; }
   2467 fi
   2468 
   2469 
   2470 fi
   2471 if test -z "$CC"; then
   2472   if test -n "$ac_tool_prefix"; then
   2473   for ac_prog in cl.exe
   2474   do
   2475     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2478 $as_echo_n "checking for $ac_word... " >&6; }
   2479 if ${ac_cv_prog_CC+:} false; then :
   2480   $as_echo_n "(cached) " >&6
   2481 else
   2482   if test -n "$CC"; then
   2483   ac_cv_prog_CC="$CC" # Let the user override the test.
   2484 else
   2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2486 for as_dir in $PATH
   2487 do
   2488   IFS=$as_save_IFS
   2489   test -z "$as_dir" && as_dir=.
   2490     for ac_exec_ext in '' $ac_executable_extensions; do
   2491   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2492     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2494     break 2
   2495   fi
   2496 done
   2497   done
   2498 IFS=$as_save_IFS
   2499 
   2500 fi
   2501 fi
   2502 CC=$ac_cv_prog_CC
   2503 if test -n "$CC"; then
   2504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2505 $as_echo "$CC" >&6; }
   2506 else
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2508 $as_echo "no" >&6; }
   2509 fi
   2510 
   2511 
   2512     test -n "$CC" && break
   2513   done
   2514 fi
   2515 if test -z "$CC"; then
   2516   ac_ct_CC=$CC
   2517   for ac_prog in cl.exe
   2518 do
   2519   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2520 set dummy $ac_prog; ac_word=$2
   2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2522 $as_echo_n "checking for $ac_word... " >&6; }
   2523 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2524   $as_echo_n "(cached) " >&6
   2525 else
   2526   if test -n "$ac_ct_CC"; then
   2527   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2528 else
   2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534     for ac_exec_ext in '' $ac_executable_extensions; do
   2535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2536     ac_cv_prog_ac_ct_CC="$ac_prog"
   2537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2538     break 2
   2539   fi
   2540 done
   2541   done
   2542 IFS=$as_save_IFS
   2543 
   2544 fi
   2545 fi
   2546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2547 if test -n "$ac_ct_CC"; then
   2548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2549 $as_echo "$ac_ct_CC" >&6; }
   2550 else
   2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2552 $as_echo "no" >&6; }
   2553 fi
   2554 
   2555 
   2556   test -n "$ac_ct_CC" && break
   2557 done
   2558 
   2559   if test "x$ac_ct_CC" = x; then
   2560     CC=""
   2561   else
   2562     case $cross_compiling:$ac_tool_warned in
   2563 yes:)
   2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2566 ac_tool_warned=yes ;;
   2567 esac
   2568     CC=$ac_ct_CC
   2569   fi
   2570 fi
   2571 
   2572 fi
   2573 
   2574 
   2575 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2577 as_fn_error $? "no acceptable C compiler found in \$PATH
   2578 See \`config.log' for more details" "$LINENO" 5; }
   2579 
   2580 # Provide some information about the compiler.
   2581 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2582 set X $ac_compile
   2583 ac_compiler=$2
   2584 for ac_option in --version -v -V -qversion; do
   2585   { { ac_try="$ac_compiler $ac_option >&5"
   2586 case "(($ac_try" in
   2587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2588   *) ac_try_echo=$ac_try;;
   2589 esac
   2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2591 $as_echo "$ac_try_echo"; } >&5
   2592   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2593   ac_status=$?
   2594   if test -s conftest.err; then
   2595     sed '10a\
   2596 ... rest of stderr output deleted ...
   2597          10q' conftest.err >conftest.er1
   2598     cat conftest.er1 >&5
   2599   fi
   2600   rm -f conftest.er1 conftest.err
   2601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2602   test $ac_status = 0; }
   2603 done
   2604 
   2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2606 /* end confdefs.h.  */
   2607 
   2608 int
   2609 main ()
   2610 {
   2611 
   2612   ;
   2613   return 0;
   2614 }
   2615 _ACEOF
   2616 ac_clean_files_save=$ac_clean_files
   2617 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2618 # Try to create an executable without -o first, disregard a.out.
   2619 # It will help us diagnose broken compilers, and finding out an intuition
   2620 # of exeext.
   2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2622 $as_echo_n "checking whether the C compiler works... " >&6; }
   2623 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2624 
   2625 # The possible output files:
   2626 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2627 
   2628 ac_rmfiles=
   2629 for ac_file in $ac_files
   2630 do
   2631   case $ac_file in
   2632     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2633     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2634   esac
   2635 done
   2636 rm -f $ac_rmfiles
   2637 
   2638 if { { ac_try="$ac_link_default"
   2639 case "(($ac_try" in
   2640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2641   *) ac_try_echo=$ac_try;;
   2642 esac
   2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2644 $as_echo "$ac_try_echo"; } >&5
   2645   (eval "$ac_link_default") 2>&5
   2646   ac_status=$?
   2647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2648   test $ac_status = 0; }; then :
   2649   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2650 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2651 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2652 # so that the user can short-circuit this test for compilers unknown to
   2653 # Autoconf.
   2654 for ac_file in $ac_files ''
   2655 do
   2656   test -f "$ac_file" || continue
   2657   case $ac_file in
   2658     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2659 	;;
   2660     [ab].out )
   2661 	# We found the default executable, but exeext='' is most
   2662 	# certainly right.
   2663 	break;;
   2664     *.* )
   2665 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2666 	then :; else
   2667 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2668 	fi
   2669 	# We set ac_cv_exeext here because the later test for it is not
   2670 	# safe: cross compilers may not add the suffix if given an `-o'
   2671 	# argument, so we may need to know it at that point already.
   2672 	# Even if this section looks crufty: it has the advantage of
   2673 	# actually working.
   2674 	break;;
   2675     * )
   2676 	break;;
   2677   esac
   2678 done
   2679 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2680 
   2681 else
   2682   ac_file=''
   2683 fi
   2684 if test -z "$ac_file"; then :
   2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2686 $as_echo "no" >&6; }
   2687 $as_echo "$as_me: failed program was:" >&5
   2688 sed 's/^/| /' conftest.$ac_ext >&5
   2689 
   2690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2692 as_fn_error 77 "C compiler cannot create executables
   2693 See \`config.log' for more details" "$LINENO" 5; }
   2694 else
   2695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2696 $as_echo "yes" >&6; }
   2697 fi
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2699 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2701 $as_echo "$ac_file" >&6; }
   2702 ac_exeext=$ac_cv_exeext
   2703 
   2704 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2705 ac_clean_files=$ac_clean_files_save
   2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2707 $as_echo_n "checking for suffix of executables... " >&6; }
   2708 if { { ac_try="$ac_link"
   2709 case "(($ac_try" in
   2710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2711   *) ac_try_echo=$ac_try;;
   2712 esac
   2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2714 $as_echo "$ac_try_echo"; } >&5
   2715   (eval "$ac_link") 2>&5
   2716   ac_status=$?
   2717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2718   test $ac_status = 0; }; then :
   2719   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2720 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2721 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2722 # `rm'.
   2723 for ac_file in conftest.exe conftest conftest.*; do
   2724   test -f "$ac_file" || continue
   2725   case $ac_file in
   2726     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2727     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2728 	  break;;
   2729     * ) break;;
   2730   esac
   2731 done
   2732 else
   2733   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2735 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2736 See \`config.log' for more details" "$LINENO" 5; }
   2737 fi
   2738 rm -f conftest conftest$ac_cv_exeext
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2740 $as_echo "$ac_cv_exeext" >&6; }
   2741 
   2742 rm -f conftest.$ac_ext
   2743 EXEEXT=$ac_cv_exeext
   2744 ac_exeext=$EXEEXT
   2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2746 /* end confdefs.h.  */
   2747 #include <stdio.h>
   2748 int
   2749 main ()
   2750 {
   2751 FILE *f = fopen ("conftest.out", "w");
   2752  return ferror (f) || fclose (f) != 0;
   2753 
   2754   ;
   2755   return 0;
   2756 }
   2757 _ACEOF
   2758 ac_clean_files="$ac_clean_files conftest.out"
   2759 # Check that the compiler produces executables we can run.  If not, either
   2760 # the compiler is broken, or we cross compile.
   2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2762 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2763 if test "$cross_compiling" != yes; then
   2764   { { ac_try="$ac_link"
   2765 case "(($ac_try" in
   2766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2767   *) ac_try_echo=$ac_try;;
   2768 esac
   2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2770 $as_echo "$ac_try_echo"; } >&5
   2771   (eval "$ac_link") 2>&5
   2772   ac_status=$?
   2773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2774   test $ac_status = 0; }
   2775   if { ac_try='./conftest$ac_cv_exeext'
   2776   { { case "(($ac_try" in
   2777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2778   *) ac_try_echo=$ac_try;;
   2779 esac
   2780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2781 $as_echo "$ac_try_echo"; } >&5
   2782   (eval "$ac_try") 2>&5
   2783   ac_status=$?
   2784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2785   test $ac_status = 0; }; }; then
   2786     cross_compiling=no
   2787   else
   2788     if test "$cross_compiling" = maybe; then
   2789 	cross_compiling=yes
   2790     else
   2791 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2793 as_fn_error $? "cannot run C compiled programs.
   2794 If you meant to cross compile, use \`--host'.
   2795 See \`config.log' for more details" "$LINENO" 5; }
   2796     fi
   2797   fi
   2798 fi
   2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2800 $as_echo "$cross_compiling" >&6; }
   2801 
   2802 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2803 ac_clean_files=$ac_clean_files_save
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2805 $as_echo_n "checking for suffix of object files... " >&6; }
   2806 if ${ac_cv_objext+:} false; then :
   2807   $as_echo_n "(cached) " >&6
   2808 else
   2809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2810 /* end confdefs.h.  */
   2811 
   2812 int
   2813 main ()
   2814 {
   2815 
   2816   ;
   2817   return 0;
   2818 }
   2819 _ACEOF
   2820 rm -f conftest.o conftest.obj
   2821 if { { ac_try="$ac_compile"
   2822 case "(($ac_try" in
   2823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2824   *) ac_try_echo=$ac_try;;
   2825 esac
   2826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2827 $as_echo "$ac_try_echo"; } >&5
   2828   (eval "$ac_compile") 2>&5
   2829   ac_status=$?
   2830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2831   test $ac_status = 0; }; then :
   2832   for ac_file in conftest.o conftest.obj conftest.*; do
   2833   test -f "$ac_file" || continue;
   2834   case $ac_file in
   2835     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2836     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2837        break;;
   2838   esac
   2839 done
   2840 else
   2841   $as_echo "$as_me: failed program was:" >&5
   2842 sed 's/^/| /' conftest.$ac_ext >&5
   2843 
   2844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2846 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2847 See \`config.log' for more details" "$LINENO" 5; }
   2848 fi
   2849 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2850 fi
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2852 $as_echo "$ac_cv_objext" >&6; }
   2853 OBJEXT=$ac_cv_objext
   2854 ac_objext=$OBJEXT
   2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2856 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2857 if ${ac_cv_c_compiler_gnu+:} false; then :
   2858   $as_echo_n "(cached) " >&6
   2859 else
   2860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2861 /* end confdefs.h.  */
   2862 
   2863 int
   2864 main ()
   2865 {
   2866 #ifndef __GNUC__
   2867        choke me
   2868 #endif
   2869 
   2870   ;
   2871   return 0;
   2872 }
   2873 _ACEOF
   2874 if ac_fn_c_try_compile "$LINENO"; then :
   2875   ac_compiler_gnu=yes
   2876 else
   2877   ac_compiler_gnu=no
   2878 fi
   2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2880 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2881 
   2882 fi
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2884 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2885 if test $ac_compiler_gnu = yes; then
   2886   GCC=yes
   2887 else
   2888   GCC=
   2889 fi
   2890 ac_test_CFLAGS=${CFLAGS+set}
   2891 ac_save_CFLAGS=$CFLAGS
   2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2893 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2894 if ${ac_cv_prog_cc_g+:} false; then :
   2895   $as_echo_n "(cached) " >&6
   2896 else
   2897   ac_save_c_werror_flag=$ac_c_werror_flag
   2898    ac_c_werror_flag=yes
   2899    ac_cv_prog_cc_g=no
   2900    CFLAGS="-g"
   2901    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2902 /* end confdefs.h.  */
   2903 
   2904 int
   2905 main ()
   2906 {
   2907 
   2908   ;
   2909   return 0;
   2910 }
   2911 _ACEOF
   2912 if ac_fn_c_try_compile "$LINENO"; then :
   2913   ac_cv_prog_cc_g=yes
   2914 else
   2915   CFLAGS=""
   2916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2917 /* end confdefs.h.  */
   2918 
   2919 int
   2920 main ()
   2921 {
   2922 
   2923   ;
   2924   return 0;
   2925 }
   2926 _ACEOF
   2927 if ac_fn_c_try_compile "$LINENO"; then :
   2928 
   2929 else
   2930   ac_c_werror_flag=$ac_save_c_werror_flag
   2931 	 CFLAGS="-g"
   2932 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2933 /* end confdefs.h.  */
   2934 
   2935 int
   2936 main ()
   2937 {
   2938 
   2939   ;
   2940   return 0;
   2941 }
   2942 _ACEOF
   2943 if ac_fn_c_try_compile "$LINENO"; then :
   2944   ac_cv_prog_cc_g=yes
   2945 fi
   2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2947 fi
   2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2949 fi
   2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2951    ac_c_werror_flag=$ac_save_c_werror_flag
   2952 fi
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2954 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2955 if test "$ac_test_CFLAGS" = set; then
   2956   CFLAGS=$ac_save_CFLAGS
   2957 elif test $ac_cv_prog_cc_g = yes; then
   2958   if test "$GCC" = yes; then
   2959     CFLAGS="-g -O2"
   2960   else
   2961     CFLAGS="-g"
   2962   fi
   2963 else
   2964   if test "$GCC" = yes; then
   2965     CFLAGS="-O2"
   2966   else
   2967     CFLAGS=
   2968   fi
   2969 fi
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2971 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2972 if ${ac_cv_prog_cc_c89+:} false; then :
   2973   $as_echo_n "(cached) " >&6
   2974 else
   2975   ac_cv_prog_cc_c89=no
   2976 ac_save_CC=$CC
   2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2978 /* end confdefs.h.  */
   2979 #include <stdarg.h>
   2980 #include <stdio.h>
   2981 struct stat;
   2982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2983 struct buf { int x; };
   2984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2985 static char *e (p, i)
   2986      char **p;
   2987      int i;
   2988 {
   2989   return p[i];
   2990 }
   2991 static char *f (char * (*g) (char **, int), char **p, ...)
   2992 {
   2993   char *s;
   2994   va_list v;
   2995   va_start (v,p);
   2996   s = g (p, va_arg (v,int));
   2997   va_end (v);
   2998   return s;
   2999 }
   3000 
   3001 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3002    function prototypes and stuff, but not '\xHH' hex character constants.
   3003    These don't provoke an error unfortunately, instead are silently treated
   3004    as 'x'.  The following induces an error, until -std is added to get
   3005    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3006    array size at least.  It's necessary to write '\x00'==0 to get something
   3007    that's true only with -std.  */
   3008 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3009 
   3010 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3011    inside strings and character constants.  */
   3012 #define FOO(x) 'x'
   3013 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3014 
   3015 int test (int i, double x);
   3016 struct s1 {int (*f) (int a);};
   3017 struct s2 {int (*f) (double a);};
   3018 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3019 int argc;
   3020 char **argv;
   3021 int
   3022 main ()
   3023 {
   3024 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3025   ;
   3026   return 0;
   3027 }
   3028 _ACEOF
   3029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3030 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3031 do
   3032   CC="$ac_save_CC $ac_arg"
   3033   if ac_fn_c_try_compile "$LINENO"; then :
   3034   ac_cv_prog_cc_c89=$ac_arg
   3035 fi
   3036 rm -f core conftest.err conftest.$ac_objext
   3037   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3038 done
   3039 rm -f conftest.$ac_ext
   3040 CC=$ac_save_CC
   3041 
   3042 fi
   3043 # AC_CACHE_VAL
   3044 case "x$ac_cv_prog_cc_c89" in
   3045   x)
   3046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3047 $as_echo "none needed" >&6; } ;;
   3048   xno)
   3049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3050 $as_echo "unsupported" >&6; } ;;
   3051   *)
   3052     CC="$CC $ac_cv_prog_cc_c89"
   3053     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3054 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3055 esac
   3056 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3057 
   3058 fi
   3059 
   3060 ac_ext=c
   3061 ac_cpp='$CPP $CPPFLAGS'
   3062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3065 
   3066 ac_ext=c
   3067 ac_cpp='$CPP $CPPFLAGS'
   3068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3072 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3073 if ${am_cv_prog_cc_c_o+:} false; then :
   3074   $as_echo_n "(cached) " >&6
   3075 else
   3076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3077 /* end confdefs.h.  */
   3078 
   3079 int
   3080 main ()
   3081 {
   3082 
   3083   ;
   3084   return 0;
   3085 }
   3086 _ACEOF
   3087   # Make sure it works both with $CC and with simple cc.
   3088   # Following AC_PROG_CC_C_O, we do the test twice because some
   3089   # compilers refuse to overwrite an existing .o file with -o,
   3090   # though they will create one.
   3091   am_cv_prog_cc_c_o=yes
   3092   for am_i in 1 2; do
   3093     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3094    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3095    ac_status=$?
   3096    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3097    (exit $ac_status); } \
   3098          && test -f conftest2.$ac_objext; then
   3099       : OK
   3100     else
   3101       am_cv_prog_cc_c_o=no
   3102       break
   3103     fi
   3104   done
   3105   rm -f core conftest*
   3106   unset am_i
   3107 fi
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3109 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3110 if test "$am_cv_prog_cc_c_o" != yes; then
   3111    # Losing compiler, so override with the script.
   3112    # FIXME: It is wrong to rewrite CC.
   3113    # But if we don't then we get into trouble of one sort or another.
   3114    # A longer-term fix would be to have automake use am__CC in this case,
   3115    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3116    CC="$am_aux_dir/compile $CC"
   3117 fi
   3118 ac_ext=c
   3119 ac_cpp='$CPP $CPPFLAGS'
   3120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3123 
   3124 
   3125 
   3126 ac_ext=c
   3127 ac_cpp='$CPP $CPPFLAGS'
   3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3132 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3133 # On Suns, sometimes $CPP names a directory.
   3134 if test -n "$CPP" && test -d "$CPP"; then
   3135   CPP=
   3136 fi
   3137 if test -z "$CPP"; then
   3138   if ${ac_cv_prog_CPP+:} false; then :
   3139   $as_echo_n "(cached) " >&6
   3140 else
   3141       # Double quotes because CPP needs to be expanded
   3142     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3143     do
   3144       ac_preproc_ok=false
   3145 for ac_c_preproc_warn_flag in '' yes
   3146 do
   3147   # Use a header file that comes with gcc, so configuring glibc
   3148   # with a fresh cross-compiler works.
   3149   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3150   # <limits.h> exists even on freestanding compilers.
   3151   # On the NeXT, cc -E runs the code through the compiler's parser,
   3152   # not just through cpp. "Syntax error" is here to catch this case.
   3153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3154 /* end confdefs.h.  */
   3155 #ifdef __STDC__
   3156 # include <limits.h>
   3157 #else
   3158 # include <assert.h>
   3159 #endif
   3160 		     Syntax error
   3161 _ACEOF
   3162 if ac_fn_c_try_cpp "$LINENO"; then :
   3163 
   3164 else
   3165   # Broken: fails on valid input.
   3166 continue
   3167 fi
   3168 rm -f conftest.err conftest.i conftest.$ac_ext
   3169 
   3170   # OK, works on sane cases.  Now check whether nonexistent headers
   3171   # can be detected and how.
   3172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3173 /* end confdefs.h.  */
   3174 #include <ac_nonexistent.h>
   3175 _ACEOF
   3176 if ac_fn_c_try_cpp "$LINENO"; then :
   3177   # Broken: success on invalid input.
   3178 continue
   3179 else
   3180   # Passes both tests.
   3181 ac_preproc_ok=:
   3182 break
   3183 fi
   3184 rm -f conftest.err conftest.i conftest.$ac_ext
   3185 
   3186 done
   3187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3188 rm -f conftest.i conftest.err conftest.$ac_ext
   3189 if $ac_preproc_ok; then :
   3190   break
   3191 fi
   3192 
   3193     done
   3194     ac_cv_prog_CPP=$CPP
   3195 
   3196 fi
   3197   CPP=$ac_cv_prog_CPP
   3198 else
   3199   ac_cv_prog_CPP=$CPP
   3200 fi
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3202 $as_echo "$CPP" >&6; }
   3203 ac_preproc_ok=false
   3204 for ac_c_preproc_warn_flag in '' yes
   3205 do
   3206   # Use a header file that comes with gcc, so configuring glibc
   3207   # with a fresh cross-compiler works.
   3208   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3209   # <limits.h> exists even on freestanding compilers.
   3210   # On the NeXT, cc -E runs the code through the compiler's parser,
   3211   # not just through cpp. "Syntax error" is here to catch this case.
   3212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3213 /* end confdefs.h.  */
   3214 #ifdef __STDC__
   3215 # include <limits.h>
   3216 #else
   3217 # include <assert.h>
   3218 #endif
   3219 		     Syntax error
   3220 _ACEOF
   3221 if ac_fn_c_try_cpp "$LINENO"; then :
   3222 
   3223 else
   3224   # Broken: fails on valid input.
   3225 continue
   3226 fi
   3227 rm -f conftest.err conftest.i conftest.$ac_ext
   3228 
   3229   # OK, works on sane cases.  Now check whether nonexistent headers
   3230   # can be detected and how.
   3231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3232 /* end confdefs.h.  */
   3233 #include <ac_nonexistent.h>
   3234 _ACEOF
   3235 if ac_fn_c_try_cpp "$LINENO"; then :
   3236   # Broken: success on invalid input.
   3237 continue
   3238 else
   3239   # Passes both tests.
   3240 ac_preproc_ok=:
   3241 break
   3242 fi
   3243 rm -f conftest.err conftest.i conftest.$ac_ext
   3244 
   3245 done
   3246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3247 rm -f conftest.i conftest.err conftest.$ac_ext
   3248 if $ac_preproc_ok; then :
   3249 
   3250 else
   3251   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3254 See \`config.log' for more details" "$LINENO" 5; }
   3255 fi
   3256 
   3257 ac_ext=c
   3258 ac_cpp='$CPP $CPPFLAGS'
   3259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3262 
   3263 
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3265 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3266 if ${ac_cv_path_GREP+:} false; then :
   3267   $as_echo_n "(cached) " >&6
   3268 else
   3269   if test -z "$GREP"; then
   3270   ac_path_GREP_found=false
   3271   # Loop through the user's path and test for each of PROGNAME-LIST
   3272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3274 do
   3275   IFS=$as_save_IFS
   3276   test -z "$as_dir" && as_dir=.
   3277     for ac_prog in grep ggrep; do
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3280       as_fn_executable_p "$ac_path_GREP" || continue
   3281 # Check for GNU ac_path_GREP and select it if it is found.
   3282   # Check for GNU $ac_path_GREP
   3283 case `"$ac_path_GREP" --version 2>&1` in
   3284 *GNU*)
   3285   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3286 *)
   3287   ac_count=0
   3288   $as_echo_n 0123456789 >"conftest.in"
   3289   while :
   3290   do
   3291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3292     mv "conftest.tmp" "conftest.in"
   3293     cp "conftest.in" "conftest.nl"
   3294     $as_echo 'GREP' >> "conftest.nl"
   3295     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3297     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3298     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3299       # Best one so far, save it but keep looking for a better one
   3300       ac_cv_path_GREP="$ac_path_GREP"
   3301       ac_path_GREP_max=$ac_count
   3302     fi
   3303     # 10*(2^10) chars as input seems more than enough
   3304     test $ac_count -gt 10 && break
   3305   done
   3306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3307 esac
   3308 
   3309       $ac_path_GREP_found && break 3
   3310     done
   3311   done
   3312   done
   3313 IFS=$as_save_IFS
   3314   if test -z "$ac_cv_path_GREP"; then
   3315     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3316   fi
   3317 else
   3318   ac_cv_path_GREP=$GREP
   3319 fi
   3320 
   3321 fi
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3323 $as_echo "$ac_cv_path_GREP" >&6; }
   3324  GREP="$ac_cv_path_GREP"
   3325 
   3326 
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3328 $as_echo_n "checking for egrep... " >&6; }
   3329 if ${ac_cv_path_EGREP+:} false; then :
   3330   $as_echo_n "(cached) " >&6
   3331 else
   3332   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3333    then ac_cv_path_EGREP="$GREP -E"
   3334    else
   3335      if test -z "$EGREP"; then
   3336   ac_path_EGREP_found=false
   3337   # Loop through the user's path and test for each of PROGNAME-LIST
   3338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3340 do
   3341   IFS=$as_save_IFS
   3342   test -z "$as_dir" && as_dir=.
   3343     for ac_prog in egrep; do
   3344     for ac_exec_ext in '' $ac_executable_extensions; do
   3345       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3346       as_fn_executable_p "$ac_path_EGREP" || continue
   3347 # Check for GNU ac_path_EGREP and select it if it is found.
   3348   # Check for GNU $ac_path_EGREP
   3349 case `"$ac_path_EGREP" --version 2>&1` in
   3350 *GNU*)
   3351   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3352 *)
   3353   ac_count=0
   3354   $as_echo_n 0123456789 >"conftest.in"
   3355   while :
   3356   do
   3357     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3358     mv "conftest.tmp" "conftest.in"
   3359     cp "conftest.in" "conftest.nl"
   3360     $as_echo 'EGREP' >> "conftest.nl"
   3361     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3362     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3363     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3364     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3365       # Best one so far, save it but keep looking for a better one
   3366       ac_cv_path_EGREP="$ac_path_EGREP"
   3367       ac_path_EGREP_max=$ac_count
   3368     fi
   3369     # 10*(2^10) chars as input seems more than enough
   3370     test $ac_count -gt 10 && break
   3371   done
   3372   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3373 esac
   3374 
   3375       $ac_path_EGREP_found && break 3
   3376     done
   3377   done
   3378   done
   3379 IFS=$as_save_IFS
   3380   if test -z "$ac_cv_path_EGREP"; then
   3381     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3382   fi
   3383 else
   3384   ac_cv_path_EGREP=$EGREP
   3385 fi
   3386 
   3387    fi
   3388 fi
   3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3390 $as_echo "$ac_cv_path_EGREP" >&6; }
   3391  EGREP="$ac_cv_path_EGREP"
   3392 
   3393 
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3395 $as_echo_n "checking for ANSI C header files... " >&6; }
   3396 if ${ac_cv_header_stdc+:} false; then :
   3397   $as_echo_n "(cached) " >&6
   3398 else
   3399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3400 /* end confdefs.h.  */
   3401 #include <stdlib.h>
   3402 #include <stdarg.h>
   3403 #include <string.h>
   3404 #include <float.h>
   3405 
   3406 int
   3407 main ()
   3408 {
   3409 
   3410   ;
   3411   return 0;
   3412 }
   3413 _ACEOF
   3414 if ac_fn_c_try_compile "$LINENO"; then :
   3415   ac_cv_header_stdc=yes
   3416 else
   3417   ac_cv_header_stdc=no
   3418 fi
   3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3420 
   3421 if test $ac_cv_header_stdc = yes; then
   3422   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 #include <string.h>
   3426 
   3427 _ACEOF
   3428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3429   $EGREP "memchr" >/dev/null 2>&1; then :
   3430 
   3431 else
   3432   ac_cv_header_stdc=no
   3433 fi
   3434 rm -f conftest*
   3435 
   3436 fi
   3437 
   3438 if test $ac_cv_header_stdc = yes; then
   3439   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3441 /* end confdefs.h.  */
   3442 #include <stdlib.h>
   3443 
   3444 _ACEOF
   3445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3446   $EGREP "free" >/dev/null 2>&1; then :
   3447 
   3448 else
   3449   ac_cv_header_stdc=no
   3450 fi
   3451 rm -f conftest*
   3452 
   3453 fi
   3454 
   3455 if test $ac_cv_header_stdc = yes; then
   3456   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3457   if test "$cross_compiling" = yes; then :
   3458   :
   3459 else
   3460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3461 /* end confdefs.h.  */
   3462 #include <ctype.h>
   3463 #include <stdlib.h>
   3464 #if ((' ' & 0x0FF) == 0x020)
   3465 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3466 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3467 #else
   3468 # define ISLOWER(c) \
   3469 		   (('a' <= (c) && (c) <= 'i') \
   3470 		     || ('j' <= (c) && (c) <= 'r') \
   3471 		     || ('s' <= (c) && (c) <= 'z'))
   3472 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3473 #endif
   3474 
   3475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3476 int
   3477 main ()
   3478 {
   3479   int i;
   3480   for (i = 0; i < 256; i++)
   3481     if (XOR (islower (i), ISLOWER (i))
   3482 	|| toupper (i) != TOUPPER (i))
   3483       return 2;
   3484   return 0;
   3485 }
   3486 _ACEOF
   3487 if ac_fn_c_try_run "$LINENO"; then :
   3488 
   3489 else
   3490   ac_cv_header_stdc=no
   3491 fi
   3492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3493   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3494 fi
   3495 
   3496 fi
   3497 fi
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3499 $as_echo "$ac_cv_header_stdc" >&6; }
   3500 if test $ac_cv_header_stdc = yes; then
   3501 
   3502 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3503 
   3504 fi
   3505 
   3506 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3508 		  inttypes.h stdint.h unistd.h
   3509 do :
   3510   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3511 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3512 "
   3513 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3514   cat >>confdefs.h <<_ACEOF
   3515 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3516 _ACEOF
   3517 
   3518 fi
   3519 
   3520 done
   3521 
   3522 
   3523 
   3524   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3525 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3526   MINIX=yes
   3527 else
   3528   MINIX=
   3529 fi
   3530 
   3531 
   3532   if test "$MINIX" = yes; then
   3533 
   3534 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3535 
   3536 
   3537 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3538 
   3539 
   3540 $as_echo "#define _MINIX 1" >>confdefs.h
   3541 
   3542   fi
   3543 
   3544 
   3545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3546 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3547 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3548   $as_echo_n "(cached) " >&6
   3549 else
   3550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3551 /* end confdefs.h.  */
   3552 
   3553 #         define __EXTENSIONS__ 1
   3554           $ac_includes_default
   3555 int
   3556 main ()
   3557 {
   3558 
   3559   ;
   3560   return 0;
   3561 }
   3562 _ACEOF
   3563 if ac_fn_c_try_compile "$LINENO"; then :
   3564   ac_cv_safe_to_define___extensions__=yes
   3565 else
   3566   ac_cv_safe_to_define___extensions__=no
   3567 fi
   3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3569 fi
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3571 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3572   test $ac_cv_safe_to_define___extensions__ = yes &&
   3573     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3574 
   3575   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3576 
   3577   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3578 
   3579   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3580 
   3581   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3582 
   3583 
   3584 
   3585 # Initialize Automake
   3586 am__api_version='1.15'
   3587 
   3588 # Find a good install program.  We prefer a C program (faster),
   3589 # so one script is as good as another.  But avoid the broken or
   3590 # incompatible versions:
   3591 # SysV /etc/install, /usr/sbin/install
   3592 # SunOS /usr/etc/install
   3593 # IRIX /sbin/install
   3594 # AIX /bin/install
   3595 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3599 # OS/2's system install, which has a completely different semantic
   3600 # ./install, which can be erroneously created by make from ./install.sh.
   3601 # Reject install programs that cannot install multiple files.
   3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3603 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3604 if test -z "$INSTALL"; then
   3605 if ${ac_cv_path_install+:} false; then :
   3606   $as_echo_n "(cached) " >&6
   3607 else
   3608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3609 for as_dir in $PATH
   3610 do
   3611   IFS=$as_save_IFS
   3612   test -z "$as_dir" && as_dir=.
   3613     # Account for people who put trailing slashes in PATH elements.
   3614 case $as_dir/ in #((
   3615   ./ | .// | /[cC]/* | \
   3616   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3617   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3618   /usr/ucb/* ) ;;
   3619   *)
   3620     # OSF1 and SCO ODT 3.0 have their own names for install.
   3621     # Don't use installbsd from OSF since it installs stuff as root
   3622     # by default.
   3623     for ac_prog in ginstall scoinst install; do
   3624       for ac_exec_ext in '' $ac_executable_extensions; do
   3625 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3626 	  if test $ac_prog = install &&
   3627 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3628 	    # AIX install.  It has an incompatible calling convention.
   3629 	    :
   3630 	  elif test $ac_prog = install &&
   3631 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3632 	    # program-specific install script used by HP pwplus--don't use.
   3633 	    :
   3634 	  else
   3635 	    rm -rf conftest.one conftest.two conftest.dir
   3636 	    echo one > conftest.one
   3637 	    echo two > conftest.two
   3638 	    mkdir conftest.dir
   3639 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3640 	      test -s conftest.one && test -s conftest.two &&
   3641 	      test -s conftest.dir/conftest.one &&
   3642 	      test -s conftest.dir/conftest.two
   3643 	    then
   3644 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3645 	      break 3
   3646 	    fi
   3647 	  fi
   3648 	fi
   3649       done
   3650     done
   3651     ;;
   3652 esac
   3653 
   3654   done
   3655 IFS=$as_save_IFS
   3656 
   3657 rm -rf conftest.one conftest.two conftest.dir
   3658 
   3659 fi
   3660   if test "${ac_cv_path_install+set}" = set; then
   3661     INSTALL=$ac_cv_path_install
   3662   else
   3663     # As a last resort, use the slow shell script.  Don't cache a
   3664     # value for INSTALL within a source directory, because that will
   3665     # break other packages using the cache if that directory is
   3666     # removed, or if the value is a relative name.
   3667     INSTALL=$ac_install_sh
   3668   fi
   3669 fi
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3671 $as_echo "$INSTALL" >&6; }
   3672 
   3673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3674 # It thinks the first close brace ends the variable substitution.
   3675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3676 
   3677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3678 
   3679 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3680 
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3682 $as_echo_n "checking whether build environment is sane... " >&6; }
   3683 # Reject unsafe characters in $srcdir or the absolute working directory
   3684 # name.  Accept space and tab only in the latter.
   3685 am_lf='
   3686 '
   3687 case `pwd` in
   3688   *[\\\"\#\$\&\'\`$am_lf]*)
   3689     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3690 esac
   3691 case $srcdir in
   3692   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3693     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3694 esac
   3695 
   3696 # Do 'set' in a subshell so we don't clobber the current shell's
   3697 # arguments.  Must try -L first in case configure is actually a
   3698 # symlink; some systems play weird games with the mod time of symlinks
   3699 # (eg FreeBSD returns the mod time of the symlink's containing
   3700 # directory).
   3701 if (
   3702    am_has_slept=no
   3703    for am_try in 1 2; do
   3704      echo "timestamp, slept: $am_has_slept" > conftest.file
   3705      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3706      if test "$*" = "X"; then
   3707 	# -L didn't work.
   3708 	set X `ls -t "$srcdir/configure" conftest.file`
   3709      fi
   3710      if test "$*" != "X $srcdir/configure conftest.file" \
   3711 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3712 
   3713 	# If neither matched, then we have a broken ls.  This can happen
   3714 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3715 	# broken ls alias from the environment.  This has actually
   3716 	# happened.  Such a system could not be considered "sane".
   3717 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3718   alias in your environment" "$LINENO" 5
   3719      fi
   3720      if test "$2" = conftest.file || test $am_try -eq 2; then
   3721        break
   3722      fi
   3723      # Just in case.
   3724      sleep 1
   3725      am_has_slept=yes
   3726    done
   3727    test "$2" = conftest.file
   3728    )
   3729 then
   3730    # Ok.
   3731    :
   3732 else
   3733    as_fn_error $? "newly created file is older than distributed files!
   3734 Check your system clock" "$LINENO" 5
   3735 fi
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3737 $as_echo "yes" >&6; }
   3738 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3739 # generated files are strictly newer.
   3740 am_sleep_pid=
   3741 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3742   ( sleep 1 ) &
   3743   am_sleep_pid=$!
   3744 fi
   3745 
   3746 rm -f conftest.file
   3747 
   3748 test "$program_prefix" != NONE &&
   3749   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3750 # Use a double $ so make ignores it.
   3751 test "$program_suffix" != NONE &&
   3752   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3753 # Double any \ or $.
   3754 # By default was `s,x,x', remove it if useless.
   3755 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3756 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3757 
   3758 if test x"${MISSING+set}" != xset; then
   3759   case $am_aux_dir in
   3760   *\ * | *\	*)
   3761     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3762   *)
   3763     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3764   esac
   3765 fi
   3766 # Use eval to expand $SHELL
   3767 if eval "$MISSING --is-lightweight"; then
   3768   am_missing_run="$MISSING "
   3769 else
   3770   am_missing_run=
   3771   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3772 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3773 fi
   3774 
   3775 if test x"${install_sh+set}" != xset; then
   3776   case $am_aux_dir in
   3777   *\ * | *\	*)
   3778     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3779   *)
   3780     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3781   esac
   3782 fi
   3783 
   3784 # Installed binaries are usually stripped using 'strip' when the user
   3785 # run "make install-strip".  However 'strip' might not be the right
   3786 # tool to use in cross-compilation environments, therefore Automake
   3787 # will honor the 'STRIP' environment variable to overrule this program.
   3788 if test "$cross_compiling" != no; then
   3789   if test -n "$ac_tool_prefix"; then
   3790   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3791 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3793 $as_echo_n "checking for $ac_word... " >&6; }
   3794 if ${ac_cv_prog_STRIP+:} false; then :
   3795   $as_echo_n "(cached) " >&6
   3796 else
   3797   if test -n "$STRIP"; then
   3798   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3799 else
   3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3801 for as_dir in $PATH
   3802 do
   3803   IFS=$as_save_IFS
   3804   test -z "$as_dir" && as_dir=.
   3805     for ac_exec_ext in '' $ac_executable_extensions; do
   3806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3807     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3809     break 2
   3810   fi
   3811 done
   3812   done
   3813 IFS=$as_save_IFS
   3814 
   3815 fi
   3816 fi
   3817 STRIP=$ac_cv_prog_STRIP
   3818 if test -n "$STRIP"; then
   3819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3820 $as_echo "$STRIP" >&6; }
   3821 else
   3822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3823 $as_echo "no" >&6; }
   3824 fi
   3825 
   3826 
   3827 fi
   3828 if test -z "$ac_cv_prog_STRIP"; then
   3829   ac_ct_STRIP=$STRIP
   3830   # Extract the first word of "strip", so it can be a program name with args.
   3831 set dummy strip; ac_word=$2
   3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3833 $as_echo_n "checking for $ac_word... " >&6; }
   3834 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3835   $as_echo_n "(cached) " >&6
   3836 else
   3837   if test -n "$ac_ct_STRIP"; then
   3838   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3839 else
   3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3841 for as_dir in $PATH
   3842 do
   3843   IFS=$as_save_IFS
   3844   test -z "$as_dir" && as_dir=.
   3845     for ac_exec_ext in '' $ac_executable_extensions; do
   3846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3847     ac_cv_prog_ac_ct_STRIP="strip"
   3848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3849     break 2
   3850   fi
   3851 done
   3852   done
   3853 IFS=$as_save_IFS
   3854 
   3855 fi
   3856 fi
   3857 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3858 if test -n "$ac_ct_STRIP"; then
   3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3860 $as_echo "$ac_ct_STRIP" >&6; }
   3861 else
   3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3863 $as_echo "no" >&6; }
   3864 fi
   3865 
   3866   if test "x$ac_ct_STRIP" = x; then
   3867     STRIP=":"
   3868   else
   3869     case $cross_compiling:$ac_tool_warned in
   3870 yes:)
   3871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3873 ac_tool_warned=yes ;;
   3874 esac
   3875     STRIP=$ac_ct_STRIP
   3876   fi
   3877 else
   3878   STRIP="$ac_cv_prog_STRIP"
   3879 fi
   3880 
   3881 fi
   3882 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3883 
   3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3885 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3886 if test -z "$MKDIR_P"; then
   3887   if ${ac_cv_path_mkdir+:} false; then :
   3888   $as_echo_n "(cached) " >&6
   3889 else
   3890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3891 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3892 do
   3893   IFS=$as_save_IFS
   3894   test -z "$as_dir" && as_dir=.
   3895     for ac_prog in mkdir gmkdir; do
   3896 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3897 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3898 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3899 	     'mkdir (GNU coreutils) '* | \
   3900 	     'mkdir (coreutils) '* | \
   3901 	     'mkdir (fileutils) '4.1*)
   3902 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3903 	       break 3;;
   3904 	   esac
   3905 	 done
   3906        done
   3907   done
   3908 IFS=$as_save_IFS
   3909 
   3910 fi
   3911 
   3912   test -d ./--version && rmdir ./--version
   3913   if test "${ac_cv_path_mkdir+set}" = set; then
   3914     MKDIR_P="$ac_cv_path_mkdir -p"
   3915   else
   3916     # As a last resort, use the slow shell script.  Don't cache a
   3917     # value for MKDIR_P within a source directory, because that will
   3918     # break other packages using the cache if that directory is
   3919     # removed, or if the value is a relative name.
   3920     MKDIR_P="$ac_install_sh -d"
   3921   fi
   3922 fi
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3924 $as_echo "$MKDIR_P" >&6; }
   3925 
   3926 for ac_prog in gawk mawk nawk awk
   3927 do
   3928   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3929 set dummy $ac_prog; ac_word=$2
   3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3931 $as_echo_n "checking for $ac_word... " >&6; }
   3932 if ${ac_cv_prog_AWK+:} false; then :
   3933   $as_echo_n "(cached) " >&6
   3934 else
   3935   if test -n "$AWK"; then
   3936   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3937 else
   3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3939 for as_dir in $PATH
   3940 do
   3941   IFS=$as_save_IFS
   3942   test -z "$as_dir" && as_dir=.
   3943     for ac_exec_ext in '' $ac_executable_extensions; do
   3944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3945     ac_cv_prog_AWK="$ac_prog"
   3946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3947     break 2
   3948   fi
   3949 done
   3950   done
   3951 IFS=$as_save_IFS
   3952 
   3953 fi
   3954 fi
   3955 AWK=$ac_cv_prog_AWK
   3956 if test -n "$AWK"; then
   3957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3958 $as_echo "$AWK" >&6; }
   3959 else
   3960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3961 $as_echo "no" >&6; }
   3962 fi
   3963 
   3964 
   3965   test -n "$AWK" && break
   3966 done
   3967 
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3969 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3970 set x ${MAKE-make}
   3971 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3972 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3973   $as_echo_n "(cached) " >&6
   3974 else
   3975   cat >conftest.make <<\_ACEOF
   3976 SHELL = /bin/sh
   3977 all:
   3978 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3979 _ACEOF
   3980 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3981 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3982   *@@@%%%=?*=@@@%%%*)
   3983     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3984   *)
   3985     eval ac_cv_prog_make_${ac_make}_set=no;;
   3986 esac
   3987 rm -f conftest.make
   3988 fi
   3989 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3991 $as_echo "yes" >&6; }
   3992   SET_MAKE=
   3993 else
   3994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3995 $as_echo "no" >&6; }
   3996   SET_MAKE="MAKE=${MAKE-make}"
   3997 fi
   3998 
   3999 rm -rf .tst 2>/dev/null
   4000 mkdir .tst 2>/dev/null
   4001 if test -d .tst; then
   4002   am__leading_dot=.
   4003 else
   4004   am__leading_dot=_
   4005 fi
   4006 rmdir .tst 2>/dev/null
   4007 
   4008 DEPDIR="${am__leading_dot}deps"
   4009 
   4010 ac_config_commands="$ac_config_commands depfiles"
   4011 
   4012 
   4013 am_make=${MAKE-make}
   4014 cat > confinc << 'END'
   4015 am__doit:
   4016 	@echo this is the am__doit target
   4017 .PHONY: am__doit
   4018 END
   4019 # If we don't find an include directive, just comment out the code.
   4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4021 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4022 am__include="#"
   4023 am__quote=
   4024 _am_result=none
   4025 # First try GNU make style include.
   4026 echo "include confinc" > confmf
   4027 # Ignore all kinds of additional output from 'make'.
   4028 case `$am_make -s -f confmf 2> /dev/null` in #(
   4029 *the\ am__doit\ target*)
   4030   am__include=include
   4031   am__quote=
   4032   _am_result=GNU
   4033   ;;
   4034 esac
   4035 # Now try BSD make style include.
   4036 if test "$am__include" = "#"; then
   4037    echo '.include "confinc"' > confmf
   4038    case `$am_make -s -f confmf 2> /dev/null` in #(
   4039    *the\ am__doit\ target*)
   4040      am__include=.include
   4041      am__quote="\""
   4042      _am_result=BSD
   4043      ;;
   4044    esac
   4045 fi
   4046 
   4047 
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4049 $as_echo "$_am_result" >&6; }
   4050 rm -f confinc confmf
   4051 
   4052 # Check whether --enable-dependency-tracking was given.
   4053 if test "${enable_dependency_tracking+set}" = set; then :
   4054   enableval=$enable_dependency_tracking;
   4055 fi
   4056 
   4057 if test "x$enable_dependency_tracking" != xno; then
   4058   am_depcomp="$ac_aux_dir/depcomp"
   4059   AMDEPBACKSLASH='\'
   4060   am__nodep='_no'
   4061 fi
   4062  if test "x$enable_dependency_tracking" != xno; then
   4063   AMDEP_TRUE=
   4064   AMDEP_FALSE='#'
   4065 else
   4066   AMDEP_TRUE='#'
   4067   AMDEP_FALSE=
   4068 fi
   4069 
   4070 
   4071 # Check whether --enable-silent-rules was given.
   4072 if test "${enable_silent_rules+set}" = set; then :
   4073   enableval=$enable_silent_rules;
   4074 fi
   4075 
   4076 case $enable_silent_rules in # (((
   4077   yes) AM_DEFAULT_VERBOSITY=0;;
   4078    no) AM_DEFAULT_VERBOSITY=1;;
   4079     *) AM_DEFAULT_VERBOSITY=1;;
   4080 esac
   4081 am_make=${MAKE-make}
   4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4083 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4084 if ${am_cv_make_support_nested_variables+:} false; then :
   4085   $as_echo_n "(cached) " >&6
   4086 else
   4087   if $as_echo 'TRUE=$(BAR$(V))
   4088 BAR0=false
   4089 BAR1=true
   4090 V=1
   4091 am__doit:
   4092 	@$(TRUE)
   4093 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4094   am_cv_make_support_nested_variables=yes
   4095 else
   4096   am_cv_make_support_nested_variables=no
   4097 fi
   4098 fi
   4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4100 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4101 if test $am_cv_make_support_nested_variables = yes; then
   4102     AM_V='$(V)'
   4103   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4104 else
   4105   AM_V=$AM_DEFAULT_VERBOSITY
   4106   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4107 fi
   4108 AM_BACKSLASH='\'
   4109 
   4110 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4111   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4112   # is not polluted with repeated "-I."
   4113   am__isrc=' -I$(srcdir)'
   4114   # test to see if srcdir already configured
   4115   if test -f $srcdir/config.status; then
   4116     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4117   fi
   4118 fi
   4119 
   4120 # test whether we have cygpath
   4121 if test -z "$CYGPATH_W"; then
   4122   if (cygpath --version) >/dev/null 2>/dev/null; then
   4123     CYGPATH_W='cygpath -w'
   4124   else
   4125     CYGPATH_W=echo
   4126   fi
   4127 fi
   4128 
   4129 
   4130 # Define the identity of the package.
   4131  PACKAGE='xkbprint'
   4132  VERSION='1.0.4'
   4133 
   4134 
   4135 cat >>confdefs.h <<_ACEOF
   4136 #define PACKAGE "$PACKAGE"
   4137 _ACEOF
   4138 
   4139 
   4140 cat >>confdefs.h <<_ACEOF
   4141 #define VERSION "$VERSION"
   4142 _ACEOF
   4143 
   4144 # Some tools Automake needs.
   4145 
   4146 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4147 
   4148 
   4149 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4150 
   4151 
   4152 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4153 
   4154 
   4155 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4156 
   4157 
   4158 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4159 
   4160 # For better backward compatibility.  To be removed once Automake 1.9.x
   4161 # dies out for good.  For more background, see:
   4162 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4163 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4164 mkdir_p='$(MKDIR_P)'
   4165 
   4166 # We need awk for the "check" target (and possibly the TAP driver).  The
   4167 # system "awk" is bad on some platforms.
   4168 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4169 # in the wild :-(  We should find a proper way to deprecate it ...
   4170 AMTAR='$${TAR-tar}'
   4171 
   4172 
   4173 # We'll loop over all known methods to create a tar archive until one works.
   4174 _am_tools='gnutar  pax cpio none'
   4175 
   4176 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4177 
   4178 
   4179 
   4180 
   4181 
   4182 depcc="$CC"   am_compiler_list=
   4183 
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4185 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4186 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4190   # We make a subdir and do the tests there.  Otherwise we can end up
   4191   # making bogus files that we don't know about and never remove.  For
   4192   # instance it was reported that on HP-UX the gcc test will end up
   4193   # making a dummy file named 'D' -- because '-MD' means "put the output
   4194   # in D".
   4195   rm -rf conftest.dir
   4196   mkdir conftest.dir
   4197   # Copy depcomp to subdir because otherwise we won't find it if we're
   4198   # using a relative directory.
   4199   cp "$am_depcomp" conftest.dir
   4200   cd conftest.dir
   4201   # We will build objects and dependencies in a subdirectory because
   4202   # it helps to detect inapplicable dependency modes.  For instance
   4203   # both Tru64's cc and ICC support -MD to output dependencies as a
   4204   # side effect of compilation, but ICC will put the dependencies in
   4205   # the current directory while Tru64 will put them in the object
   4206   # directory.
   4207   mkdir sub
   4208 
   4209   am_cv_CC_dependencies_compiler_type=none
   4210   if test "$am_compiler_list" = ""; then
   4211      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4212   fi
   4213   am__universal=false
   4214   case " $depcc " in #(
   4215      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4216      esac
   4217 
   4218   for depmode in $am_compiler_list; do
   4219     # Setup a source with many dependencies, because some compilers
   4220     # like to wrap large dependency lists on column 80 (with \), and
   4221     # we should not choose a depcomp mode which is confused by this.
   4222     #
   4223     # We need to recreate these files for each test, as the compiler may
   4224     # overwrite some of them when testing with obscure command lines.
   4225     # This happens at least with the AIX C compiler.
   4226     : > sub/conftest.c
   4227     for i in 1 2 3 4 5 6; do
   4228       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4229       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4230       # Solaris 10 /bin/sh.
   4231       echo '/* dummy */' > sub/conftst$i.h
   4232     done
   4233     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4234 
   4235     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4236     # mode.  It turns out that the SunPro C++ compiler does not properly
   4237     # handle '-M -o', and we need to detect this.  Also, some Intel
   4238     # versions had trouble with output in subdirs.
   4239     am__obj=sub/conftest.${OBJEXT-o}
   4240     am__minus_obj="-o $am__obj"
   4241     case $depmode in
   4242     gcc)
   4243       # This depmode causes a compiler race in universal mode.
   4244       test "$am__universal" = false || continue
   4245       ;;
   4246     nosideeffect)
   4247       # After this tag, mechanisms are not by side-effect, so they'll
   4248       # only be used when explicitly requested.
   4249       if test "x$enable_dependency_tracking" = xyes; then
   4250 	continue
   4251       else
   4252 	break
   4253       fi
   4254       ;;
   4255     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4256       # This compiler won't grok '-c -o', but also, the minuso test has
   4257       # not run yet.  These depmodes are late enough in the game, and
   4258       # so weak that their functioning should not be impacted.
   4259       am__obj=conftest.${OBJEXT-o}
   4260       am__minus_obj=
   4261       ;;
   4262     none) break ;;
   4263     esac
   4264     if depmode=$depmode \
   4265        source=sub/conftest.c object=$am__obj \
   4266        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4267        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4268          >/dev/null 2>conftest.err &&
   4269        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4270        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4271        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4272        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4273       # icc doesn't choke on unknown options, it will just issue warnings
   4274       # or remarks (even with -Werror).  So we grep stderr for any message
   4275       # that says an option was ignored or not supported.
   4276       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4277       #   icc: Command line warning: ignoring option '-M'; no argument required
   4278       # The diagnosis changed in icc 8.0:
   4279       #   icc: Command line remark: option '-MP' not supported
   4280       if (grep 'ignoring option' conftest.err ||
   4281           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4282         am_cv_CC_dependencies_compiler_type=$depmode
   4283         break
   4284       fi
   4285     fi
   4286   done
   4287 
   4288   cd ..
   4289   rm -rf conftest.dir
   4290 else
   4291   am_cv_CC_dependencies_compiler_type=none
   4292 fi
   4293 
   4294 fi
   4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4296 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4297 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4298 
   4299  if
   4300   test "x$enable_dependency_tracking" != xno \
   4301   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4302   am__fastdepCC_TRUE=
   4303   am__fastdepCC_FALSE='#'
   4304 else
   4305   am__fastdepCC_TRUE='#'
   4306   am__fastdepCC_FALSE=
   4307 fi
   4308 
   4309 
   4310 
   4311 # POSIX will say in a future version that running "rm -f" with no argument
   4312 # is OK; and we want to be able to make that assumption in our Makefile
   4313 # recipes.  So use an aggressive probe to check that the usage we want is
   4314 # actually supported "in the wild" to an acceptable degree.
   4315 # See automake bug#10828.
   4316 # To make any issue more visible, cause the running configure to be aborted
   4317 # by default if the 'rm' program in use doesn't match our expectations; the
   4318 # user can still override this though.
   4319 if rm -f && rm -fr && rm -rf; then : OK; else
   4320   cat >&2 <<'END'
   4321 Oops!
   4322 
   4323 Your 'rm' program seems unable to run without file operands specified
   4324 on the command line, even when the '-f' option is present.  This is contrary
   4325 to the behaviour of most rm programs out there, and not conforming with
   4326 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4327 
   4328 Please tell bug-automake@gnu.org about your system, including the value
   4329 of your $PATH and any error possibly output before this message.  This
   4330 can help us improve future automake versions.
   4331 
   4332 END
   4333   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4334     echo 'Configuration will proceed anyway, since you have set the' >&2
   4335     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4336     echo >&2
   4337   else
   4338     cat >&2 <<'END'
   4339 Aborting the configuration process, to ensure you take notice of the issue.
   4340 
   4341 You can download and install GNU coreutils to get an 'rm' implementation
   4342 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4343 
   4344 If you want to complete the configuration process using your problematic
   4345 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4346 to "yes", and re-run configure.
   4347 
   4348 END
   4349     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4350   fi
   4351 fi
   4352 
   4353 
   4354 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4367 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4368 if ${ac_cv_prog_cc_c99+:} false; then :
   4369   $as_echo_n "(cached) " >&6
   4370 else
   4371   ac_cv_prog_cc_c99=no
   4372 ac_save_CC=$CC
   4373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4374 /* end confdefs.h.  */
   4375 #include <stdarg.h>
   4376 #include <stdbool.h>
   4377 #include <stdlib.h>
   4378 #include <wchar.h>
   4379 #include <stdio.h>
   4380 
   4381 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4382 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4383 #define showlist(...) puts (#__VA_ARGS__)
   4384 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4385 static void
   4386 test_varargs_macros (void)
   4387 {
   4388   int x = 1234;
   4389   int y = 5678;
   4390   debug ("Flag");
   4391   debug ("X = %d\n", x);
   4392   showlist (The first, second, and third items.);
   4393   report (x>y, "x is %d but y is %d", x, y);
   4394 }
   4395 
   4396 // Check long long types.
   4397 #define BIG64 18446744073709551615ull
   4398 #define BIG32 4294967295ul
   4399 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4400 #if !BIG_OK
   4401   your preprocessor is broken;
   4402 #endif
   4403 #if BIG_OK
   4404 #else
   4405   your preprocessor is broken;
   4406 #endif
   4407 static long long int bignum = -9223372036854775807LL;
   4408 static unsigned long long int ubignum = BIG64;
   4409 
   4410 struct incomplete_array
   4411 {
   4412   int datasize;
   4413   double data[];
   4414 };
   4415 
   4416 struct named_init {
   4417   int number;
   4418   const wchar_t *name;
   4419   double average;
   4420 };
   4421 
   4422 typedef const char *ccp;
   4423 
   4424 static inline int
   4425 test_restrict (ccp restrict text)
   4426 {
   4427   // See if C++-style comments work.
   4428   // Iterate through items via the restricted pointer.
   4429   // Also check for declarations in for loops.
   4430   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4431     continue;
   4432   return 0;
   4433 }
   4434 
   4435 // Check varargs and va_copy.
   4436 static void
   4437 test_varargs (const char *format, ...)
   4438 {
   4439   va_list args;
   4440   va_start (args, format);
   4441   va_list args_copy;
   4442   va_copy (args_copy, args);
   4443 
   4444   const char *str;
   4445   int number;
   4446   float fnumber;
   4447 
   4448   while (*format)
   4449     {
   4450       switch (*format++)
   4451 	{
   4452 	case 's': // string
   4453 	  str = va_arg (args_copy, const char *);
   4454 	  break;
   4455 	case 'd': // int
   4456 	  number = va_arg (args_copy, int);
   4457 	  break;
   4458 	case 'f': // float
   4459 	  fnumber = va_arg (args_copy, double);
   4460 	  break;
   4461 	default:
   4462 	  break;
   4463 	}
   4464     }
   4465   va_end (args_copy);
   4466   va_end (args);
   4467 }
   4468 
   4469 int
   4470 main ()
   4471 {
   4472 
   4473   // Check bool.
   4474   _Bool success = false;
   4475 
   4476   // Check restrict.
   4477   if (test_restrict ("String literal") == 0)
   4478     success = true;
   4479   char *restrict newvar = "Another string";
   4480 
   4481   // Check varargs.
   4482   test_varargs ("s, d' f .", "string", 65, 34.234);
   4483   test_varargs_macros ();
   4484 
   4485   // Check flexible array members.
   4486   struct incomplete_array *ia =
   4487     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4488   ia->datasize = 10;
   4489   for (int i = 0; i < ia->datasize; ++i)
   4490     ia->data[i] = i * 1.234;
   4491 
   4492   // Check named initializers.
   4493   struct named_init ni = {
   4494     .number = 34,
   4495     .name = L"Test wide string",
   4496     .average = 543.34343,
   4497   };
   4498 
   4499   ni.number = 58;
   4500 
   4501   int dynamic_array[ni.number];
   4502   dynamic_array[ni.number - 1] = 543;
   4503 
   4504   // work around unused variable warnings
   4505   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4506 	  || dynamic_array[ni.number - 1] != 543);
   4507 
   4508   ;
   4509   return 0;
   4510 }
   4511 _ACEOF
   4512 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4513 do
   4514   CC="$ac_save_CC $ac_arg"
   4515   if ac_fn_c_try_compile "$LINENO"; then :
   4516   ac_cv_prog_cc_c99=$ac_arg
   4517 fi
   4518 rm -f core conftest.err conftest.$ac_objext
   4519   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4520 done
   4521 rm -f conftest.$ac_ext
   4522 CC=$ac_save_CC
   4523 
   4524 fi
   4525 # AC_CACHE_VAL
   4526 case "x$ac_cv_prog_cc_c99" in
   4527   x)
   4528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4529 $as_echo "none needed" >&6; } ;;
   4530   xno)
   4531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4532 $as_echo "unsupported" >&6; } ;;
   4533   *)
   4534     CC="$CC $ac_cv_prog_cc_c99"
   4535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4536 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4537 esac
   4538 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4539 
   4540 fi
   4541 
   4542 
   4543 
   4544 
   4545 
   4546 
   4547 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4548 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4549   CLANGCC="yes"
   4550 else
   4551   CLANGCC="no"
   4552 fi
   4553 
   4554 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4555 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4556   INTELCC="yes"
   4557 else
   4558   INTELCC="no"
   4559 fi
   4560 
   4561 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4562 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4563   SUNCC="yes"
   4564 else
   4565   SUNCC="no"
   4566 fi
   4567 
   4568 
   4569 
   4570 
   4571 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4572 	if test -n "$ac_tool_prefix"; then
   4573   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4574 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4576 $as_echo_n "checking for $ac_word... " >&6; }
   4577 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4578   $as_echo_n "(cached) " >&6
   4579 else
   4580   case $PKG_CONFIG in
   4581   [\\/]* | ?:[\\/]*)
   4582   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4583   ;;
   4584   *)
   4585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4586 for as_dir in $PATH
   4587 do
   4588   IFS=$as_save_IFS
   4589   test -z "$as_dir" && as_dir=.
   4590     for ac_exec_ext in '' $ac_executable_extensions; do
   4591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4592     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4594     break 2
   4595   fi
   4596 done
   4597   done
   4598 IFS=$as_save_IFS
   4599 
   4600   ;;
   4601 esac
   4602 fi
   4603 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4604 if test -n "$PKG_CONFIG"; then
   4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4606 $as_echo "$PKG_CONFIG" >&6; }
   4607 else
   4608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4609 $as_echo "no" >&6; }
   4610 fi
   4611 
   4612 
   4613 fi
   4614 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4615   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4616   # Extract the first word of "pkg-config", so it can be a program name with args.
   4617 set dummy pkg-config; ac_word=$2
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4619 $as_echo_n "checking for $ac_word... " >&6; }
   4620 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623   case $ac_pt_PKG_CONFIG in
   4624   [\\/]* | ?:[\\/]*)
   4625   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4626   ;;
   4627   *)
   4628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4629 for as_dir in $PATH
   4630 do
   4631   IFS=$as_save_IFS
   4632   test -z "$as_dir" && as_dir=.
   4633     for ac_exec_ext in '' $ac_executable_extensions; do
   4634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4635     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4637     break 2
   4638   fi
   4639 done
   4640   done
   4641 IFS=$as_save_IFS
   4642 
   4643   ;;
   4644 esac
   4645 fi
   4646 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4647 if test -n "$ac_pt_PKG_CONFIG"; then
   4648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4649 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4650 else
   4651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4652 $as_echo "no" >&6; }
   4653 fi
   4654 
   4655   if test "x$ac_pt_PKG_CONFIG" = x; then
   4656     PKG_CONFIG=""
   4657   else
   4658     case $cross_compiling:$ac_tool_warned in
   4659 yes:)
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4662 ac_tool_warned=yes ;;
   4663 esac
   4664     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4665   fi
   4666 else
   4667   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4668 fi
   4669 
   4670 fi
   4671 if test -n "$PKG_CONFIG"; then
   4672 	_pkg_min_version=0.9.0
   4673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4674 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4675 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4677 $as_echo "yes" >&6; }
   4678 	else
   4679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4680 $as_echo "no" >&6; }
   4681 		PKG_CONFIG=""
   4682 	fi
   4683 
   4684 fi
   4685 # Make sure we can run config.sub.
   4686 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4687   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4688 
   4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4690 $as_echo_n "checking build system type... " >&6; }
   4691 if ${ac_cv_build+:} false; then :
   4692   $as_echo_n "(cached) " >&6
   4693 else
   4694   ac_build_alias=$build_alias
   4695 test "x$ac_build_alias" = x &&
   4696   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4697 test "x$ac_build_alias" = x &&
   4698   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4699 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4700   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4701 
   4702 fi
   4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4704 $as_echo "$ac_cv_build" >&6; }
   4705 case $ac_cv_build in
   4706 *-*-*) ;;
   4707 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4708 esac
   4709 build=$ac_cv_build
   4710 ac_save_IFS=$IFS; IFS='-'
   4711 set x $ac_cv_build
   4712 shift
   4713 build_cpu=$1
   4714 build_vendor=$2
   4715 shift; shift
   4716 # Remember, the first character of IFS is used to create $*,
   4717 # except with old shells:
   4718 build_os=$*
   4719 IFS=$ac_save_IFS
   4720 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4721 
   4722 
   4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4724 $as_echo_n "checking host system type... " >&6; }
   4725 if ${ac_cv_host+:} false; then :
   4726   $as_echo_n "(cached) " >&6
   4727 else
   4728   if test "x$host_alias" = x; then
   4729   ac_cv_host=$ac_cv_build
   4730 else
   4731   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4732     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4733 fi
   4734 
   4735 fi
   4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4737 $as_echo "$ac_cv_host" >&6; }
   4738 case $ac_cv_host in
   4739 *-*-*) ;;
   4740 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4741 esac
   4742 host=$ac_cv_host
   4743 ac_save_IFS=$IFS; IFS='-'
   4744 set x $ac_cv_host
   4745 shift
   4746 host_cpu=$1
   4747 host_vendor=$2
   4748 shift; shift
   4749 # Remember, the first character of IFS is used to create $*,
   4750 # except with old shells:
   4751 host_os=$*
   4752 IFS=$ac_save_IFS
   4753 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4754 
   4755 
   4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4757 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4758 if ${ac_cv_path_SED+:} false; then :
   4759   $as_echo_n "(cached) " >&6
   4760 else
   4761             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4762      for ac_i in 1 2 3 4 5 6 7; do
   4763        ac_script="$ac_script$as_nl$ac_script"
   4764      done
   4765      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4766      { ac_script=; unset ac_script;}
   4767      if test -z "$SED"; then
   4768   ac_path_SED_found=false
   4769   # Loop through the user's path and test for each of PROGNAME-LIST
   4770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4771 for as_dir in $PATH
   4772 do
   4773   IFS=$as_save_IFS
   4774   test -z "$as_dir" && as_dir=.
   4775     for ac_prog in sed gsed; do
   4776     for ac_exec_ext in '' $ac_executable_extensions; do
   4777       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4778       as_fn_executable_p "$ac_path_SED" || continue
   4779 # Check for GNU ac_path_SED and select it if it is found.
   4780   # Check for GNU $ac_path_SED
   4781 case `"$ac_path_SED" --version 2>&1` in
   4782 *GNU*)
   4783   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4784 *)
   4785   ac_count=0
   4786   $as_echo_n 0123456789 >"conftest.in"
   4787   while :
   4788   do
   4789     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4790     mv "conftest.tmp" "conftest.in"
   4791     cp "conftest.in" "conftest.nl"
   4792     $as_echo '' >> "conftest.nl"
   4793     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4794     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4795     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4796     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4797       # Best one so far, save it but keep looking for a better one
   4798       ac_cv_path_SED="$ac_path_SED"
   4799       ac_path_SED_max=$ac_count
   4800     fi
   4801     # 10*(2^10) chars as input seems more than enough
   4802     test $ac_count -gt 10 && break
   4803   done
   4804   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4805 esac
   4806 
   4807       $ac_path_SED_found && break 3
   4808     done
   4809   done
   4810   done
   4811 IFS=$as_save_IFS
   4812   if test -z "$ac_cv_path_SED"; then
   4813     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4814   fi
   4815 else
   4816   ac_cv_path_SED=$SED
   4817 fi
   4818 
   4819 fi
   4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4821 $as_echo "$ac_cv_path_SED" >&6; }
   4822  SED="$ac_cv_path_SED"
   4823   rm -f conftest.sed
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 
   4830 # Check whether --enable-selective-werror was given.
   4831 if test "${enable_selective_werror+set}" = set; then :
   4832   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4833 else
   4834   SELECTIVE_WERROR=yes
   4835 fi
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4842 if test "x$SUNCC" = "xyes"; then
   4843     BASE_CFLAGS="-v"
   4844 else
   4845     BASE_CFLAGS=""
   4846 fi
   4847 
   4848 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 xorg_testset_save_CFLAGS="$CFLAGS"
   4863 
   4864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4872 /* end confdefs.h.  */
   4873 int i;
   4874 _ACEOF
   4875 if ac_fn_c_try_compile "$LINENO"; then :
   4876   xorg_cv_cc_flag_unknown_warning_option=yes
   4877 else
   4878   xorg_cv_cc_flag_unknown_warning_option=no
   4879 fi
   4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4881 fi
   4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4885 	CFLAGS="$xorg_testset_save_CFLAGS"
   4886 fi
   4887 
   4888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4891 	fi
   4892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4896   $as_echo_n "(cached) " >&6
   4897 else
   4898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4899 /* end confdefs.h.  */
   4900 int i;
   4901 _ACEOF
   4902 if ac_fn_c_try_compile "$LINENO"; then :
   4903   xorg_cv_cc_flag_unused_command_line_argument=yes
   4904 else
   4905   xorg_cv_cc_flag_unused_command_line_argument=no
   4906 fi
   4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4908 fi
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4912 	CFLAGS="$xorg_testset_save_CFLAGS"
   4913 fi
   4914 
   4915 found="no"
   4916 
   4917 	if test $found = "no" ; then
   4918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4920 		fi
   4921 
   4922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4924 		fi
   4925 
   4926 		CFLAGS="$CFLAGS -Wall"
   4927 
   4928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4929 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4930 		cacheid=xorg_cv_cc_flag__Wall
   4931 		if eval \${$cacheid+:} false; then :
   4932   $as_echo_n "(cached) " >&6
   4933 else
   4934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4935 /* end confdefs.h.  */
   4936 int i;
   4937 int
   4938 main ()
   4939 {
   4940 
   4941   ;
   4942   return 0;
   4943 }
   4944 _ACEOF
   4945 if ac_fn_c_try_link "$LINENO"; then :
   4946   eval $cacheid=yes
   4947 else
   4948   eval $cacheid=no
   4949 fi
   4950 rm -f core conftest.err conftest.$ac_objext \
   4951     conftest$ac_exeext conftest.$ac_ext
   4952 fi
   4953 
   4954 
   4955 		CFLAGS="$xorg_testset_save_CFLAGS"
   4956 
   4957 		eval supported=\$$cacheid
   4958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4959 $as_echo "$supported" >&6; }
   4960 		if test "$supported" = "yes" ; then
   4961 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4962 			found="yes"
   4963 		fi
   4964 	fi
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 xorg_testset_save_CFLAGS="$CFLAGS"
   4981 
   4982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4985 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4986 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4987   $as_echo_n "(cached) " >&6
   4988 else
   4989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 int i;
   4992 _ACEOF
   4993 if ac_fn_c_try_compile "$LINENO"; then :
   4994   xorg_cv_cc_flag_unknown_warning_option=yes
   4995 else
   4996   xorg_cv_cc_flag_unknown_warning_option=no
   4997 fi
   4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4999 fi
   5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5001 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5003 	CFLAGS="$xorg_testset_save_CFLAGS"
   5004 fi
   5005 
   5006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5009 	fi
   5010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5012 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5013 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5017 /* end confdefs.h.  */
   5018 int i;
   5019 _ACEOF
   5020 if ac_fn_c_try_compile "$LINENO"; then :
   5021   xorg_cv_cc_flag_unused_command_line_argument=yes
   5022 else
   5023   xorg_cv_cc_flag_unused_command_line_argument=no
   5024 fi
   5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5026 fi
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5028 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5030 	CFLAGS="$xorg_testset_save_CFLAGS"
   5031 fi
   5032 
   5033 found="no"
   5034 
   5035 	if test $found = "no" ; then
   5036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5038 		fi
   5039 
   5040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5042 		fi
   5043 
   5044 		CFLAGS="$CFLAGS -Wpointer-arith"
   5045 
   5046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5047 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5048 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5049 		if eval \${$cacheid+:} false; then :
   5050   $as_echo_n "(cached) " >&6
   5051 else
   5052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5053 /* end confdefs.h.  */
   5054 int i;
   5055 int
   5056 main ()
   5057 {
   5058 
   5059   ;
   5060   return 0;
   5061 }
   5062 _ACEOF
   5063 if ac_fn_c_try_link "$LINENO"; then :
   5064   eval $cacheid=yes
   5065 else
   5066   eval $cacheid=no
   5067 fi
   5068 rm -f core conftest.err conftest.$ac_objext \
   5069     conftest$ac_exeext conftest.$ac_ext
   5070 fi
   5071 
   5072 
   5073 		CFLAGS="$xorg_testset_save_CFLAGS"
   5074 
   5075 		eval supported=\$$cacheid
   5076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5077 $as_echo "$supported" >&6; }
   5078 		if test "$supported" = "yes" ; then
   5079 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5080 			found="yes"
   5081 		fi
   5082 	fi
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 xorg_testset_save_CFLAGS="$CFLAGS"
   5099 
   5100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5103 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5104 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5105   $as_echo_n "(cached) " >&6
   5106 else
   5107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5108 /* end confdefs.h.  */
   5109 int i;
   5110 _ACEOF
   5111 if ac_fn_c_try_compile "$LINENO"; then :
   5112   xorg_cv_cc_flag_unknown_warning_option=yes
   5113 else
   5114   xorg_cv_cc_flag_unknown_warning_option=no
   5115 fi
   5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5117 fi
   5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5119 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5121 	CFLAGS="$xorg_testset_save_CFLAGS"
   5122 fi
   5123 
   5124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5127 	fi
   5128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5130 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5131 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5132   $as_echo_n "(cached) " >&6
   5133 else
   5134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5135 /* end confdefs.h.  */
   5136 int i;
   5137 _ACEOF
   5138 if ac_fn_c_try_compile "$LINENO"; then :
   5139   xorg_cv_cc_flag_unused_command_line_argument=yes
   5140 else
   5141   xorg_cv_cc_flag_unused_command_line_argument=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5144 fi
   5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5146 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5148 	CFLAGS="$xorg_testset_save_CFLAGS"
   5149 fi
   5150 
   5151 found="no"
   5152 
   5153 	if test $found = "no" ; then
   5154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5156 		fi
   5157 
   5158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5160 		fi
   5161 
   5162 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5163 
   5164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5165 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5166 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5167 		if eval \${$cacheid+:} false; then :
   5168   $as_echo_n "(cached) " >&6
   5169 else
   5170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 int
   5174 main ()
   5175 {
   5176 
   5177   ;
   5178   return 0;
   5179 }
   5180 _ACEOF
   5181 if ac_fn_c_try_link "$LINENO"; then :
   5182   eval $cacheid=yes
   5183 else
   5184   eval $cacheid=no
   5185 fi
   5186 rm -f core conftest.err conftest.$ac_objext \
   5187     conftest$ac_exeext conftest.$ac_ext
   5188 fi
   5189 
   5190 
   5191 		CFLAGS="$xorg_testset_save_CFLAGS"
   5192 
   5193 		eval supported=\$$cacheid
   5194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5195 $as_echo "$supported" >&6; }
   5196 		if test "$supported" = "yes" ; then
   5197 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5198 			found="yes"
   5199 		fi
   5200 	fi
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 xorg_testset_save_CFLAGS="$CFLAGS"
   5217 
   5218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5221 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5222 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 int i;
   5228 _ACEOF
   5229 if ac_fn_c_try_compile "$LINENO"; then :
   5230   xorg_cv_cc_flag_unknown_warning_option=yes
   5231 else
   5232   xorg_cv_cc_flag_unknown_warning_option=no
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5235 fi
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5237 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5239 	CFLAGS="$xorg_testset_save_CFLAGS"
   5240 fi
   5241 
   5242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5245 	fi
   5246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5248 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5249 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5250   $as_echo_n "(cached) " >&6
   5251 else
   5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5253 /* end confdefs.h.  */
   5254 int i;
   5255 _ACEOF
   5256 if ac_fn_c_try_compile "$LINENO"; then :
   5257   xorg_cv_cc_flag_unused_command_line_argument=yes
   5258 else
   5259   xorg_cv_cc_flag_unused_command_line_argument=no
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5262 fi
   5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5264 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5266 	CFLAGS="$xorg_testset_save_CFLAGS"
   5267 fi
   5268 
   5269 found="no"
   5270 
   5271 	if test $found = "no" ; then
   5272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5274 		fi
   5275 
   5276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5278 		fi
   5279 
   5280 		CFLAGS="$CFLAGS -Wformat=2"
   5281 
   5282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5283 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5284 		cacheid=xorg_cv_cc_flag__Wformat_2
   5285 		if eval \${$cacheid+:} false; then :
   5286   $as_echo_n "(cached) " >&6
   5287 else
   5288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5289 /* end confdefs.h.  */
   5290 int i;
   5291 int
   5292 main ()
   5293 {
   5294 
   5295   ;
   5296   return 0;
   5297 }
   5298 _ACEOF
   5299 if ac_fn_c_try_link "$LINENO"; then :
   5300   eval $cacheid=yes
   5301 else
   5302   eval $cacheid=no
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext \
   5305     conftest$ac_exeext conftest.$ac_ext
   5306 fi
   5307 
   5308 
   5309 		CFLAGS="$xorg_testset_save_CFLAGS"
   5310 
   5311 		eval supported=\$$cacheid
   5312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5313 $as_echo "$supported" >&6; }
   5314 		if test "$supported" = "yes" ; then
   5315 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5316 			found="yes"
   5317 		fi
   5318 	fi
   5319 
   5320 	if test $found = "no" ; then
   5321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 		fi
   5324 
   5325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 		fi
   5328 
   5329 		CFLAGS="$CFLAGS -Wformat"
   5330 
   5331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5332 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5333 		cacheid=xorg_cv_cc_flag__Wformat
   5334 		if eval \${$cacheid+:} false; then :
   5335   $as_echo_n "(cached) " >&6
   5336 else
   5337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5338 /* end confdefs.h.  */
   5339 int i;
   5340 int
   5341 main ()
   5342 {
   5343 
   5344   ;
   5345   return 0;
   5346 }
   5347 _ACEOF
   5348 if ac_fn_c_try_link "$LINENO"; then :
   5349   eval $cacheid=yes
   5350 else
   5351   eval $cacheid=no
   5352 fi
   5353 rm -f core conftest.err conftest.$ac_objext \
   5354     conftest$ac_exeext conftest.$ac_ext
   5355 fi
   5356 
   5357 
   5358 		CFLAGS="$xorg_testset_save_CFLAGS"
   5359 
   5360 		eval supported=\$$cacheid
   5361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5362 $as_echo "$supported" >&6; }
   5363 		if test "$supported" = "yes" ; then
   5364 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5365 			found="yes"
   5366 		fi
   5367 	fi
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 xorg_testset_save_CFLAGS="$CFLAGS"
   5386 
   5387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5390 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5391 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5392   $as_echo_n "(cached) " >&6
   5393 else
   5394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 _ACEOF
   5398 if ac_fn_c_try_compile "$LINENO"; then :
   5399   xorg_cv_cc_flag_unknown_warning_option=yes
   5400 else
   5401   xorg_cv_cc_flag_unknown_warning_option=no
   5402 fi
   5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5404 fi
   5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5406 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5408 	CFLAGS="$xorg_testset_save_CFLAGS"
   5409 fi
   5410 
   5411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5414 	fi
   5415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5417 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5418 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"; then :
   5426   xorg_cv_cc_flag_unused_command_line_argument=yes
   5427 else
   5428   xorg_cv_cc_flag_unused_command_line_argument=no
   5429 fi
   5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5431 fi
   5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5433 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5435 	CFLAGS="$xorg_testset_save_CFLAGS"
   5436 fi
   5437 
   5438 found="no"
   5439 
   5440 	if test $found = "no" ; then
   5441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5443 		fi
   5444 
   5445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5447 		fi
   5448 
   5449 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5450 
   5451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5452 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5453 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5454 		if eval \${$cacheid+:} false; then :
   5455   $as_echo_n "(cached) " >&6
   5456 else
   5457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5458 /* end confdefs.h.  */
   5459 int i;
   5460 int
   5461 main ()
   5462 {
   5463 
   5464   ;
   5465   return 0;
   5466 }
   5467 _ACEOF
   5468 if ac_fn_c_try_link "$LINENO"; then :
   5469   eval $cacheid=yes
   5470 else
   5471   eval $cacheid=no
   5472 fi
   5473 rm -f core conftest.err conftest.$ac_objext \
   5474     conftest$ac_exeext conftest.$ac_ext
   5475 fi
   5476 
   5477 
   5478 		CFLAGS="$xorg_testset_save_CFLAGS"
   5479 
   5480 		eval supported=\$$cacheid
   5481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5482 $as_echo "$supported" >&6; }
   5483 		if test "$supported" = "yes" ; then
   5484 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5485 			found="yes"
   5486 		fi
   5487 	fi
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 xorg_testset_save_CFLAGS="$CFLAGS"
   5504 
   5505 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5508 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5509 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5513 /* end confdefs.h.  */
   5514 int i;
   5515 _ACEOF
   5516 if ac_fn_c_try_compile "$LINENO"; then :
   5517   xorg_cv_cc_flag_unknown_warning_option=yes
   5518 else
   5519   xorg_cv_cc_flag_unknown_warning_option=no
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5522 fi
   5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5524 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5526 	CFLAGS="$xorg_testset_save_CFLAGS"
   5527 fi
   5528 
   5529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5532 	fi
   5533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5535 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5536 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5540 /* end confdefs.h.  */
   5541 int i;
   5542 _ACEOF
   5543 if ac_fn_c_try_compile "$LINENO"; then :
   5544   xorg_cv_cc_flag_unused_command_line_argument=yes
   5545 else
   5546   xorg_cv_cc_flag_unused_command_line_argument=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549 fi
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5551 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 found="no"
   5557 
   5558 	if test $found = "no" ; then
   5559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5561 		fi
   5562 
   5563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5565 		fi
   5566 
   5567 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5568 
   5569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5570 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5571 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5572 		if eval \${$cacheid+:} false; then :
   5573   $as_echo_n "(cached) " >&6
   5574 else
   5575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5576 /* end confdefs.h.  */
   5577 int i;
   5578 int
   5579 main ()
   5580 {
   5581 
   5582   ;
   5583   return 0;
   5584 }
   5585 _ACEOF
   5586 if ac_fn_c_try_link "$LINENO"; then :
   5587   eval $cacheid=yes
   5588 else
   5589   eval $cacheid=no
   5590 fi
   5591 rm -f core conftest.err conftest.$ac_objext \
   5592     conftest$ac_exeext conftest.$ac_ext
   5593 fi
   5594 
   5595 
   5596 		CFLAGS="$xorg_testset_save_CFLAGS"
   5597 
   5598 		eval supported=\$$cacheid
   5599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5600 $as_echo "$supported" >&6; }
   5601 		if test "$supported" = "yes" ; then
   5602 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5603 			found="yes"
   5604 		fi
   5605 	fi
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 xorg_testset_save_CFLAGS="$CFLAGS"
   5622 
   5623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 _ACEOF
   5634 if ac_fn_c_try_compile "$LINENO"; then :
   5635   xorg_cv_cc_flag_unknown_warning_option=yes
   5636 else
   5637   xorg_cv_cc_flag_unknown_warning_option=no
   5638 fi
   5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5640 fi
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5644 	CFLAGS="$xorg_testset_save_CFLAGS"
   5645 fi
   5646 
   5647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5650 	fi
   5651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5655   $as_echo_n "(cached) " >&6
   5656 else
   5657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5658 /* end confdefs.h.  */
   5659 int i;
   5660 _ACEOF
   5661 if ac_fn_c_try_compile "$LINENO"; then :
   5662   xorg_cv_cc_flag_unused_command_line_argument=yes
   5663 else
   5664   xorg_cv_cc_flag_unused_command_line_argument=no
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5667 fi
   5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5671 	CFLAGS="$xorg_testset_save_CFLAGS"
   5672 fi
   5673 
   5674 found="no"
   5675 
   5676 	if test $found = "no" ; then
   5677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5679 		fi
   5680 
   5681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5683 		fi
   5684 
   5685 		CFLAGS="$CFLAGS -Wnested-externs"
   5686 
   5687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5688 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5689 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5690 		if eval \${$cacheid+:} false; then :
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5694 /* end confdefs.h.  */
   5695 int i;
   5696 int
   5697 main ()
   5698 {
   5699 
   5700   ;
   5701   return 0;
   5702 }
   5703 _ACEOF
   5704 if ac_fn_c_try_link "$LINENO"; then :
   5705   eval $cacheid=yes
   5706 else
   5707   eval $cacheid=no
   5708 fi
   5709 rm -f core conftest.err conftest.$ac_objext \
   5710     conftest$ac_exeext conftest.$ac_ext
   5711 fi
   5712 
   5713 
   5714 		CFLAGS="$xorg_testset_save_CFLAGS"
   5715 
   5716 		eval supported=\$$cacheid
   5717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5718 $as_echo "$supported" >&6; }
   5719 		if test "$supported" = "yes" ; then
   5720 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5721 			found="yes"
   5722 		fi
   5723 	fi
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 xorg_testset_save_CFLAGS="$CFLAGS"
   5740 
   5741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 _ACEOF
   5752 if ac_fn_c_try_compile "$LINENO"; then :
   5753   xorg_cv_cc_flag_unknown_warning_option=yes
   5754 else
   5755   xorg_cv_cc_flag_unknown_warning_option=no
   5756 fi
   5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5758 fi
   5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5762 	CFLAGS="$xorg_testset_save_CFLAGS"
   5763 fi
   5764 
   5765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5768 	fi
   5769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 _ACEOF
   5779 if ac_fn_c_try_compile "$LINENO"; then :
   5780   xorg_cv_cc_flag_unused_command_line_argument=yes
   5781 else
   5782   xorg_cv_cc_flag_unused_command_line_argument=no
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5785 fi
   5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5789 	CFLAGS="$xorg_testset_save_CFLAGS"
   5790 fi
   5791 
   5792 found="no"
   5793 
   5794 	if test $found = "no" ; then
   5795 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5797 		fi
   5798 
   5799 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5801 		fi
   5802 
   5803 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5804 
   5805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5806 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5807 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5808 		if eval \${$cacheid+:} false; then :
   5809   $as_echo_n "(cached) " >&6
   5810 else
   5811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5812 /* end confdefs.h.  */
   5813 int i;
   5814 int
   5815 main ()
   5816 {
   5817 
   5818   ;
   5819   return 0;
   5820 }
   5821 _ACEOF
   5822 if ac_fn_c_try_link "$LINENO"; then :
   5823   eval $cacheid=yes
   5824 else
   5825   eval $cacheid=no
   5826 fi
   5827 rm -f core conftest.err conftest.$ac_objext \
   5828     conftest$ac_exeext conftest.$ac_ext
   5829 fi
   5830 
   5831 
   5832 		CFLAGS="$xorg_testset_save_CFLAGS"
   5833 
   5834 		eval supported=\$$cacheid
   5835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5836 $as_echo "$supported" >&6; }
   5837 		if test "$supported" = "yes" ; then
   5838 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5839 			found="yes"
   5840 		fi
   5841 	fi
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 xorg_testset_save_CFLAGS="$CFLAGS"
   5858 
   5859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5862 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5863 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 _ACEOF
   5870 if ac_fn_c_try_compile "$LINENO"; then :
   5871   xorg_cv_cc_flag_unknown_warning_option=yes
   5872 else
   5873   xorg_cv_cc_flag_unknown_warning_option=no
   5874 fi
   5875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5876 fi
   5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5878 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5880 	CFLAGS="$xorg_testset_save_CFLAGS"
   5881 fi
   5882 
   5883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5886 	fi
   5887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5889 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5890 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5891   $as_echo_n "(cached) " >&6
   5892 else
   5893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5894 /* end confdefs.h.  */
   5895 int i;
   5896 _ACEOF
   5897 if ac_fn_c_try_compile "$LINENO"; then :
   5898   xorg_cv_cc_flag_unused_command_line_argument=yes
   5899 else
   5900   xorg_cv_cc_flag_unused_command_line_argument=no
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5903 fi
   5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5905 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5907 	CFLAGS="$xorg_testset_save_CFLAGS"
   5908 fi
   5909 
   5910 found="no"
   5911 
   5912 	if test $found = "no" ; then
   5913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5915 		fi
   5916 
   5917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 		fi
   5920 
   5921 		CFLAGS="$CFLAGS -Wold-style-definition"
   5922 
   5923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5924 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5925 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5926 		if eval \${$cacheid+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 int
   5933 main ()
   5934 {
   5935 
   5936   ;
   5937   return 0;
   5938 }
   5939 _ACEOF
   5940 if ac_fn_c_try_link "$LINENO"; then :
   5941   eval $cacheid=yes
   5942 else
   5943   eval $cacheid=no
   5944 fi
   5945 rm -f core conftest.err conftest.$ac_objext \
   5946     conftest$ac_exeext conftest.$ac_ext
   5947 fi
   5948 
   5949 
   5950 		CFLAGS="$xorg_testset_save_CFLAGS"
   5951 
   5952 		eval supported=\$$cacheid
   5953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5954 $as_echo "$supported" >&6; }
   5955 		if test "$supported" = "yes" ; then
   5956 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5957 			found="yes"
   5958 		fi
   5959 	fi
   5960 
   5961 	if test $found = "no" ; then
   5962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 		fi
   5965 
   5966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5968 		fi
   5969 
   5970 		CFLAGS="$CFLAGS -fd"
   5971 
   5972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5973 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5974 		cacheid=xorg_cv_cc_flag__fd
   5975 		if eval \${$cacheid+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 int
   5982 main ()
   5983 {
   5984 
   5985   ;
   5986   return 0;
   5987 }
   5988 _ACEOF
   5989 if ac_fn_c_try_link "$LINENO"; then :
   5990   eval $cacheid=yes
   5991 else
   5992   eval $cacheid=no
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext \
   5995     conftest$ac_exeext conftest.$ac_ext
   5996 fi
   5997 
   5998 
   5999 		CFLAGS="$xorg_testset_save_CFLAGS"
   6000 
   6001 		eval supported=\$$cacheid
   6002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 $as_echo "$supported" >&6; }
   6004 		if test "$supported" = "yes" ; then
   6005 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6006 			found="yes"
   6007 		fi
   6008 	fi
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 xorg_testset_save_CFLAGS="$CFLAGS"
   6025 
   6026 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6029 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6030 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 _ACEOF
   6037 if ac_fn_c_try_compile "$LINENO"; then :
   6038   xorg_cv_cc_flag_unknown_warning_option=yes
   6039 else
   6040   xorg_cv_cc_flag_unknown_warning_option=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6043 fi
   6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6045 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6046 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6047 	CFLAGS="$xorg_testset_save_CFLAGS"
   6048 fi
   6049 
   6050 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6051 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6053 	fi
   6054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6056 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6057 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6061 /* end confdefs.h.  */
   6062 int i;
   6063 _ACEOF
   6064 if ac_fn_c_try_compile "$LINENO"; then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else
   6067   xorg_cv_cc_flag_unused_command_line_argument=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6070 fi
   6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6072 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6074 	CFLAGS="$xorg_testset_save_CFLAGS"
   6075 fi
   6076 
   6077 found="no"
   6078 
   6079 	if test $found = "no" ; then
   6080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 		fi
   6083 
   6084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6086 		fi
   6087 
   6088 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6089 
   6090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6091 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6092 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6093 		if eval \${$cacheid+:} false; then :
   6094   $as_echo_n "(cached) " >&6
   6095 else
   6096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6097 /* end confdefs.h.  */
   6098 int i;
   6099 int
   6100 main ()
   6101 {
   6102 
   6103   ;
   6104   return 0;
   6105 }
   6106 _ACEOF
   6107 if ac_fn_c_try_link "$LINENO"; then :
   6108   eval $cacheid=yes
   6109 else
   6110   eval $cacheid=no
   6111 fi
   6112 rm -f core conftest.err conftest.$ac_objext \
   6113     conftest$ac_exeext conftest.$ac_ext
   6114 fi
   6115 
   6116 
   6117 		CFLAGS="$xorg_testset_save_CFLAGS"
   6118 
   6119 		eval supported=\$$cacheid
   6120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6121 $as_echo "$supported" >&6; }
   6122 		if test "$supported" = "yes" ; then
   6123 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6124 			found="yes"
   6125 		fi
   6126 	fi
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 # This chunk adds additional warnings that could catch undesired effects.
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 xorg_testset_save_CFLAGS="$CFLAGS"
   6147 
   6148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 _ACEOF
   6159 if ac_fn_c_try_compile "$LINENO"; then :
   6160   xorg_cv_cc_flag_unknown_warning_option=yes
   6161 else
   6162   xorg_cv_cc_flag_unknown_warning_option=no
   6163 fi
   6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6165 fi
   6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6169 	CFLAGS="$xorg_testset_save_CFLAGS"
   6170 fi
   6171 
   6172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6175 	fi
   6176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 int i;
   6185 _ACEOF
   6186 if ac_fn_c_try_compile "$LINENO"; then :
   6187   xorg_cv_cc_flag_unused_command_line_argument=yes
   6188 else
   6189   xorg_cv_cc_flag_unused_command_line_argument=no
   6190 fi
   6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6192 fi
   6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6196 	CFLAGS="$xorg_testset_save_CFLAGS"
   6197 fi
   6198 
   6199 found="no"
   6200 
   6201 	if test $found = "no" ; then
   6202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6204 		fi
   6205 
   6206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6208 		fi
   6209 
   6210 		CFLAGS="$CFLAGS -Wunused"
   6211 
   6212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6213 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6214 		cacheid=xorg_cv_cc_flag__Wunused
   6215 		if eval \${$cacheid+:} false; then :
   6216   $as_echo_n "(cached) " >&6
   6217 else
   6218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 int
   6222 main ()
   6223 {
   6224 
   6225   ;
   6226   return 0;
   6227 }
   6228 _ACEOF
   6229 if ac_fn_c_try_link "$LINENO"; then :
   6230   eval $cacheid=yes
   6231 else
   6232   eval $cacheid=no
   6233 fi
   6234 rm -f core conftest.err conftest.$ac_objext \
   6235     conftest$ac_exeext conftest.$ac_ext
   6236 fi
   6237 
   6238 
   6239 		CFLAGS="$xorg_testset_save_CFLAGS"
   6240 
   6241 		eval supported=\$$cacheid
   6242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6243 $as_echo "$supported" >&6; }
   6244 		if test "$supported" = "yes" ; then
   6245 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6246 			found="yes"
   6247 		fi
   6248 	fi
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 xorg_testset_save_CFLAGS="$CFLAGS"
   6265 
   6266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6271   $as_echo_n "(cached) " >&6
   6272 else
   6273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6274 /* end confdefs.h.  */
   6275 int i;
   6276 _ACEOF
   6277 if ac_fn_c_try_compile "$LINENO"; then :
   6278   xorg_cv_cc_flag_unknown_warning_option=yes
   6279 else
   6280   xorg_cv_cc_flag_unknown_warning_option=no
   6281 fi
   6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6283 fi
   6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6287 	CFLAGS="$xorg_testset_save_CFLAGS"
   6288 fi
   6289 
   6290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6293 	fi
   6294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6298   $as_echo_n "(cached) " >&6
   6299 else
   6300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6301 /* end confdefs.h.  */
   6302 int i;
   6303 _ACEOF
   6304 if ac_fn_c_try_compile "$LINENO"; then :
   6305   xorg_cv_cc_flag_unused_command_line_argument=yes
   6306 else
   6307   xorg_cv_cc_flag_unused_command_line_argument=no
   6308 fi
   6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6310 fi
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6314 	CFLAGS="$xorg_testset_save_CFLAGS"
   6315 fi
   6316 
   6317 found="no"
   6318 
   6319 	if test $found = "no" ; then
   6320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6322 		fi
   6323 
   6324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6326 		fi
   6327 
   6328 		CFLAGS="$CFLAGS -Wuninitialized"
   6329 
   6330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6331 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6332 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6333 		if eval \${$cacheid+:} false; then :
   6334   $as_echo_n "(cached) " >&6
   6335 else
   6336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6337 /* end confdefs.h.  */
   6338 int i;
   6339 int
   6340 main ()
   6341 {
   6342 
   6343   ;
   6344   return 0;
   6345 }
   6346 _ACEOF
   6347 if ac_fn_c_try_link "$LINENO"; then :
   6348   eval $cacheid=yes
   6349 else
   6350   eval $cacheid=no
   6351 fi
   6352 rm -f core conftest.err conftest.$ac_objext \
   6353     conftest$ac_exeext conftest.$ac_ext
   6354 fi
   6355 
   6356 
   6357 		CFLAGS="$xorg_testset_save_CFLAGS"
   6358 
   6359 		eval supported=\$$cacheid
   6360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6361 $as_echo "$supported" >&6; }
   6362 		if test "$supported" = "yes" ; then
   6363 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6364 			found="yes"
   6365 		fi
   6366 	fi
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 xorg_testset_save_CFLAGS="$CFLAGS"
   6383 
   6384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 _ACEOF
   6395 if ac_fn_c_try_compile "$LINENO"; then :
   6396   xorg_cv_cc_flag_unknown_warning_option=yes
   6397 else
   6398   xorg_cv_cc_flag_unknown_warning_option=no
   6399 fi
   6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6401 fi
   6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6405 	CFLAGS="$xorg_testset_save_CFLAGS"
   6406 fi
   6407 
   6408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6411 	fi
   6412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6416   $as_echo_n "(cached) " >&6
   6417 else
   6418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 _ACEOF
   6422 if ac_fn_c_try_compile "$LINENO"; then :
   6423   xorg_cv_cc_flag_unused_command_line_argument=yes
   6424 else
   6425   xorg_cv_cc_flag_unused_command_line_argument=no
   6426 fi
   6427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6428 fi
   6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6432 	CFLAGS="$xorg_testset_save_CFLAGS"
   6433 fi
   6434 
   6435 found="no"
   6436 
   6437 	if test $found = "no" ; then
   6438 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6440 		fi
   6441 
   6442 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6444 		fi
   6445 
   6446 		CFLAGS="$CFLAGS -Wshadow"
   6447 
   6448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6449 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6450 		cacheid=xorg_cv_cc_flag__Wshadow
   6451 		if eval \${$cacheid+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 int
   6458 main ()
   6459 {
   6460 
   6461   ;
   6462   return 0;
   6463 }
   6464 _ACEOF
   6465 if ac_fn_c_try_link "$LINENO"; then :
   6466   eval $cacheid=yes
   6467 else
   6468   eval $cacheid=no
   6469 fi
   6470 rm -f core conftest.err conftest.$ac_objext \
   6471     conftest$ac_exeext conftest.$ac_ext
   6472 fi
   6473 
   6474 
   6475 		CFLAGS="$xorg_testset_save_CFLAGS"
   6476 
   6477 		eval supported=\$$cacheid
   6478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6479 $as_echo "$supported" >&6; }
   6480 		if test "$supported" = "yes" ; then
   6481 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6482 			found="yes"
   6483 		fi
   6484 	fi
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 xorg_testset_save_CFLAGS="$CFLAGS"
   6501 
   6502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 _ACEOF
   6513 if ac_fn_c_try_compile "$LINENO"; then :
   6514   xorg_cv_cc_flag_unknown_warning_option=yes
   6515 else
   6516   xorg_cv_cc_flag_unknown_warning_option=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6519 fi
   6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6529 	fi
   6530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6534   $as_echo_n "(cached) " >&6
   6535 else
   6536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6537 /* end confdefs.h.  */
   6538 int i;
   6539 _ACEOF
   6540 if ac_fn_c_try_compile "$LINENO"; then :
   6541   xorg_cv_cc_flag_unused_command_line_argument=yes
   6542 else
   6543   xorg_cv_cc_flag_unused_command_line_argument=no
   6544 fi
   6545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6546 fi
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6550 	CFLAGS="$xorg_testset_save_CFLAGS"
   6551 fi
   6552 
   6553 found="no"
   6554 
   6555 	if test $found = "no" ; then
   6556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6558 		fi
   6559 
   6560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6562 		fi
   6563 
   6564 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6565 
   6566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6567 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6568 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6569 		if eval \${$cacheid+:} false; then :
   6570   $as_echo_n "(cached) " >&6
   6571 else
   6572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 int
   6576 main ()
   6577 {
   6578 
   6579   ;
   6580   return 0;
   6581 }
   6582 _ACEOF
   6583 if ac_fn_c_try_link "$LINENO"; then :
   6584   eval $cacheid=yes
   6585 else
   6586   eval $cacheid=no
   6587 fi
   6588 rm -f core conftest.err conftest.$ac_objext \
   6589     conftest$ac_exeext conftest.$ac_ext
   6590 fi
   6591 
   6592 
   6593 		CFLAGS="$xorg_testset_save_CFLAGS"
   6594 
   6595 		eval supported=\$$cacheid
   6596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6597 $as_echo "$supported" >&6; }
   6598 		if test "$supported" = "yes" ; then
   6599 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6600 			found="yes"
   6601 		fi
   6602 	fi
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 xorg_testset_save_CFLAGS="$CFLAGS"
   6619 
   6620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 _ACEOF
   6631 if ac_fn_c_try_compile "$LINENO"; then :
   6632   xorg_cv_cc_flag_unknown_warning_option=yes
   6633 else
   6634   xorg_cv_cc_flag_unknown_warning_option=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6637 fi
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6641 	CFLAGS="$xorg_testset_save_CFLAGS"
   6642 fi
   6643 
   6644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6647 	fi
   6648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6652   $as_echo_n "(cached) " >&6
   6653 else
   6654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 int i;
   6657 _ACEOF
   6658 if ac_fn_c_try_compile "$LINENO"; then :
   6659   xorg_cv_cc_flag_unused_command_line_argument=yes
   6660 else
   6661   xorg_cv_cc_flag_unused_command_line_argument=no
   6662 fi
   6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6664 fi
   6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6668 	CFLAGS="$xorg_testset_save_CFLAGS"
   6669 fi
   6670 
   6671 found="no"
   6672 
   6673 	if test $found = "no" ; then
   6674 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6676 		fi
   6677 
   6678 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6680 		fi
   6681 
   6682 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6683 
   6684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6685 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6686 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6687 		if eval \${$cacheid+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6691 /* end confdefs.h.  */
   6692 int i;
   6693 int
   6694 main ()
   6695 {
   6696 
   6697   ;
   6698   return 0;
   6699 }
   6700 _ACEOF
   6701 if ac_fn_c_try_link "$LINENO"; then :
   6702   eval $cacheid=yes
   6703 else
   6704   eval $cacheid=no
   6705 fi
   6706 rm -f core conftest.err conftest.$ac_objext \
   6707     conftest$ac_exeext conftest.$ac_ext
   6708 fi
   6709 
   6710 
   6711 		CFLAGS="$xorg_testset_save_CFLAGS"
   6712 
   6713 		eval supported=\$$cacheid
   6714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6715 $as_echo "$supported" >&6; }
   6716 		if test "$supported" = "yes" ; then
   6717 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6718 			found="yes"
   6719 		fi
   6720 	fi
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 xorg_testset_save_CFLAGS="$CFLAGS"
   6737 
   6738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 _ACEOF
   6749 if ac_fn_c_try_compile "$LINENO"; then :
   6750   xorg_cv_cc_flag_unknown_warning_option=yes
   6751 else
   6752   xorg_cv_cc_flag_unknown_warning_option=no
   6753 fi
   6754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6755 fi
   6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6759 	CFLAGS="$xorg_testset_save_CFLAGS"
   6760 fi
   6761 
   6762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6765 	fi
   6766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6770   $as_echo_n "(cached) " >&6
   6771 else
   6772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 int i;
   6775 _ACEOF
   6776 if ac_fn_c_try_compile "$LINENO"; then :
   6777   xorg_cv_cc_flag_unused_command_line_argument=yes
   6778 else
   6779   xorg_cv_cc_flag_unused_command_line_argument=no
   6780 fi
   6781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6782 fi
   6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6786 	CFLAGS="$xorg_testset_save_CFLAGS"
   6787 fi
   6788 
   6789 found="no"
   6790 
   6791 	if test $found = "no" ; then
   6792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6794 		fi
   6795 
   6796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6798 		fi
   6799 
   6800 		CFLAGS="$CFLAGS -Wredundant-decls"
   6801 
   6802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6803 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6804 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6805 		if eval \${$cacheid+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6809 /* end confdefs.h.  */
   6810 int i;
   6811 int
   6812 main ()
   6813 {
   6814 
   6815   ;
   6816   return 0;
   6817 }
   6818 _ACEOF
   6819 if ac_fn_c_try_link "$LINENO"; then :
   6820   eval $cacheid=yes
   6821 else
   6822   eval $cacheid=no
   6823 fi
   6824 rm -f core conftest.err conftest.$ac_objext \
   6825     conftest$ac_exeext conftest.$ac_ext
   6826 fi
   6827 
   6828 
   6829 		CFLAGS="$xorg_testset_save_CFLAGS"
   6830 
   6831 		eval supported=\$$cacheid
   6832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6833 $as_echo "$supported" >&6; }
   6834 		if test "$supported" = "yes" ; then
   6835 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6836 			found="yes"
   6837 		fi
   6838 	fi
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 xorg_testset_save_CFLAGS="$CFLAGS"
   6855 
   6856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 _ACEOF
   6867 if ac_fn_c_try_compile "$LINENO"; then :
   6868   xorg_cv_cc_flag_unknown_warning_option=yes
   6869 else
   6870   xorg_cv_cc_flag_unknown_warning_option=no
   6871 fi
   6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6873 fi
   6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6877 	CFLAGS="$xorg_testset_save_CFLAGS"
   6878 fi
   6879 
   6880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6883 	fi
   6884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6888   $as_echo_n "(cached) " >&6
   6889 else
   6890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6891 /* end confdefs.h.  */
   6892 int i;
   6893 _ACEOF
   6894 if ac_fn_c_try_compile "$LINENO"; then :
   6895   xorg_cv_cc_flag_unused_command_line_argument=yes
   6896 else
   6897   xorg_cv_cc_flag_unused_command_line_argument=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6900 fi
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6904 	CFLAGS="$xorg_testset_save_CFLAGS"
   6905 fi
   6906 
   6907 found="no"
   6908 
   6909 	if test $found = "no" ; then
   6910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6912 		fi
   6913 
   6914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6916 		fi
   6917 
   6918 		CFLAGS="$CFLAGS -Wlogical-op"
   6919 
   6920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6921 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6922 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6923 		if eval \${$cacheid+:} false; then :
   6924   $as_echo_n "(cached) " >&6
   6925 else
   6926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6927 /* end confdefs.h.  */
   6928 int i;
   6929 int
   6930 main ()
   6931 {
   6932 
   6933   ;
   6934   return 0;
   6935 }
   6936 _ACEOF
   6937 if ac_fn_c_try_link "$LINENO"; then :
   6938   eval $cacheid=yes
   6939 else
   6940   eval $cacheid=no
   6941 fi
   6942 rm -f core conftest.err conftest.$ac_objext \
   6943     conftest$ac_exeext conftest.$ac_ext
   6944 fi
   6945 
   6946 
   6947 		CFLAGS="$xorg_testset_save_CFLAGS"
   6948 
   6949 		eval supported=\$$cacheid
   6950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6951 $as_echo "$supported" >&6; }
   6952 		if test "$supported" = "yes" ; then
   6953 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6954 			found="yes"
   6955 		fi
   6956 	fi
   6957 
   6958 
   6959 
   6960 # These are currently disabled because they are noisy.  They will be enabled
   6961 # in the future once the codebase is sufficiently modernized to silence
   6962 # them.  For now, I don't want them to drown out the other warnings.
   6963 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6964 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6965 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6966 
   6967 # Turn some warnings into errors, so we don't accidently get successful builds
   6968 # when there are problems that should be fixed.
   6969 
   6970 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 xorg_testset_save_CFLAGS="$CFLAGS"
   6985 
   6986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6989 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6990 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6991   $as_echo_n "(cached) " >&6
   6992 else
   6993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 _ACEOF
   6997 if ac_fn_c_try_compile "$LINENO"; then :
   6998   xorg_cv_cc_flag_unknown_warning_option=yes
   6999 else
   7000   xorg_cv_cc_flag_unknown_warning_option=no
   7001 fi
   7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7003 fi
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7005 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7007 	CFLAGS="$xorg_testset_save_CFLAGS"
   7008 fi
   7009 
   7010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7013 	fi
   7014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7016 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7017 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 int i;
   7023 _ACEOF
   7024 if ac_fn_c_try_compile "$LINENO"; then :
   7025   xorg_cv_cc_flag_unused_command_line_argument=yes
   7026 else
   7027   xorg_cv_cc_flag_unused_command_line_argument=no
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7032 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7034 	CFLAGS="$xorg_testset_save_CFLAGS"
   7035 fi
   7036 
   7037 found="no"
   7038 
   7039 	if test $found = "no" ; then
   7040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7042 		fi
   7043 
   7044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7046 		fi
   7047 
   7048 		CFLAGS="$CFLAGS -Werror=implicit"
   7049 
   7050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7051 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7052 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7053 		if eval \${$cacheid+:} false; then :
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7057 /* end confdefs.h.  */
   7058 int i;
   7059 int
   7060 main ()
   7061 {
   7062 
   7063   ;
   7064   return 0;
   7065 }
   7066 _ACEOF
   7067 if ac_fn_c_try_link "$LINENO"; then :
   7068   eval $cacheid=yes
   7069 else
   7070   eval $cacheid=no
   7071 fi
   7072 rm -f core conftest.err conftest.$ac_objext \
   7073     conftest$ac_exeext conftest.$ac_ext
   7074 fi
   7075 
   7076 
   7077 		CFLAGS="$xorg_testset_save_CFLAGS"
   7078 
   7079 		eval supported=\$$cacheid
   7080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7081 $as_echo "$supported" >&6; }
   7082 		if test "$supported" = "yes" ; then
   7083 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7084 			found="yes"
   7085 		fi
   7086 	fi
   7087 
   7088 	if test $found = "no" ; then
   7089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7091 		fi
   7092 
   7093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7095 		fi
   7096 
   7097 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7098 
   7099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7100 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7101 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7102 		if eval \${$cacheid+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 int
   7109 main ()
   7110 {
   7111 
   7112   ;
   7113   return 0;
   7114 }
   7115 _ACEOF
   7116 if ac_fn_c_try_link "$LINENO"; then :
   7117   eval $cacheid=yes
   7118 else
   7119   eval $cacheid=no
   7120 fi
   7121 rm -f core conftest.err conftest.$ac_objext \
   7122     conftest$ac_exeext conftest.$ac_ext
   7123 fi
   7124 
   7125 
   7126 		CFLAGS="$xorg_testset_save_CFLAGS"
   7127 
   7128 		eval supported=\$$cacheid
   7129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7130 $as_echo "$supported" >&6; }
   7131 		if test "$supported" = "yes" ; then
   7132 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7133 			found="yes"
   7134 		fi
   7135 	fi
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 xorg_testset_save_CFLAGS="$CFLAGS"
   7152 
   7153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7161 /* end confdefs.h.  */
   7162 int i;
   7163 _ACEOF
   7164 if ac_fn_c_try_compile "$LINENO"; then :
   7165   xorg_cv_cc_flag_unknown_warning_option=yes
   7166 else
   7167   xorg_cv_cc_flag_unknown_warning_option=no
   7168 fi
   7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7170 fi
   7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7174 	CFLAGS="$xorg_testset_save_CFLAGS"
   7175 fi
   7176 
   7177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7180 	fi
   7181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7185   $as_echo_n "(cached) " >&6
   7186 else
   7187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7188 /* end confdefs.h.  */
   7189 int i;
   7190 _ACEOF
   7191 if ac_fn_c_try_compile "$LINENO"; then :
   7192   xorg_cv_cc_flag_unused_command_line_argument=yes
   7193 else
   7194   xorg_cv_cc_flag_unused_command_line_argument=no
   7195 fi
   7196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7197 fi
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7201 	CFLAGS="$xorg_testset_save_CFLAGS"
   7202 fi
   7203 
   7204 found="no"
   7205 
   7206 	if test $found = "no" ; then
   7207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7209 		fi
   7210 
   7211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7213 		fi
   7214 
   7215 		CFLAGS="$CFLAGS -Werror=nonnull"
   7216 
   7217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7218 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7219 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7220 		if eval \${$cacheid+:} false; then :
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 int
   7227 main ()
   7228 {
   7229 
   7230   ;
   7231   return 0;
   7232 }
   7233 _ACEOF
   7234 if ac_fn_c_try_link "$LINENO"; then :
   7235   eval $cacheid=yes
   7236 else
   7237   eval $cacheid=no
   7238 fi
   7239 rm -f core conftest.err conftest.$ac_objext \
   7240     conftest$ac_exeext conftest.$ac_ext
   7241 fi
   7242 
   7243 
   7244 		CFLAGS="$xorg_testset_save_CFLAGS"
   7245 
   7246 		eval supported=\$$cacheid
   7247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7248 $as_echo "$supported" >&6; }
   7249 		if test "$supported" = "yes" ; then
   7250 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7251 			found="yes"
   7252 		fi
   7253 	fi
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 xorg_testset_save_CFLAGS="$CFLAGS"
   7270 
   7271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7279 /* end confdefs.h.  */
   7280 int i;
   7281 _ACEOF
   7282 if ac_fn_c_try_compile "$LINENO"; then :
   7283   xorg_cv_cc_flag_unknown_warning_option=yes
   7284 else
   7285   xorg_cv_cc_flag_unknown_warning_option=no
   7286 fi
   7287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7288 fi
   7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7292 	CFLAGS="$xorg_testset_save_CFLAGS"
   7293 fi
   7294 
   7295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7298 	fi
   7299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7303   $as_echo_n "(cached) " >&6
   7304 else
   7305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7306 /* end confdefs.h.  */
   7307 int i;
   7308 _ACEOF
   7309 if ac_fn_c_try_compile "$LINENO"; then :
   7310   xorg_cv_cc_flag_unused_command_line_argument=yes
   7311 else
   7312   xorg_cv_cc_flag_unused_command_line_argument=no
   7313 fi
   7314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7315 fi
   7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7319 	CFLAGS="$xorg_testset_save_CFLAGS"
   7320 fi
   7321 
   7322 found="no"
   7323 
   7324 	if test $found = "no" ; then
   7325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7327 		fi
   7328 
   7329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7331 		fi
   7332 
   7333 		CFLAGS="$CFLAGS -Werror=init-self"
   7334 
   7335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7336 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7337 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7338 		if eval \${$cacheid+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 int
   7345 main ()
   7346 {
   7347 
   7348   ;
   7349   return 0;
   7350 }
   7351 _ACEOF
   7352 if ac_fn_c_try_link "$LINENO"; then :
   7353   eval $cacheid=yes
   7354 else
   7355   eval $cacheid=no
   7356 fi
   7357 rm -f core conftest.err conftest.$ac_objext \
   7358     conftest$ac_exeext conftest.$ac_ext
   7359 fi
   7360 
   7361 
   7362 		CFLAGS="$xorg_testset_save_CFLAGS"
   7363 
   7364 		eval supported=\$$cacheid
   7365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7366 $as_echo "$supported" >&6; }
   7367 		if test "$supported" = "yes" ; then
   7368 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7369 			found="yes"
   7370 		fi
   7371 	fi
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 xorg_testset_save_CFLAGS="$CFLAGS"
   7388 
   7389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7394   $as_echo_n "(cached) " >&6
   7395 else
   7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7397 /* end confdefs.h.  */
   7398 int i;
   7399 _ACEOF
   7400 if ac_fn_c_try_compile "$LINENO"; then :
   7401   xorg_cv_cc_flag_unknown_warning_option=yes
   7402 else
   7403   xorg_cv_cc_flag_unknown_warning_option=no
   7404 fi
   7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7410 	CFLAGS="$xorg_testset_save_CFLAGS"
   7411 fi
   7412 
   7413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7416 	fi
   7417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7421   $as_echo_n "(cached) " >&6
   7422 else
   7423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7424 /* end confdefs.h.  */
   7425 int i;
   7426 _ACEOF
   7427 if ac_fn_c_try_compile "$LINENO"; then :
   7428   xorg_cv_cc_flag_unused_command_line_argument=yes
   7429 else
   7430   xorg_cv_cc_flag_unused_command_line_argument=no
   7431 fi
   7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7433 fi
   7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7437 	CFLAGS="$xorg_testset_save_CFLAGS"
   7438 fi
   7439 
   7440 found="no"
   7441 
   7442 	if test $found = "no" ; then
   7443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7445 		fi
   7446 
   7447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7449 		fi
   7450 
   7451 		CFLAGS="$CFLAGS -Werror=main"
   7452 
   7453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7454 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7455 		cacheid=xorg_cv_cc_flag__Werror_main
   7456 		if eval \${$cacheid+:} false; then :
   7457   $as_echo_n "(cached) " >&6
   7458 else
   7459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7460 /* end confdefs.h.  */
   7461 int i;
   7462 int
   7463 main ()
   7464 {
   7465 
   7466   ;
   7467   return 0;
   7468 }
   7469 _ACEOF
   7470 if ac_fn_c_try_link "$LINENO"; then :
   7471   eval $cacheid=yes
   7472 else
   7473   eval $cacheid=no
   7474 fi
   7475 rm -f core conftest.err conftest.$ac_objext \
   7476     conftest$ac_exeext conftest.$ac_ext
   7477 fi
   7478 
   7479 
   7480 		CFLAGS="$xorg_testset_save_CFLAGS"
   7481 
   7482 		eval supported=\$$cacheid
   7483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7484 $as_echo "$supported" >&6; }
   7485 		if test "$supported" = "yes" ; then
   7486 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7487 			found="yes"
   7488 		fi
   7489 	fi
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 xorg_testset_save_CFLAGS="$CFLAGS"
   7506 
   7507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7510 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7511 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 _ACEOF
   7518 if ac_fn_c_try_compile "$LINENO"; then :
   7519   xorg_cv_cc_flag_unknown_warning_option=yes
   7520 else
   7521   xorg_cv_cc_flag_unknown_warning_option=no
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7524 fi
   7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7526 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7528 	CFLAGS="$xorg_testset_save_CFLAGS"
   7529 fi
   7530 
   7531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7534 	fi
   7535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7537 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7538 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7539   $as_echo_n "(cached) " >&6
   7540 else
   7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7542 /* end confdefs.h.  */
   7543 int i;
   7544 _ACEOF
   7545 if ac_fn_c_try_compile "$LINENO"; then :
   7546   xorg_cv_cc_flag_unused_command_line_argument=yes
   7547 else
   7548   xorg_cv_cc_flag_unused_command_line_argument=no
   7549 fi
   7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7551 fi
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7553 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7555 	CFLAGS="$xorg_testset_save_CFLAGS"
   7556 fi
   7557 
   7558 found="no"
   7559 
   7560 	if test $found = "no" ; then
   7561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7563 		fi
   7564 
   7565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7567 		fi
   7568 
   7569 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7570 
   7571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7572 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7573 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7574 		if eval \${$cacheid+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7578 /* end confdefs.h.  */
   7579 int i;
   7580 int
   7581 main ()
   7582 {
   7583 
   7584   ;
   7585   return 0;
   7586 }
   7587 _ACEOF
   7588 if ac_fn_c_try_link "$LINENO"; then :
   7589   eval $cacheid=yes
   7590 else
   7591   eval $cacheid=no
   7592 fi
   7593 rm -f core conftest.err conftest.$ac_objext \
   7594     conftest$ac_exeext conftest.$ac_ext
   7595 fi
   7596 
   7597 
   7598 		CFLAGS="$xorg_testset_save_CFLAGS"
   7599 
   7600 		eval supported=\$$cacheid
   7601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7602 $as_echo "$supported" >&6; }
   7603 		if test "$supported" = "yes" ; then
   7604 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7605 			found="yes"
   7606 		fi
   7607 	fi
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 xorg_testset_save_CFLAGS="$CFLAGS"
   7624 
   7625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 _ACEOF
   7636 if ac_fn_c_try_compile "$LINENO"; then :
   7637   xorg_cv_cc_flag_unknown_warning_option=yes
   7638 else
   7639   xorg_cv_cc_flag_unknown_warning_option=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7642 fi
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7652 	fi
   7653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 _ACEOF
   7663 if ac_fn_c_try_compile "$LINENO"; then :
   7664   xorg_cv_cc_flag_unused_command_line_argument=yes
   7665 else
   7666   xorg_cv_cc_flag_unused_command_line_argument=no
   7667 fi
   7668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7669 fi
   7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7673 	CFLAGS="$xorg_testset_save_CFLAGS"
   7674 fi
   7675 
   7676 found="no"
   7677 
   7678 	if test $found = "no" ; then
   7679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7681 		fi
   7682 
   7683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7685 		fi
   7686 
   7687 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7688 
   7689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7690 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7691 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7692 		if eval \${$cacheid+:} false; then :
   7693   $as_echo_n "(cached) " >&6
   7694 else
   7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7696 /* end confdefs.h.  */
   7697 int i;
   7698 int
   7699 main ()
   7700 {
   7701 
   7702   ;
   7703   return 0;
   7704 }
   7705 _ACEOF
   7706 if ac_fn_c_try_link "$LINENO"; then :
   7707   eval $cacheid=yes
   7708 else
   7709   eval $cacheid=no
   7710 fi
   7711 rm -f core conftest.err conftest.$ac_objext \
   7712     conftest$ac_exeext conftest.$ac_ext
   7713 fi
   7714 
   7715 
   7716 		CFLAGS="$xorg_testset_save_CFLAGS"
   7717 
   7718 		eval supported=\$$cacheid
   7719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7720 $as_echo "$supported" >&6; }
   7721 		if test "$supported" = "yes" ; then
   7722 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7723 			found="yes"
   7724 		fi
   7725 	fi
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 xorg_testset_save_CFLAGS="$CFLAGS"
   7742 
   7743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 _ACEOF
   7754 if ac_fn_c_try_compile "$LINENO"; then :
   7755   xorg_cv_cc_flag_unknown_warning_option=yes
   7756 else
   7757   xorg_cv_cc_flag_unknown_warning_option=no
   7758 fi
   7759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7760 fi
   7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7764 	CFLAGS="$xorg_testset_save_CFLAGS"
   7765 fi
   7766 
   7767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7770 	fi
   7771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7775   $as_echo_n "(cached) " >&6
   7776 else
   7777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 int i;
   7780 _ACEOF
   7781 if ac_fn_c_try_compile "$LINENO"; then :
   7782   xorg_cv_cc_flag_unused_command_line_argument=yes
   7783 else
   7784   xorg_cv_cc_flag_unused_command_line_argument=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7787 fi
   7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7791 	CFLAGS="$xorg_testset_save_CFLAGS"
   7792 fi
   7793 
   7794 found="no"
   7795 
   7796 	if test $found = "no" ; then
   7797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 		fi
   7800 
   7801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 		fi
   7804 
   7805 		CFLAGS="$CFLAGS -Werror=return-type"
   7806 
   7807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7808 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7809 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7810 		if eval \${$cacheid+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7814 /* end confdefs.h.  */
   7815 int i;
   7816 int
   7817 main ()
   7818 {
   7819 
   7820   ;
   7821   return 0;
   7822 }
   7823 _ACEOF
   7824 if ac_fn_c_try_link "$LINENO"; then :
   7825   eval $cacheid=yes
   7826 else
   7827   eval $cacheid=no
   7828 fi
   7829 rm -f core conftest.err conftest.$ac_objext \
   7830     conftest$ac_exeext conftest.$ac_ext
   7831 fi
   7832 
   7833 
   7834 		CFLAGS="$xorg_testset_save_CFLAGS"
   7835 
   7836 		eval supported=\$$cacheid
   7837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7838 $as_echo "$supported" >&6; }
   7839 		if test "$supported" = "yes" ; then
   7840 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7841 			found="yes"
   7842 		fi
   7843 	fi
   7844 
   7845 	if test $found = "no" ; then
   7846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7848 		fi
   7849 
   7850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7852 		fi
   7853 
   7854 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7855 
   7856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7857 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7858 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7859 		if eval \${$cacheid+:} false; then :
   7860   $as_echo_n "(cached) " >&6
   7861 else
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 int
   7866 main ()
   7867 {
   7868 
   7869   ;
   7870   return 0;
   7871 }
   7872 _ACEOF
   7873 if ac_fn_c_try_link "$LINENO"; then :
   7874   eval $cacheid=yes
   7875 else
   7876   eval $cacheid=no
   7877 fi
   7878 rm -f core conftest.err conftest.$ac_objext \
   7879     conftest$ac_exeext conftest.$ac_ext
   7880 fi
   7881 
   7882 
   7883 		CFLAGS="$xorg_testset_save_CFLAGS"
   7884 
   7885 		eval supported=\$$cacheid
   7886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7887 $as_echo "$supported" >&6; }
   7888 		if test "$supported" = "yes" ; then
   7889 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7890 			found="yes"
   7891 		fi
   7892 	fi
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 xorg_testset_save_CFLAGS="$CFLAGS"
   7909 
   7910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7913 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7914 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7915   $as_echo_n "(cached) " >&6
   7916 else
   7917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 int i;
   7920 _ACEOF
   7921 if ac_fn_c_try_compile "$LINENO"; then :
   7922   xorg_cv_cc_flag_unknown_warning_option=yes
   7923 else
   7924   xorg_cv_cc_flag_unknown_warning_option=no
   7925 fi
   7926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7927 fi
   7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7929 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7931 	CFLAGS="$xorg_testset_save_CFLAGS"
   7932 fi
   7933 
   7934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7937 	fi
   7938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7940 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7941 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7942   $as_echo_n "(cached) " >&6
   7943 else
   7944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7945 /* end confdefs.h.  */
   7946 int i;
   7947 _ACEOF
   7948 if ac_fn_c_try_compile "$LINENO"; then :
   7949   xorg_cv_cc_flag_unused_command_line_argument=yes
   7950 else
   7951   xorg_cv_cc_flag_unused_command_line_argument=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7956 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7958 	CFLAGS="$xorg_testset_save_CFLAGS"
   7959 fi
   7960 
   7961 found="no"
   7962 
   7963 	if test $found = "no" ; then
   7964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7966 		fi
   7967 
   7968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7970 		fi
   7971 
   7972 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7973 
   7974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7975 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7976 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7977 		if eval \${$cacheid+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int i;
   7983 int
   7984 main ()
   7985 {
   7986 
   7987   ;
   7988   return 0;
   7989 }
   7990 _ACEOF
   7991 if ac_fn_c_try_link "$LINENO"; then :
   7992   eval $cacheid=yes
   7993 else
   7994   eval $cacheid=no
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext \
   7997     conftest$ac_exeext conftest.$ac_ext
   7998 fi
   7999 
   8000 
   8001 		CFLAGS="$xorg_testset_save_CFLAGS"
   8002 
   8003 		eval supported=\$$cacheid
   8004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8005 $as_echo "$supported" >&6; }
   8006 		if test "$supported" = "yes" ; then
   8007 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8008 			found="yes"
   8009 		fi
   8010 	fi
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 xorg_testset_save_CFLAGS="$CFLAGS"
   8027 
   8028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8033   $as_echo_n "(cached) " >&6
   8034 else
   8035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 int i;
   8038 _ACEOF
   8039 if ac_fn_c_try_compile "$LINENO"; then :
   8040   xorg_cv_cc_flag_unknown_warning_option=yes
   8041 else
   8042   xorg_cv_cc_flag_unknown_warning_option=no
   8043 fi
   8044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8045 fi
   8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8049 	CFLAGS="$xorg_testset_save_CFLAGS"
   8050 fi
   8051 
   8052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8055 	fi
   8056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8060   $as_echo_n "(cached) " >&6
   8061 else
   8062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8063 /* end confdefs.h.  */
   8064 int i;
   8065 _ACEOF
   8066 if ac_fn_c_try_compile "$LINENO"; then :
   8067   xorg_cv_cc_flag_unused_command_line_argument=yes
   8068 else
   8069   xorg_cv_cc_flag_unused_command_line_argument=no
   8070 fi
   8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8072 fi
   8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8076 	CFLAGS="$xorg_testset_save_CFLAGS"
   8077 fi
   8078 
   8079 found="no"
   8080 
   8081 	if test $found = "no" ; then
   8082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8084 		fi
   8085 
   8086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8088 		fi
   8089 
   8090 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8091 
   8092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8093 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8094 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8095 		if eval \${$cacheid+:} false; then :
   8096   $as_echo_n "(cached) " >&6
   8097 else
   8098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 int
   8102 main ()
   8103 {
   8104 
   8105   ;
   8106   return 0;
   8107 }
   8108 _ACEOF
   8109 if ac_fn_c_try_link "$LINENO"; then :
   8110   eval $cacheid=yes
   8111 else
   8112   eval $cacheid=no
   8113 fi
   8114 rm -f core conftest.err conftest.$ac_objext \
   8115     conftest$ac_exeext conftest.$ac_ext
   8116 fi
   8117 
   8118 
   8119 		CFLAGS="$xorg_testset_save_CFLAGS"
   8120 
   8121 		eval supported=\$$cacheid
   8122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8123 $as_echo "$supported" >&6; }
   8124 		if test "$supported" = "yes" ; then
   8125 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8126 			found="yes"
   8127 		fi
   8128 	fi
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 xorg_testset_save_CFLAGS="$CFLAGS"
   8145 
   8146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 _ACEOF
   8157 if ac_fn_c_try_compile "$LINENO"; then :
   8158   xorg_cv_cc_flag_unknown_warning_option=yes
   8159 else
   8160   xorg_cv_cc_flag_unknown_warning_option=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8163 fi
   8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8167 	CFLAGS="$xorg_testset_save_CFLAGS"
   8168 fi
   8169 
   8170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8173 	fi
   8174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8178   $as_echo_n "(cached) " >&6
   8179 else
   8180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8181 /* end confdefs.h.  */
   8182 int i;
   8183 _ACEOF
   8184 if ac_fn_c_try_compile "$LINENO"; then :
   8185   xorg_cv_cc_flag_unused_command_line_argument=yes
   8186 else
   8187   xorg_cv_cc_flag_unused_command_line_argument=no
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8190 fi
   8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8194 	CFLAGS="$xorg_testset_save_CFLAGS"
   8195 fi
   8196 
   8197 found="no"
   8198 
   8199 	if test $found = "no" ; then
   8200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8202 		fi
   8203 
   8204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8206 		fi
   8207 
   8208 		CFLAGS="$CFLAGS -Werror=write-strings"
   8209 
   8210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8211 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8212 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8213 		if eval \${$cacheid+:} false; then :
   8214   $as_echo_n "(cached) " >&6
   8215 else
   8216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8217 /* end confdefs.h.  */
   8218 int i;
   8219 int
   8220 main ()
   8221 {
   8222 
   8223   ;
   8224   return 0;
   8225 }
   8226 _ACEOF
   8227 if ac_fn_c_try_link "$LINENO"; then :
   8228   eval $cacheid=yes
   8229 else
   8230   eval $cacheid=no
   8231 fi
   8232 rm -f core conftest.err conftest.$ac_objext \
   8233     conftest$ac_exeext conftest.$ac_ext
   8234 fi
   8235 
   8236 
   8237 		CFLAGS="$xorg_testset_save_CFLAGS"
   8238 
   8239 		eval supported=\$$cacheid
   8240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8241 $as_echo "$supported" >&6; }
   8242 		if test "$supported" = "yes" ; then
   8243 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8244 			found="yes"
   8245 		fi
   8246 	fi
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 xorg_testset_save_CFLAGS="$CFLAGS"
   8263 
   8264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 _ACEOF
   8275 if ac_fn_c_try_compile "$LINENO"; then :
   8276   xorg_cv_cc_flag_unknown_warning_option=yes
   8277 else
   8278   xorg_cv_cc_flag_unknown_warning_option=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8281 fi
   8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8291 	fi
   8292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8296   $as_echo_n "(cached) " >&6
   8297 else
   8298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8299 /* end confdefs.h.  */
   8300 int i;
   8301 _ACEOF
   8302 if ac_fn_c_try_compile "$LINENO"; then :
   8303   xorg_cv_cc_flag_unused_command_line_argument=yes
   8304 else
   8305   xorg_cv_cc_flag_unused_command_line_argument=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8308 fi
   8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 found="no"
   8316 
   8317 	if test $found = "no" ; then
   8318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8320 		fi
   8321 
   8322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8324 		fi
   8325 
   8326 		CFLAGS="$CFLAGS -Werror=address"
   8327 
   8328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8329 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8330 		cacheid=xorg_cv_cc_flag__Werror_address
   8331 		if eval \${$cacheid+:} false; then :
   8332   $as_echo_n "(cached) " >&6
   8333 else
   8334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8335 /* end confdefs.h.  */
   8336 int i;
   8337 int
   8338 main ()
   8339 {
   8340 
   8341   ;
   8342   return 0;
   8343 }
   8344 _ACEOF
   8345 if ac_fn_c_try_link "$LINENO"; then :
   8346   eval $cacheid=yes
   8347 else
   8348   eval $cacheid=no
   8349 fi
   8350 rm -f core conftest.err conftest.$ac_objext \
   8351     conftest$ac_exeext conftest.$ac_ext
   8352 fi
   8353 
   8354 
   8355 		CFLAGS="$xorg_testset_save_CFLAGS"
   8356 
   8357 		eval supported=\$$cacheid
   8358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8359 $as_echo "$supported" >&6; }
   8360 		if test "$supported" = "yes" ; then
   8361 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8362 			found="yes"
   8363 		fi
   8364 	fi
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 xorg_testset_save_CFLAGS="$CFLAGS"
   8381 
   8382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8385 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8386 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 _ACEOF
   8393 if ac_fn_c_try_compile "$LINENO"; then :
   8394   xorg_cv_cc_flag_unknown_warning_option=yes
   8395 else
   8396   xorg_cv_cc_flag_unknown_warning_option=no
   8397 fi
   8398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8399 fi
   8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8401 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8403 	CFLAGS="$xorg_testset_save_CFLAGS"
   8404 fi
   8405 
   8406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8409 	fi
   8410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8412 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8413 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8414   $as_echo_n "(cached) " >&6
   8415 else
   8416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8417 /* end confdefs.h.  */
   8418 int i;
   8419 _ACEOF
   8420 if ac_fn_c_try_compile "$LINENO"; then :
   8421   xorg_cv_cc_flag_unused_command_line_argument=yes
   8422 else
   8423   xorg_cv_cc_flag_unused_command_line_argument=no
   8424 fi
   8425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8426 fi
   8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8428 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8429 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8430 	CFLAGS="$xorg_testset_save_CFLAGS"
   8431 fi
   8432 
   8433 found="no"
   8434 
   8435 	if test $found = "no" ; then
   8436 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8438 		fi
   8439 
   8440 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8442 		fi
   8443 
   8444 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8445 
   8446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8447 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8448 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8449 		if eval \${$cacheid+:} false; then :
   8450   $as_echo_n "(cached) " >&6
   8451 else
   8452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 int
   8456 main ()
   8457 {
   8458 
   8459   ;
   8460   return 0;
   8461 }
   8462 _ACEOF
   8463 if ac_fn_c_try_link "$LINENO"; then :
   8464   eval $cacheid=yes
   8465 else
   8466   eval $cacheid=no
   8467 fi
   8468 rm -f core conftest.err conftest.$ac_objext \
   8469     conftest$ac_exeext conftest.$ac_ext
   8470 fi
   8471 
   8472 
   8473 		CFLAGS="$xorg_testset_save_CFLAGS"
   8474 
   8475 		eval supported=\$$cacheid
   8476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8477 $as_echo "$supported" >&6; }
   8478 		if test "$supported" = "yes" ; then
   8479 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8480 			found="yes"
   8481 		fi
   8482 	fi
   8483 
   8484 	if test $found = "no" ; then
   8485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8487 		fi
   8488 
   8489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8491 		fi
   8492 
   8493 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8494 
   8495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8496 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8497 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8498 		if eval \${$cacheid+:} false; then :
   8499   $as_echo_n "(cached) " >&6
   8500 else
   8501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 int i;
   8504 int
   8505 main ()
   8506 {
   8507 
   8508   ;
   8509   return 0;
   8510 }
   8511 _ACEOF
   8512 if ac_fn_c_try_link "$LINENO"; then :
   8513   eval $cacheid=yes
   8514 else
   8515   eval $cacheid=no
   8516 fi
   8517 rm -f core conftest.err conftest.$ac_objext \
   8518     conftest$ac_exeext conftest.$ac_ext
   8519 fi
   8520 
   8521 
   8522 		CFLAGS="$xorg_testset_save_CFLAGS"
   8523 
   8524 		eval supported=\$$cacheid
   8525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8526 $as_echo "$supported" >&6; }
   8527 		if test "$supported" = "yes" ; then
   8528 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8529 			found="yes"
   8530 		fi
   8531 	fi
   8532 
   8533 
   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 -Werror=pointer-to-int-cast"
   8612 
   8613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8614 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8615 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   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 -Werror=pointer-to-int-cast"
   8647 			found="yes"
   8648 		fi
   8649 	fi
   8650 
   8651  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8652 else
   8653 { $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
   8654 $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;}
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 xorg_testset_save_CFLAGS="$CFLAGS"
   8669 
   8670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8673 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8674 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8675   $as_echo_n "(cached) " >&6
   8676 else
   8677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8678 /* end confdefs.h.  */
   8679 int i;
   8680 _ACEOF
   8681 if ac_fn_c_try_compile "$LINENO"; then :
   8682   xorg_cv_cc_flag_unknown_warning_option=yes
   8683 else
   8684   xorg_cv_cc_flag_unknown_warning_option=no
   8685 fi
   8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8687 fi
   8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8689 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8691 	CFLAGS="$xorg_testset_save_CFLAGS"
   8692 fi
   8693 
   8694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8697 	fi
   8698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8700 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8701 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8702   $as_echo_n "(cached) " >&6
   8703 else
   8704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8705 /* end confdefs.h.  */
   8706 int i;
   8707 _ACEOF
   8708 if ac_fn_c_try_compile "$LINENO"; then :
   8709   xorg_cv_cc_flag_unused_command_line_argument=yes
   8710 else
   8711   xorg_cv_cc_flag_unused_command_line_argument=no
   8712 fi
   8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8714 fi
   8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8716 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8718 	CFLAGS="$xorg_testset_save_CFLAGS"
   8719 fi
   8720 
   8721 found="no"
   8722 
   8723 	if test $found = "no" ; then
   8724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8726 		fi
   8727 
   8728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8730 		fi
   8731 
   8732 		CFLAGS="$CFLAGS -Wimplicit"
   8733 
   8734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8735 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8736 		cacheid=xorg_cv_cc_flag__Wimplicit
   8737 		if eval \${$cacheid+:} false; then :
   8738   $as_echo_n "(cached) " >&6
   8739 else
   8740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 int
   8744 main ()
   8745 {
   8746 
   8747   ;
   8748   return 0;
   8749 }
   8750 _ACEOF
   8751 if ac_fn_c_try_link "$LINENO"; then :
   8752   eval $cacheid=yes
   8753 else
   8754   eval $cacheid=no
   8755 fi
   8756 rm -f core conftest.err conftest.$ac_objext \
   8757     conftest$ac_exeext conftest.$ac_ext
   8758 fi
   8759 
   8760 
   8761 		CFLAGS="$xorg_testset_save_CFLAGS"
   8762 
   8763 		eval supported=\$$cacheid
   8764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8765 $as_echo "$supported" >&6; }
   8766 		if test "$supported" = "yes" ; then
   8767 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8768 			found="yes"
   8769 		fi
   8770 	fi
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 xorg_testset_save_CFLAGS="$CFLAGS"
   8787 
   8788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8793   $as_echo_n "(cached) " >&6
   8794 else
   8795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8796 /* end confdefs.h.  */
   8797 int i;
   8798 _ACEOF
   8799 if ac_fn_c_try_compile "$LINENO"; then :
   8800   xorg_cv_cc_flag_unknown_warning_option=yes
   8801 else
   8802   xorg_cv_cc_flag_unknown_warning_option=no
   8803 fi
   8804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8805 fi
   8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8809 	CFLAGS="$xorg_testset_save_CFLAGS"
   8810 fi
   8811 
   8812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8815 	fi
   8816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8820   $as_echo_n "(cached) " >&6
   8821 else
   8822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8823 /* end confdefs.h.  */
   8824 int i;
   8825 _ACEOF
   8826 if ac_fn_c_try_compile "$LINENO"; then :
   8827   xorg_cv_cc_flag_unused_command_line_argument=yes
   8828 else
   8829   xorg_cv_cc_flag_unused_command_line_argument=no
   8830 fi
   8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8832 fi
   8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8836 	CFLAGS="$xorg_testset_save_CFLAGS"
   8837 fi
   8838 
   8839 found="no"
   8840 
   8841 	if test $found = "no" ; then
   8842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8844 		fi
   8845 
   8846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8848 		fi
   8849 
   8850 		CFLAGS="$CFLAGS -Wnonnull"
   8851 
   8852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8853 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8854 		cacheid=xorg_cv_cc_flag__Wnonnull
   8855 		if eval \${$cacheid+:} false; then :
   8856   $as_echo_n "(cached) " >&6
   8857 else
   8858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 int
   8862 main ()
   8863 {
   8864 
   8865   ;
   8866   return 0;
   8867 }
   8868 _ACEOF
   8869 if ac_fn_c_try_link "$LINENO"; then :
   8870   eval $cacheid=yes
   8871 else
   8872   eval $cacheid=no
   8873 fi
   8874 rm -f core conftest.err conftest.$ac_objext \
   8875     conftest$ac_exeext conftest.$ac_ext
   8876 fi
   8877 
   8878 
   8879 		CFLAGS="$xorg_testset_save_CFLAGS"
   8880 
   8881 		eval supported=\$$cacheid
   8882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8883 $as_echo "$supported" >&6; }
   8884 		if test "$supported" = "yes" ; then
   8885 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8886 			found="yes"
   8887 		fi
   8888 	fi
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 xorg_testset_save_CFLAGS="$CFLAGS"
   8905 
   8906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8911   $as_echo_n "(cached) " >&6
   8912 else
   8913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8914 /* end confdefs.h.  */
   8915 int i;
   8916 _ACEOF
   8917 if ac_fn_c_try_compile "$LINENO"; then :
   8918   xorg_cv_cc_flag_unknown_warning_option=yes
   8919 else
   8920   xorg_cv_cc_flag_unknown_warning_option=no
   8921 fi
   8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8923 fi
   8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8927 	CFLAGS="$xorg_testset_save_CFLAGS"
   8928 fi
   8929 
   8930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8933 	fi
   8934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8938   $as_echo_n "(cached) " >&6
   8939 else
   8940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 _ACEOF
   8944 if ac_fn_c_try_compile "$LINENO"; then :
   8945   xorg_cv_cc_flag_unused_command_line_argument=yes
   8946 else
   8947   xorg_cv_cc_flag_unused_command_line_argument=no
   8948 fi
   8949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8950 fi
   8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8954 	CFLAGS="$xorg_testset_save_CFLAGS"
   8955 fi
   8956 
   8957 found="no"
   8958 
   8959 	if test $found = "no" ; then
   8960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8962 		fi
   8963 
   8964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8966 		fi
   8967 
   8968 		CFLAGS="$CFLAGS -Winit-self"
   8969 
   8970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8971 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8972 		cacheid=xorg_cv_cc_flag__Winit_self
   8973 		if eval \${$cacheid+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 int
   8980 main ()
   8981 {
   8982 
   8983   ;
   8984   return 0;
   8985 }
   8986 _ACEOF
   8987 if ac_fn_c_try_link "$LINENO"; then :
   8988   eval $cacheid=yes
   8989 else
   8990   eval $cacheid=no
   8991 fi
   8992 rm -f core conftest.err conftest.$ac_objext \
   8993     conftest$ac_exeext conftest.$ac_ext
   8994 fi
   8995 
   8996 
   8997 		CFLAGS="$xorg_testset_save_CFLAGS"
   8998 
   8999 		eval supported=\$$cacheid
   9000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9001 $as_echo "$supported" >&6; }
   9002 		if test "$supported" = "yes" ; then
   9003 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9004 			found="yes"
   9005 		fi
   9006 	fi
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 xorg_testset_save_CFLAGS="$CFLAGS"
   9023 
   9024 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9027 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9028 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"; then :
   9036   xorg_cv_cc_flag_unknown_warning_option=yes
   9037 else
   9038   xorg_cv_cc_flag_unknown_warning_option=no
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9041 fi
   9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9043 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9045 	CFLAGS="$xorg_testset_save_CFLAGS"
   9046 fi
   9047 
   9048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9051 	fi
   9052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9054 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9055 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9056   $as_echo_n "(cached) " >&6
   9057 else
   9058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9059 /* end confdefs.h.  */
   9060 int i;
   9061 _ACEOF
   9062 if ac_fn_c_try_compile "$LINENO"; then :
   9063   xorg_cv_cc_flag_unused_command_line_argument=yes
   9064 else
   9065   xorg_cv_cc_flag_unused_command_line_argument=no
   9066 fi
   9067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9068 fi
   9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9070 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9072 	CFLAGS="$xorg_testset_save_CFLAGS"
   9073 fi
   9074 
   9075 found="no"
   9076 
   9077 	if test $found = "no" ; then
   9078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9080 		fi
   9081 
   9082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9084 		fi
   9085 
   9086 		CFLAGS="$CFLAGS -Wmain"
   9087 
   9088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9089 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9090 		cacheid=xorg_cv_cc_flag__Wmain
   9091 		if eval \${$cacheid+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9095 /* end confdefs.h.  */
   9096 int i;
   9097 int
   9098 main ()
   9099 {
   9100 
   9101   ;
   9102   return 0;
   9103 }
   9104 _ACEOF
   9105 if ac_fn_c_try_link "$LINENO"; then :
   9106   eval $cacheid=yes
   9107 else
   9108   eval $cacheid=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext \
   9111     conftest$ac_exeext conftest.$ac_ext
   9112 fi
   9113 
   9114 
   9115 		CFLAGS="$xorg_testset_save_CFLAGS"
   9116 
   9117 		eval supported=\$$cacheid
   9118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9119 $as_echo "$supported" >&6; }
   9120 		if test "$supported" = "yes" ; then
   9121 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9122 			found="yes"
   9123 		fi
   9124 	fi
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 xorg_testset_save_CFLAGS="$CFLAGS"
   9141 
   9142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9145 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9146 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 _ACEOF
   9153 if ac_fn_c_try_compile "$LINENO"; then :
   9154   xorg_cv_cc_flag_unknown_warning_option=yes
   9155 else
   9156   xorg_cv_cc_flag_unknown_warning_option=no
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9159 fi
   9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9161 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9163 	CFLAGS="$xorg_testset_save_CFLAGS"
   9164 fi
   9165 
   9166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9169 	fi
   9170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9172 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9173 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9174   $as_echo_n "(cached) " >&6
   9175 else
   9176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 int i;
   9179 _ACEOF
   9180 if ac_fn_c_try_compile "$LINENO"; then :
   9181   xorg_cv_cc_flag_unused_command_line_argument=yes
   9182 else
   9183   xorg_cv_cc_flag_unused_command_line_argument=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9186 fi
   9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9188 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9189 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9190 	CFLAGS="$xorg_testset_save_CFLAGS"
   9191 fi
   9192 
   9193 found="no"
   9194 
   9195 	if test $found = "no" ; then
   9196 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9197 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9198 		fi
   9199 
   9200 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9201 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9202 		fi
   9203 
   9204 		CFLAGS="$CFLAGS -Wmissing-braces"
   9205 
   9206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9207 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9208 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9209 		if eval \${$cacheid+:} false; then :
   9210   $as_echo_n "(cached) " >&6
   9211 else
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 int
   9216 main ()
   9217 {
   9218 
   9219   ;
   9220   return 0;
   9221 }
   9222 _ACEOF
   9223 if ac_fn_c_try_link "$LINENO"; then :
   9224   eval $cacheid=yes
   9225 else
   9226   eval $cacheid=no
   9227 fi
   9228 rm -f core conftest.err conftest.$ac_objext \
   9229     conftest$ac_exeext conftest.$ac_ext
   9230 fi
   9231 
   9232 
   9233 		CFLAGS="$xorg_testset_save_CFLAGS"
   9234 
   9235 		eval supported=\$$cacheid
   9236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9237 $as_echo "$supported" >&6; }
   9238 		if test "$supported" = "yes" ; then
   9239 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9240 			found="yes"
   9241 		fi
   9242 	fi
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 xorg_testset_save_CFLAGS="$CFLAGS"
   9259 
   9260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9263 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9264 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 _ACEOF
   9271 if ac_fn_c_try_compile "$LINENO"; then :
   9272   xorg_cv_cc_flag_unknown_warning_option=yes
   9273 else
   9274   xorg_cv_cc_flag_unknown_warning_option=no
   9275 fi
   9276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9277 fi
   9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9279 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9281 	CFLAGS="$xorg_testset_save_CFLAGS"
   9282 fi
   9283 
   9284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9287 	fi
   9288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9290 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9291 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9292   $as_echo_n "(cached) " >&6
   9293 else
   9294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9295 /* end confdefs.h.  */
   9296 int i;
   9297 _ACEOF
   9298 if ac_fn_c_try_compile "$LINENO"; then :
   9299   xorg_cv_cc_flag_unused_command_line_argument=yes
   9300 else
   9301   xorg_cv_cc_flag_unused_command_line_argument=no
   9302 fi
   9303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9304 fi
   9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9306 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9308 	CFLAGS="$xorg_testset_save_CFLAGS"
   9309 fi
   9310 
   9311 found="no"
   9312 
   9313 	if test $found = "no" ; then
   9314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9316 		fi
   9317 
   9318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9320 		fi
   9321 
   9322 		CFLAGS="$CFLAGS -Wsequence-point"
   9323 
   9324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9325 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9326 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9327 		if eval \${$cacheid+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 int
   9334 main ()
   9335 {
   9336 
   9337   ;
   9338   return 0;
   9339 }
   9340 _ACEOF
   9341 if ac_fn_c_try_link "$LINENO"; then :
   9342   eval $cacheid=yes
   9343 else
   9344   eval $cacheid=no
   9345 fi
   9346 rm -f core conftest.err conftest.$ac_objext \
   9347     conftest$ac_exeext conftest.$ac_ext
   9348 fi
   9349 
   9350 
   9351 		CFLAGS="$xorg_testset_save_CFLAGS"
   9352 
   9353 		eval supported=\$$cacheid
   9354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9355 $as_echo "$supported" >&6; }
   9356 		if test "$supported" = "yes" ; then
   9357 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9358 			found="yes"
   9359 		fi
   9360 	fi
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 xorg_testset_save_CFLAGS="$CFLAGS"
   9377 
   9378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9381 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9382 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"; then :
   9390   xorg_cv_cc_flag_unknown_warning_option=yes
   9391 else
   9392   xorg_cv_cc_flag_unknown_warning_option=no
   9393 fi
   9394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9395 fi
   9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9397 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9399 	CFLAGS="$xorg_testset_save_CFLAGS"
   9400 fi
   9401 
   9402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9405 	fi
   9406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9408 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9409 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9410   $as_echo_n "(cached) " >&6
   9411 else
   9412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9413 /* end confdefs.h.  */
   9414 int i;
   9415 _ACEOF
   9416 if ac_fn_c_try_compile "$LINENO"; then :
   9417   xorg_cv_cc_flag_unused_command_line_argument=yes
   9418 else
   9419   xorg_cv_cc_flag_unused_command_line_argument=no
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9422 fi
   9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9424 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9426 	CFLAGS="$xorg_testset_save_CFLAGS"
   9427 fi
   9428 
   9429 found="no"
   9430 
   9431 	if test $found = "no" ; then
   9432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9434 		fi
   9435 
   9436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9438 		fi
   9439 
   9440 		CFLAGS="$CFLAGS -Wreturn-type"
   9441 
   9442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9443 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9444 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9445 		if eval \${$cacheid+:} false; then :
   9446   $as_echo_n "(cached) " >&6
   9447 else
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 int
   9452 main ()
   9453 {
   9454 
   9455   ;
   9456   return 0;
   9457 }
   9458 _ACEOF
   9459 if ac_fn_c_try_link "$LINENO"; then :
   9460   eval $cacheid=yes
   9461 else
   9462   eval $cacheid=no
   9463 fi
   9464 rm -f core conftest.err conftest.$ac_objext \
   9465     conftest$ac_exeext conftest.$ac_ext
   9466 fi
   9467 
   9468 
   9469 		CFLAGS="$xorg_testset_save_CFLAGS"
   9470 
   9471 		eval supported=\$$cacheid
   9472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9473 $as_echo "$supported" >&6; }
   9474 		if test "$supported" = "yes" ; then
   9475 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9476 			found="yes"
   9477 		fi
   9478 	fi
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 xorg_testset_save_CFLAGS="$CFLAGS"
   9495 
   9496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9499 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9500 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 _ACEOF
   9507 if ac_fn_c_try_compile "$LINENO"; then :
   9508   xorg_cv_cc_flag_unknown_warning_option=yes
   9509 else
   9510   xorg_cv_cc_flag_unknown_warning_option=no
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9513 fi
   9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9515 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9517 	CFLAGS="$xorg_testset_save_CFLAGS"
   9518 fi
   9519 
   9520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9523 	fi
   9524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9526 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9527 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9528   $as_echo_n "(cached) " >&6
   9529 else
   9530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9531 /* end confdefs.h.  */
   9532 int i;
   9533 _ACEOF
   9534 if ac_fn_c_try_compile "$LINENO"; then :
   9535   xorg_cv_cc_flag_unused_command_line_argument=yes
   9536 else
   9537   xorg_cv_cc_flag_unused_command_line_argument=no
   9538 fi
   9539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9540 fi
   9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9542 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9543 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9544 	CFLAGS="$xorg_testset_save_CFLAGS"
   9545 fi
   9546 
   9547 found="no"
   9548 
   9549 	if test $found = "no" ; then
   9550 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9552 		fi
   9553 
   9554 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9556 		fi
   9557 
   9558 		CFLAGS="$CFLAGS -Wtrigraphs"
   9559 
   9560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9561 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9562 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9563 		if eval \${$cacheid+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 int
   9570 main ()
   9571 {
   9572 
   9573   ;
   9574   return 0;
   9575 }
   9576 _ACEOF
   9577 if ac_fn_c_try_link "$LINENO"; then :
   9578   eval $cacheid=yes
   9579 else
   9580   eval $cacheid=no
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext \
   9583     conftest$ac_exeext conftest.$ac_ext
   9584 fi
   9585 
   9586 
   9587 		CFLAGS="$xorg_testset_save_CFLAGS"
   9588 
   9589 		eval supported=\$$cacheid
   9590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9591 $as_echo "$supported" >&6; }
   9592 		if test "$supported" = "yes" ; then
   9593 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9594 			found="yes"
   9595 		fi
   9596 	fi
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 xorg_testset_save_CFLAGS="$CFLAGS"
   9613 
   9614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9617 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9618 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 _ACEOF
   9625 if ac_fn_c_try_compile "$LINENO"; then :
   9626   xorg_cv_cc_flag_unknown_warning_option=yes
   9627 else
   9628   xorg_cv_cc_flag_unknown_warning_option=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9631 fi
   9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9633 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9641 	fi
   9642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9644 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9645 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9646   $as_echo_n "(cached) " >&6
   9647 else
   9648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9649 /* end confdefs.h.  */
   9650 int i;
   9651 _ACEOF
   9652 if ac_fn_c_try_compile "$LINENO"; then :
   9653   xorg_cv_cc_flag_unused_command_line_argument=yes
   9654 else
   9655   xorg_cv_cc_flag_unused_command_line_argument=no
   9656 fi
   9657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9658 fi
   9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9660 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9662 	CFLAGS="$xorg_testset_save_CFLAGS"
   9663 fi
   9664 
   9665 found="no"
   9666 
   9667 	if test $found = "no" ; then
   9668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9670 		fi
   9671 
   9672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9674 		fi
   9675 
   9676 		CFLAGS="$CFLAGS -Warray-bounds"
   9677 
   9678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9679 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9680 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9681 		if eval \${$cacheid+:} false; then :
   9682   $as_echo_n "(cached) " >&6
   9683 else
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 int
   9688 main ()
   9689 {
   9690 
   9691   ;
   9692   return 0;
   9693 }
   9694 _ACEOF
   9695 if ac_fn_c_try_link "$LINENO"; then :
   9696   eval $cacheid=yes
   9697 else
   9698   eval $cacheid=no
   9699 fi
   9700 rm -f core conftest.err conftest.$ac_objext \
   9701     conftest$ac_exeext conftest.$ac_ext
   9702 fi
   9703 
   9704 
   9705 		CFLAGS="$xorg_testset_save_CFLAGS"
   9706 
   9707 		eval supported=\$$cacheid
   9708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9709 $as_echo "$supported" >&6; }
   9710 		if test "$supported" = "yes" ; then
   9711 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9712 			found="yes"
   9713 		fi
   9714 	fi
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 xorg_testset_save_CFLAGS="$CFLAGS"
   9731 
   9732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9735 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9736 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 _ACEOF
   9743 if ac_fn_c_try_compile "$LINENO"; then :
   9744   xorg_cv_cc_flag_unknown_warning_option=yes
   9745 else
   9746   xorg_cv_cc_flag_unknown_warning_option=no
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9749 fi
   9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9751 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9753 	CFLAGS="$xorg_testset_save_CFLAGS"
   9754 fi
   9755 
   9756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9759 	fi
   9760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9762 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9763 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9764   $as_echo_n "(cached) " >&6
   9765 else
   9766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9767 /* end confdefs.h.  */
   9768 int i;
   9769 _ACEOF
   9770 if ac_fn_c_try_compile "$LINENO"; then :
   9771   xorg_cv_cc_flag_unused_command_line_argument=yes
   9772 else
   9773   xorg_cv_cc_flag_unused_command_line_argument=no
   9774 fi
   9775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9776 fi
   9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9778 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9780 	CFLAGS="$xorg_testset_save_CFLAGS"
   9781 fi
   9782 
   9783 found="no"
   9784 
   9785 	if test $found = "no" ; then
   9786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9788 		fi
   9789 
   9790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9792 		fi
   9793 
   9794 		CFLAGS="$CFLAGS -Wwrite-strings"
   9795 
   9796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9797 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9798 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9799 		if eval \${$cacheid+:} false; then :
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9803 /* end confdefs.h.  */
   9804 int i;
   9805 int
   9806 main ()
   9807 {
   9808 
   9809   ;
   9810   return 0;
   9811 }
   9812 _ACEOF
   9813 if ac_fn_c_try_link "$LINENO"; then :
   9814   eval $cacheid=yes
   9815 else
   9816   eval $cacheid=no
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext \
   9819     conftest$ac_exeext conftest.$ac_ext
   9820 fi
   9821 
   9822 
   9823 		CFLAGS="$xorg_testset_save_CFLAGS"
   9824 
   9825 		eval supported=\$$cacheid
   9826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9827 $as_echo "$supported" >&6; }
   9828 		if test "$supported" = "yes" ; then
   9829 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9830 			found="yes"
   9831 		fi
   9832 	fi
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 xorg_testset_save_CFLAGS="$CFLAGS"
   9849 
   9850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 _ACEOF
   9861 if ac_fn_c_try_compile "$LINENO"; then :
   9862   xorg_cv_cc_flag_unknown_warning_option=yes
   9863 else
   9864   xorg_cv_cc_flag_unknown_warning_option=no
   9865 fi
   9866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9867 fi
   9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9871 	CFLAGS="$xorg_testset_save_CFLAGS"
   9872 fi
   9873 
   9874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9877 	fi
   9878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9882   $as_echo_n "(cached) " >&6
   9883 else
   9884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9885 /* end confdefs.h.  */
   9886 int i;
   9887 _ACEOF
   9888 if ac_fn_c_try_compile "$LINENO"; then :
   9889   xorg_cv_cc_flag_unused_command_line_argument=yes
   9890 else
   9891   xorg_cv_cc_flag_unused_command_line_argument=no
   9892 fi
   9893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9894 fi
   9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9898 	CFLAGS="$xorg_testset_save_CFLAGS"
   9899 fi
   9900 
   9901 found="no"
   9902 
   9903 	if test $found = "no" ; then
   9904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9906 		fi
   9907 
   9908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9910 		fi
   9911 
   9912 		CFLAGS="$CFLAGS -Waddress"
   9913 
   9914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9915 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9916 		cacheid=xorg_cv_cc_flag__Waddress
   9917 		if eval \${$cacheid+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9921 /* end confdefs.h.  */
   9922 int i;
   9923 int
   9924 main ()
   9925 {
   9926 
   9927   ;
   9928   return 0;
   9929 }
   9930 _ACEOF
   9931 if ac_fn_c_try_link "$LINENO"; then :
   9932   eval $cacheid=yes
   9933 else
   9934   eval $cacheid=no
   9935 fi
   9936 rm -f core conftest.err conftest.$ac_objext \
   9937     conftest$ac_exeext conftest.$ac_ext
   9938 fi
   9939 
   9940 
   9941 		CFLAGS="$xorg_testset_save_CFLAGS"
   9942 
   9943 		eval supported=\$$cacheid
   9944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9945 $as_echo "$supported" >&6; }
   9946 		if test "$supported" = "yes" ; then
   9947 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9948 			found="yes"
   9949 		fi
   9950 	fi
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 xorg_testset_save_CFLAGS="$CFLAGS"
   9967 
   9968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 _ACEOF
   9979 if ac_fn_c_try_compile "$LINENO"; then :
   9980   xorg_cv_cc_flag_unknown_warning_option=yes
   9981 else
   9982   xorg_cv_cc_flag_unknown_warning_option=no
   9983 fi
   9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9985 fi
   9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9989 	CFLAGS="$xorg_testset_save_CFLAGS"
   9990 fi
   9991 
   9992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9995 	fi
   9996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10000   $as_echo_n "(cached) " >&6
   10001 else
   10002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10003 /* end confdefs.h.  */
   10004 int i;
   10005 _ACEOF
   10006 if ac_fn_c_try_compile "$LINENO"; then :
   10007   xorg_cv_cc_flag_unused_command_line_argument=yes
   10008 else
   10009   xorg_cv_cc_flag_unused_command_line_argument=no
   10010 fi
   10011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10012 fi
   10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10016 	CFLAGS="$xorg_testset_save_CFLAGS"
   10017 fi
   10018 
   10019 found="no"
   10020 
   10021 	if test $found = "no" ; then
   10022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10024 		fi
   10025 
   10026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10028 		fi
   10029 
   10030 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10031 
   10032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10033 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10034 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10035 		if eval \${$cacheid+:} false; then :
   10036   $as_echo_n "(cached) " >&6
   10037 else
   10038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 int i;
   10041 int
   10042 main ()
   10043 {
   10044 
   10045   ;
   10046   return 0;
   10047 }
   10048 _ACEOF
   10049 if ac_fn_c_try_link "$LINENO"; then :
   10050   eval $cacheid=yes
   10051 else
   10052   eval $cacheid=no
   10053 fi
   10054 rm -f core conftest.err conftest.$ac_objext \
   10055     conftest$ac_exeext conftest.$ac_ext
   10056 fi
   10057 
   10058 
   10059 		CFLAGS="$xorg_testset_save_CFLAGS"
   10060 
   10061 		eval supported=\$$cacheid
   10062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10063 $as_echo "$supported" >&6; }
   10064 		if test "$supported" = "yes" ; then
   10065 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10066 			found="yes"
   10067 		fi
   10068 	fi
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 xorg_testset_save_CFLAGS="$CFLAGS"
   10085 
   10086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 _ACEOF
   10097 if ac_fn_c_try_compile "$LINENO"; then :
   10098   xorg_cv_cc_flag_unknown_warning_option=yes
   10099 else
   10100   xorg_cv_cc_flag_unknown_warning_option=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10103 fi
   10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10107 	CFLAGS="$xorg_testset_save_CFLAGS"
   10108 fi
   10109 
   10110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10113 	fi
   10114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10118   $as_echo_n "(cached) " >&6
   10119 else
   10120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10121 /* end confdefs.h.  */
   10122 int i;
   10123 _ACEOF
   10124 if ac_fn_c_try_compile "$LINENO"; then :
   10125   xorg_cv_cc_flag_unused_command_line_argument=yes
   10126 else
   10127   xorg_cv_cc_flag_unused_command_line_argument=no
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10130 fi
   10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10134 	CFLAGS="$xorg_testset_save_CFLAGS"
   10135 fi
   10136 
   10137 found="no"
   10138 
   10139 	if test $found = "no" ; then
   10140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10142 		fi
   10143 
   10144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10146 		fi
   10147 
   10148 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10149 
   10150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10151 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10152 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10153 		if eval \${$cacheid+:} false; then :
   10154   $as_echo_n "(cached) " >&6
   10155 else
   10156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10157 /* end confdefs.h.  */
   10158 int i;
   10159 int
   10160 main ()
   10161 {
   10162 
   10163   ;
   10164   return 0;
   10165 }
   10166 _ACEOF
   10167 if ac_fn_c_try_link "$LINENO"; then :
   10168   eval $cacheid=yes
   10169 else
   10170   eval $cacheid=no
   10171 fi
   10172 rm -f core conftest.err conftest.$ac_objext \
   10173     conftest$ac_exeext conftest.$ac_ext
   10174 fi
   10175 
   10176 
   10177 		CFLAGS="$xorg_testset_save_CFLAGS"
   10178 
   10179 		eval supported=\$$cacheid
   10180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10181 $as_echo "$supported" >&6; }
   10182 		if test "$supported" = "yes" ; then
   10183 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10184 			found="yes"
   10185 		fi
   10186 	fi
   10187 
   10188 
   10189 fi
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 		CWARNFLAGS="$BASE_CFLAGS"
   10198 		if  test "x$GCC" = xyes ; then
   10199 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10200 		fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 # Check whether --enable-strict-compilation was given.
   10210 if test "${enable_strict_compilation+set}" = set; then :
   10211   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10212 else
   10213   STRICT_COMPILE=no
   10214 fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 STRICT_CFLAGS=""
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 xorg_testset_save_CFLAGS="$CFLAGS"
   10236 
   10237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10240 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10241 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10242   $as_echo_n "(cached) " >&6
   10243 else
   10244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10245 /* end confdefs.h.  */
   10246 int i;
   10247 _ACEOF
   10248 if ac_fn_c_try_compile "$LINENO"; then :
   10249   xorg_cv_cc_flag_unknown_warning_option=yes
   10250 else
   10251   xorg_cv_cc_flag_unknown_warning_option=no
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10254 fi
   10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10256 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10258 	CFLAGS="$xorg_testset_save_CFLAGS"
   10259 fi
   10260 
   10261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10264 	fi
   10265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10267 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10268 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10269   $as_echo_n "(cached) " >&6
   10270 else
   10271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 _ACEOF
   10275 if ac_fn_c_try_compile "$LINENO"; then :
   10276   xorg_cv_cc_flag_unused_command_line_argument=yes
   10277 else
   10278   xorg_cv_cc_flag_unused_command_line_argument=no
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10281 fi
   10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10283 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10285 	CFLAGS="$xorg_testset_save_CFLAGS"
   10286 fi
   10287 
   10288 found="no"
   10289 
   10290 	if test $found = "no" ; then
   10291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10293 		fi
   10294 
   10295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10297 		fi
   10298 
   10299 		CFLAGS="$CFLAGS -pedantic"
   10300 
   10301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10302 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10303 		cacheid=xorg_cv_cc_flag__pedantic
   10304 		if eval \${$cacheid+:} false; then :
   10305   $as_echo_n "(cached) " >&6
   10306 else
   10307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10308 /* end confdefs.h.  */
   10309 int i;
   10310 int
   10311 main ()
   10312 {
   10313 
   10314   ;
   10315   return 0;
   10316 }
   10317 _ACEOF
   10318 if ac_fn_c_try_link "$LINENO"; then :
   10319   eval $cacheid=yes
   10320 else
   10321   eval $cacheid=no
   10322 fi
   10323 rm -f core conftest.err conftest.$ac_objext \
   10324     conftest$ac_exeext conftest.$ac_ext
   10325 fi
   10326 
   10327 
   10328 		CFLAGS="$xorg_testset_save_CFLAGS"
   10329 
   10330 		eval supported=\$$cacheid
   10331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10332 $as_echo "$supported" >&6; }
   10333 		if test "$supported" = "yes" ; then
   10334 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10335 			found="yes"
   10336 		fi
   10337 	fi
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 xorg_testset_save_CFLAGS="$CFLAGS"
   10354 
   10355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10360   $as_echo_n "(cached) " >&6
   10361 else
   10362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10363 /* end confdefs.h.  */
   10364 int i;
   10365 _ACEOF
   10366 if ac_fn_c_try_compile "$LINENO"; then :
   10367   xorg_cv_cc_flag_unknown_warning_option=yes
   10368 else
   10369   xorg_cv_cc_flag_unknown_warning_option=no
   10370 fi
   10371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10372 fi
   10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10376 	CFLAGS="$xorg_testset_save_CFLAGS"
   10377 fi
   10378 
   10379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10382 	fi
   10383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10387   $as_echo_n "(cached) " >&6
   10388 else
   10389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 _ACEOF
   10393 if ac_fn_c_try_compile "$LINENO"; then :
   10394   xorg_cv_cc_flag_unused_command_line_argument=yes
   10395 else
   10396   xorg_cv_cc_flag_unused_command_line_argument=no
   10397 fi
   10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10399 fi
   10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10403 	CFLAGS="$xorg_testset_save_CFLAGS"
   10404 fi
   10405 
   10406 found="no"
   10407 
   10408 	if test $found = "no" ; then
   10409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 		fi
   10412 
   10413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10415 		fi
   10416 
   10417 		CFLAGS="$CFLAGS -Werror"
   10418 
   10419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10420 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10421 		cacheid=xorg_cv_cc_flag__Werror
   10422 		if eval \${$cacheid+:} false; then :
   10423   $as_echo_n "(cached) " >&6
   10424 else
   10425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 int
   10429 main ()
   10430 {
   10431 
   10432   ;
   10433   return 0;
   10434 }
   10435 _ACEOF
   10436 if ac_fn_c_try_link "$LINENO"; then :
   10437   eval $cacheid=yes
   10438 else
   10439   eval $cacheid=no
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext \
   10442     conftest$ac_exeext conftest.$ac_ext
   10443 fi
   10444 
   10445 
   10446 		CFLAGS="$xorg_testset_save_CFLAGS"
   10447 
   10448 		eval supported=\$$cacheid
   10449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10450 $as_echo "$supported" >&6; }
   10451 		if test "$supported" = "yes" ; then
   10452 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10453 			found="yes"
   10454 		fi
   10455 	fi
   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 -errwarn"
   10467 
   10468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10469 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10470 		cacheid=xorg_cv_cc_flag__errwarn
   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 -errwarn"
   10502 			found="yes"
   10503 		fi
   10504 	fi
   10505 
   10506 
   10507 
   10508 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10509 # activate it with -Werror, so we add it here explicitly.
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 xorg_testset_save_CFLAGS="$CFLAGS"
   10524 
   10525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10530   $as_echo_n "(cached) " >&6
   10531 else
   10532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10533 /* end confdefs.h.  */
   10534 int i;
   10535 _ACEOF
   10536 if ac_fn_c_try_compile "$LINENO"; then :
   10537   xorg_cv_cc_flag_unknown_warning_option=yes
   10538 else
   10539   xorg_cv_cc_flag_unknown_warning_option=no
   10540 fi
   10541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10542 fi
   10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10546 	CFLAGS="$xorg_testset_save_CFLAGS"
   10547 fi
   10548 
   10549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10552 	fi
   10553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10557   $as_echo_n "(cached) " >&6
   10558 else
   10559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10560 /* end confdefs.h.  */
   10561 int i;
   10562 _ACEOF
   10563 if ac_fn_c_try_compile "$LINENO"; then :
   10564   xorg_cv_cc_flag_unused_command_line_argument=yes
   10565 else
   10566   xorg_cv_cc_flag_unused_command_line_argument=no
   10567 fi
   10568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10569 fi
   10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10573 	CFLAGS="$xorg_testset_save_CFLAGS"
   10574 fi
   10575 
   10576 found="no"
   10577 
   10578 	if test $found = "no" ; then
   10579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10581 		fi
   10582 
   10583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10585 		fi
   10586 
   10587 		CFLAGS="$CFLAGS -Werror=attributes"
   10588 
   10589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10590 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10591 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10592 		if eval \${$cacheid+:} false; then :
   10593   $as_echo_n "(cached) " >&6
   10594 else
   10595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10596 /* end confdefs.h.  */
   10597 int i;
   10598 int
   10599 main ()
   10600 {
   10601 
   10602   ;
   10603   return 0;
   10604 }
   10605 _ACEOF
   10606 if ac_fn_c_try_link "$LINENO"; then :
   10607   eval $cacheid=yes
   10608 else
   10609   eval $cacheid=no
   10610 fi
   10611 rm -f core conftest.err conftest.$ac_objext \
   10612     conftest$ac_exeext conftest.$ac_ext
   10613 fi
   10614 
   10615 
   10616 		CFLAGS="$xorg_testset_save_CFLAGS"
   10617 
   10618 		eval supported=\$$cacheid
   10619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10620 $as_echo "$supported" >&6; }
   10621 		if test "$supported" = "yes" ; then
   10622 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10623 			found="yes"
   10624 		fi
   10625 	fi
   10626 
   10627 
   10628 
   10629 if test "x$STRICT_COMPILE" = "xyes"; then
   10630     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10631     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10632 fi
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 cat >>confdefs.h <<_ACEOF
   10640 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10641 _ACEOF
   10642 
   10643 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10644 	if test "x$PVM" = "x"; then
   10645 		PVM="0"
   10646 	fi
   10647 
   10648 cat >>confdefs.h <<_ACEOF
   10649 #define PACKAGE_VERSION_MINOR $PVM
   10650 _ACEOF
   10651 
   10652 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10653 	if test "x$PVP" = "x"; then
   10654 		PVP="0"
   10655 	fi
   10656 
   10657 cat >>confdefs.h <<_ACEOF
   10658 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10659 _ACEOF
   10660 
   10661 
   10662 
   10663 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10664 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10665 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10666 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10667 
   10668 
   10669 
   10670 
   10671 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10672 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10673 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10674 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10675 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 if test x$APP_MAN_SUFFIX = x    ; then
   10683     APP_MAN_SUFFIX=1
   10684 fi
   10685 if test x$APP_MAN_DIR = x    ; then
   10686     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10687 fi
   10688 
   10689 if test x$LIB_MAN_SUFFIX = x    ; then
   10690     LIB_MAN_SUFFIX=3
   10691 fi
   10692 if test x$LIB_MAN_DIR = x    ; then
   10693     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10694 fi
   10695 
   10696 if test x$FILE_MAN_SUFFIX = x    ; then
   10697     case $host_os in
   10698 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10699 	*)		FILE_MAN_SUFFIX=5  ;;
   10700     esac
   10701 fi
   10702 if test x$FILE_MAN_DIR = x    ; then
   10703     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10704 fi
   10705 
   10706 if test x$MISC_MAN_SUFFIX = x    ; then
   10707     case $host_os in
   10708 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10709 	*)		MISC_MAN_SUFFIX=7  ;;
   10710     esac
   10711 fi
   10712 if test x$MISC_MAN_DIR = x    ; then
   10713     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10714 fi
   10715 
   10716 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10717     case $host_os in
   10718 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10719 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10720     esac
   10721 fi
   10722 if test x$DRIVER_MAN_DIR = x    ; then
   10723     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10724 fi
   10725 
   10726 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10727     case $host_os in
   10728 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10729 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10730     esac
   10731 fi
   10732 if test x$ADMIN_MAN_DIR = x    ; then
   10733     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10734 fi
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 XORG_MAN_PAGE="X Version 11"
   10751 
   10752 MAN_SUBSTS="\
   10753 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10754 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10755 	-e 's|__xservername__|Xorg|g' \
   10756 	-e 's|__xconfigfile__|xorg.conf|g' \
   10757 	-e 's|__projectroot__|\$(prefix)|g' \
   10758 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10759 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10760 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10761 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10762 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10763 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10764 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10765 
   10766 
   10767 
   10768 # Check whether --enable-silent-rules was given.
   10769 if test "${enable_silent_rules+set}" = set; then :
   10770   enableval=$enable_silent_rules;
   10771 fi
   10772 
   10773 case $enable_silent_rules in # (((
   10774   yes) AM_DEFAULT_VERBOSITY=0;;
   10775    no) AM_DEFAULT_VERBOSITY=1;;
   10776     *) AM_DEFAULT_VERBOSITY=0;;
   10777 esac
   10778 am_make=${MAKE-make}
   10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10780 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10781 if ${am_cv_make_support_nested_variables+:} false; then :
   10782   $as_echo_n "(cached) " >&6
   10783 else
   10784   if $as_echo 'TRUE=$(BAR$(V))
   10785 BAR0=false
   10786 BAR1=true
   10787 V=1
   10788 am__doit:
   10789 	@$(TRUE)
   10790 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10791   am_cv_make_support_nested_variables=yes
   10792 else
   10793   am_cv_make_support_nested_variables=no
   10794 fi
   10795 fi
   10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10797 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10798 if test $am_cv_make_support_nested_variables = yes; then
   10799     AM_V='$(V)'
   10800   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10801 else
   10802   AM_V=$AM_DEFAULT_VERBOSITY
   10803   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10804 fi
   10805 AM_BACKSLASH='\'
   10806 
   10807 
   10808 
   10809 for ac_func in asprintf
   10810 do :
   10811   ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   10812 if test "x$ac_cv_func_asprintf" = xyes; then :
   10813   cat >>confdefs.h <<_ACEOF
   10814 #define HAVE_ASPRINTF 1
   10815 _ACEOF
   10816 
   10817 fi
   10818 done
   10819 
   10820 
   10821 # Checks for pkg-config packages
   10822 
   10823 pkg_failed=no
   10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBPRINT" >&5
   10825 $as_echo_n "checking for XKBPRINT... " >&6; }
   10826 
   10827 if test -n "$XKBPRINT_CFLAGS"; then
   10828     pkg_cv_XKBPRINT_CFLAGS="$XKBPRINT_CFLAGS"
   10829  elif test -n "$PKG_CONFIG"; then
   10830     if test -n "$PKG_CONFIG" && \
   10831     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 xproto >= 7.0.17\""; } >&5
   10832   ($PKG_CONFIG --exists --print-errors "xkbfile x11 xproto >= 7.0.17") 2>&5
   10833   ac_status=$?
   10834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10835   test $ac_status = 0; }; then
   10836   pkg_cv_XKBPRINT_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11 xproto >= 7.0.17" 2>/dev/null`
   10837 else
   10838   pkg_failed=yes
   10839 fi
   10840  else
   10841     pkg_failed=untried
   10842 fi
   10843 if test -n "$XKBPRINT_LIBS"; then
   10844     pkg_cv_XKBPRINT_LIBS="$XKBPRINT_LIBS"
   10845  elif test -n "$PKG_CONFIG"; then
   10846     if test -n "$PKG_CONFIG" && \
   10847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile x11 xproto >= 7.0.17\""; } >&5
   10848   ($PKG_CONFIG --exists --print-errors "xkbfile x11 xproto >= 7.0.17") 2>&5
   10849   ac_status=$?
   10850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10851   test $ac_status = 0; }; then
   10852   pkg_cv_XKBPRINT_LIBS=`$PKG_CONFIG --libs "xkbfile x11 xproto >= 7.0.17" 2>/dev/null`
   10853 else
   10854   pkg_failed=yes
   10855 fi
   10856  else
   10857     pkg_failed=untried
   10858 fi
   10859 
   10860 
   10861 
   10862 if test $pkg_failed = yes; then
   10863 
   10864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10865         _pkg_short_errors_supported=yes
   10866 else
   10867         _pkg_short_errors_supported=no
   10868 fi
   10869         if test $_pkg_short_errors_supported = yes; then
   10870 	        XKBPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile x11 xproto >= 7.0.17" 2>&1`
   10871         else
   10872 	        XKBPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile x11 xproto >= 7.0.17" 2>&1`
   10873         fi
   10874 	# Put the nasty error message in config.log where it belongs
   10875 	echo "$XKBPRINT_PKG_ERRORS" >&5
   10876 
   10877 	as_fn_error $? "Package requirements (xkbfile x11 xproto >= 7.0.17) were not met:
   10878 
   10879 $XKBPRINT_PKG_ERRORS
   10880 
   10881 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10882 installed software in a non-standard prefix.
   10883 
   10884 Alternatively, you may set the environment variables XKBPRINT_CFLAGS
   10885 and XKBPRINT_LIBS to avoid the need to call pkg-config.
   10886 See the pkg-config man page for more details.
   10887 " "$LINENO" 5
   10888 elif test $pkg_failed = untried; then
   10889 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10891 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10892 is in your PATH or set the PKG_CONFIG environment variable to the full
   10893 path to pkg-config.
   10894 
   10895 Alternatively, you may set the environment variables XKBPRINT_CFLAGS
   10896 and XKBPRINT_LIBS to avoid the need to call pkg-config.
   10897 See the pkg-config man page for more details.
   10898 
   10899 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10900 See \`config.log' for more details" "$LINENO" 5; }
   10901 else
   10902 	XKBPRINT_CFLAGS=$pkg_cv_XKBPRINT_CFLAGS
   10903 	XKBPRINT_LIBS=$pkg_cv_XKBPRINT_LIBS
   10904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10905 $as_echo "yes" >&6; }
   10906 	:
   10907 fi
   10908 
   10909 ac_config_files="$ac_config_files Makefile man/Makefile"
   10910 
   10911 cat >confcache <<\_ACEOF
   10912 # This file is a shell script that caches the results of configure
   10913 # tests run on this system so they can be shared between configure
   10914 # scripts and configure runs, see configure's option --config-cache.
   10915 # It is not useful on other systems.  If it contains results you don't
   10916 # want to keep, you may remove or edit it.
   10917 #
   10918 # config.status only pays attention to the cache file if you give it
   10919 # the --recheck option to rerun configure.
   10920 #
   10921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10923 # following values.
   10924 
   10925 _ACEOF
   10926 
   10927 # The following way of writing the cache mishandles newlines in values,
   10928 # but we know of no workaround that is simple, portable, and efficient.
   10929 # So, we kill variables containing newlines.
   10930 # Ultrix sh set writes to stderr and can't be redirected directly,
   10931 # and sets the high bit in the cache file unless we assign to the vars.
   10932 (
   10933   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10934     eval ac_val=\$$ac_var
   10935     case $ac_val in #(
   10936     *${as_nl}*)
   10937       case $ac_var in #(
   10938       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10940       esac
   10941       case $ac_var in #(
   10942       _ | IFS | as_nl) ;; #(
   10943       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10944       *) { eval $ac_var=; unset $ac_var;} ;;
   10945       esac ;;
   10946     esac
   10947   done
   10948 
   10949   (set) 2>&1 |
   10950     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10951     *${as_nl}ac_space=\ *)
   10952       # `set' does not quote correctly, so add quotes: double-quote
   10953       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10954       sed -n \
   10955 	"s/'/'\\\\''/g;
   10956 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10957       ;; #(
   10958     *)
   10959       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10960       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10961       ;;
   10962     esac |
   10963     sort
   10964 ) |
   10965   sed '
   10966      /^ac_cv_env_/b end
   10967      t clear
   10968      :clear
   10969      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10970      t end
   10971      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10972      :end' >>confcache
   10973 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10974   if test -w "$cache_file"; then
   10975     if test "x$cache_file" != "x/dev/null"; then
   10976       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10977 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10978       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10979 	cat confcache >"$cache_file"
   10980       else
   10981         case $cache_file in #(
   10982         */* | ?:*)
   10983 	  mv -f confcache "$cache_file"$$ &&
   10984 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10985         *)
   10986 	  mv -f confcache "$cache_file" ;;
   10987 	esac
   10988       fi
   10989     fi
   10990   else
   10991     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10992 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10993   fi
   10994 fi
   10995 rm -f confcache
   10996 
   10997 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10998 # Let make expand exec_prefix.
   10999 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11000 
   11001 DEFS=-DHAVE_CONFIG_H
   11002 
   11003 ac_libobjs=
   11004 ac_ltlibobjs=
   11005 U=
   11006 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11007   # 1. Remove the extension, and $U if already installed.
   11008   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11009   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11010   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11011   #    will be set to the directory where LIBOBJS objects are built.
   11012   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11013   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11014 done
   11015 LIBOBJS=$ac_libobjs
   11016 
   11017 LTLIBOBJS=$ac_ltlibobjs
   11018 
   11019 
   11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11021 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11022    if test -n "$am_sleep_pid"; then
   11023      # Hide warnings about reused PIDs.
   11024      wait $am_sleep_pid 2>/dev/null
   11025    fi
   11026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11027 $as_echo "done" >&6; }
   11028 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11029   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11031 fi
   11032 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11033   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11035 fi
   11036  if test -n "$EXEEXT"; then
   11037   am__EXEEXT_TRUE=
   11038   am__EXEEXT_FALSE='#'
   11039 else
   11040   am__EXEEXT_TRUE='#'
   11041   am__EXEEXT_FALSE=
   11042 fi
   11043 
   11044 
   11045 : "${CONFIG_STATUS=./config.status}"
   11046 ac_write_fail=0
   11047 ac_clean_files_save=$ac_clean_files
   11048 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11050 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11051 as_write_fail=0
   11052 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11053 #! $SHELL
   11054 # Generated by $as_me.
   11055 # Run this file to recreate the current configuration.
   11056 # Compiler output produced by configure, useful for debugging
   11057 # configure, is in config.log if it exists.
   11058 
   11059 debug=false
   11060 ac_cs_recheck=false
   11061 ac_cs_silent=false
   11062 
   11063 SHELL=\${CONFIG_SHELL-$SHELL}
   11064 export SHELL
   11065 _ASEOF
   11066 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11067 ## -------------------- ##
   11068 ## M4sh Initialization. ##
   11069 ## -------------------- ##
   11070 
   11071 # Be more Bourne compatible
   11072 DUALCASE=1; export DUALCASE # for MKS sh
   11073 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11074   emulate sh
   11075   NULLCMD=:
   11076   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11077   # is contrary to our usage.  Disable this feature.
   11078   alias -g '${1+"$@"}'='"$@"'
   11079   setopt NO_GLOB_SUBST
   11080 else
   11081   case `(set -o) 2>/dev/null` in #(
   11082   *posix*) :
   11083     set -o posix ;; #(
   11084   *) :
   11085      ;;
   11086 esac
   11087 fi
   11088 
   11089 
   11090 as_nl='
   11091 '
   11092 export as_nl
   11093 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11094 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11096 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11097 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11098 # but without wasting forks for bash or zsh.
   11099 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11100     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11101   as_echo='print -r --'
   11102   as_echo_n='print -rn --'
   11103 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11104   as_echo='printf %s\n'
   11105   as_echo_n='printf %s'
   11106 else
   11107   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11108     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11109     as_echo_n='/usr/ucb/echo -n'
   11110   else
   11111     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11112     as_echo_n_body='eval
   11113       arg=$1;
   11114       case $arg in #(
   11115       *"$as_nl"*)
   11116 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11117 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11118       esac;
   11119       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11120     '
   11121     export as_echo_n_body
   11122     as_echo_n='sh -c $as_echo_n_body as_echo'
   11123   fi
   11124   export as_echo_body
   11125   as_echo='sh -c $as_echo_body as_echo'
   11126 fi
   11127 
   11128 # The user is always right.
   11129 if test "${PATH_SEPARATOR+set}" != set; then
   11130   PATH_SEPARATOR=:
   11131   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11132     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11133       PATH_SEPARATOR=';'
   11134   }
   11135 fi
   11136 
   11137 
   11138 # IFS
   11139 # We need space, tab and new line, in precisely that order.  Quoting is
   11140 # there to prevent editors from complaining about space-tab.
   11141 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11142 # splitting by setting IFS to empty value.)
   11143 IFS=" ""	$as_nl"
   11144 
   11145 # Find who we are.  Look in the path if we contain no directory separator.
   11146 as_myself=
   11147 case $0 in #((
   11148   *[\\/]* ) as_myself=$0 ;;
   11149   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11150 for as_dir in $PATH
   11151 do
   11152   IFS=$as_save_IFS
   11153   test -z "$as_dir" && as_dir=.
   11154     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11155   done
   11156 IFS=$as_save_IFS
   11157 
   11158      ;;
   11159 esac
   11160 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11161 # in which case we are not to be found in the path.
   11162 if test "x$as_myself" = x; then
   11163   as_myself=$0
   11164 fi
   11165 if test ! -f "$as_myself"; then
   11166   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11167   exit 1
   11168 fi
   11169 
   11170 # Unset variables that we do not need and which cause bugs (e.g. in
   11171 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11172 # suppresses any "Segmentation fault" message there.  '((' could
   11173 # trigger a bug in pdksh 5.2.14.
   11174 for as_var in BASH_ENV ENV MAIL MAILPATH
   11175 do eval test x\${$as_var+set} = xset \
   11176   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11177 done
   11178 PS1='$ '
   11179 PS2='> '
   11180 PS4='+ '
   11181 
   11182 # NLS nuisances.
   11183 LC_ALL=C
   11184 export LC_ALL
   11185 LANGUAGE=C
   11186 export LANGUAGE
   11187 
   11188 # CDPATH.
   11189 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11190 
   11191 
   11192 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11193 # ----------------------------------------
   11194 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11195 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11196 # script with STATUS, using 1 if that was 0.
   11197 as_fn_error ()
   11198 {
   11199   as_status=$1; test $as_status -eq 0 && as_status=1
   11200   if test "$4"; then
   11201     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11202     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11203   fi
   11204   $as_echo "$as_me: error: $2" >&2
   11205   as_fn_exit $as_status
   11206 } # as_fn_error
   11207 
   11208 
   11209 # as_fn_set_status STATUS
   11210 # -----------------------
   11211 # Set $? to STATUS, without forking.
   11212 as_fn_set_status ()
   11213 {
   11214   return $1
   11215 } # as_fn_set_status
   11216 
   11217 # as_fn_exit STATUS
   11218 # -----------------
   11219 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11220 as_fn_exit ()
   11221 {
   11222   set +e
   11223   as_fn_set_status $1
   11224   exit $1
   11225 } # as_fn_exit
   11226 
   11227 # as_fn_unset VAR
   11228 # ---------------
   11229 # Portably unset VAR.
   11230 as_fn_unset ()
   11231 {
   11232   { eval $1=; unset $1;}
   11233 }
   11234 as_unset=as_fn_unset
   11235 # as_fn_append VAR VALUE
   11236 # ----------------------
   11237 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11238 # advantage of any shell optimizations that allow amortized linear growth over
   11239 # repeated appends, instead of the typical quadratic growth present in naive
   11240 # implementations.
   11241 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11242   eval 'as_fn_append ()
   11243   {
   11244     eval $1+=\$2
   11245   }'
   11246 else
   11247   as_fn_append ()
   11248   {
   11249     eval $1=\$$1\$2
   11250   }
   11251 fi # as_fn_append
   11252 
   11253 # as_fn_arith ARG...
   11254 # ------------------
   11255 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11256 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11257 # must be portable across $(()) and expr.
   11258 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11259   eval 'as_fn_arith ()
   11260   {
   11261     as_val=$(( $* ))
   11262   }'
   11263 else
   11264   as_fn_arith ()
   11265   {
   11266     as_val=`expr "$@" || test $? -eq 1`
   11267   }
   11268 fi # as_fn_arith
   11269 
   11270 
   11271 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11272    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11273   as_expr=expr
   11274 else
   11275   as_expr=false
   11276 fi
   11277 
   11278 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11279   as_basename=basename
   11280 else
   11281   as_basename=false
   11282 fi
   11283 
   11284 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11285   as_dirname=dirname
   11286 else
   11287   as_dirname=false
   11288 fi
   11289 
   11290 as_me=`$as_basename -- "$0" ||
   11291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11292 	 X"$0" : 'X\(//\)$' \| \
   11293 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11294 $as_echo X/"$0" |
   11295     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11296 	    s//\1/
   11297 	    q
   11298 	  }
   11299 	  /^X\/\(\/\/\)$/{
   11300 	    s//\1/
   11301 	    q
   11302 	  }
   11303 	  /^X\/\(\/\).*/{
   11304 	    s//\1/
   11305 	    q
   11306 	  }
   11307 	  s/.*/./; q'`
   11308 
   11309 # Avoid depending upon Character Ranges.
   11310 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11311 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11312 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11313 as_cr_digits='0123456789'
   11314 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11315 
   11316 ECHO_C= ECHO_N= ECHO_T=
   11317 case `echo -n x` in #(((((
   11318 -n*)
   11319   case `echo 'xy\c'` in
   11320   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11321   xy)  ECHO_C='\c';;
   11322   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11323        ECHO_T='	';;
   11324   esac;;
   11325 *)
   11326   ECHO_N='-n';;
   11327 esac
   11328 
   11329 rm -f conf$$ conf$$.exe conf$$.file
   11330 if test -d conf$$.dir; then
   11331   rm -f conf$$.dir/conf$$.file
   11332 else
   11333   rm -f conf$$.dir
   11334   mkdir conf$$.dir 2>/dev/null
   11335 fi
   11336 if (echo >conf$$.file) 2>/dev/null; then
   11337   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11338     as_ln_s='ln -s'
   11339     # ... but there are two gotchas:
   11340     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11341     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11342     # In both cases, we have to default to `cp -pR'.
   11343     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11344       as_ln_s='cp -pR'
   11345   elif ln conf$$.file conf$$ 2>/dev/null; then
   11346     as_ln_s=ln
   11347   else
   11348     as_ln_s='cp -pR'
   11349   fi
   11350 else
   11351   as_ln_s='cp -pR'
   11352 fi
   11353 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11354 rmdir conf$$.dir 2>/dev/null
   11355 
   11356 
   11357 # as_fn_mkdir_p
   11358 # -------------
   11359 # Create "$as_dir" as a directory, including parents if necessary.
   11360 as_fn_mkdir_p ()
   11361 {
   11362 
   11363   case $as_dir in #(
   11364   -*) as_dir=./$as_dir;;
   11365   esac
   11366   test -d "$as_dir" || eval $as_mkdir_p || {
   11367     as_dirs=
   11368     while :; do
   11369       case $as_dir in #(
   11370       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11371       *) as_qdir=$as_dir;;
   11372       esac
   11373       as_dirs="'$as_qdir' $as_dirs"
   11374       as_dir=`$as_dirname -- "$as_dir" ||
   11375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11376 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11377 	 X"$as_dir" : 'X\(//\)$' \| \
   11378 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11379 $as_echo X"$as_dir" |
   11380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11381 	    s//\1/
   11382 	    q
   11383 	  }
   11384 	  /^X\(\/\/\)[^/].*/{
   11385 	    s//\1/
   11386 	    q
   11387 	  }
   11388 	  /^X\(\/\/\)$/{
   11389 	    s//\1/
   11390 	    q
   11391 	  }
   11392 	  /^X\(\/\).*/{
   11393 	    s//\1/
   11394 	    q
   11395 	  }
   11396 	  s/.*/./; q'`
   11397       test -d "$as_dir" && break
   11398     done
   11399     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11400   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11401 
   11402 
   11403 } # as_fn_mkdir_p
   11404 if mkdir -p . 2>/dev/null; then
   11405   as_mkdir_p='mkdir -p "$as_dir"'
   11406 else
   11407   test -d ./-p && rmdir ./-p
   11408   as_mkdir_p=false
   11409 fi
   11410 
   11411 
   11412 # as_fn_executable_p FILE
   11413 # -----------------------
   11414 # Test if FILE is an executable regular file.
   11415 as_fn_executable_p ()
   11416 {
   11417   test -f "$1" && test -x "$1"
   11418 } # as_fn_executable_p
   11419 as_test_x='test -x'
   11420 as_executable_p=as_fn_executable_p
   11421 
   11422 # Sed expression to map a string onto a valid CPP name.
   11423 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11424 
   11425 # Sed expression to map a string onto a valid variable name.
   11426 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11427 
   11428 
   11429 exec 6>&1
   11430 ## ----------------------------------- ##
   11431 ## Main body of $CONFIG_STATUS script. ##
   11432 ## ----------------------------------- ##
   11433 _ASEOF
   11434 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11435 
   11436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11437 # Save the log message, to keep $0 and so on meaningful, and to
   11438 # report actual input values of CONFIG_FILES etc. instead of their
   11439 # values after options handling.
   11440 ac_log="
   11441 This file was extended by xkbprint $as_me 1.0.4, which was
   11442 generated by GNU Autoconf 2.69.  Invocation command line was
   11443 
   11444   CONFIG_FILES    = $CONFIG_FILES
   11445   CONFIG_HEADERS  = $CONFIG_HEADERS
   11446   CONFIG_LINKS    = $CONFIG_LINKS
   11447   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11448   $ $0 $@
   11449 
   11450 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11451 "
   11452 
   11453 _ACEOF
   11454 
   11455 case $ac_config_files in *"
   11456 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11457 esac
   11458 
   11459 case $ac_config_headers in *"
   11460 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11461 esac
   11462 
   11463 
   11464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11465 # Files that config.status was made for.
   11466 config_files="$ac_config_files"
   11467 config_headers="$ac_config_headers"
   11468 config_commands="$ac_config_commands"
   11469 
   11470 _ACEOF
   11471 
   11472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11473 ac_cs_usage="\
   11474 \`$as_me' instantiates files and other configuration actions
   11475 from templates according to the current configuration.  Unless the files
   11476 and actions are specified as TAGs, all are instantiated by default.
   11477 
   11478 Usage: $0 [OPTION]... [TAG]...
   11479 
   11480   -h, --help       print this help, then exit
   11481   -V, --version    print version number and configuration settings, then exit
   11482       --config     print configuration, then exit
   11483   -q, --quiet, --silent
   11484                    do not print progress messages
   11485   -d, --debug      don't remove temporary files
   11486       --recheck    update $as_me by reconfiguring in the same conditions
   11487       --file=FILE[:TEMPLATE]
   11488                    instantiate the configuration file FILE
   11489       --header=FILE[:TEMPLATE]
   11490                    instantiate the configuration header FILE
   11491 
   11492 Configuration files:
   11493 $config_files
   11494 
   11495 Configuration headers:
   11496 $config_headers
   11497 
   11498 Configuration commands:
   11499 $config_commands
   11500 
   11501 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11502 
   11503 _ACEOF
   11504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11505 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11506 ac_cs_version="\\
   11507 xkbprint config.status 1.0.4
   11508 configured by $0, generated by GNU Autoconf 2.69,
   11509   with options \\"\$ac_cs_config\\"
   11510 
   11511 Copyright (C) 2012 Free Software Foundation, Inc.
   11512 This config.status script is free software; the Free Software Foundation
   11513 gives unlimited permission to copy, distribute and modify it."
   11514 
   11515 ac_pwd='$ac_pwd'
   11516 srcdir='$srcdir'
   11517 INSTALL='$INSTALL'
   11518 MKDIR_P='$MKDIR_P'
   11519 AWK='$AWK'
   11520 test -n "\$AWK" || AWK=awk
   11521 _ACEOF
   11522 
   11523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11524 # The default lists apply if the user does not specify any file.
   11525 ac_need_defaults=:
   11526 while test $# != 0
   11527 do
   11528   case $1 in
   11529   --*=?*)
   11530     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11531     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11532     ac_shift=:
   11533     ;;
   11534   --*=)
   11535     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11536     ac_optarg=
   11537     ac_shift=:
   11538     ;;
   11539   *)
   11540     ac_option=$1
   11541     ac_optarg=$2
   11542     ac_shift=shift
   11543     ;;
   11544   esac
   11545 
   11546   case $ac_option in
   11547   # Handling of the options.
   11548   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11549     ac_cs_recheck=: ;;
   11550   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11551     $as_echo "$ac_cs_version"; exit ;;
   11552   --config | --confi | --conf | --con | --co | --c )
   11553     $as_echo "$ac_cs_config"; exit ;;
   11554   --debug | --debu | --deb | --de | --d | -d )
   11555     debug=: ;;
   11556   --file | --fil | --fi | --f )
   11557     $ac_shift
   11558     case $ac_optarg in
   11559     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11560     '') as_fn_error $? "missing file argument" ;;
   11561     esac
   11562     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11563     ac_need_defaults=false;;
   11564   --header | --heade | --head | --hea )
   11565     $ac_shift
   11566     case $ac_optarg in
   11567     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11568     esac
   11569     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11570     ac_need_defaults=false;;
   11571   --he | --h)
   11572     # Conflict between --help and --header
   11573     as_fn_error $? "ambiguous option: \`$1'
   11574 Try \`$0 --help' for more information.";;
   11575   --help | --hel | -h )
   11576     $as_echo "$ac_cs_usage"; exit ;;
   11577   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11578   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11579     ac_cs_silent=: ;;
   11580 
   11581   # This is an error.
   11582   -*) as_fn_error $? "unrecognized option: \`$1'
   11583 Try \`$0 --help' for more information." ;;
   11584 
   11585   *) as_fn_append ac_config_targets " $1"
   11586      ac_need_defaults=false ;;
   11587 
   11588   esac
   11589   shift
   11590 done
   11591 
   11592 ac_configure_extra_args=
   11593 
   11594 if $ac_cs_silent; then
   11595   exec 6>/dev/null
   11596   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11597 fi
   11598 
   11599 _ACEOF
   11600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11601 if \$ac_cs_recheck; then
   11602   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11603   shift
   11604   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11605   CONFIG_SHELL='$SHELL'
   11606   export CONFIG_SHELL
   11607   exec "\$@"
   11608 fi
   11609 
   11610 _ACEOF
   11611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11612 exec 5>>config.log
   11613 {
   11614   echo
   11615   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11616 ## Running $as_me. ##
   11617 _ASBOX
   11618   $as_echo "$ac_log"
   11619 } >&5
   11620 
   11621 _ACEOF
   11622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11623 #
   11624 # INIT-COMMANDS
   11625 #
   11626 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11627 
   11628 _ACEOF
   11629 
   11630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11631 
   11632 # Handling of arguments.
   11633 for ac_config_target in $ac_config_targets
   11634 do
   11635   case $ac_config_target in
   11636     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11637     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11638     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11639     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11640 
   11641   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11642   esac
   11643 done
   11644 
   11645 
   11646 # If the user did not use the arguments to specify the items to instantiate,
   11647 # then the envvar interface is used.  Set only those that are not.
   11648 # We use the long form for the default assignment because of an extremely
   11649 # bizarre bug on SunOS 4.1.3.
   11650 if $ac_need_defaults; then
   11651   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11652   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11653   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11654 fi
   11655 
   11656 # Have a temporary directory for convenience.  Make it in the build tree
   11657 # simply because there is no reason against having it here, and in addition,
   11658 # creating and moving files from /tmp can sometimes cause problems.
   11659 # Hook for its removal unless debugging.
   11660 # Note that there is a small window in which the directory will not be cleaned:
   11661 # after its creation but before its name has been assigned to `$tmp'.
   11662 $debug ||
   11663 {
   11664   tmp= ac_tmp=
   11665   trap 'exit_status=$?
   11666   : "${ac_tmp:=$tmp}"
   11667   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11668 ' 0
   11669   trap 'as_fn_exit 1' 1 2 13 15
   11670 }
   11671 # Create a (secure) tmp directory for tmp files.
   11672 
   11673 {
   11674   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11675   test -d "$tmp"
   11676 }  ||
   11677 {
   11678   tmp=./conf$$-$RANDOM
   11679   (umask 077 && mkdir "$tmp")
   11680 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11681 ac_tmp=$tmp
   11682 
   11683 # Set up the scripts for CONFIG_FILES section.
   11684 # No need to generate them if there are no CONFIG_FILES.
   11685 # This happens for instance with `./config.status config.h'.
   11686 if test -n "$CONFIG_FILES"; then
   11687 
   11688 
   11689 ac_cr=`echo X | tr X '\015'`
   11690 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11691 # But we know of no other shell where ac_cr would be empty at this
   11692 # point, so we can use a bashism as a fallback.
   11693 if test "x$ac_cr" = x; then
   11694   eval ac_cr=\$\'\\r\'
   11695 fi
   11696 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11697 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11698   ac_cs_awk_cr='\\r'
   11699 else
   11700   ac_cs_awk_cr=$ac_cr
   11701 fi
   11702 
   11703 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11704 _ACEOF
   11705 
   11706 
   11707 {
   11708   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11709   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11710   echo "_ACEOF"
   11711 } >conf$$subs.sh ||
   11712   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11713 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11714 ac_delim='%!_!# '
   11715 for ac_last_try in false false false false false :; do
   11716   . ./conf$$subs.sh ||
   11717     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11718 
   11719   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11720   if test $ac_delim_n = $ac_delim_num; then
   11721     break
   11722   elif $ac_last_try; then
   11723     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11724   else
   11725     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11726   fi
   11727 done
   11728 rm -f conf$$subs.sh
   11729 
   11730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11731 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11732 _ACEOF
   11733 sed -n '
   11734 h
   11735 s/^/S["/; s/!.*/"]=/
   11736 p
   11737 g
   11738 s/^[^!]*!//
   11739 :repl
   11740 t repl
   11741 s/'"$ac_delim"'$//
   11742 t delim
   11743 :nl
   11744 h
   11745 s/\(.\{148\}\)..*/\1/
   11746 t more1
   11747 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11748 p
   11749 n
   11750 b repl
   11751 :more1
   11752 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11753 p
   11754 g
   11755 s/.\{148\}//
   11756 t nl
   11757 :delim
   11758 h
   11759 s/\(.\{148\}\)..*/\1/
   11760 t more2
   11761 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11762 p
   11763 b
   11764 :more2
   11765 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11766 p
   11767 g
   11768 s/.\{148\}//
   11769 t delim
   11770 ' <conf$$subs.awk | sed '
   11771 /^[^""]/{
   11772   N
   11773   s/\n//
   11774 }
   11775 ' >>$CONFIG_STATUS || ac_write_fail=1
   11776 rm -f conf$$subs.awk
   11777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11778 _ACAWK
   11779 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11780   for (key in S) S_is_set[key] = 1
   11781   FS = ""
   11782 
   11783 }
   11784 {
   11785   line = $ 0
   11786   nfields = split(line, field, "@")
   11787   substed = 0
   11788   len = length(field[1])
   11789   for (i = 2; i < nfields; i++) {
   11790     key = field[i]
   11791     keylen = length(key)
   11792     if (S_is_set[key]) {
   11793       value = S[key]
   11794       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11795       len += length(value) + length(field[++i])
   11796       substed = 1
   11797     } else
   11798       len += 1 + keylen
   11799   }
   11800 
   11801   print line
   11802 }
   11803 
   11804 _ACAWK
   11805 _ACEOF
   11806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11807 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11808   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11809 else
   11810   cat
   11811 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11812   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11813 _ACEOF
   11814 
   11815 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11816 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11817 # trailing colons and then remove the whole line if VPATH becomes empty
   11818 # (actually we leave an empty line to preserve line numbers).
   11819 if test "x$srcdir" = x.; then
   11820   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11821 h
   11822 s///
   11823 s/^/:/
   11824 s/[	 ]*$/:/
   11825 s/:\$(srcdir):/:/g
   11826 s/:\${srcdir}:/:/g
   11827 s/:@srcdir@:/:/g
   11828 s/^:*//
   11829 s/:*$//
   11830 x
   11831 s/\(=[	 ]*\).*/\1/
   11832 G
   11833 s/\n//
   11834 s/^[^=]*=[	 ]*$//
   11835 }'
   11836 fi
   11837 
   11838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11839 fi # test -n "$CONFIG_FILES"
   11840 
   11841 # Set up the scripts for CONFIG_HEADERS section.
   11842 # No need to generate them if there are no CONFIG_HEADERS.
   11843 # This happens for instance with `./config.status Makefile'.
   11844 if test -n "$CONFIG_HEADERS"; then
   11845 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11846 BEGIN {
   11847 _ACEOF
   11848 
   11849 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11850 # here-document in config.status, that substitutes the proper values into
   11851 # config.h.in to produce config.h.
   11852 
   11853 # Create a delimiter string that does not exist in confdefs.h, to ease
   11854 # handling of long lines.
   11855 ac_delim='%!_!# '
   11856 for ac_last_try in false false :; do
   11857   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11858   if test -z "$ac_tt"; then
   11859     break
   11860   elif $ac_last_try; then
   11861     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11862   else
   11863     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11864   fi
   11865 done
   11866 
   11867 # For the awk script, D is an array of macro values keyed by name,
   11868 # likewise P contains macro parameters if any.  Preserve backslash
   11869 # newline sequences.
   11870 
   11871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11872 sed -n '
   11873 s/.\{148\}/&'"$ac_delim"'/g
   11874 t rset
   11875 :rset
   11876 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11877 t def
   11878 d
   11879 :def
   11880 s/\\$//
   11881 t bsnl
   11882 s/["\\]/\\&/g
   11883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11884 D["\1"]=" \3"/p
   11885 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11886 d
   11887 :bsnl
   11888 s/["\\]/\\&/g
   11889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11890 D["\1"]=" \3\\\\\\n"\\/p
   11891 t cont
   11892 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11893 t cont
   11894 d
   11895 :cont
   11896 n
   11897 s/.\{148\}/&'"$ac_delim"'/g
   11898 t clear
   11899 :clear
   11900 s/\\$//
   11901 t bsnlc
   11902 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11903 d
   11904 :bsnlc
   11905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11906 b cont
   11907 ' <confdefs.h | sed '
   11908 s/'"$ac_delim"'/"\\\
   11909 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11910 
   11911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11912   for (key in D) D_is_set[key] = 1
   11913   FS = ""
   11914 }
   11915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11916   line = \$ 0
   11917   split(line, arg, " ")
   11918   if (arg[1] == "#") {
   11919     defundef = arg[2]
   11920     mac1 = arg[3]
   11921   } else {
   11922     defundef = substr(arg[1], 2)
   11923     mac1 = arg[2]
   11924   }
   11925   split(mac1, mac2, "(") #)
   11926   macro = mac2[1]
   11927   prefix = substr(line, 1, index(line, defundef) - 1)
   11928   if (D_is_set[macro]) {
   11929     # Preserve the white space surrounding the "#".
   11930     print prefix "define", macro P[macro] D[macro]
   11931     next
   11932   } else {
   11933     # Replace #undef with comments.  This is necessary, for example,
   11934     # in the case of _POSIX_SOURCE, which is predefined and required
   11935     # on some systems where configure will not decide to define it.
   11936     if (defundef == "undef") {
   11937       print "/*", prefix defundef, macro, "*/"
   11938       next
   11939     }
   11940   }
   11941 }
   11942 { print }
   11943 _ACAWK
   11944 _ACEOF
   11945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11946   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11947 fi # test -n "$CONFIG_HEADERS"
   11948 
   11949 
   11950 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11951 shift
   11952 for ac_tag
   11953 do
   11954   case $ac_tag in
   11955   :[FHLC]) ac_mode=$ac_tag; continue;;
   11956   esac
   11957   case $ac_mode$ac_tag in
   11958   :[FHL]*:*);;
   11959   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11960   :[FH]-) ac_tag=-:-;;
   11961   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11962   esac
   11963   ac_save_IFS=$IFS
   11964   IFS=:
   11965   set x $ac_tag
   11966   IFS=$ac_save_IFS
   11967   shift
   11968   ac_file=$1
   11969   shift
   11970 
   11971   case $ac_mode in
   11972   :L) ac_source=$1;;
   11973   :[FH])
   11974     ac_file_inputs=
   11975     for ac_f
   11976     do
   11977       case $ac_f in
   11978       -) ac_f="$ac_tmp/stdin";;
   11979       *) # Look for the file first in the build tree, then in the source tree
   11980 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11981 	 # because $ac_f cannot contain `:'.
   11982 	 test -f "$ac_f" ||
   11983 	   case $ac_f in
   11984 	   [\\/$]*) false;;
   11985 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11986 	   esac ||
   11987 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11988       esac
   11989       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11990       as_fn_append ac_file_inputs " '$ac_f'"
   11991     done
   11992 
   11993     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11994     # use $as_me), people would be surprised to read:
   11995     #    /* config.h.  Generated by config.status.  */
   11996     configure_input='Generated from '`
   11997 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11998 	`' by configure.'
   11999     if test x"$ac_file" != x-; then
   12000       configure_input="$ac_file.  $configure_input"
   12001       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12002 $as_echo "$as_me: creating $ac_file" >&6;}
   12003     fi
   12004     # Neutralize special characters interpreted by sed in replacement strings.
   12005     case $configure_input in #(
   12006     *\&* | *\|* | *\\* )
   12007        ac_sed_conf_input=`$as_echo "$configure_input" |
   12008        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12009     *) ac_sed_conf_input=$configure_input;;
   12010     esac
   12011 
   12012     case $ac_tag in
   12013     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12014       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12015     esac
   12016     ;;
   12017   esac
   12018 
   12019   ac_dir=`$as_dirname -- "$ac_file" ||
   12020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12021 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12022 	 X"$ac_file" : 'X\(//\)$' \| \
   12023 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12024 $as_echo X"$ac_file" |
   12025     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12026 	    s//\1/
   12027 	    q
   12028 	  }
   12029 	  /^X\(\/\/\)[^/].*/{
   12030 	    s//\1/
   12031 	    q
   12032 	  }
   12033 	  /^X\(\/\/\)$/{
   12034 	    s//\1/
   12035 	    q
   12036 	  }
   12037 	  /^X\(\/\).*/{
   12038 	    s//\1/
   12039 	    q
   12040 	  }
   12041 	  s/.*/./; q'`
   12042   as_dir="$ac_dir"; as_fn_mkdir_p
   12043   ac_builddir=.
   12044 
   12045 case "$ac_dir" in
   12046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12047 *)
   12048   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12049   # A ".." for each directory in $ac_dir_suffix.
   12050   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12051   case $ac_top_builddir_sub in
   12052   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12053   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12054   esac ;;
   12055 esac
   12056 ac_abs_top_builddir=$ac_pwd
   12057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12058 # for backward compatibility:
   12059 ac_top_builddir=$ac_top_build_prefix
   12060 
   12061 case $srcdir in
   12062   .)  # We are building in place.
   12063     ac_srcdir=.
   12064     ac_top_srcdir=$ac_top_builddir_sub
   12065     ac_abs_top_srcdir=$ac_pwd ;;
   12066   [\\/]* | ?:[\\/]* )  # Absolute name.
   12067     ac_srcdir=$srcdir$ac_dir_suffix;
   12068     ac_top_srcdir=$srcdir
   12069     ac_abs_top_srcdir=$srcdir ;;
   12070   *) # Relative name.
   12071     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12072     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12073     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12074 esac
   12075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12076 
   12077 
   12078   case $ac_mode in
   12079   :F)
   12080   #
   12081   # CONFIG_FILE
   12082   #
   12083 
   12084   case $INSTALL in
   12085   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12086   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12087   esac
   12088   ac_MKDIR_P=$MKDIR_P
   12089   case $MKDIR_P in
   12090   [\\/$]* | ?:[\\/]* ) ;;
   12091   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12092   esac
   12093 _ACEOF
   12094 
   12095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12096 # If the template does not know about datarootdir, expand it.
   12097 # FIXME: This hack should be removed a few years after 2.60.
   12098 ac_datarootdir_hack=; ac_datarootdir_seen=
   12099 ac_sed_dataroot='
   12100 /datarootdir/ {
   12101   p
   12102   q
   12103 }
   12104 /@datadir@/p
   12105 /@docdir@/p
   12106 /@infodir@/p
   12107 /@localedir@/p
   12108 /@mandir@/p'
   12109 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12110 *datarootdir*) ac_datarootdir_seen=yes;;
   12111 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12112   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12113 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12114 _ACEOF
   12115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12116   ac_datarootdir_hack='
   12117   s&@datadir@&$datadir&g
   12118   s&@docdir@&$docdir&g
   12119   s&@infodir@&$infodir&g
   12120   s&@localedir@&$localedir&g
   12121   s&@mandir@&$mandir&g
   12122   s&\\\${datarootdir}&$datarootdir&g' ;;
   12123 esac
   12124 _ACEOF
   12125 
   12126 # Neutralize VPATH when `$srcdir' = `.'.
   12127 # Shell code in configure.ac might set extrasub.
   12128 # FIXME: do we really want to maintain this feature?
   12129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12130 ac_sed_extra="$ac_vpsub
   12131 $extrasub
   12132 _ACEOF
   12133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12134 :t
   12135 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12136 s|@configure_input@|$ac_sed_conf_input|;t t
   12137 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12138 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12139 s&@srcdir@&$ac_srcdir&;t t
   12140 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12141 s&@top_srcdir@&$ac_top_srcdir&;t t
   12142 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12143 s&@builddir@&$ac_builddir&;t t
   12144 s&@abs_builddir@&$ac_abs_builddir&;t t
   12145 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12146 s&@INSTALL@&$ac_INSTALL&;t t
   12147 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12148 $ac_datarootdir_hack
   12149 "
   12150 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12151   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12152 
   12153 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12154   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12155   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12156       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12157   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12158 which seems to be undefined.  Please make sure it is defined" >&5
   12159 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12160 which seems to be undefined.  Please make sure it is defined" >&2;}
   12161 
   12162   rm -f "$ac_tmp/stdin"
   12163   case $ac_file in
   12164   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12165   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12166   esac \
   12167   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12168  ;;
   12169   :H)
   12170   #
   12171   # CONFIG_HEADER
   12172   #
   12173   if test x"$ac_file" != x-; then
   12174     {
   12175       $as_echo "/* $configure_input  */" \
   12176       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12177     } >"$ac_tmp/config.h" \
   12178       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12179     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12180       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12181 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12182     else
   12183       rm -f "$ac_file"
   12184       mv "$ac_tmp/config.h" "$ac_file" \
   12185 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12186     fi
   12187   else
   12188     $as_echo "/* $configure_input  */" \
   12189       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12190       || as_fn_error $? "could not create -" "$LINENO" 5
   12191   fi
   12192 # Compute "$ac_file"'s index in $config_headers.
   12193 _am_arg="$ac_file"
   12194 _am_stamp_count=1
   12195 for _am_header in $config_headers :; do
   12196   case $_am_header in
   12197     $_am_arg | $_am_arg:* )
   12198       break ;;
   12199     * )
   12200       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12201   esac
   12202 done
   12203 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12204 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12205 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12206 	 X"$_am_arg" : 'X\(//\)$' \| \
   12207 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12208 $as_echo X"$_am_arg" |
   12209     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12210 	    s//\1/
   12211 	    q
   12212 	  }
   12213 	  /^X\(\/\/\)[^/].*/{
   12214 	    s//\1/
   12215 	    q
   12216 	  }
   12217 	  /^X\(\/\/\)$/{
   12218 	    s//\1/
   12219 	    q
   12220 	  }
   12221 	  /^X\(\/\).*/{
   12222 	    s//\1/
   12223 	    q
   12224 	  }
   12225 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12226  ;;
   12227 
   12228   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12229 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12230  ;;
   12231   esac
   12232 
   12233 
   12234   case $ac_file$ac_mode in
   12235     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12236   # Older Autoconf quotes --file arguments for eval, but not when files
   12237   # are listed without --file.  Let's play safe and only enable the eval
   12238   # if we detect the quoting.
   12239   case $CONFIG_FILES in
   12240   *\'*) eval set x "$CONFIG_FILES" ;;
   12241   *)   set x $CONFIG_FILES ;;
   12242   esac
   12243   shift
   12244   for mf
   12245   do
   12246     # Strip MF so we end up with the name of the file.
   12247     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12248     # Check whether this is an Automake generated Makefile or not.
   12249     # We used to match only the files named 'Makefile.in', but
   12250     # some people rename them; so instead we look at the file content.
   12251     # Grep'ing the first line is not enough: some people post-process
   12252     # each Makefile.in and add a new line on top of each file to say so.
   12253     # Grep'ing the whole file is not good either: AIX grep has a line
   12254     # limit of 2048, but all sed's we know have understand at least 4000.
   12255     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12256       dirpart=`$as_dirname -- "$mf" ||
   12257 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12258 	 X"$mf" : 'X\(//\)[^/]' \| \
   12259 	 X"$mf" : 'X\(//\)$' \| \
   12260 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12261 $as_echo X"$mf" |
   12262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12263 	    s//\1/
   12264 	    q
   12265 	  }
   12266 	  /^X\(\/\/\)[^/].*/{
   12267 	    s//\1/
   12268 	    q
   12269 	  }
   12270 	  /^X\(\/\/\)$/{
   12271 	    s//\1/
   12272 	    q
   12273 	  }
   12274 	  /^X\(\/\).*/{
   12275 	    s//\1/
   12276 	    q
   12277 	  }
   12278 	  s/.*/./; q'`
   12279     else
   12280       continue
   12281     fi
   12282     # Extract the definition of DEPDIR, am__include, and am__quote
   12283     # from the Makefile without running 'make'.
   12284     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12285     test -z "$DEPDIR" && continue
   12286     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12287     test -z "$am__include" && continue
   12288     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12289     # Find all dependency output files, they are included files with
   12290     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12291     # simplest approach to changing $(DEPDIR) to its actual value in the
   12292     # expansion.
   12293     for file in `sed -n "
   12294       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12295 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12296       # Make sure the directory exists.
   12297       test -f "$dirpart/$file" && continue
   12298       fdir=`$as_dirname -- "$file" ||
   12299 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12300 	 X"$file" : 'X\(//\)[^/]' \| \
   12301 	 X"$file" : 'X\(//\)$' \| \
   12302 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12303 $as_echo X"$file" |
   12304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12305 	    s//\1/
   12306 	    q
   12307 	  }
   12308 	  /^X\(\/\/\)[^/].*/{
   12309 	    s//\1/
   12310 	    q
   12311 	  }
   12312 	  /^X\(\/\/\)$/{
   12313 	    s//\1/
   12314 	    q
   12315 	  }
   12316 	  /^X\(\/\).*/{
   12317 	    s//\1/
   12318 	    q
   12319 	  }
   12320 	  s/.*/./; q'`
   12321       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12322       # echo "creating $dirpart/$file"
   12323       echo '# dummy' > "$dirpart/$file"
   12324     done
   12325   done
   12326 }
   12327  ;;
   12328 
   12329   esac
   12330 done # for ac_tag
   12331 
   12332 
   12333 as_fn_exit 0
   12334 _ACEOF
   12335 ac_clean_files=$ac_clean_files_save
   12336 
   12337 test $ac_write_fail = 0 ||
   12338   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12339 
   12340 
   12341 # configure is writing to config.log, and then calls config.status.
   12342 # config.status does its own redirection, appending to config.log.
   12343 # Unfortunately, on DOS this fails, as config.log is still kept open
   12344 # by configure, so config.status won't be able to write to it; its
   12345 # output is simply discarded.  So we exec the FD to /dev/null,
   12346 # effectively closing config.log, so it can be properly (re)opened and
   12347 # appended to by config.status.  When coming back to configure, we
   12348 # need to make the FD available again.
   12349 if test "$no_create" != yes; then
   12350   ac_cs_success=:
   12351   ac_config_status_args=
   12352   test "$silent" = yes &&
   12353     ac_config_status_args="$ac_config_status_args --quiet"
   12354   exec 5>/dev/null
   12355   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12356   exec 5>>config.log
   12357   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12358   # would make configure fail if this is the last instruction.
   12359   $ac_cs_success || as_fn_exit 1
   12360 fi
   12361 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12362   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12363 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12364 fi
   12365 
   12366