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