Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for xwud 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # contradicts POSIX and common usage.  Disable this.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 test \$(( 1 + 1 )) = 2 || exit 1"
    191   if (eval "$as_required") 2>/dev/null
    192 then :
    193   as_have_required=yes
    194 else case e in #(
    195   e) as_have_required=no ;;
    196 esac
    197 fi
    198   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    199 then :
    200 
    201 else case e in #(
    202   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    203 as_found=false
    204 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    205 do
    206   IFS=$as_save_IFS
    207   case $as_dir in #(((
    208     '') as_dir=./ ;;
    209     */) ;;
    210     *) as_dir=$as_dir/ ;;
    211   esac
    212   as_found=:
    213   case $as_dir in #(
    214 	 /*)
    215 	   for as_base in sh bash ksh sh5; do
    216 	     # Try only shells that exist, to save several forks.
    217 	     as_shell=$as_dir$as_base
    218 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    219 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    220 then :
    221   CONFIG_SHELL=$as_shell as_have_required=yes
    222 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    223 then :
    224   break 2
    225 fi
    226 fi
    227 	   done;;
    228        esac
    229   as_found=false
    230 done
    231 IFS=$as_save_IFS
    232 if $as_found
    233 then :
    234 
    235 else case e in #(
    236   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    237 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    238 then :
    239   CONFIG_SHELL=$SHELL as_have_required=yes
    240 fi ;;
    241 esac
    242 fi
    243 
    244 
    245       if test "x$CONFIG_SHELL" != x
    246 then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 case $# in # ((
    262   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    263   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    264 esac
    265 # Admittedly, this is quite paranoid, since all the known shells bail
    266 # out after a failed 'exec'.
    267 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    268 exit 255
    269 fi
    270 
    271     if test x$as_have_required = xno
    272 then :
    273   printf '%s\n' "$0: This script requires a shell more modern than all"
    274   printf '%s\n' "$0: the shells that I found on your system."
    275   if test ${ZSH_VERSION+y} ; then
    276     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    277     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    278   else
    279     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and
    280 $0: https://gitlab.freedesktop.org/xorg/app/xwud/-/issues
    281 $0: about your system, including any error possibly output
    282 $0: before this message. Then install a modern shell, or
    283 $0: manually run the script under such a shell if you do
    284 $0: have one."
    285   fi
    286   exit 1
    287 fi ;;
    288 esac
    289 fi
    290 fi
    291 SHELL=${CONFIG_SHELL-/bin/sh}
    292 export SHELL
    293 # Unset more variables known to interfere with behavior of common tools.
    294 CLICOLOR_FORCE= GREP_OPTIONS=
    295 unset CLICOLOR_FORCE GREP_OPTIONS
    296 
    297 ## --------------------- ##
    298 ## M4sh Shell Functions. ##
    299 ## --------------------- ##
    300 # as_fn_unset VAR
    301 # ---------------
    302 # Portably unset VAR.
    303 as_fn_unset ()
    304 {
    305   { eval $1=; unset $1;}
    306 }
    307 as_unset=as_fn_unset
    308 
    309 
    310 # as_fn_set_status STATUS
    311 # -----------------------
    312 # Set $? to STATUS, without forking.
    313 as_fn_set_status ()
    314 {
    315   return $1
    316 } # as_fn_set_status
    317 
    318 # as_fn_exit STATUS
    319 # -----------------
    320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    321 as_fn_exit ()
    322 {
    323   set +e
    324   as_fn_set_status $1
    325   exit $1
    326 } # as_fn_exit
    327 
    328 # as_fn_mkdir_p
    329 # -------------
    330 # Create "$as_dir" as a directory, including parents if necessary.
    331 as_fn_mkdir_p ()
    332 {
    333 
    334   case $as_dir in #(
    335   -*) as_dir=./$as_dir;;
    336   esac
    337   test -d "$as_dir" || eval $as_mkdir_p || {
    338     as_dirs=
    339     while :; do
    340       case $as_dir in #(
    341       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    342       *) as_qdir=$as_dir;;
    343       esac
    344       as_dirs="'$as_qdir' $as_dirs"
    345       as_dir=`$as_dirname -- "$as_dir" ||
    346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    347 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    348 	 X"$as_dir" : 'X\(//\)$' \| \
    349 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    350 printf '%s\n' X"$as_dir" |
    351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)[^/].*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\/\)$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\).*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  s/.*/./; q'`
    368       test -d "$as_dir" && break
    369     done
    370     test -z "$as_dirs" || eval "mkdir $as_dirs"
    371   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    372 
    373 
    374 } # as_fn_mkdir_p
    375 
    376 # as_fn_executable_p FILE
    377 # -----------------------
    378 # Test if FILE is an executable regular file.
    379 as_fn_executable_p ()
    380 {
    381   test -f "$1" && test -x "$1"
    382 } # as_fn_executable_p
    383 # as_fn_append VAR VALUE
    384 # ----------------------
    385 # Append the text in VALUE to the end of the definition contained in VAR. Take
    386 # advantage of any shell optimizations that allow amortized linear growth over
    387 # repeated appends, instead of the typical quadratic growth present in naive
    388 # implementations.
    389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    390 then :
    391   eval 'as_fn_append ()
    392   {
    393     eval $1+=\$2
    394   }'
    395 else case e in #(
    396   e) as_fn_append ()
    397   {
    398     eval $1=\$$1\$2
    399   } ;;
    400 esac
    401 fi # as_fn_append
    402 
    403 # as_fn_arith ARG...
    404 # ------------------
    405 # Perform arithmetic evaluation on the ARGs, and store the result in the
    406 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    407 # must be portable across $(()) and expr.
    408 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    409 then :
    410   eval 'as_fn_arith ()
    411   {
    412     as_val=$(( $* ))
    413   }'
    414 else case e in #(
    415   e) as_fn_arith ()
    416   {
    417     as_val=`expr "$@" || test $? -eq 1`
    418   } ;;
    419 esac
    420 fi # as_fn_arith
    421 
    422 
    423 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    424 # ----------------------------------------
    425 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    426 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    427 # script with STATUS, using 1 if that was 0.
    428 as_fn_error ()
    429 {
    430   as_status=$1; test $as_status -eq 0 && as_status=1
    431   if test "$4"; then
    432     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    433     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    434   fi
    435   printf '%s\n' "$as_me: error: $2" >&2
    436   as_fn_exit $as_status
    437 } # as_fn_error
    438 
    439 if expr a : '\(a\)' >/dev/null 2>&1 &&
    440    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    441   as_expr=expr
    442 else
    443   as_expr=false
    444 fi
    445 
    446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    447   as_basename=basename
    448 else
    449   as_basename=false
    450 fi
    451 
    452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    453   as_dirname=dirname
    454 else
    455   as_dirname=false
    456 fi
    457 
    458 as_me=`$as_basename -- "$0" ||
    459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    460 	 X"$0" : 'X\(//\)$' \| \
    461 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    462 printf '%s\n' X/"$0" |
    463     sed '/^.*\/\([^/][^/]*\)\/*$/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  /^X\/\(\/\/\)$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\).*/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  s/.*/./; q'`
    476 
    477 # Avoid depending upon Character Ranges.
    478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    481 as_cr_digits='0123456789'
    482 as_cr_alnum=$as_cr_Letters$as_cr_digits
    483 
    484 
    485   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    486   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    487   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    488   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    489   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    490   sed -n '
    491     p
    492     /[$]LINENO/=
    493   ' <$as_myself |
    494     sed '
    495       t clear
    496       :clear
    497       s/[$]LINENO.*/&-/
    498       t lineno
    499       b
    500       :lineno
    501       N
    502       :loop
    503       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    504       t loop
    505       s/-\n.*//
    506     ' >$as_me.lineno &&
    507   chmod +x "$as_me.lineno" ||
    508     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    509 
    510   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    511   # already done that, so ensure we don't try to do so again and fall
    512   # in an infinite loop.  This has already happened in practice.
    513   _as_can_reexec=no; export _as_can_reexec
    514   # Don't try to exec as it changes $[0], causing all sort of problems
    515   # (the dirname of $[0] is not the place where we might find the
    516   # original and so on.  Autoconf is especially sensitive to this).
    517   . "./$as_me.lineno"
    518   # Exit status is that of the last command.
    519   exit
    520 }
    521 
    522 rm -f conf$$ conf$$.exe conf$$.file
    523 if test -d conf$$.dir; then
    524   rm -f conf$$.dir/conf$$.file
    525 else
    526   rm -f conf$$.dir
    527   mkdir conf$$.dir 2>/dev/null
    528 fi
    529 if (echo >conf$$.file) 2>/dev/null; then
    530   if ln -s conf$$.file conf$$ 2>/dev/null; then
    531     as_ln_s='ln -s'
    532     # ... but there are two gotchas:
    533     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    534     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    535     # In both cases, we have to default to 'cp -pR'.
    536     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    537       as_ln_s='cp -pR'
    538   elif ln conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s=ln
    540   else
    541     as_ln_s='cp -pR'
    542   fi
    543 else
    544   as_ln_s='cp -pR'
    545 fi
    546 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    547 rmdir conf$$.dir 2>/dev/null
    548 
    549 if mkdir -p . 2>/dev/null; then
    550   as_mkdir_p='mkdir -p "$as_dir"'
    551 else
    552   test -d ./-p && rmdir ./-p
    553   as_mkdir_p=false
    554 fi
    555 
    556 as_test_x='test -x'
    557 as_executable_p=as_fn_executable_p
    558 
    559 # Sed expression to map a string onto a valid CPP name.
    560 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    561 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    562 
    563 # Sed expression to map a string onto a valid variable name.
    564 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    565 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    566 
    567 
    568 test -n "$DJDIR" || exec 7<&0 </dev/null
    569 exec 6>&1
    570 
    571 # Name of the host.
    572 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    573 # so uname gets run too.
    574 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    575 
    576 #
    577 # Initializations.
    578 #
    579 ac_default_prefix=/usr/local
    580 ac_clean_CONFIG_STATUS=
    581 ac_clean_files=
    582 ac_config_libobj_dir=.
    583 LIBOBJS=
    584 cross_compiling=no
    585 subdirs=
    586 MFLAGS=
    587 MAKEFLAGS=
    588 
    589 # Identity of this package.
    590 PACKAGE_NAME='xwud'
    591 PACKAGE_TARNAME='xwud'
    592 PACKAGE_VERSION='1.0.8'
    593 PACKAGE_STRING='xwud 1.0.8'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xwud/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 ac_subst_vars='am__EXEEXT_FALSE
    631 am__EXEEXT_TRUE
    632 LTLIBOBJS
    633 LIBOBJS
    634 XWUD_LIBS
    635 XWUD_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 am__xargs_n
    684 am__rm_f_notfound
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 CSCOPE
    690 ETAGS
    691 CTAGS
    692 am__untar
    693 am__tar
    694 AMTAR
    695 am__leading_dot
    696 SET_MAKE
    697 AWK
    698 mkdir_p
    699 MKDIR_P
    700 INSTALL_STRIP_PROGRAM
    701 STRIP
    702 install_sh
    703 MAKEINFO
    704 AUTOHEADER
    705 AUTOMAKE
    706 AUTOCONF
    707 ACLOCAL
    708 VERSION
    709 PACKAGE
    710 CYGPATH_W
    711 am__isrc
    712 INSTALL_DATA
    713 INSTALL_SCRIPT
    714 INSTALL_PROGRAM
    715 ECHO_T
    716 ECHO_N
    717 ECHO_C
    718 target_alias
    719 host_alias
    720 build_alias
    721 LIBS
    722 DEFS
    723 mandir
    724 localedir
    725 libdir
    726 psdir
    727 pdfdir
    728 dvidir
    729 htmldir
    730 infodir
    731 docdir
    732 oldincludedir
    733 includedir
    734 runstatedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL
    754 am__quote'
    755 ac_subst_files=''
    756 ac_user_opts='
    757 enable_option_checking
    758 enable_silent_rules
    759 enable_dependency_tracking
    760 enable_selective_werror
    761 enable_strict_compilation
    762 '
    763       ac_precious_vars='build_alias
    764 host_alias
    765 target_alias
    766 CC
    767 CFLAGS
    768 LDFLAGS
    769 LIBS
    770 CPPFLAGS
    771 PKG_CONFIG
    772 PKG_CONFIG_PATH
    773 PKG_CONFIG_LIBDIR
    774 XWUD_CFLAGS
    775 XWUD_LIBS'
    776 
    777 
    778 # Initialize some variables set by options.
    779 ac_init_help=
    780 ac_init_version=false
    781 ac_unrecognized_opts=
    782 ac_unrecognized_sep=
    783 # The variables have the same names as the options, with
    784 # dashes changed to underlines.
    785 cache_file=/dev/null
    786 exec_prefix=NONE
    787 no_create=
    788 no_recursion=
    789 prefix=NONE
    790 program_prefix=NONE
    791 program_suffix=NONE
    792 program_transform_name=s,x,x,
    793 silent=
    794 site=
    795 srcdir=
    796 verbose=
    797 x_includes=NONE
    798 x_libraries=NONE
    799 
    800 # Installation directory options.
    801 # These are left unexpanded so users can "make install exec_prefix=/foo"
    802 # and all the variables that are supposed to be based on exec_prefix
    803 # by default will actually change.
    804 # Use braces instead of parens because sh, perl, etc. also accept them.
    805 # (The list follows the same order as the GNU Coding Standards.)
    806 bindir='${exec_prefix}/bin'
    807 sbindir='${exec_prefix}/sbin'
    808 libexecdir='${exec_prefix}/libexec'
    809 datarootdir='${prefix}/share'
    810 datadir='${datarootdir}'
    811 sysconfdir='${prefix}/etc'
    812 sharedstatedir='${prefix}/com'
    813 localstatedir='${prefix}/var'
    814 runstatedir='${localstatedir}/run'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   case $ac_dashdash$ac_option in
    845   --)
    846     ac_dashdash=yes ;;
    847 
    848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    849     ac_prev=bindir ;;
    850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    851     bindir=$ac_optarg ;;
    852 
    853   -build | --build | --buil | --bui | --bu)
    854     ac_prev=build_alias ;;
    855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    856     build_alias=$ac_optarg ;;
    857 
    858   -cache-file | --cache-file | --cache-fil | --cache-fi \
    859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    860     ac_prev=cache_file ;;
    861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    863     cache_file=$ac_optarg ;;
    864 
    865   --config-cache | -C)
    866     cache_file=config.cache ;;
    867 
    868   -datadir | --datadir | --datadi | --datad)
    869     ac_prev=datadir ;;
    870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    871     datadir=$ac_optarg ;;
    872 
    873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    874   | --dataroo | --dataro | --datar)
    875     ac_prev=datarootdir ;;
    876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    878     datarootdir=$ac_optarg ;;
    879 
    880   -disable-* | --disable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: '$ac_useropt'"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=no ;;
    895 
    896   -docdir | --docdir | --docdi | --doc | --do)
    897     ac_prev=docdir ;;
    898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    899     docdir=$ac_optarg ;;
    900 
    901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    902     ac_prev=dvidir ;;
    903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    904     dvidir=$ac_optarg ;;
    905 
    906   -enable-* | --enable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: '$ac_useropt'"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=\$ac_optarg ;;
    921 
    922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    924   | --exec | --exe | --ex)
    925     ac_prev=exec_prefix ;;
    926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    928   | --exec=* | --exe=* | --ex=*)
    929     exec_prefix=$ac_optarg ;;
    930 
    931   -gas | --gas | --ga | --g)
    932     # Obsolete; use --with-gas.
    933     with_gas=yes ;;
    934 
    935   -help | --help | --hel | --he | -h)
    936     ac_init_help=long ;;
    937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    938     ac_init_help=recursive ;;
    939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    940     ac_init_help=short ;;
    941 
    942   -host | --host | --hos | --ho)
    943     ac_prev=host_alias ;;
    944   -host=* | --host=* | --hos=* | --ho=*)
    945     host_alias=$ac_optarg ;;
    946 
    947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    948     ac_prev=htmldir ;;
    949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    950   | --ht=*)
    951     htmldir=$ac_optarg ;;
    952 
    953   -includedir | --includedir | --includedi | --included | --include \
    954   | --includ | --inclu | --incl | --inc)
    955     ac_prev=includedir ;;
    956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    957   | --includ=* | --inclu=* | --incl=* | --inc=*)
    958     includedir=$ac_optarg ;;
    959 
    960   -infodir | --infodir | --infodi | --infod | --info | --inf)
    961     ac_prev=infodir ;;
    962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    963     infodir=$ac_optarg ;;
    964 
    965   -libdir | --libdir | --libdi | --libd)
    966     ac_prev=libdir ;;
    967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    968     libdir=$ac_optarg ;;
    969 
    970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    971   | --libexe | --libex | --libe)
    972     ac_prev=libexecdir ;;
    973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    974   | --libexe=* | --libex=* | --libe=*)
    975     libexecdir=$ac_optarg ;;
    976 
    977   -localedir | --localedir | --localedi | --localed | --locale)
    978     ac_prev=localedir ;;
    979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    980     localedir=$ac_optarg ;;
    981 
    982   -localstatedir | --localstatedir | --localstatedi | --localstated \
    983   | --localstate | --localstat | --localsta | --localst | --locals)
    984     ac_prev=localstatedir ;;
    985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    987     localstatedir=$ac_optarg ;;
    988 
    989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    990     ac_prev=mandir ;;
    991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    992     mandir=$ac_optarg ;;
    993 
    994   -nfp | --nfp | --nf)
    995     # Obsolete; use --without-fp.
    996     with_fp=no ;;
    997 
    998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    999   | --no-cr | --no-c | -n)
   1000     no_create=yes ;;
   1001 
   1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1004     no_recursion=yes ;;
   1005 
   1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1008   | --oldin | --oldi | --old | --ol | --o)
   1009     ac_prev=oldincludedir ;;
   1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1013     oldincludedir=$ac_optarg ;;
   1014 
   1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1016     ac_prev=prefix ;;
   1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1018     prefix=$ac_optarg ;;
   1019 
   1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1021   | --program-pre | --program-pr | --program-p)
   1022     ac_prev=program_prefix ;;
   1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1025     program_prefix=$ac_optarg ;;
   1026 
   1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1028   | --program-suf | --program-su | --program-s)
   1029     ac_prev=program_suffix ;;
   1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1032     program_suffix=$ac_optarg ;;
   1033 
   1034   -program-transform-name | --program-transform-name \
   1035   | --program-transform-nam | --program-transform-na \
   1036   | --program-transform-n | --program-transform- \
   1037   | --program-transform | --program-transfor \
   1038   | --program-transfo | --program-transf \
   1039   | --program-trans | --program-tran \
   1040   | --progr-tra | --program-tr | --program-t)
   1041     ac_prev=program_transform_name ;;
   1042   -program-transform-name=* | --program-transform-name=* \
   1043   | --program-transform-nam=* | --program-transform-na=* \
   1044   | --program-transform-n=* | --program-transform-=* \
   1045   | --program-transform=* | --program-transfor=* \
   1046   | --program-transfo=* | --program-transf=* \
   1047   | --program-trans=* | --program-tran=* \
   1048   | --progr-tra=* | --program-tr=* | --program-t=*)
   1049     program_transform_name=$ac_optarg ;;
   1050 
   1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1052     ac_prev=pdfdir ;;
   1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1054     pdfdir=$ac_optarg ;;
   1055 
   1056   -psdir | --psdir | --psdi | --psd | --ps)
   1057     ac_prev=psdir ;;
   1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1059     psdir=$ac_optarg ;;
   1060 
   1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1062   | -silent | --silent | --silen | --sile | --sil)
   1063     silent=yes ;;
   1064 
   1065   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1066   | --runstate | --runstat | --runsta | --runst | --runs \
   1067   | --run | --ru | --r)
   1068     ac_prev=runstatedir ;;
   1069   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1070   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1071   | --run=* | --ru=* | --r=*)
   1072     runstatedir=$ac_optarg ;;
   1073 
   1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1075     ac_prev=sbindir ;;
   1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1077   | --sbi=* | --sb=*)
   1078     sbindir=$ac_optarg ;;
   1079 
   1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1082   | --sharedst | --shareds | --shared | --share | --shar \
   1083   | --sha | --sh)
   1084     ac_prev=sharedstatedir ;;
   1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1088   | --sha=* | --sh=*)
   1089     sharedstatedir=$ac_optarg ;;
   1090 
   1091   -site | --site | --sit)
   1092     ac_prev=site ;;
   1093   -site=* | --site=* | --sit=*)
   1094     site=$ac_optarg ;;
   1095 
   1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1097     ac_prev=srcdir ;;
   1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1099     srcdir=$ac_optarg ;;
   1100 
   1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1102   | --syscon | --sysco | --sysc | --sys | --sy)
   1103     ac_prev=sysconfdir ;;
   1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1106     sysconfdir=$ac_optarg ;;
   1107 
   1108   -target | --target | --targe | --targ | --tar | --ta | --t)
   1109     ac_prev=target_alias ;;
   1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1111     target_alias=$ac_optarg ;;
   1112 
   1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1114     verbose=yes ;;
   1115 
   1116   -version | --version | --versio | --versi | --vers | -V)
   1117     ac_init_version=: ;;
   1118 
   1119   -with-* | --with-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: '$ac_useropt'"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=\$ac_optarg ;;
   1134 
   1135   -without-* | --without-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: '$ac_useropt'"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=no ;;
   1150 
   1151   --x)
   1152     # Obsolete; use --with-x.
   1153     with_x=yes ;;
   1154 
   1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1156   | --x-incl | --x-inc | --x-in | --x-i)
   1157     ac_prev=x_includes ;;
   1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1160     x_includes=$ac_optarg ;;
   1161 
   1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1164     ac_prev=x_libraries ;;
   1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1167     x_libraries=$ac_optarg ;;
   1168 
   1169   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1170 Try '$0 --help' for more information"
   1171     ;;
   1172 
   1173   *=*)
   1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1175     # Reject names that are not valid shell variable names.
   1176     case $ac_envvar in #(
   1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1178       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1179     esac
   1180     eval $ac_envvar=\$ac_optarg
   1181     export $ac_envvar ;;
   1182 
   1183   *)
   1184     # FIXME: should be removed in autoconf 3.0.
   1185     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1187       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1188     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1189     ;;
   1190 
   1191   esac
   1192 done
   1193 
   1194 if test -n "$ac_prev"; then
   1195   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1196   as_fn_error $? "missing argument to $ac_option"
   1197 fi
   1198 
   1199 if test -n "$ac_unrecognized_opts"; then
   1200   case $enable_option_checking in
   1201     no) ;;
   1202     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1203     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1204   esac
   1205 fi
   1206 
   1207 # Check all directory arguments for consistency.
   1208 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1209 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1210 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1211 		libdir localedir mandir runstatedir
   1212 do
   1213   eval ac_val=\$$ac_var
   1214   # Remove trailing slashes.
   1215   case $ac_val in
   1216     */ )
   1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1218       eval $ac_var=\$ac_val;;
   1219   esac
   1220   # Be sure to have absolute directory names.
   1221   case $ac_val in
   1222     [\\/$]* | ?:[\\/]* )  continue;;
   1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1224   esac
   1225   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1226 done
   1227 
   1228 # There might be people who depend on the old broken behavior: '$host'
   1229 # used to hold the argument of --host etc.
   1230 # FIXME: To remove some day.
   1231 build=$build_alias
   1232 host=$host_alias
   1233 target=$target_alias
   1234 
   1235 # FIXME: To remove some day.
   1236 if test "x$host_alias" != x; then
   1237   if test "x$build_alias" = x; then
   1238     cross_compiling=maybe
   1239   elif test "x$build_alias" != "x$host_alias"; then
   1240     cross_compiling=yes
   1241   fi
   1242 fi
   1243 
   1244 ac_tool_prefix=
   1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1246 
   1247 test "$silent" = yes && exec 6>/dev/null
   1248 
   1249 
   1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1251 ac_ls_di=`ls -di .` &&
   1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1253   as_fn_error $? "working directory cannot be determined"
   1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1255   as_fn_error $? "pwd does not report name of working directory"
   1256 
   1257 
   1258 # Find the source files, if location was not specified.
   1259 if test -z "$srcdir"; then
   1260   ac_srcdir_defaulted=yes
   1261   # Try the directory containing this script, then the parent directory.
   1262   ac_confdir=`$as_dirname -- "$as_myself" ||
   1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1264 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1265 	 X"$as_myself" : 'X\(//\)$' \| \
   1266 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1267 printf '%s\n' X"$as_myself" |
   1268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)[^/].*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)$/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\).*/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  s/.*/./; q'`
   1285   srcdir=$ac_confdir
   1286   if test ! -r "$srcdir/$ac_unique_file"; then
   1287     srcdir=..
   1288   fi
   1289 else
   1290   ac_srcdir_defaulted=no
   1291 fi
   1292 if test ! -r "$srcdir/$ac_unique_file"; then
   1293   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1294   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1295 fi
   1296 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1297 ac_abs_confdir=`(
   1298 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1299 	pwd)`
   1300 # When building in place, set srcdir=.
   1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1302   srcdir=.
   1303 fi
   1304 # Remove unnecessary trailing slashes from srcdir.
   1305 # Double slashes in file names in object file debugging info
   1306 # mess up M-x gdb in Emacs.
   1307 case $srcdir in
   1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1309 esac
   1310 for ac_var in $ac_precious_vars; do
   1311   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1312   eval ac_env_${ac_var}_value=\$${ac_var}
   1313   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1315 done
   1316 
   1317 #
   1318 # Report the --help message.
   1319 #
   1320 if test "$ac_init_help" = "long"; then
   1321   # Omit some internal or obsolete options to make the list less imposing.
   1322   # This message is too long to be a string in the A/UX 3.1 sh.
   1323   cat <<_ACEOF
   1324 'configure' configures xwud 1.0.8 to adapt to many kinds of systems.
   1325 
   1326 Usage: $0 [OPTION]... [VAR=VALUE]...
   1327 
   1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1329 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1330 
   1331 Defaults for the options are specified in brackets.
   1332 
   1333 Configuration:
   1334   -h, --help              display this help and exit
   1335       --help=short        display options specific to this package
   1336       --help=recursive    display the short help of all the included packages
   1337   -V, --version           display version information and exit
   1338   -q, --quiet, --silent   do not print 'checking ...' messages
   1339       --cache-file=FILE   cache test results in FILE [disabled]
   1340   -C, --config-cache      alias for '--cache-file=config.cache'
   1341   -n, --no-create         do not create output files
   1342       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1343 
   1344 Installation directories:
   1345   --prefix=PREFIX         install architecture-independent files in PREFIX
   1346                           [$ac_default_prefix]
   1347   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1348                           [PREFIX]
   1349 
   1350 By default, 'make install' will install all the files in
   1351 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1352 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1353 for instance '--prefix=\$HOME'.
   1354 
   1355 For better control, use the options below.
   1356 
   1357 Fine tuning of the installation directories:
   1358   --bindir=DIR            user executables [EPREFIX/bin]
   1359   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1360   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1361   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1362   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1363   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1364   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1365   --libdir=DIR            object code libraries [EPREFIX/lib]
   1366   --includedir=DIR        C header files [PREFIX/include]
   1367   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1368   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1369   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1370   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1371   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1372   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1373   --docdir=DIR            documentation root [DATAROOTDIR/doc/xwud]
   1374   --htmldir=DIR           html documentation [DOCDIR]
   1375   --dvidir=DIR            dvi documentation [DOCDIR]
   1376   --pdfdir=DIR            pdf documentation [DOCDIR]
   1377   --psdir=DIR             ps documentation [DOCDIR]
   1378 _ACEOF
   1379 
   1380   cat <<\_ACEOF
   1381 
   1382 Program names:
   1383   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1384   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1385   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1386 
   1387 System types:
   1388   --build=BUILD     configure for building on BUILD [guessed]
   1389   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1390 _ACEOF
   1391 fi
   1392 
   1393 if test -n "$ac_init_help"; then
   1394   case $ac_init_help in
   1395      short | recursive ) echo "Configuration of xwud 1.0.8:";;
   1396    esac
   1397   cat <<\_ACEOF
   1398 
   1399 Optional Features:
   1400   --disable-option-checking  ignore unrecognized --enable/--with options
   1401   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1402   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1403   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1404   --disable-silent-rules  verbose build output (undo: "make V=0")
   1405   --enable-dependency-tracking
   1406                           do not reject slow dependency extractors
   1407   --disable-dependency-tracking
   1408                           speeds up one-time build
   1409   --disable-selective-werror
   1410                           Turn off selective compiler errors. (default:
   1411                           enabled)
   1412   --enable-strict-compilation
   1413                           Enable all warnings from compiler and make them
   1414                           errors (default: disabled)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   PKG_CONFIG  path to pkg-config utility
   1425   PKG_CONFIG_PATH
   1426               directories to add to pkg-config's search path
   1427   PKG_CONFIG_LIBDIR
   1428               path overriding pkg-config's built-in search path
   1429   XWUD_CFLAGS C compiler flags for XWUD, overriding pkg-config
   1430   XWUD_LIBS   linker flags for XWUD, overriding pkg-config
   1431 
   1432 Use these variables to override the choices made by 'configure' or to help
   1433 it to find libraries and programs with nonstandard names/locations.
   1434 
   1435 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>.
   1436 _ACEOF
   1437 ac_status=$?
   1438 fi
   1439 
   1440 if test "$ac_init_help" = "recursive"; then
   1441   # If there are subdirs, report their specific --help.
   1442   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1443     test -d "$ac_dir" ||
   1444       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1445       continue
   1446     ac_builddir=.
   1447 
   1448 case "$ac_dir" in
   1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1450 *)
   1451   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1452   # A ".." for each directory in $ac_dir_suffix.
   1453   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1454   case $ac_top_builddir_sub in
   1455   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1456   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1457   esac ;;
   1458 esac
   1459 ac_abs_top_builddir=$ac_pwd
   1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1461 # for backward compatibility:
   1462 ac_top_builddir=$ac_top_build_prefix
   1463 
   1464 case $srcdir in
   1465   .)  # We are building in place.
   1466     ac_srcdir=.
   1467     ac_top_srcdir=$ac_top_builddir_sub
   1468     ac_abs_top_srcdir=$ac_pwd ;;
   1469   [\\/]* | ?:[\\/]* )  # Absolute name.
   1470     ac_srcdir=$srcdir$ac_dir_suffix;
   1471     ac_top_srcdir=$srcdir
   1472     ac_abs_top_srcdir=$srcdir ;;
   1473   *) # Relative name.
   1474     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1475     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1476     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1477 esac
   1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1479 
   1480     cd "$ac_dir" || { ac_status=$?; continue; }
   1481     # Check for configure.gnu first; this name is used for a wrapper for
   1482     # Metaconfig's "Configure" on case-insensitive file systems.
   1483     if test -f "$ac_srcdir/configure.gnu"; then
   1484       echo &&
   1485       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1486     elif test -f "$ac_srcdir/configure"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure" --help=recursive
   1489     else
   1490       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1491     fi || ac_status=$?
   1492     cd "$ac_pwd" || { ac_status=$?; break; }
   1493   done
   1494 fi
   1495 
   1496 test -n "$ac_init_help" && exit $ac_status
   1497 if $ac_init_version; then
   1498   cat <<\_ACEOF
   1499 xwud configure 1.0.8
   1500 generated by GNU Autoconf 2.73
   1501 
   1502 Copyright (C) 2026 Free Software Foundation, Inc.
   1503 This configure script is free software; the Free Software Foundation
   1504 gives unlimited permission to copy, distribute and modify it.
   1505 _ACEOF
   1506   exit
   1507 fi
   1508 
   1509 ## ------------------------ ##
   1510 ## Autoconf initialization. ##
   1511 ## ------------------------ ##
   1512 
   1513 # ac_fn_c_try_compile LINENO
   1514 # --------------------------
   1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1516 ac_fn_c_try_compile ()
   1517 {
   1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1519   rm -f conftest.$ac_objext conftest.beam
   1520   if { { ac_try="$ac_compile"
   1521 case "(($ac_try" in
   1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1523   *) ac_try_echo=$ac_try;;
   1524 esac
   1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1526 printf '%s\n' "$ac_try_echo"; } >&5
   1527   (eval "$ac_compile") 2>conftest.err
   1528   ac_status=$?
   1529   if test -s conftest.err; then
   1530     grep -v '^ *+' conftest.err >conftest.er1
   1531     cat conftest.er1 >&5
   1532     mv -f conftest.er1 conftest.err
   1533   fi
   1534   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1535   test $ac_status = 0; } && {
   1536 	 test -z "$ac_c_werror_flag" ||
   1537 	 test ! -s conftest.err
   1538        } && test -s conftest.$ac_objext
   1539 then :
   1540   ac_retval=0
   1541 else case e in #(
   1542   e) printf '%s\n' "$as_me: failed program was:" >&5
   1543 sed 's/^/| /' conftest.$ac_ext >&5
   1544 
   1545 	ac_retval=1 ;;
   1546 esac
   1547 fi
   1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1549   as_fn_set_status $ac_retval
   1550 
   1551 } # ac_fn_c_try_compile
   1552 
   1553 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1554 # ------------------------------------------------------------------
   1555 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1556 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1557 ac_fn_check_decl ()
   1558 {
   1559   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1560   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1561   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1562 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1563 if eval test \${$3+y}
   1564 then :
   1565   printf %s "(cached) " >&6
   1566 else case e in #(
   1567   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1568   eval ac_save_FLAGS=\$$6
   1569   as_fn_append $6 " $5"
   1570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1571 /* end confdefs.h.  */
   1572 $4
   1573 int
   1574 main (void)
   1575 {
   1576 #ifndef $as_decl_name
   1577 #ifdef __cplusplus
   1578   (void) $as_decl_use;
   1579 #else
   1580   (void) $as_decl_name;
   1581 #endif
   1582 #endif
   1583 
   1584   ;
   1585   return 0;
   1586 }
   1587 _ACEOF
   1588 if ac_fn_c_try_compile "$LINENO"
   1589 then :
   1590   eval "$3=yes"
   1591 else case e in #(
   1592   e) eval "$3=no" ;;
   1593 esac
   1594 fi
   1595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1596   eval $6=\$ac_save_FLAGS
   1597  ;;
   1598 esac
   1599 fi
   1600 eval ac_res=\$$3
   1601 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1602 printf '%s\n' "$ac_res" >&6; }
   1603   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1604 
   1605 } # ac_fn_check_decl
   1606 
   1607 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1608 # -------------------------------------------------------
   1609 # Tests whether HEADER exists and can be compiled using the include files in
   1610 # INCLUDES, setting the cache variable VAR accordingly.
   1611 ac_fn_c_check_header_compile ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1615 printf %s "checking for $2... " >&6; }
   1616 if eval test \${$3+y}
   1617 then :
   1618   printf %s "(cached) " >&6
   1619 else case e in #(
   1620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1621 /* end confdefs.h.  */
   1622 $4
   1623 #include <$2>
   1624 _ACEOF
   1625 if ac_fn_c_try_compile "$LINENO"
   1626 then :
   1627   eval "$3=yes"
   1628 else case e in #(
   1629   e) eval "$3=no" ;;
   1630 esac
   1631 fi
   1632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1633 esac
   1634 fi
   1635 eval ac_res=\$$3
   1636 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1637 printf '%s\n' "$ac_res" >&6; }
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639 
   1640 } # ac_fn_c_check_header_compile
   1641 
   1642 # ac_fn_c_try_link LINENO
   1643 # -----------------------
   1644 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1645 ac_fn_c_try_link ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1649   if { { ac_try="$ac_link"
   1650 case "(($ac_try" in
   1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1652   *) ac_try_echo=$ac_try;;
   1653 esac
   1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1655 printf '%s\n' "$ac_try_echo"; } >&5
   1656   (eval "$ac_link") 2>conftest.err
   1657   ac_status=$?
   1658   if test -s conftest.err; then
   1659     grep -v '^ *+' conftest.err >conftest.er1
   1660     cat conftest.er1 >&5
   1661     mv -f conftest.er1 conftest.err
   1662   fi
   1663   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1664   test $ac_status = 0; } && {
   1665 	 test -z "$ac_c_werror_flag" ||
   1666 	 test ! -s conftest.err
   1667        } && test -s conftest$ac_exeext && {
   1668 	 test "$cross_compiling" = yes ||
   1669 	 test -x conftest$ac_exeext
   1670        }
   1671 then :
   1672   ac_retval=0
   1673 else case e in #(
   1674   e) printf '%s\n' "$as_me: failed program was:" >&5
   1675 sed 's/^/| /' conftest.$ac_ext >&5
   1676 
   1677 	ac_retval=1 ;;
   1678 esac
   1679 fi
   1680   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1681   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1682   # interfere with the next link command; also delete a directory that is
   1683   # left behind by Apple's compiler.  We do this before executing the actions.
   1684   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_link
   1689 ac_configure_args_raw=
   1690 for ac_arg
   1691 do
   1692   case $ac_arg in
   1693   *\'*)
   1694     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1695   esac
   1696   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1697 done
   1698 
   1699 case $ac_configure_args_raw in
   1700   *$as_nl*)
   1701     ac_safe_unquote= ;;
   1702   *)
   1703     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1704     ac_unsafe_a="$ac_unsafe_z#~"
   1705     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1706     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1707 esac
   1708 
   1709 cat >config.log <<_ACEOF
   1710 This file contains any messages produced by compilers while
   1711 running configure, to aid debugging if configure makes a mistake.
   1712 
   1713 It was created by xwud $as_me 1.0.8, which was
   1714 generated by GNU Autoconf 2.73.  Invocation command line was
   1715 
   1716   $ $0$ac_configure_args_raw
   1717 
   1718 _ACEOF
   1719 exec 5>>config.log
   1720 {
   1721 cat <<_ASUNAME
   1722 ## --------- ##
   1723 ## Platform. ##
   1724 ## --------- ##
   1725 
   1726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1731 
   1732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1733 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1734 
   1735 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1736 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1738 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1739 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1740 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1741 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1742 
   1743 _ASUNAME
   1744 
   1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1746 for as_dir in $PATH
   1747 do
   1748   IFS=$as_save_IFS
   1749   case $as_dir in #(((
   1750     '') as_dir=./ ;;
   1751     */) ;;
   1752     *) as_dir=$as_dir/ ;;
   1753   esac
   1754     printf '%s\n' "PATH: $as_dir"
   1755   done
   1756 IFS=$as_save_IFS
   1757 
   1758 } >&5
   1759 
   1760 cat >&5 <<_ACEOF
   1761 
   1762 
   1763 ## ----------- ##
   1764 ## Core tests. ##
   1765 ## ----------- ##
   1766 
   1767 _ACEOF
   1768 
   1769 
   1770 # Keep a trace of the command line.
   1771 # Strip out --no-create and --no-recursion so they do not pile up.
   1772 # Strip out --silent because we don't want to record it for future runs.
   1773 # Also quote any args containing shell meta-characters.
   1774 # Make two passes to allow for proper duplicate-argument suppression.
   1775 ac_configure_args=
   1776 ac_configure_args0=
   1777 ac_configure_args1=
   1778 ac_must_keep_next=false
   1779 for ac_pass in 1 2
   1780 do
   1781   for ac_arg
   1782   do
   1783     case $ac_arg in
   1784     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1785     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1786     | -silent | --silent | --silen | --sile | --sil)
   1787       continue ;;
   1788     *\'*)
   1789       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1790     esac
   1791     case $ac_pass in
   1792     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1793     2)
   1794       as_fn_append ac_configure_args1 " '$ac_arg'"
   1795       if test $ac_must_keep_next = true; then
   1796 	ac_must_keep_next=false # Got value, back to normal.
   1797       else
   1798 	case $ac_arg in
   1799 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1800 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1801 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1802 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1803 	    case "$ac_configure_args0 " in
   1804 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1805 	    esac
   1806 	    ;;
   1807 	  -* ) ac_must_keep_next=true ;;
   1808 	esac
   1809       fi
   1810       as_fn_append ac_configure_args " '$ac_arg'"
   1811       ;;
   1812     esac
   1813   done
   1814 done
   1815 { ac_configure_args0=; unset ac_configure_args0;}
   1816 { ac_configure_args1=; unset ac_configure_args1;}
   1817 
   1818 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1819 ac_cache_dump ()
   1820 {
   1821   # The following way of writing the cache mishandles newlines in values,
   1822 # but we know of no workaround that is simple, portable, and efficient.
   1823 # So, we kill variables containing newlines.
   1824 # Ultrix sh set writes to stderr and can't be redirected directly,
   1825 # and sets the high bit in the cache file unless we assign to the vars.
   1826 (
   1827   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1828     eval ac_val=\$$ac_var
   1829     case $ac_val in #(
   1830     *${as_nl}*)
   1831       case $ac_var in #(
   1832       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1833 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1834       esac
   1835       case $ac_var in #(
   1836       _ | IFS | as_nl) ;; #(
   1837       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1838       *) { eval $ac_var=; unset $ac_var;} ;;
   1839       esac ;;
   1840     esac
   1841   done
   1842 
   1843   (set) 2>&1 |
   1844     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1845     *${as_nl}ac_space=\ *)
   1846       # 'set' does not quote correctly, so add quotes: double-quote
   1847       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1848       sed -n \
   1849 	"s/'/'\\\\''/g;
   1850 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1851       ;; #(
   1852     *)
   1853       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1854       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1855       ;;
   1856     esac |
   1857     sort
   1858 )
   1859 }
   1860 
   1861 # Print debugging info to stdout.
   1862 ac_dump_debugging_info ()
   1863 {
   1864   echo
   1865 
   1866   printf '%s\n' "## ---------------- ##
   1867 ## Cache variables. ##
   1868 ## ---------------- ##"
   1869   echo
   1870   ac_cache_dump
   1871   echo
   1872 
   1873   printf '%s\n' "## ----------------- ##
   1874 ## Output variables. ##
   1875 ## ----------------- ##"
   1876   echo
   1877   for ac_var in $ac_subst_vars
   1878   do
   1879     eval ac_val=\$$ac_var
   1880     case $ac_val in
   1881     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1882     esac
   1883     printf '%s\n' "$ac_var='$ac_val'"
   1884   done | sort
   1885   echo
   1886 
   1887   if test -n "$ac_subst_files"; then
   1888     printf '%s\n' "## ------------------- ##
   1889 ## File substitutions. ##
   1890 ## ------------------- ##"
   1891     echo
   1892     for ac_var in $ac_subst_files
   1893     do
   1894       eval ac_val=\$$ac_var
   1895       case $ac_val in
   1896       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1897       esac
   1898       printf '%s\n' "$ac_var='$ac_val'"
   1899     done | sort
   1900     echo
   1901   fi
   1902 
   1903   if test -s confdefs.h; then
   1904     printf '%s\n' "## ----------- ##
   1905 ## confdefs.h. ##
   1906 ## ----------- ##"
   1907     echo
   1908     cat confdefs.h
   1909     echo
   1910   fi
   1911   test "$ac_signal" != 0 &&
   1912     printf '%s\n' "$as_me: caught signal $ac_signal"
   1913   printf '%s\n' "$as_me: exit $exit_status"
   1914 }
   1915 
   1916 # When interrupted or exit'd, cleanup temporary files, and complete
   1917 # config.log.
   1918 ac_exit_trap ()
   1919 {
   1920   exit_status=
   1921   # Sanitize IFS.
   1922   IFS=" ""	$as_nl"
   1923   # Save into config.log some information that might help in debugging.
   1924   ac_dump_debugging_info >&5
   1925   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1926     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1927     exit $exit_status
   1928 }
   1929 
   1930 trap 'ac_exit_trap $?' 0
   1931 for ac_signal in 1 2 13 15; do
   1932   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1933 done
   1934 ac_signal=0
   1935 
   1936 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1937 rm -f -r conftest* confdefs.h
   1938 
   1939 printf '%s\n' "/* confdefs.h */" > confdefs.h
   1940 
   1941 # Predefined preprocessor variables.
   1942 
   1943 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1944 
   1945 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1946 
   1947 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1948 
   1949 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1950 
   1951 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1952 
   1953 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1954 
   1955 
   1956 # Let the site file select an alternate cache file if it wants to.
   1957 # Prefer an explicitly selected file to automatically selected ones.
   1958 if test -n "$CONFIG_SITE"; then
   1959   ac_site_files="$CONFIG_SITE"
   1960 elif test "x$prefix" != xNONE; then
   1961   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1962 else
   1963   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1964 fi
   1965 
   1966 for ac_site_file in $ac_site_files
   1967 do
   1968   case $ac_site_file in #(
   1969   */*) :
   1970      ;; #(
   1971   *) :
   1972     ac_site_file=./$ac_site_file ;;
   1973 esac
   1974   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1975     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1976 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   1977     sed 's/^/| /' "$ac_site_file" >&5
   1978     . "$ac_site_file" \
   1979       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1980 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   1981 as_fn_error $? "failed to load site script $ac_site_file
   1982 See 'config.log' for more details" "$LINENO" 5; }
   1983   fi
   1984 done
   1985 
   1986 if test -r "$cache_file"; then
   1987   # Some versions of bash will fail to source /dev/null (special files
   1988   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1989   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1990     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1991 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   1992     case $cache_file in
   1993       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1994       *)                      . "./$cache_file";;
   1995     esac
   1996   fi
   1997 else
   1998   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1999 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2000   >$cache_file
   2001 fi
   2002 
   2003 # Test code for whether the C compiler supports C23 (global declarations)
   2004 ac_c_conftest_c23_globals='
   2005 /* Does the compiler advertise conformance to C17 or earlier?
   2006    Although GCC 14 does not do that, even with -std=gnu23,
   2007    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2008 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2009 # error "Compiler advertises conformance to C17 or earlier"
   2010 #endif
   2011 
   2012 // Check alignas.
   2013 char alignas (double) c23_aligned_as_double;
   2014 char alignas (0) c23_no_special_alignment;
   2015 extern char c23_aligned_as_int;
   2016 char alignas (0) alignas (int) c23_aligned_as_int;
   2017 
   2018 // Check alignof.
   2019 enum
   2020 {
   2021   c23_int_alignment = alignof (int),
   2022   c23_int_array_alignment = alignof (int[100]),
   2023   c23_char_alignment = alignof (char)
   2024 };
   2025 static_assert (0 < -alignof (int), "alignof is signed");
   2026 
   2027 int function_with_unnamed_parameter (int) { return 0; }
   2028 
   2029 void c23_noreturn ();
   2030 
   2031 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2032    The parens pacify GCC 15.  */
   2033 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2034 
   2035 bool check_that_bool_works = true | false | !nullptr;
   2036 #if !true
   2037 # error "true does not work in #if"
   2038 #endif
   2039 #if false
   2040 #elifdef __STDC_VERSION__
   2041 #else
   2042 # error "#elifdef does not work"
   2043 #endif
   2044 
   2045 #ifndef __has_c_attribute
   2046 # error "__has_c_attribute not defined"
   2047 #endif
   2048 
   2049 #ifndef __has_include
   2050 # error "__has_include not defined"
   2051 #endif
   2052 
   2053 #define LPAREN() (
   2054 #define FORTY_TWO(x) 42
   2055 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2056 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2057 
   2058 static_assert (0b101010 == 42);
   2059 static_assert (0B101010 == 42);
   2060 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2061 static_assert (0.500'\''000'\''000 == 0.5);
   2062 
   2063 enum unsignedish : unsigned int { uione = 1 };
   2064 static_assert (0 < -uione);
   2065 
   2066 #include <stddef.h>
   2067 constexpr nullptr_t null_pointer = nullptr;
   2068 
   2069 static typeof (1 + 1L) two () { return 2; }
   2070 static long int three () { return 3; }
   2071 '
   2072 
   2073 # Test code for whether the C compiler supports C23 (body of main).
   2074 ac_c_conftest_c23_main='
   2075   {
   2076     label_before_declaration:
   2077       int arr[10] = {};
   2078       if (arr[0])
   2079         goto label_before_declaration;
   2080       if (!arr[0])
   2081         goto label_at_end_of_block;
   2082     label_at_end_of_block:
   2083   }
   2084   ok |= !null_pointer;
   2085   ok |= two != three;
   2086 '
   2087 
   2088 # Test code for whether the C compiler supports C23 (complete).
   2089 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2090 
   2091 int
   2092 main (int, char **)
   2093 {
   2094   int ok = 0;
   2095   ${ac_c_conftest_c23_main}
   2096   return ok;
   2097 }
   2098 "
   2099 
   2100 # Test code for whether the C compiler supports C89 (global declarations)
   2101 ac_c_conftest_c89_globals='
   2102 /* Do not test the value of __STDC__, because some compilers define it to 0
   2103    or do not define it, while otherwise adequately conforming.  */
   2104 
   2105 #include <stddef.h>
   2106 #include <stdarg.h>
   2107 struct stat;
   2108 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2109 struct buf { int x; };
   2110 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2111 static char *e (char **p, int i)
   2112 {
   2113   return p[i];
   2114 }
   2115 static char *f (char * (*g) (char **, int), char **p, ...)
   2116 {
   2117   char *s;
   2118   va_list v;
   2119   va_start (v,p);
   2120   s = g (p, va_arg (v,int));
   2121   va_end (v);
   2122   return s;
   2123 }
   2124 
   2125 /* C89 style stringification. */
   2126 #define noexpand_stringify(a) #a
   2127 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2128 
   2129 /* C89 style token pasting.  Exercises some of the corner cases that
   2130    e.g. old MSVC gets wrong, but not very hard. */
   2131 #define noexpand_concat(a,b) a##b
   2132 #define expand_concat(a,b) noexpand_concat(a,b)
   2133 extern int vA;
   2134 extern int vbee;
   2135 #define aye A
   2136 #define bee B
   2137 int *pvA = &expand_concat(v,aye);
   2138 int *pvbee = &noexpand_concat(v,bee);
   2139 
   2140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2141    function prototypes and stuff, but not \xHH hex character constants.
   2142    These do not provoke an error unfortunately, instead are silently treated
   2143    as an "x".  The following induces an error, until -std is added to get
   2144    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2145    array size at least.  It is necessary to write \x00 == 0 to get something
   2146    that is true only with -std.  */
   2147 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2148 
   2149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2150    inside strings and character constants.  */
   2151 #define FOO(x) '\''x'\''
   2152 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2153 
   2154 int test (int i, double x);
   2155 struct s1 {int (*f) (int a);};
   2156 struct s2 {int (*f) (double a);};
   2157 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2158                int, int);'
   2159 
   2160 # Test code for whether the C compiler supports C89 (body of main).
   2161 ac_c_conftest_c89_main='
   2162 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2163 '
   2164 
   2165 # Test code for whether the C compiler supports C99 (global declarations)
   2166 ac_c_conftest_c99_globals='
   2167 /* Does the compiler advertise C99 conformance? */
   2168 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2169 # error "Compiler does not advertise C99 conformance"
   2170 #endif
   2171 
   2172 // See if C++-style comments work.
   2173 
   2174 #include <stdbool.h>
   2175 extern int puts (const char *);
   2176 extern int printf (const char *, ...);
   2177 extern int dprintf (int, const char *, ...);
   2178 extern void *malloc (size_t);
   2179 extern void free (void *);
   2180 
   2181 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2182 // dprintf is used instead of fprintf to avoid needing to declare
   2183 // FILE and stderr, and "aND" is used instead of "and" to work around
   2184 // GCC bug 40564 which is irrelevant here.
   2185 #define debug(...) dprintf (2, __VA_ARGS__)
   2186 #define showlist(...) puts (#__VA_ARGS__)
   2187 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2188 static void
   2189 test_varargs_macros (void)
   2190 {
   2191   int x = 1234;
   2192   int y = 5678;
   2193   debug ("Flag");
   2194   debug ("X = %d\n", x);
   2195   showlist (The first, second, aND third items.);
   2196   report (x>y, "x is %d but y is %d", x, y);
   2197 }
   2198 
   2199 // Check long long types.
   2200 #define BIG64 18446744073709551615ull
   2201 #define BIG32 4294967295ul
   2202 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2203 #if !BIG_OK
   2204   #error "your preprocessor is broken"
   2205 #endif
   2206 #if BIG_OK
   2207 #else
   2208   #error "your preprocessor is broken"
   2209 #endif
   2210 static long long int bignum = -9223372036854775807LL;
   2211 static unsigned long long int ubignum = BIG64;
   2212 
   2213 struct incomplete_array
   2214 {
   2215   int datasize;
   2216   double data[];
   2217 };
   2218 
   2219 struct named_init {
   2220   int number;
   2221   const wchar_t *name;
   2222   double average;
   2223 };
   2224 
   2225 typedef const char *ccp;
   2226 
   2227 static inline int
   2228 test_restrict (ccp restrict text)
   2229 {
   2230   // Iterate through items via the restricted pointer.
   2231   // Also check for declarations in for loops.
   2232   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2233     continue;
   2234   return 0;
   2235 }
   2236 
   2237 // Check varargs and va_copy.
   2238 static bool
   2239 test_varargs (const char *format, ...)
   2240 {
   2241   va_list args;
   2242   va_start (args, format);
   2243   va_list args_copy;
   2244   va_copy (args_copy, args);
   2245 
   2246   const char *str = "";
   2247   int number = 0;
   2248   float fnumber = 0;
   2249 
   2250   while (*format)
   2251     {
   2252       switch (*format++)
   2253 	{
   2254 	case '\''s'\'': // string
   2255 	  str = va_arg (args_copy, const char *);
   2256 	  break;
   2257 	case '\''d'\'': // int
   2258 	  number = va_arg (args_copy, int);
   2259 	  break;
   2260 	case '\''f'\'': // float
   2261 	  fnumber = va_arg (args_copy, double);
   2262 	  break;
   2263 	default:
   2264 	  break;
   2265 	}
   2266     }
   2267   va_end (args_copy);
   2268   va_end (args);
   2269 
   2270   return *str && number && fnumber;
   2271 }
   2272 '
   2273 
   2274 # Test code for whether the C compiler supports C99 (body of main).
   2275 ac_c_conftest_c99_main='
   2276   // Check bool.
   2277   _Bool success = false;
   2278   success |= (argc != 0);
   2279 
   2280   // Check restrict.
   2281   if (test_restrict ("String literal") == 0)
   2282     success = true;
   2283   const char *restrict newvar = "Another string";
   2284 
   2285   // Check varargs.
   2286   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2287   test_varargs_macros ();
   2288 
   2289   // Check flexible array members.
   2290   static struct incomplete_array *volatile incomplete_array_pointer;
   2291   struct incomplete_array *ia = incomplete_array_pointer;
   2292   ia->datasize = 10;
   2293   for (int i = 0; i < ia->datasize; ++i)
   2294     ia->data[i] = i * 1.234;
   2295   // Work around memory leak warnings.
   2296   free (ia);
   2297 
   2298   // Check named initializers.
   2299   struct named_init ni = {
   2300     .number = 34,
   2301     .name = L"Test wide string",
   2302     .average = 543.34343,
   2303   };
   2304 
   2305   ni.number = 58;
   2306 
   2307   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2308   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2309 
   2310   // work around unused variable warnings
   2311   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2312 	 || ni.number != 58);
   2313 '
   2314 
   2315 # Test code for whether the C compiler supports C11 (global declarations)
   2316 ac_c_conftest_c11_globals='
   2317 /* Does the compiler advertise C11 conformance? */
   2318 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2319 # error "Compiler does not advertise C11 conformance"
   2320 #endif
   2321 
   2322 // Check _Alignas.
   2323 char _Alignas (double) aligned_as_double;
   2324 char _Alignas (0) no_special_alignment;
   2325 extern char aligned_as_int;
   2326 char _Alignas (0) _Alignas (int) aligned_as_int;
   2327 
   2328 // Check _Alignof.
   2329 enum
   2330 {
   2331   int_alignment = _Alignof (int),
   2332   int_array_alignment = _Alignof (int[100]),
   2333   char_alignment = _Alignof (char)
   2334 };
   2335 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2336 
   2337 // Check _Noreturn.
   2338 int _Noreturn does_not_return (void) { for (;;) continue; }
   2339 
   2340 // Check _Static_assert.
   2341 struct test_static_assert
   2342 {
   2343   int x;
   2344   _Static_assert (sizeof (int) <= sizeof (long int),
   2345                   "_Static_assert does not work in struct");
   2346   long int y;
   2347 };
   2348 
   2349 // Check UTF-8 literals.
   2350 #define u8 syntax error!
   2351 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2352 
   2353 // Check duplicate typedefs.
   2354 typedef long *long_ptr;
   2355 typedef long int *long_ptr;
   2356 typedef long_ptr long_ptr;
   2357 
   2358 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2359 struct anonymous
   2360 {
   2361   union {
   2362     struct { int i; int j; };
   2363     struct { int k; long int l; } w;
   2364   };
   2365   int m;
   2366 } v1;
   2367 '
   2368 
   2369 # Test code for whether the C compiler supports C11 (body of main).
   2370 ac_c_conftest_c11_main='
   2371   _Static_assert ((offsetof (struct anonymous, i)
   2372 		   == offsetof (struct anonymous, w.k)),
   2373 		  "Anonymous union alignment botch");
   2374   v1.i = 2;
   2375   v1.w.k = 5;
   2376   ok |= v1.i != 5;
   2377 '
   2378 
   2379 # Test code for whether the C compiler supports C11 (complete).
   2380 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2381 ${ac_c_conftest_c99_globals}
   2382 ${ac_c_conftest_c11_globals}
   2383 
   2384 int
   2385 main (int argc, char **argv)
   2386 {
   2387   int ok = 0;
   2388   ${ac_c_conftest_c89_main}
   2389   ${ac_c_conftest_c99_main}
   2390   ${ac_c_conftest_c11_main}
   2391   return ok;
   2392 }
   2393 "
   2394 
   2395 # Test code for whether the C compiler supports C99 (complete).
   2396 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2397 ${ac_c_conftest_c99_globals}
   2398 
   2399 int
   2400 main (int argc, char **argv)
   2401 {
   2402   int ok = 0;
   2403   ${ac_c_conftest_c89_main}
   2404   ${ac_c_conftest_c99_main}
   2405   return ok;
   2406 }
   2407 "
   2408 
   2409 # Test code for whether the C compiler supports C89 (complete).
   2410 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2411 
   2412 int
   2413 main (int argc, char **argv)
   2414 {
   2415   int ok = 0;
   2416   ${ac_c_conftest_c89_main}
   2417   return ok;
   2418 }
   2419 "
   2420 
   2421 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2422 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2423 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2424 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2425 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2426 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2427 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2428 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2429 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2430 
   2431 # Auxiliary files required by this configure script.
   2432 ac_aux_files="config.guess config.sub compile missing install-sh"
   2433 
   2434 # Locations in which to look for auxiliary files.
   2435 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2436 
   2437 # Search for a directory containing all of the required auxiliary files,
   2438 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2439 # If we don't find one directory that contains all the files we need,
   2440 # we report the set of missing files from the *first* directory in
   2441 # $ac_aux_dir_candidates and give up.
   2442 ac_missing_aux_files=""
   2443 ac_first_candidate=:
   2444 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2446 as_found=false
   2447 for as_dir in $ac_aux_dir_candidates
   2448 do
   2449   IFS=$as_save_IFS
   2450   case $as_dir in #(((
   2451     '') as_dir=./ ;;
   2452     */) ;;
   2453     *) as_dir=$as_dir/ ;;
   2454   esac
   2455   as_found=:
   2456 
   2457   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2458   ac_aux_dir_found=yes
   2459   ac_install_sh=
   2460   for ac_aux in $ac_aux_files
   2461   do
   2462     # As a special case, if "install-sh" is required, that requirement
   2463     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2464     # and $ac_install_sh is set appropriately for whichever one is found.
   2465     if test x"$ac_aux" = x"install-sh"
   2466     then
   2467       if test -f "${as_dir}install-sh"; then
   2468         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2469         ac_install_sh="${as_dir}install-sh -c"
   2470       elif test -f "${as_dir}install.sh"; then
   2471         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2472         ac_install_sh="${as_dir}install.sh -c"
   2473       elif test -f "${as_dir}shtool"; then
   2474         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2475         ac_install_sh="${as_dir}shtool install -c"
   2476       else
   2477         ac_aux_dir_found=no
   2478         if $ac_first_candidate; then
   2479           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2480         else
   2481           break
   2482         fi
   2483       fi
   2484     else
   2485       if test -f "${as_dir}${ac_aux}"; then
   2486         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2487       else
   2488         ac_aux_dir_found=no
   2489         if $ac_first_candidate; then
   2490           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2491         else
   2492           break
   2493         fi
   2494       fi
   2495     fi
   2496   done
   2497   if test "$ac_aux_dir_found" = yes; then
   2498     ac_aux_dir="$as_dir"
   2499     break
   2500   fi
   2501   ac_first_candidate=false
   2502 
   2503   as_found=false
   2504 done
   2505 IFS=$as_save_IFS
   2506 if $as_found
   2507 then :
   2508 
   2509 else case e in #(
   2510   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2511 esac
   2512 fi
   2513 
   2514 
   2515 # These three variables are undocumented and unsupported,
   2516 # and are intended to be withdrawn in a future Autoconf release.
   2517 # They can cause serious problems if a builder's source tree is in a directory
   2518 # whose full name contains unusual characters.
   2519 if test -f "${ac_aux_dir}config.guess"; then
   2520   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2521 fi
   2522 if test -f "${ac_aux_dir}config.sub"; then
   2523   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2524 fi
   2525 if test -f "$ac_aux_dir/configure"; then
   2526   ac_configure="$SHELL ${ac_aux_dir}configure"
   2527 fi
   2528 
   2529 # Check that the precious variables saved in the cache have kept the same
   2530 # value.
   2531 ac_cache_corrupted=false
   2532 for ac_var in $ac_precious_vars; do
   2533   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2534   eval ac_new_set=\$ac_env_${ac_var}_set
   2535   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2536   eval ac_new_val=\$ac_env_${ac_var}_value
   2537   case $ac_old_set,$ac_new_set in
   2538     set,)
   2539       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2540 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2541       ac_cache_corrupted=: ;;
   2542     ,set)
   2543       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2544 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2545       ac_cache_corrupted=: ;;
   2546     ,);;
   2547     *)
   2548       if test "x$ac_old_val" != "x$ac_new_val"; then
   2549 	# differences in whitespace do not lead to failure.
   2550 	ac_old_val_w=
   2551 	for ac_val in x $ac_old_val; do
   2552 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2553 	done
   2554 	ac_new_val_w=
   2555 	for ac_val in x $ac_new_val; do
   2556 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2557 	done
   2558 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2559 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2560 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2561 	  ac_cache_corrupted=:
   2562 	else
   2563 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2564 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2565 	  eval $ac_var=\$ac_old_val
   2566 	fi
   2567 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2568 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2569 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2570 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2571       fi;;
   2572   esac
   2573   # Pass precious variables to config.status.
   2574   if test "$ac_new_set" = set; then
   2575     case $ac_new_val in
   2576     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2577     *) ac_arg=$ac_var=$ac_new_val ;;
   2578     esac
   2579     case " $ac_configure_args " in
   2580       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2581       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2582     esac
   2583   fi
   2584 done
   2585 if $ac_cache_corrupted; then
   2586   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2587 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2588   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2589 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2590   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2591 	    and start over" "$LINENO" 5
   2592 fi
   2593 ## -------------------- ##
   2594 ## Main body of script. ##
   2595 ## -------------------- ##
   2596 
   2597 
   2598 # Determine whether it's possible to make 'echo' print without a newline.
   2599 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2600 # for compatibility with existing Makefiles.
   2601 ECHO_C= ECHO_N= ECHO_T=
   2602 case `echo -n x` in #(((((
   2603 -n*)
   2604   case `echo 'xy\c'` in
   2605   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2606   xy)  ECHO_C='\c';;
   2607   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2608        ECHO_T='	';;
   2609   esac;;
   2610 *)
   2611   ECHO_N='-n';;
   2612 esac
   2613 
   2614 ac_ext=c
   2615 ac_cpp='$CPP $CPPFLAGS'
   2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2619 
   2620 
   2621 
   2622 ac_config_headers="$ac_config_headers config.h"
   2623 
   2624 
   2625 # Initialize Automake
   2626 am__api_version='1.18'
   2627 
   2628 
   2629 
   2630   # Find a good install program.  We prefer a C program (faster),
   2631 # so one script is as good as another.  But avoid the broken or
   2632 # incompatible versions:
   2633 # SysV /etc/install, /usr/sbin/install
   2634 # SunOS /usr/etc/install
   2635 # IRIX /sbin/install
   2636 # AIX /bin/install
   2637 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2638 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2639 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2640 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2641 # OS/2's system install, which has a completely different semantic
   2642 # ./install, which can be erroneously created by make from ./install.sh.
   2643 # Reject install programs that cannot install multiple files.
   2644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2645 printf %s "checking for a BSD-compatible install... " >&6; }
   2646 if test -z "$INSTALL"; then
   2647 if test ${ac_cv_path_install+y}
   2648 then :
   2649   printf %s "(cached) " >&6
   2650 else case e in #(
   2651   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2652 for as_dir in $PATH
   2653 do
   2654   IFS=$as_save_IFS
   2655   case $as_dir in #(((
   2656     '') as_dir=./ ;;
   2657     */) ;;
   2658     *) as_dir=$as_dir/ ;;
   2659   esac
   2660     # Account for fact that we put trailing slashes in our PATH walk.
   2661 case $as_dir in #((
   2662   ./ | /[cC]/* | \
   2663   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2664   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2665   /usr/ucb/* ) ;;
   2666   *)
   2667     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2668     # Don't use installbsd from OSF/1 since it installs stuff as root
   2669     # by default.
   2670     for ac_prog in ginstall scoinst install; do
   2671       for ac_exec_ext in '' $ac_executable_extensions; do
   2672 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2673 	  if test $ac_prog = install &&
   2674 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2675 	    # AIX install.  It has an incompatible calling convention.
   2676 	    :
   2677 	  elif test $ac_prog = install &&
   2678 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2679 	    # program-specific install script used by HP pwplus--don't use.
   2680 	    :
   2681 	  else
   2682 	    rm -rf conftest.one conftest.two conftest.dir
   2683 	    echo one > conftest.one
   2684 	    echo two > conftest.two
   2685 	    mkdir conftest.dir
   2686 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2687 	      test -s conftest.one && test -s conftest.two &&
   2688 	      test -s conftest.dir/conftest.one &&
   2689 	      test -s conftest.dir/conftest.two
   2690 	    then
   2691 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2692 	      break 3
   2693 	    fi
   2694 	  fi
   2695 	fi
   2696       done
   2697     done
   2698     ;;
   2699 esac
   2700 
   2701   done
   2702 IFS=$as_save_IFS
   2703 
   2704 rm -rf conftest.one conftest.two conftest.dir
   2705  ;;
   2706 esac
   2707 fi
   2708   if test ${ac_cv_path_install+y}; then
   2709     INSTALL=$ac_cv_path_install
   2710   else
   2711     # As a last resort, use the slow shell script.  Don't cache a
   2712     # value for INSTALL within a source directory, because that will
   2713     # break other packages using the cache if that directory is
   2714     # removed, or if the value is a relative name.
   2715     INSTALL=$ac_install_sh
   2716   fi
   2717 fi
   2718 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2719 printf '%s\n' "$INSTALL" >&6; }
   2720 
   2721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2722 # It thinks the first close brace ends the variable substitution.
   2723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2724 
   2725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2726 
   2727 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2728 
   2729 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2730 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2731 if test ${am_cv_sleep_fractional_seconds+y}
   2732 then :
   2733   printf %s "(cached) " >&6
   2734 else case e in #(
   2735   e) if sleep 0.001 2>/dev/null
   2736 then :
   2737   am_cv_sleep_fractional_seconds=yes
   2738 else case e in #(
   2739   e) am_cv_sleep_fractional_seconds=no ;;
   2740 esac
   2741 fi
   2742  ;;
   2743 esac
   2744 fi
   2745 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2746 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2747 
   2748 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2749 printf %s "checking filesystem timestamp resolution... " >&6; }
   2750 if test ${am_cv_filesystem_timestamp_resolution+y}
   2751 then :
   2752   printf %s "(cached) " >&6
   2753 else case e in #(
   2754   e) # Default to the worst case.
   2755 am_cv_filesystem_timestamp_resolution=2
   2756 
   2757 # Only try to go finer than 1 sec if sleep can do it.
   2758 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2759 # - 1 sec is not much of a win compared to 2 sec, and
   2760 # - it takes 2 seconds to perform the test whether 1 sec works.
   2761 #
   2762 # Instead, just use the default 2s on platforms that have 1s resolution,
   2763 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2764 # exchange for not incurring the 2s delay for running the test for all
   2765 # packages.
   2766 #
   2767 am_try_resolutions=
   2768 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2769   # Even a millisecond often causes a bunch of false positives,
   2770   # so just try a hundredth of a second. The time saved between .001 and
   2771   # .01 is not terribly consequential.
   2772   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2773 fi
   2774 
   2775 # In order to catch current-generation FAT out, we must *modify* files
   2776 # that already exist; the *creation* timestamp is finer.  Use names
   2777 # that make ls -t sort them differently when they have equal
   2778 # timestamps than when they have distinct timestamps, keeping
   2779 # in mind that ls -t prints the *newest* file first.
   2780 rm -f conftest.ts?
   2781 : > conftest.ts1
   2782 : > conftest.ts2
   2783 : > conftest.ts3
   2784 
   2785 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2786 # clobber the current shell's arguments. (Outer-level square brackets
   2787 # are removed by m4; they're present so that m4 does not expand
   2788 # <dollar><star>; be careful, easy to get confused.)
   2789 if (
   2790      set X `ls -t conftest.ts[12]` &&
   2791      {
   2792        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2793        test "$*" != "X conftest.ts2 conftest.ts1";
   2794      }
   2795 ); then :; else
   2796   # If neither matched, then we have a broken ls.  This can happen
   2797   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2798   # broken ls alias from the environment.  This has actually
   2799   # happened.  Such a system could not be considered "sane".
   2800   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2801   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2802 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2803 as_fn_error $? "ls -t produces unexpected output.
   2804 Make sure there is not a broken ls alias in your environment.
   2805 See 'config.log' for more details" "$LINENO" 5; }
   2806 fi
   2807 
   2808 for am_try_res in $am_try_resolutions; do
   2809   # Any one fine-grained sleep might happen to cross the boundary
   2810   # between two values of a coarser actual resolution, but if we do
   2811   # two fine-grained sleeps in a row, at least one of them will fall
   2812   # entirely within a coarse interval.
   2813   echo alpha > conftest.ts1
   2814   sleep $am_try_res
   2815   echo beta > conftest.ts2
   2816   sleep $am_try_res
   2817   echo gamma > conftest.ts3
   2818 
   2819   # We assume that 'ls -t' will make use of high-resolution
   2820   # timestamps if the operating system supports them at all.
   2821   if (set X `ls -t conftest.ts?` &&
   2822       test "$2" = conftest.ts3 &&
   2823       test "$3" = conftest.ts2 &&
   2824       test "$4" = conftest.ts1); then
   2825     #
   2826     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2827     # because we don't need to test make.
   2828     make_ok=true
   2829     if test $am_try_res != 1; then
   2830       # But if we've succeeded so far with a subsecond resolution, we
   2831       # have one more thing to check: make. It can happen that
   2832       # everything else supports the subsecond mtimes, but make doesn't;
   2833       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2834       # released under GPLv2). https://bugs.gnu.org/68808
   2835       #
   2836       # We test $MAKE if it is defined in the environment, else "make".
   2837       # It might get overridden later, but our hope is that in practice
   2838       # it does not matter: it is the system "make" which is (by far)
   2839       # the most likely to be broken, whereas if the user overrides it,
   2840       # probably they did so with a better, or at least not worse, make.
   2841       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2842       #
   2843       # Create a Makefile (real tab character here):
   2844       rm -f conftest.mk
   2845       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2846       echo '	touch conftest.ts2' >>conftest.mk
   2847       #
   2848       # Now, running
   2849       #   touch conftest.ts1; touch conftest.ts2; make
   2850       # should touch ts1 because ts2 is newer. This could happen by luck,
   2851       # but most often, it will fail if make's support is insufficient. So
   2852       # test for several consecutive successes.
   2853       #
   2854       # (We reuse conftest.ts[12] because we still want to modify existing
   2855       # files, not create new ones, per above.)
   2856       n=0
   2857       make=${MAKE-make}
   2858       until test $n -eq 3; do
   2859         echo one > conftest.ts1
   2860         sleep $am_try_res
   2861         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2862         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2863           make_ok=false
   2864           break # out of $n loop
   2865         fi
   2866         n=`expr $n + 1`
   2867       done
   2868     fi
   2869     #
   2870     if $make_ok; then
   2871       # Everything we know to check worked out, so call this resolution good.
   2872       am_cv_filesystem_timestamp_resolution=$am_try_res
   2873       break # out of $am_try_res loop
   2874     fi
   2875     # Otherwise, we'll go on to check the next resolution.
   2876   fi
   2877 done
   2878 rm -f conftest.ts?
   2879 # (end _am_filesystem_timestamp_resolution)
   2880  ;;
   2881 esac
   2882 fi
   2883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2884 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   2885 
   2886 # This check should not be cached, as it may vary across builds of
   2887 # different projects.
   2888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2889 printf %s "checking whether build environment is sane... " >&6; }
   2890 # Reject unsafe characters in $srcdir or the absolute working directory
   2891 # name.  Accept space and tab only in the latter.
   2892 am_lf='
   2893 '
   2894 case `pwd` in
   2895   *[\\\"\#\$\&\'\`$am_lf]*)
   2896     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2897 printf '%s\n' "no" >&6; }
   2898     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2899 esac
   2900 case $srcdir in
   2901   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2902     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2903 printf '%s\n' "no" >&6; }
   2904     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2905 esac
   2906 
   2907 # Do 'set' in a subshell so we don't clobber the current shell's
   2908 # arguments.  Must try -L first in case configure is actually a
   2909 # symlink; some systems play weird games with the mod time of symlinks
   2910 # (eg FreeBSD returns the mod time of the symlink's containing
   2911 # directory).
   2912 am_build_env_is_sane=no
   2913 am_has_slept=no
   2914 rm -f conftest.file
   2915 for am_try in 1 2; do
   2916   echo "timestamp, slept: $am_has_slept" > conftest.file
   2917   if (
   2918     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2919     if test "$*" = "X"; then
   2920       # -L didn't work.
   2921       set X `ls -t "$srcdir/configure" conftest.file`
   2922     fi
   2923     test "$2" = conftest.file
   2924   ); then
   2925     am_build_env_is_sane=yes
   2926     break
   2927   fi
   2928   # Just in case.
   2929   sleep "$am_cv_filesystem_timestamp_resolution"
   2930   am_has_slept=yes
   2931 done
   2932 
   2933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2934 printf '%s\n' "$am_build_env_is_sane" >&6; }
   2935 if test "$am_build_env_is_sane" = no; then
   2936   as_fn_error $? "newly created file is older than distributed files!
   2937 Check your system clock" "$LINENO" 5
   2938 fi
   2939 
   2940 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2941 # generated files are strictly newer.
   2942 am_sleep_pid=
   2943 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2944 then :
   2945 
   2946 else case e in #(
   2947   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2948   am_sleep_pid=$!
   2949  ;;
   2950 esac
   2951 fi
   2952 
   2953 rm -f conftest.file
   2954 
   2955 test "$program_prefix" != NONE &&
   2956   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2957 # Use a double $ so make ignores it.
   2958 test "$program_suffix" != NONE &&
   2959   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2960 # Double any \ or $.
   2961 # By default was 's,x,x', remove it if useless.
   2962 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2963 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   2964 
   2965 
   2966 # Expand $ac_aux_dir to an absolute path.
   2967 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2968 
   2969 
   2970   if test x"${MISSING+set}" != xset; then
   2971   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2972 fi
   2973 # Use eval to expand $SHELL
   2974 if eval "$MISSING --is-lightweight"; then
   2975   am_missing_run="$MISSING "
   2976 else
   2977   am_missing_run=
   2978   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2979 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2980 fi
   2981 
   2982 if test x"${install_sh+set}" != xset; then
   2983   case $am_aux_dir in
   2984   *\ * | *\	*)
   2985     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2986   *)
   2987     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2988   esac
   2989 fi
   2990 
   2991 # Installed binaries are usually stripped using 'strip' when the user
   2992 # run "make install-strip".  However 'strip' might not be the right
   2993 # tool to use in cross-compilation environments, therefore Automake
   2994 # will honor the 'STRIP' environment variable to overrule this program.
   2995 if test "$cross_compiling" != no; then
   2996   if test -n "$ac_tool_prefix"; then
   2997   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2998 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2999 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3000 printf %s "checking for $ac_word... " >&6; }
   3001 if test ${ac_cv_prog_STRIP+y}
   3002 then :
   3003   printf %s "(cached) " >&6
   3004 else case e in #(
   3005   e) if test -n "$STRIP"; then
   3006   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3007 else
   3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3009 for as_dir in $PATH
   3010 do
   3011   IFS=$as_save_IFS
   3012   case $as_dir in #(((
   3013     '') as_dir=./ ;;
   3014     */) ;;
   3015     *) as_dir=$as_dir/ ;;
   3016   esac
   3017     for ac_exec_ext in '' $ac_executable_extensions; do
   3018   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3019     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3020     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3021     break 2
   3022   fi
   3023 done
   3024   done
   3025 IFS=$as_save_IFS
   3026 
   3027 fi ;;
   3028 esac
   3029 fi
   3030 STRIP=$ac_cv_prog_STRIP
   3031 if test -n "$STRIP"; then
   3032   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3033 printf '%s\n' "$STRIP" >&6; }
   3034 else
   3035   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3036 printf '%s\n' "no" >&6; }
   3037 fi
   3038 
   3039 
   3040 fi
   3041 if test -z "$ac_cv_prog_STRIP"; then
   3042   ac_ct_STRIP=$STRIP
   3043   # Extract the first word of "strip", so it can be a program name with args.
   3044 set dummy strip; ac_word=$2
   3045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3046 printf %s "checking for $ac_word... " >&6; }
   3047 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3048 then :
   3049   printf %s "(cached) " >&6
   3050 else case e in #(
   3051   e) if test -n "$ac_ct_STRIP"; then
   3052   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3053 else
   3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3055 for as_dir in $PATH
   3056 do
   3057   IFS=$as_save_IFS
   3058   case $as_dir in #(((
   3059     '') as_dir=./ ;;
   3060     */) ;;
   3061     *) as_dir=$as_dir/ ;;
   3062   esac
   3063     for ac_exec_ext in '' $ac_executable_extensions; do
   3064   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3065     ac_cv_prog_ac_ct_STRIP="strip"
   3066     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3067     break 2
   3068   fi
   3069 done
   3070   done
   3071 IFS=$as_save_IFS
   3072 
   3073 fi ;;
   3074 esac
   3075 fi
   3076 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3077 if test -n "$ac_ct_STRIP"; then
   3078   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3079 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3080 else
   3081   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3082 printf '%s\n' "no" >&6; }
   3083 fi
   3084 
   3085   if test "x$ac_ct_STRIP" = x; then
   3086     STRIP=":"
   3087   else
   3088     case $cross_compiling:$ac_tool_warned in
   3089 yes:)
   3090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3091 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3092 ac_tool_warned=yes ;;
   3093 esac
   3094     STRIP=$ac_ct_STRIP
   3095   fi
   3096 else
   3097   STRIP="$ac_cv_prog_STRIP"
   3098 fi
   3099 
   3100 fi
   3101 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3102 
   3103 
   3104   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3105 printf %s "checking for a race-free mkdir -p... " >&6; }
   3106 if test -z "$MKDIR_P"; then
   3107   if test ${ac_cv_path_mkdir+y}
   3108 then :
   3109   printf %s "(cached) " >&6
   3110 else case e in #(
   3111   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3112 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3113 do
   3114   IFS=$as_save_IFS
   3115   case $as_dir in #(((
   3116     '') as_dir=./ ;;
   3117     */) ;;
   3118     *) as_dir=$as_dir/ ;;
   3119   esac
   3120     for ac_prog in mkdir gmkdir; do
   3121 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3122 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3123 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3124 	     'mkdir ('*'coreutils) '* | \
   3125 	     *'BusyBox '* | \
   3126 	     'mkdir (fileutils) '4.1*)
   3127 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3128 	       break 3;;
   3129 	   esac
   3130 	 done
   3131        done
   3132   done
   3133 IFS=$as_save_IFS
   3134  ;;
   3135 esac
   3136 fi
   3137 
   3138   test -d ./--version && rmdir ./--version
   3139   if test ${ac_cv_path_mkdir+y}; then
   3140     MKDIR_P="$ac_cv_path_mkdir -p"
   3141   else
   3142     # As a last resort, use plain mkdir -p,
   3143     # in the hope it doesn't have the bugs of ancient mkdir.
   3144     MKDIR_P='mkdir -p'
   3145   fi
   3146 fi
   3147 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3148 printf '%s\n' "$MKDIR_P" >&6; }
   3149 
   3150 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3151 do
   3152   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3153 set dummy $ac_prog; ac_word=$2
   3154 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3155 printf %s "checking for $ac_word... " >&6; }
   3156 if test ${ac_cv_prog_AWK+y}
   3157 then :
   3158   printf %s "(cached) " >&6
   3159 else case e in #(
   3160   e) if test -n "$AWK"; then
   3161   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3162 else
   3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3164 for as_dir in $PATH
   3165 do
   3166   IFS=$as_save_IFS
   3167   case $as_dir in #(((
   3168     '') as_dir=./ ;;
   3169     */) ;;
   3170     *) as_dir=$as_dir/ ;;
   3171   esac
   3172     for ac_exec_ext in '' $ac_executable_extensions; do
   3173   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3174     ac_cv_prog_AWK="$ac_prog"
   3175     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3176     break 2
   3177   fi
   3178 done
   3179   done
   3180 IFS=$as_save_IFS
   3181 
   3182 fi ;;
   3183 esac
   3184 fi
   3185 AWK=$ac_cv_prog_AWK
   3186 if test -n "$AWK"; then
   3187   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3188 printf '%s\n' "$AWK" >&6; }
   3189 else
   3190   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3191 printf '%s\n' "no" >&6; }
   3192 fi
   3193 
   3194 
   3195   test -n "$AWK" && break
   3196 done
   3197 
   3198 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3199 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3200 set x ${MAKE-make}
   3201 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3202 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3203 then :
   3204   printf %s "(cached) " >&6
   3205 else case e in #(
   3206   e) cat >conftest.make <<\_ACEOF
   3207 SHELL = /bin/sh
   3208 all:
   3209 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3210 _ACEOF
   3211 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3212 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3213   *@@@%%%=?*=@@@%%%*)
   3214     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3215   *)
   3216     eval ac_cv_prog_make_${ac_make}_set=no;;
   3217 esac
   3218 rm -f conftest.make ;;
   3219 esac
   3220 fi
   3221 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3222   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3223 printf '%s\n' "yes" >&6; }
   3224   SET_MAKE=
   3225 else
   3226   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3227 printf '%s\n' "no" >&6; }
   3228   SET_MAKE="MAKE=${MAKE-make}"
   3229 fi
   3230 
   3231 rm -rf .tst 2>/dev/null
   3232 mkdir .tst 2>/dev/null
   3233 if test -d .tst; then
   3234   am__leading_dot=.
   3235 else
   3236   am__leading_dot=_
   3237 fi
   3238 rmdir .tst 2>/dev/null
   3239 
   3240 AM_DEFAULT_VERBOSITY=1
   3241 # Check whether --enable-silent-rules was given.
   3242 if test ${enable_silent_rules+y}
   3243 then :
   3244   enableval=$enable_silent_rules;
   3245 fi
   3246 
   3247 am_make=${MAKE-make}
   3248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3249 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3250 if test ${am_cv_make_support_nested_variables+y}
   3251 then :
   3252   printf %s "(cached) " >&6
   3253 else case e in #(
   3254   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3255 BAR0=false
   3256 BAR1=true
   3257 V=1
   3258 am__doit:
   3259 	@$(TRUE)
   3260 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3261   am_cv_make_support_nested_variables=yes
   3262 else
   3263   am_cv_make_support_nested_variables=no
   3264 fi ;;
   3265 esac
   3266 fi
   3267 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3268 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3269 AM_BACKSLASH='\'
   3270 
   3271 am__rm_f_notfound=
   3272 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3273 then :
   3274 
   3275 else case e in #(
   3276   e) am__rm_f_notfound='""' ;;
   3277 esac
   3278 fi
   3279 
   3280 
   3281 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3282 printf %s "checking xargs -n works... " >&6; }
   3283 if test ${am_cv_xargs_n_works+y}
   3284 then :
   3285   printf %s "(cached) " >&6
   3286 else case e in #(
   3287   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3288 3"
   3289 then :
   3290   am_cv_xargs_n_works=yes
   3291 else case e in #(
   3292   e) am_cv_xargs_n_works=no ;;
   3293 esac
   3294 fi ;;
   3295 esac
   3296 fi
   3297 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3298 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3299 if test "$am_cv_xargs_n_works" = yes
   3300 then :
   3301   am__xargs_n='xargs -n'
   3302 else case e in #(
   3303   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3304  ;;
   3305 esac
   3306 fi
   3307 
   3308 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3309   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3310   # is not polluted with repeated "-I."
   3311   am__isrc=' -I$(srcdir)'
   3312   # test to see if srcdir already configured
   3313   if test -f $srcdir/config.status; then
   3314     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3315   fi
   3316 fi
   3317 
   3318 # test whether we have cygpath
   3319 if test -z "$CYGPATH_W"; then
   3320   if (cygpath --version) >/dev/null 2>/dev/null; then
   3321     CYGPATH_W='cygpath -w'
   3322   else
   3323     CYGPATH_W=echo
   3324   fi
   3325 fi
   3326 
   3327 
   3328 # Define the identity of the package.
   3329  PACKAGE='xwud'
   3330  VERSION='1.0.8'
   3331 
   3332 
   3333 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3334 
   3335 
   3336 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3337 
   3338 # Some tools Automake needs.
   3339 
   3340 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3341 
   3342 
   3343 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3344 
   3345 
   3346 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3347 
   3348 
   3349 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3350 
   3351 
   3352 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3353 
   3354 # For better backward compatibility.  To be removed once Automake 1.9.x
   3355 # dies out for good.  For more background, see:
   3356 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3357 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3358 mkdir_p='$(MKDIR_P)'
   3359 
   3360 # We need awk for the "check" target (and possibly the TAP driver).  The
   3361 # system "awk" is bad on some platforms.
   3362 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3363 # in the wild :-(  We should find a proper way to deprecate it ...
   3364 AMTAR='$${TAR-tar}'
   3365 
   3366 
   3367 # We'll loop over all known methods to create a tar archive until one works.
   3368 _am_tools='gnutar plaintar pax cpio none'
   3369 
   3370 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3371       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3372       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3373       # and bug#13588).
   3374       am_max_uid=2097151 # 2^21 - 1
   3375       am_max_gid=$am_max_uid
   3376       # The $UID and $GID variables are not portable, so we need to resort
   3377       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3378       # below are definitely unexpected, so allow the users to see them
   3379       # (that is, avoid stderr redirection).
   3380       am_uid=`id -u || echo unknown`
   3381       am_gid=`id -g || echo unknown`
   3382       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3383 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3384       if test x$am_uid = xunknown; then
   3385         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3386 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3387       elif test $am_uid -le $am_max_uid; then
   3388         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3389 printf '%s\n' "yes" >&6; }
   3390       else
   3391         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3392 printf '%s\n' "no" >&6; }
   3393         _am_tools=none
   3394       fi
   3395       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3396 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3397       if test x$gm_gid = xunknown; then
   3398         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3399 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3400       elif test $am_gid -le $am_max_gid; then
   3401         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3402 printf '%s\n' "yes" >&6; }
   3403       else
   3404         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3405 printf '%s\n' "no" >&6; }
   3406         _am_tools=none
   3407       fi
   3408 
   3409   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3410 printf %s "checking how to create a ustar tar archive... " >&6; }
   3411 
   3412   # Go ahead even if we have the value already cached.  We do so because we
   3413   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3414   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3415 
   3416   for _am_tool in $_am_tools; do
   3417     case $_am_tool in
   3418     gnutar)
   3419       for _am_tar in tar gnutar gtar; do
   3420         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3421    ($_am_tar --version) >&5 2>&5
   3422    ac_status=$?
   3423    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3424    (exit $ac_status); } && break
   3425       done
   3426       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3427       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3428       am__untar="$_am_tar -xf -"
   3429       ;;
   3430     plaintar)
   3431       # Must skip GNU tar: if it does not support --format= it doesn't create
   3432       # ustar tarball either.
   3433       (tar --version) >/dev/null 2>&1 && continue
   3434       am__tar='tar chf - "$$tardir"'
   3435       am__tar_='tar chf - "$tardir"'
   3436       am__untar='tar xf -'
   3437       ;;
   3438     pax)
   3439       am__tar='pax -L -x ustar -w "$$tardir"'
   3440       am__tar_='pax -L -x ustar -w "$tardir"'
   3441       am__untar='pax -r'
   3442       ;;
   3443     cpio)
   3444       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3445       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3446       am__untar='cpio -i -H ustar -d'
   3447       ;;
   3448     none)
   3449       am__tar=false
   3450       am__tar_=false
   3451       am__untar=false
   3452       ;;
   3453     esac
   3454 
   3455     # If the value was cached, stop now.  We just wanted to have am__tar
   3456     # and am__untar set.
   3457     test -n "${am_cv_prog_tar_ustar}" && break
   3458 
   3459     # tar/untar a dummy directory, and stop if the command works.
   3460     rm -rf conftest.dir
   3461     mkdir conftest.dir
   3462     echo GrepMe > conftest.dir/file
   3463     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3464    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3465    ac_status=$?
   3466    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3467    (exit $ac_status); }
   3468     rm -rf conftest.dir
   3469     if test -s conftest.tar; then
   3470       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3471    ($am__untar <conftest.tar) >&5 2>&5
   3472    ac_status=$?
   3473    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3474    (exit $ac_status); }
   3475       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3476    (cat conftest.dir/file) >&5 2>&5
   3477    ac_status=$?
   3478    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3479    (exit $ac_status); }
   3480       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3481     fi
   3482   done
   3483   rm -rf conftest.dir
   3484 
   3485   if test ${am_cv_prog_tar_ustar+y}
   3486 then :
   3487   printf %s "(cached) " >&6
   3488 else case e in #(
   3489   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3490 esac
   3491 fi
   3492 
   3493   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3494 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3495 
   3496 
   3497 
   3498 
   3499 
   3500 # Variables for tags utilities; see am/tags.am
   3501 if test -z "$CTAGS"; then
   3502   CTAGS=ctags
   3503 fi
   3504 
   3505 if test -z "$ETAGS"; then
   3506   ETAGS=etags
   3507 fi
   3508 
   3509 if test -z "$CSCOPE"; then
   3510   CSCOPE=cscope
   3511 fi
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3521 
   3522 
   3523 
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 
   3533 
   3534 
   3535 
   3536 
   3537 
   3538 
   3539 
   3540 
   3541 
   3542 
   3543 
   3544 DEPDIR="${am__leading_dot}deps"
   3545 
   3546 ac_config_commands="$ac_config_commands depfiles"
   3547 
   3548 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3549 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3550 cat > confinc.mk << 'END'
   3551 am__doit:
   3552 	@echo this is the am__doit target >confinc.out
   3553 .PHONY: am__doit
   3554 END
   3555 am__include="#"
   3556 am__quote=
   3557 # BSD make does it like this.
   3558 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3559 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3560 echo 'include confinc.mk # ignored' > confmf.GNU
   3561 _am_result=no
   3562 for s in GNU BSD; do
   3563   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3564    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3565    ac_status=$?
   3566    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3567    (exit $ac_status); }
   3568   case $?:`cat confinc.out 2>/dev/null` in #(
   3569   '0:this is the am__doit target') :
   3570     case $s in #(
   3571   BSD) :
   3572     am__include='.include' am__quote='"' ;; #(
   3573   *) :
   3574     am__include='include' am__quote='' ;;
   3575 esac ;; #(
   3576   *) :
   3577      ;;
   3578 esac
   3579   if test "$am__include" != "#"; then
   3580     _am_result="yes ($s style)"
   3581     break
   3582   fi
   3583 done
   3584 rm -f confinc.* confmf.*
   3585 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3586 printf '%s\n' "${_am_result}" >&6; }
   3587 
   3588 # Check whether --enable-dependency-tracking was given.
   3589 if test ${enable_dependency_tracking+y}
   3590 then :
   3591   enableval=$enable_dependency_tracking;
   3592 fi
   3593 
   3594 if test "x$enable_dependency_tracking" != xno; then
   3595   am_depcomp="$ac_aux_dir/depcomp"
   3596   AMDEPBACKSLASH='\'
   3597   am__nodep='_no'
   3598 fi
   3599  if test "x$enable_dependency_tracking" != xno; then
   3600   AMDEP_TRUE=
   3601   AMDEP_FALSE='#'
   3602 else
   3603   AMDEP_TRUE='#'
   3604   AMDEP_FALSE=
   3605 fi
   3606 
   3607 
   3608 ac_ext=c
   3609 ac_cpp='$CPP $CPPFLAGS'
   3610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3613 if test -n "$ac_tool_prefix"; then
   3614   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3616 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3617 printf %s "checking for $ac_word... " >&6; }
   3618 if test ${ac_cv_prog_CC+y}
   3619 then :
   3620   printf %s "(cached) " >&6
   3621 else case e in #(
   3622   e) if test -n "$CC"; then
   3623   ac_cv_prog_CC="$CC" # Let the user override the test.
   3624 else
   3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3626 for as_dir in $PATH
   3627 do
   3628   IFS=$as_save_IFS
   3629   case $as_dir in #(((
   3630     '') as_dir=./ ;;
   3631     */) ;;
   3632     *) as_dir=$as_dir/ ;;
   3633   esac
   3634     for ac_exec_ext in '' $ac_executable_extensions; do
   3635   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3636     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3637     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3638     break 2
   3639   fi
   3640 done
   3641   done
   3642 IFS=$as_save_IFS
   3643 
   3644 fi ;;
   3645 esac
   3646 fi
   3647 CC=$ac_cv_prog_CC
   3648 if test -n "$CC"; then
   3649   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3650 printf '%s\n' "$CC" >&6; }
   3651 else
   3652   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3653 printf '%s\n' "no" >&6; }
   3654 fi
   3655 
   3656 
   3657 fi
   3658 if test -z "$ac_cv_prog_CC"; then
   3659   ac_ct_CC=$CC
   3660   # Extract the first word of "gcc", so it can be a program name with args.
   3661 set dummy gcc; ac_word=$2
   3662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3663 printf %s "checking for $ac_word... " >&6; }
   3664 if test ${ac_cv_prog_ac_ct_CC+y}
   3665 then :
   3666   printf %s "(cached) " >&6
   3667 else case e in #(
   3668   e) if test -n "$ac_ct_CC"; then
   3669   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3670 else
   3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3672 for as_dir in $PATH
   3673 do
   3674   IFS=$as_save_IFS
   3675   case $as_dir in #(((
   3676     '') as_dir=./ ;;
   3677     */) ;;
   3678     *) as_dir=$as_dir/ ;;
   3679   esac
   3680     for ac_exec_ext in '' $ac_executable_extensions; do
   3681   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3682     ac_cv_prog_ac_ct_CC="gcc"
   3683     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3684     break 2
   3685   fi
   3686 done
   3687   done
   3688 IFS=$as_save_IFS
   3689 
   3690 fi ;;
   3691 esac
   3692 fi
   3693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3694 if test -n "$ac_ct_CC"; then
   3695   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3696 printf '%s\n' "$ac_ct_CC" >&6; }
   3697 else
   3698   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3699 printf '%s\n' "no" >&6; }
   3700 fi
   3701 
   3702   if test "x$ac_ct_CC" = x; then
   3703     CC=""
   3704   else
   3705     case $cross_compiling:$ac_tool_warned in
   3706 yes:)
   3707 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3708 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3709 ac_tool_warned=yes ;;
   3710 esac
   3711     CC=$ac_ct_CC
   3712   fi
   3713 else
   3714   CC="$ac_cv_prog_CC"
   3715 fi
   3716 
   3717 if test -z "$CC"; then
   3718           if test -n "$ac_tool_prefix"; then
   3719     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3720 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3721 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3722 printf %s "checking for $ac_word... " >&6; }
   3723 if test ${ac_cv_prog_CC+y}
   3724 then :
   3725   printf %s "(cached) " >&6
   3726 else case e in #(
   3727   e) if test -n "$CC"; then
   3728   ac_cv_prog_CC="$CC" # Let the user override the test.
   3729 else
   3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3731 for as_dir in $PATH
   3732 do
   3733   IFS=$as_save_IFS
   3734   case $as_dir in #(((
   3735     '') as_dir=./ ;;
   3736     */) ;;
   3737     *) as_dir=$as_dir/ ;;
   3738   esac
   3739     for ac_exec_ext in '' $ac_executable_extensions; do
   3740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3741     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3742     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3743     break 2
   3744   fi
   3745 done
   3746   done
   3747 IFS=$as_save_IFS
   3748 
   3749 fi ;;
   3750 esac
   3751 fi
   3752 CC=$ac_cv_prog_CC
   3753 if test -n "$CC"; then
   3754   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3755 printf '%s\n' "$CC" >&6; }
   3756 else
   3757   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3758 printf '%s\n' "no" >&6; }
   3759 fi
   3760 
   3761 
   3762   fi
   3763 fi
   3764 if test -z "$CC"; then
   3765   # Extract the first word of "cc", so it can be a program name with args.
   3766 set dummy cc; ac_word=$2
   3767 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3768 printf %s "checking for $ac_word... " >&6; }
   3769 if test ${ac_cv_prog_CC+y}
   3770 then :
   3771   printf %s "(cached) " >&6
   3772 else case e in #(
   3773   e) if test -n "$CC"; then
   3774   ac_cv_prog_CC="$CC" # Let the user override the test.
   3775 else
   3776   ac_prog_rejected=no
   3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3778 for as_dir in $PATH
   3779 do
   3780   IFS=$as_save_IFS
   3781   case $as_dir in #(((
   3782     '') as_dir=./ ;;
   3783     */) ;;
   3784     *) as_dir=$as_dir/ ;;
   3785   esac
   3786     for ac_exec_ext in '' $ac_executable_extensions; do
   3787   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3788     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3789        ac_prog_rejected=yes
   3790        continue
   3791      fi
   3792     ac_cv_prog_CC="cc"
   3793     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3794     break 2
   3795   fi
   3796 done
   3797   done
   3798 IFS=$as_save_IFS
   3799 
   3800 if test $ac_prog_rejected = yes; then
   3801   # We found a bogon in the path, so make sure we never use it.
   3802   set dummy $ac_cv_prog_CC
   3803   shift
   3804   if test $# != 0; then
   3805     # We chose a different compiler from the bogus one.
   3806     # However, it has the same basename, so the bogon will be chosen
   3807     # first if we set CC to just the basename; use the full file name.
   3808     shift
   3809     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3810   fi
   3811 fi
   3812 fi ;;
   3813 esac
   3814 fi
   3815 CC=$ac_cv_prog_CC
   3816 if test -n "$CC"; then
   3817   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3818 printf '%s\n' "$CC" >&6; }
   3819 else
   3820   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3821 printf '%s\n' "no" >&6; }
   3822 fi
   3823 
   3824 
   3825 fi
   3826 if test -z "$CC"; then
   3827   if test -n "$ac_tool_prefix"; then
   3828   for ac_prog in cl.exe
   3829   do
   3830     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3833 printf %s "checking for $ac_word... " >&6; }
   3834 if test ${ac_cv_prog_CC+y}
   3835 then :
   3836   printf %s "(cached) " >&6
   3837 else case e in #(
   3838   e) if test -n "$CC"; then
   3839   ac_cv_prog_CC="$CC" # Let the user override the test.
   3840 else
   3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3842 for as_dir in $PATH
   3843 do
   3844   IFS=$as_save_IFS
   3845   case $as_dir in #(((
   3846     '') as_dir=./ ;;
   3847     */) ;;
   3848     *) as_dir=$as_dir/ ;;
   3849   esac
   3850     for ac_exec_ext in '' $ac_executable_extensions; do
   3851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3852     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3853     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3854     break 2
   3855   fi
   3856 done
   3857   done
   3858 IFS=$as_save_IFS
   3859 
   3860 fi ;;
   3861 esac
   3862 fi
   3863 CC=$ac_cv_prog_CC
   3864 if test -n "$CC"; then
   3865   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3866 printf '%s\n' "$CC" >&6; }
   3867 else
   3868   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3869 printf '%s\n' "no" >&6; }
   3870 fi
   3871 
   3872 
   3873     test -n "$CC" && break
   3874   done
   3875 fi
   3876 if test -z "$CC"; then
   3877   ac_ct_CC=$CC
   3878   for ac_prog in cl.exe
   3879 do
   3880   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3881 set dummy $ac_prog; ac_word=$2
   3882 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3883 printf %s "checking for $ac_word... " >&6; }
   3884 if test ${ac_cv_prog_ac_ct_CC+y}
   3885 then :
   3886   printf %s "(cached) " >&6
   3887 else case e in #(
   3888   e) if test -n "$ac_ct_CC"; then
   3889   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3890 else
   3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3892 for as_dir in $PATH
   3893 do
   3894   IFS=$as_save_IFS
   3895   case $as_dir in #(((
   3896     '') as_dir=./ ;;
   3897     */) ;;
   3898     *) as_dir=$as_dir/ ;;
   3899   esac
   3900     for ac_exec_ext in '' $ac_executable_extensions; do
   3901   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3902     ac_cv_prog_ac_ct_CC="$ac_prog"
   3903     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3904     break 2
   3905   fi
   3906 done
   3907   done
   3908 IFS=$as_save_IFS
   3909 
   3910 fi ;;
   3911 esac
   3912 fi
   3913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3914 if test -n "$ac_ct_CC"; then
   3915   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3916 printf '%s\n' "$ac_ct_CC" >&6; }
   3917 else
   3918   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3919 printf '%s\n' "no" >&6; }
   3920 fi
   3921 
   3922 
   3923   test -n "$ac_ct_CC" && break
   3924 done
   3925 
   3926   if test "x$ac_ct_CC" = x; then
   3927     CC=""
   3928   else
   3929     case $cross_compiling:$ac_tool_warned in
   3930 yes:)
   3931 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3932 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3933 ac_tool_warned=yes ;;
   3934 esac
   3935     CC=$ac_ct_CC
   3936   fi
   3937 fi
   3938 
   3939 fi
   3940 if test -z "$CC"; then
   3941   if test -n "$ac_tool_prefix"; then
   3942   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3943 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3944 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3945 printf %s "checking for $ac_word... " >&6; }
   3946 if test ${ac_cv_prog_CC+y}
   3947 then :
   3948   printf %s "(cached) " >&6
   3949 else case e in #(
   3950   e) if test -n "$CC"; then
   3951   ac_cv_prog_CC="$CC" # Let the user override the test.
   3952 else
   3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3954 for as_dir in $PATH
   3955 do
   3956   IFS=$as_save_IFS
   3957   case $as_dir in #(((
   3958     '') as_dir=./ ;;
   3959     */) ;;
   3960     *) as_dir=$as_dir/ ;;
   3961   esac
   3962     for ac_exec_ext in '' $ac_executable_extensions; do
   3963   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3964     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3965     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3966     break 2
   3967   fi
   3968 done
   3969   done
   3970 IFS=$as_save_IFS
   3971 
   3972 fi ;;
   3973 esac
   3974 fi
   3975 CC=$ac_cv_prog_CC
   3976 if test -n "$CC"; then
   3977   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3978 printf '%s\n' "$CC" >&6; }
   3979 else
   3980   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3981 printf '%s\n' "no" >&6; }
   3982 fi
   3983 
   3984 
   3985 fi
   3986 if test -z "$ac_cv_prog_CC"; then
   3987   ac_ct_CC=$CC
   3988   # Extract the first word of "clang", so it can be a program name with args.
   3989 set dummy clang; ac_word=$2
   3990 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3991 printf %s "checking for $ac_word... " >&6; }
   3992 if test ${ac_cv_prog_ac_ct_CC+y}
   3993 then :
   3994   printf %s "(cached) " >&6
   3995 else case e in #(
   3996   e) if test -n "$ac_ct_CC"; then
   3997   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3998 else
   3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4000 for as_dir in $PATH
   4001 do
   4002   IFS=$as_save_IFS
   4003   case $as_dir in #(((
   4004     '') as_dir=./ ;;
   4005     */) ;;
   4006     *) as_dir=$as_dir/ ;;
   4007   esac
   4008     for ac_exec_ext in '' $ac_executable_extensions; do
   4009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4010     ac_cv_prog_ac_ct_CC="clang"
   4011     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4012     break 2
   4013   fi
   4014 done
   4015   done
   4016 IFS=$as_save_IFS
   4017 
   4018 fi ;;
   4019 esac
   4020 fi
   4021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4022 if test -n "$ac_ct_CC"; then
   4023   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4024 printf '%s\n' "$ac_ct_CC" >&6; }
   4025 else
   4026   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4027 printf '%s\n' "no" >&6; }
   4028 fi
   4029 
   4030   if test "x$ac_ct_CC" = x; then
   4031     CC=""
   4032   else
   4033     case $cross_compiling:$ac_tool_warned in
   4034 yes:)
   4035 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4036 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4037 ac_tool_warned=yes ;;
   4038 esac
   4039     CC=$ac_ct_CC
   4040   fi
   4041 else
   4042   CC="$ac_cv_prog_CC"
   4043 fi
   4044 
   4045 fi
   4046 
   4047 
   4048 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4049 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4050 as_fn_error $? "no acceptable C compiler found in \$PATH
   4051 See 'config.log' for more details" "$LINENO" 5; }
   4052 
   4053 # Provide some information about the compiler.
   4054 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4055 set X $ac_compile
   4056 ac_compiler=$2
   4057 for ac_option in --version -v -V -qversion -version; do
   4058   { { ac_try="$ac_compiler $ac_option >&5"
   4059 case "(($ac_try" in
   4060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4061   *) ac_try_echo=$ac_try;;
   4062 esac
   4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4064 printf '%s\n' "$ac_try_echo"; } >&5
   4065   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4066   ac_status=$?
   4067   if test -s conftest.err; then
   4068     sed '10a\
   4069 ... rest of stderr output deleted ...
   4070          10q' conftest.err >conftest.er1
   4071     cat conftest.er1 >&5
   4072   fi
   4073   rm -f conftest.er1 conftest.err
   4074   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4075   test $ac_status = 0; }
   4076 done
   4077 
   4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4079 /* end confdefs.h.  */
   4080 
   4081 int
   4082 main (void)
   4083 {
   4084 
   4085   ;
   4086   return 0;
   4087 }
   4088 _ACEOF
   4089 ac_clean_files_save=$ac_clean_files
   4090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4091 # Try to create an executable without -o first, disregard a.out.
   4092 # It will help us diagnose broken compilers, and finding out an intuition
   4093 # of exeext.
   4094 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4095 printf %s "checking whether the C compiler works... " >&6; }
   4096 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4097 
   4098 # The possible output files:
   4099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4100 
   4101 ac_rmfiles=
   4102 for ac_file in $ac_files
   4103 do
   4104   case $ac_file in
   4105     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4106     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4107   esac
   4108 done
   4109 rm -f $ac_rmfiles
   4110 
   4111 if { { ac_try="$ac_link_default"
   4112 case "(($ac_try" in
   4113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4114   *) ac_try_echo=$ac_try;;
   4115 esac
   4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4117 printf '%s\n' "$ac_try_echo"; } >&5
   4118   (eval "$ac_link_default") 2>&5
   4119   ac_status=$?
   4120   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4121   test $ac_status = 0; }
   4122 then :
   4123   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4124 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4125 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4126 # so that the user can short-circuit this test for compilers unknown to
   4127 # Autoconf.
   4128 for ac_file in $ac_files ''
   4129 do
   4130   test -f "$ac_file" || continue
   4131   case $ac_file in
   4132     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4133 	;;
   4134     [ab].out )
   4135 	# We found the default executable, but exeext='' is most
   4136 	# certainly right.
   4137 	break;;
   4138     *.* )
   4139 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4140 	then :; else
   4141 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4142 	fi
   4143 	# We set ac_cv_exeext here because the later test for it is not
   4144 	# safe: cross compilers may not add the suffix if given an '-o'
   4145 	# argument, so we may need to know it at that point already.
   4146 	# Even if this section looks crufty: it has the advantage of
   4147 	# actually working.
   4148 	break;;
   4149     * )
   4150 	break;;
   4151   esac
   4152 done
   4153 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4154 
   4155 else case e in #(
   4156   e) ac_file='' ;;
   4157 esac
   4158 fi
   4159 if test -z "$ac_file"
   4160 then :
   4161   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4162 printf '%s\n' "no" >&6; }
   4163 printf '%s\n' "$as_me: failed program was:" >&5
   4164 sed 's/^/| /' conftest.$ac_ext >&5
   4165 
   4166 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4167 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4168 as_fn_error 77 "C compiler cannot create executables
   4169 See 'config.log' for more details" "$LINENO" 5; }
   4170 else case e in #(
   4171   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4172 printf '%s\n' "yes" >&6; } ;;
   4173 esac
   4174 fi
   4175 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4176 printf %s "checking for C compiler default output file name... " >&6; }
   4177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4178 printf '%s\n' "$ac_file" >&6; }
   4179 ac_exeext=$ac_cv_exeext
   4180 
   4181 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4182 ac_clean_files=$ac_clean_files_save
   4183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4184 printf %s "checking for suffix of executables... " >&6; }
   4185 if { { ac_try="$ac_link"
   4186 case "(($ac_try" in
   4187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4188   *) ac_try_echo=$ac_try;;
   4189 esac
   4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4191 printf '%s\n' "$ac_try_echo"; } >&5
   4192   (eval "$ac_link") 2>&5
   4193   ac_status=$?
   4194   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4195   test $ac_status = 0; }
   4196 then :
   4197   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4198 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4199 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4200 # 'rm'.
   4201 for ac_file in conftest.exe conftest conftest.*; do
   4202   test -f "$ac_file" || continue
   4203   case $ac_file in
   4204     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4205     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4206 	  break;;
   4207     * ) break;;
   4208   esac
   4209 done
   4210 else case e in #(
   4211   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4212 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4213 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4214 See 'config.log' for more details" "$LINENO" 5; } ;;
   4215 esac
   4216 fi
   4217 rm -f conftest conftest$ac_cv_exeext
   4218 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4219 printf '%s\n' "$ac_cv_exeext" >&6; }
   4220 
   4221 rm -f conftest.$ac_ext
   4222 EXEEXT=$ac_cv_exeext
   4223 ac_exeext=$EXEEXT
   4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4225 /* end confdefs.h.  */
   4226 #include <stdio.h>
   4227 int
   4228 main (void)
   4229 {
   4230 FILE *f = fopen ("conftest.out", "w");
   4231  if (!f)
   4232   return 1;
   4233  return ferror (f) || fclose (f) != 0;
   4234 
   4235   ;
   4236   return 0;
   4237 }
   4238 _ACEOF
   4239 ac_clean_files="$ac_clean_files conftest.out"
   4240 # Check that the compiler produces executables we can run.  If not, either
   4241 # the compiler is broken, or we cross compile.
   4242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4243 printf %s "checking whether we are cross compiling... " >&6; }
   4244 if test "$cross_compiling" != yes; then
   4245   { { ac_try="$ac_link"
   4246 case "(($ac_try" in
   4247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4248   *) ac_try_echo=$ac_try;;
   4249 esac
   4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4251 printf '%s\n' "$ac_try_echo"; } >&5
   4252   (eval "$ac_link") 2>&5
   4253   ac_status=$?
   4254   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4255   test $ac_status = 0; }
   4256   if { ac_try='./conftest$ac_cv_exeext'
   4257   { { case "(($ac_try" in
   4258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4259   *) ac_try_echo=$ac_try;;
   4260 esac
   4261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4262 printf '%s\n' "$ac_try_echo"; } >&5
   4263   (eval "$ac_try") 2>&5
   4264   ac_status=$?
   4265   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4266   test $ac_status = 0; }; }; then
   4267     cross_compiling=no
   4268   else
   4269     if test "$cross_compiling" = maybe; then
   4270 	cross_compiling=yes
   4271     else
   4272 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4273 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4274 as_fn_error 77 "cannot run C compiled programs.
   4275 If you meant to cross compile, use '--host'.
   4276 See 'config.log' for more details" "$LINENO" 5; }
   4277     fi
   4278   fi
   4279 fi
   4280 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4281 printf '%s\n' "$cross_compiling" >&6; }
   4282 
   4283 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4284   conftest.o conftest.obj conftest.out
   4285 ac_clean_files=$ac_clean_files_save
   4286 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4287 printf %s "checking for suffix of object files... " >&6; }
   4288 if test ${ac_cv_objext+y}
   4289 then :
   4290   printf %s "(cached) " >&6
   4291 else case e in #(
   4292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 
   4295 int
   4296 main (void)
   4297 {
   4298 
   4299   ;
   4300   return 0;
   4301 }
   4302 _ACEOF
   4303 rm -f conftest.o conftest.obj
   4304 if { { ac_try="$ac_compile"
   4305 case "(($ac_try" in
   4306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4307   *) ac_try_echo=$ac_try;;
   4308 esac
   4309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4310 printf '%s\n' "$ac_try_echo"; } >&5
   4311   (eval "$ac_compile") 2>&5
   4312   ac_status=$?
   4313   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4314   test $ac_status = 0; }
   4315 then :
   4316   for ac_file in conftest.o conftest.obj conftest.*; do
   4317   test -f "$ac_file" || continue;
   4318   case $ac_file in
   4319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4320     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4321        break;;
   4322   esac
   4323 done
   4324 else case e in #(
   4325   e) printf '%s\n' "$as_me: failed program was:" >&5
   4326 sed 's/^/| /' conftest.$ac_ext >&5
   4327 
   4328 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4329 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4330 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4331 See 'config.log' for more details" "$LINENO" 5; } ;;
   4332 esac
   4333 fi
   4334 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4335 esac
   4336 fi
   4337 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4338 printf '%s\n' "$ac_cv_objext" >&6; }
   4339 OBJEXT=$ac_cv_objext
   4340 ac_objext=$OBJEXT
   4341 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4342 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4343 if test ${ac_cv_c_compiler_gnu+y}
   4344 then :
   4345   printf %s "(cached) " >&6
   4346 else case e in #(
   4347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4348 /* end confdefs.h.  */
   4349 
   4350 int
   4351 main (void)
   4352 {
   4353 #ifndef __GNUC__
   4354        choke me
   4355 #endif
   4356 
   4357   ;
   4358   return 0;
   4359 }
   4360 _ACEOF
   4361 if ac_fn_c_try_compile "$LINENO"
   4362 then :
   4363   ac_compiler_gnu=yes
   4364 else case e in #(
   4365   e) ac_compiler_gnu=no ;;
   4366 esac
   4367 fi
   4368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4369 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4370  ;;
   4371 esac
   4372 fi
   4373 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4374 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4376 
   4377 if test $ac_compiler_gnu = yes; then
   4378   GCC=yes
   4379 else
   4380   GCC=
   4381 fi
   4382 ac_test_CFLAGS=${CFLAGS+y}
   4383 ac_save_CFLAGS=$CFLAGS
   4384 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4385 printf %s "checking whether $CC accepts -g... " >&6; }
   4386 if test ${ac_cv_prog_cc_g+y}
   4387 then :
   4388   printf %s "(cached) " >&6
   4389 else case e in #(
   4390   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4391    ac_c_werror_flag=yes
   4392    ac_cv_prog_cc_g=no
   4393    CFLAGS="-g"
   4394    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4395 /* end confdefs.h.  */
   4396 
   4397 int
   4398 main (void)
   4399 {
   4400 
   4401   ;
   4402   return 0;
   4403 }
   4404 _ACEOF
   4405 if ac_fn_c_try_compile "$LINENO"
   4406 then :
   4407   ac_cv_prog_cc_g=yes
   4408 else case e in #(
   4409   e) CFLAGS=""
   4410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4411 /* end confdefs.h.  */
   4412 
   4413 int
   4414 main (void)
   4415 {
   4416 
   4417   ;
   4418   return 0;
   4419 }
   4420 _ACEOF
   4421 if ac_fn_c_try_compile "$LINENO"
   4422 then :
   4423 
   4424 else case e in #(
   4425   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4426 	 CFLAGS="-g"
   4427 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4428 /* end confdefs.h.  */
   4429 
   4430 int
   4431 main (void)
   4432 {
   4433 
   4434   ;
   4435   return 0;
   4436 }
   4437 _ACEOF
   4438 if ac_fn_c_try_compile "$LINENO"
   4439 then :
   4440   ac_cv_prog_cc_g=yes
   4441 fi
   4442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4443 esac
   4444 fi
   4445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4446 esac
   4447 fi
   4448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4449    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4450 esac
   4451 fi
   4452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4453 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4454 if test $ac_test_CFLAGS; then
   4455   CFLAGS=$ac_save_CFLAGS
   4456 elif test $ac_cv_prog_cc_g = yes; then
   4457   if test "$GCC" = yes; then
   4458     CFLAGS="-g -O2"
   4459   else
   4460     CFLAGS="-g"
   4461   fi
   4462 else
   4463   if test "$GCC" = yes; then
   4464     CFLAGS="-O2"
   4465   else
   4466     CFLAGS=
   4467   fi
   4468 fi
   4469 ac_prog_cc_stdc=no
   4470 if test x$ac_prog_cc_stdc = xno
   4471 then :
   4472   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4473 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4474 if test ${ac_cv_prog_cc_c23+y}
   4475 then :
   4476   printf %s "(cached) " >&6
   4477 else case e in #(
   4478   e) ac_cv_prog_cc_c23=no
   4479 ac_save_CC=$CC
   4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4481 /* end confdefs.h.  */
   4482 $ac_c_conftest_c23_program
   4483 _ACEOF
   4484 for ac_arg in '' -std=gnu23
   4485 do
   4486   CC="$ac_save_CC $ac_arg"
   4487   if ac_fn_c_try_compile "$LINENO"
   4488 then :
   4489   ac_cv_prog_cc_c23=$ac_arg
   4490 fi
   4491 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4492   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4493 done
   4494 rm -f conftest.$ac_ext
   4495 CC=$ac_save_CC ;;
   4496 esac
   4497 fi
   4498 
   4499 if test "x$ac_cv_prog_cc_c23" = xno
   4500 then :
   4501   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4502 printf '%s\n' "unsupported" >&6; }
   4503 else case e in #(
   4504   e) if test "x$ac_cv_prog_cc_c23" = x
   4505 then :
   4506   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4507 printf '%s\n' "none needed" >&6; }
   4508 else case e in #(
   4509   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4510 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4511      CC="$CC $ac_cv_prog_cc_c23" ;;
   4512 esac
   4513 fi
   4514   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4515   ac_prog_cc_stdc=c23 ;;
   4516 esac
   4517 fi
   4518 fi
   4519 if test x$ac_prog_cc_stdc = xno
   4520 then :
   4521   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4522 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4523 if test ${ac_cv_prog_cc_c11+y}
   4524 then :
   4525   printf %s "(cached) " >&6
   4526 else case e in #(
   4527   e) ac_cv_prog_cc_c11=no
   4528 ac_save_CC=$CC
   4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4530 /* end confdefs.h.  */
   4531 $ac_c_conftest_c11_program
   4532 _ACEOF
   4533 for ac_arg in '' -std=gnu11 -std:c11
   4534 do
   4535   CC="$ac_save_CC $ac_arg"
   4536   if ac_fn_c_try_compile "$LINENO"
   4537 then :
   4538   ac_cv_prog_cc_c11=$ac_arg
   4539 fi
   4540 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4541   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4542 done
   4543 rm -f conftest.$ac_ext
   4544 CC=$ac_save_CC ;;
   4545 esac
   4546 fi
   4547 
   4548 if test "x$ac_cv_prog_cc_c11" = xno
   4549 then :
   4550   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4551 printf '%s\n' "unsupported" >&6; }
   4552 else case e in #(
   4553   e) if test "x$ac_cv_prog_cc_c11" = x
   4554 then :
   4555   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4556 printf '%s\n' "none needed" >&6; }
   4557 else case e in #(
   4558   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4559 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4560      CC="$CC $ac_cv_prog_cc_c11" ;;
   4561 esac
   4562 fi
   4563   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4564   ac_prog_cc_stdc=c11 ;;
   4565 esac
   4566 fi
   4567 fi
   4568 if test x$ac_prog_cc_stdc = xno
   4569 then :
   4570   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4571 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4572 if test ${ac_cv_prog_cc_c99+y}
   4573 then :
   4574   printf %s "(cached) " >&6
   4575 else case e in #(
   4576   e) ac_cv_prog_cc_c99=no
   4577 ac_save_CC=$CC
   4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4579 /* end confdefs.h.  */
   4580 $ac_c_conftest_c99_program
   4581 _ACEOF
   4582 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4583 do
   4584   CC="$ac_save_CC $ac_arg"
   4585   if ac_fn_c_try_compile "$LINENO"
   4586 then :
   4587   ac_cv_prog_cc_c99=$ac_arg
   4588 fi
   4589 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4590   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4591 done
   4592 rm -f conftest.$ac_ext
   4593 CC=$ac_save_CC ;;
   4594 esac
   4595 fi
   4596 
   4597 if test "x$ac_cv_prog_cc_c99" = xno
   4598 then :
   4599   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4600 printf '%s\n' "unsupported" >&6; }
   4601 else case e in #(
   4602   e) if test "x$ac_cv_prog_cc_c99" = x
   4603 then :
   4604   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4605 printf '%s\n' "none needed" >&6; }
   4606 else case e in #(
   4607   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4608 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4609      CC="$CC $ac_cv_prog_cc_c99" ;;
   4610 esac
   4611 fi
   4612   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4613   ac_prog_cc_stdc=c99 ;;
   4614 esac
   4615 fi
   4616 fi
   4617 if test x$ac_prog_cc_stdc = xno
   4618 then :
   4619   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4620 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4621 if test ${ac_cv_prog_cc_c89+y}
   4622 then :
   4623   printf %s "(cached) " >&6
   4624 else case e in #(
   4625   e) ac_cv_prog_cc_c89=no
   4626 ac_save_CC=$CC
   4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4628 /* end confdefs.h.  */
   4629 $ac_c_conftest_c89_program
   4630 _ACEOF
   4631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4632 do
   4633   CC="$ac_save_CC $ac_arg"
   4634   if ac_fn_c_try_compile "$LINENO"
   4635 then :
   4636   ac_cv_prog_cc_c89=$ac_arg
   4637 fi
   4638 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4639   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4640 done
   4641 rm -f conftest.$ac_ext
   4642 CC=$ac_save_CC ;;
   4643 esac
   4644 fi
   4645 
   4646 if test "x$ac_cv_prog_cc_c89" = xno
   4647 then :
   4648   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4649 printf '%s\n' "unsupported" >&6; }
   4650 else case e in #(
   4651   e) if test "x$ac_cv_prog_cc_c89" = x
   4652 then :
   4653   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4654 printf '%s\n' "none needed" >&6; }
   4655 else case e in #(
   4656   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4657 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4658      CC="$CC $ac_cv_prog_cc_c89" ;;
   4659 esac
   4660 fi
   4661   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4662   ac_prog_cc_stdc=c89 ;;
   4663 esac
   4664 fi
   4665 fi
   4666 
   4667 ac_ext=c
   4668 ac_cpp='$CPP $CPPFLAGS'
   4669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4672 
   4673 
   4674   ac_ext=c
   4675 ac_cpp='$CPP $CPPFLAGS'
   4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4679 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4680 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4681 if test ${am_cv_prog_cc_c_o+y}
   4682 then :
   4683   printf %s "(cached) " >&6
   4684 else case e in #(
   4685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4686 /* end confdefs.h.  */
   4687 
   4688 int
   4689 main (void)
   4690 {
   4691 
   4692   ;
   4693   return 0;
   4694 }
   4695 _ACEOF
   4696   # Make sure it works both with $CC and with simple cc.
   4697   # Following AC_PROG_CC_C_O, we do the test twice because some
   4698   # compilers refuse to overwrite an existing .o file with -o,
   4699   # though they will create one.
   4700   am_cv_prog_cc_c_o=yes
   4701   for am_i in 1 2; do
   4702     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4703    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4704    ac_status=$?
   4705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4706    (exit $ac_status); } \
   4707          && test -f conftest2.$ac_objext; then
   4708       : OK
   4709     else
   4710       am_cv_prog_cc_c_o=no
   4711       break
   4712     fi
   4713   done
   4714   # aligned with autoconf, so not including core; see bug#72225.
   4715   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4716     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4717     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4718   unset am_i ;;
   4719 esac
   4720 fi
   4721 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4722 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4723 if test "$am_cv_prog_cc_c_o" != yes; then
   4724    # Losing compiler, so override with the script.
   4725    # FIXME: It is wrong to rewrite CC.
   4726    # But if we don't then we get into trouble of one sort or another.
   4727    # A longer-term fix would be to have automake use am__CC in this case,
   4728    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4729    CC="$am_aux_dir/compile $CC"
   4730 fi
   4731 ac_ext=c
   4732 ac_cpp='$CPP $CPPFLAGS'
   4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4736 
   4737 
   4738 depcc="$CC"   am_compiler_list=
   4739 
   4740 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4741 printf %s "checking dependency style of $depcc... " >&6; }
   4742 if test ${am_cv_CC_dependencies_compiler_type+y}
   4743 then :
   4744   printf %s "(cached) " >&6
   4745 else case e in #(
   4746   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4747   # We make a subdir and do the tests there.  Otherwise we can end up
   4748   # making bogus files that we don't know about and never remove.  For
   4749   # instance it was reported that on HP-UX the gcc test will end up
   4750   # making a dummy file named 'D' -- because '-MD' means "put the output
   4751   # in D".
   4752   rm -rf conftest.dir
   4753   mkdir conftest.dir
   4754   # Copy depcomp to subdir because otherwise we won't find it if we're
   4755   # using a relative directory.
   4756   cp "$am_depcomp" conftest.dir
   4757   cd conftest.dir
   4758   # We will build objects and dependencies in a subdirectory because
   4759   # it helps to detect inapplicable dependency modes.  For instance
   4760   # both Tru64's cc and ICC support -MD to output dependencies as a
   4761   # side effect of compilation, but ICC will put the dependencies in
   4762   # the current directory while Tru64 will put them in the object
   4763   # directory.
   4764   mkdir sub
   4765 
   4766   am_cv_CC_dependencies_compiler_type=none
   4767   if test "$am_compiler_list" = ""; then
   4768      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4769   fi
   4770   am__universal=false
   4771   case " $depcc " in #(
   4772      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4773      esac
   4774 
   4775   for depmode in $am_compiler_list; do
   4776     # Setup a source with many dependencies, because some compilers
   4777     # like to wrap large dependency lists on column 80 (with \), and
   4778     # we should not choose a depcomp mode which is confused by this.
   4779     #
   4780     # We need to recreate these files for each test, as the compiler may
   4781     # overwrite some of them when testing with obscure command lines.
   4782     # This happens at least with the AIX C compiler.
   4783     : > sub/conftest.c
   4784     for i in 1 2 3 4 5 6; do
   4785       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4786       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4787       # Solaris 10 /bin/sh.
   4788       echo '/* dummy */' > sub/conftst$i.h
   4789     done
   4790     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4791 
   4792     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4793     # mode.  It turns out that the SunPro C++ compiler does not properly
   4794     # handle '-M -o', and we need to detect this.  Also, some Intel
   4795     # versions had trouble with output in subdirs.
   4796     am__obj=sub/conftest.${OBJEXT-o}
   4797     am__minus_obj="-o $am__obj"
   4798     case $depmode in
   4799     gcc)
   4800       # This depmode causes a compiler race in universal mode.
   4801       test "$am__universal" = false || continue
   4802       ;;
   4803     nosideeffect)
   4804       # After this tag, mechanisms are not by side-effect, so they'll
   4805       # only be used when explicitly requested.
   4806       if test "x$enable_dependency_tracking" = xyes; then
   4807 	continue
   4808       else
   4809 	break
   4810       fi
   4811       ;;
   4812     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4813       # This compiler won't grok '-c -o', but also, the minuso test has
   4814       # not run yet.  These depmodes are late enough in the game, and
   4815       # so weak that their functioning should not be impacted.
   4816       am__obj=conftest.${OBJEXT-o}
   4817       am__minus_obj=
   4818       ;;
   4819     none) break ;;
   4820     esac
   4821     if depmode=$depmode \
   4822        source=sub/conftest.c object=$am__obj \
   4823        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4824        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4825          >/dev/null 2>conftest.err &&
   4826        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4827        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4828        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4829        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4830       # icc doesn't choke on unknown options, it will just issue warnings
   4831       # or remarks (even with -Werror).  So we grep stderr for any message
   4832       # that says an option was ignored or not supported.
   4833       # When given -MP, icc 7.0 and 7.1 complain thus:
   4834       #   icc: Command line warning: ignoring option '-M'; no argument required
   4835       # The diagnosis changed in icc 8.0:
   4836       #   icc: Command line remark: option '-MP' not supported
   4837       if (grep 'ignoring option' conftest.err ||
   4838           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4839         am_cv_CC_dependencies_compiler_type=$depmode
   4840         break
   4841       fi
   4842     fi
   4843   done
   4844 
   4845   cd ..
   4846   rm -rf conftest.dir
   4847 else
   4848   am_cv_CC_dependencies_compiler_type=none
   4849 fi
   4850  ;;
   4851 esac
   4852 fi
   4853 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4854 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   4855 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4856 
   4857  if
   4858   test "x$enable_dependency_tracking" != xno \
   4859   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4860   am__fastdepCC_TRUE=
   4861   am__fastdepCC_FALSE='#'
   4862 else
   4863   am__fastdepCC_TRUE='#'
   4864   am__fastdepCC_FALSE=
   4865 fi
   4866 
   4867 
   4868 
   4869 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4870 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4871 if test ${ac_cv_c_undeclared_builtin_options+y}
   4872 then :
   4873   printf %s "(cached) " >&6
   4874 else case e in #(
   4875   e) ac_save_CFLAGS=$CFLAGS
   4876    ac_cv_c_undeclared_builtin_options='cannot detect'
   4877    for ac_arg in '' -fno-builtin; do
   4878      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4879      # This test program should *not* compile successfully.
   4880      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4881 /* end confdefs.h.  */
   4882 
   4883 int
   4884 main (void)
   4885 {
   4886 (void) strchr;
   4887   ;
   4888   return 0;
   4889 }
   4890 _ACEOF
   4891 if ac_fn_c_try_compile "$LINENO"
   4892 then :
   4893 
   4894 else case e in #(
   4895   e) # This test program should compile successfully.
   4896         # No library function is consistently available on
   4897         # freestanding implementations, so test against a dummy
   4898         # declaration.  Include always-available headers on the
   4899         # off chance that they somehow elicit warnings.
   4900         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4901 /* end confdefs.h.  */
   4902 #include <float.h>
   4903 #include <limits.h>
   4904 #include <stdarg.h>
   4905 #include <stddef.h>
   4906 extern void ac_decl (int, char *);
   4907 
   4908 int
   4909 main (void)
   4910 {
   4911 (void) ac_decl (0, (char *) 0);
   4912   (void) ac_decl;
   4913 
   4914   ;
   4915   return 0;
   4916 }
   4917 _ACEOF
   4918 if ac_fn_c_try_compile "$LINENO"
   4919 then :
   4920   if test x"$ac_arg" = x
   4921 then :
   4922   ac_cv_c_undeclared_builtin_options='none needed'
   4923 else case e in #(
   4924   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4925 esac
   4926 fi
   4927           break
   4928 fi
   4929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4930 esac
   4931 fi
   4932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4933     done
   4934     CFLAGS=$ac_save_CFLAGS
   4935    ;;
   4936 esac
   4937 fi
   4938 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4939 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4940   case $ac_cv_c_undeclared_builtin_options in #(
   4941   'cannot detect') :
   4942     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4943 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4944 as_fn_error $? "cannot make $CC report undeclared builtins
   4945 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4946   'none needed') :
   4947     ac_c_undeclared_builtin_options='' ;; #(
   4948   *) :
   4949     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4950 esac
   4951 
   4952 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4953 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4954 if test ${ac_cv_c_future_darwin_options+y}
   4955 then :
   4956   printf %s "(cached) " >&6
   4957 else case e in #(
   4958   e)       ac_compile_saved="$ac_compile"
   4959    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4960    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 #if ! (defined __APPLE__ && defined __MACH__)
   4963 	   #error "-Werror=unguarded-availability-new not needed here"
   4964 	  #endif
   4965 
   4966 int
   4967 main (void)
   4968 {
   4969 
   4970   ;
   4971   return 0;
   4972 }
   4973 _ACEOF
   4974 if ac_fn_c_try_compile "$LINENO"
   4975 then :
   4976   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4977 else case e in #(
   4978   e) ac_cv_c_future_darwin_options='none needed' ;;
   4979 esac
   4980 fi
   4981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4982    ac_compile="$ac_compile_saved"
   4983    ;;
   4984 esac
   4985 fi
   4986 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   4987 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   4988  case $ac_cv_c_future_darwin_options in #(
   4989   'none needed') :
   4990     ac_c_future_darwin_options='' ;; #(
   4991   *) :
   4992     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   4993 esac
   4994 
   4995 ac_header= ac_cache=
   4996 for ac_item in $ac_header_c_list
   4997 do
   4998   if test $ac_cache; then
   4999     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5000     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5001       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5002     fi
   5003     ac_header= ac_cache=
   5004   elif test $ac_header; then
   5005     ac_cache=$ac_item
   5006   else
   5007     ac_header=$ac_item
   5008   fi
   5009 done
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5019 then :
   5020 
   5021 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5022 
   5023 fi
   5024 
   5025 
   5026 
   5027 
   5028 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   5029 if test "x$ac_cv_have_decl___clang__" = xyes
   5030 then :
   5031   CLANGCC="yes"
   5032 else case e in #(
   5033   e) CLANGCC="no" ;;
   5034 esac
   5035 fi
   5036 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   5037 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5038 then :
   5039   INTELCC="yes"
   5040 else case e in #(
   5041   e) INTELCC="no" ;;
   5042 esac
   5043 fi
   5044 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   5045 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5046 then :
   5047   SUNCC="yes"
   5048 else case e in #(
   5049   e) SUNCC="no" ;;
   5050 esac
   5051 fi
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5061 	if test -n "$ac_tool_prefix"; then
   5062   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5063 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5065 printf %s "checking for $ac_word... " >&6; }
   5066 if test ${ac_cv_path_PKG_CONFIG+y}
   5067 then :
   5068   printf %s "(cached) " >&6
   5069 else case e in #(
   5070   e) case $PKG_CONFIG in
   5071   [\\/]* | ?:[\\/]*)
   5072   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5073   ;;
   5074   *)
   5075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5076 for as_dir in $PATH
   5077 do
   5078   IFS=$as_save_IFS
   5079   case $as_dir in #(((
   5080     '') as_dir=./ ;;
   5081     */) ;;
   5082     *) as_dir=$as_dir/ ;;
   5083   esac
   5084     for ac_exec_ext in '' $ac_executable_extensions; do
   5085   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5086     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5087     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5088     break 2
   5089   fi
   5090 done
   5091   done
   5092 IFS=$as_save_IFS
   5093 
   5094   ;;
   5095 esac ;;
   5096 esac
   5097 fi
   5098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5099 if test -n "$PKG_CONFIG"; then
   5100   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5101 printf '%s\n' "$PKG_CONFIG" >&6; }
   5102 else
   5103   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5104 printf '%s\n' "no" >&6; }
   5105 fi
   5106 
   5107 
   5108 fi
   5109 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5110   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5111   # Extract the first word of "pkg-config", so it can be a program name with args.
   5112 set dummy pkg-config; ac_word=$2
   5113 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5114 printf %s "checking for $ac_word... " >&6; }
   5115 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5116 then :
   5117   printf %s "(cached) " >&6
   5118 else case e in #(
   5119   e) case $ac_pt_PKG_CONFIG in
   5120   [\\/]* | ?:[\\/]*)
   5121   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5122   ;;
   5123   *)
   5124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5125 for as_dir in $PATH
   5126 do
   5127   IFS=$as_save_IFS
   5128   case $as_dir in #(((
   5129     '') as_dir=./ ;;
   5130     */) ;;
   5131     *) as_dir=$as_dir/ ;;
   5132   esac
   5133     for ac_exec_ext in '' $ac_executable_extensions; do
   5134   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5135     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5136     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5137     break 2
   5138   fi
   5139 done
   5140   done
   5141 IFS=$as_save_IFS
   5142 
   5143   ;;
   5144 esac ;;
   5145 esac
   5146 fi
   5147 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5148 if test -n "$ac_pt_PKG_CONFIG"; then
   5149   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5150 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5151 else
   5152   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5153 printf '%s\n' "no" >&6; }
   5154 fi
   5155 
   5156   if test "x$ac_pt_PKG_CONFIG" = x; then
   5157     PKG_CONFIG=""
   5158   else
   5159     case $cross_compiling:$ac_tool_warned in
   5160 yes:)
   5161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5162 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5163 ac_tool_warned=yes ;;
   5164 esac
   5165     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5166   fi
   5167 else
   5168   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5169 fi
   5170 
   5171 fi
   5172 if test -n "$PKG_CONFIG"; then
   5173 	_pkg_min_version=0.9.0
   5174 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5175 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5176 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5177 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5178 printf '%s\n' "yes" >&6; }
   5179 	else
   5180 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5181 printf '%s\n' "no" >&6; }
   5182 		PKG_CONFIG=""
   5183 	fi
   5184 fi
   5185 
   5186 
   5187   # Make sure we can run config.sub.
   5188 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5189   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5190 
   5191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5192 printf %s "checking build system type... " >&6; }
   5193 if test ${ac_cv_build+y}
   5194 then :
   5195   printf %s "(cached) " >&6
   5196 else case e in #(
   5197   e) ac_build_alias=$build_alias
   5198 test "x$ac_build_alias" = x &&
   5199   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5200 test "x$ac_build_alias" = x &&
   5201   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5202 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5203   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5204  ;;
   5205 esac
   5206 fi
   5207 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5208 printf '%s\n' "$ac_cv_build" >&6; }
   5209 case $ac_cv_build in
   5210 *-*-*) ;;
   5211 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5212 esac
   5213 build=$ac_cv_build
   5214 ac_save_IFS=$IFS; IFS='-'
   5215 set x $ac_cv_build
   5216 shift
   5217 build_cpu=$1
   5218 build_vendor=$2
   5219 shift; shift
   5220 # Remember, the first character of IFS is used to create $*,
   5221 # except with old shells:
   5222 build_os=$*
   5223 IFS=$ac_save_IFS
   5224 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5225 
   5226 
   5227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5228 printf %s "checking host system type... " >&6; }
   5229 if test ${ac_cv_host+y}
   5230 then :
   5231   printf %s "(cached) " >&6
   5232 else case e in #(
   5233   e) if test "x$host_alias" = x; then
   5234   ac_cv_host=$ac_cv_build
   5235 else
   5236   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5237     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5238 fi
   5239  ;;
   5240 esac
   5241 fi
   5242 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5243 printf '%s\n' "$ac_cv_host" >&6; }
   5244 case $ac_cv_host in
   5245 *-*-*) ;;
   5246 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5247 esac
   5248 host=$ac_cv_host
   5249 ac_save_IFS=$IFS; IFS='-'
   5250 set x $ac_cv_host
   5251 shift
   5252 host_cpu=$1
   5253 host_vendor=$2
   5254 shift; shift
   5255 # Remember, the first character of IFS is used to create $*,
   5256 # except with old shells:
   5257 host_os=$*
   5258 IFS=$ac_save_IFS
   5259 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5260 
   5261 
   5262 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5263 printf %s "checking for a sed that does not truncate output... " >&6; }
   5264 if test ${ac_cv_path_SED+y}
   5265 then :
   5266   printf %s "(cached) " >&6
   5267 else case e in #(
   5268   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5269      for ac_i in 1 2 3 4 5 6 7; do
   5270        ac_script="$ac_script$as_nl$ac_script"
   5271      done
   5272      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5273      { ac_script=; unset ac_script;}
   5274      if test -z "$SED"; then
   5275   ac_path_SED_found=false
   5276   # Loop through the user's path and test for each of PROGNAME-LIST
   5277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5278 for as_dir in $PATH
   5279 do
   5280   IFS=$as_save_IFS
   5281   case $as_dir in #(((
   5282     '') as_dir=./ ;;
   5283     */) ;;
   5284     *) as_dir=$as_dir/ ;;
   5285   esac
   5286     for ac_prog in sed gsed
   5287    do
   5288     for ac_exec_ext in '' $ac_executable_extensions; do
   5289       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5290       as_fn_executable_p "$ac_path_SED" || continue
   5291 # Check for GNU ac_path_SED and select it if it is found.
   5292   # Check for GNU $ac_path_SED
   5293 case `"$ac_path_SED" --version 2>&1` in #(
   5294 *GNU*)
   5295   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5296 #(
   5297 *)
   5298   ac_count=0
   5299   printf %s 0123456789 >"conftest.in"
   5300   while :
   5301   do
   5302     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5303     mv "conftest.tmp" "conftest.in"
   5304     cp "conftest.in" "conftest.nl"
   5305     printf '%s\n' '' >> "conftest.nl"
   5306     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5307     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5308     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5309     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5310       # Best one so far, save it but keep looking for a better one
   5311       ac_cv_path_SED="$ac_path_SED"
   5312       ac_path_SED_max=$ac_count
   5313     fi
   5314     # 10*(2^10) chars as input seems more than enough
   5315     test $ac_count -gt 10 && break
   5316   done
   5317   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5318 esac
   5319 
   5320       $ac_path_SED_found && break 3
   5321     done
   5322   done
   5323   done
   5324 IFS=$as_save_IFS
   5325   if test -z "$ac_cv_path_SED"; then
   5326     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5327   fi
   5328 else
   5329   ac_cv_path_SED=$SED
   5330 fi
   5331  ;;
   5332 esac
   5333 fi
   5334 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5335 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5336  SED="$ac_cv_path_SED"
   5337   rm -f conftest.sed
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 # Check whether --enable-selective-werror was given.
   5345 if test ${enable_selective_werror+y}
   5346 then :
   5347   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5348 else case e in #(
   5349   e) SELECTIVE_WERROR=yes ;;
   5350 esac
   5351 fi
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5358 if test "x$SUNCC" = "xyes"; then
   5359     BASE_CFLAGS="-v"
   5360 else
   5361     BASE_CFLAGS=""
   5362 fi
   5363 
   5364 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 xorg_testset_save_CFLAGS="$CFLAGS"
   5379 
   5380 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5382 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5383 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5384 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5385 then :
   5386   printf %s "(cached) " >&6
   5387 else case e in #(
   5388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5389 /* end confdefs.h.  */
   5390 int i;
   5391 _ACEOF
   5392 if ac_fn_c_try_compile "$LINENO"
   5393 then :
   5394   xorg_cv_cc_flag_unknown_warning_option=yes
   5395 else case e in #(
   5396   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5397 esac
   5398 fi
   5399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5400 esac
   5401 fi
   5402 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5403 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5405 	CFLAGS="$xorg_testset_save_CFLAGS"
   5406 fi
   5407 
   5408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5411 	fi
   5412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5414 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5415 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5416 then :
   5417   printf %s "(cached) " >&6
   5418 else case e in #(
   5419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5420 /* end confdefs.h.  */
   5421 int i;
   5422 _ACEOF
   5423 if ac_fn_c_try_compile "$LINENO"
   5424 then :
   5425   xorg_cv_cc_flag_unused_command_line_argument=yes
   5426 else case e in #(
   5427   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5428 esac
   5429 fi
   5430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5431 esac
   5432 fi
   5433 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5434 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5436 	CFLAGS="$xorg_testset_save_CFLAGS"
   5437 fi
   5438 
   5439 found="no"
   5440 
   5441 	if test $found = "no" ; then
   5442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5444 		fi
   5445 
   5446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5448 		fi
   5449 
   5450 		CFLAGS="$CFLAGS -Wall"
   5451 
   5452 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5453 printf %s "checking if $CC supports -Wall... " >&6; }
   5454 		cacheid=xorg_cv_cc_flag__Wall
   5455 		if eval test \${$cacheid+y}
   5456 then :
   5457   printf %s "(cached) " >&6
   5458 else case e in #(
   5459   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 int
   5463 main (void)
   5464 {
   5465 
   5466   ;
   5467   return 0;
   5468 }
   5469 _ACEOF
   5470 if ac_fn_c_try_link "$LINENO"
   5471 then :
   5472   eval $cacheid=yes
   5473 else case e in #(
   5474   e) eval $cacheid=no ;;
   5475 esac
   5476 fi
   5477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5478     conftest$ac_exeext conftest.$ac_ext ;;
   5479 esac
   5480 fi
   5481 
   5482 
   5483 		CFLAGS="$xorg_testset_save_CFLAGS"
   5484 
   5485 		eval supported=\$$cacheid
   5486 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5487 printf '%s\n' "$supported" >&6; }
   5488 		if test "$supported" = "yes" ; then
   5489 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5490 			found="yes"
   5491 		fi
   5492 	fi
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 xorg_testset_save_CFLAGS="$CFLAGS"
   5509 
   5510 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5511 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5512 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5513 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5514 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5515 then :
   5516   printf %s "(cached) " >&6
   5517 else case e in #(
   5518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5519 /* end confdefs.h.  */
   5520 int i;
   5521 _ACEOF
   5522 if ac_fn_c_try_compile "$LINENO"
   5523 then :
   5524   xorg_cv_cc_flag_unknown_warning_option=yes
   5525 else case e in #(
   5526   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5527 esac
   5528 fi
   5529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5530 esac
   5531 fi
   5532 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5533 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5535 	CFLAGS="$xorg_testset_save_CFLAGS"
   5536 fi
   5537 
   5538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5541 	fi
   5542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5543 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5544 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5545 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5546 then :
   5547   printf %s "(cached) " >&6
   5548 else case e in #(
   5549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5550 /* end confdefs.h.  */
   5551 int i;
   5552 _ACEOF
   5553 if ac_fn_c_try_compile "$LINENO"
   5554 then :
   5555   xorg_cv_cc_flag_unused_command_line_argument=yes
   5556 else case e in #(
   5557   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5558 esac
   5559 fi
   5560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5561 esac
   5562 fi
   5563 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5564 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5566 	CFLAGS="$xorg_testset_save_CFLAGS"
   5567 fi
   5568 
   5569 found="no"
   5570 
   5571 	if test $found = "no" ; then
   5572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5574 		fi
   5575 
   5576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5578 		fi
   5579 
   5580 		CFLAGS="$CFLAGS -Wpointer-arith"
   5581 
   5582 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5583 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5584 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5585 		if eval test \${$cacheid+y}
   5586 then :
   5587   printf %s "(cached) " >&6
   5588 else case e in #(
   5589   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 int i;
   5592 int
   5593 main (void)
   5594 {
   5595 
   5596   ;
   5597   return 0;
   5598 }
   5599 _ACEOF
   5600 if ac_fn_c_try_link "$LINENO"
   5601 then :
   5602   eval $cacheid=yes
   5603 else case e in #(
   5604   e) eval $cacheid=no ;;
   5605 esac
   5606 fi
   5607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5608     conftest$ac_exeext conftest.$ac_ext ;;
   5609 esac
   5610 fi
   5611 
   5612 
   5613 		CFLAGS="$xorg_testset_save_CFLAGS"
   5614 
   5615 		eval supported=\$$cacheid
   5616 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5617 printf '%s\n' "$supported" >&6; }
   5618 		if test "$supported" = "yes" ; then
   5619 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5620 			found="yes"
   5621 		fi
   5622 	fi
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 xorg_testset_save_CFLAGS="$CFLAGS"
   5639 
   5640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5642 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5643 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5644 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5645 then :
   5646   printf %s "(cached) " >&6
   5647 else case e in #(
   5648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"
   5653 then :
   5654   xorg_cv_cc_flag_unknown_warning_option=yes
   5655 else case e in #(
   5656   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5657 esac
   5658 fi
   5659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5660 esac
   5661 fi
   5662 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5663 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5665 	CFLAGS="$xorg_testset_save_CFLAGS"
   5666 fi
   5667 
   5668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5671 	fi
   5672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5673 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5674 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5675 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5676 then :
   5677   printf %s "(cached) " >&6
   5678 else case e in #(
   5679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"
   5684 then :
   5685   xorg_cv_cc_flag_unused_command_line_argument=yes
   5686 else case e in #(
   5687   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5688 esac
   5689 fi
   5690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5691 esac
   5692 fi
   5693 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5694 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5696 	CFLAGS="$xorg_testset_save_CFLAGS"
   5697 fi
   5698 
   5699 found="no"
   5700 
   5701 	if test $found = "no" ; then
   5702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5704 		fi
   5705 
   5706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5708 		fi
   5709 
   5710 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5711 
   5712 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5713 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5714 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5715 		if eval test \${$cacheid+y}
   5716 then :
   5717   printf %s "(cached) " >&6
   5718 else case e in #(
   5719   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5720 /* end confdefs.h.  */
   5721 int i;
   5722 int
   5723 main (void)
   5724 {
   5725 
   5726   ;
   5727   return 0;
   5728 }
   5729 _ACEOF
   5730 if ac_fn_c_try_link "$LINENO"
   5731 then :
   5732   eval $cacheid=yes
   5733 else case e in #(
   5734   e) eval $cacheid=no ;;
   5735 esac
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5738     conftest$ac_exeext conftest.$ac_ext ;;
   5739 esac
   5740 fi
   5741 
   5742 
   5743 		CFLAGS="$xorg_testset_save_CFLAGS"
   5744 
   5745 		eval supported=\$$cacheid
   5746 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5747 printf '%s\n' "$supported" >&6; }
   5748 		if test "$supported" = "yes" ; then
   5749 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5750 			found="yes"
   5751 		fi
   5752 	fi
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 xorg_testset_save_CFLAGS="$CFLAGS"
   5769 
   5770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5772 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5773 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5774 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5775 then :
   5776   printf %s "(cached) " >&6
   5777 else case e in #(
   5778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5779 /* end confdefs.h.  */
   5780 int i;
   5781 _ACEOF
   5782 if ac_fn_c_try_compile "$LINENO"
   5783 then :
   5784   xorg_cv_cc_flag_unknown_warning_option=yes
   5785 else case e in #(
   5786   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5787 esac
   5788 fi
   5789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5790 esac
   5791 fi
   5792 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5793 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5795 	CFLAGS="$xorg_testset_save_CFLAGS"
   5796 fi
   5797 
   5798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5801 	fi
   5802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5803 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5806 then :
   5807   printf %s "(cached) " >&6
   5808 else case e in #(
   5809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5810 /* end confdefs.h.  */
   5811 int i;
   5812 _ACEOF
   5813 if ac_fn_c_try_compile "$LINENO"
   5814 then :
   5815   xorg_cv_cc_flag_unused_command_line_argument=yes
   5816 else case e in #(
   5817   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5818 esac
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5821 esac
   5822 fi
   5823 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5824 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5826 	CFLAGS="$xorg_testset_save_CFLAGS"
   5827 fi
   5828 
   5829 found="no"
   5830 
   5831 	if test $found = "no" ; then
   5832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 		fi
   5835 
   5836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5838 		fi
   5839 
   5840 		CFLAGS="$CFLAGS -Wformat=2"
   5841 
   5842 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5843 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5844 		cacheid=xorg_cv_cc_flag__Wformat_2
   5845 		if eval test \${$cacheid+y}
   5846 then :
   5847   printf %s "(cached) " >&6
   5848 else case e in #(
   5849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5850 /* end confdefs.h.  */
   5851 int i;
   5852 int
   5853 main (void)
   5854 {
   5855 
   5856   ;
   5857   return 0;
   5858 }
   5859 _ACEOF
   5860 if ac_fn_c_try_link "$LINENO"
   5861 then :
   5862   eval $cacheid=yes
   5863 else case e in #(
   5864   e) eval $cacheid=no ;;
   5865 esac
   5866 fi
   5867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5868     conftest$ac_exeext conftest.$ac_ext ;;
   5869 esac
   5870 fi
   5871 
   5872 
   5873 		CFLAGS="$xorg_testset_save_CFLAGS"
   5874 
   5875 		eval supported=\$$cacheid
   5876 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5877 printf '%s\n' "$supported" >&6; }
   5878 		if test "$supported" = "yes" ; then
   5879 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5880 			found="yes"
   5881 		fi
   5882 	fi
   5883 
   5884 	if test $found = "no" ; then
   5885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5887 		fi
   5888 
   5889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5891 		fi
   5892 
   5893 		CFLAGS="$CFLAGS -Wformat"
   5894 
   5895 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5896 printf %s "checking if $CC supports -Wformat... " >&6; }
   5897 		cacheid=xorg_cv_cc_flag__Wformat
   5898 		if eval test \${$cacheid+y}
   5899 then :
   5900   printf %s "(cached) " >&6
   5901 else case e in #(
   5902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5903 /* end confdefs.h.  */
   5904 int i;
   5905 int
   5906 main (void)
   5907 {
   5908 
   5909   ;
   5910   return 0;
   5911 }
   5912 _ACEOF
   5913 if ac_fn_c_try_link "$LINENO"
   5914 then :
   5915   eval $cacheid=yes
   5916 else case e in #(
   5917   e) eval $cacheid=no ;;
   5918 esac
   5919 fi
   5920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5921     conftest$ac_exeext conftest.$ac_ext ;;
   5922 esac
   5923 fi
   5924 
   5925 
   5926 		CFLAGS="$xorg_testset_save_CFLAGS"
   5927 
   5928 		eval supported=\$$cacheid
   5929 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5930 printf '%s\n' "$supported" >&6; }
   5931 		if test "$supported" = "yes" ; then
   5932 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5933 			found="yes"
   5934 		fi
   5935 	fi
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 xorg_testset_save_CFLAGS="$CFLAGS"
   5954 
   5955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5957 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5958 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5959 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5960 then :
   5961   printf %s "(cached) " >&6
   5962 else case e in #(
   5963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5964 /* end confdefs.h.  */
   5965 int i;
   5966 _ACEOF
   5967 if ac_fn_c_try_compile "$LINENO"
   5968 then :
   5969   xorg_cv_cc_flag_unknown_warning_option=yes
   5970 else case e in #(
   5971   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5972 esac
   5973 fi
   5974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5975 esac
   5976 fi
   5977 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5978 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5980 	CFLAGS="$xorg_testset_save_CFLAGS"
   5981 fi
   5982 
   5983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5986 	fi
   5987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5988 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5989 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5990 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5991 then :
   5992   printf %s "(cached) " >&6
   5993 else case e in #(
   5994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5995 /* end confdefs.h.  */
   5996 int i;
   5997 _ACEOF
   5998 if ac_fn_c_try_compile "$LINENO"
   5999 then :
   6000   xorg_cv_cc_flag_unused_command_line_argument=yes
   6001 else case e in #(
   6002   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6003 esac
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6006 esac
   6007 fi
   6008 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6009 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6011 	CFLAGS="$xorg_testset_save_CFLAGS"
   6012 fi
   6013 
   6014 found="no"
   6015 
   6016 	if test $found = "no" ; then
   6017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6019 		fi
   6020 
   6021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6023 		fi
   6024 
   6025 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6026 
   6027 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6028 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6029 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6030 		if eval test \${$cacheid+y}
   6031 then :
   6032   printf %s "(cached) " >&6
   6033 else case e in #(
   6034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6035 /* end confdefs.h.  */
   6036 int i;
   6037 int
   6038 main (void)
   6039 {
   6040 
   6041   ;
   6042   return 0;
   6043 }
   6044 _ACEOF
   6045 if ac_fn_c_try_link "$LINENO"
   6046 then :
   6047   eval $cacheid=yes
   6048 else case e in #(
   6049   e) eval $cacheid=no ;;
   6050 esac
   6051 fi
   6052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6053     conftest$ac_exeext conftest.$ac_ext ;;
   6054 esac
   6055 fi
   6056 
   6057 
   6058 		CFLAGS="$xorg_testset_save_CFLAGS"
   6059 
   6060 		eval supported=\$$cacheid
   6061 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6062 printf '%s\n' "$supported" >&6; }
   6063 		if test "$supported" = "yes" ; then
   6064 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6065 			found="yes"
   6066 		fi
   6067 	fi
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 xorg_testset_save_CFLAGS="$CFLAGS"
   6084 
   6085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6088 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6089 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6090 then :
   6091   printf %s "(cached) " >&6
   6092 else case e in #(
   6093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6094 /* end confdefs.h.  */
   6095 int i;
   6096 _ACEOF
   6097 if ac_fn_c_try_compile "$LINENO"
   6098 then :
   6099   xorg_cv_cc_flag_unknown_warning_option=yes
   6100 else case e in #(
   6101   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6102 esac
   6103 fi
   6104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6105 esac
   6106 fi
   6107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6108 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6109 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6110 	CFLAGS="$xorg_testset_save_CFLAGS"
   6111 fi
   6112 
   6113 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6114 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6115 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6116 	fi
   6117 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6118 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6119 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6120 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6121 then :
   6122   printf %s "(cached) " >&6
   6123 else case e in #(
   6124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 _ACEOF
   6128 if ac_fn_c_try_compile "$LINENO"
   6129 then :
   6130   xorg_cv_cc_flag_unused_command_line_argument=yes
   6131 else case e in #(
   6132   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6133 esac
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6136 esac
   6137 fi
   6138 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6139 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6141 	CFLAGS="$xorg_testset_save_CFLAGS"
   6142 fi
   6143 
   6144 found="no"
   6145 
   6146 	if test $found = "no" ; then
   6147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6149 		fi
   6150 
   6151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6153 		fi
   6154 
   6155 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6156 
   6157 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6158 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6159 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6160 		if eval test \${$cacheid+y}
   6161 then :
   6162   printf %s "(cached) " >&6
   6163 else case e in #(
   6164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 int
   6168 main (void)
   6169 {
   6170 
   6171   ;
   6172   return 0;
   6173 }
   6174 _ACEOF
   6175 if ac_fn_c_try_link "$LINENO"
   6176 then :
   6177   eval $cacheid=yes
   6178 else case e in #(
   6179   e) eval $cacheid=no ;;
   6180 esac
   6181 fi
   6182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6183     conftest$ac_exeext conftest.$ac_ext ;;
   6184 esac
   6185 fi
   6186 
   6187 
   6188 		CFLAGS="$xorg_testset_save_CFLAGS"
   6189 
   6190 		eval supported=\$$cacheid
   6191 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6192 printf '%s\n' "$supported" >&6; }
   6193 		if test "$supported" = "yes" ; then
   6194 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6195 			found="yes"
   6196 		fi
   6197 	fi
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 xorg_testset_save_CFLAGS="$CFLAGS"
   6214 
   6215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6217 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6218 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6219 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6220 then :
   6221   printf %s "(cached) " >&6
   6222 else case e in #(
   6223   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6224 /* end confdefs.h.  */
   6225 int i;
   6226 _ACEOF
   6227 if ac_fn_c_try_compile "$LINENO"
   6228 then :
   6229   xorg_cv_cc_flag_unknown_warning_option=yes
   6230 else case e in #(
   6231   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6232 esac
   6233 fi
   6234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6235 esac
   6236 fi
   6237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6238 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6240 	CFLAGS="$xorg_testset_save_CFLAGS"
   6241 fi
   6242 
   6243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6246 	fi
   6247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6248 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6249 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6250 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6251 then :
   6252   printf %s "(cached) " >&6
   6253 else case e in #(
   6254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6255 /* end confdefs.h.  */
   6256 int i;
   6257 _ACEOF
   6258 if ac_fn_c_try_compile "$LINENO"
   6259 then :
   6260   xorg_cv_cc_flag_unused_command_line_argument=yes
   6261 else case e in #(
   6262   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6263 esac
   6264 fi
   6265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6266 esac
   6267 fi
   6268 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6269 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6271 	CFLAGS="$xorg_testset_save_CFLAGS"
   6272 fi
   6273 
   6274 found="no"
   6275 
   6276 	if test $found = "no" ; then
   6277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 		fi
   6280 
   6281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6283 		fi
   6284 
   6285 		CFLAGS="$CFLAGS -Wnested-externs"
   6286 
   6287 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6288 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6289 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6290 		if eval test \${$cacheid+y}
   6291 then :
   6292   printf %s "(cached) " >&6
   6293 else case e in #(
   6294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6295 /* end confdefs.h.  */
   6296 int i;
   6297 int
   6298 main (void)
   6299 {
   6300 
   6301   ;
   6302   return 0;
   6303 }
   6304 _ACEOF
   6305 if ac_fn_c_try_link "$LINENO"
   6306 then :
   6307   eval $cacheid=yes
   6308 else case e in #(
   6309   e) eval $cacheid=no ;;
   6310 esac
   6311 fi
   6312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6313     conftest$ac_exeext conftest.$ac_ext ;;
   6314 esac
   6315 fi
   6316 
   6317 
   6318 		CFLAGS="$xorg_testset_save_CFLAGS"
   6319 
   6320 		eval supported=\$$cacheid
   6321 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6322 printf '%s\n' "$supported" >&6; }
   6323 		if test "$supported" = "yes" ; then
   6324 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6325 			found="yes"
   6326 		fi
   6327 	fi
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 xorg_testset_save_CFLAGS="$CFLAGS"
   6344 
   6345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6347 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6348 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6349 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6350 then :
   6351   printf %s "(cached) " >&6
   6352 else case e in #(
   6353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6354 /* end confdefs.h.  */
   6355 int i;
   6356 _ACEOF
   6357 if ac_fn_c_try_compile "$LINENO"
   6358 then :
   6359   xorg_cv_cc_flag_unknown_warning_option=yes
   6360 else case e in #(
   6361   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6362 esac
   6363 fi
   6364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6365 esac
   6366 fi
   6367 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6368 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6370 	CFLAGS="$xorg_testset_save_CFLAGS"
   6371 fi
   6372 
   6373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6376 	fi
   6377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6378 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6379 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6380 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6381 then :
   6382   printf %s "(cached) " >&6
   6383 else case e in #(
   6384   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6385 /* end confdefs.h.  */
   6386 int i;
   6387 _ACEOF
   6388 if ac_fn_c_try_compile "$LINENO"
   6389 then :
   6390   xorg_cv_cc_flag_unused_command_line_argument=yes
   6391 else case e in #(
   6392   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6393 esac
   6394 fi
   6395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6396 esac
   6397 fi
   6398 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6399 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6401 	CFLAGS="$xorg_testset_save_CFLAGS"
   6402 fi
   6403 
   6404 found="no"
   6405 
   6406 	if test $found = "no" ; then
   6407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 		fi
   6410 
   6411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6413 		fi
   6414 
   6415 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6416 
   6417 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6418 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6419 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6420 		if eval test \${$cacheid+y}
   6421 then :
   6422   printf %s "(cached) " >&6
   6423 else case e in #(
   6424   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6425 /* end confdefs.h.  */
   6426 int i;
   6427 int
   6428 main (void)
   6429 {
   6430 
   6431   ;
   6432   return 0;
   6433 }
   6434 _ACEOF
   6435 if ac_fn_c_try_link "$LINENO"
   6436 then :
   6437   eval $cacheid=yes
   6438 else case e in #(
   6439   e) eval $cacheid=no ;;
   6440 esac
   6441 fi
   6442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6443     conftest$ac_exeext conftest.$ac_ext ;;
   6444 esac
   6445 fi
   6446 
   6447 
   6448 		CFLAGS="$xorg_testset_save_CFLAGS"
   6449 
   6450 		eval supported=\$$cacheid
   6451 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6452 printf '%s\n' "$supported" >&6; }
   6453 		if test "$supported" = "yes" ; then
   6454 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6455 			found="yes"
   6456 		fi
   6457 	fi
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 xorg_testset_save_CFLAGS="$CFLAGS"
   6474 
   6475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6478 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6479 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6480 then :
   6481   printf %s "(cached) " >&6
   6482 else case e in #(
   6483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6484 /* end confdefs.h.  */
   6485 int i;
   6486 _ACEOF
   6487 if ac_fn_c_try_compile "$LINENO"
   6488 then :
   6489   xorg_cv_cc_flag_unknown_warning_option=yes
   6490 else case e in #(
   6491   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6492 esac
   6493 fi
   6494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6495 esac
   6496 fi
   6497 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6498 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6500 	CFLAGS="$xorg_testset_save_CFLAGS"
   6501 fi
   6502 
   6503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6506 	fi
   6507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6509 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6510 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6511 then :
   6512   printf %s "(cached) " >&6
   6513 else case e in #(
   6514   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6515 /* end confdefs.h.  */
   6516 int i;
   6517 _ACEOF
   6518 if ac_fn_c_try_compile "$LINENO"
   6519 then :
   6520   xorg_cv_cc_flag_unused_command_line_argument=yes
   6521 else case e in #(
   6522   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6523 esac
   6524 fi
   6525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6526 esac
   6527 fi
   6528 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6529 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6531 	CFLAGS="$xorg_testset_save_CFLAGS"
   6532 fi
   6533 
   6534 found="no"
   6535 
   6536 	if test $found = "no" ; then
   6537 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 		fi
   6540 
   6541 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6543 		fi
   6544 
   6545 		CFLAGS="$CFLAGS -Wold-style-definition"
   6546 
   6547 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6548 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6549 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6550 		if eval test \${$cacheid+y}
   6551 then :
   6552   printf %s "(cached) " >&6
   6553 else case e in #(
   6554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 int
   6558 main (void)
   6559 {
   6560 
   6561   ;
   6562   return 0;
   6563 }
   6564 _ACEOF
   6565 if ac_fn_c_try_link "$LINENO"
   6566 then :
   6567   eval $cacheid=yes
   6568 else case e in #(
   6569   e) eval $cacheid=no ;;
   6570 esac
   6571 fi
   6572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6573     conftest$ac_exeext conftest.$ac_ext ;;
   6574 esac
   6575 fi
   6576 
   6577 
   6578 		CFLAGS="$xorg_testset_save_CFLAGS"
   6579 
   6580 		eval supported=\$$cacheid
   6581 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6582 printf '%s\n' "$supported" >&6; }
   6583 		if test "$supported" = "yes" ; then
   6584 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6585 			found="yes"
   6586 		fi
   6587 	fi
   6588 
   6589 	if test $found = "no" ; then
   6590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6592 		fi
   6593 
   6594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6596 		fi
   6597 
   6598 		CFLAGS="$CFLAGS -fd"
   6599 
   6600 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6601 printf %s "checking if $CC supports -fd... " >&6; }
   6602 		cacheid=xorg_cv_cc_flag__fd
   6603 		if eval test \${$cacheid+y}
   6604 then :
   6605   printf %s "(cached) " >&6
   6606 else case e in #(
   6607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6608 /* end confdefs.h.  */
   6609 int i;
   6610 int
   6611 main (void)
   6612 {
   6613 
   6614   ;
   6615   return 0;
   6616 }
   6617 _ACEOF
   6618 if ac_fn_c_try_link "$LINENO"
   6619 then :
   6620   eval $cacheid=yes
   6621 else case e in #(
   6622   e) eval $cacheid=no ;;
   6623 esac
   6624 fi
   6625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6626     conftest$ac_exeext conftest.$ac_ext ;;
   6627 esac
   6628 fi
   6629 
   6630 
   6631 		CFLAGS="$xorg_testset_save_CFLAGS"
   6632 
   6633 		eval supported=\$$cacheid
   6634 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6635 printf '%s\n' "$supported" >&6; }
   6636 		if test "$supported" = "yes" ; then
   6637 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6638 			found="yes"
   6639 		fi
   6640 	fi
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 # This chunk adds additional warnings that could catch undesired effects.
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 xorg_testset_save_CFLAGS="$CFLAGS"
   6661 
   6662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6664 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6667 then :
   6668   printf %s "(cached) " >&6
   6669 else case e in #(
   6670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 int i;
   6673 _ACEOF
   6674 if ac_fn_c_try_compile "$LINENO"
   6675 then :
   6676   xorg_cv_cc_flag_unknown_warning_option=yes
   6677 else case e in #(
   6678   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6679 esac
   6680 fi
   6681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6682 esac
   6683 fi
   6684 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6685 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6687 	CFLAGS="$xorg_testset_save_CFLAGS"
   6688 fi
   6689 
   6690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6693 	fi
   6694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6695 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6698 then :
   6699   printf %s "(cached) " >&6
   6700 else case e in #(
   6701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 _ACEOF
   6705 if ac_fn_c_try_compile "$LINENO"
   6706 then :
   6707   xorg_cv_cc_flag_unused_command_line_argument=yes
   6708 else case e in #(
   6709   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6710 esac
   6711 fi
   6712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6713 esac
   6714 fi
   6715 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6716 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6718 	CFLAGS="$xorg_testset_save_CFLAGS"
   6719 fi
   6720 
   6721 found="no"
   6722 
   6723 	if test $found = "no" ; then
   6724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6726 		fi
   6727 
   6728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6730 		fi
   6731 
   6732 		CFLAGS="$CFLAGS -Wunused"
   6733 
   6734 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6735 printf %s "checking if $CC supports -Wunused... " >&6; }
   6736 		cacheid=xorg_cv_cc_flag__Wunused
   6737 		if eval test \${$cacheid+y}
   6738 then :
   6739   printf %s "(cached) " >&6
   6740 else case e in #(
   6741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6742 /* end confdefs.h.  */
   6743 int i;
   6744 int
   6745 main (void)
   6746 {
   6747 
   6748   ;
   6749   return 0;
   6750 }
   6751 _ACEOF
   6752 if ac_fn_c_try_link "$LINENO"
   6753 then :
   6754   eval $cacheid=yes
   6755 else case e in #(
   6756   e) eval $cacheid=no ;;
   6757 esac
   6758 fi
   6759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6760     conftest$ac_exeext conftest.$ac_ext ;;
   6761 esac
   6762 fi
   6763 
   6764 
   6765 		CFLAGS="$xorg_testset_save_CFLAGS"
   6766 
   6767 		eval supported=\$$cacheid
   6768 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6769 printf '%s\n' "$supported" >&6; }
   6770 		if test "$supported" = "yes" ; then
   6771 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6772 			found="yes"
   6773 		fi
   6774 	fi
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 xorg_testset_save_CFLAGS="$CFLAGS"
   6791 
   6792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6794 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6797 then :
   6798   printf %s "(cached) " >&6
   6799 else case e in #(
   6800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"
   6805 then :
   6806   xorg_cv_cc_flag_unknown_warning_option=yes
   6807 else case e in #(
   6808   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6809 esac
   6810 fi
   6811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6812 esac
   6813 fi
   6814 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6815 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6817 	CFLAGS="$xorg_testset_save_CFLAGS"
   6818 fi
   6819 
   6820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6823 	fi
   6824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6825 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6826 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6827 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6828 then :
   6829   printf %s "(cached) " >&6
   6830 else case e in #(
   6831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 _ACEOF
   6835 if ac_fn_c_try_compile "$LINENO"
   6836 then :
   6837   xorg_cv_cc_flag_unused_command_line_argument=yes
   6838 else case e in #(
   6839   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6840 esac
   6841 fi
   6842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6843 esac
   6844 fi
   6845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6846 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6848 	CFLAGS="$xorg_testset_save_CFLAGS"
   6849 fi
   6850 
   6851 found="no"
   6852 
   6853 	if test $found = "no" ; then
   6854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 		fi
   6857 
   6858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6860 		fi
   6861 
   6862 		CFLAGS="$CFLAGS -Wuninitialized"
   6863 
   6864 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6865 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6866 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6867 		if eval test \${$cacheid+y}
   6868 then :
   6869   printf %s "(cached) " >&6
   6870 else case e in #(
   6871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6872 /* end confdefs.h.  */
   6873 int i;
   6874 int
   6875 main (void)
   6876 {
   6877 
   6878   ;
   6879   return 0;
   6880 }
   6881 _ACEOF
   6882 if ac_fn_c_try_link "$LINENO"
   6883 then :
   6884   eval $cacheid=yes
   6885 else case e in #(
   6886   e) eval $cacheid=no ;;
   6887 esac
   6888 fi
   6889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6890     conftest$ac_exeext conftest.$ac_ext ;;
   6891 esac
   6892 fi
   6893 
   6894 
   6895 		CFLAGS="$xorg_testset_save_CFLAGS"
   6896 
   6897 		eval supported=\$$cacheid
   6898 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6899 printf '%s\n' "$supported" >&6; }
   6900 		if test "$supported" = "yes" ; then
   6901 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6902 			found="yes"
   6903 		fi
   6904 	fi
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 xorg_testset_save_CFLAGS="$CFLAGS"
   6921 
   6922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6924 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6927 then :
   6928   printf %s "(cached) " >&6
   6929 else case e in #(
   6930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6931 /* end confdefs.h.  */
   6932 int i;
   6933 _ACEOF
   6934 if ac_fn_c_try_compile "$LINENO"
   6935 then :
   6936   xorg_cv_cc_flag_unknown_warning_option=yes
   6937 else case e in #(
   6938   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6939 esac
   6940 fi
   6941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6942 esac
   6943 fi
   6944 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6945 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6947 	CFLAGS="$xorg_testset_save_CFLAGS"
   6948 fi
   6949 
   6950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6953 	fi
   6954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6955 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6956 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6957 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6958 then :
   6959   printf %s "(cached) " >&6
   6960 else case e in #(
   6961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6962 /* end confdefs.h.  */
   6963 int i;
   6964 _ACEOF
   6965 if ac_fn_c_try_compile "$LINENO"
   6966 then :
   6967   xorg_cv_cc_flag_unused_command_line_argument=yes
   6968 else case e in #(
   6969   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6970 esac
   6971 fi
   6972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6973 esac
   6974 fi
   6975 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6976 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6978 	CFLAGS="$xorg_testset_save_CFLAGS"
   6979 fi
   6980 
   6981 found="no"
   6982 
   6983 	if test $found = "no" ; then
   6984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6986 		fi
   6987 
   6988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6990 		fi
   6991 
   6992 		CFLAGS="$CFLAGS -Wshadow"
   6993 
   6994 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6995 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6996 		cacheid=xorg_cv_cc_flag__Wshadow
   6997 		if eval test \${$cacheid+y}
   6998 then :
   6999   printf %s "(cached) " >&6
   7000 else case e in #(
   7001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7002 /* end confdefs.h.  */
   7003 int i;
   7004 int
   7005 main (void)
   7006 {
   7007 
   7008   ;
   7009   return 0;
   7010 }
   7011 _ACEOF
   7012 if ac_fn_c_try_link "$LINENO"
   7013 then :
   7014   eval $cacheid=yes
   7015 else case e in #(
   7016   e) eval $cacheid=no ;;
   7017 esac
   7018 fi
   7019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7020     conftest$ac_exeext conftest.$ac_ext ;;
   7021 esac
   7022 fi
   7023 
   7024 
   7025 		CFLAGS="$xorg_testset_save_CFLAGS"
   7026 
   7027 		eval supported=\$$cacheid
   7028 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7029 printf '%s\n' "$supported" >&6; }
   7030 		if test "$supported" = "yes" ; then
   7031 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7032 			found="yes"
   7033 		fi
   7034 	fi
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 xorg_testset_save_CFLAGS="$CFLAGS"
   7051 
   7052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7055 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7056 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7057 then :
   7058   printf %s "(cached) " >&6
   7059 else case e in #(
   7060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"
   7065 then :
   7066   xorg_cv_cc_flag_unknown_warning_option=yes
   7067 else case e in #(
   7068   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7069 esac
   7070 fi
   7071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7072 esac
   7073 fi
   7074 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7075 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7077 	CFLAGS="$xorg_testset_save_CFLAGS"
   7078 fi
   7079 
   7080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7083 	fi
   7084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7085 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7088 then :
   7089   printf %s "(cached) " >&6
   7090 else case e in #(
   7091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7092 /* end confdefs.h.  */
   7093 int i;
   7094 _ACEOF
   7095 if ac_fn_c_try_compile "$LINENO"
   7096 then :
   7097   xorg_cv_cc_flag_unused_command_line_argument=yes
   7098 else case e in #(
   7099   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7100 esac
   7101 fi
   7102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7103 esac
   7104 fi
   7105 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7106 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7108 	CFLAGS="$xorg_testset_save_CFLAGS"
   7109 fi
   7110 
   7111 found="no"
   7112 
   7113 	if test $found = "no" ; then
   7114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 		fi
   7117 
   7118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7120 		fi
   7121 
   7122 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7123 
   7124 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7125 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7126 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7127 		if eval test \${$cacheid+y}
   7128 then :
   7129   printf %s "(cached) " >&6
   7130 else case e in #(
   7131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 int
   7135 main (void)
   7136 {
   7137 
   7138   ;
   7139   return 0;
   7140 }
   7141 _ACEOF
   7142 if ac_fn_c_try_link "$LINENO"
   7143 then :
   7144   eval $cacheid=yes
   7145 else case e in #(
   7146   e) eval $cacheid=no ;;
   7147 esac
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7150     conftest$ac_exeext conftest.$ac_ext ;;
   7151 esac
   7152 fi
   7153 
   7154 
   7155 		CFLAGS="$xorg_testset_save_CFLAGS"
   7156 
   7157 		eval supported=\$$cacheid
   7158 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7159 printf '%s\n' "$supported" >&6; }
   7160 		if test "$supported" = "yes" ; then
   7161 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7162 			found="yes"
   7163 		fi
   7164 	fi
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 xorg_testset_save_CFLAGS="$CFLAGS"
   7181 
   7182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7184 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7185 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7186 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7187 then :
   7188   printf %s "(cached) " >&6
   7189 else case e in #(
   7190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7191 /* end confdefs.h.  */
   7192 int i;
   7193 _ACEOF
   7194 if ac_fn_c_try_compile "$LINENO"
   7195 then :
   7196   xorg_cv_cc_flag_unknown_warning_option=yes
   7197 else case e in #(
   7198   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7199 esac
   7200 fi
   7201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7202 esac
   7203 fi
   7204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7205 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7207 	CFLAGS="$xorg_testset_save_CFLAGS"
   7208 fi
   7209 
   7210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7213 	fi
   7214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7215 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7216 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7217 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7218 then :
   7219   printf %s "(cached) " >&6
   7220 else case e in #(
   7221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 int i;
   7224 _ACEOF
   7225 if ac_fn_c_try_compile "$LINENO"
   7226 then :
   7227   xorg_cv_cc_flag_unused_command_line_argument=yes
   7228 else case e in #(
   7229   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7230 esac
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7233 esac
   7234 fi
   7235 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7236 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7238 	CFLAGS="$xorg_testset_save_CFLAGS"
   7239 fi
   7240 
   7241 found="no"
   7242 
   7243 	if test $found = "no" ; then
   7244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7246 		fi
   7247 
   7248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7250 		fi
   7251 
   7252 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7253 
   7254 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7255 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7256 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7257 		if eval test \${$cacheid+y}
   7258 then :
   7259   printf %s "(cached) " >&6
   7260 else case e in #(
   7261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 int
   7265 main (void)
   7266 {
   7267 
   7268   ;
   7269   return 0;
   7270 }
   7271 _ACEOF
   7272 if ac_fn_c_try_link "$LINENO"
   7273 then :
   7274   eval $cacheid=yes
   7275 else case e in #(
   7276   e) eval $cacheid=no ;;
   7277 esac
   7278 fi
   7279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7280     conftest$ac_exeext conftest.$ac_ext ;;
   7281 esac
   7282 fi
   7283 
   7284 
   7285 		CFLAGS="$xorg_testset_save_CFLAGS"
   7286 
   7287 		eval supported=\$$cacheid
   7288 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7289 printf '%s\n' "$supported" >&6; }
   7290 		if test "$supported" = "yes" ; then
   7291 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7292 			found="yes"
   7293 		fi
   7294 	fi
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 xorg_testset_save_CFLAGS="$CFLAGS"
   7311 
   7312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7314 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7315 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7316 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7317 then :
   7318   printf %s "(cached) " >&6
   7319 else case e in #(
   7320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 _ACEOF
   7324 if ac_fn_c_try_compile "$LINENO"
   7325 then :
   7326   xorg_cv_cc_flag_unknown_warning_option=yes
   7327 else case e in #(
   7328   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7329 esac
   7330 fi
   7331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7332 esac
   7333 fi
   7334 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7335 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7337 	CFLAGS="$xorg_testset_save_CFLAGS"
   7338 fi
   7339 
   7340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7343 	fi
   7344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7345 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7348 then :
   7349   printf %s "(cached) " >&6
   7350 else case e in #(
   7351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7352 /* end confdefs.h.  */
   7353 int i;
   7354 _ACEOF
   7355 if ac_fn_c_try_compile "$LINENO"
   7356 then :
   7357   xorg_cv_cc_flag_unused_command_line_argument=yes
   7358 else case e in #(
   7359   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7360 esac
   7361 fi
   7362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7363 esac
   7364 fi
   7365 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7366 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7368 	CFLAGS="$xorg_testset_save_CFLAGS"
   7369 fi
   7370 
   7371 found="no"
   7372 
   7373 	if test $found = "no" ; then
   7374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7376 		fi
   7377 
   7378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7380 		fi
   7381 
   7382 		CFLAGS="$CFLAGS -Wredundant-decls"
   7383 
   7384 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7385 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7386 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7387 		if eval test \${$cacheid+y}
   7388 then :
   7389   printf %s "(cached) " >&6
   7390 else case e in #(
   7391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7392 /* end confdefs.h.  */
   7393 int i;
   7394 int
   7395 main (void)
   7396 {
   7397 
   7398   ;
   7399   return 0;
   7400 }
   7401 _ACEOF
   7402 if ac_fn_c_try_link "$LINENO"
   7403 then :
   7404   eval $cacheid=yes
   7405 else case e in #(
   7406   e) eval $cacheid=no ;;
   7407 esac
   7408 fi
   7409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7410     conftest$ac_exeext conftest.$ac_ext ;;
   7411 esac
   7412 fi
   7413 
   7414 
   7415 		CFLAGS="$xorg_testset_save_CFLAGS"
   7416 
   7417 		eval supported=\$$cacheid
   7418 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7419 printf '%s\n' "$supported" >&6; }
   7420 		if test "$supported" = "yes" ; then
   7421 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7422 			found="yes"
   7423 		fi
   7424 	fi
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 xorg_testset_save_CFLAGS="$CFLAGS"
   7441 
   7442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7444 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7445 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7446 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7447 then :
   7448   printf %s "(cached) " >&6
   7449 else case e in #(
   7450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 _ACEOF
   7454 if ac_fn_c_try_compile "$LINENO"
   7455 then :
   7456   xorg_cv_cc_flag_unknown_warning_option=yes
   7457 else case e in #(
   7458   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7459 esac
   7460 fi
   7461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7462 esac
   7463 fi
   7464 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7465 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7467 	CFLAGS="$xorg_testset_save_CFLAGS"
   7468 fi
   7469 
   7470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7473 	fi
   7474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7475 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7478 then :
   7479   printf %s "(cached) " >&6
   7480 else case e in #(
   7481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7482 /* end confdefs.h.  */
   7483 int i;
   7484 _ACEOF
   7485 if ac_fn_c_try_compile "$LINENO"
   7486 then :
   7487   xorg_cv_cc_flag_unused_command_line_argument=yes
   7488 else case e in #(
   7489   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7490 esac
   7491 fi
   7492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7493 esac
   7494 fi
   7495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7496 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7498 	CFLAGS="$xorg_testset_save_CFLAGS"
   7499 fi
   7500 
   7501 found="no"
   7502 
   7503 	if test $found = "no" ; then
   7504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 		fi
   7507 
   7508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7510 		fi
   7511 
   7512 		CFLAGS="$CFLAGS -Wlogical-op"
   7513 
   7514 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7515 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7516 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7517 		if eval test \${$cacheid+y}
   7518 then :
   7519   printf %s "(cached) " >&6
   7520 else case e in #(
   7521   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 int
   7525 main (void)
   7526 {
   7527 
   7528   ;
   7529   return 0;
   7530 }
   7531 _ACEOF
   7532 if ac_fn_c_try_link "$LINENO"
   7533 then :
   7534   eval $cacheid=yes
   7535 else case e in #(
   7536   e) eval $cacheid=no ;;
   7537 esac
   7538 fi
   7539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7540     conftest$ac_exeext conftest.$ac_ext ;;
   7541 esac
   7542 fi
   7543 
   7544 
   7545 		CFLAGS="$xorg_testset_save_CFLAGS"
   7546 
   7547 		eval supported=\$$cacheid
   7548 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7549 printf '%s\n' "$supported" >&6; }
   7550 		if test "$supported" = "yes" ; then
   7551 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7552 			found="yes"
   7553 		fi
   7554 	fi
   7555 
   7556 
   7557 
   7558 # These are currently disabled because they are noisy.  They will be enabled
   7559 # in the future once the codebase is sufficiently modernized to silence
   7560 # them.  For now, I don't want them to drown out the other warnings.
   7561 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7562 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7563 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7564 
   7565 # Turn some warnings into errors, so we don't accidentally get successful builds
   7566 # when there are problems that should be fixed.
   7567 
   7568 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 xorg_testset_save_CFLAGS="$CFLAGS"
   7583 
   7584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7586 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7587 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7588 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7589 then :
   7590   printf %s "(cached) " >&6
   7591 else case e in #(
   7592   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 int i;
   7595 _ACEOF
   7596 if ac_fn_c_try_compile "$LINENO"
   7597 then :
   7598   xorg_cv_cc_flag_unknown_warning_option=yes
   7599 else case e in #(
   7600   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7601 esac
   7602 fi
   7603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7604 esac
   7605 fi
   7606 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7607 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7609 	CFLAGS="$xorg_testset_save_CFLAGS"
   7610 fi
   7611 
   7612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 	fi
   7616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7617 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7618 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7619 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7620 then :
   7621   printf %s "(cached) " >&6
   7622 else case e in #(
   7623   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7624 /* end confdefs.h.  */
   7625 int i;
   7626 _ACEOF
   7627 if ac_fn_c_try_compile "$LINENO"
   7628 then :
   7629   xorg_cv_cc_flag_unused_command_line_argument=yes
   7630 else case e in #(
   7631   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7632 esac
   7633 fi
   7634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7635 esac
   7636 fi
   7637 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7638 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7640 	CFLAGS="$xorg_testset_save_CFLAGS"
   7641 fi
   7642 
   7643 found="no"
   7644 
   7645 	if test $found = "no" ; then
   7646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7648 		fi
   7649 
   7650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7652 		fi
   7653 
   7654 		CFLAGS="$CFLAGS -Werror=implicit"
   7655 
   7656 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7657 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7658 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7659 		if eval test \${$cacheid+y}
   7660 then :
   7661   printf %s "(cached) " >&6
   7662 else case e in #(
   7663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7664 /* end confdefs.h.  */
   7665 int i;
   7666 int
   7667 main (void)
   7668 {
   7669 
   7670   ;
   7671   return 0;
   7672 }
   7673 _ACEOF
   7674 if ac_fn_c_try_link "$LINENO"
   7675 then :
   7676   eval $cacheid=yes
   7677 else case e in #(
   7678   e) eval $cacheid=no ;;
   7679 esac
   7680 fi
   7681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7682     conftest$ac_exeext conftest.$ac_ext ;;
   7683 esac
   7684 fi
   7685 
   7686 
   7687 		CFLAGS="$xorg_testset_save_CFLAGS"
   7688 
   7689 		eval supported=\$$cacheid
   7690 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7691 printf '%s\n' "$supported" >&6; }
   7692 		if test "$supported" = "yes" ; then
   7693 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7694 			found="yes"
   7695 		fi
   7696 	fi
   7697 
   7698 	if test $found = "no" ; then
   7699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7701 		fi
   7702 
   7703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7705 		fi
   7706 
   7707 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7708 
   7709 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7710 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7711 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7712 		if eval test \${$cacheid+y}
   7713 then :
   7714   printf %s "(cached) " >&6
   7715 else case e in #(
   7716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 int
   7720 main (void)
   7721 {
   7722 
   7723   ;
   7724   return 0;
   7725 }
   7726 _ACEOF
   7727 if ac_fn_c_try_link "$LINENO"
   7728 then :
   7729   eval $cacheid=yes
   7730 else case e in #(
   7731   e) eval $cacheid=no ;;
   7732 esac
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7735     conftest$ac_exeext conftest.$ac_ext ;;
   7736 esac
   7737 fi
   7738 
   7739 
   7740 		CFLAGS="$xorg_testset_save_CFLAGS"
   7741 
   7742 		eval supported=\$$cacheid
   7743 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7744 printf '%s\n' "$supported" >&6; }
   7745 		if test "$supported" = "yes" ; then
   7746 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7747 			found="yes"
   7748 		fi
   7749 	fi
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 xorg_testset_save_CFLAGS="$CFLAGS"
   7766 
   7767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7769 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7770 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7771 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7772 then :
   7773   printf %s "(cached) " >&6
   7774 else case e in #(
   7775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7776 /* end confdefs.h.  */
   7777 int i;
   7778 _ACEOF
   7779 if ac_fn_c_try_compile "$LINENO"
   7780 then :
   7781   xorg_cv_cc_flag_unknown_warning_option=yes
   7782 else case e in #(
   7783   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7784 esac
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7787 esac
   7788 fi
   7789 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7790 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7792 	CFLAGS="$xorg_testset_save_CFLAGS"
   7793 fi
   7794 
   7795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7798 	fi
   7799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7800 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7803 then :
   7804   printf %s "(cached) " >&6
   7805 else case e in #(
   7806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7807 /* end confdefs.h.  */
   7808 int i;
   7809 _ACEOF
   7810 if ac_fn_c_try_compile "$LINENO"
   7811 then :
   7812   xorg_cv_cc_flag_unused_command_line_argument=yes
   7813 else case e in #(
   7814   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7815 esac
   7816 fi
   7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7818 esac
   7819 fi
   7820 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7821 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 found="no"
   7827 
   7828 	if test $found = "no" ; then
   7829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 		fi
   7832 
   7833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7835 		fi
   7836 
   7837 		CFLAGS="$CFLAGS -Werror=nonnull"
   7838 
   7839 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7840 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7841 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7842 		if eval test \${$cacheid+y}
   7843 then :
   7844   printf %s "(cached) " >&6
   7845 else case e in #(
   7846   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7847 /* end confdefs.h.  */
   7848 int i;
   7849 int
   7850 main (void)
   7851 {
   7852 
   7853   ;
   7854   return 0;
   7855 }
   7856 _ACEOF
   7857 if ac_fn_c_try_link "$LINENO"
   7858 then :
   7859   eval $cacheid=yes
   7860 else case e in #(
   7861   e) eval $cacheid=no ;;
   7862 esac
   7863 fi
   7864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7865     conftest$ac_exeext conftest.$ac_ext ;;
   7866 esac
   7867 fi
   7868 
   7869 
   7870 		CFLAGS="$xorg_testset_save_CFLAGS"
   7871 
   7872 		eval supported=\$$cacheid
   7873 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7874 printf '%s\n' "$supported" >&6; }
   7875 		if test "$supported" = "yes" ; then
   7876 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7877 			found="yes"
   7878 		fi
   7879 	fi
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 xorg_testset_save_CFLAGS="$CFLAGS"
   7896 
   7897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7899 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7900 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7901 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7902 then :
   7903   printf %s "(cached) " >&6
   7904 else case e in #(
   7905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7906 /* end confdefs.h.  */
   7907 int i;
   7908 _ACEOF
   7909 if ac_fn_c_try_compile "$LINENO"
   7910 then :
   7911   xorg_cv_cc_flag_unknown_warning_option=yes
   7912 else case e in #(
   7913   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7914 esac
   7915 fi
   7916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7917 esac
   7918 fi
   7919 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7920 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7922 	CFLAGS="$xorg_testset_save_CFLAGS"
   7923 fi
   7924 
   7925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7928 	fi
   7929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7930 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7933 then :
   7934   printf %s "(cached) " >&6
   7935 else case e in #(
   7936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7937 /* end confdefs.h.  */
   7938 int i;
   7939 _ACEOF
   7940 if ac_fn_c_try_compile "$LINENO"
   7941 then :
   7942   xorg_cv_cc_flag_unused_command_line_argument=yes
   7943 else case e in #(
   7944   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7945 esac
   7946 fi
   7947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7948 esac
   7949 fi
   7950 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7951 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7953 	CFLAGS="$xorg_testset_save_CFLAGS"
   7954 fi
   7955 
   7956 found="no"
   7957 
   7958 	if test $found = "no" ; then
   7959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 		fi
   7962 
   7963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7965 		fi
   7966 
   7967 		CFLAGS="$CFLAGS -Werror=init-self"
   7968 
   7969 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7970 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7971 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7972 		if eval test \${$cacheid+y}
   7973 then :
   7974   printf %s "(cached) " >&6
   7975 else case e in #(
   7976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 int
   7980 main (void)
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 if ac_fn_c_try_link "$LINENO"
   7988 then :
   7989   eval $cacheid=yes
   7990 else case e in #(
   7991   e) eval $cacheid=no ;;
   7992 esac
   7993 fi
   7994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7995     conftest$ac_exeext conftest.$ac_ext ;;
   7996 esac
   7997 fi
   7998 
   7999 
   8000 		CFLAGS="$xorg_testset_save_CFLAGS"
   8001 
   8002 		eval supported=\$$cacheid
   8003 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8004 printf '%s\n' "$supported" >&6; }
   8005 		if test "$supported" = "yes" ; then
   8006 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8007 			found="yes"
   8008 		fi
   8009 	fi
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 xorg_testset_save_CFLAGS="$CFLAGS"
   8026 
   8027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8032 then :
   8033   printf %s "(cached) " >&6
   8034 else case e in #(
   8035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8036 /* end confdefs.h.  */
   8037 int i;
   8038 _ACEOF
   8039 if ac_fn_c_try_compile "$LINENO"
   8040 then :
   8041   xorg_cv_cc_flag_unknown_warning_option=yes
   8042 else case e in #(
   8043   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8044 esac
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8047 esac
   8048 fi
   8049 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8050 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8052 	CFLAGS="$xorg_testset_save_CFLAGS"
   8053 fi
   8054 
   8055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8058 	fi
   8059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8060 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8063 then :
   8064   printf %s "(cached) " >&6
   8065 else case e in #(
   8066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8067 /* end confdefs.h.  */
   8068 int i;
   8069 _ACEOF
   8070 if ac_fn_c_try_compile "$LINENO"
   8071 then :
   8072   xorg_cv_cc_flag_unused_command_line_argument=yes
   8073 else case e in #(
   8074   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8075 esac
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8078 esac
   8079 fi
   8080 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8081 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8083 	CFLAGS="$xorg_testset_save_CFLAGS"
   8084 fi
   8085 
   8086 found="no"
   8087 
   8088 	if test $found = "no" ; then
   8089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8091 		fi
   8092 
   8093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8095 		fi
   8096 
   8097 		CFLAGS="$CFLAGS -Werror=main"
   8098 
   8099 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8100 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8101 		cacheid=xorg_cv_cc_flag__Werror_main
   8102 		if eval test \${$cacheid+y}
   8103 then :
   8104   printf %s "(cached) " >&6
   8105 else case e in #(
   8106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8107 /* end confdefs.h.  */
   8108 int i;
   8109 int
   8110 main (void)
   8111 {
   8112 
   8113   ;
   8114   return 0;
   8115 }
   8116 _ACEOF
   8117 if ac_fn_c_try_link "$LINENO"
   8118 then :
   8119   eval $cacheid=yes
   8120 else case e in #(
   8121   e) eval $cacheid=no ;;
   8122 esac
   8123 fi
   8124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8125     conftest$ac_exeext conftest.$ac_ext ;;
   8126 esac
   8127 fi
   8128 
   8129 
   8130 		CFLAGS="$xorg_testset_save_CFLAGS"
   8131 
   8132 		eval supported=\$$cacheid
   8133 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8134 printf '%s\n' "$supported" >&6; }
   8135 		if test "$supported" = "yes" ; then
   8136 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8137 			found="yes"
   8138 		fi
   8139 	fi
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 xorg_testset_save_CFLAGS="$CFLAGS"
   8156 
   8157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8160 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8161 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8162 then :
   8163   printf %s "(cached) " >&6
   8164 else case e in #(
   8165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8166 /* end confdefs.h.  */
   8167 int i;
   8168 _ACEOF
   8169 if ac_fn_c_try_compile "$LINENO"
   8170 then :
   8171   xorg_cv_cc_flag_unknown_warning_option=yes
   8172 else case e in #(
   8173   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8174 esac
   8175 fi
   8176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8177 esac
   8178 fi
   8179 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8180 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8182 	CFLAGS="$xorg_testset_save_CFLAGS"
   8183 fi
   8184 
   8185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8188 	fi
   8189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8190 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8193 then :
   8194   printf %s "(cached) " >&6
   8195 else case e in #(
   8196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8197 /* end confdefs.h.  */
   8198 int i;
   8199 _ACEOF
   8200 if ac_fn_c_try_compile "$LINENO"
   8201 then :
   8202   xorg_cv_cc_flag_unused_command_line_argument=yes
   8203 else case e in #(
   8204   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8205 esac
   8206 fi
   8207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8208 esac
   8209 fi
   8210 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8211 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8213 	CFLAGS="$xorg_testset_save_CFLAGS"
   8214 fi
   8215 
   8216 found="no"
   8217 
   8218 	if test $found = "no" ; then
   8219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 		fi
   8222 
   8223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8225 		fi
   8226 
   8227 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8228 
   8229 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8230 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8231 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8232 		if eval test \${$cacheid+y}
   8233 then :
   8234   printf %s "(cached) " >&6
   8235 else case e in #(
   8236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8237 /* end confdefs.h.  */
   8238 int i;
   8239 int
   8240 main (void)
   8241 {
   8242 
   8243   ;
   8244   return 0;
   8245 }
   8246 _ACEOF
   8247 if ac_fn_c_try_link "$LINENO"
   8248 then :
   8249   eval $cacheid=yes
   8250 else case e in #(
   8251   e) eval $cacheid=no ;;
   8252 esac
   8253 fi
   8254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8255     conftest$ac_exeext conftest.$ac_ext ;;
   8256 esac
   8257 fi
   8258 
   8259 
   8260 		CFLAGS="$xorg_testset_save_CFLAGS"
   8261 
   8262 		eval supported=\$$cacheid
   8263 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8264 printf '%s\n' "$supported" >&6; }
   8265 		if test "$supported" = "yes" ; then
   8266 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8267 			found="yes"
   8268 		fi
   8269 	fi
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 xorg_testset_save_CFLAGS="$CFLAGS"
   8286 
   8287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8292 then :
   8293   printf %s "(cached) " >&6
   8294 else case e in #(
   8295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8296 /* end confdefs.h.  */
   8297 int i;
   8298 _ACEOF
   8299 if ac_fn_c_try_compile "$LINENO"
   8300 then :
   8301   xorg_cv_cc_flag_unknown_warning_option=yes
   8302 else case e in #(
   8303   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8304 esac
   8305 fi
   8306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8307 esac
   8308 fi
   8309 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8310 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 	fi
   8319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8323 then :
   8324   printf %s "(cached) " >&6
   8325 else case e in #(
   8326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"
   8331 then :
   8332   xorg_cv_cc_flag_unused_command_line_argument=yes
   8333 else case e in #(
   8334   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8335 esac
   8336 fi
   8337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8338 esac
   8339 fi
   8340 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8341 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8343 	CFLAGS="$xorg_testset_save_CFLAGS"
   8344 fi
   8345 
   8346 found="no"
   8347 
   8348 	if test $found = "no" ; then
   8349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 		fi
   8352 
   8353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8355 		fi
   8356 
   8357 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8358 
   8359 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8360 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8361 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8362 		if eval test \${$cacheid+y}
   8363 then :
   8364   printf %s "(cached) " >&6
   8365 else case e in #(
   8366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8367 /* end confdefs.h.  */
   8368 int i;
   8369 int
   8370 main (void)
   8371 {
   8372 
   8373   ;
   8374   return 0;
   8375 }
   8376 _ACEOF
   8377 if ac_fn_c_try_link "$LINENO"
   8378 then :
   8379   eval $cacheid=yes
   8380 else case e in #(
   8381   e) eval $cacheid=no ;;
   8382 esac
   8383 fi
   8384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8385     conftest$ac_exeext conftest.$ac_ext ;;
   8386 esac
   8387 fi
   8388 
   8389 
   8390 		CFLAGS="$xorg_testset_save_CFLAGS"
   8391 
   8392 		eval supported=\$$cacheid
   8393 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8394 printf '%s\n' "$supported" >&6; }
   8395 		if test "$supported" = "yes" ; then
   8396 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8397 			found="yes"
   8398 		fi
   8399 	fi
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 xorg_testset_save_CFLAGS="$CFLAGS"
   8416 
   8417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8419 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8420 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8421 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8422 then :
   8423   printf %s "(cached) " >&6
   8424 else case e in #(
   8425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8426 /* end confdefs.h.  */
   8427 int i;
   8428 _ACEOF
   8429 if ac_fn_c_try_compile "$LINENO"
   8430 then :
   8431   xorg_cv_cc_flag_unknown_warning_option=yes
   8432 else case e in #(
   8433   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8434 esac
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8437 esac
   8438 fi
   8439 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8440 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8442 	CFLAGS="$xorg_testset_save_CFLAGS"
   8443 fi
   8444 
   8445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 	fi
   8449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8450 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8451 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8452 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8453 then :
   8454   printf %s "(cached) " >&6
   8455 else case e in #(
   8456   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8457 /* end confdefs.h.  */
   8458 int i;
   8459 _ACEOF
   8460 if ac_fn_c_try_compile "$LINENO"
   8461 then :
   8462   xorg_cv_cc_flag_unused_command_line_argument=yes
   8463 else case e in #(
   8464   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8465 esac
   8466 fi
   8467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8468 esac
   8469 fi
   8470 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8471 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8473 	CFLAGS="$xorg_testset_save_CFLAGS"
   8474 fi
   8475 
   8476 found="no"
   8477 
   8478 	if test $found = "no" ; then
   8479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8481 		fi
   8482 
   8483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8485 		fi
   8486 
   8487 		CFLAGS="$CFLAGS -Werror=return-type"
   8488 
   8489 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8490 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8491 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8492 		if eval test \${$cacheid+y}
   8493 then :
   8494   printf %s "(cached) " >&6
   8495 else case e in #(
   8496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8497 /* end confdefs.h.  */
   8498 int i;
   8499 int
   8500 main (void)
   8501 {
   8502 
   8503   ;
   8504   return 0;
   8505 }
   8506 _ACEOF
   8507 if ac_fn_c_try_link "$LINENO"
   8508 then :
   8509   eval $cacheid=yes
   8510 else case e in #(
   8511   e) eval $cacheid=no ;;
   8512 esac
   8513 fi
   8514 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8515     conftest$ac_exeext conftest.$ac_ext ;;
   8516 esac
   8517 fi
   8518 
   8519 
   8520 		CFLAGS="$xorg_testset_save_CFLAGS"
   8521 
   8522 		eval supported=\$$cacheid
   8523 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8524 printf '%s\n' "$supported" >&6; }
   8525 		if test "$supported" = "yes" ; then
   8526 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8527 			found="yes"
   8528 		fi
   8529 	fi
   8530 
   8531 	if test $found = "no" ; then
   8532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8534 		fi
   8535 
   8536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8538 		fi
   8539 
   8540 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8541 
   8542 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8543 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8544 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8545 		if eval test \${$cacheid+y}
   8546 then :
   8547   printf %s "(cached) " >&6
   8548 else case e in #(
   8549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 int
   8553 main (void)
   8554 {
   8555 
   8556   ;
   8557   return 0;
   8558 }
   8559 _ACEOF
   8560 if ac_fn_c_try_link "$LINENO"
   8561 then :
   8562   eval $cacheid=yes
   8563 else case e in #(
   8564   e) eval $cacheid=no ;;
   8565 esac
   8566 fi
   8567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8568     conftest$ac_exeext conftest.$ac_ext ;;
   8569 esac
   8570 fi
   8571 
   8572 
   8573 		CFLAGS="$xorg_testset_save_CFLAGS"
   8574 
   8575 		eval supported=\$$cacheid
   8576 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8577 printf '%s\n' "$supported" >&6; }
   8578 		if test "$supported" = "yes" ; then
   8579 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8580 			found="yes"
   8581 		fi
   8582 	fi
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 xorg_testset_save_CFLAGS="$CFLAGS"
   8599 
   8600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8602 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8603 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8604 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8605 then :
   8606   printf %s "(cached) " >&6
   8607 else case e in #(
   8608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8609 /* end confdefs.h.  */
   8610 int i;
   8611 _ACEOF
   8612 if ac_fn_c_try_compile "$LINENO"
   8613 then :
   8614   xorg_cv_cc_flag_unknown_warning_option=yes
   8615 else case e in #(
   8616   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8617 esac
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8620 esac
   8621 fi
   8622 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8623 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8625 	CFLAGS="$xorg_testset_save_CFLAGS"
   8626 fi
   8627 
   8628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8631 	fi
   8632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8633 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8634 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8635 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8636 then :
   8637   printf %s "(cached) " >&6
   8638 else case e in #(
   8639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8640 /* end confdefs.h.  */
   8641 int i;
   8642 _ACEOF
   8643 if ac_fn_c_try_compile "$LINENO"
   8644 then :
   8645   xorg_cv_cc_flag_unused_command_line_argument=yes
   8646 else case e in #(
   8647   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8648 esac
   8649 fi
   8650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8651 esac
   8652 fi
   8653 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8654 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8656 	CFLAGS="$xorg_testset_save_CFLAGS"
   8657 fi
   8658 
   8659 found="no"
   8660 
   8661 	if test $found = "no" ; then
   8662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8664 		fi
   8665 
   8666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8668 		fi
   8669 
   8670 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8671 
   8672 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8673 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8674 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8675 		if eval test \${$cacheid+y}
   8676 then :
   8677   printf %s "(cached) " >&6
   8678 else case e in #(
   8679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8680 /* end confdefs.h.  */
   8681 int i;
   8682 int
   8683 main (void)
   8684 {
   8685 
   8686   ;
   8687   return 0;
   8688 }
   8689 _ACEOF
   8690 if ac_fn_c_try_link "$LINENO"
   8691 then :
   8692   eval $cacheid=yes
   8693 else case e in #(
   8694   e) eval $cacheid=no ;;
   8695 esac
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8698     conftest$ac_exeext conftest.$ac_ext ;;
   8699 esac
   8700 fi
   8701 
   8702 
   8703 		CFLAGS="$xorg_testset_save_CFLAGS"
   8704 
   8705 		eval supported=\$$cacheid
   8706 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8707 printf '%s\n' "$supported" >&6; }
   8708 		if test "$supported" = "yes" ; then
   8709 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8710 			found="yes"
   8711 		fi
   8712 	fi
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 xorg_testset_save_CFLAGS="$CFLAGS"
   8729 
   8730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8733 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8734 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8735 then :
   8736   printf %s "(cached) " >&6
   8737 else case e in #(
   8738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 _ACEOF
   8742 if ac_fn_c_try_compile "$LINENO"
   8743 then :
   8744   xorg_cv_cc_flag_unknown_warning_option=yes
   8745 else case e in #(
   8746   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8747 esac
   8748 fi
   8749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8750 esac
   8751 fi
   8752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8753 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8755 	CFLAGS="$xorg_testset_save_CFLAGS"
   8756 fi
   8757 
   8758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8761 	fi
   8762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8763 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8764 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8765 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8766 then :
   8767   printf %s "(cached) " >&6
   8768 else case e in #(
   8769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8770 /* end confdefs.h.  */
   8771 int i;
   8772 _ACEOF
   8773 if ac_fn_c_try_compile "$LINENO"
   8774 then :
   8775   xorg_cv_cc_flag_unused_command_line_argument=yes
   8776 else case e in #(
   8777   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8778 esac
   8779 fi
   8780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8781 esac
   8782 fi
   8783 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8784 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8786 	CFLAGS="$xorg_testset_save_CFLAGS"
   8787 fi
   8788 
   8789 found="no"
   8790 
   8791 	if test $found = "no" ; then
   8792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8794 		fi
   8795 
   8796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8798 		fi
   8799 
   8800 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8801 
   8802 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8803 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8804 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8805 		if eval test \${$cacheid+y}
   8806 then :
   8807   printf %s "(cached) " >&6
   8808 else case e in #(
   8809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8810 /* end confdefs.h.  */
   8811 int i;
   8812 int
   8813 main (void)
   8814 {
   8815 
   8816   ;
   8817   return 0;
   8818 }
   8819 _ACEOF
   8820 if ac_fn_c_try_link "$LINENO"
   8821 then :
   8822   eval $cacheid=yes
   8823 else case e in #(
   8824   e) eval $cacheid=no ;;
   8825 esac
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8828     conftest$ac_exeext conftest.$ac_ext ;;
   8829 esac
   8830 fi
   8831 
   8832 
   8833 		CFLAGS="$xorg_testset_save_CFLAGS"
   8834 
   8835 		eval supported=\$$cacheid
   8836 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8837 printf '%s\n' "$supported" >&6; }
   8838 		if test "$supported" = "yes" ; then
   8839 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8840 			found="yes"
   8841 		fi
   8842 	fi
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 xorg_testset_save_CFLAGS="$CFLAGS"
   8859 
   8860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8862 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8865 then :
   8866   printf %s "(cached) " >&6
   8867 else case e in #(
   8868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8869 /* end confdefs.h.  */
   8870 int i;
   8871 _ACEOF
   8872 if ac_fn_c_try_compile "$LINENO"
   8873 then :
   8874   xorg_cv_cc_flag_unknown_warning_option=yes
   8875 else case e in #(
   8876   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8877 esac
   8878 fi
   8879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8880 esac
   8881 fi
   8882 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8883 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8885 	CFLAGS="$xorg_testset_save_CFLAGS"
   8886 fi
   8887 
   8888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8891 	fi
   8892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8893 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8896 then :
   8897   printf %s "(cached) " >&6
   8898 else case e in #(
   8899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8900 /* end confdefs.h.  */
   8901 int i;
   8902 _ACEOF
   8903 if ac_fn_c_try_compile "$LINENO"
   8904 then :
   8905   xorg_cv_cc_flag_unused_command_line_argument=yes
   8906 else case e in #(
   8907   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8908 esac
   8909 fi
   8910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8911 esac
   8912 fi
   8913 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8914 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8916 	CFLAGS="$xorg_testset_save_CFLAGS"
   8917 fi
   8918 
   8919 found="no"
   8920 
   8921 	if test $found = "no" ; then
   8922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8924 		fi
   8925 
   8926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8928 		fi
   8929 
   8930 		CFLAGS="$CFLAGS -Werror=write-strings"
   8931 
   8932 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8933 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8934 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8935 		if eval test \${$cacheid+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else case e in #(
   8939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 int
   8943 main (void)
   8944 {
   8945 
   8946   ;
   8947   return 0;
   8948 }
   8949 _ACEOF
   8950 if ac_fn_c_try_link "$LINENO"
   8951 then :
   8952   eval $cacheid=yes
   8953 else case e in #(
   8954   e) eval $cacheid=no ;;
   8955 esac
   8956 fi
   8957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8958     conftest$ac_exeext conftest.$ac_ext ;;
   8959 esac
   8960 fi
   8961 
   8962 
   8963 		CFLAGS="$xorg_testset_save_CFLAGS"
   8964 
   8965 		eval supported=\$$cacheid
   8966 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8967 printf '%s\n' "$supported" >&6; }
   8968 		if test "$supported" = "yes" ; then
   8969 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8970 			found="yes"
   8971 		fi
   8972 	fi
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 xorg_testset_save_CFLAGS="$CFLAGS"
   8989 
   8990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8992 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8993 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8994 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8995 then :
   8996   printf %s "(cached) " >&6
   8997 else case e in #(
   8998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8999 /* end confdefs.h.  */
   9000 int i;
   9001 _ACEOF
   9002 if ac_fn_c_try_compile "$LINENO"
   9003 then :
   9004   xorg_cv_cc_flag_unknown_warning_option=yes
   9005 else case e in #(
   9006   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9007 esac
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9010 esac
   9011 fi
   9012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9013 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9015 	CFLAGS="$xorg_testset_save_CFLAGS"
   9016 fi
   9017 
   9018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 	fi
   9022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9023 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9026 then :
   9027   printf %s "(cached) " >&6
   9028 else case e in #(
   9029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9030 /* end confdefs.h.  */
   9031 int i;
   9032 _ACEOF
   9033 if ac_fn_c_try_compile "$LINENO"
   9034 then :
   9035   xorg_cv_cc_flag_unused_command_line_argument=yes
   9036 else case e in #(
   9037   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9038 esac
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9041 esac
   9042 fi
   9043 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9044 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9046 	CFLAGS="$xorg_testset_save_CFLAGS"
   9047 fi
   9048 
   9049 found="no"
   9050 
   9051 	if test $found = "no" ; then
   9052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9054 		fi
   9055 
   9056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9058 		fi
   9059 
   9060 		CFLAGS="$CFLAGS -Werror=address"
   9061 
   9062 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9063 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9064 		cacheid=xorg_cv_cc_flag__Werror_address
   9065 		if eval test \${$cacheid+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else case e in #(
   9069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 int
   9073 main (void)
   9074 {
   9075 
   9076   ;
   9077   return 0;
   9078 }
   9079 _ACEOF
   9080 if ac_fn_c_try_link "$LINENO"
   9081 then :
   9082   eval $cacheid=yes
   9083 else case e in #(
   9084   e) eval $cacheid=no ;;
   9085 esac
   9086 fi
   9087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9088     conftest$ac_exeext conftest.$ac_ext ;;
   9089 esac
   9090 fi
   9091 
   9092 
   9093 		CFLAGS="$xorg_testset_save_CFLAGS"
   9094 
   9095 		eval supported=\$$cacheid
   9096 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9097 printf '%s\n' "$supported" >&6; }
   9098 		if test "$supported" = "yes" ; then
   9099 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9100 			found="yes"
   9101 		fi
   9102 	fi
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 xorg_testset_save_CFLAGS="$CFLAGS"
   9119 
   9120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9122 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9123 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9124 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9125 then :
   9126   printf %s "(cached) " >&6
   9127 else case e in #(
   9128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 int i;
   9131 _ACEOF
   9132 if ac_fn_c_try_compile "$LINENO"
   9133 then :
   9134   xorg_cv_cc_flag_unknown_warning_option=yes
   9135 else case e in #(
   9136   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9137 esac
   9138 fi
   9139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9140 esac
   9141 fi
   9142 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9143 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9145 	CFLAGS="$xorg_testset_save_CFLAGS"
   9146 fi
   9147 
   9148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 	fi
   9152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9153 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9154 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9155 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9156 then :
   9157   printf %s "(cached) " >&6
   9158 else case e in #(
   9159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9160 /* end confdefs.h.  */
   9161 int i;
   9162 _ACEOF
   9163 if ac_fn_c_try_compile "$LINENO"
   9164 then :
   9165   xorg_cv_cc_flag_unused_command_line_argument=yes
   9166 else case e in #(
   9167   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9168 esac
   9169 fi
   9170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9171 esac
   9172 fi
   9173 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9174 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9176 	CFLAGS="$xorg_testset_save_CFLAGS"
   9177 fi
   9178 
   9179 found="no"
   9180 
   9181 	if test $found = "no" ; then
   9182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9184 		fi
   9185 
   9186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9188 		fi
   9189 
   9190 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9191 
   9192 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9193 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9194 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9195 		if eval test \${$cacheid+y}
   9196 then :
   9197   printf %s "(cached) " >&6
   9198 else case e in #(
   9199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9200 /* end confdefs.h.  */
   9201 int i;
   9202 int
   9203 main (void)
   9204 {
   9205 
   9206   ;
   9207   return 0;
   9208 }
   9209 _ACEOF
   9210 if ac_fn_c_try_link "$LINENO"
   9211 then :
   9212   eval $cacheid=yes
   9213 else case e in #(
   9214   e) eval $cacheid=no ;;
   9215 esac
   9216 fi
   9217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9218     conftest$ac_exeext conftest.$ac_ext ;;
   9219 esac
   9220 fi
   9221 
   9222 
   9223 		CFLAGS="$xorg_testset_save_CFLAGS"
   9224 
   9225 		eval supported=\$$cacheid
   9226 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9227 printf '%s\n' "$supported" >&6; }
   9228 		if test "$supported" = "yes" ; then
   9229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9230 			found="yes"
   9231 		fi
   9232 	fi
   9233 
   9234 	if test $found = "no" ; then
   9235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9237 		fi
   9238 
   9239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9241 		fi
   9242 
   9243 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9244 
   9245 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9246 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9247 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9248 		if eval test \${$cacheid+y}
   9249 then :
   9250   printf %s "(cached) " >&6
   9251 else case e in #(
   9252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9253 /* end confdefs.h.  */
   9254 int i;
   9255 int
   9256 main (void)
   9257 {
   9258 
   9259   ;
   9260   return 0;
   9261 }
   9262 _ACEOF
   9263 if ac_fn_c_try_link "$LINENO"
   9264 then :
   9265   eval $cacheid=yes
   9266 else case e in #(
   9267   e) eval $cacheid=no ;;
   9268 esac
   9269 fi
   9270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9271     conftest$ac_exeext conftest.$ac_ext ;;
   9272 esac
   9273 fi
   9274 
   9275 
   9276 		CFLAGS="$xorg_testset_save_CFLAGS"
   9277 
   9278 		eval supported=\$$cacheid
   9279 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9280 printf '%s\n' "$supported" >&6; }
   9281 		if test "$supported" = "yes" ; then
   9282 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9283 			found="yes"
   9284 		fi
   9285 	fi
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 xorg_testset_save_CFLAGS="$CFLAGS"
   9302 
   9303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9306 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9307 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9308 then :
   9309   printf %s "(cached) " >&6
   9310 else case e in #(
   9311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9312 /* end confdefs.h.  */
   9313 int i;
   9314 _ACEOF
   9315 if ac_fn_c_try_compile "$LINENO"
   9316 then :
   9317   xorg_cv_cc_flag_unknown_warning_option=yes
   9318 else case e in #(
   9319   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9320 esac
   9321 fi
   9322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9323 esac
   9324 fi
   9325 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9326 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9328 	CFLAGS="$xorg_testset_save_CFLAGS"
   9329 fi
   9330 
   9331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 	fi
   9335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9336 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9337 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9338 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9339 then :
   9340   printf %s "(cached) " >&6
   9341 else case e in #(
   9342   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9343 /* end confdefs.h.  */
   9344 int i;
   9345 _ACEOF
   9346 if ac_fn_c_try_compile "$LINENO"
   9347 then :
   9348   xorg_cv_cc_flag_unused_command_line_argument=yes
   9349 else case e in #(
   9350   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9351 esac
   9352 fi
   9353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9354 esac
   9355 fi
   9356 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9357 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9359 	CFLAGS="$xorg_testset_save_CFLAGS"
   9360 fi
   9361 
   9362 found="no"
   9363 
   9364 	if test $found = "no" ; then
   9365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9367 		fi
   9368 
   9369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9371 		fi
   9372 
   9373 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9374 
   9375 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9376 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9377 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9378 		if eval test \${$cacheid+y}
   9379 then :
   9380   printf %s "(cached) " >&6
   9381 else case e in #(
   9382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9383 /* end confdefs.h.  */
   9384 int i;
   9385 int
   9386 main (void)
   9387 {
   9388 
   9389   ;
   9390   return 0;
   9391 }
   9392 _ACEOF
   9393 if ac_fn_c_try_link "$LINENO"
   9394 then :
   9395   eval $cacheid=yes
   9396 else case e in #(
   9397   e) eval $cacheid=no ;;
   9398 esac
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9401     conftest$ac_exeext conftest.$ac_ext ;;
   9402 esac
   9403 fi
   9404 
   9405 
   9406 		CFLAGS="$xorg_testset_save_CFLAGS"
   9407 
   9408 		eval supported=\$$cacheid
   9409 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9410 printf '%s\n' "$supported" >&6; }
   9411 		if test "$supported" = "yes" ; then
   9412 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9413 			found="yes"
   9414 		fi
   9415 	fi
   9416 
   9417  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9418 else
   9419 { printf '%s\n' "$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
   9420 printf '%s\n' "$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;}
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 xorg_testset_save_CFLAGS="$CFLAGS"
   9435 
   9436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9438 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9439 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9440 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9441 then :
   9442   printf %s "(cached) " >&6
   9443 else case e in #(
   9444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 _ACEOF
   9448 if ac_fn_c_try_compile "$LINENO"
   9449 then :
   9450   xorg_cv_cc_flag_unknown_warning_option=yes
   9451 else case e in #(
   9452   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9453 esac
   9454 fi
   9455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9456 esac
   9457 fi
   9458 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9459 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9461 	CFLAGS="$xorg_testset_save_CFLAGS"
   9462 fi
   9463 
   9464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9467 	fi
   9468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9469 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9472 then :
   9473   printf %s "(cached) " >&6
   9474 else case e in #(
   9475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9476 /* end confdefs.h.  */
   9477 int i;
   9478 _ACEOF
   9479 if ac_fn_c_try_compile "$LINENO"
   9480 then :
   9481   xorg_cv_cc_flag_unused_command_line_argument=yes
   9482 else case e in #(
   9483   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9484 esac
   9485 fi
   9486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9487 esac
   9488 fi
   9489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9490 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9492 	CFLAGS="$xorg_testset_save_CFLAGS"
   9493 fi
   9494 
   9495 found="no"
   9496 
   9497 	if test $found = "no" ; then
   9498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 		fi
   9501 
   9502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9504 		fi
   9505 
   9506 		CFLAGS="$CFLAGS -Wimplicit"
   9507 
   9508 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9509 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9510 		cacheid=xorg_cv_cc_flag__Wimplicit
   9511 		if eval test \${$cacheid+y}
   9512 then :
   9513   printf %s "(cached) " >&6
   9514 else case e in #(
   9515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9516 /* end confdefs.h.  */
   9517 int i;
   9518 int
   9519 main (void)
   9520 {
   9521 
   9522   ;
   9523   return 0;
   9524 }
   9525 _ACEOF
   9526 if ac_fn_c_try_link "$LINENO"
   9527 then :
   9528   eval $cacheid=yes
   9529 else case e in #(
   9530   e) eval $cacheid=no ;;
   9531 esac
   9532 fi
   9533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9534     conftest$ac_exeext conftest.$ac_ext ;;
   9535 esac
   9536 fi
   9537 
   9538 
   9539 		CFLAGS="$xorg_testset_save_CFLAGS"
   9540 
   9541 		eval supported=\$$cacheid
   9542 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9543 printf '%s\n' "$supported" >&6; }
   9544 		if test "$supported" = "yes" ; then
   9545 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9546 			found="yes"
   9547 		fi
   9548 	fi
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 xorg_testset_save_CFLAGS="$CFLAGS"
   9565 
   9566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9568 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9571 then :
   9572   printf %s "(cached) " >&6
   9573 else case e in #(
   9574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9575 /* end confdefs.h.  */
   9576 int i;
   9577 _ACEOF
   9578 if ac_fn_c_try_compile "$LINENO"
   9579 then :
   9580   xorg_cv_cc_flag_unknown_warning_option=yes
   9581 else case e in #(
   9582   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9583 esac
   9584 fi
   9585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9586 esac
   9587 fi
   9588 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9589 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9591 	CFLAGS="$xorg_testset_save_CFLAGS"
   9592 fi
   9593 
   9594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9597 	fi
   9598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9599 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9602 then :
   9603   printf %s "(cached) " >&6
   9604 else case e in #(
   9605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9606 /* end confdefs.h.  */
   9607 int i;
   9608 _ACEOF
   9609 if ac_fn_c_try_compile "$LINENO"
   9610 then :
   9611   xorg_cv_cc_flag_unused_command_line_argument=yes
   9612 else case e in #(
   9613   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9614 esac
   9615 fi
   9616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9617 esac
   9618 fi
   9619 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9620 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9622 	CFLAGS="$xorg_testset_save_CFLAGS"
   9623 fi
   9624 
   9625 found="no"
   9626 
   9627 	if test $found = "no" ; then
   9628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9630 		fi
   9631 
   9632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9634 		fi
   9635 
   9636 		CFLAGS="$CFLAGS -Wnonnull"
   9637 
   9638 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9639 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9640 		cacheid=xorg_cv_cc_flag__Wnonnull
   9641 		if eval test \${$cacheid+y}
   9642 then :
   9643   printf %s "(cached) " >&6
   9644 else case e in #(
   9645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 int
   9649 main (void)
   9650 {
   9651 
   9652   ;
   9653   return 0;
   9654 }
   9655 _ACEOF
   9656 if ac_fn_c_try_link "$LINENO"
   9657 then :
   9658   eval $cacheid=yes
   9659 else case e in #(
   9660   e) eval $cacheid=no ;;
   9661 esac
   9662 fi
   9663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9664     conftest$ac_exeext conftest.$ac_ext ;;
   9665 esac
   9666 fi
   9667 
   9668 
   9669 		CFLAGS="$xorg_testset_save_CFLAGS"
   9670 
   9671 		eval supported=\$$cacheid
   9672 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9673 printf '%s\n' "$supported" >&6; }
   9674 		if test "$supported" = "yes" ; then
   9675 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9676 			found="yes"
   9677 		fi
   9678 	fi
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 xorg_testset_save_CFLAGS="$CFLAGS"
   9695 
   9696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9698 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9699 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9700 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9701 then :
   9702   printf %s "(cached) " >&6
   9703 else case e in #(
   9704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9705 /* end confdefs.h.  */
   9706 int i;
   9707 _ACEOF
   9708 if ac_fn_c_try_compile "$LINENO"
   9709 then :
   9710   xorg_cv_cc_flag_unknown_warning_option=yes
   9711 else case e in #(
   9712   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9713 esac
   9714 fi
   9715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9716 esac
   9717 fi
   9718 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9719 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9721 	CFLAGS="$xorg_testset_save_CFLAGS"
   9722 fi
   9723 
   9724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9727 	fi
   9728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9729 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9730 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9731 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9732 then :
   9733   printf %s "(cached) " >&6
   9734 else case e in #(
   9735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9736 /* end confdefs.h.  */
   9737 int i;
   9738 _ACEOF
   9739 if ac_fn_c_try_compile "$LINENO"
   9740 then :
   9741   xorg_cv_cc_flag_unused_command_line_argument=yes
   9742 else case e in #(
   9743   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9744 esac
   9745 fi
   9746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9747 esac
   9748 fi
   9749 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9750 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9752 	CFLAGS="$xorg_testset_save_CFLAGS"
   9753 fi
   9754 
   9755 found="no"
   9756 
   9757 	if test $found = "no" ; then
   9758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9760 		fi
   9761 
   9762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9764 		fi
   9765 
   9766 		CFLAGS="$CFLAGS -Winit-self"
   9767 
   9768 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9769 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9770 		cacheid=xorg_cv_cc_flag__Winit_self
   9771 		if eval test \${$cacheid+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else case e in #(
   9775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 int
   9779 main (void)
   9780 {
   9781 
   9782   ;
   9783   return 0;
   9784 }
   9785 _ACEOF
   9786 if ac_fn_c_try_link "$LINENO"
   9787 then :
   9788   eval $cacheid=yes
   9789 else case e in #(
   9790   e) eval $cacheid=no ;;
   9791 esac
   9792 fi
   9793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9794     conftest$ac_exeext conftest.$ac_ext ;;
   9795 esac
   9796 fi
   9797 
   9798 
   9799 		CFLAGS="$xorg_testset_save_CFLAGS"
   9800 
   9801 		eval supported=\$$cacheid
   9802 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9803 printf '%s\n' "$supported" >&6; }
   9804 		if test "$supported" = "yes" ; then
   9805 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9806 			found="yes"
   9807 		fi
   9808 	fi
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 xorg_testset_save_CFLAGS="$CFLAGS"
   9825 
   9826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9828 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9829 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9830 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9831 then :
   9832   printf %s "(cached) " >&6
   9833 else case e in #(
   9834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9835 /* end confdefs.h.  */
   9836 int i;
   9837 _ACEOF
   9838 if ac_fn_c_try_compile "$LINENO"
   9839 then :
   9840   xorg_cv_cc_flag_unknown_warning_option=yes
   9841 else case e in #(
   9842   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9843 esac
   9844 fi
   9845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9846 esac
   9847 fi
   9848 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9849 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9851 	CFLAGS="$xorg_testset_save_CFLAGS"
   9852 fi
   9853 
   9854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9857 	fi
   9858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9859 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9862 then :
   9863   printf %s "(cached) " >&6
   9864 else case e in #(
   9865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9866 /* end confdefs.h.  */
   9867 int i;
   9868 _ACEOF
   9869 if ac_fn_c_try_compile "$LINENO"
   9870 then :
   9871   xorg_cv_cc_flag_unused_command_line_argument=yes
   9872 else case e in #(
   9873   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9874 esac
   9875 fi
   9876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9877 esac
   9878 fi
   9879 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9880 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9882 	CFLAGS="$xorg_testset_save_CFLAGS"
   9883 fi
   9884 
   9885 found="no"
   9886 
   9887 	if test $found = "no" ; then
   9888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9890 		fi
   9891 
   9892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9894 		fi
   9895 
   9896 		CFLAGS="$CFLAGS -Wmain"
   9897 
   9898 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9899 printf %s "checking if $CC supports -Wmain... " >&6; }
   9900 		cacheid=xorg_cv_cc_flag__Wmain
   9901 		if eval test \${$cacheid+y}
   9902 then :
   9903   printf %s "(cached) " >&6
   9904 else case e in #(
   9905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9906 /* end confdefs.h.  */
   9907 int i;
   9908 int
   9909 main (void)
   9910 {
   9911 
   9912   ;
   9913   return 0;
   9914 }
   9915 _ACEOF
   9916 if ac_fn_c_try_link "$LINENO"
   9917 then :
   9918   eval $cacheid=yes
   9919 else case e in #(
   9920   e) eval $cacheid=no ;;
   9921 esac
   9922 fi
   9923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9924     conftest$ac_exeext conftest.$ac_ext ;;
   9925 esac
   9926 fi
   9927 
   9928 
   9929 		CFLAGS="$xorg_testset_save_CFLAGS"
   9930 
   9931 		eval supported=\$$cacheid
   9932 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9933 printf '%s\n' "$supported" >&6; }
   9934 		if test "$supported" = "yes" ; then
   9935 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9936 			found="yes"
   9937 		fi
   9938 	fi
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 xorg_testset_save_CFLAGS="$CFLAGS"
   9955 
   9956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9958 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9959 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9960 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9961 then :
   9962   printf %s "(cached) " >&6
   9963 else case e in #(
   9964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9965 /* end confdefs.h.  */
   9966 int i;
   9967 _ACEOF
   9968 if ac_fn_c_try_compile "$LINENO"
   9969 then :
   9970   xorg_cv_cc_flag_unknown_warning_option=yes
   9971 else case e in #(
   9972   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9973 esac
   9974 fi
   9975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9976 esac
   9977 fi
   9978 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9979 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9980 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9981 	CFLAGS="$xorg_testset_save_CFLAGS"
   9982 fi
   9983 
   9984 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9985 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9987 	fi
   9988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9989 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9990 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9991 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9992 then :
   9993   printf %s "(cached) " >&6
   9994 else case e in #(
   9995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9996 /* end confdefs.h.  */
   9997 int i;
   9998 _ACEOF
   9999 if ac_fn_c_try_compile "$LINENO"
   10000 then :
   10001   xorg_cv_cc_flag_unused_command_line_argument=yes
   10002 else case e in #(
   10003   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10004 esac
   10005 fi
   10006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10007 esac
   10008 fi
   10009 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10010 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10012 	CFLAGS="$xorg_testset_save_CFLAGS"
   10013 fi
   10014 
   10015 found="no"
   10016 
   10017 	if test $found = "no" ; then
   10018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10020 		fi
   10021 
   10022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10024 		fi
   10025 
   10026 		CFLAGS="$CFLAGS -Wmissing-braces"
   10027 
   10028 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10029 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10030 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10031 		if eval test \${$cacheid+y}
   10032 then :
   10033   printf %s "(cached) " >&6
   10034 else case e in #(
   10035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 int
   10039 main (void)
   10040 {
   10041 
   10042   ;
   10043   return 0;
   10044 }
   10045 _ACEOF
   10046 if ac_fn_c_try_link "$LINENO"
   10047 then :
   10048   eval $cacheid=yes
   10049 else case e in #(
   10050   e) eval $cacheid=no ;;
   10051 esac
   10052 fi
   10053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10054     conftest$ac_exeext conftest.$ac_ext ;;
   10055 esac
   10056 fi
   10057 
   10058 
   10059 		CFLAGS="$xorg_testset_save_CFLAGS"
   10060 
   10061 		eval supported=\$$cacheid
   10062 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10063 printf '%s\n' "$supported" >&6; }
   10064 		if test "$supported" = "yes" ; then
   10065 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10066 			found="yes"
   10067 		fi
   10068 	fi
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 xorg_testset_save_CFLAGS="$CFLAGS"
   10085 
   10086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10088 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10089 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10090 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10091 then :
   10092   printf %s "(cached) " >&6
   10093 else case e in #(
   10094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10095 /* end confdefs.h.  */
   10096 int i;
   10097 _ACEOF
   10098 if ac_fn_c_try_compile "$LINENO"
   10099 then :
   10100   xorg_cv_cc_flag_unknown_warning_option=yes
   10101 else case e in #(
   10102   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10103 esac
   10104 fi
   10105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10106 esac
   10107 fi
   10108 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10109 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10111 	CFLAGS="$xorg_testset_save_CFLAGS"
   10112 fi
   10113 
   10114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10117 	fi
   10118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10119 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10120 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10121 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10122 then :
   10123   printf %s "(cached) " >&6
   10124 else case e in #(
   10125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10126 /* end confdefs.h.  */
   10127 int i;
   10128 _ACEOF
   10129 if ac_fn_c_try_compile "$LINENO"
   10130 then :
   10131   xorg_cv_cc_flag_unused_command_line_argument=yes
   10132 else case e in #(
   10133   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10134 esac
   10135 fi
   10136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10137 esac
   10138 fi
   10139 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10140 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10142 	CFLAGS="$xorg_testset_save_CFLAGS"
   10143 fi
   10144 
   10145 found="no"
   10146 
   10147 	if test $found = "no" ; then
   10148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10150 		fi
   10151 
   10152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10154 		fi
   10155 
   10156 		CFLAGS="$CFLAGS -Wsequence-point"
   10157 
   10158 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10159 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10160 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10161 		if eval test \${$cacheid+y}
   10162 then :
   10163   printf %s "(cached) " >&6
   10164 else case e in #(
   10165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10166 /* end confdefs.h.  */
   10167 int i;
   10168 int
   10169 main (void)
   10170 {
   10171 
   10172   ;
   10173   return 0;
   10174 }
   10175 _ACEOF
   10176 if ac_fn_c_try_link "$LINENO"
   10177 then :
   10178   eval $cacheid=yes
   10179 else case e in #(
   10180   e) eval $cacheid=no ;;
   10181 esac
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10184     conftest$ac_exeext conftest.$ac_ext ;;
   10185 esac
   10186 fi
   10187 
   10188 
   10189 		CFLAGS="$xorg_testset_save_CFLAGS"
   10190 
   10191 		eval supported=\$$cacheid
   10192 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10193 printf '%s\n' "$supported" >&6; }
   10194 		if test "$supported" = "yes" ; then
   10195 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10196 			found="yes"
   10197 		fi
   10198 	fi
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 xorg_testset_save_CFLAGS="$CFLAGS"
   10215 
   10216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10218 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10221 then :
   10222   printf %s "(cached) " >&6
   10223 else case e in #(
   10224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10225 /* end confdefs.h.  */
   10226 int i;
   10227 _ACEOF
   10228 if ac_fn_c_try_compile "$LINENO"
   10229 then :
   10230   xorg_cv_cc_flag_unknown_warning_option=yes
   10231 else case e in #(
   10232   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10233 esac
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10236 esac
   10237 fi
   10238 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10239 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10241 	CFLAGS="$xorg_testset_save_CFLAGS"
   10242 fi
   10243 
   10244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10247 	fi
   10248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10249 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10250 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10251 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10252 then :
   10253   printf %s "(cached) " >&6
   10254 else case e in #(
   10255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 _ACEOF
   10259 if ac_fn_c_try_compile "$LINENO"
   10260 then :
   10261   xorg_cv_cc_flag_unused_command_line_argument=yes
   10262 else case e in #(
   10263   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10264 esac
   10265 fi
   10266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10267 esac
   10268 fi
   10269 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10270 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10272 	CFLAGS="$xorg_testset_save_CFLAGS"
   10273 fi
   10274 
   10275 found="no"
   10276 
   10277 	if test $found = "no" ; then
   10278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10280 		fi
   10281 
   10282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10284 		fi
   10285 
   10286 		CFLAGS="$CFLAGS -Wreturn-type"
   10287 
   10288 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10289 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10290 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10291 		if eval test \${$cacheid+y}
   10292 then :
   10293   printf %s "(cached) " >&6
   10294 else case e in #(
   10295   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10296 /* end confdefs.h.  */
   10297 int i;
   10298 int
   10299 main (void)
   10300 {
   10301 
   10302   ;
   10303   return 0;
   10304 }
   10305 _ACEOF
   10306 if ac_fn_c_try_link "$LINENO"
   10307 then :
   10308   eval $cacheid=yes
   10309 else case e in #(
   10310   e) eval $cacheid=no ;;
   10311 esac
   10312 fi
   10313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10314     conftest$ac_exeext conftest.$ac_ext ;;
   10315 esac
   10316 fi
   10317 
   10318 
   10319 		CFLAGS="$xorg_testset_save_CFLAGS"
   10320 
   10321 		eval supported=\$$cacheid
   10322 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10323 printf '%s\n' "$supported" >&6; }
   10324 		if test "$supported" = "yes" ; then
   10325 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10326 			found="yes"
   10327 		fi
   10328 	fi
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 xorg_testset_save_CFLAGS="$CFLAGS"
   10345 
   10346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10348 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10349 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10350 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10351 then :
   10352   printf %s "(cached) " >&6
   10353 else case e in #(
   10354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10355 /* end confdefs.h.  */
   10356 int i;
   10357 _ACEOF
   10358 if ac_fn_c_try_compile "$LINENO"
   10359 then :
   10360   xorg_cv_cc_flag_unknown_warning_option=yes
   10361 else case e in #(
   10362   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10363 esac
   10364 fi
   10365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10366 esac
   10367 fi
   10368 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10369 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10371 	CFLAGS="$xorg_testset_save_CFLAGS"
   10372 fi
   10373 
   10374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10377 	fi
   10378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10379 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10380 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10381 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10382 then :
   10383   printf %s "(cached) " >&6
   10384 else case e in #(
   10385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10386 /* end confdefs.h.  */
   10387 int i;
   10388 _ACEOF
   10389 if ac_fn_c_try_compile "$LINENO"
   10390 then :
   10391   xorg_cv_cc_flag_unused_command_line_argument=yes
   10392 else case e in #(
   10393   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10394 esac
   10395 fi
   10396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10397 esac
   10398 fi
   10399 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10400 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10402 	CFLAGS="$xorg_testset_save_CFLAGS"
   10403 fi
   10404 
   10405 found="no"
   10406 
   10407 	if test $found = "no" ; then
   10408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10410 		fi
   10411 
   10412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10414 		fi
   10415 
   10416 		CFLAGS="$CFLAGS -Wtrigraphs"
   10417 
   10418 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10419 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10420 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10421 		if eval test \${$cacheid+y}
   10422 then :
   10423   printf %s "(cached) " >&6
   10424 else case e in #(
   10425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 int
   10429 main (void)
   10430 {
   10431 
   10432   ;
   10433   return 0;
   10434 }
   10435 _ACEOF
   10436 if ac_fn_c_try_link "$LINENO"
   10437 then :
   10438   eval $cacheid=yes
   10439 else case e in #(
   10440   e) eval $cacheid=no ;;
   10441 esac
   10442 fi
   10443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10444     conftest$ac_exeext conftest.$ac_ext ;;
   10445 esac
   10446 fi
   10447 
   10448 
   10449 		CFLAGS="$xorg_testset_save_CFLAGS"
   10450 
   10451 		eval supported=\$$cacheid
   10452 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10453 printf '%s\n' "$supported" >&6; }
   10454 		if test "$supported" = "yes" ; then
   10455 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10456 			found="yes"
   10457 		fi
   10458 	fi
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 xorg_testset_save_CFLAGS="$CFLAGS"
   10475 
   10476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10478 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10479 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10480 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10481 then :
   10482   printf %s "(cached) " >&6
   10483 else case e in #(
   10484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 int i;
   10487 _ACEOF
   10488 if ac_fn_c_try_compile "$LINENO"
   10489 then :
   10490   xorg_cv_cc_flag_unknown_warning_option=yes
   10491 else case e in #(
   10492   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10493 esac
   10494 fi
   10495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10496 esac
   10497 fi
   10498 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10499 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10501 	CFLAGS="$xorg_testset_save_CFLAGS"
   10502 fi
   10503 
   10504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10507 	fi
   10508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10509 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10512 then :
   10513   printf %s "(cached) " >&6
   10514 else case e in #(
   10515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10516 /* end confdefs.h.  */
   10517 int i;
   10518 _ACEOF
   10519 if ac_fn_c_try_compile "$LINENO"
   10520 then :
   10521   xorg_cv_cc_flag_unused_command_line_argument=yes
   10522 else case e in #(
   10523   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10524 esac
   10525 fi
   10526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10527 esac
   10528 fi
   10529 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10530 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10532 	CFLAGS="$xorg_testset_save_CFLAGS"
   10533 fi
   10534 
   10535 found="no"
   10536 
   10537 	if test $found = "no" ; then
   10538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10540 		fi
   10541 
   10542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10544 		fi
   10545 
   10546 		CFLAGS="$CFLAGS -Warray-bounds"
   10547 
   10548 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10549 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10550 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10551 		if eval test \${$cacheid+y}
   10552 then :
   10553   printf %s "(cached) " >&6
   10554 else case e in #(
   10555   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10556 /* end confdefs.h.  */
   10557 int i;
   10558 int
   10559 main (void)
   10560 {
   10561 
   10562   ;
   10563   return 0;
   10564 }
   10565 _ACEOF
   10566 if ac_fn_c_try_link "$LINENO"
   10567 then :
   10568   eval $cacheid=yes
   10569 else case e in #(
   10570   e) eval $cacheid=no ;;
   10571 esac
   10572 fi
   10573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10574     conftest$ac_exeext conftest.$ac_ext ;;
   10575 esac
   10576 fi
   10577 
   10578 
   10579 		CFLAGS="$xorg_testset_save_CFLAGS"
   10580 
   10581 		eval supported=\$$cacheid
   10582 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10583 printf '%s\n' "$supported" >&6; }
   10584 		if test "$supported" = "yes" ; then
   10585 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10586 			found="yes"
   10587 		fi
   10588 	fi
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 xorg_testset_save_CFLAGS="$CFLAGS"
   10605 
   10606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10608 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10609 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10610 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10611 then :
   10612   printf %s "(cached) " >&6
   10613 else case e in #(
   10614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10615 /* end confdefs.h.  */
   10616 int i;
   10617 _ACEOF
   10618 if ac_fn_c_try_compile "$LINENO"
   10619 then :
   10620   xorg_cv_cc_flag_unknown_warning_option=yes
   10621 else case e in #(
   10622   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10623 esac
   10624 fi
   10625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10626 esac
   10627 fi
   10628 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10629 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10631 	CFLAGS="$xorg_testset_save_CFLAGS"
   10632 fi
   10633 
   10634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10637 	fi
   10638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10639 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10640 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10641 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10642 then :
   10643   printf %s "(cached) " >&6
   10644 else case e in #(
   10645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10646 /* end confdefs.h.  */
   10647 int i;
   10648 _ACEOF
   10649 if ac_fn_c_try_compile "$LINENO"
   10650 then :
   10651   xorg_cv_cc_flag_unused_command_line_argument=yes
   10652 else case e in #(
   10653   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10654 esac
   10655 fi
   10656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10657 esac
   10658 fi
   10659 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10660 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10662 	CFLAGS="$xorg_testset_save_CFLAGS"
   10663 fi
   10664 
   10665 found="no"
   10666 
   10667 	if test $found = "no" ; then
   10668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10670 		fi
   10671 
   10672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10674 		fi
   10675 
   10676 		CFLAGS="$CFLAGS -Wwrite-strings"
   10677 
   10678 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10679 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10680 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10681 		if eval test \${$cacheid+y}
   10682 then :
   10683   printf %s "(cached) " >&6
   10684 else case e in #(
   10685   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 int i;
   10688 int
   10689 main (void)
   10690 {
   10691 
   10692   ;
   10693   return 0;
   10694 }
   10695 _ACEOF
   10696 if ac_fn_c_try_link "$LINENO"
   10697 then :
   10698   eval $cacheid=yes
   10699 else case e in #(
   10700   e) eval $cacheid=no ;;
   10701 esac
   10702 fi
   10703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10704     conftest$ac_exeext conftest.$ac_ext ;;
   10705 esac
   10706 fi
   10707 
   10708 
   10709 		CFLAGS="$xorg_testset_save_CFLAGS"
   10710 
   10711 		eval supported=\$$cacheid
   10712 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10713 printf '%s\n' "$supported" >&6; }
   10714 		if test "$supported" = "yes" ; then
   10715 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10716 			found="yes"
   10717 		fi
   10718 	fi
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 xorg_testset_save_CFLAGS="$CFLAGS"
   10735 
   10736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10738 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10739 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10740 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10741 then :
   10742   printf %s "(cached) " >&6
   10743 else case e in #(
   10744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10745 /* end confdefs.h.  */
   10746 int i;
   10747 _ACEOF
   10748 if ac_fn_c_try_compile "$LINENO"
   10749 then :
   10750   xorg_cv_cc_flag_unknown_warning_option=yes
   10751 else case e in #(
   10752   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10753 esac
   10754 fi
   10755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10756 esac
   10757 fi
   10758 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10759 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10761 	CFLAGS="$xorg_testset_save_CFLAGS"
   10762 fi
   10763 
   10764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10767 	fi
   10768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10769 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10772 then :
   10773   printf %s "(cached) " >&6
   10774 else case e in #(
   10775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10776 /* end confdefs.h.  */
   10777 int i;
   10778 _ACEOF
   10779 if ac_fn_c_try_compile "$LINENO"
   10780 then :
   10781   xorg_cv_cc_flag_unused_command_line_argument=yes
   10782 else case e in #(
   10783   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10784 esac
   10785 fi
   10786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10787 esac
   10788 fi
   10789 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10790 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10792 	CFLAGS="$xorg_testset_save_CFLAGS"
   10793 fi
   10794 
   10795 found="no"
   10796 
   10797 	if test $found = "no" ; then
   10798 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10800 		fi
   10801 
   10802 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10804 		fi
   10805 
   10806 		CFLAGS="$CFLAGS -Waddress"
   10807 
   10808 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10809 printf %s "checking if $CC supports -Waddress... " >&6; }
   10810 		cacheid=xorg_cv_cc_flag__Waddress
   10811 		if eval test \${$cacheid+y}
   10812 then :
   10813   printf %s "(cached) " >&6
   10814 else case e in #(
   10815   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10816 /* end confdefs.h.  */
   10817 int i;
   10818 int
   10819 main (void)
   10820 {
   10821 
   10822   ;
   10823   return 0;
   10824 }
   10825 _ACEOF
   10826 if ac_fn_c_try_link "$LINENO"
   10827 then :
   10828   eval $cacheid=yes
   10829 else case e in #(
   10830   e) eval $cacheid=no ;;
   10831 esac
   10832 fi
   10833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10834     conftest$ac_exeext conftest.$ac_ext ;;
   10835 esac
   10836 fi
   10837 
   10838 
   10839 		CFLAGS="$xorg_testset_save_CFLAGS"
   10840 
   10841 		eval supported=\$$cacheid
   10842 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10843 printf '%s\n' "$supported" >&6; }
   10844 		if test "$supported" = "yes" ; then
   10845 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10846 			found="yes"
   10847 		fi
   10848 	fi
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 xorg_testset_save_CFLAGS="$CFLAGS"
   10865 
   10866 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10867 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10868 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10869 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10870 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10871 then :
   10872   printf %s "(cached) " >&6
   10873 else case e in #(
   10874   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10875 /* end confdefs.h.  */
   10876 int i;
   10877 _ACEOF
   10878 if ac_fn_c_try_compile "$LINENO"
   10879 then :
   10880   xorg_cv_cc_flag_unknown_warning_option=yes
   10881 else case e in #(
   10882   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10883 esac
   10884 fi
   10885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10886 esac
   10887 fi
   10888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10889 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10891 	CFLAGS="$xorg_testset_save_CFLAGS"
   10892 fi
   10893 
   10894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10897 	fi
   10898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10899 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10900 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10901 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10902 then :
   10903   printf %s "(cached) " >&6
   10904 else case e in #(
   10905   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10906 /* end confdefs.h.  */
   10907 int i;
   10908 _ACEOF
   10909 if ac_fn_c_try_compile "$LINENO"
   10910 then :
   10911   xorg_cv_cc_flag_unused_command_line_argument=yes
   10912 else case e in #(
   10913   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10914 esac
   10915 fi
   10916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10917 esac
   10918 fi
   10919 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10920 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10922 	CFLAGS="$xorg_testset_save_CFLAGS"
   10923 fi
   10924 
   10925 found="no"
   10926 
   10927 	if test $found = "no" ; then
   10928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10930 		fi
   10931 
   10932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10934 		fi
   10935 
   10936 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10937 
   10938 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10939 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10940 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10941 		if eval test \${$cacheid+y}
   10942 then :
   10943   printf %s "(cached) " >&6
   10944 else case e in #(
   10945   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10946 /* end confdefs.h.  */
   10947 int i;
   10948 int
   10949 main (void)
   10950 {
   10951 
   10952   ;
   10953   return 0;
   10954 }
   10955 _ACEOF
   10956 if ac_fn_c_try_link "$LINENO"
   10957 then :
   10958   eval $cacheid=yes
   10959 else case e in #(
   10960   e) eval $cacheid=no ;;
   10961 esac
   10962 fi
   10963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10964     conftest$ac_exeext conftest.$ac_ext ;;
   10965 esac
   10966 fi
   10967 
   10968 
   10969 		CFLAGS="$xorg_testset_save_CFLAGS"
   10970 
   10971 		eval supported=\$$cacheid
   10972 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10973 printf '%s\n' "$supported" >&6; }
   10974 		if test "$supported" = "yes" ; then
   10975 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10976 			found="yes"
   10977 		fi
   10978 	fi
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 xorg_testset_save_CFLAGS="$CFLAGS"
   10995 
   10996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10998 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10999 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11000 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11001 then :
   11002   printf %s "(cached) " >&6
   11003 else case e in #(
   11004   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11005 /* end confdefs.h.  */
   11006 int i;
   11007 _ACEOF
   11008 if ac_fn_c_try_compile "$LINENO"
   11009 then :
   11010   xorg_cv_cc_flag_unknown_warning_option=yes
   11011 else case e in #(
   11012   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11013 esac
   11014 fi
   11015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11016 esac
   11017 fi
   11018 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11019 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11021 	CFLAGS="$xorg_testset_save_CFLAGS"
   11022 fi
   11023 
   11024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11027 	fi
   11028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11029 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11030 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11031 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11032 then :
   11033   printf %s "(cached) " >&6
   11034 else case e in #(
   11035   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11036 /* end confdefs.h.  */
   11037 int i;
   11038 _ACEOF
   11039 if ac_fn_c_try_compile "$LINENO"
   11040 then :
   11041   xorg_cv_cc_flag_unused_command_line_argument=yes
   11042 else case e in #(
   11043   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11044 esac
   11045 fi
   11046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11047 esac
   11048 fi
   11049 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11050 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11052 	CFLAGS="$xorg_testset_save_CFLAGS"
   11053 fi
   11054 
   11055 found="no"
   11056 
   11057 	if test $found = "no" ; then
   11058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11060 		fi
   11061 
   11062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11064 		fi
   11065 
   11066 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11067 
   11068 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11069 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11070 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11071 		if eval test \${$cacheid+y}
   11072 then :
   11073   printf %s "(cached) " >&6
   11074 else case e in #(
   11075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11076 /* end confdefs.h.  */
   11077 int i;
   11078 int
   11079 main (void)
   11080 {
   11081 
   11082   ;
   11083   return 0;
   11084 }
   11085 _ACEOF
   11086 if ac_fn_c_try_link "$LINENO"
   11087 then :
   11088   eval $cacheid=yes
   11089 else case e in #(
   11090   e) eval $cacheid=no ;;
   11091 esac
   11092 fi
   11093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11094     conftest$ac_exeext conftest.$ac_ext ;;
   11095 esac
   11096 fi
   11097 
   11098 
   11099 		CFLAGS="$xorg_testset_save_CFLAGS"
   11100 
   11101 		eval supported=\$$cacheid
   11102 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11103 printf '%s\n' "$supported" >&6; }
   11104 		if test "$supported" = "yes" ; then
   11105 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11106 			found="yes"
   11107 		fi
   11108 	fi
   11109 
   11110 
   11111 fi
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 		CWARNFLAGS="$BASE_CFLAGS"
   11120 		if  test "x$GCC" = xyes ; then
   11121 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11122 		fi
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 # Check whether --enable-strict-compilation was given.
   11132 if test ${enable_strict_compilation+y}
   11133 then :
   11134   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11135 else case e in #(
   11136   e) STRICT_COMPILE=no ;;
   11137 esac
   11138 fi
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 STRICT_CFLAGS=""
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 xorg_testset_save_CFLAGS="$CFLAGS"
   11160 
   11161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11163 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11164 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11165 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11166 then :
   11167   printf %s "(cached) " >&6
   11168 else case e in #(
   11169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11170 /* end confdefs.h.  */
   11171 int i;
   11172 _ACEOF
   11173 if ac_fn_c_try_compile "$LINENO"
   11174 then :
   11175   xorg_cv_cc_flag_unknown_warning_option=yes
   11176 else case e in #(
   11177   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11178 esac
   11179 fi
   11180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11181 esac
   11182 fi
   11183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11184 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11186 	CFLAGS="$xorg_testset_save_CFLAGS"
   11187 fi
   11188 
   11189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11192 	fi
   11193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11194 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11195 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11196 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11197 then :
   11198   printf %s "(cached) " >&6
   11199 else case e in #(
   11200   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11201 /* end confdefs.h.  */
   11202 int i;
   11203 _ACEOF
   11204 if ac_fn_c_try_compile "$LINENO"
   11205 then :
   11206   xorg_cv_cc_flag_unused_command_line_argument=yes
   11207 else case e in #(
   11208   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11209 esac
   11210 fi
   11211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11212 esac
   11213 fi
   11214 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11215 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11217 	CFLAGS="$xorg_testset_save_CFLAGS"
   11218 fi
   11219 
   11220 found="no"
   11221 
   11222 	if test $found = "no" ; then
   11223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11225 		fi
   11226 
   11227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11229 		fi
   11230 
   11231 		CFLAGS="$CFLAGS -pedantic"
   11232 
   11233 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11234 printf %s "checking if $CC supports -pedantic... " >&6; }
   11235 		cacheid=xorg_cv_cc_flag__pedantic
   11236 		if eval test \${$cacheid+y}
   11237 then :
   11238   printf %s "(cached) " >&6
   11239 else case e in #(
   11240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11241 /* end confdefs.h.  */
   11242 int i;
   11243 int
   11244 main (void)
   11245 {
   11246 
   11247   ;
   11248   return 0;
   11249 }
   11250 _ACEOF
   11251 if ac_fn_c_try_link "$LINENO"
   11252 then :
   11253   eval $cacheid=yes
   11254 else case e in #(
   11255   e) eval $cacheid=no ;;
   11256 esac
   11257 fi
   11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11259     conftest$ac_exeext conftest.$ac_ext ;;
   11260 esac
   11261 fi
   11262 
   11263 
   11264 		CFLAGS="$xorg_testset_save_CFLAGS"
   11265 
   11266 		eval supported=\$$cacheid
   11267 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11268 printf '%s\n' "$supported" >&6; }
   11269 		if test "$supported" = "yes" ; then
   11270 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11271 			found="yes"
   11272 		fi
   11273 	fi
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 xorg_testset_save_CFLAGS="$CFLAGS"
   11290 
   11291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11293 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11294 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11295 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11296 then :
   11297   printf %s "(cached) " >&6
   11298 else case e in #(
   11299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11300 /* end confdefs.h.  */
   11301 int i;
   11302 _ACEOF
   11303 if ac_fn_c_try_compile "$LINENO"
   11304 then :
   11305   xorg_cv_cc_flag_unknown_warning_option=yes
   11306 else case e in #(
   11307   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11308 esac
   11309 fi
   11310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11311 esac
   11312 fi
   11313 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11314 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11316 	CFLAGS="$xorg_testset_save_CFLAGS"
   11317 fi
   11318 
   11319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11322 	fi
   11323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11324 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11325 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11326 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11327 then :
   11328   printf %s "(cached) " >&6
   11329 else case e in #(
   11330   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11331 /* end confdefs.h.  */
   11332 int i;
   11333 _ACEOF
   11334 if ac_fn_c_try_compile "$LINENO"
   11335 then :
   11336   xorg_cv_cc_flag_unused_command_line_argument=yes
   11337 else case e in #(
   11338   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11339 esac
   11340 fi
   11341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11342 esac
   11343 fi
   11344 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11345 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11347 	CFLAGS="$xorg_testset_save_CFLAGS"
   11348 fi
   11349 
   11350 found="no"
   11351 
   11352 	if test $found = "no" ; then
   11353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11355 		fi
   11356 
   11357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11359 		fi
   11360 
   11361 		CFLAGS="$CFLAGS -Werror"
   11362 
   11363 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11364 printf %s "checking if $CC supports -Werror... " >&6; }
   11365 		cacheid=xorg_cv_cc_flag__Werror
   11366 		if eval test \${$cacheid+y}
   11367 then :
   11368   printf %s "(cached) " >&6
   11369 else case e in #(
   11370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11371 /* end confdefs.h.  */
   11372 int i;
   11373 int
   11374 main (void)
   11375 {
   11376 
   11377   ;
   11378   return 0;
   11379 }
   11380 _ACEOF
   11381 if ac_fn_c_try_link "$LINENO"
   11382 then :
   11383   eval $cacheid=yes
   11384 else case e in #(
   11385   e) eval $cacheid=no ;;
   11386 esac
   11387 fi
   11388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11389     conftest$ac_exeext conftest.$ac_ext ;;
   11390 esac
   11391 fi
   11392 
   11393 
   11394 		CFLAGS="$xorg_testset_save_CFLAGS"
   11395 
   11396 		eval supported=\$$cacheid
   11397 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11398 printf '%s\n' "$supported" >&6; }
   11399 		if test "$supported" = "yes" ; then
   11400 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11401 			found="yes"
   11402 		fi
   11403 	fi
   11404 
   11405 	if test $found = "no" ; then
   11406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11408 		fi
   11409 
   11410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11412 		fi
   11413 
   11414 		CFLAGS="$CFLAGS -errwarn"
   11415 
   11416 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11417 printf %s "checking if $CC supports -errwarn... " >&6; }
   11418 		cacheid=xorg_cv_cc_flag__errwarn
   11419 		if eval test \${$cacheid+y}
   11420 then :
   11421   printf %s "(cached) " >&6
   11422 else case e in #(
   11423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11424 /* end confdefs.h.  */
   11425 int i;
   11426 int
   11427 main (void)
   11428 {
   11429 
   11430   ;
   11431   return 0;
   11432 }
   11433 _ACEOF
   11434 if ac_fn_c_try_link "$LINENO"
   11435 then :
   11436   eval $cacheid=yes
   11437 else case e in #(
   11438   e) eval $cacheid=no ;;
   11439 esac
   11440 fi
   11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11442     conftest$ac_exeext conftest.$ac_ext ;;
   11443 esac
   11444 fi
   11445 
   11446 
   11447 		CFLAGS="$xorg_testset_save_CFLAGS"
   11448 
   11449 		eval supported=\$$cacheid
   11450 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11451 printf '%s\n' "$supported" >&6; }
   11452 		if test "$supported" = "yes" ; then
   11453 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11454 			found="yes"
   11455 		fi
   11456 	fi
   11457 
   11458 
   11459 
   11460 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11461 # activate it with -Werror, so we add it here explicitly.
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 xorg_testset_save_CFLAGS="$CFLAGS"
   11476 
   11477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11479 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11482 then :
   11483   printf %s "(cached) " >&6
   11484 else case e in #(
   11485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11486 /* end confdefs.h.  */
   11487 int i;
   11488 _ACEOF
   11489 if ac_fn_c_try_compile "$LINENO"
   11490 then :
   11491   xorg_cv_cc_flag_unknown_warning_option=yes
   11492 else case e in #(
   11493   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11494 esac
   11495 fi
   11496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11497 esac
   11498 fi
   11499 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11500 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11502 	CFLAGS="$xorg_testset_save_CFLAGS"
   11503 fi
   11504 
   11505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11508 	fi
   11509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11510 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11513 then :
   11514   printf %s "(cached) " >&6
   11515 else case e in #(
   11516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11517 /* end confdefs.h.  */
   11518 int i;
   11519 _ACEOF
   11520 if ac_fn_c_try_compile "$LINENO"
   11521 then :
   11522   xorg_cv_cc_flag_unused_command_line_argument=yes
   11523 else case e in #(
   11524   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11525 esac
   11526 fi
   11527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11528 esac
   11529 fi
   11530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11531 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11533 	CFLAGS="$xorg_testset_save_CFLAGS"
   11534 fi
   11535 
   11536 found="no"
   11537 
   11538 	if test $found = "no" ; then
   11539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11541 		fi
   11542 
   11543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11545 		fi
   11546 
   11547 		CFLAGS="$CFLAGS -Werror=attributes"
   11548 
   11549 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11550 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11551 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11552 		if eval test \${$cacheid+y}
   11553 then :
   11554   printf %s "(cached) " >&6
   11555 else case e in #(
   11556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11557 /* end confdefs.h.  */
   11558 int i;
   11559 int
   11560 main (void)
   11561 {
   11562 
   11563   ;
   11564   return 0;
   11565 }
   11566 _ACEOF
   11567 if ac_fn_c_try_link "$LINENO"
   11568 then :
   11569   eval $cacheid=yes
   11570 else case e in #(
   11571   e) eval $cacheid=no ;;
   11572 esac
   11573 fi
   11574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11575     conftest$ac_exeext conftest.$ac_ext ;;
   11576 esac
   11577 fi
   11578 
   11579 
   11580 		CFLAGS="$xorg_testset_save_CFLAGS"
   11581 
   11582 		eval supported=\$$cacheid
   11583 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11584 printf '%s\n' "$supported" >&6; }
   11585 		if test "$supported" = "yes" ; then
   11586 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11587 			found="yes"
   11588 		fi
   11589 	fi
   11590 
   11591 
   11592 
   11593 if test "x$STRICT_COMPILE" = "xyes"; then
   11594     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11595     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11596 fi
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 cat >>confdefs.h <<_ACEOF
   11606 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11607 _ACEOF
   11608 
   11609 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11610 	if test "x$PVM" = "x"; then
   11611 		PVM="0"
   11612 	fi
   11613 
   11614 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11615 
   11616 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11617 	if test "x$PVP" = "x"; then
   11618 		PVP="0"
   11619 	fi
   11620 
   11621 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11622 
   11623 
   11624 
   11625 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11626 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11627 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11628 touch \$(top_srcdir)/ChangeLog; \
   11629 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11630 
   11631 
   11632 
   11633 
   11634 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11635 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11636 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11637 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11638 touch \$(top_srcdir)/INSTALL; \
   11639 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 case $host_os in
   11647     solaris*)
   11648         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11649         # check for a man page file found in later versions that use
   11650         # traditional section numbers instead
   11651         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11652 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11653 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11654 then :
   11655   printf %s "(cached) " >&6
   11656 else case e in #(
   11657   e) test "$cross_compiling" = yes &&
   11658   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11659 if test -r "/usr/share/man/man7/attributes.7"; then
   11660   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11661 else
   11662   ac_cv_file__usr_share_man_man7_attributes_7=no
   11663 fi ;;
   11664 esac
   11665 fi
   11666 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11667 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11668 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11669 then :
   11670   SYSV_MAN_SECTIONS=false
   11671 else case e in #(
   11672   e) SYSV_MAN_SECTIONS=true ;;
   11673 esac
   11674 fi
   11675 
   11676         ;;
   11677     *) SYSV_MAN_SECTIONS=false ;;
   11678 esac
   11679 
   11680 if test x$APP_MAN_SUFFIX = x    ; then
   11681     APP_MAN_SUFFIX=1
   11682 fi
   11683 if test x$APP_MAN_DIR = x    ; then
   11684     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11685 fi
   11686 
   11687 if test x$LIB_MAN_SUFFIX = x    ; then
   11688     LIB_MAN_SUFFIX=3
   11689 fi
   11690 if test x$LIB_MAN_DIR = x    ; then
   11691     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11692 fi
   11693 
   11694 if test x$FILE_MAN_SUFFIX = x    ; then
   11695     case $SYSV_MAN_SECTIONS in
   11696 	true)				FILE_MAN_SUFFIX=4  ;;
   11697 	*)				FILE_MAN_SUFFIX=5  ;;
   11698     esac
   11699 fi
   11700 if test x$FILE_MAN_DIR = x    ; then
   11701     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11702 fi
   11703 
   11704 if test x$MISC_MAN_SUFFIX = x    ; then
   11705     case $SYSV_MAN_SECTIONS in
   11706 	true)				MISC_MAN_SUFFIX=5  ;;
   11707 	*)				MISC_MAN_SUFFIX=7  ;;
   11708     esac
   11709 fi
   11710 if test x$MISC_MAN_DIR = x    ; then
   11711     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11712 fi
   11713 
   11714 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11715     case $SYSV_MAN_SECTIONS in
   11716 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11717 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11718     esac
   11719 fi
   11720 if test x$DRIVER_MAN_DIR = x    ; then
   11721     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11722 fi
   11723 
   11724 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11725     case $SYSV_MAN_SECTIONS in
   11726 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11727 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11728     esac
   11729 fi
   11730 if test x$ADMIN_MAN_DIR = x    ; then
   11731     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11732 fi
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 XORG_MAN_PAGE="X Version 11"
   11749 
   11750 MAN_SUBSTS="\
   11751 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11752 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11753 	-e 's|__xservername__|Xorg|g' \
   11754 	-e 's|__xconfigfile__|xorg.conf|g' \
   11755 	-e 's|__projectroot__|\$(prefix)|g' \
   11756 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11757 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11758 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11759 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11760 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11761 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11762 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11763 
   11764 
   11765 
   11766 
   11767 AM_DEFAULT_VERBOSITY=0
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 # Checks for pkg-config packages
   11774 
   11775 pkg_failed=no
   11776 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XWUD" >&5
   11777 printf %s "checking for XWUD... " >&6; }
   11778 
   11779 if test -n "$XWUD_CFLAGS"; then
   11780     pkg_cv_XWUD_CFLAGS="$XWUD_CFLAGS"
   11781  elif test -n "$PKG_CONFIG"; then
   11782     if test -n "$PKG_CONFIG" && \
   11783     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11784   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11785   ac_status=$?
   11786   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11787   test $ac_status = 0; }; then
   11788   pkg_cv_XWUD_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   11789 		      test "x$?" != "x0" && pkg_failed=yes
   11790 else
   11791   pkg_failed=yes
   11792 fi
   11793  else
   11794     pkg_failed=untried
   11795 fi
   11796 if test -n "$XWUD_LIBS"; then
   11797     pkg_cv_XWUD_LIBS="$XWUD_LIBS"
   11798  elif test -n "$PKG_CONFIG"; then
   11799     if test -n "$PKG_CONFIG" && \
   11800     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11801   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11802   ac_status=$?
   11803   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11804   test $ac_status = 0; }; then
   11805   pkg_cv_XWUD_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   11806 		      test "x$?" != "x0" && pkg_failed=yes
   11807 else
   11808   pkg_failed=yes
   11809 fi
   11810  else
   11811     pkg_failed=untried
   11812 fi
   11813 
   11814 
   11815 
   11816 if test $pkg_failed = yes; then
   11817    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11818 printf '%s\n' "no" >&6; }
   11819 
   11820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11821         _pkg_short_errors_supported=yes
   11822 else
   11823         _pkg_short_errors_supported=no
   11824 fi
   11825         if test $_pkg_short_errors_supported = yes; then
   11826 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11827         else
   11828 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11829         fi
   11830 	# Put the nasty error message in config.log where it belongs
   11831 	echo "$XWUD_PKG_ERRORS" >&5
   11832 
   11833 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   11834 
   11835 $XWUD_PKG_ERRORS
   11836 
   11837 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11838 installed software in a non-standard prefix.
   11839 
   11840 Alternatively, you may set the environment variables XWUD_CFLAGS
   11841 and XWUD_LIBS to avoid the need to call pkg-config.
   11842 See the pkg-config man page for more details." "$LINENO" 5
   11843 elif test $pkg_failed = untried; then
   11844      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11845 printf '%s\n' "no" >&6; }
   11846 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11847 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11848 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11849 is in your PATH or set the PKG_CONFIG environment variable to the full
   11850 path to pkg-config.
   11851 
   11852 Alternatively, you may set the environment variables XWUD_CFLAGS
   11853 and XWUD_LIBS to avoid the need to call pkg-config.
   11854 See the pkg-config man page for more details.
   11855 
   11856 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11857 See 'config.log' for more details" "$LINENO" 5; }
   11858 else
   11859 	XWUD_CFLAGS=$pkg_cv_XWUD_CFLAGS
   11860 	XWUD_LIBS=$pkg_cv_XWUD_LIBS
   11861         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11862 printf '%s\n' "yes" >&6; }
   11863 
   11864 fi
   11865 
   11866 ac_config_files="$ac_config_files Makefile man/Makefile"
   11867 
   11868 cat >confcache <<\_ACEOF
   11869 # This file is a shell script that caches the results of configure
   11870 # tests run on this system so they can be shared between configure
   11871 # scripts and configure runs, see configure's option --config-cache.
   11872 # It is not useful on other systems.  If it contains results you don't
   11873 # want to keep, you may remove or edit it.
   11874 #
   11875 # config.status only pays attention to the cache file if you give it
   11876 # the --recheck option to rerun configure.
   11877 #
   11878 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11879 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11880 # following values.
   11881 
   11882 _ACEOF
   11883 
   11884 ac_cache_dump |
   11885   sed '
   11886      /^ac_cv_env_/b end
   11887      t clear
   11888      :clear
   11889      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11890      t end
   11891      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11892      :end' >>confcache
   11893 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11894   if test -w "$cache_file"; then
   11895     if test "x$cache_file" != "x/dev/null"; then
   11896       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11897 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   11898       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11899 	cat confcache >"$cache_file"
   11900       else
   11901         case $cache_file in #(
   11902         */* | ?:*)
   11903 	  mv -f confcache "$cache_file"$$ &&
   11904 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11905         *)
   11906 	  mv -f confcache "$cache_file" ;;
   11907 	esac
   11908       fi
   11909     fi
   11910   else
   11911     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11912 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   11913   fi
   11914 fi
   11915 rm -f confcache
   11916 
   11917 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11918 # Let make expand exec_prefix.
   11919 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11920 
   11921 DEFS=-DHAVE_CONFIG_H
   11922 
   11923 ac_libobjs=
   11924 ac_ltlibobjs=
   11925 U=
   11926 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11927   # 1. Remove the extension, and $U if already installed.
   11928   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11929   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   11930   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11931   #    will be set to the directory where LIBOBJS objects are built.
   11932   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11933   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11934 done
   11935 LIBOBJS=$ac_libobjs
   11936 
   11937 LTLIBOBJS=$ac_ltlibobjs
   11938 
   11939 
   11940 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11941 printf %s "checking that generated files are newer than configure... " >&6; }
   11942    if test -n "$am_sleep_pid"; then
   11943      # Hide warnings about reused PIDs.
   11944      wait $am_sleep_pid 2>/dev/null
   11945    fi
   11946    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11947 printf '%s\n' "done" >&6; }
   11948 case $enable_silent_rules in # (((
   11949   yes) AM_DEFAULT_VERBOSITY=0;;
   11950    no) AM_DEFAULT_VERBOSITY=1;;
   11951 esac
   11952 if test $am_cv_make_support_nested_variables = yes; then
   11953     AM_V='$(V)'
   11954   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11955 else
   11956   AM_V=$AM_DEFAULT_VERBOSITY
   11957   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11958 fi
   11959 
   11960  if test -n "$EXEEXT"; then
   11961   am__EXEEXT_TRUE=
   11962   am__EXEEXT_FALSE='#'
   11963 else
   11964   am__EXEEXT_TRUE='#'
   11965   am__EXEEXT_FALSE=
   11966 fi
   11967 
   11968 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11969   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11971 fi
   11972 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11973   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11975 fi
   11976 
   11977 : "${CONFIG_STATUS=./config.status}"
   11978 case $CONFIG_STATUS in #(
   11979   -*) :
   11980     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   11981   */*) :
   11982      ;; #(
   11983   *) :
   11984     CONFIG_STATUS=./$CONFIG_STATUS ;;
   11985 esac
   11986 
   11987 ac_write_fail=0
   11988 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   11989 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11990 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   11991 as_write_fail=0
   11992 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   11993 #! $SHELL
   11994 # Generated by $as_me.
   11995 # Run this file to recreate the current configuration.
   11996 # Compiler output produced by configure, useful for debugging
   11997 # configure, is in config.log if it exists.
   11998 
   11999 debug=false
   12000 ac_cs_recheck=false
   12001 ac_cs_silent=false
   12002 
   12003 SHELL=\${CONFIG_SHELL-$SHELL}
   12004 export SHELL
   12005 _ASEOF
   12006 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12007 ## -------------------- ##
   12008 ## M4sh Initialization. ##
   12009 ## -------------------- ##
   12010 
   12011 # Be more Bourne compatible
   12012 DUALCASE=1; export DUALCASE # for MKS sh
   12013 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12014 then :
   12015   emulate sh
   12016   NULLCMD=:
   12017   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12018   # contradicts POSIX and common usage.  Disable this.
   12019   alias -g '${1+"$@"}'='"$@"'
   12020   setopt NO_GLOB_SUBST
   12021 else case e in #(
   12022   e) case `(set -o) 2>/dev/null` in #(
   12023   *posix*) :
   12024     set -o posix ;; #(
   12025   *) :
   12026      ;;
   12027 esac ;;
   12028 esac
   12029 fi
   12030 
   12031 
   12032 
   12033 # Reset variables that may have inherited troublesome values from
   12034 # the environment.
   12035 
   12036 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12037 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12038 # side effect of setting IFS to empty, thus disabling word splitting.)
   12039 # Quoting is to prevent editors from complaining about space-tab.
   12040 as_nl='
   12041 '
   12042 export as_nl
   12043 IFS=" ""	$as_nl"
   12044 
   12045 PS1='$ '
   12046 PS2='> '
   12047 PS4='+ '
   12048 
   12049 # Ensure predictable behavior from utilities with locale-dependent output.
   12050 LC_ALL=C
   12051 export LC_ALL
   12052 LANGUAGE=C
   12053 export LANGUAGE
   12054 
   12055 # We cannot yet rely on "unset" to work, but we need these variables
   12056 # to be unset--not just set to an empty or harmless value--now, to
   12057 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12058 # also avoids known problems related to "unset" and subshell syntax
   12059 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12060 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12061 do eval test \${$as_var+y} \
   12062   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12063 done
   12064 
   12065 # Ensure that fds 0, 1, and 2 are open.
   12066 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12067 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12068 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12069 
   12070 # The user is always right.
   12071 if ${PATH_SEPARATOR+false} :; then
   12072   PATH_SEPARATOR=:
   12073   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12074     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12075       PATH_SEPARATOR=';'
   12076   }
   12077 fi
   12078 
   12079 
   12080 # Find who we are.  Look in the path if we contain no directory separator.
   12081 as_myself=
   12082 case $0 in #((
   12083   *[\\/]* ) as_myself=$0 ;;
   12084   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12085 for as_dir in $PATH
   12086 do
   12087   IFS=$as_save_IFS
   12088   case $as_dir in #(((
   12089     '') as_dir=./ ;;
   12090     */) ;;
   12091     *) as_dir=$as_dir/ ;;
   12092   esac
   12093     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12094   done
   12095 IFS=$as_save_IFS
   12096 
   12097      ;;
   12098 esac
   12099 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12100 # in which case we are not to be found in the path.
   12101 if test "x$as_myself" = x; then
   12102   as_myself=$0
   12103 fi
   12104 if test ! -f "$as_myself"; then
   12105   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12106   exit 1
   12107 fi
   12108 
   12109 
   12110 
   12111 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12112 # ----------------------------------------
   12113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12115 # script with STATUS, using 1 if that was 0.
   12116 as_fn_error ()
   12117 {
   12118   as_status=$1; test $as_status -eq 0 && as_status=1
   12119   if test "$4"; then
   12120     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12121     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12122   fi
   12123   printf '%s\n' "$as_me: error: $2" >&2
   12124   as_fn_exit $as_status
   12125 } # as_fn_error
   12126 
   12127 
   12128 # as_fn_set_status STATUS
   12129 # -----------------------
   12130 # Set $? to STATUS, without forking.
   12131 as_fn_set_status ()
   12132 {
   12133   return $1
   12134 } # as_fn_set_status
   12135 
   12136 # as_fn_exit STATUS
   12137 # -----------------
   12138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12139 as_fn_exit ()
   12140 {
   12141   set +e
   12142   as_fn_set_status $1
   12143   exit $1
   12144 } # as_fn_exit
   12145 
   12146 # as_fn_unset VAR
   12147 # ---------------
   12148 # Portably unset VAR.
   12149 as_fn_unset ()
   12150 {
   12151   { eval $1=; unset $1;}
   12152 }
   12153 as_unset=as_fn_unset
   12154 
   12155 # as_fn_append VAR VALUE
   12156 # ----------------------
   12157 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12158 # advantage of any shell optimizations that allow amortized linear growth over
   12159 # repeated appends, instead of the typical quadratic growth present in naive
   12160 # implementations.
   12161 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12162 then :
   12163   eval 'as_fn_append ()
   12164   {
   12165     eval $1+=\$2
   12166   }'
   12167 else case e in #(
   12168   e) as_fn_append ()
   12169   {
   12170     eval $1=\$$1\$2
   12171   } ;;
   12172 esac
   12173 fi # as_fn_append
   12174 
   12175 # as_fn_arith ARG...
   12176 # ------------------
   12177 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12178 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12179 # must be portable across $(()) and expr.
   12180 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12181 then :
   12182   eval 'as_fn_arith ()
   12183   {
   12184     as_val=$(( $* ))
   12185   }'
   12186 else case e in #(
   12187   e) as_fn_arith ()
   12188   {
   12189     as_val=`expr "$@" || test $? -eq 1`
   12190   } ;;
   12191 esac
   12192 fi # as_fn_arith
   12193 
   12194 
   12195 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12196    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12197   as_expr=expr
   12198 else
   12199   as_expr=false
   12200 fi
   12201 
   12202 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12203   as_basename=basename
   12204 else
   12205   as_basename=false
   12206 fi
   12207 
   12208 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12209   as_dirname=dirname
   12210 else
   12211   as_dirname=false
   12212 fi
   12213 
   12214 as_me=`$as_basename -- "$0" ||
   12215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12216 	 X"$0" : 'X\(//\)$' \| \
   12217 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12218 printf '%s\n' X/"$0" |
   12219     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12220 	    s//\1/
   12221 	    q
   12222 	  }
   12223 	  /^X\/\(\/\/\)$/{
   12224 	    s//\1/
   12225 	    q
   12226 	  }
   12227 	  /^X\/\(\/\).*/{
   12228 	    s//\1/
   12229 	    q
   12230 	  }
   12231 	  s/.*/./; q'`
   12232 
   12233 # Avoid depending upon Character Ranges.
   12234 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12235 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12236 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12237 as_cr_digits='0123456789'
   12238 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12239 
   12240 rm -f conf$$ conf$$.exe conf$$.file
   12241 if test -d conf$$.dir; then
   12242   rm -f conf$$.dir/conf$$.file
   12243 else
   12244   rm -f conf$$.dir
   12245   mkdir conf$$.dir 2>/dev/null
   12246 fi
   12247 if (echo >conf$$.file) 2>/dev/null; then
   12248   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12249     as_ln_s='ln -s'
   12250     # ... but there are two gotchas:
   12251     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12252     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12253     # In both cases, we have to default to 'cp -pR'.
   12254     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12255       as_ln_s='cp -pR'
   12256   elif ln conf$$.file conf$$ 2>/dev/null; then
   12257     as_ln_s=ln
   12258   else
   12259     as_ln_s='cp -pR'
   12260   fi
   12261 else
   12262   as_ln_s='cp -pR'
   12263 fi
   12264 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12265 rmdir conf$$.dir 2>/dev/null
   12266 
   12267 
   12268 # as_fn_mkdir_p
   12269 # -------------
   12270 # Create "$as_dir" as a directory, including parents if necessary.
   12271 as_fn_mkdir_p ()
   12272 {
   12273 
   12274   case $as_dir in #(
   12275   -*) as_dir=./$as_dir;;
   12276   esac
   12277   test -d "$as_dir" || eval $as_mkdir_p || {
   12278     as_dirs=
   12279     while :; do
   12280       case $as_dir in #(
   12281       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12282       *) as_qdir=$as_dir;;
   12283       esac
   12284       as_dirs="'$as_qdir' $as_dirs"
   12285       as_dir=`$as_dirname -- "$as_dir" ||
   12286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12287 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12288 	 X"$as_dir" : 'X\(//\)$' \| \
   12289 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12290 printf '%s\n' X"$as_dir" |
   12291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12292 	    s//\1/
   12293 	    q
   12294 	  }
   12295 	  /^X\(\/\/\)[^/].*/{
   12296 	    s//\1/
   12297 	    q
   12298 	  }
   12299 	  /^X\(\/\/\)$/{
   12300 	    s//\1/
   12301 	    q
   12302 	  }
   12303 	  /^X\(\/\).*/{
   12304 	    s//\1/
   12305 	    q
   12306 	  }
   12307 	  s/.*/./; q'`
   12308       test -d "$as_dir" && break
   12309     done
   12310     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12311   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12312 
   12313 
   12314 } # as_fn_mkdir_p
   12315 if mkdir -p . 2>/dev/null; then
   12316   as_mkdir_p='mkdir -p "$as_dir"'
   12317 else
   12318   test -d ./-p && rmdir ./-p
   12319   as_mkdir_p=false
   12320 fi
   12321 
   12322 
   12323 # as_fn_executable_p FILE
   12324 # -----------------------
   12325 # Test if FILE is an executable regular file.
   12326 as_fn_executable_p ()
   12327 {
   12328   test -f "$1" && test -x "$1"
   12329 } # as_fn_executable_p
   12330 as_test_x='test -x'
   12331 as_executable_p=as_fn_executable_p
   12332 
   12333 # Sed expression to map a string onto a valid CPP name.
   12334 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12335 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12336 
   12337 # Sed expression to map a string onto a valid variable name.
   12338 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12339 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12340 
   12341 
   12342 exec 6>&1
   12343 ## ------------------------------------- ##
   12344 ## Main body of "$CONFIG_STATUS" script. ##
   12345 ## ------------------------------------- ##
   12346 _ASEOF
   12347 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12348 
   12349 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12350 # Save the log message, to keep $0 and so on meaningful, and to
   12351 # report actual input values of CONFIG_FILES etc. instead of their
   12352 # values after options handling.
   12353 ac_log="
   12354 This file was extended by xwud $as_me 1.0.8, which was
   12355 generated by GNU Autoconf 2.73.  Invocation command line was
   12356 
   12357   CONFIG_FILES    = $CONFIG_FILES
   12358   CONFIG_HEADERS  = $CONFIG_HEADERS
   12359   CONFIG_LINKS    = $CONFIG_LINKS
   12360   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12361   $ $0 $@
   12362 
   12363 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12364 "
   12365 
   12366 _ACEOF
   12367 
   12368 case $ac_config_files in *"
   12369 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12370 esac
   12371 
   12372 case $ac_config_headers in *"
   12373 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12374 esac
   12375 
   12376 
   12377 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12378 # Files that config.status was made for.
   12379 config_files="$ac_config_files"
   12380 config_headers="$ac_config_headers"
   12381 config_commands="$ac_config_commands"
   12382 
   12383 _ACEOF
   12384 
   12385 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12386 ac_cs_usage="\
   12387 '$as_me' instantiates files and other configuration actions
   12388 from templates according to the current configuration.  Unless the files
   12389 and actions are specified as TAGs, all are instantiated by default.
   12390 
   12391 Usage: $0 [OPTION]... [TAG]...
   12392 
   12393   -h, --help       print this help, then exit
   12394   -V, --version    print version number and configuration settings, then exit
   12395       --config     print configuration, then exit
   12396   -q, --quiet, --silent
   12397                    do not print progress messages
   12398   -d, --debug      don't remove temporary files
   12399       --recheck    update $as_me by reconfiguring in the same conditions
   12400       --file=FILE[:TEMPLATE]
   12401                    instantiate the configuration file FILE
   12402       --header=FILE[:TEMPLATE]
   12403                    instantiate the configuration header FILE
   12404 
   12405 Configuration files:
   12406 $config_files
   12407 
   12408 Configuration headers:
   12409 $config_headers
   12410 
   12411 Configuration commands:
   12412 $config_commands
   12413 
   12414 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/-/issues>."
   12415 
   12416 _ACEOF
   12417 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12418 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12419 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12420 ac_cs_config='$ac_cs_config_escaped'
   12421 ac_cs_version="\\
   12422 xwud config.status 1.0.8
   12423 configured by $0, generated by GNU Autoconf 2.73,
   12424   with options \\"\$ac_cs_config\\"
   12425 
   12426 Copyright (C) 2026 Free Software Foundation, Inc.
   12427 This config.status script is free software; the Free Software Foundation
   12428 gives unlimited permission to copy, distribute and modify it."
   12429 
   12430 ac_pwd='$ac_pwd'
   12431 srcdir='$srcdir'
   12432 INSTALL='$INSTALL'
   12433 MKDIR_P='$MKDIR_P'
   12434 AWK='$AWK'
   12435 test -n "\$AWK" || {
   12436   awk '' </dev/null ||
   12437     as_fn_error \$? "try installing gawk"
   12438   AWK=awk
   12439 }
   12440 _ACEOF
   12441 
   12442 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12443 # The default lists apply if the user does not specify any file.
   12444 ac_need_defaults=:
   12445 while test $# != 0
   12446 do
   12447   case $1 in
   12448   --*=?*)
   12449     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12450     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12451     ac_shift=:
   12452     ;;
   12453   --*=)
   12454     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12455     ac_optarg=
   12456     ac_shift=:
   12457     ;;
   12458   *)
   12459     ac_option=$1
   12460     ac_optarg=$2
   12461     ac_shift=shift
   12462     ;;
   12463   esac
   12464 
   12465   case $ac_option in
   12466   # Handling of the options.
   12467   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12468     ac_cs_recheck=: ;;
   12469   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12470     printf '%s\n' "$ac_cs_version"; exit ;;
   12471   --config | --confi | --conf | --con | --co | --c )
   12472     printf '%s\n' "$ac_cs_config"; exit ;;
   12473   --debug | --debu | --deb | --de | --d | -d )
   12474     debug=: ;;
   12475   --file | --fil | --fi | --f )
   12476     $ac_shift
   12477     case $ac_optarg in
   12478     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12479     '') as_fn_error $? "missing file argument" ;;
   12480     esac
   12481     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12482     ac_need_defaults=false;;
   12483   --header | --heade | --head | --hea )
   12484     $ac_shift
   12485     case $ac_optarg in
   12486     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12487     esac
   12488     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12489     ac_need_defaults=false;;
   12490   --he | --h)
   12491     # Conflict between --help and --header
   12492     as_fn_error $? "ambiguous option: '$1'
   12493 Try '$0 --help' for more information.";;
   12494   --help | --hel | -h )
   12495     printf '%s\n' "$ac_cs_usage"; exit ;;
   12496   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12497   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12498     ac_cs_silent=: ;;
   12499 
   12500   # This is an error.
   12501   -*) as_fn_error $? "unrecognized option: '$1'
   12502 Try '$0 --help' for more information." ;;
   12503 
   12504   *) as_fn_append ac_config_targets " $1"
   12505      ac_need_defaults=false ;;
   12506 
   12507   esac
   12508   shift
   12509 done
   12510 
   12511 ac_configure_extra_args=
   12512 
   12513 if $ac_cs_silent; then
   12514   exec 6>/dev/null
   12515   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12516 fi
   12517 
   12518 _ACEOF
   12519 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12520 if \$ac_cs_recheck; then
   12521   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12522   shift
   12523   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12524   CONFIG_SHELL='$SHELL'
   12525   export CONFIG_SHELL
   12526   exec "\$@"
   12527 fi
   12528 
   12529 _ACEOF
   12530 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12531 exec 5>>config.log
   12532 {
   12533   echo
   12534   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12535 ## Running $as_me. ##
   12536 _ASBOX
   12537   printf '%s\n' "$ac_log"
   12538 } >&5
   12539 
   12540 _ACEOF
   12541 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12542 #
   12543 # INIT-COMMANDS
   12544 #
   12545 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12546 
   12547 _ACEOF
   12548 
   12549 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12550 
   12551 # Handling of arguments.
   12552 for ac_config_target in $ac_config_targets
   12553 do
   12554   case $ac_config_target in
   12555     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12556     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12557     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12558     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12559 
   12560   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12561   esac
   12562 done
   12563 
   12564 
   12565 # If the user did not use the arguments to specify the items to instantiate,
   12566 # then the envvar interface is used.  Set only those that are not.
   12567 # We use the long form for the default assignment because of an extremely
   12568 # bizarre bug on SunOS 4.1.3.
   12569 if $ac_need_defaults; then
   12570   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12571   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12572   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12573 fi
   12574 
   12575 # Have a temporary directory for convenience.  Make it in the build tree
   12576 # simply because there is no reason against having it here, and in addition,
   12577 # creating and moving files from /tmp can sometimes cause problems.
   12578 # Hook for its removal unless debugging.
   12579 # Note that there is a small window in which the directory will not be cleaned:
   12580 # after its creation but before its name has been assigned to '$tmp'.
   12581 $debug ||
   12582 {
   12583   tmp= ac_tmp=
   12584   trap 'exit_status=$?
   12585   : "${ac_tmp:=$tmp}"
   12586   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12587 ' 0
   12588   trap 'as_fn_exit 1' 1 2 13 15
   12589 }
   12590 # Create a (secure) tmp directory for tmp files.
   12591 
   12592 {
   12593   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12594   test -d "$tmp"
   12595 }  ||
   12596 {
   12597   tmp=./conf$$-$RANDOM
   12598   (umask 077 && mkdir "$tmp")
   12599 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12600 ac_tmp=$tmp
   12601 
   12602 # Set up the scripts for CONFIG_FILES section.
   12603 # No need to generate them if there are no CONFIG_FILES.
   12604 # This happens for instance with './config.status config.h'.
   12605 if test -n "$CONFIG_FILES"; then
   12606 
   12607 
   12608 ac_cr=`echo X | tr X '\015'`
   12609 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12610 # But we know of no other shell where ac_cr would be empty at this
   12611 # point, so we can use a bashism as a fallback.
   12612 if test "x$ac_cr" = x; then
   12613   eval ac_cr=\$\'\\r\'
   12614 fi
   12615 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12616 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12617   ac_cs_awk_cr='\\r'
   12618 else
   12619   ac_cs_awk_cr=$ac_cr
   12620 fi
   12621 
   12622 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12623 _ACEOF
   12624 
   12625 
   12626 {
   12627   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12628   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12629   echo "_ACEOF"
   12630 } >conf$$subs.sh ||
   12631   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12632 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   12633 ac_delim='%!_!# '
   12634 for ac_last_try in false false false false false :; do
   12635   . ./conf$$subs.sh ||
   12636     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12637 
   12638   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   12639   if test $ac_delim_n = $ac_delim_num; then
   12640     break
   12641   elif $ac_last_try; then
   12642     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12643   else
   12644     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12645   fi
   12646 done
   12647 rm -f conf$$subs.sh
   12648 
   12649 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12650 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12651 _ACEOF
   12652 sed -n '
   12653 h
   12654 s/^/S["/; s/!.*/"]=/
   12655 p
   12656 g
   12657 s/^[^!]*!//
   12658 :repl
   12659 t repl
   12660 s/'"$ac_delim"'$//
   12661 t delim
   12662 :nl
   12663 h
   12664 s/\(.\{148\}\)..*/\1/
   12665 t more1
   12666 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12667 p
   12668 n
   12669 b repl
   12670 :more1
   12671 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12672 p
   12673 g
   12674 s/.\{148\}//
   12675 t nl
   12676 :delim
   12677 h
   12678 s/\(.\{148\}\)..*/\1/
   12679 t more2
   12680 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12681 p
   12682 b
   12683 :more2
   12684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12685 p
   12686 g
   12687 s/.\{148\}//
   12688 t delim
   12689 ' <conf$$subs.awk | sed '
   12690 /^[^""]/{
   12691   N
   12692   s/\n//
   12693 }
   12694 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   12695 rm -f conf$$subs.awk
   12696 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12697 _ACAWK
   12698 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12699   for (key in S) S_is_set[key] = 1
   12700   FS = ""
   12701 
   12702 }
   12703 {
   12704   line = $ 0
   12705   nfields = split(line, field, "@")
   12706   substed = 0
   12707   len = length(field[1])
   12708   for (i = 2; i < nfields; i++) {
   12709     key = field[i]
   12710     keylen = length(key)
   12711     if (S_is_set[key]) {
   12712       value = S[key]
   12713       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12714       len += length(value) + length(field[++i])
   12715       substed = 1
   12716     } else
   12717       len += 1 + keylen
   12718   }
   12719 
   12720   print line
   12721 }
   12722 
   12723 _ACAWK
   12724 _ACEOF
   12725 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12726 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12727   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12728 else
   12729   cat
   12730 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12731   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12732 _ACEOF
   12733 
   12734 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12735 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12736 # trailing colons and then remove the whole line if VPATH becomes empty
   12737 # (actually we leave an empty line to preserve line numbers).
   12738 if test "x$srcdir" = x.; then
   12739   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12740 h
   12741 s///
   12742 s/^/:/
   12743 s/[	 ]*$/:/
   12744 s/:\$(srcdir):/:/g
   12745 s/:\${srcdir}:/:/g
   12746 s/:@srcdir@:/:/g
   12747 s/^:*//
   12748 s/:*$//
   12749 x
   12750 s/\(=[	 ]*\).*/\1/
   12751 G
   12752 s/\n//
   12753 s/^[^=]*=[	 ]*$//
   12754 }'
   12755 fi
   12756 
   12757 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12758 fi # test -n "$CONFIG_FILES"
   12759 
   12760 # Set up the scripts for CONFIG_HEADERS section.
   12761 # No need to generate them if there are no CONFIG_HEADERS.
   12762 # This happens for instance with './config.status Makefile'.
   12763 if test -n "$CONFIG_HEADERS"; then
   12764 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12765 BEGIN {
   12766 _ACEOF
   12767 
   12768 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12769 # here-document in config.status, that substitutes the proper values into
   12770 # config.h.in to produce config.h.
   12771 
   12772 # Create a delimiter string that does not exist in confdefs.h, to ease
   12773 # handling of long lines.
   12774 ac_delim='%!_!# '
   12775 for ac_last_try in false false :; do
   12776   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12777   if test -z "$ac_tt"; then
   12778     break
   12779   elif $ac_last_try; then
   12780     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12781   else
   12782     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12783   fi
   12784 done
   12785 
   12786 # For the awk script, D is an array of macro values keyed by name,
   12787 # likewise P contains macro parameters if any.  Preserve backslash
   12788 # newline sequences.
   12789 
   12790 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12791 sed -n '
   12792 s/.\{148\}/&'"$ac_delim"'/g
   12793 t rset
   12794 :rset
   12795 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12796 t def
   12797 d
   12798 :def
   12799 s/\\$//
   12800 t bsnl
   12801 s/["\\]/\\&/g
   12802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12803 D["\1"]=" \3"/p
   12804 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12805 d
   12806 :bsnl
   12807 s/["\\]/\\&/g
   12808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12809 D["\1"]=" \3\\\\\\n"\\/p
   12810 t cont
   12811 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12812 t cont
   12813 d
   12814 :cont
   12815 n
   12816 s/.\{148\}/&'"$ac_delim"'/g
   12817 t clear
   12818 :clear
   12819 s/\\$//
   12820 t bsnlc
   12821 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12822 d
   12823 :bsnlc
   12824 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12825 b cont
   12826 ' <confdefs.h | sed '
   12827 s/'"$ac_delim"'/"\\\
   12828 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   12829 
   12830 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12831   for (key in D) D_is_set[key] = 1
   12832   FS = ""
   12833 }
   12834 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12835   line = \$ 0
   12836   split(line, arg, " ")
   12837   if (arg[1] == "#") {
   12838     defundef = arg[2]
   12839     mac1 = arg[3]
   12840   } else {
   12841     defundef = substr(arg[1], 2)
   12842     mac1 = arg[2]
   12843   }
   12844   split(mac1, mac2, "(") #)
   12845   macro = mac2[1]
   12846   prefix = substr(line, 1, index(line, defundef) - 1)
   12847   if (D_is_set[macro]) {
   12848     suffix = P[macro] D[macro]
   12849     while (suffix ~ /[\t ]$/) {
   12850       suffix = substr(suffix, 1, length(suffix) - 1)
   12851     }
   12852     # Preserve the white space surrounding the "#".
   12853     print prefix "define", macro suffix
   12854     next
   12855   } else {
   12856     # Replace #undef with comments.  This is necessary, for example,
   12857     # in the case of _POSIX_SOURCE, which is predefined and required
   12858     # on some systems where configure will not decide to define it.
   12859     if (defundef == "undef") {
   12860       print "/*", prefix defundef, macro, "*/"
   12861       next
   12862     }
   12863   }
   12864 }
   12865 { print }
   12866 _ACAWK
   12867 _ACEOF
   12868 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12869   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12870 fi # test -n "$CONFIG_HEADERS"
   12871 
   12872 
   12873 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12874 shift
   12875 for ac_tag
   12876 do
   12877   case $ac_tag in
   12878   :[FHLC]) ac_mode=$ac_tag; continue;;
   12879   esac
   12880   case $ac_mode$ac_tag in
   12881   :[FHL]*:*);;
   12882   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12883   :[FH]-) ac_tag=-:-;;
   12884   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12885   esac
   12886   ac_save_IFS=$IFS
   12887   IFS=:
   12888   set x $ac_tag
   12889   IFS=$ac_save_IFS
   12890   shift
   12891   ac_file=$1
   12892   shift
   12893 
   12894   case $ac_mode in
   12895   :L) ac_source=$1;;
   12896   :[FH])
   12897     ac_file_inputs=
   12898     for ac_f
   12899     do
   12900       case $ac_f in
   12901       -) ac_f="$ac_tmp/stdin";;
   12902       *) # Look for the file first in the build tree, then in the source tree
   12903 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12904 	 # because $ac_f cannot contain ':'.
   12905 	 test -f "$ac_f" ||
   12906 	   case $ac_f in
   12907 	   [\\/$]*) false;;
   12908 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12909 	   esac ||
   12910 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12911       esac
   12912       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12913       as_fn_append ac_file_inputs " '$ac_f'"
   12914     done
   12915 
   12916     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12917     # use $as_me), people would be surprised to read:
   12918     #    /* config.h.  Generated by config.status.  */
   12919     configure_input='Generated from '`
   12920 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12921 	`' by configure.'
   12922     if test x"$ac_file" != x-; then
   12923       configure_input="$ac_file.  $configure_input"
   12924       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12925 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   12926     fi
   12927     # Neutralize special characters interpreted by sed in replacement strings.
   12928     case $configure_input in #(
   12929     *\&* | *\|* | *\\* )
   12930        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   12931        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12932     *) ac_sed_conf_input=$configure_input;;
   12933     esac
   12934 
   12935     case $ac_tag in
   12936     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12937       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12938     esac
   12939     ;;
   12940   esac
   12941 
   12942   ac_dir=`$as_dirname -- "$ac_file" ||
   12943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12944 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12945 	 X"$ac_file" : 'X\(//\)$' \| \
   12946 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12947 printf '%s\n' X"$ac_file" |
   12948     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12949 	    s//\1/
   12950 	    q
   12951 	  }
   12952 	  /^X\(\/\/\)[^/].*/{
   12953 	    s//\1/
   12954 	    q
   12955 	  }
   12956 	  /^X\(\/\/\)$/{
   12957 	    s//\1/
   12958 	    q
   12959 	  }
   12960 	  /^X\(\/\).*/{
   12961 	    s//\1/
   12962 	    q
   12963 	  }
   12964 	  s/.*/./; q'`
   12965   as_dir="$ac_dir"; as_fn_mkdir_p
   12966   ac_builddir=.
   12967 
   12968 case "$ac_dir" in
   12969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12970 *)
   12971   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   12972   # A ".." for each directory in $ac_dir_suffix.
   12973   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12974   case $ac_top_builddir_sub in
   12975   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12976   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12977   esac ;;
   12978 esac
   12979 ac_abs_top_builddir=$ac_pwd
   12980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12981 # for backward compatibility:
   12982 ac_top_builddir=$ac_top_build_prefix
   12983 
   12984 case $srcdir in
   12985   .)  # We are building in place.
   12986     ac_srcdir=.
   12987     ac_top_srcdir=$ac_top_builddir_sub
   12988     ac_abs_top_srcdir=$ac_pwd ;;
   12989   [\\/]* | ?:[\\/]* )  # Absolute name.
   12990     ac_srcdir=$srcdir$ac_dir_suffix;
   12991     ac_top_srcdir=$srcdir
   12992     ac_abs_top_srcdir=$srcdir ;;
   12993   *) # Relative name.
   12994     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12995     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12996     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12997 esac
   12998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12999 
   13000 
   13001   case $ac_mode in
   13002   :F)
   13003   #
   13004   # CONFIG_FILE
   13005   #
   13006 
   13007   case $INSTALL in
   13008   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13009   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13010   esac
   13011   ac_MKDIR_P=$MKDIR_P
   13012   case $MKDIR_P in
   13013   [\\/$]* | ?:[\\/]* ) ;;
   13014   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13015   esac
   13016 _ACEOF
   13017 
   13018 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13019 # If the template does not know about datarootdir, expand it.
   13020 # FIXME: This hack should be removed a few years after 2.60.
   13021 ac_datarootdir_hack=; ac_datarootdir_seen=
   13022 ac_sed_dataroot='
   13023 /datarootdir/ {
   13024   p
   13025   q
   13026 }
   13027 /@datadir@/p
   13028 /@docdir@/p
   13029 /@infodir@/p
   13030 /@localedir@/p
   13031 /@mandir@/p'
   13032 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13033 *datarootdir*) ac_datarootdir_seen=yes;;
   13034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13035   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13036 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13037 _ACEOF
   13038 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13039   ac_datarootdir_hack='
   13040   s&@datadir@&$datadir&g
   13041   s&@docdir@&$docdir&g
   13042   s&@infodir@&$infodir&g
   13043   s&@localedir@&$localedir&g
   13044   s&@mandir@&$mandir&g
   13045   s&\\\${datarootdir}&$datarootdir&g' ;;
   13046 esac
   13047 _ACEOF
   13048 
   13049 # Neutralize VPATH when '$srcdir' = '.'.
   13050 # Shell code in configure.ac might set extrasub.
   13051 # FIXME: do we really want to maintain this feature?
   13052 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13053 ac_sed_extra="$ac_vpsub
   13054 $extrasub
   13055 _ACEOF
   13056 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13057 :t
   13058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13059 s|@configure_input@|$ac_sed_conf_input|;t t
   13060 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13061 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13062 s&@srcdir@&$ac_srcdir&;t t
   13063 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13064 s&@top_srcdir@&$ac_top_srcdir&;t t
   13065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13066 s&@builddir@&$ac_builddir&;t t
   13067 s&@abs_builddir@&$ac_abs_builddir&;t t
   13068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13069 s&@INSTALL@&$ac_INSTALL&;t t
   13070 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13071 $ac_datarootdir_hack
   13072 "
   13073 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13074   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13075 
   13076 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13077   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13078   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13079       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13080   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13081 which seems to be undefined.  Please make sure it is defined" >&5
   13082 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13083 which seems to be undefined.  Please make sure it is defined" >&2;}
   13084 
   13085   rm -f "$ac_tmp/stdin"
   13086   case $ac_file in
   13087   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13088   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13089   esac \
   13090   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13091  ;;
   13092   :H)
   13093   #
   13094   # CONFIG_HEADER
   13095   #
   13096   if test x"$ac_file" != x-; then
   13097     {
   13098       printf '%s\n' "/* $configure_input  */" >&1 \
   13099       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13100     } >"$ac_tmp/config.h" \
   13101       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13102     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13103       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13104 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13105     else
   13106       rm -f "$ac_file"
   13107       mv "$ac_tmp/config.h" "$ac_file" \
   13108 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13109     fi
   13110   else
   13111     printf '%s\n' "/* $configure_input  */" >&1 \
   13112       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13113       || as_fn_error $? "could not create -" "$LINENO" 5
   13114   fi
   13115 # Compute "$ac_file"'s index in $config_headers.
   13116 _am_arg="$ac_file"
   13117 _am_stamp_count=1
   13118 for _am_header in $config_headers :; do
   13119   case $_am_header in
   13120     $_am_arg | $_am_arg:* )
   13121       break ;;
   13122     * )
   13123       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13124   esac
   13125 done
   13126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13128 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13129 	 X"$_am_arg" : 'X\(//\)$' \| \
   13130 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13131 printf '%s\n' X"$_am_arg" |
   13132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13133 	    s//\1/
   13134 	    q
   13135 	  }
   13136 	  /^X\(\/\/\)[^/].*/{
   13137 	    s//\1/
   13138 	    q
   13139 	  }
   13140 	  /^X\(\/\/\)$/{
   13141 	    s//\1/
   13142 	    q
   13143 	  }
   13144 	  /^X\(\/\).*/{
   13145 	    s//\1/
   13146 	    q
   13147 	  }
   13148 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13149  ;;
   13150 
   13151   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13152 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13153  ;;
   13154   esac
   13155 
   13156 
   13157   case $ac_file$ac_mode in
   13158     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13159   # Older Autoconf quotes --file arguments for eval, but not when files
   13160   # are listed without --file.  Let's play safe and only enable the eval
   13161   # if we detect the quoting.
   13162   # TODO: see whether this extra hack can be removed once we start
   13163   # requiring Autoconf 2.70 or later.
   13164   case $CONFIG_FILES in #(
   13165   *\'*) :
   13166     eval set x "$CONFIG_FILES" ;; #(
   13167   *) :
   13168     set x $CONFIG_FILES ;; #(
   13169   *) :
   13170      ;;
   13171 esac
   13172   shift
   13173   # Used to flag and report bootstrapping failures.
   13174   am_rc=0
   13175   for am_mf
   13176   do
   13177     # Strip MF so we end up with the name of the file.
   13178     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13179     # Check whether this is an Automake generated Makefile which includes
   13180     # dependency-tracking related rules and includes.
   13181     # Grep'ing the whole file directly is not great: AIX grep has a line
   13182     # limit of 2048, but all sed's we know have understand at least 4000.
   13183     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13184       || continue
   13185     am_dirpart=`$as_dirname -- "$am_mf" ||
   13186 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13187 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13188 	 X"$am_mf" : 'X\(//\)$' \| \
   13189 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13190 printf '%s\n' X"$am_mf" |
   13191     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13192 	    s//\1/
   13193 	    q
   13194 	  }
   13195 	  /^X\(\/\/\)[^/].*/{
   13196 	    s//\1/
   13197 	    q
   13198 	  }
   13199 	  /^X\(\/\/\)$/{
   13200 	    s//\1/
   13201 	    q
   13202 	  }
   13203 	  /^X\(\/\).*/{
   13204 	    s//\1/
   13205 	    q
   13206 	  }
   13207 	  s/.*/./; q'`
   13208     am_filepart=`$as_basename -- "$am_mf" ||
   13209 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13210 	 X"$am_mf" : 'X\(//\)$' \| \
   13211 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13212 printf '%s\n' X/"$am_mf" |
   13213     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13214 	    s//\1/
   13215 	    q
   13216 	  }
   13217 	  /^X\/\(\/\/\)$/{
   13218 	    s//\1/
   13219 	    q
   13220 	  }
   13221 	  /^X\/\(\/\).*/{
   13222 	    s//\1/
   13223 	    q
   13224 	  }
   13225 	  s/.*/./; q'`
   13226     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13227       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13228         | $MAKE -f - am--depfiles" >&5
   13229    (cd "$am_dirpart" \
   13230       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13231         | $MAKE -f - am--depfiles) >&5 2>&5
   13232    ac_status=$?
   13233    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13234    (exit $ac_status); } || am_rc=$?
   13235   done
   13236   if test $am_rc -ne 0; then
   13237     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13238 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13239 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13240     for automatic dependency tracking.  If GNU make was not used, consider
   13241     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13242     necessary).  You can also try re-running configure with the
   13243     '--disable-dependency-tracking' option to at least be able to build
   13244     the package (albeit without support for automatic dependency tracking).
   13245 See 'config.log' for more details" "$LINENO" 5; }
   13246   fi
   13247   { am_dirpart=; unset am_dirpart;}
   13248   { am_filepart=; unset am_filepart;}
   13249   { am_mf=; unset am_mf;}
   13250   { am_rc=; unset am_rc;}
   13251   rm -f conftest-deps.mk
   13252 }
   13253  ;;
   13254 
   13255   esac
   13256 done # for ac_tag
   13257 
   13258 
   13259 as_fn_exit 0
   13260 _ACEOF
   13261 ac_clean_CONFIG_STATUS=
   13262 
   13263 test $ac_write_fail = 0 ||
   13264   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13265 
   13266 
   13267 # configure is writing to config.log, and then calls config.status.
   13268 # config.status does its own redirection, appending to config.log.
   13269 # Unfortunately, on DOS this fails, as config.log is still kept open
   13270 # by configure, so config.status won't be able to write to it; its
   13271 # output is simply discarded.  So we exec the FD to /dev/null,
   13272 # effectively closing config.log, so it can be properly (re)opened and
   13273 # appended to by config.status.  When coming back to configure, we
   13274 # need to make the FD available again.
   13275 if test "$no_create" != yes; then
   13276   ac_cs_success=:
   13277   case $CONFIG_STATUS in #(
   13278   -*) :
   13279     ac_no_opts=-- ;; #(
   13280   *) :
   13281     ac_no_opts= ;;
   13282 esac
   13283   ac_config_status_args=
   13284   test "$silent" = yes &&
   13285     ac_config_status_args="$ac_config_status_args --quiet"
   13286   exec 5>/dev/null
   13287   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13288     ac_cs_success=false
   13289   exec 5>>config.log
   13290   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13291   # would make configure fail if this is the last instruction.
   13292   $ac_cs_success || as_fn_exit 1
   13293 fi
   13294 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13295   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13296 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13297 fi
   13298 
   13299 
   13300