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