Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for xbiff 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/-/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/xbiff/-/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='xbiff'
    591 PACKAGE_TARNAME='xbiff'
    592 PACKAGE_VERSION='1.0.6'
    593 PACKAGE_STRING='xbiff 1.0.6'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xbiff/-/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 : ${enable_year2038:=no}
    631 ac_subst_vars='am__EXEEXT_FALSE
    632 am__EXEEXT_TRUE
    633 LTLIBOBJS
    634 LIBOBJS
    635 XBIFF_LIBS
    636 XBIFF_CFLAGS
    637 MAN_SUBSTS
    638 XORG_MAN_PAGE
    639 ADMIN_MAN_DIR
    640 DRIVER_MAN_DIR
    641 MISC_MAN_DIR
    642 FILE_MAN_DIR
    643 LIB_MAN_DIR
    644 APP_MAN_DIR
    645 ADMIN_MAN_SUFFIX
    646 DRIVER_MAN_SUFFIX
    647 MISC_MAN_SUFFIX
    648 FILE_MAN_SUFFIX
    649 LIB_MAN_SUFFIX
    650 APP_MAN_SUFFIX
    651 SED
    652 host_os
    653 host_vendor
    654 host_cpu
    655 host
    656 build_os
    657 build_vendor
    658 build_cpu
    659 build
    660 INSTALL_CMD
    661 PKG_CONFIG_LIBDIR
    662 PKG_CONFIG_PATH
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 am__xargs_n
    685 am__rm_f_notfound
    686 AM_BACKSLASH
    687 AM_DEFAULT_VERBOSITY
    688 AM_DEFAULT_V
    689 AM_V
    690 CSCOPE
    691 ETAGS
    692 CTAGS
    693 am__untar
    694 am__tar
    695 AMTAR
    696 am__leading_dot
    697 SET_MAKE
    698 AWK
    699 mkdir_p
    700 MKDIR_P
    701 INSTALL_STRIP_PROGRAM
    702 STRIP
    703 install_sh
    704 MAKEINFO
    705 AUTOHEADER
    706 AUTOMAKE
    707 AUTOCONF
    708 ACLOCAL
    709 VERSION
    710 PACKAGE
    711 CYGPATH_W
    712 am__isrc
    713 INSTALL_DATA
    714 INSTALL_SCRIPT
    715 INSTALL_PROGRAM
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 target_alias
    720 host_alias
    721 build_alias
    722 LIBS
    723 DEFS
    724 mandir
    725 localedir
    726 libdir
    727 psdir
    728 pdfdir
    729 dvidir
    730 htmldir
    731 infodir
    732 docdir
    733 oldincludedir
    734 includedir
    735 runstatedir
    736 localstatedir
    737 sharedstatedir
    738 sysconfdir
    739 datadir
    740 datarootdir
    741 libexecdir
    742 sbindir
    743 bindir
    744 program_transform_name
    745 prefix
    746 exec_prefix
    747 PACKAGE_URL
    748 PACKAGE_BUGREPORT
    749 PACKAGE_STRING
    750 PACKAGE_VERSION
    751 PACKAGE_TARNAME
    752 PACKAGE_NAME
    753 PATH_SEPARATOR
    754 SHELL
    755 am__quote'
    756 ac_subst_files=''
    757 ac_user_opts='
    758 enable_option_checking
    759 enable_silent_rules
    760 enable_dependency_tracking
    761 enable_selective_werror
    762 enable_strict_compilation
    763 enable_largefile
    764 with_mailbox_directory
    765 enable_year2038
    766 '
    767       ac_precious_vars='build_alias
    768 host_alias
    769 target_alias
    770 CC
    771 CFLAGS
    772 LDFLAGS
    773 LIBS
    774 CPPFLAGS
    775 PKG_CONFIG
    776 PKG_CONFIG_PATH
    777 PKG_CONFIG_LIBDIR
    778 XBIFF_CFLAGS
    779 XBIFF_LIBS'
    780 
    781 
    782 # Initialize some variables set by options.
    783 ac_init_help=
    784 ac_init_version=false
    785 ac_unrecognized_opts=
    786 ac_unrecognized_sep=
    787 # The variables have the same names as the options, with
    788 # dashes changed to underlines.
    789 cache_file=/dev/null
    790 exec_prefix=NONE
    791 no_create=
    792 no_recursion=
    793 prefix=NONE
    794 program_prefix=NONE
    795 program_suffix=NONE
    796 program_transform_name=s,x,x,
    797 silent=
    798 site=
    799 srcdir=
    800 verbose=
    801 x_includes=NONE
    802 x_libraries=NONE
    803 
    804 # Installation directory options.
    805 # These are left unexpanded so users can "make install exec_prefix=/foo"
    806 # and all the variables that are supposed to be based on exec_prefix
    807 # by default will actually change.
    808 # Use braces instead of parens because sh, perl, etc. also accept them.
    809 # (The list follows the same order as the GNU Coding Standards.)
    810 bindir='${exec_prefix}/bin'
    811 sbindir='${exec_prefix}/sbin'
    812 libexecdir='${exec_prefix}/libexec'
    813 datarootdir='${prefix}/share'
    814 datadir='${datarootdir}'
    815 sysconfdir='${prefix}/etc'
    816 sharedstatedir='${prefix}/com'
    817 localstatedir='${prefix}/var'
    818 runstatedir='${localstatedir}/run'
    819 includedir='${prefix}/include'
    820 oldincludedir='/usr/include'
    821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    822 infodir='${datarootdir}/info'
    823 htmldir='${docdir}'
    824 dvidir='${docdir}'
    825 pdfdir='${docdir}'
    826 psdir='${docdir}'
    827 libdir='${exec_prefix}/lib'
    828 localedir='${datarootdir}/locale'
    829 mandir='${datarootdir}/man'
    830 
    831 ac_prev=
    832 ac_dashdash=
    833 for ac_option
    834 do
    835   # If the previous option needs an argument, assign it.
    836   if test -n "$ac_prev"; then
    837     eval $ac_prev=\$ac_option
    838     ac_prev=
    839     continue
    840   fi
    841 
    842   case $ac_option in
    843   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    844   *=)   ac_optarg= ;;
    845   *)    ac_optarg=yes ;;
    846   esac
    847 
    848   case $ac_dashdash$ac_option in
    849   --)
    850     ac_dashdash=yes ;;
    851 
    852   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    853     ac_prev=bindir ;;
    854   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    855     bindir=$ac_optarg ;;
    856 
    857   -build | --build | --buil | --bui | --bu)
    858     ac_prev=build_alias ;;
    859   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    860     build_alias=$ac_optarg ;;
    861 
    862   -cache-file | --cache-file | --cache-fil | --cache-fi \
    863   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    864     ac_prev=cache_file ;;
    865   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    866   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    867     cache_file=$ac_optarg ;;
    868 
    869   --config-cache | -C)
    870     cache_file=config.cache ;;
    871 
    872   -datadir | --datadir | --datadi | --datad)
    873     ac_prev=datadir ;;
    874   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    875     datadir=$ac_optarg ;;
    876 
    877   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    878   | --dataroo | --dataro | --datar)
    879     ac_prev=datarootdir ;;
    880   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    881   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    882     datarootdir=$ac_optarg ;;
    883 
    884   -disable-* | --disable-*)
    885     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    886     # Reject names that are not valid shell variable names.
    887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    888       as_fn_error $? "invalid feature name: '$ac_useropt'"
    889     ac_useropt_orig=$ac_useropt
    890     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    891     case $ac_user_opts in
    892       *"
    893 "enable_$ac_useropt"
    894 "*) ;;
    895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    896 	 ac_unrecognized_sep=', ';;
    897     esac
    898     eval enable_$ac_useropt=no ;;
    899 
    900   -docdir | --docdir | --docdi | --doc | --do)
    901     ac_prev=docdir ;;
    902   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    903     docdir=$ac_optarg ;;
    904 
    905   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    906     ac_prev=dvidir ;;
    907   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    908     dvidir=$ac_optarg ;;
    909 
    910   -enable-* | --enable-*)
    911     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    912     # Reject names that are not valid shell variable names.
    913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    914       as_fn_error $? "invalid feature name: '$ac_useropt'"
    915     ac_useropt_orig=$ac_useropt
    916     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    917     case $ac_user_opts in
    918       *"
    919 "enable_$ac_useropt"
    920 "*) ;;
    921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    922 	 ac_unrecognized_sep=', ';;
    923     esac
    924     eval enable_$ac_useropt=\$ac_optarg ;;
    925 
    926   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    927   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    928   | --exec | --exe | --ex)
    929     ac_prev=exec_prefix ;;
    930   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    931   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    932   | --exec=* | --exe=* | --ex=*)
    933     exec_prefix=$ac_optarg ;;
    934 
    935   -gas | --gas | --ga | --g)
    936     # Obsolete; use --with-gas.
    937     with_gas=yes ;;
    938 
    939   -help | --help | --hel | --he | -h)
    940     ac_init_help=long ;;
    941   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    942     ac_init_help=recursive ;;
    943   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    944     ac_init_help=short ;;
    945 
    946   -host | --host | --hos | --ho)
    947     ac_prev=host_alias ;;
    948   -host=* | --host=* | --hos=* | --ho=*)
    949     host_alias=$ac_optarg ;;
    950 
    951   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    952     ac_prev=htmldir ;;
    953   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    954   | --ht=*)
    955     htmldir=$ac_optarg ;;
    956 
    957   -includedir | --includedir | --includedi | --included | --include \
    958   | --includ | --inclu | --incl | --inc)
    959     ac_prev=includedir ;;
    960   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    961   | --includ=* | --inclu=* | --incl=* | --inc=*)
    962     includedir=$ac_optarg ;;
    963 
    964   -infodir | --infodir | --infodi | --infod | --info | --inf)
    965     ac_prev=infodir ;;
    966   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    967     infodir=$ac_optarg ;;
    968 
    969   -libdir | --libdir | --libdi | --libd)
    970     ac_prev=libdir ;;
    971   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    972     libdir=$ac_optarg ;;
    973 
    974   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    975   | --libexe | --libex | --libe)
    976     ac_prev=libexecdir ;;
    977   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    978   | --libexe=* | --libex=* | --libe=*)
    979     libexecdir=$ac_optarg ;;
    980 
    981   -localedir | --localedir | --localedi | --localed | --locale)
    982     ac_prev=localedir ;;
    983   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    984     localedir=$ac_optarg ;;
    985 
    986   -localstatedir | --localstatedir | --localstatedi | --localstated \
    987   | --localstate | --localstat | --localsta | --localst | --locals)
    988     ac_prev=localstatedir ;;
    989   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    990   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    991     localstatedir=$ac_optarg ;;
    992 
    993   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    994     ac_prev=mandir ;;
    995   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    996     mandir=$ac_optarg ;;
    997 
    998   -nfp | --nfp | --nf)
    999     # Obsolete; use --without-fp.
   1000     with_fp=no ;;
   1001 
   1002   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1003   | --no-cr | --no-c | -n)
   1004     no_create=yes ;;
   1005 
   1006   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1007   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1008     no_recursion=yes ;;
   1009 
   1010   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1011   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1012   | --oldin | --oldi | --old | --ol | --o)
   1013     ac_prev=oldincludedir ;;
   1014   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1015   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1016   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1017     oldincludedir=$ac_optarg ;;
   1018 
   1019   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1020     ac_prev=prefix ;;
   1021   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1022     prefix=$ac_optarg ;;
   1023 
   1024   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1025   | --program-pre | --program-pr | --program-p)
   1026     ac_prev=program_prefix ;;
   1027   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1028   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1029     program_prefix=$ac_optarg ;;
   1030 
   1031   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1032   | --program-suf | --program-su | --program-s)
   1033     ac_prev=program_suffix ;;
   1034   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1035   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1036     program_suffix=$ac_optarg ;;
   1037 
   1038   -program-transform-name | --program-transform-name \
   1039   | --program-transform-nam | --program-transform-na \
   1040   | --program-transform-n | --program-transform- \
   1041   | --program-transform | --program-transfor \
   1042   | --program-transfo | --program-transf \
   1043   | --program-trans | --program-tran \
   1044   | --progr-tra | --program-tr | --program-t)
   1045     ac_prev=program_transform_name ;;
   1046   -program-transform-name=* | --program-transform-name=* \
   1047   | --program-transform-nam=* | --program-transform-na=* \
   1048   | --program-transform-n=* | --program-transform-=* \
   1049   | --program-transform=* | --program-transfor=* \
   1050   | --program-transfo=* | --program-transf=* \
   1051   | --program-trans=* | --program-tran=* \
   1052   | --progr-tra=* | --program-tr=* | --program-t=*)
   1053     program_transform_name=$ac_optarg ;;
   1054 
   1055   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1056     ac_prev=pdfdir ;;
   1057   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1058     pdfdir=$ac_optarg ;;
   1059 
   1060   -psdir | --psdir | --psdi | --psd | --ps)
   1061     ac_prev=psdir ;;
   1062   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1063     psdir=$ac_optarg ;;
   1064 
   1065   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1066   | -silent | --silent | --silen | --sile | --sil)
   1067     silent=yes ;;
   1068 
   1069   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1070   | --runstate | --runstat | --runsta | --runst | --runs \
   1071   | --run | --ru | --r)
   1072     ac_prev=runstatedir ;;
   1073   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1074   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1075   | --run=* | --ru=* | --r=*)
   1076     runstatedir=$ac_optarg ;;
   1077 
   1078   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1079     ac_prev=sbindir ;;
   1080   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1081   | --sbi=* | --sb=*)
   1082     sbindir=$ac_optarg ;;
   1083 
   1084   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1085   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1086   | --sharedst | --shareds | --shared | --share | --shar \
   1087   | --sha | --sh)
   1088     ac_prev=sharedstatedir ;;
   1089   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1090   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1091   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1092   | --sha=* | --sh=*)
   1093     sharedstatedir=$ac_optarg ;;
   1094 
   1095   -site | --site | --sit)
   1096     ac_prev=site ;;
   1097   -site=* | --site=* | --sit=*)
   1098     site=$ac_optarg ;;
   1099 
   1100   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1101     ac_prev=srcdir ;;
   1102   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1103     srcdir=$ac_optarg ;;
   1104 
   1105   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1106   | --syscon | --sysco | --sysc | --sys | --sy)
   1107     ac_prev=sysconfdir ;;
   1108   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1109   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1110     sysconfdir=$ac_optarg ;;
   1111 
   1112   -target | --target | --targe | --targ | --tar | --ta | --t)
   1113     ac_prev=target_alias ;;
   1114   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1115     target_alias=$ac_optarg ;;
   1116 
   1117   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1118     verbose=yes ;;
   1119 
   1120   -version | --version | --versio | --versi | --vers | -V)
   1121     ac_init_version=: ;;
   1122 
   1123   -with-* | --with-*)
   1124     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1125     # Reject names that are not valid shell variable names.
   1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1127       as_fn_error $? "invalid package name: '$ac_useropt'"
   1128     ac_useropt_orig=$ac_useropt
   1129     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1130     case $ac_user_opts in
   1131       *"
   1132 "with_$ac_useropt"
   1133 "*) ;;
   1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1135 	 ac_unrecognized_sep=', ';;
   1136     esac
   1137     eval with_$ac_useropt=\$ac_optarg ;;
   1138 
   1139   -without-* | --without-*)
   1140     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1141     # Reject names that are not valid shell variable names.
   1142     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1143       as_fn_error $? "invalid package name: '$ac_useropt'"
   1144     ac_useropt_orig=$ac_useropt
   1145     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1146     case $ac_user_opts in
   1147       *"
   1148 "with_$ac_useropt"
   1149 "*) ;;
   1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1151 	 ac_unrecognized_sep=', ';;
   1152     esac
   1153     eval with_$ac_useropt=no ;;
   1154 
   1155   --x)
   1156     # Obsolete; use --with-x.
   1157     with_x=yes ;;
   1158 
   1159   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1160   | --x-incl | --x-inc | --x-in | --x-i)
   1161     ac_prev=x_includes ;;
   1162   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1163   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1164     x_includes=$ac_optarg ;;
   1165 
   1166   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1167   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1168     ac_prev=x_libraries ;;
   1169   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1170   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1171     x_libraries=$ac_optarg ;;
   1172 
   1173   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1174 Try '$0 --help' for more information"
   1175     ;;
   1176 
   1177   *=*)
   1178     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1179     # Reject names that are not valid shell variable names.
   1180     case $ac_envvar in #(
   1181       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1182       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1183     esac
   1184     eval $ac_envvar=\$ac_optarg
   1185     export $ac_envvar ;;
   1186 
   1187   *)
   1188     # FIXME: should be removed in autoconf 3.0.
   1189     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1190     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1191       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1192     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1193     ;;
   1194 
   1195   esac
   1196 done
   1197 
   1198 if test -n "$ac_prev"; then
   1199   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1200   as_fn_error $? "missing argument to $ac_option"
   1201 fi
   1202 
   1203 if test -n "$ac_unrecognized_opts"; then
   1204   case $enable_option_checking in
   1205     no) ;;
   1206     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1207     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1208   esac
   1209 fi
   1210 
   1211 # Check all directory arguments for consistency.
   1212 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1213 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1214 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1215 		libdir localedir mandir runstatedir
   1216 do
   1217   eval ac_val=\$$ac_var
   1218   # Remove trailing slashes.
   1219   case $ac_val in
   1220     */ )
   1221       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1222       eval $ac_var=\$ac_val;;
   1223   esac
   1224   # Be sure to have absolute directory names.
   1225   case $ac_val in
   1226     [\\/$]* | ?:[\\/]* )  continue;;
   1227     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1228   esac
   1229   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1230 done
   1231 
   1232 # There might be people who depend on the old broken behavior: '$host'
   1233 # used to hold the argument of --host etc.
   1234 # FIXME: To remove some day.
   1235 build=$build_alias
   1236 host=$host_alias
   1237 target=$target_alias
   1238 
   1239 # FIXME: To remove some day.
   1240 if test "x$host_alias" != x; then
   1241   if test "x$build_alias" = x; then
   1242     cross_compiling=maybe
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   as_fn_error $? "working directory cannot be determined"
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   as_fn_error $? "pwd does not report name of working directory"
   1260 
   1261 
   1262 # Find the source files, if location was not specified.
   1263 if test -z "$srcdir"; then
   1264   ac_srcdir_defaulted=yes
   1265   # Try the directory containing this script, then the parent directory.
   1266   ac_confdir=`$as_dirname -- "$as_myself" ||
   1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1268 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1269 	 X"$as_myself" : 'X\(//\)$' \| \
   1270 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1271 printf '%s\n' X"$as_myself" |
   1272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)[^/].*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\).*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  s/.*/./; q'`
   1289   srcdir=$ac_confdir
   1290   if test ! -r "$srcdir/$ac_unique_file"; then
   1291     srcdir=..
   1292   fi
   1293 else
   1294   ac_srcdir_defaulted=no
   1295 fi
   1296 if test ! -r "$srcdir/$ac_unique_file"; then
   1297   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1298   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1299 fi
   1300 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1301 ac_abs_confdir=`(
   1302 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1303 	pwd)`
   1304 # When building in place, set srcdir=.
   1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1306   srcdir=.
   1307 fi
   1308 # Remove unnecessary trailing slashes from srcdir.
   1309 # Double slashes in file names in object file debugging info
   1310 # mess up M-x gdb in Emacs.
   1311 case $srcdir in
   1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1313 esac
   1314 for ac_var in $ac_precious_vars; do
   1315   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_env_${ac_var}_value=\$${ac_var}
   1317   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1319 done
   1320 
   1321 #
   1322 # Report the --help message.
   1323 #
   1324 if test "$ac_init_help" = "long"; then
   1325   # Omit some internal or obsolete options to make the list less imposing.
   1326   # This message is too long to be a string in the A/UX 3.1 sh.
   1327   cat <<_ACEOF
   1328 'configure' configures xbiff 1.0.6 to adapt to many kinds of systems.
   1329 
   1330 Usage: $0 [OPTION]... [VAR=VALUE]...
   1331 
   1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1333 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1334 
   1335 Defaults for the options are specified in brackets.
   1336 
   1337 Configuration:
   1338   -h, --help              display this help and exit
   1339       --help=short        display options specific to this package
   1340       --help=recursive    display the short help of all the included packages
   1341   -V, --version           display version information and exit
   1342   -q, --quiet, --silent   do not print 'checking ...' messages
   1343       --cache-file=FILE   cache test results in FILE [disabled]
   1344   -C, --config-cache      alias for '--cache-file=config.cache'
   1345   -n, --no-create         do not create output files
   1346       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1347 
   1348 Installation directories:
   1349   --prefix=PREFIX         install architecture-independent files in PREFIX
   1350                           [$ac_default_prefix]
   1351   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1352                           [PREFIX]
   1353 
   1354 By default, 'make install' will install all the files in
   1355 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1356 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1357 for instance '--prefix=\$HOME'.
   1358 
   1359 For better control, use the options below.
   1360 
   1361 Fine tuning of the installation directories:
   1362   --bindir=DIR            user executables [EPREFIX/bin]
   1363   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1364   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1365   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1366   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1367   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1368   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1369   --libdir=DIR            object code libraries [EPREFIX/lib]
   1370   --includedir=DIR        C header files [PREFIX/include]
   1371   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1372   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1373   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1374   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1375   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1376   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1377   --docdir=DIR            documentation root [DATAROOTDIR/doc/xbiff]
   1378   --htmldir=DIR           html documentation [DOCDIR]
   1379   --dvidir=DIR            dvi documentation [DOCDIR]
   1380   --pdfdir=DIR            pdf documentation [DOCDIR]
   1381   --psdir=DIR             ps documentation [DOCDIR]
   1382 _ACEOF
   1383 
   1384   cat <<\_ACEOF
   1385 
   1386 Program names:
   1387   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1388   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1389   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1390 
   1391 System types:
   1392   --build=BUILD     configure for building on BUILD [guessed]
   1393   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1394 _ACEOF
   1395 fi
   1396 
   1397 if test -n "$ac_init_help"; then
   1398   case $ac_init_help in
   1399      short | recursive ) echo "Configuration of xbiff 1.0.6:";;
   1400    esac
   1401   cat <<\_ACEOF
   1402 
   1403 Optional Features:
   1404   --disable-option-checking  ignore unrecognized --enable/--with options
   1405   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1406   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1407   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1408   --disable-silent-rules  verbose build output (undo: "make V=0")
   1409   --enable-dependency-tracking
   1410                           do not reject slow dependency extractors
   1411   --disable-dependency-tracking
   1412                           speeds up one-time build
   1413   --disable-selective-werror
   1414                           Turn off selective compiler errors. (default:
   1415                           enabled)
   1416   --enable-strict-compilation
   1417                           Enable all warnings from compiler and make them
   1418                           errors (default: disabled)
   1419   --disable-largefile     omit support for large files
   1420   --enable-year2038       support timestamps after 2038
   1421 
   1422 Optional Packages:
   1423   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1424   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1425   --with-mailbox-directory=PATH
   1426                           specify directory to check for system mailboxes
   1427 
   1428 Some influential environment variables:
   1429   CC          C compiler command
   1430   CFLAGS      C compiler flags
   1431   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1432               nonstandard directory <lib dir>
   1433   LIBS        libraries to pass to the linker, e.g. -l<library>
   1434   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1435               you have headers in a nonstandard directory <include dir>
   1436   PKG_CONFIG  path to pkg-config utility
   1437   PKG_CONFIG_PATH
   1438               directories to add to pkg-config's search path
   1439   PKG_CONFIG_LIBDIR
   1440               path overriding pkg-config's built-in search path
   1441   XBIFF_CFLAGS
   1442               C compiler flags for XBIFF, overriding pkg-config
   1443   XBIFF_LIBS  linker flags for XBIFF, overriding pkg-config
   1444 
   1445 Use these variables to override the choices made by 'configure' or to help
   1446 it to find libraries and programs with nonstandard names/locations.
   1447 
   1448 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/-/issues>.
   1449 _ACEOF
   1450 ac_status=$?
   1451 fi
   1452 
   1453 if test "$ac_init_help" = "recursive"; then
   1454   # If there are subdirs, report their specific --help.
   1455   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1456     test -d "$ac_dir" ||
   1457       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1458       continue
   1459     ac_builddir=.
   1460 
   1461 case "$ac_dir" in
   1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1463 *)
   1464   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1465   # A ".." for each directory in $ac_dir_suffix.
   1466   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1467   case $ac_top_builddir_sub in
   1468   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1469   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1470   esac ;;
   1471 esac
   1472 ac_abs_top_builddir=$ac_pwd
   1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1474 # for backward compatibility:
   1475 ac_top_builddir=$ac_top_build_prefix
   1476 
   1477 case $srcdir in
   1478   .)  # We are building in place.
   1479     ac_srcdir=.
   1480     ac_top_srcdir=$ac_top_builddir_sub
   1481     ac_abs_top_srcdir=$ac_pwd ;;
   1482   [\\/]* | ?:[\\/]* )  # Absolute name.
   1483     ac_srcdir=$srcdir$ac_dir_suffix;
   1484     ac_top_srcdir=$srcdir
   1485     ac_abs_top_srcdir=$srcdir ;;
   1486   *) # Relative name.
   1487     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1488     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1489     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1490 esac
   1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1492 
   1493     cd "$ac_dir" || { ac_status=$?; continue; }
   1494     # Check for configure.gnu first; this name is used for a wrapper for
   1495     # Metaconfig's "Configure" on case-insensitive file systems.
   1496     if test -f "$ac_srcdir/configure.gnu"; then
   1497       echo &&
   1498       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1499     elif test -f "$ac_srcdir/configure"; then
   1500       echo &&
   1501       $SHELL "$ac_srcdir/configure" --help=recursive
   1502     else
   1503       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1504     fi || ac_status=$?
   1505     cd "$ac_pwd" || { ac_status=$?; break; }
   1506   done
   1507 fi
   1508 
   1509 test -n "$ac_init_help" && exit $ac_status
   1510 if $ac_init_version; then
   1511   cat <<\_ACEOF
   1512 xbiff configure 1.0.6
   1513 generated by GNU Autoconf 2.73
   1514 
   1515 Copyright (C) 2026 Free Software Foundation, Inc.
   1516 This configure script is free software; the Free Software Foundation
   1517 gives unlimited permission to copy, distribute and modify it.
   1518 _ACEOF
   1519   exit
   1520 fi
   1521 
   1522 ## ------------------------ ##
   1523 ## Autoconf initialization. ##
   1524 ## ------------------------ ##
   1525 
   1526 # ac_fn_c_try_compile LINENO
   1527 # --------------------------
   1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1529 ac_fn_c_try_compile ()
   1530 {
   1531   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1532   rm -f conftest.$ac_objext conftest.beam
   1533   if { { ac_try="$ac_compile"
   1534 case "(($ac_try" in
   1535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1536   *) ac_try_echo=$ac_try;;
   1537 esac
   1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1539 printf '%s\n' "$ac_try_echo"; } >&5
   1540   (eval "$ac_compile") 2>conftest.err
   1541   ac_status=$?
   1542   if test -s conftest.err; then
   1543     grep -v '^ *+' conftest.err >conftest.er1
   1544     cat conftest.er1 >&5
   1545     mv -f conftest.er1 conftest.err
   1546   fi
   1547   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1548   test $ac_status = 0; } && {
   1549 	 test -z "$ac_c_werror_flag" ||
   1550 	 test ! -s conftest.err
   1551        } && test -s conftest.$ac_objext
   1552 then :
   1553   ac_retval=0
   1554 else case e in #(
   1555   e) printf '%s\n' "$as_me: failed program was:" >&5
   1556 sed 's/^/| /' conftest.$ac_ext >&5
   1557 
   1558 	ac_retval=1 ;;
   1559 esac
   1560 fi
   1561   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1562   as_fn_set_status $ac_retval
   1563 
   1564 } # ac_fn_c_try_compile
   1565 
   1566 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1567 # ------------------------------------------------------------------
   1568 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1569 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1570 ac_fn_check_decl ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1574   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1575 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1576 if eval test \${$3+y}
   1577 then :
   1578   printf %s "(cached) " >&6
   1579 else case e in #(
   1580   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1581   eval ac_save_FLAGS=\$$6
   1582   as_fn_append $6 " $5"
   1583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1584 /* end confdefs.h.  */
   1585 $4
   1586 int
   1587 main (void)
   1588 {
   1589 #ifndef $as_decl_name
   1590 #ifdef __cplusplus
   1591   (void) $as_decl_use;
   1592 #else
   1593   (void) $as_decl_name;
   1594 #endif
   1595 #endif
   1596 
   1597   ;
   1598   return 0;
   1599 }
   1600 _ACEOF
   1601 if ac_fn_c_try_compile "$LINENO"
   1602 then :
   1603   eval "$3=yes"
   1604 else case e in #(
   1605   e) eval "$3=no" ;;
   1606 esac
   1607 fi
   1608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1609   eval $6=\$ac_save_FLAGS
   1610  ;;
   1611 esac
   1612 fi
   1613 eval ac_res=\$$3
   1614 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1615 printf '%s\n' "$ac_res" >&6; }
   1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1617 
   1618 } # ac_fn_check_decl
   1619 
   1620 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1621 # -------------------------------------------------------
   1622 # Tests whether HEADER exists and can be compiled using the include files in
   1623 # INCLUDES, setting the cache variable VAR accordingly.
   1624 ac_fn_c_check_header_compile ()
   1625 {
   1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1627   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1628 printf %s "checking for $2... " >&6; }
   1629 if eval test \${$3+y}
   1630 then :
   1631   printf %s "(cached) " >&6
   1632 else case e in #(
   1633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1634 /* end confdefs.h.  */
   1635 $4
   1636 #include <$2>
   1637 _ACEOF
   1638 if ac_fn_c_try_compile "$LINENO"
   1639 then :
   1640   eval "$3=yes"
   1641 else case e in #(
   1642   e) eval "$3=no" ;;
   1643 esac
   1644 fi
   1645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1646 esac
   1647 fi
   1648 eval ac_res=\$$3
   1649 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1650 printf '%s\n' "$ac_res" >&6; }
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652 
   1653 } # ac_fn_c_check_header_compile
   1654 
   1655 # ac_fn_c_try_link LINENO
   1656 # -----------------------
   1657 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_link ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1662   if { { ac_try="$ac_link"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 printf '%s\n' "$ac_try_echo"; } >&5
   1669   (eval "$ac_link") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } && {
   1678 	 test -z "$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        } && test -s conftest$ac_exeext && {
   1681 	 test "$cross_compiling" = yes ||
   1682 	 test -x conftest$ac_exeext
   1683        }
   1684 then :
   1685   ac_retval=0
   1686 else case e in #(
   1687   e) printf '%s\n' "$as_me: failed program was:" >&5
   1688 sed 's/^/| /' conftest.$ac_ext >&5
   1689 
   1690 	ac_retval=1 ;;
   1691 esac
   1692 fi
   1693   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1694   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1695   # interfere with the next link command; also delete a directory that is
   1696   # left behind by Apple's compiler.  We do this before executing the actions.
   1697   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1698   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1699   as_fn_set_status $ac_retval
   1700 
   1701 } # ac_fn_c_try_link
   1702 ac_configure_args_raw=
   1703 for ac_arg
   1704 do
   1705   case $ac_arg in
   1706   *\'*)
   1707     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1708   esac
   1709   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1710 done
   1711 
   1712 case $ac_configure_args_raw in
   1713   *$as_nl*)
   1714     ac_safe_unquote= ;;
   1715   *)
   1716     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1717     ac_unsafe_a="$ac_unsafe_z#~"
   1718     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1719     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1720 esac
   1721 
   1722 cat >config.log <<_ACEOF
   1723 This file contains any messages produced by compilers while
   1724 running configure, to aid debugging if configure makes a mistake.
   1725 
   1726 It was created by xbiff $as_me 1.0.6, which was
   1727 generated by GNU Autoconf 2.73.  Invocation command line was
   1728 
   1729   $ $0$ac_configure_args_raw
   1730 
   1731 _ACEOF
   1732 exec 5>>config.log
   1733 {
   1734 cat <<_ASUNAME
   1735 ## --------- ##
   1736 ## Platform. ##
   1737 ## --------- ##
   1738 
   1739 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1740 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1741 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1742 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1743 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1744 
   1745 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1746 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1747 
   1748 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1749 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1750 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1751 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1752 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1753 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1754 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1755 
   1756 _ASUNAME
   1757 
   1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1759 for as_dir in $PATH
   1760 do
   1761   IFS=$as_save_IFS
   1762   case $as_dir in #(((
   1763     '') as_dir=./ ;;
   1764     */) ;;
   1765     *) as_dir=$as_dir/ ;;
   1766   esac
   1767     printf '%s\n' "PATH: $as_dir"
   1768   done
   1769 IFS=$as_save_IFS
   1770 
   1771 } >&5
   1772 
   1773 cat >&5 <<_ACEOF
   1774 
   1775 
   1776 ## ----------- ##
   1777 ## Core tests. ##
   1778 ## ----------- ##
   1779 
   1780 _ACEOF
   1781 
   1782 
   1783 # Keep a trace of the command line.
   1784 # Strip out --no-create and --no-recursion so they do not pile up.
   1785 # Strip out --silent because we don't want to record it for future runs.
   1786 # Also quote any args containing shell meta-characters.
   1787 # Make two passes to allow for proper duplicate-argument suppression.
   1788 ac_configure_args=
   1789 ac_configure_args0=
   1790 ac_configure_args1=
   1791 ac_must_keep_next=false
   1792 for ac_pass in 1 2
   1793 do
   1794   for ac_arg
   1795   do
   1796     case $ac_arg in
   1797     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1798     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1799     | -silent | --silent | --silen | --sile | --sil)
   1800       continue ;;
   1801     *\'*)
   1802       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1803     esac
   1804     case $ac_pass in
   1805     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1806     2)
   1807       as_fn_append ac_configure_args1 " '$ac_arg'"
   1808       if test $ac_must_keep_next = true; then
   1809 	ac_must_keep_next=false # Got value, back to normal.
   1810       else
   1811 	case $ac_arg in
   1812 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1813 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1814 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1815 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1816 	    case "$ac_configure_args0 " in
   1817 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1818 	    esac
   1819 	    ;;
   1820 	  -* ) ac_must_keep_next=true ;;
   1821 	esac
   1822       fi
   1823       as_fn_append ac_configure_args " '$ac_arg'"
   1824       ;;
   1825     esac
   1826   done
   1827 done
   1828 { ac_configure_args0=; unset ac_configure_args0;}
   1829 { ac_configure_args1=; unset ac_configure_args1;}
   1830 
   1831 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1832 ac_cache_dump ()
   1833 {
   1834   # The following way of writing the cache mishandles newlines in values,
   1835 # but we know of no workaround that is simple, portable, and efficient.
   1836 # So, we kill variables containing newlines.
   1837 # Ultrix sh set writes to stderr and can't be redirected directly,
   1838 # and sets the high bit in the cache file unless we assign to the vars.
   1839 (
   1840   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1841     eval ac_val=\$$ac_var
   1842     case $ac_val in #(
   1843     *${as_nl}*)
   1844       case $ac_var in #(
   1845       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1846 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1847       esac
   1848       case $ac_var in #(
   1849       _ | IFS | as_nl) ;; #(
   1850       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1851       *) { eval $ac_var=; unset $ac_var;} ;;
   1852       esac ;;
   1853     esac
   1854   done
   1855 
   1856   (set) 2>&1 |
   1857     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1858     *${as_nl}ac_space=\ *)
   1859       # 'set' does not quote correctly, so add quotes: double-quote
   1860       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1861       sed -n \
   1862 	"s/'/'\\\\''/g;
   1863 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1864       ;; #(
   1865     *)
   1866       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1867       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1868       ;;
   1869     esac |
   1870     sort
   1871 )
   1872 }
   1873 
   1874 # Print debugging info to stdout.
   1875 ac_dump_debugging_info ()
   1876 {
   1877   echo
   1878 
   1879   printf '%s\n' "## ---------------- ##
   1880 ## Cache variables. ##
   1881 ## ---------------- ##"
   1882   echo
   1883   ac_cache_dump
   1884   echo
   1885 
   1886   printf '%s\n' "## ----------------- ##
   1887 ## Output variables. ##
   1888 ## ----------------- ##"
   1889   echo
   1890   for ac_var in $ac_subst_vars
   1891   do
   1892     eval ac_val=\$$ac_var
   1893     case $ac_val in
   1894     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1895     esac
   1896     printf '%s\n' "$ac_var='$ac_val'"
   1897   done | sort
   1898   echo
   1899 
   1900   if test -n "$ac_subst_files"; then
   1901     printf '%s\n' "## ------------------- ##
   1902 ## File substitutions. ##
   1903 ## ------------------- ##"
   1904     echo
   1905     for ac_var in $ac_subst_files
   1906     do
   1907       eval ac_val=\$$ac_var
   1908       case $ac_val in
   1909       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1910       esac
   1911       printf '%s\n' "$ac_var='$ac_val'"
   1912     done | sort
   1913     echo
   1914   fi
   1915 
   1916   if test -s confdefs.h; then
   1917     printf '%s\n' "## ----------- ##
   1918 ## confdefs.h. ##
   1919 ## ----------- ##"
   1920     echo
   1921     cat confdefs.h
   1922     echo
   1923   fi
   1924   test "$ac_signal" != 0 &&
   1925     printf '%s\n' "$as_me: caught signal $ac_signal"
   1926   printf '%s\n' "$as_me: exit $exit_status"
   1927 }
   1928 
   1929 # When interrupted or exit'd, cleanup temporary files, and complete
   1930 # config.log.
   1931 ac_exit_trap ()
   1932 {
   1933   exit_status=
   1934   # Sanitize IFS.
   1935   IFS=" ""	$as_nl"
   1936   # Save into config.log some information that might help in debugging.
   1937   ac_dump_debugging_info >&5
   1938   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1939     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1940     exit $exit_status
   1941 }
   1942 
   1943 trap 'ac_exit_trap $?' 0
   1944 for ac_signal in 1 2 13 15; do
   1945   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1946 done
   1947 ac_signal=0
   1948 
   1949 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1950 rm -f -r conftest* confdefs.h
   1951 
   1952 printf '%s\n' "/* confdefs.h */" > confdefs.h
   1953 
   1954 # Predefined preprocessor variables.
   1955 
   1956 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1957 
   1958 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1959 
   1960 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1961 
   1962 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1963 
   1964 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1965 
   1966 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1967 
   1968 
   1969 # Let the site file select an alternate cache file if it wants to.
   1970 # Prefer an explicitly selected file to automatically selected ones.
   1971 if test -n "$CONFIG_SITE"; then
   1972   ac_site_files="$CONFIG_SITE"
   1973 elif test "x$prefix" != xNONE; then
   1974   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1975 else
   1976   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1977 fi
   1978 
   1979 for ac_site_file in $ac_site_files
   1980 do
   1981   case $ac_site_file in #(
   1982   */*) :
   1983      ;; #(
   1984   *) :
   1985     ac_site_file=./$ac_site_file ;;
   1986 esac
   1987   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1988     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1989 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   1990     sed 's/^/| /' "$ac_site_file" >&5
   1991     . "$ac_site_file" \
   1992       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1993 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   1994 as_fn_error $? "failed to load site script $ac_site_file
   1995 See 'config.log' for more details" "$LINENO" 5; }
   1996   fi
   1997 done
   1998 
   1999 if test -r "$cache_file"; then
   2000   # Some versions of bash will fail to source /dev/null (special files
   2001   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2002   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2003     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2004 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2005     case $cache_file in
   2006       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2007       *)                      . "./$cache_file";;
   2008     esac
   2009   fi
   2010 else
   2011   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2012 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2013   >$cache_file
   2014 fi
   2015 
   2016 # Test code for whether the C compiler supports C23 (global declarations)
   2017 ac_c_conftest_c23_globals='
   2018 /* Does the compiler advertise conformance to C17 or earlier?
   2019    Although GCC 14 does not do that, even with -std=gnu23,
   2020    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2021 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2022 # error "Compiler advertises conformance to C17 or earlier"
   2023 #endif
   2024 
   2025 // Check alignas.
   2026 char alignas (double) c23_aligned_as_double;
   2027 char alignas (0) c23_no_special_alignment;
   2028 extern char c23_aligned_as_int;
   2029 char alignas (0) alignas (int) c23_aligned_as_int;
   2030 
   2031 // Check alignof.
   2032 enum
   2033 {
   2034   c23_int_alignment = alignof (int),
   2035   c23_int_array_alignment = alignof (int[100]),
   2036   c23_char_alignment = alignof (char)
   2037 };
   2038 static_assert (0 < -alignof (int), "alignof is signed");
   2039 
   2040 int function_with_unnamed_parameter (int) { return 0; }
   2041 
   2042 void c23_noreturn ();
   2043 
   2044 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2045    The parens pacify GCC 15.  */
   2046 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2047 
   2048 bool check_that_bool_works = true | false | !nullptr;
   2049 #if !true
   2050 # error "true does not work in #if"
   2051 #endif
   2052 #if false
   2053 #elifdef __STDC_VERSION__
   2054 #else
   2055 # error "#elifdef does not work"
   2056 #endif
   2057 
   2058 #ifndef __has_c_attribute
   2059 # error "__has_c_attribute not defined"
   2060 #endif
   2061 
   2062 #ifndef __has_include
   2063 # error "__has_include not defined"
   2064 #endif
   2065 
   2066 #define LPAREN() (
   2067 #define FORTY_TWO(x) 42
   2068 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2069 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2070 
   2071 static_assert (0b101010 == 42);
   2072 static_assert (0B101010 == 42);
   2073 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2074 static_assert (0.500'\''000'\''000 == 0.5);
   2075 
   2076 enum unsignedish : unsigned int { uione = 1 };
   2077 static_assert (0 < -uione);
   2078 
   2079 #include <stddef.h>
   2080 constexpr nullptr_t null_pointer = nullptr;
   2081 
   2082 static typeof (1 + 1L) two () { return 2; }
   2083 static long int three () { return 3; }
   2084 '
   2085 
   2086 # Test code for whether the C compiler supports C23 (body of main).
   2087 ac_c_conftest_c23_main='
   2088   {
   2089     label_before_declaration:
   2090       int arr[10] = {};
   2091       if (arr[0])
   2092         goto label_before_declaration;
   2093       if (!arr[0])
   2094         goto label_at_end_of_block;
   2095     label_at_end_of_block:
   2096   }
   2097   ok |= !null_pointer;
   2098   ok |= two != three;
   2099 '
   2100 
   2101 # Test code for whether the C compiler supports C23 (complete).
   2102 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2103 
   2104 int
   2105 main (int, char **)
   2106 {
   2107   int ok = 0;
   2108   ${ac_c_conftest_c23_main}
   2109   return ok;
   2110 }
   2111 "
   2112 
   2113 # Test code for whether the C compiler supports C89 (global declarations)
   2114 ac_c_conftest_c89_globals='
   2115 /* Do not test the value of __STDC__, because some compilers define it to 0
   2116    or do not define it, while otherwise adequately conforming.  */
   2117 
   2118 #include <stddef.h>
   2119 #include <stdarg.h>
   2120 struct stat;
   2121 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2122 struct buf { int x; };
   2123 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2124 static char *e (char **p, int i)
   2125 {
   2126   return p[i];
   2127 }
   2128 static char *f (char * (*g) (char **, int), char **p, ...)
   2129 {
   2130   char *s;
   2131   va_list v;
   2132   va_start (v,p);
   2133   s = g (p, va_arg (v,int));
   2134   va_end (v);
   2135   return s;
   2136 }
   2137 
   2138 /* C89 style stringification. */
   2139 #define noexpand_stringify(a) #a
   2140 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2141 
   2142 /* C89 style token pasting.  Exercises some of the corner cases that
   2143    e.g. old MSVC gets wrong, but not very hard. */
   2144 #define noexpand_concat(a,b) a##b
   2145 #define expand_concat(a,b) noexpand_concat(a,b)
   2146 extern int vA;
   2147 extern int vbee;
   2148 #define aye A
   2149 #define bee B
   2150 int *pvA = &expand_concat(v,aye);
   2151 int *pvbee = &noexpand_concat(v,bee);
   2152 
   2153 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2154    function prototypes and stuff, but not \xHH hex character constants.
   2155    These do not provoke an error unfortunately, instead are silently treated
   2156    as an "x".  The following induces an error, until -std is added to get
   2157    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2158    array size at least.  It is necessary to write \x00 == 0 to get something
   2159    that is true only with -std.  */
   2160 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2161 
   2162 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2163    inside strings and character constants.  */
   2164 #define FOO(x) '\''x'\''
   2165 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2166 
   2167 int test (int i, double x);
   2168 struct s1 {int (*f) (int a);};
   2169 struct s2 {int (*f) (double a);};
   2170 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2171                int, int);'
   2172 
   2173 # Test code for whether the C compiler supports C89 (body of main).
   2174 ac_c_conftest_c89_main='
   2175 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2176 '
   2177 
   2178 # Test code for whether the C compiler supports C99 (global declarations)
   2179 ac_c_conftest_c99_globals='
   2180 /* Does the compiler advertise C99 conformance? */
   2181 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2182 # error "Compiler does not advertise C99 conformance"
   2183 #endif
   2184 
   2185 // See if C++-style comments work.
   2186 
   2187 #include <stdbool.h>
   2188 extern int puts (const char *);
   2189 extern int printf (const char *, ...);
   2190 extern int dprintf (int, const char *, ...);
   2191 extern void *malloc (size_t);
   2192 extern void free (void *);
   2193 
   2194 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2195 // dprintf is used instead of fprintf to avoid needing to declare
   2196 // FILE and stderr, and "aND" is used instead of "and" to work around
   2197 // GCC bug 40564 which is irrelevant here.
   2198 #define debug(...) dprintf (2, __VA_ARGS__)
   2199 #define showlist(...) puts (#__VA_ARGS__)
   2200 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2201 static void
   2202 test_varargs_macros (void)
   2203 {
   2204   int x = 1234;
   2205   int y = 5678;
   2206   debug ("Flag");
   2207   debug ("X = %d\n", x);
   2208   showlist (The first, second, aND third items.);
   2209   report (x>y, "x is %d but y is %d", x, y);
   2210 }
   2211 
   2212 // Check long long types.
   2213 #define BIG64 18446744073709551615ull
   2214 #define BIG32 4294967295ul
   2215 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2216 #if !BIG_OK
   2217   #error "your preprocessor is broken"
   2218 #endif
   2219 #if BIG_OK
   2220 #else
   2221   #error "your preprocessor is broken"
   2222 #endif
   2223 static long long int bignum = -9223372036854775807LL;
   2224 static unsigned long long int ubignum = BIG64;
   2225 
   2226 struct incomplete_array
   2227 {
   2228   int datasize;
   2229   double data[];
   2230 };
   2231 
   2232 struct named_init {
   2233   int number;
   2234   const wchar_t *name;
   2235   double average;
   2236 };
   2237 
   2238 typedef const char *ccp;
   2239 
   2240 static inline int
   2241 test_restrict (ccp restrict text)
   2242 {
   2243   // Iterate through items via the restricted pointer.
   2244   // Also check for declarations in for loops.
   2245   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2246     continue;
   2247   return 0;
   2248 }
   2249 
   2250 // Check varargs and va_copy.
   2251 static bool
   2252 test_varargs (const char *format, ...)
   2253 {
   2254   va_list args;
   2255   va_start (args, format);
   2256   va_list args_copy;
   2257   va_copy (args_copy, args);
   2258 
   2259   const char *str = "";
   2260   int number = 0;
   2261   float fnumber = 0;
   2262 
   2263   while (*format)
   2264     {
   2265       switch (*format++)
   2266 	{
   2267 	case '\''s'\'': // string
   2268 	  str = va_arg (args_copy, const char *);
   2269 	  break;
   2270 	case '\''d'\'': // int
   2271 	  number = va_arg (args_copy, int);
   2272 	  break;
   2273 	case '\''f'\'': // float
   2274 	  fnumber = va_arg (args_copy, double);
   2275 	  break;
   2276 	default:
   2277 	  break;
   2278 	}
   2279     }
   2280   va_end (args_copy);
   2281   va_end (args);
   2282 
   2283   return *str && number && fnumber;
   2284 }
   2285 '
   2286 
   2287 # Test code for whether the C compiler supports C99 (body of main).
   2288 ac_c_conftest_c99_main='
   2289   // Check bool.
   2290   _Bool success = false;
   2291   success |= (argc != 0);
   2292 
   2293   // Check restrict.
   2294   if (test_restrict ("String literal") == 0)
   2295     success = true;
   2296   const char *restrict newvar = "Another string";
   2297 
   2298   // Check varargs.
   2299   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2300   test_varargs_macros ();
   2301 
   2302   // Check flexible array members.
   2303   static struct incomplete_array *volatile incomplete_array_pointer;
   2304   struct incomplete_array *ia = incomplete_array_pointer;
   2305   ia->datasize = 10;
   2306   for (int i = 0; i < ia->datasize; ++i)
   2307     ia->data[i] = i * 1.234;
   2308   // Work around memory leak warnings.
   2309   free (ia);
   2310 
   2311   // Check named initializers.
   2312   struct named_init ni = {
   2313     .number = 34,
   2314     .name = L"Test wide string",
   2315     .average = 543.34343,
   2316   };
   2317 
   2318   ni.number = 58;
   2319 
   2320   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2321   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2322 
   2323   // work around unused variable warnings
   2324   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2325 	 || ni.number != 58);
   2326 '
   2327 
   2328 # Test code for whether the C compiler supports C11 (global declarations)
   2329 ac_c_conftest_c11_globals='
   2330 /* Does the compiler advertise C11 conformance? */
   2331 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2332 # error "Compiler does not advertise C11 conformance"
   2333 #endif
   2334 
   2335 // Check _Alignas.
   2336 char _Alignas (double) aligned_as_double;
   2337 char _Alignas (0) no_special_alignment;
   2338 extern char aligned_as_int;
   2339 char _Alignas (0) _Alignas (int) aligned_as_int;
   2340 
   2341 // Check _Alignof.
   2342 enum
   2343 {
   2344   int_alignment = _Alignof (int),
   2345   int_array_alignment = _Alignof (int[100]),
   2346   char_alignment = _Alignof (char)
   2347 };
   2348 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2349 
   2350 // Check _Noreturn.
   2351 int _Noreturn does_not_return (void) { for (;;) continue; }
   2352 
   2353 // Check _Static_assert.
   2354 struct test_static_assert
   2355 {
   2356   int x;
   2357   _Static_assert (sizeof (int) <= sizeof (long int),
   2358                   "_Static_assert does not work in struct");
   2359   long int y;
   2360 };
   2361 
   2362 // Check UTF-8 literals.
   2363 #define u8 syntax error!
   2364 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2365 
   2366 // Check duplicate typedefs.
   2367 typedef long *long_ptr;
   2368 typedef long int *long_ptr;
   2369 typedef long_ptr long_ptr;
   2370 
   2371 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2372 struct anonymous
   2373 {
   2374   union {
   2375     struct { int i; int j; };
   2376     struct { int k; long int l; } w;
   2377   };
   2378   int m;
   2379 } v1;
   2380 '
   2381 
   2382 # Test code for whether the C compiler supports C11 (body of main).
   2383 ac_c_conftest_c11_main='
   2384   _Static_assert ((offsetof (struct anonymous, i)
   2385 		   == offsetof (struct anonymous, w.k)),
   2386 		  "Anonymous union alignment botch");
   2387   v1.i = 2;
   2388   v1.w.k = 5;
   2389   ok |= v1.i != 5;
   2390 '
   2391 
   2392 # Test code for whether the C compiler supports C11 (complete).
   2393 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2394 ${ac_c_conftest_c99_globals}
   2395 ${ac_c_conftest_c11_globals}
   2396 
   2397 int
   2398 main (int argc, char **argv)
   2399 {
   2400   int ok = 0;
   2401   ${ac_c_conftest_c89_main}
   2402   ${ac_c_conftest_c99_main}
   2403   ${ac_c_conftest_c11_main}
   2404   return ok;
   2405 }
   2406 "
   2407 
   2408 # Test code for whether the C compiler supports C99 (complete).
   2409 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2410 ${ac_c_conftest_c99_globals}
   2411 
   2412 int
   2413 main (int argc, char **argv)
   2414 {
   2415   int ok = 0;
   2416   ${ac_c_conftest_c89_main}
   2417   ${ac_c_conftest_c99_main}
   2418   return ok;
   2419 }
   2420 "
   2421 
   2422 # Test code for whether the C compiler supports C89 (complete).
   2423 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2424 
   2425 int
   2426 main (int argc, char **argv)
   2427 {
   2428   int ok = 0;
   2429   ${ac_c_conftest_c89_main}
   2430   return ok;
   2431 }
   2432 "
   2433 
   2434 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2435 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2436 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2437 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2438 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2439 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2440 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2441 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2442 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2443 
   2444 # Auxiliary files required by this configure script.
   2445 ac_aux_files="config.guess config.sub compile missing install-sh"
   2446 
   2447 # Locations in which to look for auxiliary files.
   2448 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2449 
   2450 # Search for a directory containing all of the required auxiliary files,
   2451 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2452 # If we don't find one directory that contains all the files we need,
   2453 # we report the set of missing files from the *first* directory in
   2454 # $ac_aux_dir_candidates and give up.
   2455 ac_missing_aux_files=""
   2456 ac_first_candidate=:
   2457 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2459 as_found=false
   2460 for as_dir in $ac_aux_dir_candidates
   2461 do
   2462   IFS=$as_save_IFS
   2463   case $as_dir in #(((
   2464     '') as_dir=./ ;;
   2465     */) ;;
   2466     *) as_dir=$as_dir/ ;;
   2467   esac
   2468   as_found=:
   2469 
   2470   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2471   ac_aux_dir_found=yes
   2472   ac_install_sh=
   2473   for ac_aux in $ac_aux_files
   2474   do
   2475     # As a special case, if "install-sh" is required, that requirement
   2476     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2477     # and $ac_install_sh is set appropriately for whichever one is found.
   2478     if test x"$ac_aux" = x"install-sh"
   2479     then
   2480       if test -f "${as_dir}install-sh"; then
   2481         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2482         ac_install_sh="${as_dir}install-sh -c"
   2483       elif test -f "${as_dir}install.sh"; then
   2484         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2485         ac_install_sh="${as_dir}install.sh -c"
   2486       elif test -f "${as_dir}shtool"; then
   2487         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2488         ac_install_sh="${as_dir}shtool install -c"
   2489       else
   2490         ac_aux_dir_found=no
   2491         if $ac_first_candidate; then
   2492           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2493         else
   2494           break
   2495         fi
   2496       fi
   2497     else
   2498       if test -f "${as_dir}${ac_aux}"; then
   2499         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2500       else
   2501         ac_aux_dir_found=no
   2502         if $ac_first_candidate; then
   2503           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2504         else
   2505           break
   2506         fi
   2507       fi
   2508     fi
   2509   done
   2510   if test "$ac_aux_dir_found" = yes; then
   2511     ac_aux_dir="$as_dir"
   2512     break
   2513   fi
   2514   ac_first_candidate=false
   2515 
   2516   as_found=false
   2517 done
   2518 IFS=$as_save_IFS
   2519 if $as_found
   2520 then :
   2521 
   2522 else case e in #(
   2523   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2524 esac
   2525 fi
   2526 
   2527 
   2528 # These three variables are undocumented and unsupported,
   2529 # and are intended to be withdrawn in a future Autoconf release.
   2530 # They can cause serious problems if a builder's source tree is in a directory
   2531 # whose full name contains unusual characters.
   2532 if test -f "${ac_aux_dir}config.guess"; then
   2533   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2534 fi
   2535 if test -f "${ac_aux_dir}config.sub"; then
   2536   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2537 fi
   2538 if test -f "$ac_aux_dir/configure"; then
   2539   ac_configure="$SHELL ${ac_aux_dir}configure"
   2540 fi
   2541 
   2542 # Check that the precious variables saved in the cache have kept the same
   2543 # value.
   2544 ac_cache_corrupted=false
   2545 for ac_var in $ac_precious_vars; do
   2546   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2547   eval ac_new_set=\$ac_env_${ac_var}_set
   2548   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2549   eval ac_new_val=\$ac_env_${ac_var}_value
   2550   case $ac_old_set,$ac_new_set in
   2551     set,)
   2552       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2553 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2554       ac_cache_corrupted=: ;;
   2555     ,set)
   2556       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2557 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2558       ac_cache_corrupted=: ;;
   2559     ,);;
   2560     *)
   2561       if test "x$ac_old_val" != "x$ac_new_val"; then
   2562 	# differences in whitespace do not lead to failure.
   2563 	ac_old_val_w=
   2564 	for ac_val in x $ac_old_val; do
   2565 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2566 	done
   2567 	ac_new_val_w=
   2568 	for ac_val in x $ac_new_val; do
   2569 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2570 	done
   2571 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2572 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2573 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2574 	  ac_cache_corrupted=:
   2575 	else
   2576 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2577 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2578 	  eval $ac_var=\$ac_old_val
   2579 	fi
   2580 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2581 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2582 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2583 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2584       fi;;
   2585   esac
   2586   # Pass precious variables to config.status.
   2587   if test "$ac_new_set" = set; then
   2588     case $ac_new_val in
   2589     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2590     *) ac_arg=$ac_var=$ac_new_val ;;
   2591     esac
   2592     case " $ac_configure_args " in
   2593       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2594       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2595     esac
   2596   fi
   2597 done
   2598 if $ac_cache_corrupted; then
   2599   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2600 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2602 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2603   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2604 	    and start over" "$LINENO" 5
   2605 fi
   2606 ## -------------------- ##
   2607 ## Main body of script. ##
   2608 ## -------------------- ##
   2609 
   2610 
   2611 # Determine whether it's possible to make 'echo' print without a newline.
   2612 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2613 # for compatibility with existing Makefiles.
   2614 ECHO_C= ECHO_N= ECHO_T=
   2615 case `echo -n x` in #(((((
   2616 -n*)
   2617   case `echo 'xy\c'` in
   2618   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2619   xy)  ECHO_C='\c';;
   2620   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2621        ECHO_T='	';;
   2622   esac;;
   2623 *)
   2624   ECHO_N='-n';;
   2625 esac
   2626 
   2627 ac_ext=c
   2628 ac_cpp='$CPP $CPPFLAGS'
   2629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2632 
   2633 
   2634 
   2635 ac_config_headers="$ac_config_headers config.h"
   2636 
   2637 
   2638 # Initialize Automake
   2639 am__api_version='1.18'
   2640 
   2641 
   2642 
   2643   # Find a good install program.  We prefer a C program (faster),
   2644 # so one script is as good as another.  But avoid the broken or
   2645 # incompatible versions:
   2646 # SysV /etc/install, /usr/sbin/install
   2647 # SunOS /usr/etc/install
   2648 # IRIX /sbin/install
   2649 # AIX /bin/install
   2650 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2651 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2652 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2653 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2654 # OS/2's system install, which has a completely different semantic
   2655 # ./install, which can be erroneously created by make from ./install.sh.
   2656 # Reject install programs that cannot install multiple files.
   2657 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2658 printf %s "checking for a BSD-compatible install... " >&6; }
   2659 if test -z "$INSTALL"; then
   2660 if test ${ac_cv_path_install+y}
   2661 then :
   2662   printf %s "(cached) " >&6
   2663 else case e in #(
   2664   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2665 for as_dir in $PATH
   2666 do
   2667   IFS=$as_save_IFS
   2668   case $as_dir in #(((
   2669     '') as_dir=./ ;;
   2670     */) ;;
   2671     *) as_dir=$as_dir/ ;;
   2672   esac
   2673     # Account for fact that we put trailing slashes in our PATH walk.
   2674 case $as_dir in #((
   2675   ./ | /[cC]/* | \
   2676   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2677   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2678   /usr/ucb/* ) ;;
   2679   *)
   2680     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2681     # Don't use installbsd from OSF/1 since it installs stuff as root
   2682     # by default.
   2683     for ac_prog in ginstall scoinst install; do
   2684       for ac_exec_ext in '' $ac_executable_extensions; do
   2685 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2686 	  if test $ac_prog = install &&
   2687 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2688 	    # AIX install.  It has an incompatible calling convention.
   2689 	    :
   2690 	  elif test $ac_prog = install &&
   2691 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2692 	    # program-specific install script used by HP pwplus--don't use.
   2693 	    :
   2694 	  else
   2695 	    rm -rf conftest.one conftest.two conftest.dir
   2696 	    echo one > conftest.one
   2697 	    echo two > conftest.two
   2698 	    mkdir conftest.dir
   2699 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2700 	      test -s conftest.one && test -s conftest.two &&
   2701 	      test -s conftest.dir/conftest.one &&
   2702 	      test -s conftest.dir/conftest.two
   2703 	    then
   2704 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2705 	      break 3
   2706 	    fi
   2707 	  fi
   2708 	fi
   2709       done
   2710     done
   2711     ;;
   2712 esac
   2713 
   2714   done
   2715 IFS=$as_save_IFS
   2716 
   2717 rm -rf conftest.one conftest.two conftest.dir
   2718  ;;
   2719 esac
   2720 fi
   2721   if test ${ac_cv_path_install+y}; then
   2722     INSTALL=$ac_cv_path_install
   2723   else
   2724     # As a last resort, use the slow shell script.  Don't cache a
   2725     # value for INSTALL within a source directory, because that will
   2726     # break other packages using the cache if that directory is
   2727     # removed, or if the value is a relative name.
   2728     INSTALL=$ac_install_sh
   2729   fi
   2730 fi
   2731 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2732 printf '%s\n' "$INSTALL" >&6; }
   2733 
   2734 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2735 # It thinks the first close brace ends the variable substitution.
   2736 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2737 
   2738 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2739 
   2740 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2741 
   2742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2743 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2744 if test ${am_cv_sleep_fractional_seconds+y}
   2745 then :
   2746   printf %s "(cached) " >&6
   2747 else case e in #(
   2748   e) if sleep 0.001 2>/dev/null
   2749 then :
   2750   am_cv_sleep_fractional_seconds=yes
   2751 else case e in #(
   2752   e) am_cv_sleep_fractional_seconds=no ;;
   2753 esac
   2754 fi
   2755  ;;
   2756 esac
   2757 fi
   2758 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2759 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2760 
   2761 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2762 printf %s "checking filesystem timestamp resolution... " >&6; }
   2763 if test ${am_cv_filesystem_timestamp_resolution+y}
   2764 then :
   2765   printf %s "(cached) " >&6
   2766 else case e in #(
   2767   e) # Default to the worst case.
   2768 am_cv_filesystem_timestamp_resolution=2
   2769 
   2770 # Only try to go finer than 1 sec if sleep can do it.
   2771 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2772 # - 1 sec is not much of a win compared to 2 sec, and
   2773 # - it takes 2 seconds to perform the test whether 1 sec works.
   2774 #
   2775 # Instead, just use the default 2s on platforms that have 1s resolution,
   2776 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2777 # exchange for not incurring the 2s delay for running the test for all
   2778 # packages.
   2779 #
   2780 am_try_resolutions=
   2781 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2782   # Even a millisecond often causes a bunch of false positives,
   2783   # so just try a hundredth of a second. The time saved between .001 and
   2784   # .01 is not terribly consequential.
   2785   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2786 fi
   2787 
   2788 # In order to catch current-generation FAT out, we must *modify* files
   2789 # that already exist; the *creation* timestamp is finer.  Use names
   2790 # that make ls -t sort them differently when they have equal
   2791 # timestamps than when they have distinct timestamps, keeping
   2792 # in mind that ls -t prints the *newest* file first.
   2793 rm -f conftest.ts?
   2794 : > conftest.ts1
   2795 : > conftest.ts2
   2796 : > conftest.ts3
   2797 
   2798 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2799 # clobber the current shell's arguments. (Outer-level square brackets
   2800 # are removed by m4; they're present so that m4 does not expand
   2801 # <dollar><star>; be careful, easy to get confused.)
   2802 if (
   2803      set X `ls -t conftest.ts[12]` &&
   2804      {
   2805        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2806        test "$*" != "X conftest.ts2 conftest.ts1";
   2807      }
   2808 ); then :; else
   2809   # If neither matched, then we have a broken ls.  This can happen
   2810   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2811   # broken ls alias from the environment.  This has actually
   2812   # happened.  Such a system could not be considered "sane".
   2813   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2814   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2815 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2816 as_fn_error $? "ls -t produces unexpected output.
   2817 Make sure there is not a broken ls alias in your environment.
   2818 See 'config.log' for more details" "$LINENO" 5; }
   2819 fi
   2820 
   2821 for am_try_res in $am_try_resolutions; do
   2822   # Any one fine-grained sleep might happen to cross the boundary
   2823   # between two values of a coarser actual resolution, but if we do
   2824   # two fine-grained sleeps in a row, at least one of them will fall
   2825   # entirely within a coarse interval.
   2826   echo alpha > conftest.ts1
   2827   sleep $am_try_res
   2828   echo beta > conftest.ts2
   2829   sleep $am_try_res
   2830   echo gamma > conftest.ts3
   2831 
   2832   # We assume that 'ls -t' will make use of high-resolution
   2833   # timestamps if the operating system supports them at all.
   2834   if (set X `ls -t conftest.ts?` &&
   2835       test "$2" = conftest.ts3 &&
   2836       test "$3" = conftest.ts2 &&
   2837       test "$4" = conftest.ts1); then
   2838     #
   2839     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2840     # because we don't need to test make.
   2841     make_ok=true
   2842     if test $am_try_res != 1; then
   2843       # But if we've succeeded so far with a subsecond resolution, we
   2844       # have one more thing to check: make. It can happen that
   2845       # everything else supports the subsecond mtimes, but make doesn't;
   2846       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2847       # released under GPLv2). https://bugs.gnu.org/68808
   2848       #
   2849       # We test $MAKE if it is defined in the environment, else "make".
   2850       # It might get overridden later, but our hope is that in practice
   2851       # it does not matter: it is the system "make" which is (by far)
   2852       # the most likely to be broken, whereas if the user overrides it,
   2853       # probably they did so with a better, or at least not worse, make.
   2854       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2855       #
   2856       # Create a Makefile (real tab character here):
   2857       rm -f conftest.mk
   2858       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2859       echo '	touch conftest.ts2' >>conftest.mk
   2860       #
   2861       # Now, running
   2862       #   touch conftest.ts1; touch conftest.ts2; make
   2863       # should touch ts1 because ts2 is newer. This could happen by luck,
   2864       # but most often, it will fail if make's support is insufficient. So
   2865       # test for several consecutive successes.
   2866       #
   2867       # (We reuse conftest.ts[12] because we still want to modify existing
   2868       # files, not create new ones, per above.)
   2869       n=0
   2870       make=${MAKE-make}
   2871       until test $n -eq 3; do
   2872         echo one > conftest.ts1
   2873         sleep $am_try_res
   2874         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2875         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2876           make_ok=false
   2877           break # out of $n loop
   2878         fi
   2879         n=`expr $n + 1`
   2880       done
   2881     fi
   2882     #
   2883     if $make_ok; then
   2884       # Everything we know to check worked out, so call this resolution good.
   2885       am_cv_filesystem_timestamp_resolution=$am_try_res
   2886       break # out of $am_try_res loop
   2887     fi
   2888     # Otherwise, we'll go on to check the next resolution.
   2889   fi
   2890 done
   2891 rm -f conftest.ts?
   2892 # (end _am_filesystem_timestamp_resolution)
   2893  ;;
   2894 esac
   2895 fi
   2896 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2897 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   2898 
   2899 # This check should not be cached, as it may vary across builds of
   2900 # different projects.
   2901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2902 printf %s "checking whether build environment is sane... " >&6; }
   2903 # Reject unsafe characters in $srcdir or the absolute working directory
   2904 # name.  Accept space and tab only in the latter.
   2905 am_lf='
   2906 '
   2907 case `pwd` in
   2908   *[\\\"\#\$\&\'\`$am_lf]*)
   2909     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2910 printf '%s\n' "no" >&6; }
   2911     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2912 esac
   2913 case $srcdir in
   2914   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2915     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 printf '%s\n' "no" >&6; }
   2917     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2918 esac
   2919 
   2920 # Do 'set' in a subshell so we don't clobber the current shell's
   2921 # arguments.  Must try -L first in case configure is actually a
   2922 # symlink; some systems play weird games with the mod time of symlinks
   2923 # (eg FreeBSD returns the mod time of the symlink's containing
   2924 # directory).
   2925 am_build_env_is_sane=no
   2926 am_has_slept=no
   2927 rm -f conftest.file
   2928 for am_try in 1 2; do
   2929   echo "timestamp, slept: $am_has_slept" > conftest.file
   2930   if (
   2931     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2932     if test "$*" = "X"; then
   2933       # -L didn't work.
   2934       set X `ls -t "$srcdir/configure" conftest.file`
   2935     fi
   2936     test "$2" = conftest.file
   2937   ); then
   2938     am_build_env_is_sane=yes
   2939     break
   2940   fi
   2941   # Just in case.
   2942   sleep "$am_cv_filesystem_timestamp_resolution"
   2943   am_has_slept=yes
   2944 done
   2945 
   2946 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2947 printf '%s\n' "$am_build_env_is_sane" >&6; }
   2948 if test "$am_build_env_is_sane" = no; then
   2949   as_fn_error $? "newly created file is older than distributed files!
   2950 Check your system clock" "$LINENO" 5
   2951 fi
   2952 
   2953 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2954 # generated files are strictly newer.
   2955 am_sleep_pid=
   2956 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2957 then :
   2958 
   2959 else case e in #(
   2960   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2961   am_sleep_pid=$!
   2962  ;;
   2963 esac
   2964 fi
   2965 
   2966 rm -f conftest.file
   2967 
   2968 test "$program_prefix" != NONE &&
   2969   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2970 # Use a double $ so make ignores it.
   2971 test "$program_suffix" != NONE &&
   2972   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2973 # Double any \ or $.
   2974 # By default was 's,x,x', remove it if useless.
   2975 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2976 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   2977 
   2978 
   2979 # Expand $ac_aux_dir to an absolute path.
   2980 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2981 
   2982 
   2983   if test x"${MISSING+set}" != xset; then
   2984   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2985 fi
   2986 # Use eval to expand $SHELL
   2987 if eval "$MISSING --is-lightweight"; then
   2988   am_missing_run="$MISSING "
   2989 else
   2990   am_missing_run=
   2991   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2992 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2993 fi
   2994 
   2995 if test x"${install_sh+set}" != xset; then
   2996   case $am_aux_dir in
   2997   *\ * | *\	*)
   2998     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2999   *)
   3000     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3001   esac
   3002 fi
   3003 
   3004 # Installed binaries are usually stripped using 'strip' when the user
   3005 # run "make install-strip".  However 'strip' might not be the right
   3006 # tool to use in cross-compilation environments, therefore Automake
   3007 # will honor the 'STRIP' environment variable to overrule this program.
   3008 if test "$cross_compiling" != no; then
   3009   if test -n "$ac_tool_prefix"; then
   3010   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3011 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3012 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3013 printf %s "checking for $ac_word... " >&6; }
   3014 if test ${ac_cv_prog_STRIP+y}
   3015 then :
   3016   printf %s "(cached) " >&6
   3017 else case e in #(
   3018   e) if test -n "$STRIP"; then
   3019   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3020 else
   3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3022 for as_dir in $PATH
   3023 do
   3024   IFS=$as_save_IFS
   3025   case $as_dir in #(((
   3026     '') as_dir=./ ;;
   3027     */) ;;
   3028     *) as_dir=$as_dir/ ;;
   3029   esac
   3030     for ac_exec_ext in '' $ac_executable_extensions; do
   3031   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3032     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3033     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3034     break 2
   3035   fi
   3036 done
   3037   done
   3038 IFS=$as_save_IFS
   3039 
   3040 fi ;;
   3041 esac
   3042 fi
   3043 STRIP=$ac_cv_prog_STRIP
   3044 if test -n "$STRIP"; then
   3045   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3046 printf '%s\n' "$STRIP" >&6; }
   3047 else
   3048   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3049 printf '%s\n' "no" >&6; }
   3050 fi
   3051 
   3052 
   3053 fi
   3054 if test -z "$ac_cv_prog_STRIP"; then
   3055   ac_ct_STRIP=$STRIP
   3056   # Extract the first word of "strip", so it can be a program name with args.
   3057 set dummy strip; ac_word=$2
   3058 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3059 printf %s "checking for $ac_word... " >&6; }
   3060 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3061 then :
   3062   printf %s "(cached) " >&6
   3063 else case e in #(
   3064   e) if test -n "$ac_ct_STRIP"; then
   3065   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3066 else
   3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3068 for as_dir in $PATH
   3069 do
   3070   IFS=$as_save_IFS
   3071   case $as_dir in #(((
   3072     '') as_dir=./ ;;
   3073     */) ;;
   3074     *) as_dir=$as_dir/ ;;
   3075   esac
   3076     for ac_exec_ext in '' $ac_executable_extensions; do
   3077   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3078     ac_cv_prog_ac_ct_STRIP="strip"
   3079     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3080     break 2
   3081   fi
   3082 done
   3083   done
   3084 IFS=$as_save_IFS
   3085 
   3086 fi ;;
   3087 esac
   3088 fi
   3089 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3090 if test -n "$ac_ct_STRIP"; then
   3091   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3092 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3093 else
   3094   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 printf '%s\n' "no" >&6; }
   3096 fi
   3097 
   3098   if test "x$ac_ct_STRIP" = x; then
   3099     STRIP=":"
   3100   else
   3101     case $cross_compiling:$ac_tool_warned in
   3102 yes:)
   3103 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3104 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3105 ac_tool_warned=yes ;;
   3106 esac
   3107     STRIP=$ac_ct_STRIP
   3108   fi
   3109 else
   3110   STRIP="$ac_cv_prog_STRIP"
   3111 fi
   3112 
   3113 fi
   3114 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3115 
   3116 
   3117   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3118 printf %s "checking for a race-free mkdir -p... " >&6; }
   3119 if test -z "$MKDIR_P"; then
   3120   if test ${ac_cv_path_mkdir+y}
   3121 then :
   3122   printf %s "(cached) " >&6
   3123 else case e in #(
   3124   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3125 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3126 do
   3127   IFS=$as_save_IFS
   3128   case $as_dir in #(((
   3129     '') as_dir=./ ;;
   3130     */) ;;
   3131     *) as_dir=$as_dir/ ;;
   3132   esac
   3133     for ac_prog in mkdir gmkdir; do
   3134 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3135 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3136 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3137 	     'mkdir ('*'coreutils) '* | \
   3138 	     *'BusyBox '* | \
   3139 	     'mkdir (fileutils) '4.1*)
   3140 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3141 	       break 3;;
   3142 	   esac
   3143 	 done
   3144        done
   3145   done
   3146 IFS=$as_save_IFS
   3147  ;;
   3148 esac
   3149 fi
   3150 
   3151   test -d ./--version && rmdir ./--version
   3152   if test ${ac_cv_path_mkdir+y}; then
   3153     MKDIR_P="$ac_cv_path_mkdir -p"
   3154   else
   3155     # As a last resort, use plain mkdir -p,
   3156     # in the hope it doesn't have the bugs of ancient mkdir.
   3157     MKDIR_P='mkdir -p'
   3158   fi
   3159 fi
   3160 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3161 printf '%s\n' "$MKDIR_P" >&6; }
   3162 
   3163 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3164 do
   3165   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3166 set dummy $ac_prog; ac_word=$2
   3167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3168 printf %s "checking for $ac_word... " >&6; }
   3169 if test ${ac_cv_prog_AWK+y}
   3170 then :
   3171   printf %s "(cached) " >&6
   3172 else case e in #(
   3173   e) if test -n "$AWK"; then
   3174   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3175 else
   3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3177 for as_dir in $PATH
   3178 do
   3179   IFS=$as_save_IFS
   3180   case $as_dir in #(((
   3181     '') as_dir=./ ;;
   3182     */) ;;
   3183     *) as_dir=$as_dir/ ;;
   3184   esac
   3185     for ac_exec_ext in '' $ac_executable_extensions; do
   3186   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3187     ac_cv_prog_AWK="$ac_prog"
   3188     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3189     break 2
   3190   fi
   3191 done
   3192   done
   3193 IFS=$as_save_IFS
   3194 
   3195 fi ;;
   3196 esac
   3197 fi
   3198 AWK=$ac_cv_prog_AWK
   3199 if test -n "$AWK"; then
   3200   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3201 printf '%s\n' "$AWK" >&6; }
   3202 else
   3203   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3204 printf '%s\n' "no" >&6; }
   3205 fi
   3206 
   3207 
   3208   test -n "$AWK" && break
   3209 done
   3210 
   3211 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3212 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3213 set x ${MAKE-make}
   3214 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3215 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3216 then :
   3217   printf %s "(cached) " >&6
   3218 else case e in #(
   3219   e) cat >conftest.make <<\_ACEOF
   3220 SHELL = /bin/sh
   3221 all:
   3222 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3223 _ACEOF
   3224 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3226   *@@@%%%=?*=@@@%%%*)
   3227     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3228   *)
   3229     eval ac_cv_prog_make_${ac_make}_set=no;;
   3230 esac
   3231 rm -f conftest.make ;;
   3232 esac
   3233 fi
   3234 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3235   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3236 printf '%s\n' "yes" >&6; }
   3237   SET_MAKE=
   3238 else
   3239   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3240 printf '%s\n' "no" >&6; }
   3241   SET_MAKE="MAKE=${MAKE-make}"
   3242 fi
   3243 
   3244 rm -rf .tst 2>/dev/null
   3245 mkdir .tst 2>/dev/null
   3246 if test -d .tst; then
   3247   am__leading_dot=.
   3248 else
   3249   am__leading_dot=_
   3250 fi
   3251 rmdir .tst 2>/dev/null
   3252 
   3253 AM_DEFAULT_VERBOSITY=1
   3254 # Check whether --enable-silent-rules was given.
   3255 if test ${enable_silent_rules+y}
   3256 then :
   3257   enableval=$enable_silent_rules;
   3258 fi
   3259 
   3260 am_make=${MAKE-make}
   3261 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3262 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3263 if test ${am_cv_make_support_nested_variables+y}
   3264 then :
   3265   printf %s "(cached) " >&6
   3266 else case e in #(
   3267   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3268 BAR0=false
   3269 BAR1=true
   3270 V=1
   3271 am__doit:
   3272 	@$(TRUE)
   3273 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3274   am_cv_make_support_nested_variables=yes
   3275 else
   3276   am_cv_make_support_nested_variables=no
   3277 fi ;;
   3278 esac
   3279 fi
   3280 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3281 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3282 AM_BACKSLASH='\'
   3283 
   3284 am__rm_f_notfound=
   3285 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3286 then :
   3287 
   3288 else case e in #(
   3289   e) am__rm_f_notfound='""' ;;
   3290 esac
   3291 fi
   3292 
   3293 
   3294 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3295 printf %s "checking xargs -n works... " >&6; }
   3296 if test ${am_cv_xargs_n_works+y}
   3297 then :
   3298   printf %s "(cached) " >&6
   3299 else case e in #(
   3300   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3301 3"
   3302 then :
   3303   am_cv_xargs_n_works=yes
   3304 else case e in #(
   3305   e) am_cv_xargs_n_works=no ;;
   3306 esac
   3307 fi ;;
   3308 esac
   3309 fi
   3310 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3311 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3312 if test "$am_cv_xargs_n_works" = yes
   3313 then :
   3314   am__xargs_n='xargs -n'
   3315 else case e in #(
   3316   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3317  ;;
   3318 esac
   3319 fi
   3320 
   3321 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3322   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3323   # is not polluted with repeated "-I."
   3324   am__isrc=' -I$(srcdir)'
   3325   # test to see if srcdir already configured
   3326   if test -f $srcdir/config.status; then
   3327     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3328   fi
   3329 fi
   3330 
   3331 # test whether we have cygpath
   3332 if test -z "$CYGPATH_W"; then
   3333   if (cygpath --version) >/dev/null 2>/dev/null; then
   3334     CYGPATH_W='cygpath -w'
   3335   else
   3336     CYGPATH_W=echo
   3337   fi
   3338 fi
   3339 
   3340 
   3341 # Define the identity of the package.
   3342  PACKAGE='xbiff'
   3343  VERSION='1.0.6'
   3344 
   3345 
   3346 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3347 
   3348 
   3349 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3350 
   3351 # Some tools Automake needs.
   3352 
   3353 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3354 
   3355 
   3356 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3357 
   3358 
   3359 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3360 
   3361 
   3362 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3363 
   3364 
   3365 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3366 
   3367 # For better backward compatibility.  To be removed once Automake 1.9.x
   3368 # dies out for good.  For more background, see:
   3369 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3370 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3371 mkdir_p='$(MKDIR_P)'
   3372 
   3373 # We need awk for the "check" target (and possibly the TAP driver).  The
   3374 # system "awk" is bad on some platforms.
   3375 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3376 # in the wild :-(  We should find a proper way to deprecate it ...
   3377 AMTAR='$${TAR-tar}'
   3378 
   3379 
   3380 # We'll loop over all known methods to create a tar archive until one works.
   3381 _am_tools='gnutar plaintar pax cpio none'
   3382 
   3383 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3384       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3385       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3386       # and bug#13588).
   3387       am_max_uid=2097151 # 2^21 - 1
   3388       am_max_gid=$am_max_uid
   3389       # The $UID and $GID variables are not portable, so we need to resort
   3390       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3391       # below are definitely unexpected, so allow the users to see them
   3392       # (that is, avoid stderr redirection).
   3393       am_uid=`id -u || echo unknown`
   3394       am_gid=`id -g || echo unknown`
   3395       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3396 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3397       if test x$am_uid = xunknown; then
   3398         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3399 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3400       elif test $am_uid -le $am_max_uid; 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       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3409 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3410       if test x$gm_gid = xunknown; then
   3411         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3412 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3413       elif test $am_gid -le $am_max_gid; then
   3414         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3415 printf '%s\n' "yes" >&6; }
   3416       else
   3417         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3418 printf '%s\n' "no" >&6; }
   3419         _am_tools=none
   3420       fi
   3421 
   3422   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3423 printf %s "checking how to create a ustar tar archive... " >&6; }
   3424 
   3425   # Go ahead even if we have the value already cached.  We do so because we
   3426   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3427   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3428 
   3429   for _am_tool in $_am_tools; do
   3430     case $_am_tool in
   3431     gnutar)
   3432       for _am_tar in tar gnutar gtar; do
   3433         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3434    ($_am_tar --version) >&5 2>&5
   3435    ac_status=$?
   3436    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3437    (exit $ac_status); } && break
   3438       done
   3439       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3440       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3441       am__untar="$_am_tar -xf -"
   3442       ;;
   3443     plaintar)
   3444       # Must skip GNU tar: if it does not support --format= it doesn't create
   3445       # ustar tarball either.
   3446       (tar --version) >/dev/null 2>&1 && continue
   3447       am__tar='tar chf - "$$tardir"'
   3448       am__tar_='tar chf - "$tardir"'
   3449       am__untar='tar xf -'
   3450       ;;
   3451     pax)
   3452       am__tar='pax -L -x ustar -w "$$tardir"'
   3453       am__tar_='pax -L -x ustar -w "$tardir"'
   3454       am__untar='pax -r'
   3455       ;;
   3456     cpio)
   3457       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3458       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3459       am__untar='cpio -i -H ustar -d'
   3460       ;;
   3461     none)
   3462       am__tar=false
   3463       am__tar_=false
   3464       am__untar=false
   3465       ;;
   3466     esac
   3467 
   3468     # If the value was cached, stop now.  We just wanted to have am__tar
   3469     # and am__untar set.
   3470     test -n "${am_cv_prog_tar_ustar}" && break
   3471 
   3472     # tar/untar a dummy directory, and stop if the command works.
   3473     rm -rf conftest.dir
   3474     mkdir conftest.dir
   3475     echo GrepMe > conftest.dir/file
   3476     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3477    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3478    ac_status=$?
   3479    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3480    (exit $ac_status); }
   3481     rm -rf conftest.dir
   3482     if test -s conftest.tar; then
   3483       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3484    ($am__untar <conftest.tar) >&5 2>&5
   3485    ac_status=$?
   3486    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3487    (exit $ac_status); }
   3488       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3489    (cat conftest.dir/file) >&5 2>&5
   3490    ac_status=$?
   3491    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3492    (exit $ac_status); }
   3493       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3494     fi
   3495   done
   3496   rm -rf conftest.dir
   3497 
   3498   if test ${am_cv_prog_tar_ustar+y}
   3499 then :
   3500   printf %s "(cached) " >&6
   3501 else case e in #(
   3502   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3503 esac
   3504 fi
   3505 
   3506   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3507 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3508 
   3509 
   3510 
   3511 
   3512 
   3513 # Variables for tags utilities; see am/tags.am
   3514 if test -z "$CTAGS"; then
   3515   CTAGS=ctags
   3516 fi
   3517 
   3518 if test -z "$ETAGS"; then
   3519   ETAGS=etags
   3520 fi
   3521 
   3522 if test -z "$CSCOPE"; then
   3523   CSCOPE=cscope
   3524 fi
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 
   3533 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3534 
   3535 
   3536 
   3537 
   3538 
   3539 
   3540 
   3541 
   3542 
   3543 
   3544 
   3545 
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 
   3557 DEPDIR="${am__leading_dot}deps"
   3558 
   3559 ac_config_commands="$ac_config_commands depfiles"
   3560 
   3561 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3562 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3563 cat > confinc.mk << 'END'
   3564 am__doit:
   3565 	@echo this is the am__doit target >confinc.out
   3566 .PHONY: am__doit
   3567 END
   3568 am__include="#"
   3569 am__quote=
   3570 # BSD make does it like this.
   3571 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3572 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3573 echo 'include confinc.mk # ignored' > confmf.GNU
   3574 _am_result=no
   3575 for s in GNU BSD; do
   3576   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3577    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3578    ac_status=$?
   3579    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3580    (exit $ac_status); }
   3581   case $?:`cat confinc.out 2>/dev/null` in #(
   3582   '0:this is the am__doit target') :
   3583     case $s in #(
   3584   BSD) :
   3585     am__include='.include' am__quote='"' ;; #(
   3586   *) :
   3587     am__include='include' am__quote='' ;;
   3588 esac ;; #(
   3589   *) :
   3590      ;;
   3591 esac
   3592   if test "$am__include" != "#"; then
   3593     _am_result="yes ($s style)"
   3594     break
   3595   fi
   3596 done
   3597 rm -f confinc.* confmf.*
   3598 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3599 printf '%s\n' "${_am_result}" >&6; }
   3600 
   3601 # Check whether --enable-dependency-tracking was given.
   3602 if test ${enable_dependency_tracking+y}
   3603 then :
   3604   enableval=$enable_dependency_tracking;
   3605 fi
   3606 
   3607 if test "x$enable_dependency_tracking" != xno; then
   3608   am_depcomp="$ac_aux_dir/depcomp"
   3609   AMDEPBACKSLASH='\'
   3610   am__nodep='_no'
   3611 fi
   3612  if test "x$enable_dependency_tracking" != xno; then
   3613   AMDEP_TRUE=
   3614   AMDEP_FALSE='#'
   3615 else
   3616   AMDEP_TRUE='#'
   3617   AMDEP_FALSE=
   3618 fi
   3619 
   3620 
   3621 ac_ext=c
   3622 ac_cpp='$CPP $CPPFLAGS'
   3623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3626 if test -n "$ac_tool_prefix"; then
   3627   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3628 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3629 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3630 printf %s "checking for $ac_word... " >&6; }
   3631 if test ${ac_cv_prog_CC+y}
   3632 then :
   3633   printf %s "(cached) " >&6
   3634 else case e in #(
   3635   e) if test -n "$CC"; then
   3636   ac_cv_prog_CC="$CC" # Let the user override the test.
   3637 else
   3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3639 for as_dir in $PATH
   3640 do
   3641   IFS=$as_save_IFS
   3642   case $as_dir in #(((
   3643     '') as_dir=./ ;;
   3644     */) ;;
   3645     *) as_dir=$as_dir/ ;;
   3646   esac
   3647     for ac_exec_ext in '' $ac_executable_extensions; do
   3648   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3649     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3650     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3651     break 2
   3652   fi
   3653 done
   3654   done
   3655 IFS=$as_save_IFS
   3656 
   3657 fi ;;
   3658 esac
   3659 fi
   3660 CC=$ac_cv_prog_CC
   3661 if test -n "$CC"; then
   3662   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3663 printf '%s\n' "$CC" >&6; }
   3664 else
   3665   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3666 printf '%s\n' "no" >&6; }
   3667 fi
   3668 
   3669 
   3670 fi
   3671 if test -z "$ac_cv_prog_CC"; then
   3672   ac_ct_CC=$CC
   3673   # Extract the first word of "gcc", so it can be a program name with args.
   3674 set dummy gcc; ac_word=$2
   3675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3676 printf %s "checking for $ac_word... " >&6; }
   3677 if test ${ac_cv_prog_ac_ct_CC+y}
   3678 then :
   3679   printf %s "(cached) " >&6
   3680 else case e in #(
   3681   e) if test -n "$ac_ct_CC"; then
   3682   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3683 else
   3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3685 for as_dir in $PATH
   3686 do
   3687   IFS=$as_save_IFS
   3688   case $as_dir in #(((
   3689     '') as_dir=./ ;;
   3690     */) ;;
   3691     *) as_dir=$as_dir/ ;;
   3692   esac
   3693     for ac_exec_ext in '' $ac_executable_extensions; do
   3694   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3695     ac_cv_prog_ac_ct_CC="gcc"
   3696     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3697     break 2
   3698   fi
   3699 done
   3700   done
   3701 IFS=$as_save_IFS
   3702 
   3703 fi ;;
   3704 esac
   3705 fi
   3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3707 if test -n "$ac_ct_CC"; then
   3708   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3709 printf '%s\n' "$ac_ct_CC" >&6; }
   3710 else
   3711   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3712 printf '%s\n' "no" >&6; }
   3713 fi
   3714 
   3715   if test "x$ac_ct_CC" = x; then
   3716     CC=""
   3717   else
   3718     case $cross_compiling:$ac_tool_warned in
   3719 yes:)
   3720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3721 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3722 ac_tool_warned=yes ;;
   3723 esac
   3724     CC=$ac_ct_CC
   3725   fi
   3726 else
   3727   CC="$ac_cv_prog_CC"
   3728 fi
   3729 
   3730 if test -z "$CC"; then
   3731           if test -n "$ac_tool_prefix"; then
   3732     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3733 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3735 printf %s "checking for $ac_word... " >&6; }
   3736 if test ${ac_cv_prog_CC+y}
   3737 then :
   3738   printf %s "(cached) " >&6
   3739 else case e in #(
   3740   e) if test -n "$CC"; then
   3741   ac_cv_prog_CC="$CC" # Let the user override the test.
   3742 else
   3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3744 for as_dir in $PATH
   3745 do
   3746   IFS=$as_save_IFS
   3747   case $as_dir in #(((
   3748     '') as_dir=./ ;;
   3749     */) ;;
   3750     *) as_dir=$as_dir/ ;;
   3751   esac
   3752     for ac_exec_ext in '' $ac_executable_extensions; do
   3753   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3754     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3755     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3756     break 2
   3757   fi
   3758 done
   3759   done
   3760 IFS=$as_save_IFS
   3761 
   3762 fi ;;
   3763 esac
   3764 fi
   3765 CC=$ac_cv_prog_CC
   3766 if test -n "$CC"; then
   3767   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3768 printf '%s\n' "$CC" >&6; }
   3769 else
   3770   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3771 printf '%s\n' "no" >&6; }
   3772 fi
   3773 
   3774 
   3775   fi
   3776 fi
   3777 if test -z "$CC"; then
   3778   # Extract the first word of "cc", so it can be a program name with args.
   3779 set dummy cc; ac_word=$2
   3780 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3781 printf %s "checking for $ac_word... " >&6; }
   3782 if test ${ac_cv_prog_CC+y}
   3783 then :
   3784   printf %s "(cached) " >&6
   3785 else case e in #(
   3786   e) if test -n "$CC"; then
   3787   ac_cv_prog_CC="$CC" # Let the user override the test.
   3788 else
   3789   ac_prog_rejected=no
   3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3791 for as_dir in $PATH
   3792 do
   3793   IFS=$as_save_IFS
   3794   case $as_dir in #(((
   3795     '') as_dir=./ ;;
   3796     */) ;;
   3797     *) as_dir=$as_dir/ ;;
   3798   esac
   3799     for ac_exec_ext in '' $ac_executable_extensions; do
   3800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3801     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3802        ac_prog_rejected=yes
   3803        continue
   3804      fi
   3805     ac_cv_prog_CC="cc"
   3806     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3807     break 2
   3808   fi
   3809 done
   3810   done
   3811 IFS=$as_save_IFS
   3812 
   3813 if test $ac_prog_rejected = yes; then
   3814   # We found a bogon in the path, so make sure we never use it.
   3815   set dummy $ac_cv_prog_CC
   3816   shift
   3817   if test $# != 0; then
   3818     # We chose a different compiler from the bogus one.
   3819     # However, it has the same basename, so the bogon will be chosen
   3820     # first if we set CC to just the basename; use the full file name.
   3821     shift
   3822     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3823   fi
   3824 fi
   3825 fi ;;
   3826 esac
   3827 fi
   3828 CC=$ac_cv_prog_CC
   3829 if test -n "$CC"; then
   3830   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3831 printf '%s\n' "$CC" >&6; }
   3832 else
   3833   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3834 printf '%s\n' "no" >&6; }
   3835 fi
   3836 
   3837 
   3838 fi
   3839 if test -z "$CC"; then
   3840   if test -n "$ac_tool_prefix"; then
   3841   for ac_prog in cl.exe
   3842   do
   3843     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3845 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3846 printf %s "checking for $ac_word... " >&6; }
   3847 if test ${ac_cv_prog_CC+y}
   3848 then :
   3849   printf %s "(cached) " >&6
   3850 else case e in #(
   3851   e) if test -n "$CC"; then
   3852   ac_cv_prog_CC="$CC" # Let the user override the test.
   3853 else
   3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3855 for as_dir in $PATH
   3856 do
   3857   IFS=$as_save_IFS
   3858   case $as_dir in #(((
   3859     '') as_dir=./ ;;
   3860     */) ;;
   3861     *) as_dir=$as_dir/ ;;
   3862   esac
   3863     for ac_exec_ext in '' $ac_executable_extensions; do
   3864   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3865     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3866     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3867     break 2
   3868   fi
   3869 done
   3870   done
   3871 IFS=$as_save_IFS
   3872 
   3873 fi ;;
   3874 esac
   3875 fi
   3876 CC=$ac_cv_prog_CC
   3877 if test -n "$CC"; then
   3878   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3879 printf '%s\n' "$CC" >&6; }
   3880 else
   3881   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3882 printf '%s\n' "no" >&6; }
   3883 fi
   3884 
   3885 
   3886     test -n "$CC" && break
   3887   done
   3888 fi
   3889 if test -z "$CC"; then
   3890   ac_ct_CC=$CC
   3891   for ac_prog in cl.exe
   3892 do
   3893   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3894 set dummy $ac_prog; ac_word=$2
   3895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3896 printf %s "checking for $ac_word... " >&6; }
   3897 if test ${ac_cv_prog_ac_ct_CC+y}
   3898 then :
   3899   printf %s "(cached) " >&6
   3900 else case e in #(
   3901   e) if test -n "$ac_ct_CC"; then
   3902   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3903 else
   3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3905 for as_dir in $PATH
   3906 do
   3907   IFS=$as_save_IFS
   3908   case $as_dir in #(((
   3909     '') as_dir=./ ;;
   3910     */) ;;
   3911     *) as_dir=$as_dir/ ;;
   3912   esac
   3913     for ac_exec_ext in '' $ac_executable_extensions; do
   3914   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3915     ac_cv_prog_ac_ct_CC="$ac_prog"
   3916     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3917     break 2
   3918   fi
   3919 done
   3920   done
   3921 IFS=$as_save_IFS
   3922 
   3923 fi ;;
   3924 esac
   3925 fi
   3926 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3927 if test -n "$ac_ct_CC"; then
   3928   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3929 printf '%s\n' "$ac_ct_CC" >&6; }
   3930 else
   3931   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3932 printf '%s\n' "no" >&6; }
   3933 fi
   3934 
   3935 
   3936   test -n "$ac_ct_CC" && break
   3937 done
   3938 
   3939   if test "x$ac_ct_CC" = x; then
   3940     CC=""
   3941   else
   3942     case $cross_compiling:$ac_tool_warned in
   3943 yes:)
   3944 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3945 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3946 ac_tool_warned=yes ;;
   3947 esac
   3948     CC=$ac_ct_CC
   3949   fi
   3950 fi
   3951 
   3952 fi
   3953 if test -z "$CC"; then
   3954   if test -n "$ac_tool_prefix"; then
   3955   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3956 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3958 printf %s "checking for $ac_word... " >&6; }
   3959 if test ${ac_cv_prog_CC+y}
   3960 then :
   3961   printf %s "(cached) " >&6
   3962 else case e in #(
   3963   e) if test -n "$CC"; then
   3964   ac_cv_prog_CC="$CC" # Let the user override the test.
   3965 else
   3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3967 for as_dir in $PATH
   3968 do
   3969   IFS=$as_save_IFS
   3970   case $as_dir in #(((
   3971     '') as_dir=./ ;;
   3972     */) ;;
   3973     *) as_dir=$as_dir/ ;;
   3974   esac
   3975     for ac_exec_ext in '' $ac_executable_extensions; do
   3976   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3977     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3978     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3979     break 2
   3980   fi
   3981 done
   3982   done
   3983 IFS=$as_save_IFS
   3984 
   3985 fi ;;
   3986 esac
   3987 fi
   3988 CC=$ac_cv_prog_CC
   3989 if test -n "$CC"; then
   3990   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3991 printf '%s\n' "$CC" >&6; }
   3992 else
   3993   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3994 printf '%s\n' "no" >&6; }
   3995 fi
   3996 
   3997 
   3998 fi
   3999 if test -z "$ac_cv_prog_CC"; then
   4000   ac_ct_CC=$CC
   4001   # Extract the first word of "clang", so it can be a program name with args.
   4002 set dummy clang; ac_word=$2
   4003 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4004 printf %s "checking for $ac_word... " >&6; }
   4005 if test ${ac_cv_prog_ac_ct_CC+y}
   4006 then :
   4007   printf %s "(cached) " >&6
   4008 else case e in #(
   4009   e) if test -n "$ac_ct_CC"; then
   4010   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4011 else
   4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4013 for as_dir in $PATH
   4014 do
   4015   IFS=$as_save_IFS
   4016   case $as_dir in #(((
   4017     '') as_dir=./ ;;
   4018     */) ;;
   4019     *) as_dir=$as_dir/ ;;
   4020   esac
   4021     for ac_exec_ext in '' $ac_executable_extensions; do
   4022   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4023     ac_cv_prog_ac_ct_CC="clang"
   4024     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4025     break 2
   4026   fi
   4027 done
   4028   done
   4029 IFS=$as_save_IFS
   4030 
   4031 fi ;;
   4032 esac
   4033 fi
   4034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4035 if test -n "$ac_ct_CC"; then
   4036   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4037 printf '%s\n' "$ac_ct_CC" >&6; }
   4038 else
   4039   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4040 printf '%s\n' "no" >&6; }
   4041 fi
   4042 
   4043   if test "x$ac_ct_CC" = x; then
   4044     CC=""
   4045   else
   4046     case $cross_compiling:$ac_tool_warned in
   4047 yes:)
   4048 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4049 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4050 ac_tool_warned=yes ;;
   4051 esac
   4052     CC=$ac_ct_CC
   4053   fi
   4054 else
   4055   CC="$ac_cv_prog_CC"
   4056 fi
   4057 
   4058 fi
   4059 
   4060 
   4061 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4062 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4063 as_fn_error $? "no acceptable C compiler found in \$PATH
   4064 See 'config.log' for more details" "$LINENO" 5; }
   4065 
   4066 # Provide some information about the compiler.
   4067 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4068 set X $ac_compile
   4069 ac_compiler=$2
   4070 for ac_option in --version -v -V -qversion -version; do
   4071   { { ac_try="$ac_compiler $ac_option >&5"
   4072 case "(($ac_try" in
   4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4074   *) ac_try_echo=$ac_try;;
   4075 esac
   4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4077 printf '%s\n' "$ac_try_echo"; } >&5
   4078   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4079   ac_status=$?
   4080   if test -s conftest.err; then
   4081     sed '10a\
   4082 ... rest of stderr output deleted ...
   4083          10q' conftest.err >conftest.er1
   4084     cat conftest.er1 >&5
   4085   fi
   4086   rm -f conftest.er1 conftest.err
   4087   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4088   test $ac_status = 0; }
   4089 done
   4090 
   4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4092 /* end confdefs.h.  */
   4093 
   4094 int
   4095 main (void)
   4096 {
   4097 
   4098   ;
   4099   return 0;
   4100 }
   4101 _ACEOF
   4102 ac_clean_files_save=$ac_clean_files
   4103 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4104 # Try to create an executable without -o first, disregard a.out.
   4105 # It will help us diagnose broken compilers, and finding out an intuition
   4106 # of exeext.
   4107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4108 printf %s "checking whether the C compiler works... " >&6; }
   4109 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4110 
   4111 # The possible output files:
   4112 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4113 
   4114 ac_rmfiles=
   4115 for ac_file in $ac_files
   4116 do
   4117   case $ac_file in
   4118     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4119     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4120   esac
   4121 done
   4122 rm -f $ac_rmfiles
   4123 
   4124 if { { ac_try="$ac_link_default"
   4125 case "(($ac_try" in
   4126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4127   *) ac_try_echo=$ac_try;;
   4128 esac
   4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4130 printf '%s\n' "$ac_try_echo"; } >&5
   4131   (eval "$ac_link_default") 2>&5
   4132   ac_status=$?
   4133   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4134   test $ac_status = 0; }
   4135 then :
   4136   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4137 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4138 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4139 # so that the user can short-circuit this test for compilers unknown to
   4140 # Autoconf.
   4141 for ac_file in $ac_files ''
   4142 do
   4143   test -f "$ac_file" || continue
   4144   case $ac_file in
   4145     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4146 	;;
   4147     [ab].out )
   4148 	# We found the default executable, but exeext='' is most
   4149 	# certainly right.
   4150 	break;;
   4151     *.* )
   4152 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4153 	then :; else
   4154 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4155 	fi
   4156 	# We set ac_cv_exeext here because the later test for it is not
   4157 	# safe: cross compilers may not add the suffix if given an '-o'
   4158 	# argument, so we may need to know it at that point already.
   4159 	# Even if this section looks crufty: it has the advantage of
   4160 	# actually working.
   4161 	break;;
   4162     * )
   4163 	break;;
   4164   esac
   4165 done
   4166 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4167 
   4168 else case e in #(
   4169   e) ac_file='' ;;
   4170 esac
   4171 fi
   4172 if test -z "$ac_file"
   4173 then :
   4174   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4175 printf '%s\n' "no" >&6; }
   4176 printf '%s\n' "$as_me: failed program was:" >&5
   4177 sed 's/^/| /' conftest.$ac_ext >&5
   4178 
   4179 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4180 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4181 as_fn_error 77 "C compiler cannot create executables
   4182 See 'config.log' for more details" "$LINENO" 5; }
   4183 else case e in #(
   4184   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4185 printf '%s\n' "yes" >&6; } ;;
   4186 esac
   4187 fi
   4188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4189 printf %s "checking for C compiler default output file name... " >&6; }
   4190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4191 printf '%s\n' "$ac_file" >&6; }
   4192 ac_exeext=$ac_cv_exeext
   4193 
   4194 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4195 ac_clean_files=$ac_clean_files_save
   4196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4197 printf %s "checking for suffix of executables... " >&6; }
   4198 if { { ac_try="$ac_link"
   4199 case "(($ac_try" in
   4200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4201   *) ac_try_echo=$ac_try;;
   4202 esac
   4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4204 printf '%s\n' "$ac_try_echo"; } >&5
   4205   (eval "$ac_link") 2>&5
   4206   ac_status=$?
   4207   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4208   test $ac_status = 0; }
   4209 then :
   4210   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4211 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4212 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4213 # 'rm'.
   4214 for ac_file in conftest.exe conftest conftest.*; do
   4215   test -f "$ac_file" || continue
   4216   case $ac_file in
   4217     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4218     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4219 	  break;;
   4220     * ) break;;
   4221   esac
   4222 done
   4223 else case e in #(
   4224   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4225 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4226 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4227 See 'config.log' for more details" "$LINENO" 5; } ;;
   4228 esac
   4229 fi
   4230 rm -f conftest conftest$ac_cv_exeext
   4231 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4232 printf '%s\n' "$ac_cv_exeext" >&6; }
   4233 
   4234 rm -f conftest.$ac_ext
   4235 EXEEXT=$ac_cv_exeext
   4236 ac_exeext=$EXEEXT
   4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4238 /* end confdefs.h.  */
   4239 #include <stdio.h>
   4240 int
   4241 main (void)
   4242 {
   4243 FILE *f = fopen ("conftest.out", "w");
   4244  if (!f)
   4245   return 1;
   4246  return ferror (f) || fclose (f) != 0;
   4247 
   4248   ;
   4249   return 0;
   4250 }
   4251 _ACEOF
   4252 ac_clean_files="$ac_clean_files conftest.out"
   4253 # Check that the compiler produces executables we can run.  If not, either
   4254 # the compiler is broken, or we cross compile.
   4255 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4256 printf %s "checking whether we are cross compiling... " >&6; }
   4257 if test "$cross_compiling" != yes; then
   4258   { { ac_try="$ac_link"
   4259 case "(($ac_try" in
   4260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4261   *) ac_try_echo=$ac_try;;
   4262 esac
   4263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4264 printf '%s\n' "$ac_try_echo"; } >&5
   4265   (eval "$ac_link") 2>&5
   4266   ac_status=$?
   4267   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4268   test $ac_status = 0; }
   4269   if { ac_try='./conftest$ac_cv_exeext'
   4270   { { case "(($ac_try" in
   4271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4272   *) ac_try_echo=$ac_try;;
   4273 esac
   4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4275 printf '%s\n' "$ac_try_echo"; } >&5
   4276   (eval "$ac_try") 2>&5
   4277   ac_status=$?
   4278   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4279   test $ac_status = 0; }; }; then
   4280     cross_compiling=no
   4281   else
   4282     if test "$cross_compiling" = maybe; then
   4283 	cross_compiling=yes
   4284     else
   4285 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4286 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4287 as_fn_error 77 "cannot run C compiled programs.
   4288 If you meant to cross compile, use '--host'.
   4289 See 'config.log' for more details" "$LINENO" 5; }
   4290     fi
   4291   fi
   4292 fi
   4293 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4294 printf '%s\n' "$cross_compiling" >&6; }
   4295 
   4296 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4297   conftest.o conftest.obj conftest.out
   4298 ac_clean_files=$ac_clean_files_save
   4299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4300 printf %s "checking for suffix of object files... " >&6; }
   4301 if test ${ac_cv_objext+y}
   4302 then :
   4303   printf %s "(cached) " >&6
   4304 else case e in #(
   4305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4306 /* end confdefs.h.  */
   4307 
   4308 int
   4309 main (void)
   4310 {
   4311 
   4312   ;
   4313   return 0;
   4314 }
   4315 _ACEOF
   4316 rm -f conftest.o conftest.obj
   4317 if { { ac_try="$ac_compile"
   4318 case "(($ac_try" in
   4319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4320   *) ac_try_echo=$ac_try;;
   4321 esac
   4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4323 printf '%s\n' "$ac_try_echo"; } >&5
   4324   (eval "$ac_compile") 2>&5
   4325   ac_status=$?
   4326   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4327   test $ac_status = 0; }
   4328 then :
   4329   for ac_file in conftest.o conftest.obj conftest.*; do
   4330   test -f "$ac_file" || continue;
   4331   case $ac_file in
   4332     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4333     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4334        break;;
   4335   esac
   4336 done
   4337 else case e in #(
   4338   e) printf '%s\n' "$as_me: failed program was:" >&5
   4339 sed 's/^/| /' conftest.$ac_ext >&5
   4340 
   4341 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4342 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4343 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4344 See 'config.log' for more details" "$LINENO" 5; } ;;
   4345 esac
   4346 fi
   4347 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4348 esac
   4349 fi
   4350 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4351 printf '%s\n' "$ac_cv_objext" >&6; }
   4352 OBJEXT=$ac_cv_objext
   4353 ac_objext=$OBJEXT
   4354 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4355 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4356 if test ${ac_cv_c_compiler_gnu+y}
   4357 then :
   4358   printf %s "(cached) " >&6
   4359 else case e in #(
   4360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 
   4363 int
   4364 main (void)
   4365 {
   4366 #ifndef __GNUC__
   4367        choke me
   4368 #endif
   4369 
   4370   ;
   4371   return 0;
   4372 }
   4373 _ACEOF
   4374 if ac_fn_c_try_compile "$LINENO"
   4375 then :
   4376   ac_compiler_gnu=yes
   4377 else case e in #(
   4378   e) ac_compiler_gnu=no ;;
   4379 esac
   4380 fi
   4381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4382 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4383  ;;
   4384 esac
   4385 fi
   4386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4387 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4389 
   4390 if test $ac_compiler_gnu = yes; then
   4391   GCC=yes
   4392 else
   4393   GCC=
   4394 fi
   4395 ac_test_CFLAGS=${CFLAGS+y}
   4396 ac_save_CFLAGS=$CFLAGS
   4397 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4398 printf %s "checking whether $CC accepts -g... " >&6; }
   4399 if test ${ac_cv_prog_cc_g+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else case e in #(
   4403   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4404    ac_c_werror_flag=yes
   4405    ac_cv_prog_cc_g=no
   4406    CFLAGS="-g"
   4407    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 
   4410 int
   4411 main (void)
   4412 {
   4413 
   4414   ;
   4415   return 0;
   4416 }
   4417 _ACEOF
   4418 if ac_fn_c_try_compile "$LINENO"
   4419 then :
   4420   ac_cv_prog_cc_g=yes
   4421 else case e in #(
   4422   e) CFLAGS=""
   4423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 
   4426 int
   4427 main (void)
   4428 {
   4429 
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 if ac_fn_c_try_compile "$LINENO"
   4435 then :
   4436 
   4437 else case e in #(
   4438   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4439 	 CFLAGS="-g"
   4440 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4441 /* end confdefs.h.  */
   4442 
   4443 int
   4444 main (void)
   4445 {
   4446 
   4447   ;
   4448   return 0;
   4449 }
   4450 _ACEOF
   4451 if ac_fn_c_try_compile "$LINENO"
   4452 then :
   4453   ac_cv_prog_cc_g=yes
   4454 fi
   4455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4456 esac
   4457 fi
   4458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4459 esac
   4460 fi
   4461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4462    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4463 esac
   4464 fi
   4465 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4466 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4467 if test $ac_test_CFLAGS; then
   4468   CFLAGS=$ac_save_CFLAGS
   4469 elif test $ac_cv_prog_cc_g = yes; then
   4470   if test "$GCC" = yes; then
   4471     CFLAGS="-g -O2"
   4472   else
   4473     CFLAGS="-g"
   4474   fi
   4475 else
   4476   if test "$GCC" = yes; then
   4477     CFLAGS="-O2"
   4478   else
   4479     CFLAGS=
   4480   fi
   4481 fi
   4482 ac_prog_cc_stdc=no
   4483 if test x$ac_prog_cc_stdc = xno
   4484 then :
   4485   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4486 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4487 if test ${ac_cv_prog_cc_c23+y}
   4488 then :
   4489   printf %s "(cached) " >&6
   4490 else case e in #(
   4491   e) ac_cv_prog_cc_c23=no
   4492 ac_save_CC=$CC
   4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4494 /* end confdefs.h.  */
   4495 $ac_c_conftest_c23_program
   4496 _ACEOF
   4497 for ac_arg in '' -std=gnu23
   4498 do
   4499   CC="$ac_save_CC $ac_arg"
   4500   if ac_fn_c_try_compile "$LINENO"
   4501 then :
   4502   ac_cv_prog_cc_c23=$ac_arg
   4503 fi
   4504 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4505   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4506 done
   4507 rm -f conftest.$ac_ext
   4508 CC=$ac_save_CC ;;
   4509 esac
   4510 fi
   4511 
   4512 if test "x$ac_cv_prog_cc_c23" = xno
   4513 then :
   4514   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4515 printf '%s\n' "unsupported" >&6; }
   4516 else case e in #(
   4517   e) if test "x$ac_cv_prog_cc_c23" = x
   4518 then :
   4519   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4520 printf '%s\n' "none needed" >&6; }
   4521 else case e in #(
   4522   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4523 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4524      CC="$CC $ac_cv_prog_cc_c23" ;;
   4525 esac
   4526 fi
   4527   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4528   ac_prog_cc_stdc=c23 ;;
   4529 esac
   4530 fi
   4531 fi
   4532 if test x$ac_prog_cc_stdc = xno
   4533 then :
   4534   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4535 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4536 if test ${ac_cv_prog_cc_c11+y}
   4537 then :
   4538   printf %s "(cached) " >&6
   4539 else case e in #(
   4540   e) ac_cv_prog_cc_c11=no
   4541 ac_save_CC=$CC
   4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4543 /* end confdefs.h.  */
   4544 $ac_c_conftest_c11_program
   4545 _ACEOF
   4546 for ac_arg in '' -std=gnu11 -std:c11
   4547 do
   4548   CC="$ac_save_CC $ac_arg"
   4549   if ac_fn_c_try_compile "$LINENO"
   4550 then :
   4551   ac_cv_prog_cc_c11=$ac_arg
   4552 fi
   4553 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4554   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4555 done
   4556 rm -f conftest.$ac_ext
   4557 CC=$ac_save_CC ;;
   4558 esac
   4559 fi
   4560 
   4561 if test "x$ac_cv_prog_cc_c11" = xno
   4562 then :
   4563   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4564 printf '%s\n' "unsupported" >&6; }
   4565 else case e in #(
   4566   e) if test "x$ac_cv_prog_cc_c11" = x
   4567 then :
   4568   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4569 printf '%s\n' "none needed" >&6; }
   4570 else case e in #(
   4571   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4572 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4573      CC="$CC $ac_cv_prog_cc_c11" ;;
   4574 esac
   4575 fi
   4576   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4577   ac_prog_cc_stdc=c11 ;;
   4578 esac
   4579 fi
   4580 fi
   4581 if test x$ac_prog_cc_stdc = xno
   4582 then :
   4583   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4584 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4585 if test ${ac_cv_prog_cc_c99+y}
   4586 then :
   4587   printf %s "(cached) " >&6
   4588 else case e in #(
   4589   e) ac_cv_prog_cc_c99=no
   4590 ac_save_CC=$CC
   4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4592 /* end confdefs.h.  */
   4593 $ac_c_conftest_c99_program
   4594 _ACEOF
   4595 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4596 do
   4597   CC="$ac_save_CC $ac_arg"
   4598   if ac_fn_c_try_compile "$LINENO"
   4599 then :
   4600   ac_cv_prog_cc_c99=$ac_arg
   4601 fi
   4602 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4603   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4604 done
   4605 rm -f conftest.$ac_ext
   4606 CC=$ac_save_CC ;;
   4607 esac
   4608 fi
   4609 
   4610 if test "x$ac_cv_prog_cc_c99" = xno
   4611 then :
   4612   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4613 printf '%s\n' "unsupported" >&6; }
   4614 else case e in #(
   4615   e) if test "x$ac_cv_prog_cc_c99" = x
   4616 then :
   4617   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4618 printf '%s\n' "none needed" >&6; }
   4619 else case e in #(
   4620   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4621 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4622      CC="$CC $ac_cv_prog_cc_c99" ;;
   4623 esac
   4624 fi
   4625   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4626   ac_prog_cc_stdc=c99 ;;
   4627 esac
   4628 fi
   4629 fi
   4630 if test x$ac_prog_cc_stdc = xno
   4631 then :
   4632   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4633 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4634 if test ${ac_cv_prog_cc_c89+y}
   4635 then :
   4636   printf %s "(cached) " >&6
   4637 else case e in #(
   4638   e) ac_cv_prog_cc_c89=no
   4639 ac_save_CC=$CC
   4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4641 /* end confdefs.h.  */
   4642 $ac_c_conftest_c89_program
   4643 _ACEOF
   4644 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4645 do
   4646   CC="$ac_save_CC $ac_arg"
   4647   if ac_fn_c_try_compile "$LINENO"
   4648 then :
   4649   ac_cv_prog_cc_c89=$ac_arg
   4650 fi
   4651 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4652   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4653 done
   4654 rm -f conftest.$ac_ext
   4655 CC=$ac_save_CC ;;
   4656 esac
   4657 fi
   4658 
   4659 if test "x$ac_cv_prog_cc_c89" = xno
   4660 then :
   4661   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4662 printf '%s\n' "unsupported" >&6; }
   4663 else case e in #(
   4664   e) if test "x$ac_cv_prog_cc_c89" = x
   4665 then :
   4666   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4667 printf '%s\n' "none needed" >&6; }
   4668 else case e in #(
   4669   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4670 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4671      CC="$CC $ac_cv_prog_cc_c89" ;;
   4672 esac
   4673 fi
   4674   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4675   ac_prog_cc_stdc=c89 ;;
   4676 esac
   4677 fi
   4678 fi
   4679 
   4680 ac_ext=c
   4681 ac_cpp='$CPP $CPPFLAGS'
   4682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4685 
   4686 
   4687   ac_ext=c
   4688 ac_cpp='$CPP $CPPFLAGS'
   4689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4692 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4693 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4694 if test ${am_cv_prog_cc_c_o+y}
   4695 then :
   4696   printf %s "(cached) " >&6
   4697 else case e in #(
   4698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4699 /* end confdefs.h.  */
   4700 
   4701 int
   4702 main (void)
   4703 {
   4704 
   4705   ;
   4706   return 0;
   4707 }
   4708 _ACEOF
   4709   # Make sure it works both with $CC and with simple cc.
   4710   # Following AC_PROG_CC_C_O, we do the test twice because some
   4711   # compilers refuse to overwrite an existing .o file with -o,
   4712   # though they will create one.
   4713   am_cv_prog_cc_c_o=yes
   4714   for am_i in 1 2; do
   4715     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4716    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4717    ac_status=$?
   4718    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4719    (exit $ac_status); } \
   4720          && test -f conftest2.$ac_objext; then
   4721       : OK
   4722     else
   4723       am_cv_prog_cc_c_o=no
   4724       break
   4725     fi
   4726   done
   4727   # aligned with autoconf, so not including core; see bug#72225.
   4728   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4729     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4730     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4731   unset am_i ;;
   4732 esac
   4733 fi
   4734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4735 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4736 if test "$am_cv_prog_cc_c_o" != yes; then
   4737    # Losing compiler, so override with the script.
   4738    # FIXME: It is wrong to rewrite CC.
   4739    # But if we don't then we get into trouble of one sort or another.
   4740    # A longer-term fix would be to have automake use am__CC in this case,
   4741    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4742    CC="$am_aux_dir/compile $CC"
   4743 fi
   4744 ac_ext=c
   4745 ac_cpp='$CPP $CPPFLAGS'
   4746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4749 
   4750 
   4751 depcc="$CC"   am_compiler_list=
   4752 
   4753 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4754 printf %s "checking dependency style of $depcc... " >&6; }
   4755 if test ${am_cv_CC_dependencies_compiler_type+y}
   4756 then :
   4757   printf %s "(cached) " >&6
   4758 else case e in #(
   4759   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4760   # We make a subdir and do the tests there.  Otherwise we can end up
   4761   # making bogus files that we don't know about and never remove.  For
   4762   # instance it was reported that on HP-UX the gcc test will end up
   4763   # making a dummy file named 'D' -- because '-MD' means "put the output
   4764   # in D".
   4765   rm -rf conftest.dir
   4766   mkdir conftest.dir
   4767   # Copy depcomp to subdir because otherwise we won't find it if we're
   4768   # using a relative directory.
   4769   cp "$am_depcomp" conftest.dir
   4770   cd conftest.dir
   4771   # We will build objects and dependencies in a subdirectory because
   4772   # it helps to detect inapplicable dependency modes.  For instance
   4773   # both Tru64's cc and ICC support -MD to output dependencies as a
   4774   # side effect of compilation, but ICC will put the dependencies in
   4775   # the current directory while Tru64 will put them in the object
   4776   # directory.
   4777   mkdir sub
   4778 
   4779   am_cv_CC_dependencies_compiler_type=none
   4780   if test "$am_compiler_list" = ""; then
   4781      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4782   fi
   4783   am__universal=false
   4784   case " $depcc " in #(
   4785      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4786      esac
   4787 
   4788   for depmode in $am_compiler_list; do
   4789     # Setup a source with many dependencies, because some compilers
   4790     # like to wrap large dependency lists on column 80 (with \), and
   4791     # we should not choose a depcomp mode which is confused by this.
   4792     #
   4793     # We need to recreate these files for each test, as the compiler may
   4794     # overwrite some of them when testing with obscure command lines.
   4795     # This happens at least with the AIX C compiler.
   4796     : > sub/conftest.c
   4797     for i in 1 2 3 4 5 6; do
   4798       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4799       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4800       # Solaris 10 /bin/sh.
   4801       echo '/* dummy */' > sub/conftst$i.h
   4802     done
   4803     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4804 
   4805     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4806     # mode.  It turns out that the SunPro C++ compiler does not properly
   4807     # handle '-M -o', and we need to detect this.  Also, some Intel
   4808     # versions had trouble with output in subdirs.
   4809     am__obj=sub/conftest.${OBJEXT-o}
   4810     am__minus_obj="-o $am__obj"
   4811     case $depmode in
   4812     gcc)
   4813       # This depmode causes a compiler race in universal mode.
   4814       test "$am__universal" = false || continue
   4815       ;;
   4816     nosideeffect)
   4817       # After this tag, mechanisms are not by side-effect, so they'll
   4818       # only be used when explicitly requested.
   4819       if test "x$enable_dependency_tracking" = xyes; then
   4820 	continue
   4821       else
   4822 	break
   4823       fi
   4824       ;;
   4825     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4826       # This compiler won't grok '-c -o', but also, the minuso test has
   4827       # not run yet.  These depmodes are late enough in the game, and
   4828       # so weak that their functioning should not be impacted.
   4829       am__obj=conftest.${OBJEXT-o}
   4830       am__minus_obj=
   4831       ;;
   4832     none) break ;;
   4833     esac
   4834     if depmode=$depmode \
   4835        source=sub/conftest.c object=$am__obj \
   4836        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4837        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4838          >/dev/null 2>conftest.err &&
   4839        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4840        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4841        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4842        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4843       # icc doesn't choke on unknown options, it will just issue warnings
   4844       # or remarks (even with -Werror).  So we grep stderr for any message
   4845       # that says an option was ignored or not supported.
   4846       # When given -MP, icc 7.0 and 7.1 complain thus:
   4847       #   icc: Command line warning: ignoring option '-M'; no argument required
   4848       # The diagnosis changed in icc 8.0:
   4849       #   icc: Command line remark: option '-MP' not supported
   4850       if (grep 'ignoring option' conftest.err ||
   4851           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4852         am_cv_CC_dependencies_compiler_type=$depmode
   4853         break
   4854       fi
   4855     fi
   4856   done
   4857 
   4858   cd ..
   4859   rm -rf conftest.dir
   4860 else
   4861   am_cv_CC_dependencies_compiler_type=none
   4862 fi
   4863  ;;
   4864 esac
   4865 fi
   4866 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4867 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   4868 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4869 
   4870  if
   4871   test "x$enable_dependency_tracking" != xno \
   4872   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4873   am__fastdepCC_TRUE=
   4874   am__fastdepCC_FALSE='#'
   4875 else
   4876   am__fastdepCC_TRUE='#'
   4877   am__fastdepCC_FALSE=
   4878 fi
   4879 
   4880 
   4881 
   4882 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4883 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4884 if test ${ac_cv_c_undeclared_builtin_options+y}
   4885 then :
   4886   printf %s "(cached) " >&6
   4887 else case e in #(
   4888   e) ac_save_CFLAGS=$CFLAGS
   4889    ac_cv_c_undeclared_builtin_options='cannot detect'
   4890    for ac_arg in '' -fno-builtin; do
   4891      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4892      # This test program should *not* compile successfully.
   4893      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 
   4896 int
   4897 main (void)
   4898 {
   4899 (void) strchr;
   4900   ;
   4901   return 0;
   4902 }
   4903 _ACEOF
   4904 if ac_fn_c_try_compile "$LINENO"
   4905 then :
   4906 
   4907 else case e in #(
   4908   e) # This test program should compile successfully.
   4909         # No library function is consistently available on
   4910         # freestanding implementations, so test against a dummy
   4911         # declaration.  Include always-available headers on the
   4912         # off chance that they somehow elicit warnings.
   4913         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 #include <float.h>
   4916 #include <limits.h>
   4917 #include <stdarg.h>
   4918 #include <stddef.h>
   4919 extern void ac_decl (int, char *);
   4920 
   4921 int
   4922 main (void)
   4923 {
   4924 (void) ac_decl (0, (char *) 0);
   4925   (void) ac_decl;
   4926 
   4927   ;
   4928   return 0;
   4929 }
   4930 _ACEOF
   4931 if ac_fn_c_try_compile "$LINENO"
   4932 then :
   4933   if test x"$ac_arg" = x
   4934 then :
   4935   ac_cv_c_undeclared_builtin_options='none needed'
   4936 else case e in #(
   4937   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4938 esac
   4939 fi
   4940           break
   4941 fi
   4942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4943 esac
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4946     done
   4947     CFLAGS=$ac_save_CFLAGS
   4948    ;;
   4949 esac
   4950 fi
   4951 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4952 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4953   case $ac_cv_c_undeclared_builtin_options in #(
   4954   'cannot detect') :
   4955     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4956 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4957 as_fn_error $? "cannot make $CC report undeclared builtins
   4958 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4959   'none needed') :
   4960     ac_c_undeclared_builtin_options='' ;; #(
   4961   *) :
   4962     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4963 esac
   4964 
   4965 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4966 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4967 if test ${ac_cv_c_future_darwin_options+y}
   4968 then :
   4969   printf %s "(cached) " >&6
   4970 else case e in #(
   4971   e)       ac_compile_saved="$ac_compile"
   4972    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4973    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4974 /* end confdefs.h.  */
   4975 #if ! (defined __APPLE__ && defined __MACH__)
   4976 	   #error "-Werror=unguarded-availability-new not needed here"
   4977 	  #endif
   4978 
   4979 int
   4980 main (void)
   4981 {
   4982 
   4983   ;
   4984   return 0;
   4985 }
   4986 _ACEOF
   4987 if ac_fn_c_try_compile "$LINENO"
   4988 then :
   4989   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4990 else case e in #(
   4991   e) ac_cv_c_future_darwin_options='none needed' ;;
   4992 esac
   4993 fi
   4994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4995    ac_compile="$ac_compile_saved"
   4996    ;;
   4997 esac
   4998 fi
   4999 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   5000 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   5001  case $ac_cv_c_future_darwin_options in #(
   5002   'none needed') :
   5003     ac_c_future_darwin_options='' ;; #(
   5004   *) :
   5005     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   5006 esac
   5007 
   5008 ac_header= ac_cache=
   5009 for ac_item in $ac_header_c_list
   5010 do
   5011   if test $ac_cache; then
   5012     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5013     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5014       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5015     fi
   5016     ac_header= ac_cache=
   5017   elif test $ac_header; then
   5018     ac_cache=$ac_item
   5019   else
   5020     ac_header=$ac_item
   5021   fi
   5022 done
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5032 then :
   5033 
   5034 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5035 
   5036 fi
   5037 
   5038 
   5039 
   5040 
   5041 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"
   5042 if test "x$ac_cv_have_decl___clang__" = xyes
   5043 then :
   5044   CLANGCC="yes"
   5045 else case e in #(
   5046   e) CLANGCC="no" ;;
   5047 esac
   5048 fi
   5049 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"
   5050 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5051 then :
   5052   INTELCC="yes"
   5053 else case e in #(
   5054   e) INTELCC="no" ;;
   5055 esac
   5056 fi
   5057 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"
   5058 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5059 then :
   5060   SUNCC="yes"
   5061 else case e in #(
   5062   e) SUNCC="no" ;;
   5063 esac
   5064 fi
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5074 	if test -n "$ac_tool_prefix"; then
   5075   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5076 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5077 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5078 printf %s "checking for $ac_word... " >&6; }
   5079 if test ${ac_cv_path_PKG_CONFIG+y}
   5080 then :
   5081   printf %s "(cached) " >&6
   5082 else case e in #(
   5083   e) case $PKG_CONFIG in
   5084   [\\/]* | ?:[\\/]*)
   5085   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5086   ;;
   5087   *)
   5088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5089 for as_dir in $PATH
   5090 do
   5091   IFS=$as_save_IFS
   5092   case $as_dir in #(((
   5093     '') as_dir=./ ;;
   5094     */) ;;
   5095     *) as_dir=$as_dir/ ;;
   5096   esac
   5097     for ac_exec_ext in '' $ac_executable_extensions; do
   5098   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5099     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5100     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5101     break 2
   5102   fi
   5103 done
   5104   done
   5105 IFS=$as_save_IFS
   5106 
   5107   ;;
   5108 esac ;;
   5109 esac
   5110 fi
   5111 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5112 if test -n "$PKG_CONFIG"; then
   5113   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5114 printf '%s\n' "$PKG_CONFIG" >&6; }
   5115 else
   5116   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5117 printf '%s\n' "no" >&6; }
   5118 fi
   5119 
   5120 
   5121 fi
   5122 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5123   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5124   # Extract the first word of "pkg-config", so it can be a program name with args.
   5125 set dummy pkg-config; ac_word=$2
   5126 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5127 printf %s "checking for $ac_word... " >&6; }
   5128 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5129 then :
   5130   printf %s "(cached) " >&6
   5131 else case e in #(
   5132   e) case $ac_pt_PKG_CONFIG in
   5133   [\\/]* | ?:[\\/]*)
   5134   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5135   ;;
   5136   *)
   5137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5138 for as_dir in $PATH
   5139 do
   5140   IFS=$as_save_IFS
   5141   case $as_dir in #(((
   5142     '') as_dir=./ ;;
   5143     */) ;;
   5144     *) as_dir=$as_dir/ ;;
   5145   esac
   5146     for ac_exec_ext in '' $ac_executable_extensions; do
   5147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5148     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5149     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5150     break 2
   5151   fi
   5152 done
   5153   done
   5154 IFS=$as_save_IFS
   5155 
   5156   ;;
   5157 esac ;;
   5158 esac
   5159 fi
   5160 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5161 if test -n "$ac_pt_PKG_CONFIG"; then
   5162   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5163 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5164 else
   5165   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5166 printf '%s\n' "no" >&6; }
   5167 fi
   5168 
   5169   if test "x$ac_pt_PKG_CONFIG" = x; then
   5170     PKG_CONFIG=""
   5171   else
   5172     case $cross_compiling:$ac_tool_warned in
   5173 yes:)
   5174 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5175 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5176 ac_tool_warned=yes ;;
   5177 esac
   5178     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5179   fi
   5180 else
   5181   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5182 fi
   5183 
   5184 fi
   5185 if test -n "$PKG_CONFIG"; then
   5186 	_pkg_min_version=0.9.0
   5187 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5188 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5189 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5190 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5191 printf '%s\n' "yes" >&6; }
   5192 	else
   5193 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5194 printf '%s\n' "no" >&6; }
   5195 		PKG_CONFIG=""
   5196 	fi
   5197 fi
   5198 
   5199 
   5200   # Make sure we can run config.sub.
   5201 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5202   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5203 
   5204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5205 printf %s "checking build system type... " >&6; }
   5206 if test ${ac_cv_build+y}
   5207 then :
   5208   printf %s "(cached) " >&6
   5209 else case e in #(
   5210   e) ac_build_alias=$build_alias
   5211 test "x$ac_build_alias" = x &&
   5212   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5213 test "x$ac_build_alias" = x &&
   5214   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5215 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5216   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5217  ;;
   5218 esac
   5219 fi
   5220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5221 printf '%s\n' "$ac_cv_build" >&6; }
   5222 case $ac_cv_build in
   5223 *-*-*) ;;
   5224 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5225 esac
   5226 build=$ac_cv_build
   5227 ac_save_IFS=$IFS; IFS='-'
   5228 set x $ac_cv_build
   5229 shift
   5230 build_cpu=$1
   5231 build_vendor=$2
   5232 shift; shift
   5233 # Remember, the first character of IFS is used to create $*,
   5234 # except with old shells:
   5235 build_os=$*
   5236 IFS=$ac_save_IFS
   5237 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5238 
   5239 
   5240 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5241 printf %s "checking host system type... " >&6; }
   5242 if test ${ac_cv_host+y}
   5243 then :
   5244   printf %s "(cached) " >&6
   5245 else case e in #(
   5246   e) if test "x$host_alias" = x; then
   5247   ac_cv_host=$ac_cv_build
   5248 else
   5249   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5250     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5251 fi
   5252  ;;
   5253 esac
   5254 fi
   5255 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5256 printf '%s\n' "$ac_cv_host" >&6; }
   5257 case $ac_cv_host in
   5258 *-*-*) ;;
   5259 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5260 esac
   5261 host=$ac_cv_host
   5262 ac_save_IFS=$IFS; IFS='-'
   5263 set x $ac_cv_host
   5264 shift
   5265 host_cpu=$1
   5266 host_vendor=$2
   5267 shift; shift
   5268 # Remember, the first character of IFS is used to create $*,
   5269 # except with old shells:
   5270 host_os=$*
   5271 IFS=$ac_save_IFS
   5272 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5273 
   5274 
   5275 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5276 printf %s "checking for a sed that does not truncate output... " >&6; }
   5277 if test ${ac_cv_path_SED+y}
   5278 then :
   5279   printf %s "(cached) " >&6
   5280 else case e in #(
   5281   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5282      for ac_i in 1 2 3 4 5 6 7; do
   5283        ac_script="$ac_script$as_nl$ac_script"
   5284      done
   5285      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5286      { ac_script=; unset ac_script;}
   5287      if test -z "$SED"; then
   5288   ac_path_SED_found=false
   5289   # Loop through the user's path and test for each of PROGNAME-LIST
   5290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5291 for as_dir in $PATH
   5292 do
   5293   IFS=$as_save_IFS
   5294   case $as_dir in #(((
   5295     '') as_dir=./ ;;
   5296     */) ;;
   5297     *) as_dir=$as_dir/ ;;
   5298   esac
   5299     for ac_prog in sed gsed
   5300    do
   5301     for ac_exec_ext in '' $ac_executable_extensions; do
   5302       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5303       as_fn_executable_p "$ac_path_SED" || continue
   5304 # Check for GNU ac_path_SED and select it if it is found.
   5305   # Check for GNU $ac_path_SED
   5306 case `"$ac_path_SED" --version 2>&1` in #(
   5307 *GNU*)
   5308   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5309 #(
   5310 *)
   5311   ac_count=0
   5312   printf %s 0123456789 >"conftest.in"
   5313   while :
   5314   do
   5315     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5316     mv "conftest.tmp" "conftest.in"
   5317     cp "conftest.in" "conftest.nl"
   5318     printf '%s\n' '' >> "conftest.nl"
   5319     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5320     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5321     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5322     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5323       # Best one so far, save it but keep looking for a better one
   5324       ac_cv_path_SED="$ac_path_SED"
   5325       ac_path_SED_max=$ac_count
   5326     fi
   5327     # 10*(2^10) chars as input seems more than enough
   5328     test $ac_count -gt 10 && break
   5329   done
   5330   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5331 esac
   5332 
   5333       $ac_path_SED_found && break 3
   5334     done
   5335   done
   5336   done
   5337 IFS=$as_save_IFS
   5338   if test -z "$ac_cv_path_SED"; then
   5339     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5340   fi
   5341 else
   5342   ac_cv_path_SED=$SED
   5343 fi
   5344  ;;
   5345 esac
   5346 fi
   5347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5348 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5349  SED="$ac_cv_path_SED"
   5350   rm -f conftest.sed
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 # Check whether --enable-selective-werror was given.
   5358 if test ${enable_selective_werror+y}
   5359 then :
   5360   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5361 else case e in #(
   5362   e) SELECTIVE_WERROR=yes ;;
   5363 esac
   5364 fi
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5371 if test "x$SUNCC" = "xyes"; then
   5372     BASE_CFLAGS="-v"
   5373 else
   5374     BASE_CFLAGS=""
   5375 fi
   5376 
   5377 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 xorg_testset_save_CFLAGS="$CFLAGS"
   5392 
   5393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5395 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5396 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5397 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5398 then :
   5399   printf %s "(cached) " >&6
   5400 else case e in #(
   5401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 _ACEOF
   5405 if ac_fn_c_try_compile "$LINENO"
   5406 then :
   5407   xorg_cv_cc_flag_unknown_warning_option=yes
   5408 else case e in #(
   5409   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5410 esac
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5413 esac
   5414 fi
   5415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5416 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5418 	CFLAGS="$xorg_testset_save_CFLAGS"
   5419 fi
   5420 
   5421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5424 	fi
   5425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5426 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5429 then :
   5430   printf %s "(cached) " >&6
   5431 else case e in #(
   5432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"
   5437 then :
   5438   xorg_cv_cc_flag_unused_command_line_argument=yes
   5439 else case e in #(
   5440   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5441 esac
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5444 esac
   5445 fi
   5446 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5447 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5449 	CFLAGS="$xorg_testset_save_CFLAGS"
   5450 fi
   5451 
   5452 found="no"
   5453 
   5454 	if test $found = "no" ; then
   5455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5457 		fi
   5458 
   5459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5461 		fi
   5462 
   5463 		CFLAGS="$CFLAGS -Wall"
   5464 
   5465 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5466 printf %s "checking if $CC supports -Wall... " >&6; }
   5467 		cacheid=xorg_cv_cc_flag__Wall
   5468 		if eval test \${$cacheid+y}
   5469 then :
   5470   printf %s "(cached) " >&6
   5471 else case e in #(
   5472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 int
   5476 main (void)
   5477 {
   5478 
   5479   ;
   5480   return 0;
   5481 }
   5482 _ACEOF
   5483 if ac_fn_c_try_link "$LINENO"
   5484 then :
   5485   eval $cacheid=yes
   5486 else case e in #(
   5487   e) eval $cacheid=no ;;
   5488 esac
   5489 fi
   5490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5491     conftest$ac_exeext conftest.$ac_ext ;;
   5492 esac
   5493 fi
   5494 
   5495 
   5496 		CFLAGS="$xorg_testset_save_CFLAGS"
   5497 
   5498 		eval supported=\$$cacheid
   5499 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5500 printf '%s\n' "$supported" >&6; }
   5501 		if test "$supported" = "yes" ; then
   5502 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5503 			found="yes"
   5504 		fi
   5505 	fi
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 xorg_testset_save_CFLAGS="$CFLAGS"
   5522 
   5523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5525 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5526 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5527 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5528 then :
   5529   printf %s "(cached) " >&6
   5530 else case e in #(
   5531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 _ACEOF
   5535 if ac_fn_c_try_compile "$LINENO"
   5536 then :
   5537   xorg_cv_cc_flag_unknown_warning_option=yes
   5538 else case e in #(
   5539   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5540 esac
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5543 esac
   5544 fi
   5545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5546 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5548 	CFLAGS="$xorg_testset_save_CFLAGS"
   5549 fi
   5550 
   5551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5554 	fi
   5555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5556 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5557 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5558 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5559 then :
   5560   printf %s "(cached) " >&6
   5561 else case e in #(
   5562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 int i;
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"
   5567 then :
   5568   xorg_cv_cc_flag_unused_command_line_argument=yes
   5569 else case e in #(
   5570   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5571 esac
   5572 fi
   5573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5574 esac
   5575 fi
   5576 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5577 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5579 	CFLAGS="$xorg_testset_save_CFLAGS"
   5580 fi
   5581 
   5582 found="no"
   5583 
   5584 	if test $found = "no" ; then
   5585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 		fi
   5588 
   5589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5591 		fi
   5592 
   5593 		CFLAGS="$CFLAGS -Wpointer-arith"
   5594 
   5595 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5596 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5597 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5598 		if eval test \${$cacheid+y}
   5599 then :
   5600   printf %s "(cached) " >&6
   5601 else case e in #(
   5602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5603 /* end confdefs.h.  */
   5604 int i;
   5605 int
   5606 main (void)
   5607 {
   5608 
   5609   ;
   5610   return 0;
   5611 }
   5612 _ACEOF
   5613 if ac_fn_c_try_link "$LINENO"
   5614 then :
   5615   eval $cacheid=yes
   5616 else case e in #(
   5617   e) eval $cacheid=no ;;
   5618 esac
   5619 fi
   5620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5621     conftest$ac_exeext conftest.$ac_ext ;;
   5622 esac
   5623 fi
   5624 
   5625 
   5626 		CFLAGS="$xorg_testset_save_CFLAGS"
   5627 
   5628 		eval supported=\$$cacheid
   5629 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5630 printf '%s\n' "$supported" >&6; }
   5631 		if test "$supported" = "yes" ; then
   5632 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5633 			found="yes"
   5634 		fi
   5635 	fi
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 xorg_testset_save_CFLAGS="$CFLAGS"
   5652 
   5653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5655 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5656 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5657 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5658 then :
   5659   printf %s "(cached) " >&6
   5660 else case e in #(
   5661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 _ACEOF
   5665 if ac_fn_c_try_compile "$LINENO"
   5666 then :
   5667   xorg_cv_cc_flag_unknown_warning_option=yes
   5668 else case e in #(
   5669   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5670 esac
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5673 esac
   5674 fi
   5675 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5676 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5678 	CFLAGS="$xorg_testset_save_CFLAGS"
   5679 fi
   5680 
   5681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 	fi
   5685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5686 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5687 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5688 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5689 then :
   5690   printf %s "(cached) " >&6
   5691 else case e in #(
   5692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5693 /* end confdefs.h.  */
   5694 int i;
   5695 _ACEOF
   5696 if ac_fn_c_try_compile "$LINENO"
   5697 then :
   5698   xorg_cv_cc_flag_unused_command_line_argument=yes
   5699 else case e in #(
   5700   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5701 esac
   5702 fi
   5703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5704 esac
   5705 fi
   5706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5707 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5709 	CFLAGS="$xorg_testset_save_CFLAGS"
   5710 fi
   5711 
   5712 found="no"
   5713 
   5714 	if test $found = "no" ; then
   5715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5717 		fi
   5718 
   5719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5721 		fi
   5722 
   5723 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5724 
   5725 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5726 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5727 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5728 		if eval test \${$cacheid+y}
   5729 then :
   5730   printf %s "(cached) " >&6
   5731 else case e in #(
   5732   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5733 /* end confdefs.h.  */
   5734 int i;
   5735 int
   5736 main (void)
   5737 {
   5738 
   5739   ;
   5740   return 0;
   5741 }
   5742 _ACEOF
   5743 if ac_fn_c_try_link "$LINENO"
   5744 then :
   5745   eval $cacheid=yes
   5746 else case e in #(
   5747   e) eval $cacheid=no ;;
   5748 esac
   5749 fi
   5750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5751     conftest$ac_exeext conftest.$ac_ext ;;
   5752 esac
   5753 fi
   5754 
   5755 
   5756 		CFLAGS="$xorg_testset_save_CFLAGS"
   5757 
   5758 		eval supported=\$$cacheid
   5759 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5760 printf '%s\n' "$supported" >&6; }
   5761 		if test "$supported" = "yes" ; then
   5762 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5763 			found="yes"
   5764 		fi
   5765 	fi
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 xorg_testset_save_CFLAGS="$CFLAGS"
   5782 
   5783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5785 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5786 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5787 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5788 then :
   5789   printf %s "(cached) " >&6
   5790 else case e in #(
   5791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5792 /* end confdefs.h.  */
   5793 int i;
   5794 _ACEOF
   5795 if ac_fn_c_try_compile "$LINENO"
   5796 then :
   5797   xorg_cv_cc_flag_unknown_warning_option=yes
   5798 else case e in #(
   5799   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5800 esac
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5803 esac
   5804 fi
   5805 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5806 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5808 	CFLAGS="$xorg_testset_save_CFLAGS"
   5809 fi
   5810 
   5811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5814 	fi
   5815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5816 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5817 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5818 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5819 then :
   5820   printf %s "(cached) " >&6
   5821 else case e in #(
   5822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 _ACEOF
   5826 if ac_fn_c_try_compile "$LINENO"
   5827 then :
   5828   xorg_cv_cc_flag_unused_command_line_argument=yes
   5829 else case e in #(
   5830   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5831 esac
   5832 fi
   5833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5834 esac
   5835 fi
   5836 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5837 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5839 	CFLAGS="$xorg_testset_save_CFLAGS"
   5840 fi
   5841 
   5842 found="no"
   5843 
   5844 	if test $found = "no" ; then
   5845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5847 		fi
   5848 
   5849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5851 		fi
   5852 
   5853 		CFLAGS="$CFLAGS -Wformat=2"
   5854 
   5855 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5856 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5857 		cacheid=xorg_cv_cc_flag__Wformat_2
   5858 		if eval test \${$cacheid+y}
   5859 then :
   5860   printf %s "(cached) " >&6
   5861 else case e in #(
   5862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 int
   5866 main (void)
   5867 {
   5868 
   5869   ;
   5870   return 0;
   5871 }
   5872 _ACEOF
   5873 if ac_fn_c_try_link "$LINENO"
   5874 then :
   5875   eval $cacheid=yes
   5876 else case e in #(
   5877   e) eval $cacheid=no ;;
   5878 esac
   5879 fi
   5880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5881     conftest$ac_exeext conftest.$ac_ext ;;
   5882 esac
   5883 fi
   5884 
   5885 
   5886 		CFLAGS="$xorg_testset_save_CFLAGS"
   5887 
   5888 		eval supported=\$$cacheid
   5889 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5890 printf '%s\n' "$supported" >&6; }
   5891 		if test "$supported" = "yes" ; then
   5892 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5893 			found="yes"
   5894 		fi
   5895 	fi
   5896 
   5897 	if test $found = "no" ; then
   5898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 		fi
   5901 
   5902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5904 		fi
   5905 
   5906 		CFLAGS="$CFLAGS -Wformat"
   5907 
   5908 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5909 printf %s "checking if $CC supports -Wformat... " >&6; }
   5910 		cacheid=xorg_cv_cc_flag__Wformat
   5911 		if eval test \${$cacheid+y}
   5912 then :
   5913   printf %s "(cached) " >&6
   5914 else case e in #(
   5915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 int
   5919 main (void)
   5920 {
   5921 
   5922   ;
   5923   return 0;
   5924 }
   5925 _ACEOF
   5926 if ac_fn_c_try_link "$LINENO"
   5927 then :
   5928   eval $cacheid=yes
   5929 else case e in #(
   5930   e) eval $cacheid=no ;;
   5931 esac
   5932 fi
   5933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5934     conftest$ac_exeext conftest.$ac_ext ;;
   5935 esac
   5936 fi
   5937 
   5938 
   5939 		CFLAGS="$xorg_testset_save_CFLAGS"
   5940 
   5941 		eval supported=\$$cacheid
   5942 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5943 printf '%s\n' "$supported" >&6; }
   5944 		if test "$supported" = "yes" ; then
   5945 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5946 			found="yes"
   5947 		fi
   5948 	fi
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 xorg_testset_save_CFLAGS="$CFLAGS"
   5967 
   5968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5973 then :
   5974   printf %s "(cached) " >&6
   5975 else case e in #(
   5976   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5977 /* end confdefs.h.  */
   5978 int i;
   5979 _ACEOF
   5980 if ac_fn_c_try_compile "$LINENO"
   5981 then :
   5982   xorg_cv_cc_flag_unknown_warning_option=yes
   5983 else case e in #(
   5984   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5985 esac
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5988 esac
   5989 fi
   5990 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5991 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5993 	CFLAGS="$xorg_testset_save_CFLAGS"
   5994 fi
   5995 
   5996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5999 	fi
   6000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6001 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6002 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6003 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6004 then :
   6005   printf %s "(cached) " >&6
   6006 else case e in #(
   6007   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 int i;
   6010 _ACEOF
   6011 if ac_fn_c_try_compile "$LINENO"
   6012 then :
   6013   xorg_cv_cc_flag_unused_command_line_argument=yes
   6014 else case e in #(
   6015   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6016 esac
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6019 esac
   6020 fi
   6021 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6022 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6024 	CFLAGS="$xorg_testset_save_CFLAGS"
   6025 fi
   6026 
   6027 found="no"
   6028 
   6029 	if test $found = "no" ; then
   6030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6032 		fi
   6033 
   6034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6036 		fi
   6037 
   6038 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6039 
   6040 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6041 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6042 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6043 		if eval test \${$cacheid+y}
   6044 then :
   6045   printf %s "(cached) " >&6
   6046 else case e in #(
   6047   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6048 /* end confdefs.h.  */
   6049 int i;
   6050 int
   6051 main (void)
   6052 {
   6053 
   6054   ;
   6055   return 0;
   6056 }
   6057 _ACEOF
   6058 if ac_fn_c_try_link "$LINENO"
   6059 then :
   6060   eval $cacheid=yes
   6061 else case e in #(
   6062   e) eval $cacheid=no ;;
   6063 esac
   6064 fi
   6065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6066     conftest$ac_exeext conftest.$ac_ext ;;
   6067 esac
   6068 fi
   6069 
   6070 
   6071 		CFLAGS="$xorg_testset_save_CFLAGS"
   6072 
   6073 		eval supported=\$$cacheid
   6074 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6075 printf '%s\n' "$supported" >&6; }
   6076 		if test "$supported" = "yes" ; then
   6077 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6078 			found="yes"
   6079 		fi
   6080 	fi
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 xorg_testset_save_CFLAGS="$CFLAGS"
   6097 
   6098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6100 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6101 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6102 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6103 then :
   6104   printf %s "(cached) " >&6
   6105 else case e in #(
   6106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 _ACEOF
   6110 if ac_fn_c_try_compile "$LINENO"
   6111 then :
   6112   xorg_cv_cc_flag_unknown_warning_option=yes
   6113 else case e in #(
   6114   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6115 esac
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6118 esac
   6119 fi
   6120 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6121 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6123 	CFLAGS="$xorg_testset_save_CFLAGS"
   6124 fi
   6125 
   6126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 	fi
   6130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6131 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6132 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6133 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6134 then :
   6135   printf %s "(cached) " >&6
   6136 else case e in #(
   6137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"
   6142 then :
   6143   xorg_cv_cc_flag_unused_command_line_argument=yes
   6144 else case e in #(
   6145   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6146 esac
   6147 fi
   6148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6149 esac
   6150 fi
   6151 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6152 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6153 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6154 	CFLAGS="$xorg_testset_save_CFLAGS"
   6155 fi
   6156 
   6157 found="no"
   6158 
   6159 	if test $found = "no" ; then
   6160 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6161 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6162 		fi
   6163 
   6164 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6165 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6166 		fi
   6167 
   6168 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6169 
   6170 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6171 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6172 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6173 		if eval test \${$cacheid+y}
   6174 then :
   6175   printf %s "(cached) " >&6
   6176 else case e in #(
   6177   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6178 /* end confdefs.h.  */
   6179 int i;
   6180 int
   6181 main (void)
   6182 {
   6183 
   6184   ;
   6185   return 0;
   6186 }
   6187 _ACEOF
   6188 if ac_fn_c_try_link "$LINENO"
   6189 then :
   6190   eval $cacheid=yes
   6191 else case e in #(
   6192   e) eval $cacheid=no ;;
   6193 esac
   6194 fi
   6195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6196     conftest$ac_exeext conftest.$ac_ext ;;
   6197 esac
   6198 fi
   6199 
   6200 
   6201 		CFLAGS="$xorg_testset_save_CFLAGS"
   6202 
   6203 		eval supported=\$$cacheid
   6204 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6205 printf '%s\n' "$supported" >&6; }
   6206 		if test "$supported" = "yes" ; then
   6207 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6208 			found="yes"
   6209 		fi
   6210 	fi
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 xorg_testset_save_CFLAGS="$CFLAGS"
   6227 
   6228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6230 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6233 then :
   6234   printf %s "(cached) " >&6
   6235 else case e in #(
   6236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 _ACEOF
   6240 if ac_fn_c_try_compile "$LINENO"
   6241 then :
   6242   xorg_cv_cc_flag_unknown_warning_option=yes
   6243 else case e in #(
   6244   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6245 esac
   6246 fi
   6247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6248 esac
   6249 fi
   6250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6251 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6253 	CFLAGS="$xorg_testset_save_CFLAGS"
   6254 fi
   6255 
   6256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6259 	fi
   6260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6261 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6262 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6263 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6264 then :
   6265   printf %s "(cached) " >&6
   6266 else case e in #(
   6267   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6268 /* end confdefs.h.  */
   6269 int i;
   6270 _ACEOF
   6271 if ac_fn_c_try_compile "$LINENO"
   6272 then :
   6273   xorg_cv_cc_flag_unused_command_line_argument=yes
   6274 else case e in #(
   6275   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6276 esac
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6279 esac
   6280 fi
   6281 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6282 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6284 	CFLAGS="$xorg_testset_save_CFLAGS"
   6285 fi
   6286 
   6287 found="no"
   6288 
   6289 	if test $found = "no" ; then
   6290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6292 		fi
   6293 
   6294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6296 		fi
   6297 
   6298 		CFLAGS="$CFLAGS -Wnested-externs"
   6299 
   6300 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6301 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6302 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6303 		if eval test \${$cacheid+y}
   6304 then :
   6305   printf %s "(cached) " >&6
   6306 else case e in #(
   6307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6308 /* end confdefs.h.  */
   6309 int i;
   6310 int
   6311 main (void)
   6312 {
   6313 
   6314   ;
   6315   return 0;
   6316 }
   6317 _ACEOF
   6318 if ac_fn_c_try_link "$LINENO"
   6319 then :
   6320   eval $cacheid=yes
   6321 else case e in #(
   6322   e) eval $cacheid=no ;;
   6323 esac
   6324 fi
   6325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6326     conftest$ac_exeext conftest.$ac_ext ;;
   6327 esac
   6328 fi
   6329 
   6330 
   6331 		CFLAGS="$xorg_testset_save_CFLAGS"
   6332 
   6333 		eval supported=\$$cacheid
   6334 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6335 printf '%s\n' "$supported" >&6; }
   6336 		if test "$supported" = "yes" ; then
   6337 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6338 			found="yes"
   6339 		fi
   6340 	fi
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 xorg_testset_save_CFLAGS="$CFLAGS"
   6357 
   6358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6360 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6361 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6362 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6363 then :
   6364   printf %s "(cached) " >&6
   6365 else case e in #(
   6366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 _ACEOF
   6370 if ac_fn_c_try_compile "$LINENO"
   6371 then :
   6372   xorg_cv_cc_flag_unknown_warning_option=yes
   6373 else case e in #(
   6374   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6375 esac
   6376 fi
   6377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6378 esac
   6379 fi
   6380 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6381 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6383 	CFLAGS="$xorg_testset_save_CFLAGS"
   6384 fi
   6385 
   6386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6389 	fi
   6390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6391 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6392 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6393 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6394 then :
   6395   printf %s "(cached) " >&6
   6396 else case e in #(
   6397   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6398 /* end confdefs.h.  */
   6399 int i;
   6400 _ACEOF
   6401 if ac_fn_c_try_compile "$LINENO"
   6402 then :
   6403   xorg_cv_cc_flag_unused_command_line_argument=yes
   6404 else case e in #(
   6405   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6406 esac
   6407 fi
   6408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6409 esac
   6410 fi
   6411 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6412 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6414 	CFLAGS="$xorg_testset_save_CFLAGS"
   6415 fi
   6416 
   6417 found="no"
   6418 
   6419 	if test $found = "no" ; then
   6420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 		fi
   6423 
   6424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6426 		fi
   6427 
   6428 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6429 
   6430 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6431 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6432 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6433 		if eval test \${$cacheid+y}
   6434 then :
   6435   printf %s "(cached) " >&6
   6436 else case e in #(
   6437   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6438 /* end confdefs.h.  */
   6439 int i;
   6440 int
   6441 main (void)
   6442 {
   6443 
   6444   ;
   6445   return 0;
   6446 }
   6447 _ACEOF
   6448 if ac_fn_c_try_link "$LINENO"
   6449 then :
   6450   eval $cacheid=yes
   6451 else case e in #(
   6452   e) eval $cacheid=no ;;
   6453 esac
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6456     conftest$ac_exeext conftest.$ac_ext ;;
   6457 esac
   6458 fi
   6459 
   6460 
   6461 		CFLAGS="$xorg_testset_save_CFLAGS"
   6462 
   6463 		eval supported=\$$cacheid
   6464 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6465 printf '%s\n' "$supported" >&6; }
   6466 		if test "$supported" = "yes" ; then
   6467 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6468 			found="yes"
   6469 		fi
   6470 	fi
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 xorg_testset_save_CFLAGS="$CFLAGS"
   6487 
   6488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6490 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6491 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6492 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6493 then :
   6494   printf %s "(cached) " >&6
   6495 else case e in #(
   6496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6497 /* end confdefs.h.  */
   6498 int i;
   6499 _ACEOF
   6500 if ac_fn_c_try_compile "$LINENO"
   6501 then :
   6502   xorg_cv_cc_flag_unknown_warning_option=yes
   6503 else case e in #(
   6504   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6505 esac
   6506 fi
   6507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6508 esac
   6509 fi
   6510 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6511 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6513 	CFLAGS="$xorg_testset_save_CFLAGS"
   6514 fi
   6515 
   6516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6519 	fi
   6520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6521 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6524 then :
   6525   printf %s "(cached) " >&6
   6526 else case e in #(
   6527   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"
   6532 then :
   6533   xorg_cv_cc_flag_unused_command_line_argument=yes
   6534 else case e in #(
   6535   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6536 esac
   6537 fi
   6538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6539 esac
   6540 fi
   6541 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6542 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6543 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6544 	CFLAGS="$xorg_testset_save_CFLAGS"
   6545 fi
   6546 
   6547 found="no"
   6548 
   6549 	if test $found = "no" ; then
   6550 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 		fi
   6553 
   6554 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6556 		fi
   6557 
   6558 		CFLAGS="$CFLAGS -Wold-style-definition"
   6559 
   6560 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6561 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6562 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6563 		if eval test \${$cacheid+y}
   6564 then :
   6565   printf %s "(cached) " >&6
   6566 else case e in #(
   6567   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6568 /* end confdefs.h.  */
   6569 int i;
   6570 int
   6571 main (void)
   6572 {
   6573 
   6574   ;
   6575   return 0;
   6576 }
   6577 _ACEOF
   6578 if ac_fn_c_try_link "$LINENO"
   6579 then :
   6580   eval $cacheid=yes
   6581 else case e in #(
   6582   e) eval $cacheid=no ;;
   6583 esac
   6584 fi
   6585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6586     conftest$ac_exeext conftest.$ac_ext ;;
   6587 esac
   6588 fi
   6589 
   6590 
   6591 		CFLAGS="$xorg_testset_save_CFLAGS"
   6592 
   6593 		eval supported=\$$cacheid
   6594 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6595 printf '%s\n' "$supported" >&6; }
   6596 		if test "$supported" = "yes" ; then
   6597 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6598 			found="yes"
   6599 		fi
   6600 	fi
   6601 
   6602 	if test $found = "no" ; then
   6603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6605 		fi
   6606 
   6607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6609 		fi
   6610 
   6611 		CFLAGS="$CFLAGS -fd"
   6612 
   6613 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6614 printf %s "checking if $CC supports -fd... " >&6; }
   6615 		cacheid=xorg_cv_cc_flag__fd
   6616 		if eval test \${$cacheid+y}
   6617 then :
   6618   printf %s "(cached) " >&6
   6619 else case e in #(
   6620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6621 /* end confdefs.h.  */
   6622 int i;
   6623 int
   6624 main (void)
   6625 {
   6626 
   6627   ;
   6628   return 0;
   6629 }
   6630 _ACEOF
   6631 if ac_fn_c_try_link "$LINENO"
   6632 then :
   6633   eval $cacheid=yes
   6634 else case e in #(
   6635   e) eval $cacheid=no ;;
   6636 esac
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6639     conftest$ac_exeext conftest.$ac_ext ;;
   6640 esac
   6641 fi
   6642 
   6643 
   6644 		CFLAGS="$xorg_testset_save_CFLAGS"
   6645 
   6646 		eval supported=\$$cacheid
   6647 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6648 printf '%s\n' "$supported" >&6; }
   6649 		if test "$supported" = "yes" ; then
   6650 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6651 			found="yes"
   6652 		fi
   6653 	fi
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 # This chunk adds additional warnings that could catch undesired effects.
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 xorg_testset_save_CFLAGS="$CFLAGS"
   6674 
   6675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6677 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6678 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6679 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6680 then :
   6681   printf %s "(cached) " >&6
   6682 else case e in #(
   6683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 int i;
   6686 _ACEOF
   6687 if ac_fn_c_try_compile "$LINENO"
   6688 then :
   6689   xorg_cv_cc_flag_unknown_warning_option=yes
   6690 else case e in #(
   6691   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6692 esac
   6693 fi
   6694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6695 esac
   6696 fi
   6697 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6698 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6700 	CFLAGS="$xorg_testset_save_CFLAGS"
   6701 fi
   6702 
   6703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 	fi
   6707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6709 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6710 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6711 then :
   6712   printf %s "(cached) " >&6
   6713 else case e in #(
   6714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6715 /* end confdefs.h.  */
   6716 int i;
   6717 _ACEOF
   6718 if ac_fn_c_try_compile "$LINENO"
   6719 then :
   6720   xorg_cv_cc_flag_unused_command_line_argument=yes
   6721 else case e in #(
   6722   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6723 esac
   6724 fi
   6725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6726 esac
   6727 fi
   6728 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6729 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6731 	CFLAGS="$xorg_testset_save_CFLAGS"
   6732 fi
   6733 
   6734 found="no"
   6735 
   6736 	if test $found = "no" ; then
   6737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6739 		fi
   6740 
   6741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6743 		fi
   6744 
   6745 		CFLAGS="$CFLAGS -Wunused"
   6746 
   6747 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6748 printf %s "checking if $CC supports -Wunused... " >&6; }
   6749 		cacheid=xorg_cv_cc_flag__Wunused
   6750 		if eval test \${$cacheid+y}
   6751 then :
   6752   printf %s "(cached) " >&6
   6753 else case e in #(
   6754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6755 /* end confdefs.h.  */
   6756 int i;
   6757 int
   6758 main (void)
   6759 {
   6760 
   6761   ;
   6762   return 0;
   6763 }
   6764 _ACEOF
   6765 if ac_fn_c_try_link "$LINENO"
   6766 then :
   6767   eval $cacheid=yes
   6768 else case e in #(
   6769   e) eval $cacheid=no ;;
   6770 esac
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6773     conftest$ac_exeext conftest.$ac_ext ;;
   6774 esac
   6775 fi
   6776 
   6777 
   6778 		CFLAGS="$xorg_testset_save_CFLAGS"
   6779 
   6780 		eval supported=\$$cacheid
   6781 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6782 printf '%s\n' "$supported" >&6; }
   6783 		if test "$supported" = "yes" ; then
   6784 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6785 			found="yes"
   6786 		fi
   6787 	fi
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 xorg_testset_save_CFLAGS="$CFLAGS"
   6804 
   6805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6807 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6808 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6809 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6810 then :
   6811   printf %s "(cached) " >&6
   6812 else case e in #(
   6813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6814 /* end confdefs.h.  */
   6815 int i;
   6816 _ACEOF
   6817 if ac_fn_c_try_compile "$LINENO"
   6818 then :
   6819   xorg_cv_cc_flag_unknown_warning_option=yes
   6820 else case e in #(
   6821   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6822 esac
   6823 fi
   6824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6825 esac
   6826 fi
   6827 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6828 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6830 	CFLAGS="$xorg_testset_save_CFLAGS"
   6831 fi
   6832 
   6833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6836 	fi
   6837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6838 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6839 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6840 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6841 then :
   6842   printf %s "(cached) " >&6
   6843 else case e in #(
   6844   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 _ACEOF
   6848 if ac_fn_c_try_compile "$LINENO"
   6849 then :
   6850   xorg_cv_cc_flag_unused_command_line_argument=yes
   6851 else case e in #(
   6852   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6853 esac
   6854 fi
   6855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6856 esac
   6857 fi
   6858 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6859 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6861 	CFLAGS="$xorg_testset_save_CFLAGS"
   6862 fi
   6863 
   6864 found="no"
   6865 
   6866 	if test $found = "no" ; then
   6867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 		fi
   6870 
   6871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 		fi
   6874 
   6875 		CFLAGS="$CFLAGS -Wuninitialized"
   6876 
   6877 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6878 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6879 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6880 		if eval test \${$cacheid+y}
   6881 then :
   6882   printf %s "(cached) " >&6
   6883 else case e in #(
   6884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6885 /* end confdefs.h.  */
   6886 int i;
   6887 int
   6888 main (void)
   6889 {
   6890 
   6891   ;
   6892   return 0;
   6893 }
   6894 _ACEOF
   6895 if ac_fn_c_try_link "$LINENO"
   6896 then :
   6897   eval $cacheid=yes
   6898 else case e in #(
   6899   e) eval $cacheid=no ;;
   6900 esac
   6901 fi
   6902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6903     conftest$ac_exeext conftest.$ac_ext ;;
   6904 esac
   6905 fi
   6906 
   6907 
   6908 		CFLAGS="$xorg_testset_save_CFLAGS"
   6909 
   6910 		eval supported=\$$cacheid
   6911 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6912 printf '%s\n' "$supported" >&6; }
   6913 		if test "$supported" = "yes" ; then
   6914 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6915 			found="yes"
   6916 		fi
   6917 	fi
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 xorg_testset_save_CFLAGS="$CFLAGS"
   6934 
   6935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6937 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6938 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6939 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6940 then :
   6941   printf %s "(cached) " >&6
   6942 else case e in #(
   6943   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6944 /* end confdefs.h.  */
   6945 int i;
   6946 _ACEOF
   6947 if ac_fn_c_try_compile "$LINENO"
   6948 then :
   6949   xorg_cv_cc_flag_unknown_warning_option=yes
   6950 else case e in #(
   6951   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6952 esac
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6955 esac
   6956 fi
   6957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6958 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6960 	CFLAGS="$xorg_testset_save_CFLAGS"
   6961 fi
   6962 
   6963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6966 	fi
   6967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6968 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6969 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6970 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6971 then :
   6972   printf %s "(cached) " >&6
   6973 else case e in #(
   6974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6975 /* end confdefs.h.  */
   6976 int i;
   6977 _ACEOF
   6978 if ac_fn_c_try_compile "$LINENO"
   6979 then :
   6980   xorg_cv_cc_flag_unused_command_line_argument=yes
   6981 else case e in #(
   6982   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6983 esac
   6984 fi
   6985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6986 esac
   6987 fi
   6988 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6989 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6991 	CFLAGS="$xorg_testset_save_CFLAGS"
   6992 fi
   6993 
   6994 found="no"
   6995 
   6996 	if test $found = "no" ; then
   6997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 		fi
   7000 
   7001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7003 		fi
   7004 
   7005 		CFLAGS="$CFLAGS -Wshadow"
   7006 
   7007 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7008 printf %s "checking if $CC supports -Wshadow... " >&6; }
   7009 		cacheid=xorg_cv_cc_flag__Wshadow
   7010 		if eval test \${$cacheid+y}
   7011 then :
   7012   printf %s "(cached) " >&6
   7013 else case e in #(
   7014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 int
   7018 main (void)
   7019 {
   7020 
   7021   ;
   7022   return 0;
   7023 }
   7024 _ACEOF
   7025 if ac_fn_c_try_link "$LINENO"
   7026 then :
   7027   eval $cacheid=yes
   7028 else case e in #(
   7029   e) eval $cacheid=no ;;
   7030 esac
   7031 fi
   7032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7033     conftest$ac_exeext conftest.$ac_ext ;;
   7034 esac
   7035 fi
   7036 
   7037 
   7038 		CFLAGS="$xorg_testset_save_CFLAGS"
   7039 
   7040 		eval supported=\$$cacheid
   7041 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7042 printf '%s\n' "$supported" >&6; }
   7043 		if test "$supported" = "yes" ; then
   7044 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7045 			found="yes"
   7046 		fi
   7047 	fi
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 xorg_testset_save_CFLAGS="$CFLAGS"
   7064 
   7065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7067 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7068 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7069 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else case e in #(
   7073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7074 /* end confdefs.h.  */
   7075 int i;
   7076 _ACEOF
   7077 if ac_fn_c_try_compile "$LINENO"
   7078 then :
   7079   xorg_cv_cc_flag_unknown_warning_option=yes
   7080 else case e in #(
   7081   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7082 esac
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7085 esac
   7086 fi
   7087 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7088 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7090 	CFLAGS="$xorg_testset_save_CFLAGS"
   7091 fi
   7092 
   7093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7096 	fi
   7097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7098 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7099 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7100 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7101 then :
   7102   printf %s "(cached) " >&6
   7103 else case e in #(
   7104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 int i;
   7107 _ACEOF
   7108 if ac_fn_c_try_compile "$LINENO"
   7109 then :
   7110   xorg_cv_cc_flag_unused_command_line_argument=yes
   7111 else case e in #(
   7112   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7113 esac
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7116 esac
   7117 fi
   7118 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7119 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7121 	CFLAGS="$xorg_testset_save_CFLAGS"
   7122 fi
   7123 
   7124 found="no"
   7125 
   7126 	if test $found = "no" ; then
   7127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7129 		fi
   7130 
   7131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7133 		fi
   7134 
   7135 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7136 
   7137 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7138 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7139 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7140 		if eval test \${$cacheid+y}
   7141 then :
   7142   printf %s "(cached) " >&6
   7143 else case e in #(
   7144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7145 /* end confdefs.h.  */
   7146 int i;
   7147 int
   7148 main (void)
   7149 {
   7150 
   7151   ;
   7152   return 0;
   7153 }
   7154 _ACEOF
   7155 if ac_fn_c_try_link "$LINENO"
   7156 then :
   7157   eval $cacheid=yes
   7158 else case e in #(
   7159   e) eval $cacheid=no ;;
   7160 esac
   7161 fi
   7162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7163     conftest$ac_exeext conftest.$ac_ext ;;
   7164 esac
   7165 fi
   7166 
   7167 
   7168 		CFLAGS="$xorg_testset_save_CFLAGS"
   7169 
   7170 		eval supported=\$$cacheid
   7171 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7172 printf '%s\n' "$supported" >&6; }
   7173 		if test "$supported" = "yes" ; then
   7174 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7175 			found="yes"
   7176 		fi
   7177 	fi
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 xorg_testset_save_CFLAGS="$CFLAGS"
   7194 
   7195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7197 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7200 then :
   7201   printf %s "(cached) " >&6
   7202 else case e in #(
   7203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 _ACEOF
   7207 if ac_fn_c_try_compile "$LINENO"
   7208 then :
   7209   xorg_cv_cc_flag_unknown_warning_option=yes
   7210 else case e in #(
   7211   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7212 esac
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7215 esac
   7216 fi
   7217 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7218 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7220 	CFLAGS="$xorg_testset_save_CFLAGS"
   7221 fi
   7222 
   7223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7226 	fi
   7227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7228 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7231 then :
   7232   printf %s "(cached) " >&6
   7233 else case e in #(
   7234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 _ACEOF
   7238 if ac_fn_c_try_compile "$LINENO"
   7239 then :
   7240   xorg_cv_cc_flag_unused_command_line_argument=yes
   7241 else case e in #(
   7242   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7243 esac
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7246 esac
   7247 fi
   7248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7249 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7251 	CFLAGS="$xorg_testset_save_CFLAGS"
   7252 fi
   7253 
   7254 found="no"
   7255 
   7256 	if test $found = "no" ; then
   7257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7259 		fi
   7260 
   7261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7263 		fi
   7264 
   7265 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7266 
   7267 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7268 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7269 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7270 		if eval test \${$cacheid+y}
   7271 then :
   7272   printf %s "(cached) " >&6
   7273 else case e in #(
   7274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 int
   7278 main (void)
   7279 {
   7280 
   7281   ;
   7282   return 0;
   7283 }
   7284 _ACEOF
   7285 if ac_fn_c_try_link "$LINENO"
   7286 then :
   7287   eval $cacheid=yes
   7288 else case e in #(
   7289   e) eval $cacheid=no ;;
   7290 esac
   7291 fi
   7292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7293     conftest$ac_exeext conftest.$ac_ext ;;
   7294 esac
   7295 fi
   7296 
   7297 
   7298 		CFLAGS="$xorg_testset_save_CFLAGS"
   7299 
   7300 		eval supported=\$$cacheid
   7301 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7302 printf '%s\n' "$supported" >&6; }
   7303 		if test "$supported" = "yes" ; then
   7304 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7305 			found="yes"
   7306 		fi
   7307 	fi
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 xorg_testset_save_CFLAGS="$CFLAGS"
   7324 
   7325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7327 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7328 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7329 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7330 then :
   7331   printf %s "(cached) " >&6
   7332 else case e in #(
   7333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7334 /* end confdefs.h.  */
   7335 int i;
   7336 _ACEOF
   7337 if ac_fn_c_try_compile "$LINENO"
   7338 then :
   7339   xorg_cv_cc_flag_unknown_warning_option=yes
   7340 else case e in #(
   7341   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7342 esac
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7345 esac
   7346 fi
   7347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7348 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7350 	CFLAGS="$xorg_testset_save_CFLAGS"
   7351 fi
   7352 
   7353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7356 	fi
   7357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7358 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7359 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7360 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7361 then :
   7362   printf %s "(cached) " >&6
   7363 else case e in #(
   7364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 _ACEOF
   7368 if ac_fn_c_try_compile "$LINENO"
   7369 then :
   7370   xorg_cv_cc_flag_unused_command_line_argument=yes
   7371 else case e in #(
   7372   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7373 esac
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7376 esac
   7377 fi
   7378 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7379 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7381 	CFLAGS="$xorg_testset_save_CFLAGS"
   7382 fi
   7383 
   7384 found="no"
   7385 
   7386 	if test $found = "no" ; then
   7387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7389 		fi
   7390 
   7391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7393 		fi
   7394 
   7395 		CFLAGS="$CFLAGS -Wredundant-decls"
   7396 
   7397 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7398 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7399 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7400 		if eval test \${$cacheid+y}
   7401 then :
   7402   printf %s "(cached) " >&6
   7403 else case e in #(
   7404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 int
   7408 main (void)
   7409 {
   7410 
   7411   ;
   7412   return 0;
   7413 }
   7414 _ACEOF
   7415 if ac_fn_c_try_link "$LINENO"
   7416 then :
   7417   eval $cacheid=yes
   7418 else case e in #(
   7419   e) eval $cacheid=no ;;
   7420 esac
   7421 fi
   7422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7423     conftest$ac_exeext conftest.$ac_ext ;;
   7424 esac
   7425 fi
   7426 
   7427 
   7428 		CFLAGS="$xorg_testset_save_CFLAGS"
   7429 
   7430 		eval supported=\$$cacheid
   7431 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7432 printf '%s\n' "$supported" >&6; }
   7433 		if test "$supported" = "yes" ; then
   7434 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7435 			found="yes"
   7436 		fi
   7437 	fi
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 xorg_testset_save_CFLAGS="$CFLAGS"
   7454 
   7455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7457 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7458 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7459 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7460 then :
   7461   printf %s "(cached) " >&6
   7462 else case e in #(
   7463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7464 /* end confdefs.h.  */
   7465 int i;
   7466 _ACEOF
   7467 if ac_fn_c_try_compile "$LINENO"
   7468 then :
   7469   xorg_cv_cc_flag_unknown_warning_option=yes
   7470 else case e in #(
   7471   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7472 esac
   7473 fi
   7474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7475 esac
   7476 fi
   7477 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7478 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7480 	CFLAGS="$xorg_testset_save_CFLAGS"
   7481 fi
   7482 
   7483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7486 	fi
   7487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7488 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7489 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7490 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7491 then :
   7492   printf %s "(cached) " >&6
   7493 else case e in #(
   7494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7495 /* end confdefs.h.  */
   7496 int i;
   7497 _ACEOF
   7498 if ac_fn_c_try_compile "$LINENO"
   7499 then :
   7500   xorg_cv_cc_flag_unused_command_line_argument=yes
   7501 else case e in #(
   7502   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7503 esac
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7506 esac
   7507 fi
   7508 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7509 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7511 	CFLAGS="$xorg_testset_save_CFLAGS"
   7512 fi
   7513 
   7514 found="no"
   7515 
   7516 	if test $found = "no" ; then
   7517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7519 		fi
   7520 
   7521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7523 		fi
   7524 
   7525 		CFLAGS="$CFLAGS -Wlogical-op"
   7526 
   7527 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7528 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7529 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7530 		if eval test \${$cacheid+y}
   7531 then :
   7532   printf %s "(cached) " >&6
   7533 else case e in #(
   7534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 int i;
   7537 int
   7538 main (void)
   7539 {
   7540 
   7541   ;
   7542   return 0;
   7543 }
   7544 _ACEOF
   7545 if ac_fn_c_try_link "$LINENO"
   7546 then :
   7547   eval $cacheid=yes
   7548 else case e in #(
   7549   e) eval $cacheid=no ;;
   7550 esac
   7551 fi
   7552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7553     conftest$ac_exeext conftest.$ac_ext ;;
   7554 esac
   7555 fi
   7556 
   7557 
   7558 		CFLAGS="$xorg_testset_save_CFLAGS"
   7559 
   7560 		eval supported=\$$cacheid
   7561 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7562 printf '%s\n' "$supported" >&6; }
   7563 		if test "$supported" = "yes" ; then
   7564 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7565 			found="yes"
   7566 		fi
   7567 	fi
   7568 
   7569 
   7570 
   7571 # These are currently disabled because they are noisy.  They will be enabled
   7572 # in the future once the codebase is sufficiently modernized to silence
   7573 # them.  For now, I don't want them to drown out the other warnings.
   7574 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7575 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7576 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7577 
   7578 # Turn some warnings into errors, so we don't accidentally get successful builds
   7579 # when there are problems that should be fixed.
   7580 
   7581 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 xorg_testset_save_CFLAGS="$CFLAGS"
   7596 
   7597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7599 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7602 then :
   7603   printf %s "(cached) " >&6
   7604 else case e in #(
   7605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 _ACEOF
   7609 if ac_fn_c_try_compile "$LINENO"
   7610 then :
   7611   xorg_cv_cc_flag_unknown_warning_option=yes
   7612 else case e in #(
   7613   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7614 esac
   7615 fi
   7616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7617 esac
   7618 fi
   7619 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7620 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7622 	CFLAGS="$xorg_testset_save_CFLAGS"
   7623 fi
   7624 
   7625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7628 	fi
   7629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7630 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7633 then :
   7634   printf %s "(cached) " >&6
   7635 else case e in #(
   7636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 _ACEOF
   7640 if ac_fn_c_try_compile "$LINENO"
   7641 then :
   7642   xorg_cv_cc_flag_unused_command_line_argument=yes
   7643 else case e in #(
   7644   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7645 esac
   7646 fi
   7647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7648 esac
   7649 fi
   7650 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7651 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7653 	CFLAGS="$xorg_testset_save_CFLAGS"
   7654 fi
   7655 
   7656 found="no"
   7657 
   7658 	if test $found = "no" ; then
   7659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7661 		fi
   7662 
   7663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 		fi
   7666 
   7667 		CFLAGS="$CFLAGS -Werror=implicit"
   7668 
   7669 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7670 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7671 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7672 		if eval test \${$cacheid+y}
   7673 then :
   7674   printf %s "(cached) " >&6
   7675 else case e in #(
   7676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7677 /* end confdefs.h.  */
   7678 int i;
   7679 int
   7680 main (void)
   7681 {
   7682 
   7683   ;
   7684   return 0;
   7685 }
   7686 _ACEOF
   7687 if ac_fn_c_try_link "$LINENO"
   7688 then :
   7689   eval $cacheid=yes
   7690 else case e in #(
   7691   e) eval $cacheid=no ;;
   7692 esac
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7695     conftest$ac_exeext conftest.$ac_ext ;;
   7696 esac
   7697 fi
   7698 
   7699 
   7700 		CFLAGS="$xorg_testset_save_CFLAGS"
   7701 
   7702 		eval supported=\$$cacheid
   7703 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7704 printf '%s\n' "$supported" >&6; }
   7705 		if test "$supported" = "yes" ; then
   7706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7707 			found="yes"
   7708 		fi
   7709 	fi
   7710 
   7711 	if test $found = "no" ; then
   7712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7714 		fi
   7715 
   7716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7718 		fi
   7719 
   7720 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7721 
   7722 		{ 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
   7723 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7724 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7725 		if eval test \${$cacheid+y}
   7726 then :
   7727   printf %s "(cached) " >&6
   7728 else case e in #(
   7729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7730 /* end confdefs.h.  */
   7731 int i;
   7732 int
   7733 main (void)
   7734 {
   7735 
   7736   ;
   7737   return 0;
   7738 }
   7739 _ACEOF
   7740 if ac_fn_c_try_link "$LINENO"
   7741 then :
   7742   eval $cacheid=yes
   7743 else case e in #(
   7744   e) eval $cacheid=no ;;
   7745 esac
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7748     conftest$ac_exeext conftest.$ac_ext ;;
   7749 esac
   7750 fi
   7751 
   7752 
   7753 		CFLAGS="$xorg_testset_save_CFLAGS"
   7754 
   7755 		eval supported=\$$cacheid
   7756 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7757 printf '%s\n' "$supported" >&6; }
   7758 		if test "$supported" = "yes" ; then
   7759 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7760 			found="yes"
   7761 		fi
   7762 	fi
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 xorg_testset_save_CFLAGS="$CFLAGS"
   7779 
   7780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7782 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7783 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7784 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7785 then :
   7786   printf %s "(cached) " >&6
   7787 else case e in #(
   7788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 _ACEOF
   7792 if ac_fn_c_try_compile "$LINENO"
   7793 then :
   7794   xorg_cv_cc_flag_unknown_warning_option=yes
   7795 else case e in #(
   7796   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7797 esac
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7800 esac
   7801 fi
   7802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7803 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7805 	CFLAGS="$xorg_testset_save_CFLAGS"
   7806 fi
   7807 
   7808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7811 	fi
   7812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7813 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7814 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7815 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7816 then :
   7817   printf %s "(cached) " >&6
   7818 else case e in #(
   7819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 _ACEOF
   7823 if ac_fn_c_try_compile "$LINENO"
   7824 then :
   7825   xorg_cv_cc_flag_unused_command_line_argument=yes
   7826 else case e in #(
   7827   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7828 esac
   7829 fi
   7830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7831 esac
   7832 fi
   7833 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7834 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7836 	CFLAGS="$xorg_testset_save_CFLAGS"
   7837 fi
   7838 
   7839 found="no"
   7840 
   7841 	if test $found = "no" ; then
   7842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7844 		fi
   7845 
   7846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7848 		fi
   7849 
   7850 		CFLAGS="$CFLAGS -Werror=nonnull"
   7851 
   7852 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7853 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7854 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7855 		if eval test \${$cacheid+y}
   7856 then :
   7857   printf %s "(cached) " >&6
   7858 else case e in #(
   7859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7860 /* end confdefs.h.  */
   7861 int i;
   7862 int
   7863 main (void)
   7864 {
   7865 
   7866   ;
   7867   return 0;
   7868 }
   7869 _ACEOF
   7870 if ac_fn_c_try_link "$LINENO"
   7871 then :
   7872   eval $cacheid=yes
   7873 else case e in #(
   7874   e) eval $cacheid=no ;;
   7875 esac
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7878     conftest$ac_exeext conftest.$ac_ext ;;
   7879 esac
   7880 fi
   7881 
   7882 
   7883 		CFLAGS="$xorg_testset_save_CFLAGS"
   7884 
   7885 		eval supported=\$$cacheid
   7886 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7887 printf '%s\n' "$supported" >&6; }
   7888 		if test "$supported" = "yes" ; then
   7889 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7890 			found="yes"
   7891 		fi
   7892 	fi
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 xorg_testset_save_CFLAGS="$CFLAGS"
   7909 
   7910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7912 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7913 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7914 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7915 then :
   7916   printf %s "(cached) " >&6
   7917 else case e in #(
   7918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7919 /* end confdefs.h.  */
   7920 int i;
   7921 _ACEOF
   7922 if ac_fn_c_try_compile "$LINENO"
   7923 then :
   7924   xorg_cv_cc_flag_unknown_warning_option=yes
   7925 else case e in #(
   7926   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7927 esac
   7928 fi
   7929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7930 esac
   7931 fi
   7932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7933 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7935 	CFLAGS="$xorg_testset_save_CFLAGS"
   7936 fi
   7937 
   7938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7941 	fi
   7942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7943 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7944 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7945 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7946 then :
   7947   printf %s "(cached) " >&6
   7948 else case e in #(
   7949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7950 /* end confdefs.h.  */
   7951 int i;
   7952 _ACEOF
   7953 if ac_fn_c_try_compile "$LINENO"
   7954 then :
   7955   xorg_cv_cc_flag_unused_command_line_argument=yes
   7956 else case e in #(
   7957   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7958 esac
   7959 fi
   7960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7961 esac
   7962 fi
   7963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7964 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7966 	CFLAGS="$xorg_testset_save_CFLAGS"
   7967 fi
   7968 
   7969 found="no"
   7970 
   7971 	if test $found = "no" ; then
   7972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7974 		fi
   7975 
   7976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7978 		fi
   7979 
   7980 		CFLAGS="$CFLAGS -Werror=init-self"
   7981 
   7982 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7983 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7984 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7985 		if eval test \${$cacheid+y}
   7986 then :
   7987   printf %s "(cached) " >&6
   7988 else case e in #(
   7989   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7990 /* end confdefs.h.  */
   7991 int i;
   7992 int
   7993 main (void)
   7994 {
   7995 
   7996   ;
   7997   return 0;
   7998 }
   7999 _ACEOF
   8000 if ac_fn_c_try_link "$LINENO"
   8001 then :
   8002   eval $cacheid=yes
   8003 else case e in #(
   8004   e) eval $cacheid=no ;;
   8005 esac
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8008     conftest$ac_exeext conftest.$ac_ext ;;
   8009 esac
   8010 fi
   8011 
   8012 
   8013 		CFLAGS="$xorg_testset_save_CFLAGS"
   8014 
   8015 		eval supported=\$$cacheid
   8016 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8017 printf '%s\n' "$supported" >&6; }
   8018 		if test "$supported" = "yes" ; then
   8019 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8020 			found="yes"
   8021 		fi
   8022 	fi
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 xorg_testset_save_CFLAGS="$CFLAGS"
   8039 
   8040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8042 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8043 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8044 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8045 then :
   8046   printf %s "(cached) " >&6
   8047 else case e in #(
   8048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 _ACEOF
   8052 if ac_fn_c_try_compile "$LINENO"
   8053 then :
   8054   xorg_cv_cc_flag_unknown_warning_option=yes
   8055 else case e in #(
   8056   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8057 esac
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8060 esac
   8061 fi
   8062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8063 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8065 	CFLAGS="$xorg_testset_save_CFLAGS"
   8066 fi
   8067 
   8068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8071 	fi
   8072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8073 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8074 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8075 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8076 then :
   8077   printf %s "(cached) " >&6
   8078 else case e in #(
   8079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8080 /* end confdefs.h.  */
   8081 int i;
   8082 _ACEOF
   8083 if ac_fn_c_try_compile "$LINENO"
   8084 then :
   8085   xorg_cv_cc_flag_unused_command_line_argument=yes
   8086 else case e in #(
   8087   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8088 esac
   8089 fi
   8090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8091 esac
   8092 fi
   8093 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8094 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8096 	CFLAGS="$xorg_testset_save_CFLAGS"
   8097 fi
   8098 
   8099 found="no"
   8100 
   8101 	if test $found = "no" ; then
   8102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8104 		fi
   8105 
   8106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8108 		fi
   8109 
   8110 		CFLAGS="$CFLAGS -Werror=main"
   8111 
   8112 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8113 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8114 		cacheid=xorg_cv_cc_flag__Werror_main
   8115 		if eval test \${$cacheid+y}
   8116 then :
   8117   printf %s "(cached) " >&6
   8118 else case e in #(
   8119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8120 /* end confdefs.h.  */
   8121 int i;
   8122 int
   8123 main (void)
   8124 {
   8125 
   8126   ;
   8127   return 0;
   8128 }
   8129 _ACEOF
   8130 if ac_fn_c_try_link "$LINENO"
   8131 then :
   8132   eval $cacheid=yes
   8133 else case e in #(
   8134   e) eval $cacheid=no ;;
   8135 esac
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8138     conftest$ac_exeext conftest.$ac_ext ;;
   8139 esac
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 printf '%s\n' "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else case e in #(
   8178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 _ACEOF
   8182 if ac_fn_c_try_compile "$LINENO"
   8183 then :
   8184   xorg_cv_cc_flag_unknown_warning_option=yes
   8185 else case e in #(
   8186   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8187 esac
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8190 esac
   8191 fi
   8192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8193 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8195 	CFLAGS="$xorg_testset_save_CFLAGS"
   8196 fi
   8197 
   8198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8201 	fi
   8202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8203 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8204 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8205 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8206 then :
   8207   printf %s "(cached) " >&6
   8208 else case e in #(
   8209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8210 /* end confdefs.h.  */
   8211 int i;
   8212 _ACEOF
   8213 if ac_fn_c_try_compile "$LINENO"
   8214 then :
   8215   xorg_cv_cc_flag_unused_command_line_argument=yes
   8216 else case e in #(
   8217   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8218 esac
   8219 fi
   8220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8221 esac
   8222 fi
   8223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8224 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8226 	CFLAGS="$xorg_testset_save_CFLAGS"
   8227 fi
   8228 
   8229 found="no"
   8230 
   8231 	if test $found = "no" ; then
   8232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8234 		fi
   8235 
   8236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8238 		fi
   8239 
   8240 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8241 
   8242 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8243 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8244 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8245 		if eval test \${$cacheid+y}
   8246 then :
   8247   printf %s "(cached) " >&6
   8248 else case e in #(
   8249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8250 /* end confdefs.h.  */
   8251 int i;
   8252 int
   8253 main (void)
   8254 {
   8255 
   8256   ;
   8257   return 0;
   8258 }
   8259 _ACEOF
   8260 if ac_fn_c_try_link "$LINENO"
   8261 then :
   8262   eval $cacheid=yes
   8263 else case e in #(
   8264   e) eval $cacheid=no ;;
   8265 esac
   8266 fi
   8267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8268     conftest$ac_exeext conftest.$ac_ext ;;
   8269 esac
   8270 fi
   8271 
   8272 
   8273 		CFLAGS="$xorg_testset_save_CFLAGS"
   8274 
   8275 		eval supported=\$$cacheid
   8276 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8277 printf '%s\n' "$supported" >&6; }
   8278 		if test "$supported" = "yes" ; then
   8279 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8280 			found="yes"
   8281 		fi
   8282 	fi
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 xorg_testset_save_CFLAGS="$CFLAGS"
   8299 
   8300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8309 /* end confdefs.h.  */
   8310 int i;
   8311 _ACEOF
   8312 if ac_fn_c_try_compile "$LINENO"
   8313 then :
   8314   xorg_cv_cc_flag_unknown_warning_option=yes
   8315 else case e in #(
   8316   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8317 esac
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8320 esac
   8321 fi
   8322 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8323 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8325 	CFLAGS="$xorg_testset_save_CFLAGS"
   8326 fi
   8327 
   8328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 	fi
   8332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8333 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8336 then :
   8337   printf %s "(cached) " >&6
   8338 else case e in #(
   8339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8340 /* end confdefs.h.  */
   8341 int i;
   8342 _ACEOF
   8343 if ac_fn_c_try_compile "$LINENO"
   8344 then :
   8345   xorg_cv_cc_flag_unused_command_line_argument=yes
   8346 else case e in #(
   8347   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8348 esac
   8349 fi
   8350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8351 esac
   8352 fi
   8353 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8354 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8356 	CFLAGS="$xorg_testset_save_CFLAGS"
   8357 fi
   8358 
   8359 found="no"
   8360 
   8361 	if test $found = "no" ; then
   8362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8364 		fi
   8365 
   8366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8368 		fi
   8369 
   8370 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8371 
   8372 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8373 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8374 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8375 		if eval test \${$cacheid+y}
   8376 then :
   8377   printf %s "(cached) " >&6
   8378 else case e in #(
   8379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8380 /* end confdefs.h.  */
   8381 int i;
   8382 int
   8383 main (void)
   8384 {
   8385 
   8386   ;
   8387   return 0;
   8388 }
   8389 _ACEOF
   8390 if ac_fn_c_try_link "$LINENO"
   8391 then :
   8392   eval $cacheid=yes
   8393 else case e in #(
   8394   e) eval $cacheid=no ;;
   8395 esac
   8396 fi
   8397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8398     conftest$ac_exeext conftest.$ac_ext ;;
   8399 esac
   8400 fi
   8401 
   8402 
   8403 		CFLAGS="$xorg_testset_save_CFLAGS"
   8404 
   8405 		eval supported=\$$cacheid
   8406 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8407 printf '%s\n' "$supported" >&6; }
   8408 		if test "$supported" = "yes" ; then
   8409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8410 			found="yes"
   8411 		fi
   8412 	fi
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 xorg_testset_save_CFLAGS="$CFLAGS"
   8429 
   8430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8435 then :
   8436   printf %s "(cached) " >&6
   8437 else case e in #(
   8438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8439 /* end confdefs.h.  */
   8440 int i;
   8441 _ACEOF
   8442 if ac_fn_c_try_compile "$LINENO"
   8443 then :
   8444   xorg_cv_cc_flag_unknown_warning_option=yes
   8445 else case e in #(
   8446   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8447 esac
   8448 fi
   8449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8450 esac
   8451 fi
   8452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8453 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8455 	CFLAGS="$xorg_testset_save_CFLAGS"
   8456 fi
   8457 
   8458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8461 	fi
   8462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8463 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8464 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8465 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8466 then :
   8467   printf %s "(cached) " >&6
   8468 else case e in #(
   8469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8470 /* end confdefs.h.  */
   8471 int i;
   8472 _ACEOF
   8473 if ac_fn_c_try_compile "$LINENO"
   8474 then :
   8475   xorg_cv_cc_flag_unused_command_line_argument=yes
   8476 else case e in #(
   8477   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8478 esac
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8481 esac
   8482 fi
   8483 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8484 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8486 	CFLAGS="$xorg_testset_save_CFLAGS"
   8487 fi
   8488 
   8489 found="no"
   8490 
   8491 	if test $found = "no" ; then
   8492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8494 		fi
   8495 
   8496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8498 		fi
   8499 
   8500 		CFLAGS="$CFLAGS -Werror=return-type"
   8501 
   8502 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8503 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8504 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8505 		if eval test \${$cacheid+y}
   8506 then :
   8507   printf %s "(cached) " >&6
   8508 else case e in #(
   8509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8510 /* end confdefs.h.  */
   8511 int i;
   8512 int
   8513 main (void)
   8514 {
   8515 
   8516   ;
   8517   return 0;
   8518 }
   8519 _ACEOF
   8520 if ac_fn_c_try_link "$LINENO"
   8521 then :
   8522   eval $cacheid=yes
   8523 else case e in #(
   8524   e) eval $cacheid=no ;;
   8525 esac
   8526 fi
   8527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8528     conftest$ac_exeext conftest.$ac_ext ;;
   8529 esac
   8530 fi
   8531 
   8532 
   8533 		CFLAGS="$xorg_testset_save_CFLAGS"
   8534 
   8535 		eval supported=\$$cacheid
   8536 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8537 printf '%s\n' "$supported" >&6; }
   8538 		if test "$supported" = "yes" ; then
   8539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8540 			found="yes"
   8541 		fi
   8542 	fi
   8543 
   8544 	if test $found = "no" ; then
   8545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8547 		fi
   8548 
   8549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8551 		fi
   8552 
   8553 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8554 
   8555 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8556 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8557 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8558 		if eval test \${$cacheid+y}
   8559 then :
   8560   printf %s "(cached) " >&6
   8561 else case e in #(
   8562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8563 /* end confdefs.h.  */
   8564 int i;
   8565 int
   8566 main (void)
   8567 {
   8568 
   8569   ;
   8570   return 0;
   8571 }
   8572 _ACEOF
   8573 if ac_fn_c_try_link "$LINENO"
   8574 then :
   8575   eval $cacheid=yes
   8576 else case e in #(
   8577   e) eval $cacheid=no ;;
   8578 esac
   8579 fi
   8580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8581     conftest$ac_exeext conftest.$ac_ext ;;
   8582 esac
   8583 fi
   8584 
   8585 
   8586 		CFLAGS="$xorg_testset_save_CFLAGS"
   8587 
   8588 		eval supported=\$$cacheid
   8589 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8590 printf '%s\n' "$supported" >&6; }
   8591 		if test "$supported" = "yes" ; then
   8592 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8593 			found="yes"
   8594 		fi
   8595 	fi
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 xorg_testset_save_CFLAGS="$CFLAGS"
   8612 
   8613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8615 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8616 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8617 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8618 then :
   8619   printf %s "(cached) " >&6
   8620 else case e in #(
   8621   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 _ACEOF
   8625 if ac_fn_c_try_compile "$LINENO"
   8626 then :
   8627   xorg_cv_cc_flag_unknown_warning_option=yes
   8628 else case e in #(
   8629   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8630 esac
   8631 fi
   8632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8633 esac
   8634 fi
   8635 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8636 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8638 	CFLAGS="$xorg_testset_save_CFLAGS"
   8639 fi
   8640 
   8641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8644 	fi
   8645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8646 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8649 then :
   8650   printf %s "(cached) " >&6
   8651 else case e in #(
   8652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653 /* end confdefs.h.  */
   8654 int i;
   8655 _ACEOF
   8656 if ac_fn_c_try_compile "$LINENO"
   8657 then :
   8658   xorg_cv_cc_flag_unused_command_line_argument=yes
   8659 else case e in #(
   8660   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8661 esac
   8662 fi
   8663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8664 esac
   8665 fi
   8666 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8667 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8669 	CFLAGS="$xorg_testset_save_CFLAGS"
   8670 fi
   8671 
   8672 found="no"
   8673 
   8674 	if test $found = "no" ; then
   8675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8677 		fi
   8678 
   8679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8681 		fi
   8682 
   8683 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8684 
   8685 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8686 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8687 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8688 		if eval test \${$cacheid+y}
   8689 then :
   8690   printf %s "(cached) " >&6
   8691 else case e in #(
   8692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8693 /* end confdefs.h.  */
   8694 int i;
   8695 int
   8696 main (void)
   8697 {
   8698 
   8699   ;
   8700   return 0;
   8701 }
   8702 _ACEOF
   8703 if ac_fn_c_try_link "$LINENO"
   8704 then :
   8705   eval $cacheid=yes
   8706 else case e in #(
   8707   e) eval $cacheid=no ;;
   8708 esac
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8711     conftest$ac_exeext conftest.$ac_ext ;;
   8712 esac
   8713 fi
   8714 
   8715 
   8716 		CFLAGS="$xorg_testset_save_CFLAGS"
   8717 
   8718 		eval supported=\$$cacheid
   8719 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8720 printf '%s\n' "$supported" >&6; }
   8721 		if test "$supported" = "yes" ; then
   8722 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8723 			found="yes"
   8724 		fi
   8725 	fi
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 xorg_testset_save_CFLAGS="$CFLAGS"
   8742 
   8743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8748 then :
   8749   printf %s "(cached) " >&6
   8750 else case e in #(
   8751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 _ACEOF
   8755 if ac_fn_c_try_compile "$LINENO"
   8756 then :
   8757   xorg_cv_cc_flag_unknown_warning_option=yes
   8758 else case e in #(
   8759   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8760 esac
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8763 esac
   8764 fi
   8765 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8766 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8768 	CFLAGS="$xorg_testset_save_CFLAGS"
   8769 fi
   8770 
   8771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8774 	fi
   8775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8776 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8779 then :
   8780   printf %s "(cached) " >&6
   8781 else case e in #(
   8782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8783 /* end confdefs.h.  */
   8784 int i;
   8785 _ACEOF
   8786 if ac_fn_c_try_compile "$LINENO"
   8787 then :
   8788   xorg_cv_cc_flag_unused_command_line_argument=yes
   8789 else case e in #(
   8790   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8791 esac
   8792 fi
   8793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8794 esac
   8795 fi
   8796 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8797 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8799 	CFLAGS="$xorg_testset_save_CFLAGS"
   8800 fi
   8801 
   8802 found="no"
   8803 
   8804 	if test $found = "no" ; then
   8805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8807 		fi
   8808 
   8809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8811 		fi
   8812 
   8813 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8814 
   8815 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8816 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8817 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8818 		if eval test \${$cacheid+y}
   8819 then :
   8820   printf %s "(cached) " >&6
   8821 else case e in #(
   8822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8823 /* end confdefs.h.  */
   8824 int i;
   8825 int
   8826 main (void)
   8827 {
   8828 
   8829   ;
   8830   return 0;
   8831 }
   8832 _ACEOF
   8833 if ac_fn_c_try_link "$LINENO"
   8834 then :
   8835   eval $cacheid=yes
   8836 else case e in #(
   8837   e) eval $cacheid=no ;;
   8838 esac
   8839 fi
   8840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8841     conftest$ac_exeext conftest.$ac_ext ;;
   8842 esac
   8843 fi
   8844 
   8845 
   8846 		CFLAGS="$xorg_testset_save_CFLAGS"
   8847 
   8848 		eval supported=\$$cacheid
   8849 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8850 printf '%s\n' "$supported" >&6; }
   8851 		if test "$supported" = "yes" ; then
   8852 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8853 			found="yes"
   8854 		fi
   8855 	fi
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 xorg_testset_save_CFLAGS="$CFLAGS"
   8872 
   8873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8875 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else case e in #(
   8881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"
   8886 then :
   8887   xorg_cv_cc_flag_unknown_warning_option=yes
   8888 else case e in #(
   8889   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8890 esac
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8893 esac
   8894 fi
   8895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8896 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8898 	CFLAGS="$xorg_testset_save_CFLAGS"
   8899 fi
   8900 
   8901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 	fi
   8905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8906 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8909 then :
   8910   printf %s "(cached) " >&6
   8911 else case e in #(
   8912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 int i;
   8915 _ACEOF
   8916 if ac_fn_c_try_compile "$LINENO"
   8917 then :
   8918   xorg_cv_cc_flag_unused_command_line_argument=yes
   8919 else case e in #(
   8920   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8921 esac
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8924 esac
   8925 fi
   8926 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8927 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8929 	CFLAGS="$xorg_testset_save_CFLAGS"
   8930 fi
   8931 
   8932 found="no"
   8933 
   8934 	if test $found = "no" ; then
   8935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8937 		fi
   8938 
   8939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8941 		fi
   8942 
   8943 		CFLAGS="$CFLAGS -Werror=write-strings"
   8944 
   8945 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8946 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8947 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8948 		if eval test \${$cacheid+y}
   8949 then :
   8950   printf %s "(cached) " >&6
   8951 else case e in #(
   8952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8953 /* end confdefs.h.  */
   8954 int i;
   8955 int
   8956 main (void)
   8957 {
   8958 
   8959   ;
   8960   return 0;
   8961 }
   8962 _ACEOF
   8963 if ac_fn_c_try_link "$LINENO"
   8964 then :
   8965   eval $cacheid=yes
   8966 else case e in #(
   8967   e) eval $cacheid=no ;;
   8968 esac
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8971     conftest$ac_exeext conftest.$ac_ext ;;
   8972 esac
   8973 fi
   8974 
   8975 
   8976 		CFLAGS="$xorg_testset_save_CFLAGS"
   8977 
   8978 		eval supported=\$$cacheid
   8979 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8980 printf '%s\n' "$supported" >&6; }
   8981 		if test "$supported" = "yes" ; then
   8982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8983 			found="yes"
   8984 		fi
   8985 	fi
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 xorg_testset_save_CFLAGS="$CFLAGS"
   9002 
   9003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9005 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9008 then :
   9009   printf %s "(cached) " >&6
   9010 else case e in #(
   9011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 _ACEOF
   9015 if ac_fn_c_try_compile "$LINENO"
   9016 then :
   9017   xorg_cv_cc_flag_unknown_warning_option=yes
   9018 else case e in #(
   9019   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9020 esac
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9023 esac
   9024 fi
   9025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9026 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9028 	CFLAGS="$xorg_testset_save_CFLAGS"
   9029 fi
   9030 
   9031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 	fi
   9035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9036 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9039 then :
   9040   printf %s "(cached) " >&6
   9041 else case e in #(
   9042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 _ACEOF
   9046 if ac_fn_c_try_compile "$LINENO"
   9047 then :
   9048   xorg_cv_cc_flag_unused_command_line_argument=yes
   9049 else case e in #(
   9050   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9051 esac
   9052 fi
   9053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9054 esac
   9055 fi
   9056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9057 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9059 	CFLAGS="$xorg_testset_save_CFLAGS"
   9060 fi
   9061 
   9062 found="no"
   9063 
   9064 	if test $found = "no" ; then
   9065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9067 		fi
   9068 
   9069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9071 		fi
   9072 
   9073 		CFLAGS="$CFLAGS -Werror=address"
   9074 
   9075 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9076 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9077 		cacheid=xorg_cv_cc_flag__Werror_address
   9078 		if eval test \${$cacheid+y}
   9079 then :
   9080   printf %s "(cached) " >&6
   9081 else case e in #(
   9082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 int
   9086 main (void)
   9087 {
   9088 
   9089   ;
   9090   return 0;
   9091 }
   9092 _ACEOF
   9093 if ac_fn_c_try_link "$LINENO"
   9094 then :
   9095   eval $cacheid=yes
   9096 else case e in #(
   9097   e) eval $cacheid=no ;;
   9098 esac
   9099 fi
   9100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9101     conftest$ac_exeext conftest.$ac_ext ;;
   9102 esac
   9103 fi
   9104 
   9105 
   9106 		CFLAGS="$xorg_testset_save_CFLAGS"
   9107 
   9108 		eval supported=\$$cacheid
   9109 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9110 printf '%s\n' "$supported" >&6; }
   9111 		if test "$supported" = "yes" ; then
   9112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9113 			found="yes"
   9114 		fi
   9115 	fi
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 xorg_testset_save_CFLAGS="$CFLAGS"
   9132 
   9133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9135 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9136 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9137 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9138 then :
   9139   printf %s "(cached) " >&6
   9140 else case e in #(
   9141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9142 /* end confdefs.h.  */
   9143 int i;
   9144 _ACEOF
   9145 if ac_fn_c_try_compile "$LINENO"
   9146 then :
   9147   xorg_cv_cc_flag_unknown_warning_option=yes
   9148 else case e in #(
   9149   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9150 esac
   9151 fi
   9152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9153 esac
   9154 fi
   9155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9156 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9158 	CFLAGS="$xorg_testset_save_CFLAGS"
   9159 fi
   9160 
   9161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9164 	fi
   9165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9166 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9167 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9168 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9169 then :
   9170   printf %s "(cached) " >&6
   9171 else case e in #(
   9172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 int i;
   9175 _ACEOF
   9176 if ac_fn_c_try_compile "$LINENO"
   9177 then :
   9178   xorg_cv_cc_flag_unused_command_line_argument=yes
   9179 else case e in #(
   9180   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9181 esac
   9182 fi
   9183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9184 esac
   9185 fi
   9186 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9187 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9189 	CFLAGS="$xorg_testset_save_CFLAGS"
   9190 fi
   9191 
   9192 found="no"
   9193 
   9194 	if test $found = "no" ; then
   9195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 		fi
   9198 
   9199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9201 		fi
   9202 
   9203 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9204 
   9205 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9206 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9207 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9208 		if eval test \${$cacheid+y}
   9209 then :
   9210   printf %s "(cached) " >&6
   9211 else case e in #(
   9212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 int
   9216 main (void)
   9217 {
   9218 
   9219   ;
   9220   return 0;
   9221 }
   9222 _ACEOF
   9223 if ac_fn_c_try_link "$LINENO"
   9224 then :
   9225   eval $cacheid=yes
   9226 else case e in #(
   9227   e) eval $cacheid=no ;;
   9228 esac
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9231     conftest$ac_exeext conftest.$ac_ext ;;
   9232 esac
   9233 fi
   9234 
   9235 
   9236 		CFLAGS="$xorg_testset_save_CFLAGS"
   9237 
   9238 		eval supported=\$$cacheid
   9239 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9240 printf '%s\n' "$supported" >&6; }
   9241 		if test "$supported" = "yes" ; then
   9242 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9243 			found="yes"
   9244 		fi
   9245 	fi
   9246 
   9247 	if test $found = "no" ; then
   9248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 		fi
   9251 
   9252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9254 		fi
   9255 
   9256 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9257 
   9258 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9259 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9260 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9261 		if eval test \${$cacheid+y}
   9262 then :
   9263   printf %s "(cached) " >&6
   9264 else case e in #(
   9265   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9266 /* end confdefs.h.  */
   9267 int i;
   9268 int
   9269 main (void)
   9270 {
   9271 
   9272   ;
   9273   return 0;
   9274 }
   9275 _ACEOF
   9276 if ac_fn_c_try_link "$LINENO"
   9277 then :
   9278   eval $cacheid=yes
   9279 else case e in #(
   9280   e) eval $cacheid=no ;;
   9281 esac
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9284     conftest$ac_exeext conftest.$ac_ext ;;
   9285 esac
   9286 fi
   9287 
   9288 
   9289 		CFLAGS="$xorg_testset_save_CFLAGS"
   9290 
   9291 		eval supported=\$$cacheid
   9292 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9293 printf '%s\n' "$supported" >&6; }
   9294 		if test "$supported" = "yes" ; then
   9295 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9296 			found="yes"
   9297 		fi
   9298 	fi
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 xorg_testset_save_CFLAGS="$CFLAGS"
   9315 
   9316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9318 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9321 then :
   9322   printf %s "(cached) " >&6
   9323 else case e in #(
   9324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9325 /* end confdefs.h.  */
   9326 int i;
   9327 _ACEOF
   9328 if ac_fn_c_try_compile "$LINENO"
   9329 then :
   9330   xorg_cv_cc_flag_unknown_warning_option=yes
   9331 else case e in #(
   9332   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9333 esac
   9334 fi
   9335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9336 esac
   9337 fi
   9338 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9339 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9341 	CFLAGS="$xorg_testset_save_CFLAGS"
   9342 fi
   9343 
   9344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9347 	fi
   9348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9349 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9350 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9351 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9352 then :
   9353   printf %s "(cached) " >&6
   9354 else case e in #(
   9355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9356 /* end confdefs.h.  */
   9357 int i;
   9358 _ACEOF
   9359 if ac_fn_c_try_compile "$LINENO"
   9360 then :
   9361   xorg_cv_cc_flag_unused_command_line_argument=yes
   9362 else case e in #(
   9363   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9364 esac
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9367 esac
   9368 fi
   9369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9370 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9372 	CFLAGS="$xorg_testset_save_CFLAGS"
   9373 fi
   9374 
   9375 found="no"
   9376 
   9377 	if test $found = "no" ; then
   9378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 		fi
   9381 
   9382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9384 		fi
   9385 
   9386 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9387 
   9388 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9389 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9390 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9391 		if eval test \${$cacheid+y}
   9392 then :
   9393   printf %s "(cached) " >&6
   9394 else case e in #(
   9395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9396 /* end confdefs.h.  */
   9397 int i;
   9398 int
   9399 main (void)
   9400 {
   9401 
   9402   ;
   9403   return 0;
   9404 }
   9405 _ACEOF
   9406 if ac_fn_c_try_link "$LINENO"
   9407 then :
   9408   eval $cacheid=yes
   9409 else case e in #(
   9410   e) eval $cacheid=no ;;
   9411 esac
   9412 fi
   9413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9414     conftest$ac_exeext conftest.$ac_ext ;;
   9415 esac
   9416 fi
   9417 
   9418 
   9419 		CFLAGS="$xorg_testset_save_CFLAGS"
   9420 
   9421 		eval supported=\$$cacheid
   9422 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9423 printf '%s\n' "$supported" >&6; }
   9424 		if test "$supported" = "yes" ; then
   9425 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9426 			found="yes"
   9427 		fi
   9428 	fi
   9429 
   9430  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9431 else
   9432 { 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
   9433 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;}
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 xorg_testset_save_CFLAGS="$CFLAGS"
   9448 
   9449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9451 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9452 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9453 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9454 then :
   9455   printf %s "(cached) " >&6
   9456 else case e in #(
   9457   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 _ACEOF
   9461 if ac_fn_c_try_compile "$LINENO"
   9462 then :
   9463   xorg_cv_cc_flag_unknown_warning_option=yes
   9464 else case e in #(
   9465   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9466 esac
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9469 esac
   9470 fi
   9471 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9472 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9474 	CFLAGS="$xorg_testset_save_CFLAGS"
   9475 fi
   9476 
   9477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 	fi
   9481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9482 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9483 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9484 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9485 then :
   9486   printf %s "(cached) " >&6
   9487 else case e in #(
   9488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9489 /* end confdefs.h.  */
   9490 int i;
   9491 _ACEOF
   9492 if ac_fn_c_try_compile "$LINENO"
   9493 then :
   9494   xorg_cv_cc_flag_unused_command_line_argument=yes
   9495 else case e in #(
   9496   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9497 esac
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9500 esac
   9501 fi
   9502 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9503 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9505 	CFLAGS="$xorg_testset_save_CFLAGS"
   9506 fi
   9507 
   9508 found="no"
   9509 
   9510 	if test $found = "no" ; then
   9511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9513 		fi
   9514 
   9515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9517 		fi
   9518 
   9519 		CFLAGS="$CFLAGS -Wimplicit"
   9520 
   9521 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9522 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9523 		cacheid=xorg_cv_cc_flag__Wimplicit
   9524 		if eval test \${$cacheid+y}
   9525 then :
   9526   printf %s "(cached) " >&6
   9527 else case e in #(
   9528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9529 /* end confdefs.h.  */
   9530 int i;
   9531 int
   9532 main (void)
   9533 {
   9534 
   9535   ;
   9536   return 0;
   9537 }
   9538 _ACEOF
   9539 if ac_fn_c_try_link "$LINENO"
   9540 then :
   9541   eval $cacheid=yes
   9542 else case e in #(
   9543   e) eval $cacheid=no ;;
   9544 esac
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9547     conftest$ac_exeext conftest.$ac_ext ;;
   9548 esac
   9549 fi
   9550 
   9551 
   9552 		CFLAGS="$xorg_testset_save_CFLAGS"
   9553 
   9554 		eval supported=\$$cacheid
   9555 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9556 printf '%s\n' "$supported" >&6; }
   9557 		if test "$supported" = "yes" ; then
   9558 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9559 			found="yes"
   9560 		fi
   9561 	fi
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 xorg_testset_save_CFLAGS="$CFLAGS"
   9578 
   9579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9581 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9584 then :
   9585   printf %s "(cached) " >&6
   9586 else case e in #(
   9587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9588 /* end confdefs.h.  */
   9589 int i;
   9590 _ACEOF
   9591 if ac_fn_c_try_compile "$LINENO"
   9592 then :
   9593   xorg_cv_cc_flag_unknown_warning_option=yes
   9594 else case e in #(
   9595   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9596 esac
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9599 esac
   9600 fi
   9601 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9602 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9604 	CFLAGS="$xorg_testset_save_CFLAGS"
   9605 fi
   9606 
   9607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9610 	fi
   9611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9612 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9615 then :
   9616   printf %s "(cached) " >&6
   9617 else case e in #(
   9618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9619 /* end confdefs.h.  */
   9620 int i;
   9621 _ACEOF
   9622 if ac_fn_c_try_compile "$LINENO"
   9623 then :
   9624   xorg_cv_cc_flag_unused_command_line_argument=yes
   9625 else case e in #(
   9626   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9627 esac
   9628 fi
   9629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9630 esac
   9631 fi
   9632 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9633 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 found="no"
   9639 
   9640 	if test $found = "no" ; then
   9641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 		fi
   9644 
   9645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9647 		fi
   9648 
   9649 		CFLAGS="$CFLAGS -Wnonnull"
   9650 
   9651 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9652 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9653 		cacheid=xorg_cv_cc_flag__Wnonnull
   9654 		if eval test \${$cacheid+y}
   9655 then :
   9656   printf %s "(cached) " >&6
   9657 else case e in #(
   9658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9659 /* end confdefs.h.  */
   9660 int i;
   9661 int
   9662 main (void)
   9663 {
   9664 
   9665   ;
   9666   return 0;
   9667 }
   9668 _ACEOF
   9669 if ac_fn_c_try_link "$LINENO"
   9670 then :
   9671   eval $cacheid=yes
   9672 else case e in #(
   9673   e) eval $cacheid=no ;;
   9674 esac
   9675 fi
   9676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9677     conftest$ac_exeext conftest.$ac_ext ;;
   9678 esac
   9679 fi
   9680 
   9681 
   9682 		CFLAGS="$xorg_testset_save_CFLAGS"
   9683 
   9684 		eval supported=\$$cacheid
   9685 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9686 printf '%s\n' "$supported" >&6; }
   9687 		if test "$supported" = "yes" ; then
   9688 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9689 			found="yes"
   9690 		fi
   9691 	fi
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 xorg_testset_save_CFLAGS="$CFLAGS"
   9708 
   9709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9711 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9714 then :
   9715   printf %s "(cached) " >&6
   9716 else case e in #(
   9717   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 _ACEOF
   9721 if ac_fn_c_try_compile "$LINENO"
   9722 then :
   9723   xorg_cv_cc_flag_unknown_warning_option=yes
   9724 else case e in #(
   9725   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9726 esac
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9729 esac
   9730 fi
   9731 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9732 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9734 	CFLAGS="$xorg_testset_save_CFLAGS"
   9735 fi
   9736 
   9737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	fi
   9741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9742 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9743 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9744 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9745 then :
   9746   printf %s "(cached) " >&6
   9747 else case e in #(
   9748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 _ACEOF
   9752 if ac_fn_c_try_compile "$LINENO"
   9753 then :
   9754   xorg_cv_cc_flag_unused_command_line_argument=yes
   9755 else case e in #(
   9756   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9757 esac
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9760 esac
   9761 fi
   9762 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9763 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9765 	CFLAGS="$xorg_testset_save_CFLAGS"
   9766 fi
   9767 
   9768 found="no"
   9769 
   9770 	if test $found = "no" ; then
   9771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9773 		fi
   9774 
   9775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9777 		fi
   9778 
   9779 		CFLAGS="$CFLAGS -Winit-self"
   9780 
   9781 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9782 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9783 		cacheid=xorg_cv_cc_flag__Winit_self
   9784 		if eval test \${$cacheid+y}
   9785 then :
   9786   printf %s "(cached) " >&6
   9787 else case e in #(
   9788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9789 /* end confdefs.h.  */
   9790 int i;
   9791 int
   9792 main (void)
   9793 {
   9794 
   9795   ;
   9796   return 0;
   9797 }
   9798 _ACEOF
   9799 if ac_fn_c_try_link "$LINENO"
   9800 then :
   9801   eval $cacheid=yes
   9802 else case e in #(
   9803   e) eval $cacheid=no ;;
   9804 esac
   9805 fi
   9806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9807     conftest$ac_exeext conftest.$ac_ext ;;
   9808 esac
   9809 fi
   9810 
   9811 
   9812 		CFLAGS="$xorg_testset_save_CFLAGS"
   9813 
   9814 		eval supported=\$$cacheid
   9815 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9816 printf '%s\n' "$supported" >&6; }
   9817 		if test "$supported" = "yes" ; then
   9818 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9819 			found="yes"
   9820 		fi
   9821 	fi
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 xorg_testset_save_CFLAGS="$CFLAGS"
   9838 
   9839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9841 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9842 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9843 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else case e in #(
   9847   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 _ACEOF
   9851 if ac_fn_c_try_compile "$LINENO"
   9852 then :
   9853   xorg_cv_cc_flag_unknown_warning_option=yes
   9854 else case e in #(
   9855   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9856 esac
   9857 fi
   9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9859 esac
   9860 fi
   9861 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9862 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9864 	CFLAGS="$xorg_testset_save_CFLAGS"
   9865 fi
   9866 
   9867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 	fi
   9871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9872 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9873 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9874 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9875 then :
   9876   printf %s "(cached) " >&6
   9877 else case e in #(
   9878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9879 /* end confdefs.h.  */
   9880 int i;
   9881 _ACEOF
   9882 if ac_fn_c_try_compile "$LINENO"
   9883 then :
   9884   xorg_cv_cc_flag_unused_command_line_argument=yes
   9885 else case e in #(
   9886   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9887 esac
   9888 fi
   9889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9890 esac
   9891 fi
   9892 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9893 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 found="no"
   9899 
   9900 	if test $found = "no" ; then
   9901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9903 		fi
   9904 
   9905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 		fi
   9908 
   9909 		CFLAGS="$CFLAGS -Wmain"
   9910 
   9911 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9912 printf %s "checking if $CC supports -Wmain... " >&6; }
   9913 		cacheid=xorg_cv_cc_flag__Wmain
   9914 		if eval test \${$cacheid+y}
   9915 then :
   9916   printf %s "(cached) " >&6
   9917 else case e in #(
   9918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9919 /* end confdefs.h.  */
   9920 int i;
   9921 int
   9922 main (void)
   9923 {
   9924 
   9925   ;
   9926   return 0;
   9927 }
   9928 _ACEOF
   9929 if ac_fn_c_try_link "$LINENO"
   9930 then :
   9931   eval $cacheid=yes
   9932 else case e in #(
   9933   e) eval $cacheid=no ;;
   9934 esac
   9935 fi
   9936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9937     conftest$ac_exeext conftest.$ac_ext ;;
   9938 esac
   9939 fi
   9940 
   9941 
   9942 		CFLAGS="$xorg_testset_save_CFLAGS"
   9943 
   9944 		eval supported=\$$cacheid
   9945 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9946 printf '%s\n' "$supported" >&6; }
   9947 		if test "$supported" = "yes" ; then
   9948 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9949 			found="yes"
   9950 		fi
   9951 	fi
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 xorg_testset_save_CFLAGS="$CFLAGS"
   9968 
   9969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9971 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9974 then :
   9975   printf %s "(cached) " >&6
   9976 else case e in #(
   9977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 _ACEOF
   9981 if ac_fn_c_try_compile "$LINENO"
   9982 then :
   9983   xorg_cv_cc_flag_unknown_warning_option=yes
   9984 else case e in #(
   9985   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9986 esac
   9987 fi
   9988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9989 esac
   9990 fi
   9991 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9992 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9994 	CFLAGS="$xorg_testset_save_CFLAGS"
   9995 fi
   9996 
   9997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10000 	fi
   10001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10002 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10003 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10004 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10005 then :
   10006   printf %s "(cached) " >&6
   10007 else case e in #(
   10008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10009 /* end confdefs.h.  */
   10010 int i;
   10011 _ACEOF
   10012 if ac_fn_c_try_compile "$LINENO"
   10013 then :
   10014   xorg_cv_cc_flag_unused_command_line_argument=yes
   10015 else case e in #(
   10016   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10017 esac
   10018 fi
   10019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10020 esac
   10021 fi
   10022 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10023 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10025 	CFLAGS="$xorg_testset_save_CFLAGS"
   10026 fi
   10027 
   10028 found="no"
   10029 
   10030 	if test $found = "no" ; then
   10031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10033 		fi
   10034 
   10035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10037 		fi
   10038 
   10039 		CFLAGS="$CFLAGS -Wmissing-braces"
   10040 
   10041 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10042 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10043 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10044 		if eval test \${$cacheid+y}
   10045 then :
   10046   printf %s "(cached) " >&6
   10047 else case e in #(
   10048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10049 /* end confdefs.h.  */
   10050 int i;
   10051 int
   10052 main (void)
   10053 {
   10054 
   10055   ;
   10056   return 0;
   10057 }
   10058 _ACEOF
   10059 if ac_fn_c_try_link "$LINENO"
   10060 then :
   10061   eval $cacheid=yes
   10062 else case e in #(
   10063   e) eval $cacheid=no ;;
   10064 esac
   10065 fi
   10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10067     conftest$ac_exeext conftest.$ac_ext ;;
   10068 esac
   10069 fi
   10070 
   10071 
   10072 		CFLAGS="$xorg_testset_save_CFLAGS"
   10073 
   10074 		eval supported=\$$cacheid
   10075 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10076 printf '%s\n' "$supported" >&6; }
   10077 		if test "$supported" = "yes" ; then
   10078 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10079 			found="yes"
   10080 		fi
   10081 	fi
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 xorg_testset_save_CFLAGS="$CFLAGS"
   10098 
   10099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10101 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10102 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10103 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10104 then :
   10105   printf %s "(cached) " >&6
   10106 else case e in #(
   10107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 _ACEOF
   10111 if ac_fn_c_try_compile "$LINENO"
   10112 then :
   10113   xorg_cv_cc_flag_unknown_warning_option=yes
   10114 else case e in #(
   10115   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10116 esac
   10117 fi
   10118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10119 esac
   10120 fi
   10121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10122 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10124 	CFLAGS="$xorg_testset_save_CFLAGS"
   10125 fi
   10126 
   10127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10130 	fi
   10131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10132 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10135 then :
   10136   printf %s "(cached) " >&6
   10137 else case e in #(
   10138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10139 /* end confdefs.h.  */
   10140 int i;
   10141 _ACEOF
   10142 if ac_fn_c_try_compile "$LINENO"
   10143 then :
   10144   xorg_cv_cc_flag_unused_command_line_argument=yes
   10145 else case e in #(
   10146   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10147 esac
   10148 fi
   10149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10150 esac
   10151 fi
   10152 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10153 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10155 	CFLAGS="$xorg_testset_save_CFLAGS"
   10156 fi
   10157 
   10158 found="no"
   10159 
   10160 	if test $found = "no" ; then
   10161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10163 		fi
   10164 
   10165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10167 		fi
   10168 
   10169 		CFLAGS="$CFLAGS -Wsequence-point"
   10170 
   10171 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10172 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10173 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10174 		if eval test \${$cacheid+y}
   10175 then :
   10176   printf %s "(cached) " >&6
   10177 else case e in #(
   10178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10179 /* end confdefs.h.  */
   10180 int i;
   10181 int
   10182 main (void)
   10183 {
   10184 
   10185   ;
   10186   return 0;
   10187 }
   10188 _ACEOF
   10189 if ac_fn_c_try_link "$LINENO"
   10190 then :
   10191   eval $cacheid=yes
   10192 else case e in #(
   10193   e) eval $cacheid=no ;;
   10194 esac
   10195 fi
   10196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10197     conftest$ac_exeext conftest.$ac_ext ;;
   10198 esac
   10199 fi
   10200 
   10201 
   10202 		CFLAGS="$xorg_testset_save_CFLAGS"
   10203 
   10204 		eval supported=\$$cacheid
   10205 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10206 printf '%s\n' "$supported" >&6; }
   10207 		if test "$supported" = "yes" ; then
   10208 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10209 			found="yes"
   10210 		fi
   10211 	fi
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 xorg_testset_save_CFLAGS="$CFLAGS"
   10228 
   10229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10231 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10232 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10233 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10234 then :
   10235   printf %s "(cached) " >&6
   10236 else case e in #(
   10237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10238 /* end confdefs.h.  */
   10239 int i;
   10240 _ACEOF
   10241 if ac_fn_c_try_compile "$LINENO"
   10242 then :
   10243   xorg_cv_cc_flag_unknown_warning_option=yes
   10244 else case e in #(
   10245   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10246 esac
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10249 esac
   10250 fi
   10251 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10252 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10254 	CFLAGS="$xorg_testset_save_CFLAGS"
   10255 fi
   10256 
   10257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	fi
   10261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10262 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10265 then :
   10266   printf %s "(cached) " >&6
   10267 else case e in #(
   10268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10269 /* end confdefs.h.  */
   10270 int i;
   10271 _ACEOF
   10272 if ac_fn_c_try_compile "$LINENO"
   10273 then :
   10274   xorg_cv_cc_flag_unused_command_line_argument=yes
   10275 else case e in #(
   10276   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10277 esac
   10278 fi
   10279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10280 esac
   10281 fi
   10282 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10283 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10285 	CFLAGS="$xorg_testset_save_CFLAGS"
   10286 fi
   10287 
   10288 found="no"
   10289 
   10290 	if test $found = "no" ; then
   10291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10293 		fi
   10294 
   10295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10297 		fi
   10298 
   10299 		CFLAGS="$CFLAGS -Wreturn-type"
   10300 
   10301 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10302 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10303 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10304 		if eval test \${$cacheid+y}
   10305 then :
   10306   printf %s "(cached) " >&6
   10307 else case e in #(
   10308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10309 /* end confdefs.h.  */
   10310 int i;
   10311 int
   10312 main (void)
   10313 {
   10314 
   10315   ;
   10316   return 0;
   10317 }
   10318 _ACEOF
   10319 if ac_fn_c_try_link "$LINENO"
   10320 then :
   10321   eval $cacheid=yes
   10322 else case e in #(
   10323   e) eval $cacheid=no ;;
   10324 esac
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10327     conftest$ac_exeext conftest.$ac_ext ;;
   10328 esac
   10329 fi
   10330 
   10331 
   10332 		CFLAGS="$xorg_testset_save_CFLAGS"
   10333 
   10334 		eval supported=\$$cacheid
   10335 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10336 printf '%s\n' "$supported" >&6; }
   10337 		if test "$supported" = "yes" ; then
   10338 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10339 			found="yes"
   10340 		fi
   10341 	fi
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 xorg_testset_save_CFLAGS="$CFLAGS"
   10358 
   10359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10361 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10364 then :
   10365   printf %s "(cached) " >&6
   10366 else case e in #(
   10367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10368 /* end confdefs.h.  */
   10369 int i;
   10370 _ACEOF
   10371 if ac_fn_c_try_compile "$LINENO"
   10372 then :
   10373   xorg_cv_cc_flag_unknown_warning_option=yes
   10374 else case e in #(
   10375   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10376 esac
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10379 esac
   10380 fi
   10381 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10382 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10384 	CFLAGS="$xorg_testset_save_CFLAGS"
   10385 fi
   10386 
   10387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10390 	fi
   10391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10392 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10393 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10394 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10395 then :
   10396   printf %s "(cached) " >&6
   10397 else case e in #(
   10398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10399 /* end confdefs.h.  */
   10400 int i;
   10401 _ACEOF
   10402 if ac_fn_c_try_compile "$LINENO"
   10403 then :
   10404   xorg_cv_cc_flag_unused_command_line_argument=yes
   10405 else case e in #(
   10406   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10407 esac
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10410 esac
   10411 fi
   10412 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10413 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10415 	CFLAGS="$xorg_testset_save_CFLAGS"
   10416 fi
   10417 
   10418 found="no"
   10419 
   10420 	if test $found = "no" ; then
   10421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10423 		fi
   10424 
   10425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10427 		fi
   10428 
   10429 		CFLAGS="$CFLAGS -Wtrigraphs"
   10430 
   10431 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10432 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10433 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10434 		if eval test \${$cacheid+y}
   10435 then :
   10436   printf %s "(cached) " >&6
   10437 else case e in #(
   10438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10439 /* end confdefs.h.  */
   10440 int i;
   10441 int
   10442 main (void)
   10443 {
   10444 
   10445   ;
   10446   return 0;
   10447 }
   10448 _ACEOF
   10449 if ac_fn_c_try_link "$LINENO"
   10450 then :
   10451   eval $cacheid=yes
   10452 else case e in #(
   10453   e) eval $cacheid=no ;;
   10454 esac
   10455 fi
   10456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10457     conftest$ac_exeext conftest.$ac_ext ;;
   10458 esac
   10459 fi
   10460 
   10461 
   10462 		CFLAGS="$xorg_testset_save_CFLAGS"
   10463 
   10464 		eval supported=\$$cacheid
   10465 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10466 printf '%s\n' "$supported" >&6; }
   10467 		if test "$supported" = "yes" ; then
   10468 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10469 			found="yes"
   10470 		fi
   10471 	fi
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 xorg_testset_save_CFLAGS="$CFLAGS"
   10488 
   10489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10491 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10492 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10493 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10494 then :
   10495   printf %s "(cached) " >&6
   10496 else case e in #(
   10497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 _ACEOF
   10501 if ac_fn_c_try_compile "$LINENO"
   10502 then :
   10503   xorg_cv_cc_flag_unknown_warning_option=yes
   10504 else case e in #(
   10505   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10506 esac
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10509 esac
   10510 fi
   10511 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10512 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10514 	CFLAGS="$xorg_testset_save_CFLAGS"
   10515 fi
   10516 
   10517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10520 	fi
   10521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10522 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10523 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10524 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10525 then :
   10526   printf %s "(cached) " >&6
   10527 else case e in #(
   10528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10529 /* end confdefs.h.  */
   10530 int i;
   10531 _ACEOF
   10532 if ac_fn_c_try_compile "$LINENO"
   10533 then :
   10534   xorg_cv_cc_flag_unused_command_line_argument=yes
   10535 else case e in #(
   10536   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10537 esac
   10538 fi
   10539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10540 esac
   10541 fi
   10542 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10543 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10545 	CFLAGS="$xorg_testset_save_CFLAGS"
   10546 fi
   10547 
   10548 found="no"
   10549 
   10550 	if test $found = "no" ; then
   10551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10553 		fi
   10554 
   10555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10557 		fi
   10558 
   10559 		CFLAGS="$CFLAGS -Warray-bounds"
   10560 
   10561 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10562 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10563 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10564 		if eval test \${$cacheid+y}
   10565 then :
   10566   printf %s "(cached) " >&6
   10567 else case e in #(
   10568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10569 /* end confdefs.h.  */
   10570 int i;
   10571 int
   10572 main (void)
   10573 {
   10574 
   10575   ;
   10576   return 0;
   10577 }
   10578 _ACEOF
   10579 if ac_fn_c_try_link "$LINENO"
   10580 then :
   10581   eval $cacheid=yes
   10582 else case e in #(
   10583   e) eval $cacheid=no ;;
   10584 esac
   10585 fi
   10586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10587     conftest$ac_exeext conftest.$ac_ext ;;
   10588 esac
   10589 fi
   10590 
   10591 
   10592 		CFLAGS="$xorg_testset_save_CFLAGS"
   10593 
   10594 		eval supported=\$$cacheid
   10595 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10596 printf '%s\n' "$supported" >&6; }
   10597 		if test "$supported" = "yes" ; then
   10598 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10599 			found="yes"
   10600 		fi
   10601 	fi
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 xorg_testset_save_CFLAGS="$CFLAGS"
   10618 
   10619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10621 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10622 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10623 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else case e in #(
   10627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 _ACEOF
   10631 if ac_fn_c_try_compile "$LINENO"
   10632 then :
   10633   xorg_cv_cc_flag_unknown_warning_option=yes
   10634 else case e in #(
   10635   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10636 esac
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10639 esac
   10640 fi
   10641 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10642 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10644 	CFLAGS="$xorg_testset_save_CFLAGS"
   10645 fi
   10646 
   10647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10650 	fi
   10651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10652 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10653 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10654 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10655 then :
   10656   printf %s "(cached) " >&6
   10657 else case e in #(
   10658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10659 /* end confdefs.h.  */
   10660 int i;
   10661 _ACEOF
   10662 if ac_fn_c_try_compile "$LINENO"
   10663 then :
   10664   xorg_cv_cc_flag_unused_command_line_argument=yes
   10665 else case e in #(
   10666   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10667 esac
   10668 fi
   10669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10670 esac
   10671 fi
   10672 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10673 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10675 	CFLAGS="$xorg_testset_save_CFLAGS"
   10676 fi
   10677 
   10678 found="no"
   10679 
   10680 	if test $found = "no" ; then
   10681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10683 		fi
   10684 
   10685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10687 		fi
   10688 
   10689 		CFLAGS="$CFLAGS -Wwrite-strings"
   10690 
   10691 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10692 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10693 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10694 		if eval test \${$cacheid+y}
   10695 then :
   10696   printf %s "(cached) " >&6
   10697 else case e in #(
   10698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10699 /* end confdefs.h.  */
   10700 int i;
   10701 int
   10702 main (void)
   10703 {
   10704 
   10705   ;
   10706   return 0;
   10707 }
   10708 _ACEOF
   10709 if ac_fn_c_try_link "$LINENO"
   10710 then :
   10711   eval $cacheid=yes
   10712 else case e in #(
   10713   e) eval $cacheid=no ;;
   10714 esac
   10715 fi
   10716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10717     conftest$ac_exeext conftest.$ac_ext ;;
   10718 esac
   10719 fi
   10720 
   10721 
   10722 		CFLAGS="$xorg_testset_save_CFLAGS"
   10723 
   10724 		eval supported=\$$cacheid
   10725 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10726 printf '%s\n' "$supported" >&6; }
   10727 		if test "$supported" = "yes" ; then
   10728 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10729 			found="yes"
   10730 		fi
   10731 	fi
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 xorg_testset_save_CFLAGS="$CFLAGS"
   10748 
   10749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10751 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10754 then :
   10755   printf %s "(cached) " >&6
   10756 else case e in #(
   10757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10758 /* end confdefs.h.  */
   10759 int i;
   10760 _ACEOF
   10761 if ac_fn_c_try_compile "$LINENO"
   10762 then :
   10763   xorg_cv_cc_flag_unknown_warning_option=yes
   10764 else case e in #(
   10765   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10766 esac
   10767 fi
   10768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10769 esac
   10770 fi
   10771 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10772 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10774 	CFLAGS="$xorg_testset_save_CFLAGS"
   10775 fi
   10776 
   10777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10780 	fi
   10781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10782 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10785 then :
   10786   printf %s "(cached) " >&6
   10787 else case e in #(
   10788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10789 /* end confdefs.h.  */
   10790 int i;
   10791 _ACEOF
   10792 if ac_fn_c_try_compile "$LINENO"
   10793 then :
   10794   xorg_cv_cc_flag_unused_command_line_argument=yes
   10795 else case e in #(
   10796   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10797 esac
   10798 fi
   10799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10800 esac
   10801 fi
   10802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10803 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10805 	CFLAGS="$xorg_testset_save_CFLAGS"
   10806 fi
   10807 
   10808 found="no"
   10809 
   10810 	if test $found = "no" ; then
   10811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10813 		fi
   10814 
   10815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10817 		fi
   10818 
   10819 		CFLAGS="$CFLAGS -Waddress"
   10820 
   10821 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10822 printf %s "checking if $CC supports -Waddress... " >&6; }
   10823 		cacheid=xorg_cv_cc_flag__Waddress
   10824 		if eval test \${$cacheid+y}
   10825 then :
   10826   printf %s "(cached) " >&6
   10827 else case e in #(
   10828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 int i;
   10831 int
   10832 main (void)
   10833 {
   10834 
   10835   ;
   10836   return 0;
   10837 }
   10838 _ACEOF
   10839 if ac_fn_c_try_link "$LINENO"
   10840 then :
   10841   eval $cacheid=yes
   10842 else case e in #(
   10843   e) eval $cacheid=no ;;
   10844 esac
   10845 fi
   10846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10847     conftest$ac_exeext conftest.$ac_ext ;;
   10848 esac
   10849 fi
   10850 
   10851 
   10852 		CFLAGS="$xorg_testset_save_CFLAGS"
   10853 
   10854 		eval supported=\$$cacheid
   10855 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10856 printf '%s\n' "$supported" >&6; }
   10857 		if test "$supported" = "yes" ; then
   10858 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10859 			found="yes"
   10860 		fi
   10861 	fi
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 xorg_testset_save_CFLAGS="$CFLAGS"
   10878 
   10879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10881 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10882 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10883 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else case e in #(
   10887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 _ACEOF
   10891 if ac_fn_c_try_compile "$LINENO"
   10892 then :
   10893   xorg_cv_cc_flag_unknown_warning_option=yes
   10894 else case e in #(
   10895   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10896 esac
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10899 esac
   10900 fi
   10901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10902 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10904 	CFLAGS="$xorg_testset_save_CFLAGS"
   10905 fi
   10906 
   10907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10910 	fi
   10911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10912 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10913 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10914 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10915 then :
   10916   printf %s "(cached) " >&6
   10917 else case e in #(
   10918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10919 /* end confdefs.h.  */
   10920 int i;
   10921 _ACEOF
   10922 if ac_fn_c_try_compile "$LINENO"
   10923 then :
   10924   xorg_cv_cc_flag_unused_command_line_argument=yes
   10925 else case e in #(
   10926   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10927 esac
   10928 fi
   10929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10930 esac
   10931 fi
   10932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10933 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10935 	CFLAGS="$xorg_testset_save_CFLAGS"
   10936 fi
   10937 
   10938 found="no"
   10939 
   10940 	if test $found = "no" ; then
   10941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10943 		fi
   10944 
   10945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10947 		fi
   10948 
   10949 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10950 
   10951 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10952 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10953 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10954 		if eval test \${$cacheid+y}
   10955 then :
   10956   printf %s "(cached) " >&6
   10957 else case e in #(
   10958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10959 /* end confdefs.h.  */
   10960 int i;
   10961 int
   10962 main (void)
   10963 {
   10964 
   10965   ;
   10966   return 0;
   10967 }
   10968 _ACEOF
   10969 if ac_fn_c_try_link "$LINENO"
   10970 then :
   10971   eval $cacheid=yes
   10972 else case e in #(
   10973   e) eval $cacheid=no ;;
   10974 esac
   10975 fi
   10976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10977     conftest$ac_exeext conftest.$ac_ext ;;
   10978 esac
   10979 fi
   10980 
   10981 
   10982 		CFLAGS="$xorg_testset_save_CFLAGS"
   10983 
   10984 		eval supported=\$$cacheid
   10985 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10986 printf '%s\n' "$supported" >&6; }
   10987 		if test "$supported" = "yes" ; then
   10988 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10989 			found="yes"
   10990 		fi
   10991 	fi
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 xorg_testset_save_CFLAGS="$CFLAGS"
   11008 
   11009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11012 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11013 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11014 then :
   11015   printf %s "(cached) " >&6
   11016 else case e in #(
   11017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11018 /* end confdefs.h.  */
   11019 int i;
   11020 _ACEOF
   11021 if ac_fn_c_try_compile "$LINENO"
   11022 then :
   11023   xorg_cv_cc_flag_unknown_warning_option=yes
   11024 else case e in #(
   11025   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11026 esac
   11027 fi
   11028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11029 esac
   11030 fi
   11031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11032 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11034 	CFLAGS="$xorg_testset_save_CFLAGS"
   11035 fi
   11036 
   11037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11040 	fi
   11041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11042 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11043 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11044 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11045 then :
   11046   printf %s "(cached) " >&6
   11047 else case e in #(
   11048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11049 /* end confdefs.h.  */
   11050 int i;
   11051 _ACEOF
   11052 if ac_fn_c_try_compile "$LINENO"
   11053 then :
   11054   xorg_cv_cc_flag_unused_command_line_argument=yes
   11055 else case e in #(
   11056   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11057 esac
   11058 fi
   11059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11060 esac
   11061 fi
   11062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11063 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11065 	CFLAGS="$xorg_testset_save_CFLAGS"
   11066 fi
   11067 
   11068 found="no"
   11069 
   11070 	if test $found = "no" ; then
   11071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11073 		fi
   11074 
   11075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11077 		fi
   11078 
   11079 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11080 
   11081 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11082 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11083 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11084 		if eval test \${$cacheid+y}
   11085 then :
   11086   printf %s "(cached) " >&6
   11087 else case e in #(
   11088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11089 /* end confdefs.h.  */
   11090 int i;
   11091 int
   11092 main (void)
   11093 {
   11094 
   11095   ;
   11096   return 0;
   11097 }
   11098 _ACEOF
   11099 if ac_fn_c_try_link "$LINENO"
   11100 then :
   11101   eval $cacheid=yes
   11102 else case e in #(
   11103   e) eval $cacheid=no ;;
   11104 esac
   11105 fi
   11106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11107     conftest$ac_exeext conftest.$ac_ext ;;
   11108 esac
   11109 fi
   11110 
   11111 
   11112 		CFLAGS="$xorg_testset_save_CFLAGS"
   11113 
   11114 		eval supported=\$$cacheid
   11115 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11116 printf '%s\n' "$supported" >&6; }
   11117 		if test "$supported" = "yes" ; then
   11118 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11119 			found="yes"
   11120 		fi
   11121 	fi
   11122 
   11123 
   11124 fi
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 		CWARNFLAGS="$BASE_CFLAGS"
   11133 		if  test "x$GCC" = xyes ; then
   11134 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11135 		fi
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 # Check whether --enable-strict-compilation was given.
   11145 if test ${enable_strict_compilation+y}
   11146 then :
   11147   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11148 else case e in #(
   11149   e) STRICT_COMPILE=no ;;
   11150 esac
   11151 fi
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 STRICT_CFLAGS=""
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 xorg_testset_save_CFLAGS="$CFLAGS"
   11173 
   11174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11176 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11177 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11178 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11179 then :
   11180   printf %s "(cached) " >&6
   11181 else case e in #(
   11182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11183 /* end confdefs.h.  */
   11184 int i;
   11185 _ACEOF
   11186 if ac_fn_c_try_compile "$LINENO"
   11187 then :
   11188   xorg_cv_cc_flag_unknown_warning_option=yes
   11189 else case e in #(
   11190   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11191 esac
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11194 esac
   11195 fi
   11196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11197 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11199 	CFLAGS="$xorg_testset_save_CFLAGS"
   11200 fi
   11201 
   11202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11205 	fi
   11206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11207 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11208 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11209 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11210 then :
   11211   printf %s "(cached) " >&6
   11212 else case e in #(
   11213   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11214 /* end confdefs.h.  */
   11215 int i;
   11216 _ACEOF
   11217 if ac_fn_c_try_compile "$LINENO"
   11218 then :
   11219   xorg_cv_cc_flag_unused_command_line_argument=yes
   11220 else case e in #(
   11221   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11222 esac
   11223 fi
   11224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11225 esac
   11226 fi
   11227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11228 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11230 	CFLAGS="$xorg_testset_save_CFLAGS"
   11231 fi
   11232 
   11233 found="no"
   11234 
   11235 	if test $found = "no" ; then
   11236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11238 		fi
   11239 
   11240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11242 		fi
   11243 
   11244 		CFLAGS="$CFLAGS -pedantic"
   11245 
   11246 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11247 printf %s "checking if $CC supports -pedantic... " >&6; }
   11248 		cacheid=xorg_cv_cc_flag__pedantic
   11249 		if eval test \${$cacheid+y}
   11250 then :
   11251   printf %s "(cached) " >&6
   11252 else case e in #(
   11253   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11254 /* end confdefs.h.  */
   11255 int i;
   11256 int
   11257 main (void)
   11258 {
   11259 
   11260   ;
   11261   return 0;
   11262 }
   11263 _ACEOF
   11264 if ac_fn_c_try_link "$LINENO"
   11265 then :
   11266   eval $cacheid=yes
   11267 else case e in #(
   11268   e) eval $cacheid=no ;;
   11269 esac
   11270 fi
   11271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11272     conftest$ac_exeext conftest.$ac_ext ;;
   11273 esac
   11274 fi
   11275 
   11276 
   11277 		CFLAGS="$xorg_testset_save_CFLAGS"
   11278 
   11279 		eval supported=\$$cacheid
   11280 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11281 printf '%s\n' "$supported" >&6; }
   11282 		if test "$supported" = "yes" ; then
   11283 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11284 			found="yes"
   11285 		fi
   11286 	fi
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 xorg_testset_save_CFLAGS="$CFLAGS"
   11303 
   11304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11306 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11307 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11308 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11309 then :
   11310   printf %s "(cached) " >&6
   11311 else case e in #(
   11312   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11313 /* end confdefs.h.  */
   11314 int i;
   11315 _ACEOF
   11316 if ac_fn_c_try_compile "$LINENO"
   11317 then :
   11318   xorg_cv_cc_flag_unknown_warning_option=yes
   11319 else case e in #(
   11320   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11321 esac
   11322 fi
   11323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11324 esac
   11325 fi
   11326 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11327 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11329 	CFLAGS="$xorg_testset_save_CFLAGS"
   11330 fi
   11331 
   11332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11335 	fi
   11336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11337 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11340 then :
   11341   printf %s "(cached) " >&6
   11342 else case e in #(
   11343   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11344 /* end confdefs.h.  */
   11345 int i;
   11346 _ACEOF
   11347 if ac_fn_c_try_compile "$LINENO"
   11348 then :
   11349   xorg_cv_cc_flag_unused_command_line_argument=yes
   11350 else case e in #(
   11351   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11352 esac
   11353 fi
   11354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11355 esac
   11356 fi
   11357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11358 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11360 	CFLAGS="$xorg_testset_save_CFLAGS"
   11361 fi
   11362 
   11363 found="no"
   11364 
   11365 	if test $found = "no" ; then
   11366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11368 		fi
   11369 
   11370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11372 		fi
   11373 
   11374 		CFLAGS="$CFLAGS -Werror"
   11375 
   11376 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11377 printf %s "checking if $CC supports -Werror... " >&6; }
   11378 		cacheid=xorg_cv_cc_flag__Werror
   11379 		if eval test \${$cacheid+y}
   11380 then :
   11381   printf %s "(cached) " >&6
   11382 else case e in #(
   11383   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11384 /* end confdefs.h.  */
   11385 int i;
   11386 int
   11387 main (void)
   11388 {
   11389 
   11390   ;
   11391   return 0;
   11392 }
   11393 _ACEOF
   11394 if ac_fn_c_try_link "$LINENO"
   11395 then :
   11396   eval $cacheid=yes
   11397 else case e in #(
   11398   e) eval $cacheid=no ;;
   11399 esac
   11400 fi
   11401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11402     conftest$ac_exeext conftest.$ac_ext ;;
   11403 esac
   11404 fi
   11405 
   11406 
   11407 		CFLAGS="$xorg_testset_save_CFLAGS"
   11408 
   11409 		eval supported=\$$cacheid
   11410 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11411 printf '%s\n' "$supported" >&6; }
   11412 		if test "$supported" = "yes" ; then
   11413 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11414 			found="yes"
   11415 		fi
   11416 	fi
   11417 
   11418 	if test $found = "no" ; then
   11419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11421 		fi
   11422 
   11423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11425 		fi
   11426 
   11427 		CFLAGS="$CFLAGS -errwarn"
   11428 
   11429 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11430 printf %s "checking if $CC supports -errwarn... " >&6; }
   11431 		cacheid=xorg_cv_cc_flag__errwarn
   11432 		if eval test \${$cacheid+y}
   11433 then :
   11434   printf %s "(cached) " >&6
   11435 else case e in #(
   11436   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11437 /* end confdefs.h.  */
   11438 int i;
   11439 int
   11440 main (void)
   11441 {
   11442 
   11443   ;
   11444   return 0;
   11445 }
   11446 _ACEOF
   11447 if ac_fn_c_try_link "$LINENO"
   11448 then :
   11449   eval $cacheid=yes
   11450 else case e in #(
   11451   e) eval $cacheid=no ;;
   11452 esac
   11453 fi
   11454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11455     conftest$ac_exeext conftest.$ac_ext ;;
   11456 esac
   11457 fi
   11458 
   11459 
   11460 		CFLAGS="$xorg_testset_save_CFLAGS"
   11461 
   11462 		eval supported=\$$cacheid
   11463 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11464 printf '%s\n' "$supported" >&6; }
   11465 		if test "$supported" = "yes" ; then
   11466 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11467 			found="yes"
   11468 		fi
   11469 	fi
   11470 
   11471 
   11472 
   11473 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11474 # activate it with -Werror, so we add it here explicitly.
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 xorg_testset_save_CFLAGS="$CFLAGS"
   11489 
   11490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11492 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11495 then :
   11496   printf %s "(cached) " >&6
   11497 else case e in #(
   11498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11499 /* end confdefs.h.  */
   11500 int i;
   11501 _ACEOF
   11502 if ac_fn_c_try_compile "$LINENO"
   11503 then :
   11504   xorg_cv_cc_flag_unknown_warning_option=yes
   11505 else case e in #(
   11506   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11507 esac
   11508 fi
   11509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11510 esac
   11511 fi
   11512 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11513 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11515 	CFLAGS="$xorg_testset_save_CFLAGS"
   11516 fi
   11517 
   11518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11521 	fi
   11522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11523 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11524 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11525 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11526 then :
   11527   printf %s "(cached) " >&6
   11528 else case e in #(
   11529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11530 /* end confdefs.h.  */
   11531 int i;
   11532 _ACEOF
   11533 if ac_fn_c_try_compile "$LINENO"
   11534 then :
   11535   xorg_cv_cc_flag_unused_command_line_argument=yes
   11536 else case e in #(
   11537   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11538 esac
   11539 fi
   11540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11541 esac
   11542 fi
   11543 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11544 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11546 	CFLAGS="$xorg_testset_save_CFLAGS"
   11547 fi
   11548 
   11549 found="no"
   11550 
   11551 	if test $found = "no" ; then
   11552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11554 		fi
   11555 
   11556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11558 		fi
   11559 
   11560 		CFLAGS="$CFLAGS -Werror=attributes"
   11561 
   11562 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11563 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11564 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11565 		if eval test \${$cacheid+y}
   11566 then :
   11567   printf %s "(cached) " >&6
   11568 else case e in #(
   11569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11570 /* end confdefs.h.  */
   11571 int i;
   11572 int
   11573 main (void)
   11574 {
   11575 
   11576   ;
   11577   return 0;
   11578 }
   11579 _ACEOF
   11580 if ac_fn_c_try_link "$LINENO"
   11581 then :
   11582   eval $cacheid=yes
   11583 else case e in #(
   11584   e) eval $cacheid=no ;;
   11585 esac
   11586 fi
   11587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11588     conftest$ac_exeext conftest.$ac_ext ;;
   11589 esac
   11590 fi
   11591 
   11592 
   11593 		CFLAGS="$xorg_testset_save_CFLAGS"
   11594 
   11595 		eval supported=\$$cacheid
   11596 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11597 printf '%s\n' "$supported" >&6; }
   11598 		if test "$supported" = "yes" ; then
   11599 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11600 			found="yes"
   11601 		fi
   11602 	fi
   11603 
   11604 
   11605 
   11606 if test "x$STRICT_COMPILE" = "xyes"; then
   11607     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11608     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11609 fi
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 cat >>confdefs.h <<_ACEOF
   11619 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11620 _ACEOF
   11621 
   11622 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11623 	if test "x$PVM" = "x"; then
   11624 		PVM="0"
   11625 	fi
   11626 
   11627 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11628 
   11629 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11630 	if test "x$PVP" = "x"; then
   11631 		PVP="0"
   11632 	fi
   11633 
   11634 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11635 
   11636 
   11637 
   11638 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11639 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11640 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11641 touch \$(top_srcdir)/ChangeLog; \
   11642 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11643 
   11644 
   11645 
   11646 
   11647 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11648 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11649 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11650 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11651 touch \$(top_srcdir)/INSTALL; \
   11652 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 case $host_os in
   11660     solaris*)
   11661         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11662         # check for a man page file found in later versions that use
   11663         # traditional section numbers instead
   11664         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11665 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11666 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11667 then :
   11668   printf %s "(cached) " >&6
   11669 else case e in #(
   11670   e) test "$cross_compiling" = yes &&
   11671   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11672 if test -r "/usr/share/man/man7/attributes.7"; then
   11673   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11674 else
   11675   ac_cv_file__usr_share_man_man7_attributes_7=no
   11676 fi ;;
   11677 esac
   11678 fi
   11679 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11680 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11681 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11682 then :
   11683   SYSV_MAN_SECTIONS=false
   11684 else case e in #(
   11685   e) SYSV_MAN_SECTIONS=true ;;
   11686 esac
   11687 fi
   11688 
   11689         ;;
   11690     *) SYSV_MAN_SECTIONS=false ;;
   11691 esac
   11692 
   11693 if test x$APP_MAN_SUFFIX = x    ; then
   11694     APP_MAN_SUFFIX=1
   11695 fi
   11696 if test x$APP_MAN_DIR = x    ; then
   11697     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11698 fi
   11699 
   11700 if test x$LIB_MAN_SUFFIX = x    ; then
   11701     LIB_MAN_SUFFIX=3
   11702 fi
   11703 if test x$LIB_MAN_DIR = x    ; then
   11704     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11705 fi
   11706 
   11707 if test x$FILE_MAN_SUFFIX = x    ; then
   11708     case $SYSV_MAN_SECTIONS in
   11709 	true)				FILE_MAN_SUFFIX=4  ;;
   11710 	*)				FILE_MAN_SUFFIX=5  ;;
   11711     esac
   11712 fi
   11713 if test x$FILE_MAN_DIR = x    ; then
   11714     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11715 fi
   11716 
   11717 if test x$MISC_MAN_SUFFIX = x    ; then
   11718     case $SYSV_MAN_SECTIONS in
   11719 	true)				MISC_MAN_SUFFIX=5  ;;
   11720 	*)				MISC_MAN_SUFFIX=7  ;;
   11721     esac
   11722 fi
   11723 if test x$MISC_MAN_DIR = x    ; then
   11724     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11725 fi
   11726 
   11727 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11728     case $SYSV_MAN_SECTIONS in
   11729 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11730 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11731     esac
   11732 fi
   11733 if test x$DRIVER_MAN_DIR = x    ; then
   11734     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11735 fi
   11736 
   11737 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11738     case $SYSV_MAN_SECTIONS in
   11739 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11740 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11741     esac
   11742 fi
   11743 if test x$ADMIN_MAN_DIR = x    ; then
   11744     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11745 fi
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 XORG_MAN_PAGE="X Version 11"
   11762 
   11763 MAN_SUBSTS="\
   11764 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11765 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11766 	-e 's|__xservername__|Xorg|g' \
   11767 	-e 's|__xconfigfile__|xorg.conf|g' \
   11768 	-e 's|__projectroot__|\$(prefix)|g' \
   11769 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11770 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11771 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11772 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11773 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11774 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11775 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11776 
   11777 
   11778 
   11779 
   11780 AM_DEFAULT_VERBOSITY=0
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 # Checks for pkg-config packages
   11787 
   11788 pkg_failed=no
   11789 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XBIFF" >&5
   11790 printf %s "checking for XBIFF... " >&6; }
   11791 
   11792 if test -n "$XBIFF_CFLAGS"; then
   11793     pkg_cv_XBIFF_CFLAGS="$XBIFF_CFLAGS"
   11794  elif test -n "$PKG_CONFIG"; then
   11795     if test -n "$PKG_CONFIG" && \
   11796     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25\""; } >&5
   11797   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25") 2>&5
   11798   ac_status=$?
   11799   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11800   test $ac_status = 0; }; then
   11801   pkg_cv_XBIFF_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>/dev/null`
   11802 		      test "x$?" != "x0" && pkg_failed=yes
   11803 else
   11804   pkg_failed=yes
   11805 fi
   11806  else
   11807     pkg_failed=untried
   11808 fi
   11809 if test -n "$XBIFF_LIBS"; then
   11810     pkg_cv_XBIFF_LIBS="$XBIFF_LIBS"
   11811  elif test -n "$PKG_CONFIG"; then
   11812     if test -n "$PKG_CONFIG" && \
   11813     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25\""; } >&5
   11814   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25") 2>&5
   11815   ac_status=$?
   11816   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11817   test $ac_status = 0; }; then
   11818   pkg_cv_XBIFF_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>/dev/null`
   11819 		      test "x$?" != "x0" && pkg_failed=yes
   11820 else
   11821   pkg_failed=yes
   11822 fi
   11823  else
   11824     pkg_failed=untried
   11825 fi
   11826 
   11827 
   11828 
   11829 if test $pkg_failed = yes; then
   11830    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11831 printf '%s\n' "no" >&6; }
   11832 
   11833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11834         _pkg_short_errors_supported=yes
   11835 else
   11836         _pkg_short_errors_supported=no
   11837 fi
   11838         if test $_pkg_short_errors_supported = yes; then
   11839 	        XBIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>&1`
   11840         else
   11841 	        XBIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25" 2>&1`
   11842         fi
   11843 	# Put the nasty error message in config.log where it belongs
   11844 	echo "$XBIFF_PKG_ERRORS" >&5
   11845 
   11846 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.1 xbitmaps xext x11 xproto >= 7.0.25) were not met:
   11847 
   11848 $XBIFF_PKG_ERRORS
   11849 
   11850 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11851 installed software in a non-standard prefix.
   11852 
   11853 Alternatively, you may set the environment variables XBIFF_CFLAGS
   11854 and XBIFF_LIBS to avoid the need to call pkg-config.
   11855 See the pkg-config man page for more details." "$LINENO" 5
   11856 elif test $pkg_failed = untried; then
   11857      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11858 printf '%s\n' "no" >&6; }
   11859 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11860 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11861 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11862 is in your PATH or set the PKG_CONFIG environment variable to the full
   11863 path to pkg-config.
   11864 
   11865 Alternatively, you may set the environment variables XBIFF_CFLAGS
   11866 and XBIFF_LIBS to avoid the need to call pkg-config.
   11867 See the pkg-config man page for more details.
   11868 
   11869 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11870 See 'config.log' for more details" "$LINENO" 5; }
   11871 else
   11872 	XBIFF_CFLAGS=$pkg_cv_XBIFF_CFLAGS
   11873 	XBIFF_LIBS=$pkg_cv_XBIFF_LIBS
   11874         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11875 printf '%s\n' "yes" >&6; }
   11876 
   11877 fi
   11878 
   11879 # Checks for headers
   11880 ac_fn_c_check_header_compile "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
   11881 if test "x$ac_cv_header_paths_h" = xyes
   11882 then :
   11883   printf '%s\n' "#define HAVE_PATHS_H 1" >>confdefs.h
   11884 
   11885 fi
   11886 
   11887 
   11888 # Checks for typedefs, structures, and compiler characteristics.
   11889 # Check whether --enable-largefile was given.
   11890 if test ${enable_largefile+y}
   11891 then :
   11892   enableval=$enable_largefile;
   11893 fi
   11894 if test "$enable_largefile,$enable_year2038" != no,no
   11895 then :
   11896   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support large files" >&5
   11897 printf %s "checking for $CC option to support large files... " >&6; }
   11898 if test ${ac_cv_sys_largefile_opts+y}
   11899 then :
   11900   printf %s "(cached) " >&6
   11901 else case e in #(
   11902   e) ac_save_CPPFLAGS=$CPPFLAGS
   11903   ac_opt_found=no
   11904   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
   11905     if test x"$ac_opt" != x"none needed"
   11906 then :
   11907   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11908 fi
   11909     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11910 /* end confdefs.h.  */
   11911 #include <sys/types.h>
   11912 #ifndef FTYPE
   11913 # define FTYPE off_t
   11914 #endif
   11915  /* Check that FTYPE can represent 2**63 - 1 correctly.
   11916     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   11917     since some C++ compilers masquerading as C compilers
   11918     incorrectly reject 9223372036854775807.  */
   11919 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   11920   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   11921 		       && LARGE_FTYPE % 2147483647 == 1)
   11922 		      ? 1 : -1];
   11923 int
   11924 main (void)
   11925 {
   11926 
   11927   ;
   11928   return 0;
   11929 }
   11930 _ACEOF
   11931 if ac_fn_c_try_compile "$LINENO"
   11932 then :
   11933   if test x"$ac_opt" = x"none needed"
   11934 then :
   11935   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   11936 	 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
   11937 	 if ac_fn_c_try_compile "$LINENO"
   11938 then :
   11939 
   11940 else case e in #(
   11941   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
   11942 	    if ac_fn_c_try_compile "$LINENO"
   11943 then :
   11944   ac_opt='-D_FILE_OFFSET_BITS=64'
   11945 fi
   11946 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   11947 esac
   11948 fi
   11949 rm -f core conftest.err conftest.$ac_objext conftest.beam
   11950 fi
   11951       ac_cv_sys_largefile_opts=$ac_opt
   11952       ac_opt_found=yes
   11953 fi
   11954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11955     test $ac_opt_found = no || break
   11956   done
   11957   CPPFLAGS=$ac_save_CPPFLAGS
   11958 
   11959   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   11960 esac
   11961 fi
   11962 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   11963 printf '%s\n' "$ac_cv_sys_largefile_opts" >&6; }
   11964 
   11965 ac_have_largefile=yes
   11966 case $ac_cv_sys_largefile_opts in #(
   11967   "none needed") :
   11968      ;; #(
   11969   "supported through gnulib") :
   11970      ;; #(
   11971   "support not detected") :
   11972     ac_have_largefile=no ;; #(
   11973   "-D_FILE_OFFSET_BITS=64") :
   11974 
   11975 printf '%s\n' "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11976  ;; #(
   11977   "-D_LARGE_FILES=1") :
   11978 
   11979 printf '%s\n' "#define _LARGE_FILES 1" >>confdefs.h
   11980  ;; #(
   11981   *) :
   11982     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   11983 esac
   11984 
   11985 if test "$enable_year2038" != no
   11986 then :
   11987   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to support timestamps after 2038" >&5
   11988 printf %s "checking for $CC option to support timestamps after 2038... " >&6; }
   11989 if test ${ac_cv_sys_year2038_opts+y}
   11990 then :
   11991   printf %s "(cached) " >&6
   11992 else case e in #(
   11993   e) ac_save_CPPFLAGS="$CPPFLAGS"
   11994   ac_opt_found=no
   11995   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   11996     if test x"$ac_opt" != x"none needed"
   11997 then :
   11998   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   11999 fi
   12000     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12001 /* end confdefs.h.  */
   12002 
   12003   #include <time.h>
   12004   /* Check that time_t can represent 2**32 - 1 correctly.  */
   12005   #define LARGE_TIME_T \\
   12006     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   12007   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   12008                            && LARGE_TIME_T % 65537 == 0)
   12009                           ? 1 : -1];
   12010 
   12011 int
   12012 main (void)
   12013 {
   12014 
   12015   ;
   12016   return 0;
   12017 }
   12018 _ACEOF
   12019 if ac_fn_c_try_compile "$LINENO"
   12020 then :
   12021   ac_cv_sys_year2038_opts="$ac_opt"
   12022       ac_opt_found=yes
   12023 fi
   12024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12025     test $ac_opt_found = no || break
   12026   done
   12027   CPPFLAGS="$ac_save_CPPFLAGS"
   12028   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   12029 esac
   12030 fi
   12031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   12032 printf '%s\n' "$ac_cv_sys_year2038_opts" >&6; }
   12033 
   12034 ac_have_year2038=yes
   12035 case $ac_cv_sys_year2038_opts in #(
   12036   "none needed") :
   12037      ;; #(
   12038   "support not detected") :
   12039     ac_have_year2038=no ;; #(
   12040   "-D_TIME_BITS=64") :
   12041 
   12042 printf '%s\n' "#define _TIME_BITS 64" >>confdefs.h
   12043  ;; #(
   12044   "-D__MINGW_USE_VC2005_COMPAT") :
   12045 
   12046 printf '%s\n' "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   12047  ;; #(
   12048   "-U_USE_32_BIT_TIME_T"*) :
   12049     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   12050 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   12051 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   12052 will stop working after mid-January 2038. Remove
   12053 _USE_32BIT_TIME_T from the compiler flags.
   12054 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   12055   *) :
   12056     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   12057 esac
   12058 
   12059 fi
   12060 
   12061 fi
   12062 
   12063 # Allow builder to set path to look for mailboxes
   12064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for mailbox directory" >&5
   12065 printf %s "checking for mailbox directory... " >&6; }
   12066 
   12067 # Check whether --with-mailbox-directory was given.
   12068 if test ${with_mailbox_directory+y}
   12069 then :
   12070   withval=$with_mailbox_directory; mailbox_directory=$with_mailbox_directory
   12071 fi
   12072 
   12073 
   12074 if test "x$mailbox_directory" != "x"; then
   12075 
   12076 printf '%s\n' "#define MAILBOX_DIRECTORY \"$mailbox_directory\"" >>confdefs.h
   12077 
   12078    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $mailbox_directory" >&5
   12079 printf '%s\n' "$mailbox_directory" >&6; }
   12080 else
   12081    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: not set" >&5
   12082 printf '%s\n' "not set" >&6; }
   12083 fi
   12084 
   12085 ac_config_files="$ac_config_files Makefile man/Makefile"
   12086 
   12087 cat >confcache <<\_ACEOF
   12088 # This file is a shell script that caches the results of configure
   12089 # tests run on this system so they can be shared between configure
   12090 # scripts and configure runs, see configure's option --config-cache.
   12091 # It is not useful on other systems.  If it contains results you don't
   12092 # want to keep, you may remove or edit it.
   12093 #
   12094 # config.status only pays attention to the cache file if you give it
   12095 # the --recheck option to rerun configure.
   12096 #
   12097 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   12098 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   12099 # following values.
   12100 
   12101 _ACEOF
   12102 
   12103 ac_cache_dump |
   12104   sed '
   12105      /^ac_cv_env_/b end
   12106      t clear
   12107      :clear
   12108      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   12109      t end
   12110      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12111      :end' >>confcache
   12112 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12113   if test -w "$cache_file"; then
   12114     if test "x$cache_file" != "x/dev/null"; then
   12115       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12116 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   12117       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12118 	cat confcache >"$cache_file"
   12119       else
   12120         case $cache_file in #(
   12121         */* | ?:*)
   12122 	  mv -f confcache "$cache_file"$$ &&
   12123 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12124         *)
   12125 	  mv -f confcache "$cache_file" ;;
   12126 	esac
   12127       fi
   12128     fi
   12129   else
   12130     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12131 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   12132   fi
   12133 fi
   12134 rm -f confcache
   12135 
   12136 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12137 # Let make expand exec_prefix.
   12138 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12139 
   12140 DEFS=-DHAVE_CONFIG_H
   12141 
   12142 ac_libobjs=
   12143 ac_ltlibobjs=
   12144 U=
   12145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12146   # 1. Remove the extension, and $U if already installed.
   12147   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12148   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   12149   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12150   #    will be set to the directory where LIBOBJS objects are built.
   12151   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12152   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12153 done
   12154 LIBOBJS=$ac_libobjs
   12155 
   12156 LTLIBOBJS=$ac_ltlibobjs
   12157 
   12158 
   12159 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12160 printf %s "checking that generated files are newer than configure... " >&6; }
   12161    if test -n "$am_sleep_pid"; then
   12162      # Hide warnings about reused PIDs.
   12163      wait $am_sleep_pid 2>/dev/null
   12164    fi
   12165    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12166 printf '%s\n' "done" >&6; }
   12167 case $enable_silent_rules in # (((
   12168   yes) AM_DEFAULT_VERBOSITY=0;;
   12169    no) AM_DEFAULT_VERBOSITY=1;;
   12170 esac
   12171 if test $am_cv_make_support_nested_variables = yes; then
   12172     AM_V='$(V)'
   12173   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   12174 else
   12175   AM_V=$AM_DEFAULT_VERBOSITY
   12176   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   12177 fi
   12178 
   12179  if test -n "$EXEEXT"; then
   12180   am__EXEEXT_TRUE=
   12181   am__EXEEXT_FALSE='#'
   12182 else
   12183   am__EXEEXT_TRUE='#'
   12184   am__EXEEXT_FALSE=
   12185 fi
   12186 
   12187 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12188   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12190 fi
   12191 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12192   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12194 fi
   12195 # Check whether --enable-year2038 was given.
   12196 if test ${enable_year2038+y}
   12197 then :
   12198   enableval=$enable_year2038;
   12199 fi
   12200 
   12201 
   12202 : "${CONFIG_STATUS=./config.status}"
   12203 case $CONFIG_STATUS in #(
   12204   -*) :
   12205     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   12206   */*) :
   12207      ;; #(
   12208   *) :
   12209     CONFIG_STATUS=./$CONFIG_STATUS ;;
   12210 esac
   12211 
   12212 ac_write_fail=0
   12213 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   12214 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12215 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   12216 as_write_fail=0
   12217 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   12218 #! $SHELL
   12219 # Generated by $as_me.
   12220 # Run this file to recreate the current configuration.
   12221 # Compiler output produced by configure, useful for debugging
   12222 # configure, is in config.log if it exists.
   12223 
   12224 debug=false
   12225 ac_cs_recheck=false
   12226 ac_cs_silent=false
   12227 
   12228 SHELL=\${CONFIG_SHELL-$SHELL}
   12229 export SHELL
   12230 _ASEOF
   12231 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12232 ## -------------------- ##
   12233 ## M4sh Initialization. ##
   12234 ## -------------------- ##
   12235 
   12236 # Be more Bourne compatible
   12237 DUALCASE=1; export DUALCASE # for MKS sh
   12238 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12239 then :
   12240   emulate sh
   12241   NULLCMD=:
   12242   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12243   # contradicts POSIX and common usage.  Disable this.
   12244   alias -g '${1+"$@"}'='"$@"'
   12245   setopt NO_GLOB_SUBST
   12246 else case e in #(
   12247   e) case `(set -o) 2>/dev/null` in #(
   12248   *posix*) :
   12249     set -o posix ;; #(
   12250   *) :
   12251      ;;
   12252 esac ;;
   12253 esac
   12254 fi
   12255 
   12256 
   12257 
   12258 # Reset variables that may have inherited troublesome values from
   12259 # the environment.
   12260 
   12261 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12262 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12263 # side effect of setting IFS to empty, thus disabling word splitting.)
   12264 # Quoting is to prevent editors from complaining about space-tab.
   12265 as_nl='
   12266 '
   12267 export as_nl
   12268 IFS=" ""	$as_nl"
   12269 
   12270 PS1='$ '
   12271 PS2='> '
   12272 PS4='+ '
   12273 
   12274 # Ensure predictable behavior from utilities with locale-dependent output.
   12275 LC_ALL=C
   12276 export LC_ALL
   12277 LANGUAGE=C
   12278 export LANGUAGE
   12279 
   12280 # We cannot yet rely on "unset" to work, but we need these variables
   12281 # to be unset--not just set to an empty or harmless value--now, to
   12282 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12283 # also avoids known problems related to "unset" and subshell syntax
   12284 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12285 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12286 do eval test \${$as_var+y} \
   12287   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12288 done
   12289 
   12290 # Ensure that fds 0, 1, and 2 are open.
   12291 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12292 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12293 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12294 
   12295 # The user is always right.
   12296 if ${PATH_SEPARATOR+false} :; then
   12297   PATH_SEPARATOR=:
   12298   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12299     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12300       PATH_SEPARATOR=';'
   12301   }
   12302 fi
   12303 
   12304 
   12305 # Find who we are.  Look in the path if we contain no directory separator.
   12306 as_myself=
   12307 case $0 in #((
   12308   *[\\/]* ) as_myself=$0 ;;
   12309   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12310 for as_dir in $PATH
   12311 do
   12312   IFS=$as_save_IFS
   12313   case $as_dir in #(((
   12314     '') as_dir=./ ;;
   12315     */) ;;
   12316     *) as_dir=$as_dir/ ;;
   12317   esac
   12318     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12319   done
   12320 IFS=$as_save_IFS
   12321 
   12322      ;;
   12323 esac
   12324 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12325 # in which case we are not to be found in the path.
   12326 if test "x$as_myself" = x; then
   12327   as_myself=$0
   12328 fi
   12329 if test ! -f "$as_myself"; then
   12330   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12331   exit 1
   12332 fi
   12333 
   12334 
   12335 
   12336 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12337 # ----------------------------------------
   12338 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12339 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12340 # script with STATUS, using 1 if that was 0.
   12341 as_fn_error ()
   12342 {
   12343   as_status=$1; test $as_status -eq 0 && as_status=1
   12344   if test "$4"; then
   12345     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12346     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12347   fi
   12348   printf '%s\n' "$as_me: error: $2" >&2
   12349   as_fn_exit $as_status
   12350 } # as_fn_error
   12351 
   12352 
   12353 # as_fn_set_status STATUS
   12354 # -----------------------
   12355 # Set $? to STATUS, without forking.
   12356 as_fn_set_status ()
   12357 {
   12358   return $1
   12359 } # as_fn_set_status
   12360 
   12361 # as_fn_exit STATUS
   12362 # -----------------
   12363 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12364 as_fn_exit ()
   12365 {
   12366   set +e
   12367   as_fn_set_status $1
   12368   exit $1
   12369 } # as_fn_exit
   12370 
   12371 # as_fn_unset VAR
   12372 # ---------------
   12373 # Portably unset VAR.
   12374 as_fn_unset ()
   12375 {
   12376   { eval $1=; unset $1;}
   12377 }
   12378 as_unset=as_fn_unset
   12379 
   12380 # as_fn_append VAR VALUE
   12381 # ----------------------
   12382 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12383 # advantage of any shell optimizations that allow amortized linear growth over
   12384 # repeated appends, instead of the typical quadratic growth present in naive
   12385 # implementations.
   12386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12387 then :
   12388   eval 'as_fn_append ()
   12389   {
   12390     eval $1+=\$2
   12391   }'
   12392 else case e in #(
   12393   e) as_fn_append ()
   12394   {
   12395     eval $1=\$$1\$2
   12396   } ;;
   12397 esac
   12398 fi # as_fn_append
   12399 
   12400 # as_fn_arith ARG...
   12401 # ------------------
   12402 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12404 # must be portable across $(()) and expr.
   12405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12406 then :
   12407   eval 'as_fn_arith ()
   12408   {
   12409     as_val=$(( $* ))
   12410   }'
   12411 else case e in #(
   12412   e) as_fn_arith ()
   12413   {
   12414     as_val=`expr "$@" || test $? -eq 1`
   12415   } ;;
   12416 esac
   12417 fi # as_fn_arith
   12418 
   12419 
   12420 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12421    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12422   as_expr=expr
   12423 else
   12424   as_expr=false
   12425 fi
   12426 
   12427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12428   as_basename=basename
   12429 else
   12430   as_basename=false
   12431 fi
   12432 
   12433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12434   as_dirname=dirname
   12435 else
   12436   as_dirname=false
   12437 fi
   12438 
   12439 as_me=`$as_basename -- "$0" ||
   12440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12441 	 X"$0" : 'X\(//\)$' \| \
   12442 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12443 printf '%s\n' X/"$0" |
   12444     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12445 	    s//\1/
   12446 	    q
   12447 	  }
   12448 	  /^X\/\(\/\/\)$/{
   12449 	    s//\1/
   12450 	    q
   12451 	  }
   12452 	  /^X\/\(\/\).*/{
   12453 	    s//\1/
   12454 	    q
   12455 	  }
   12456 	  s/.*/./; q'`
   12457 
   12458 # Avoid depending upon Character Ranges.
   12459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12462 as_cr_digits='0123456789'
   12463 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12464 
   12465 rm -f conf$$ conf$$.exe conf$$.file
   12466 if test -d conf$$.dir; then
   12467   rm -f conf$$.dir/conf$$.file
   12468 else
   12469   rm -f conf$$.dir
   12470   mkdir conf$$.dir 2>/dev/null
   12471 fi
   12472 if (echo >conf$$.file) 2>/dev/null; then
   12473   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12474     as_ln_s='ln -s'
   12475     # ... but there are two gotchas:
   12476     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12477     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12478     # In both cases, we have to default to 'cp -pR'.
   12479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12480       as_ln_s='cp -pR'
   12481   elif ln conf$$.file conf$$ 2>/dev/null; then
   12482     as_ln_s=ln
   12483   else
   12484     as_ln_s='cp -pR'
   12485   fi
   12486 else
   12487   as_ln_s='cp -pR'
   12488 fi
   12489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12490 rmdir conf$$.dir 2>/dev/null
   12491 
   12492 
   12493 # as_fn_mkdir_p
   12494 # -------------
   12495 # Create "$as_dir" as a directory, including parents if necessary.
   12496 as_fn_mkdir_p ()
   12497 {
   12498 
   12499   case $as_dir in #(
   12500   -*) as_dir=./$as_dir;;
   12501   esac
   12502   test -d "$as_dir" || eval $as_mkdir_p || {
   12503     as_dirs=
   12504     while :; do
   12505       case $as_dir in #(
   12506       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12507       *) as_qdir=$as_dir;;
   12508       esac
   12509       as_dirs="'$as_qdir' $as_dirs"
   12510       as_dir=`$as_dirname -- "$as_dir" ||
   12511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12512 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12513 	 X"$as_dir" : 'X\(//\)$' \| \
   12514 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12515 printf '%s\n' X"$as_dir" |
   12516     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12517 	    s//\1/
   12518 	    q
   12519 	  }
   12520 	  /^X\(\/\/\)[^/].*/{
   12521 	    s//\1/
   12522 	    q
   12523 	  }
   12524 	  /^X\(\/\/\)$/{
   12525 	    s//\1/
   12526 	    q
   12527 	  }
   12528 	  /^X\(\/\).*/{
   12529 	    s//\1/
   12530 	    q
   12531 	  }
   12532 	  s/.*/./; q'`
   12533       test -d "$as_dir" && break
   12534     done
   12535     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12536   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12537 
   12538 
   12539 } # as_fn_mkdir_p
   12540 if mkdir -p . 2>/dev/null; then
   12541   as_mkdir_p='mkdir -p "$as_dir"'
   12542 else
   12543   test -d ./-p && rmdir ./-p
   12544   as_mkdir_p=false
   12545 fi
   12546 
   12547 
   12548 # as_fn_executable_p FILE
   12549 # -----------------------
   12550 # Test if FILE is an executable regular file.
   12551 as_fn_executable_p ()
   12552 {
   12553   test -f "$1" && test -x "$1"
   12554 } # as_fn_executable_p
   12555 as_test_x='test -x'
   12556 as_executable_p=as_fn_executable_p
   12557 
   12558 # Sed expression to map a string onto a valid CPP name.
   12559 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12560 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12561 
   12562 # Sed expression to map a string onto a valid variable name.
   12563 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12564 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12565 
   12566 
   12567 exec 6>&1
   12568 ## ------------------------------------- ##
   12569 ## Main body of "$CONFIG_STATUS" script. ##
   12570 ## ------------------------------------- ##
   12571 _ASEOF
   12572 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12573 
   12574 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12575 # Save the log message, to keep $0 and so on meaningful, and to
   12576 # report actual input values of CONFIG_FILES etc. instead of their
   12577 # values after options handling.
   12578 ac_log="
   12579 This file was extended by xbiff $as_me 1.0.6, which was
   12580 generated by GNU Autoconf 2.73.  Invocation command line was
   12581 
   12582   CONFIG_FILES    = $CONFIG_FILES
   12583   CONFIG_HEADERS  = $CONFIG_HEADERS
   12584   CONFIG_LINKS    = $CONFIG_LINKS
   12585   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12586   $ $0 $@
   12587 
   12588 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12589 "
   12590 
   12591 _ACEOF
   12592 
   12593 case $ac_config_files in *"
   12594 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12595 esac
   12596 
   12597 case $ac_config_headers in *"
   12598 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12599 esac
   12600 
   12601 
   12602 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12603 # Files that config.status was made for.
   12604 config_files="$ac_config_files"
   12605 config_headers="$ac_config_headers"
   12606 config_commands="$ac_config_commands"
   12607 
   12608 _ACEOF
   12609 
   12610 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12611 ac_cs_usage="\
   12612 '$as_me' instantiates files and other configuration actions
   12613 from templates according to the current configuration.  Unless the files
   12614 and actions are specified as TAGs, all are instantiated by default.
   12615 
   12616 Usage: $0 [OPTION]... [TAG]...
   12617 
   12618   -h, --help       print this help, then exit
   12619   -V, --version    print version number and configuration settings, then exit
   12620       --config     print configuration, then exit
   12621   -q, --quiet, --silent
   12622                    do not print progress messages
   12623   -d, --debug      don't remove temporary files
   12624       --recheck    update $as_me by reconfiguring in the same conditions
   12625       --file=FILE[:TEMPLATE]
   12626                    instantiate the configuration file FILE
   12627       --header=FILE[:TEMPLATE]
   12628                    instantiate the configuration header FILE
   12629 
   12630 Configuration files:
   12631 $config_files
   12632 
   12633 Configuration headers:
   12634 $config_headers
   12635 
   12636 Configuration commands:
   12637 $config_commands
   12638 
   12639 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xbiff/-/issues>."
   12640 
   12641 _ACEOF
   12642 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12643 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12644 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12645 ac_cs_config='$ac_cs_config_escaped'
   12646 ac_cs_version="\\
   12647 xbiff config.status 1.0.6
   12648 configured by $0, generated by GNU Autoconf 2.73,
   12649   with options \\"\$ac_cs_config\\"
   12650 
   12651 Copyright (C) 2026 Free Software Foundation, Inc.
   12652 This config.status script is free software; the Free Software Foundation
   12653 gives unlimited permission to copy, distribute and modify it."
   12654 
   12655 ac_pwd='$ac_pwd'
   12656 srcdir='$srcdir'
   12657 INSTALL='$INSTALL'
   12658 MKDIR_P='$MKDIR_P'
   12659 AWK='$AWK'
   12660 test -n "\$AWK" || {
   12661   awk '' </dev/null ||
   12662     as_fn_error \$? "try installing gawk"
   12663   AWK=awk
   12664 }
   12665 _ACEOF
   12666 
   12667 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12668 # The default lists apply if the user does not specify any file.
   12669 ac_need_defaults=:
   12670 while test $# != 0
   12671 do
   12672   case $1 in
   12673   --*=?*)
   12674     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12675     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12676     ac_shift=:
   12677     ;;
   12678   --*=)
   12679     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12680     ac_optarg=
   12681     ac_shift=:
   12682     ;;
   12683   *)
   12684     ac_option=$1
   12685     ac_optarg=$2
   12686     ac_shift=shift
   12687     ;;
   12688   esac
   12689 
   12690   case $ac_option in
   12691   # Handling of the options.
   12692   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12693     ac_cs_recheck=: ;;
   12694   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12695     printf '%s\n' "$ac_cs_version"; exit ;;
   12696   --config | --confi | --conf | --con | --co | --c )
   12697     printf '%s\n' "$ac_cs_config"; exit ;;
   12698   --debug | --debu | --deb | --de | --d | -d )
   12699     debug=: ;;
   12700   --file | --fil | --fi | --f )
   12701     $ac_shift
   12702     case $ac_optarg in
   12703     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12704     '') as_fn_error $? "missing file argument" ;;
   12705     esac
   12706     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12707     ac_need_defaults=false;;
   12708   --header | --heade | --head | --hea )
   12709     $ac_shift
   12710     case $ac_optarg in
   12711     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12712     esac
   12713     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12714     ac_need_defaults=false;;
   12715   --he | --h)
   12716     # Conflict between --help and --header
   12717     as_fn_error $? "ambiguous option: '$1'
   12718 Try '$0 --help' for more information.";;
   12719   --help | --hel | -h )
   12720     printf '%s\n' "$ac_cs_usage"; exit ;;
   12721   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12722   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12723     ac_cs_silent=: ;;
   12724 
   12725   # This is an error.
   12726   -*) as_fn_error $? "unrecognized option: '$1'
   12727 Try '$0 --help' for more information." ;;
   12728 
   12729   *) as_fn_append ac_config_targets " $1"
   12730      ac_need_defaults=false ;;
   12731 
   12732   esac
   12733   shift
   12734 done
   12735 
   12736 ac_configure_extra_args=
   12737 
   12738 if $ac_cs_silent; then
   12739   exec 6>/dev/null
   12740   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12741 fi
   12742 
   12743 _ACEOF
   12744 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12745 if \$ac_cs_recheck; then
   12746   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12747   shift
   12748   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12749   CONFIG_SHELL='$SHELL'
   12750   export CONFIG_SHELL
   12751   exec "\$@"
   12752 fi
   12753 
   12754 _ACEOF
   12755 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12756 exec 5>>config.log
   12757 {
   12758   echo
   12759   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12760 ## Running $as_me. ##
   12761 _ASBOX
   12762   printf '%s\n' "$ac_log"
   12763 } >&5
   12764 
   12765 _ACEOF
   12766 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12767 #
   12768 # INIT-COMMANDS
   12769 #
   12770 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12771 
   12772 _ACEOF
   12773 
   12774 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12775 
   12776 # Handling of arguments.
   12777 for ac_config_target in $ac_config_targets
   12778 do
   12779   case $ac_config_target in
   12780     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12781     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12782     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12783     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12784 
   12785   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12786   esac
   12787 done
   12788 
   12789 
   12790 # If the user did not use the arguments to specify the items to instantiate,
   12791 # then the envvar interface is used.  Set only those that are not.
   12792 # We use the long form for the default assignment because of an extremely
   12793 # bizarre bug on SunOS 4.1.3.
   12794 if $ac_need_defaults; then
   12795   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12796   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12797   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12798 fi
   12799 
   12800 # Have a temporary directory for convenience.  Make it in the build tree
   12801 # simply because there is no reason against having it here, and in addition,
   12802 # creating and moving files from /tmp can sometimes cause problems.
   12803 # Hook for its removal unless debugging.
   12804 # Note that there is a small window in which the directory will not be cleaned:
   12805 # after its creation but before its name has been assigned to '$tmp'.
   12806 $debug ||
   12807 {
   12808   tmp= ac_tmp=
   12809   trap 'exit_status=$?
   12810   : "${ac_tmp:=$tmp}"
   12811   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12812 ' 0
   12813   trap 'as_fn_exit 1' 1 2 13 15
   12814 }
   12815 # Create a (secure) tmp directory for tmp files.
   12816 
   12817 {
   12818   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12819   test -d "$tmp"
   12820 }  ||
   12821 {
   12822   tmp=./conf$$-$RANDOM
   12823   (umask 077 && mkdir "$tmp")
   12824 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12825 ac_tmp=$tmp
   12826 
   12827 # Set up the scripts for CONFIG_FILES section.
   12828 # No need to generate them if there are no CONFIG_FILES.
   12829 # This happens for instance with './config.status config.h'.
   12830 if test -n "$CONFIG_FILES"; then
   12831 
   12832 
   12833 ac_cr=`echo X | tr X '\015'`
   12834 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12835 # But we know of no other shell where ac_cr would be empty at this
   12836 # point, so we can use a bashism as a fallback.
   12837 if test "x$ac_cr" = x; then
   12838   eval ac_cr=\$\'\\r\'
   12839 fi
   12840 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12841 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12842   ac_cs_awk_cr='\\r'
   12843 else
   12844   ac_cs_awk_cr=$ac_cr
   12845 fi
   12846 
   12847 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12848 _ACEOF
   12849 
   12850 
   12851 {
   12852   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12853   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12854   echo "_ACEOF"
   12855 } >conf$$subs.sh ||
   12856   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12857 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   12858 ac_delim='%!_!# '
   12859 for ac_last_try in false false false false false :; do
   12860   . ./conf$$subs.sh ||
   12861     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12862 
   12863   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   12864   if test $ac_delim_n = $ac_delim_num; then
   12865     break
   12866   elif $ac_last_try; then
   12867     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12868   else
   12869     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12870   fi
   12871 done
   12872 rm -f conf$$subs.sh
   12873 
   12874 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12875 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12876 _ACEOF
   12877 sed -n '
   12878 h
   12879 s/^/S["/; s/!.*/"]=/
   12880 p
   12881 g
   12882 s/^[^!]*!//
   12883 :repl
   12884 t repl
   12885 s/'"$ac_delim"'$//
   12886 t delim
   12887 :nl
   12888 h
   12889 s/\(.\{148\}\)..*/\1/
   12890 t more1
   12891 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12892 p
   12893 n
   12894 b repl
   12895 :more1
   12896 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12897 p
   12898 g
   12899 s/.\{148\}//
   12900 t nl
   12901 :delim
   12902 h
   12903 s/\(.\{148\}\)..*/\1/
   12904 t more2
   12905 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12906 p
   12907 b
   12908 :more2
   12909 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12910 p
   12911 g
   12912 s/.\{148\}//
   12913 t delim
   12914 ' <conf$$subs.awk | sed '
   12915 /^[^""]/{
   12916   N
   12917   s/\n//
   12918 }
   12919 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   12920 rm -f conf$$subs.awk
   12921 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12922 _ACAWK
   12923 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12924   for (key in S) S_is_set[key] = 1
   12925   FS = ""
   12926 
   12927 }
   12928 {
   12929   line = $ 0
   12930   nfields = split(line, field, "@")
   12931   substed = 0
   12932   len = length(field[1])
   12933   for (i = 2; i < nfields; i++) {
   12934     key = field[i]
   12935     keylen = length(key)
   12936     if (S_is_set[key]) {
   12937       value = S[key]
   12938       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12939       len += length(value) + length(field[++i])
   12940       substed = 1
   12941     } else
   12942       len += 1 + keylen
   12943   }
   12944 
   12945   print line
   12946 }
   12947 
   12948 _ACAWK
   12949 _ACEOF
   12950 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12951 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12952   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12953 else
   12954   cat
   12955 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12956   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12957 _ACEOF
   12958 
   12959 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12960 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12961 # trailing colons and then remove the whole line if VPATH becomes empty
   12962 # (actually we leave an empty line to preserve line numbers).
   12963 if test "x$srcdir" = x.; then
   12964   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12965 h
   12966 s///
   12967 s/^/:/
   12968 s/[	 ]*$/:/
   12969 s/:\$(srcdir):/:/g
   12970 s/:\${srcdir}:/:/g
   12971 s/:@srcdir@:/:/g
   12972 s/^:*//
   12973 s/:*$//
   12974 x
   12975 s/\(=[	 ]*\).*/\1/
   12976 G
   12977 s/\n//
   12978 s/^[^=]*=[	 ]*$//
   12979 }'
   12980 fi
   12981 
   12982 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12983 fi # test -n "$CONFIG_FILES"
   12984 
   12985 # Set up the scripts for CONFIG_HEADERS section.
   12986 # No need to generate them if there are no CONFIG_HEADERS.
   12987 # This happens for instance with './config.status Makefile'.
   12988 if test -n "$CONFIG_HEADERS"; then
   12989 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12990 BEGIN {
   12991 _ACEOF
   12992 
   12993 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12994 # here-document in config.status, that substitutes the proper values into
   12995 # config.h.in to produce config.h.
   12996 
   12997 # Create a delimiter string that does not exist in confdefs.h, to ease
   12998 # handling of long lines.
   12999 ac_delim='%!_!# '
   13000 for ac_last_try in false false :; do
   13001   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13002   if test -z "$ac_tt"; then
   13003     break
   13004   elif $ac_last_try; then
   13005     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13006   else
   13007     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13008   fi
   13009 done
   13010 
   13011 # For the awk script, D is an array of macro values keyed by name,
   13012 # likewise P contains macro parameters if any.  Preserve backslash
   13013 # newline sequences.
   13014 
   13015 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13016 sed -n '
   13017 s/.\{148\}/&'"$ac_delim"'/g
   13018 t rset
   13019 :rset
   13020 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13021 t def
   13022 d
   13023 :def
   13024 s/\\$//
   13025 t bsnl
   13026 s/["\\]/\\&/g
   13027 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13028 D["\1"]=" \3"/p
   13029 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13030 d
   13031 :bsnl
   13032 s/["\\]/\\&/g
   13033 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13034 D["\1"]=" \3\\\\\\n"\\/p
   13035 t cont
   13036 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13037 t cont
   13038 d
   13039 :cont
   13040 n
   13041 s/.\{148\}/&'"$ac_delim"'/g
   13042 t clear
   13043 :clear
   13044 s/\\$//
   13045 t bsnlc
   13046 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13047 d
   13048 :bsnlc
   13049 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13050 b cont
   13051 ' <confdefs.h | sed '
   13052 s/'"$ac_delim"'/"\\\
   13053 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   13054 
   13055 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13056   for (key in D) D_is_set[key] = 1
   13057   FS = ""
   13058 }
   13059 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13060   line = \$ 0
   13061   split(line, arg, " ")
   13062   if (arg[1] == "#") {
   13063     defundef = arg[2]
   13064     mac1 = arg[3]
   13065   } else {
   13066     defundef = substr(arg[1], 2)
   13067     mac1 = arg[2]
   13068   }
   13069   split(mac1, mac2, "(") #)
   13070   macro = mac2[1]
   13071   prefix = substr(line, 1, index(line, defundef) - 1)
   13072   if (D_is_set[macro]) {
   13073     suffix = P[macro] D[macro]
   13074     while (suffix ~ /[\t ]$/) {
   13075       suffix = substr(suffix, 1, length(suffix) - 1)
   13076     }
   13077     # Preserve the white space surrounding the "#".
   13078     print prefix "define", macro suffix
   13079     next
   13080   } else {
   13081     # Replace #undef with comments.  This is necessary, for example,
   13082     # in the case of _POSIX_SOURCE, which is predefined and required
   13083     # on some systems where configure will not decide to define it.
   13084     if (defundef == "undef") {
   13085       print "/*", prefix defundef, macro, "*/"
   13086       next
   13087     }
   13088   }
   13089 }
   13090 { print }
   13091 _ACAWK
   13092 _ACEOF
   13093 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13094   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13095 fi # test -n "$CONFIG_HEADERS"
   13096 
   13097 
   13098 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13099 shift
   13100 for ac_tag
   13101 do
   13102   case $ac_tag in
   13103   :[FHLC]) ac_mode=$ac_tag; continue;;
   13104   esac
   13105   case $ac_mode$ac_tag in
   13106   :[FHL]*:*);;
   13107   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   13108   :[FH]-) ac_tag=-:-;;
   13109   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13110   esac
   13111   ac_save_IFS=$IFS
   13112   IFS=:
   13113   set x $ac_tag
   13114   IFS=$ac_save_IFS
   13115   shift
   13116   ac_file=$1
   13117   shift
   13118 
   13119   case $ac_mode in
   13120   :L) ac_source=$1;;
   13121   :[FH])
   13122     ac_file_inputs=
   13123     for ac_f
   13124     do
   13125       case $ac_f in
   13126       -) ac_f="$ac_tmp/stdin";;
   13127       *) # Look for the file first in the build tree, then in the source tree
   13128 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13129 	 # because $ac_f cannot contain ':'.
   13130 	 test -f "$ac_f" ||
   13131 	   case $ac_f in
   13132 	   [\\/$]*) false;;
   13133 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13134 	   esac ||
   13135 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   13136       esac
   13137       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13138       as_fn_append ac_file_inputs " '$ac_f'"
   13139     done
   13140 
   13141     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   13142     # use $as_me), people would be surprised to read:
   13143     #    /* config.h.  Generated by config.status.  */
   13144     configure_input='Generated from '`
   13145 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13146 	`' by configure.'
   13147     if test x"$ac_file" != x-; then
   13148       configure_input="$ac_file.  $configure_input"
   13149       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13150 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   13151     fi
   13152     # Neutralize special characters interpreted by sed in replacement strings.
   13153     case $configure_input in #(
   13154     *\&* | *\|* | *\\* )
   13155        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   13156        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13157     *) ac_sed_conf_input=$configure_input;;
   13158     esac
   13159 
   13160     case $ac_tag in
   13161     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13162       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13163     esac
   13164     ;;
   13165   esac
   13166 
   13167   ac_dir=`$as_dirname -- "$ac_file" ||
   13168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13169 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13170 	 X"$ac_file" : 'X\(//\)$' \| \
   13171 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13172 printf '%s\n' X"$ac_file" |
   13173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13174 	    s//\1/
   13175 	    q
   13176 	  }
   13177 	  /^X\(\/\/\)[^/].*/{
   13178 	    s//\1/
   13179 	    q
   13180 	  }
   13181 	  /^X\(\/\/\)$/{
   13182 	    s//\1/
   13183 	    q
   13184 	  }
   13185 	  /^X\(\/\).*/{
   13186 	    s//\1/
   13187 	    q
   13188 	  }
   13189 	  s/.*/./; q'`
   13190   as_dir="$ac_dir"; as_fn_mkdir_p
   13191   ac_builddir=.
   13192 
   13193 case "$ac_dir" in
   13194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13195 *)
   13196   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   13197   # A ".." for each directory in $ac_dir_suffix.
   13198   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13199   case $ac_top_builddir_sub in
   13200   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13201   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13202   esac ;;
   13203 esac
   13204 ac_abs_top_builddir=$ac_pwd
   13205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13206 # for backward compatibility:
   13207 ac_top_builddir=$ac_top_build_prefix
   13208 
   13209 case $srcdir in
   13210   .)  # We are building in place.
   13211     ac_srcdir=.
   13212     ac_top_srcdir=$ac_top_builddir_sub
   13213     ac_abs_top_srcdir=$ac_pwd ;;
   13214   [\\/]* | ?:[\\/]* )  # Absolute name.
   13215     ac_srcdir=$srcdir$ac_dir_suffix;
   13216     ac_top_srcdir=$srcdir
   13217     ac_abs_top_srcdir=$srcdir ;;
   13218   *) # Relative name.
   13219     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13220     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13221     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13222 esac
   13223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13224 
   13225 
   13226   case $ac_mode in
   13227   :F)
   13228   #
   13229   # CONFIG_FILE
   13230   #
   13231 
   13232   case $INSTALL in
   13233   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13234   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13235   esac
   13236   ac_MKDIR_P=$MKDIR_P
   13237   case $MKDIR_P in
   13238   [\\/$]* | ?:[\\/]* ) ;;
   13239   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13240   esac
   13241 _ACEOF
   13242 
   13243 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13244 # If the template does not know about datarootdir, expand it.
   13245 # FIXME: This hack should be removed a few years after 2.60.
   13246 ac_datarootdir_hack=; ac_datarootdir_seen=
   13247 ac_sed_dataroot='
   13248 /datarootdir/ {
   13249   p
   13250   q
   13251 }
   13252 /@datadir@/p
   13253 /@docdir@/p
   13254 /@infodir@/p
   13255 /@localedir@/p
   13256 /@mandir@/p'
   13257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13258 *datarootdir*) ac_datarootdir_seen=yes;;
   13259 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13260   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13261 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13262 _ACEOF
   13263 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13264   ac_datarootdir_hack='
   13265   s&@datadir@&$datadir&g
   13266   s&@docdir@&$docdir&g
   13267   s&@infodir@&$infodir&g
   13268   s&@localedir@&$localedir&g
   13269   s&@mandir@&$mandir&g
   13270   s&\\\${datarootdir}&$datarootdir&g' ;;
   13271 esac
   13272 _ACEOF
   13273 
   13274 # Neutralize VPATH when '$srcdir' = '.'.
   13275 # Shell code in configure.ac might set extrasub.
   13276 # FIXME: do we really want to maintain this feature?
   13277 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13278 ac_sed_extra="$ac_vpsub
   13279 $extrasub
   13280 _ACEOF
   13281 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13282 :t
   13283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13284 s|@configure_input@|$ac_sed_conf_input|;t t
   13285 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13286 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13287 s&@srcdir@&$ac_srcdir&;t t
   13288 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13289 s&@top_srcdir@&$ac_top_srcdir&;t t
   13290 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13291 s&@builddir@&$ac_builddir&;t t
   13292 s&@abs_builddir@&$ac_abs_builddir&;t t
   13293 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13294 s&@INSTALL@&$ac_INSTALL&;t t
   13295 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13296 $ac_datarootdir_hack
   13297 "
   13298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13299   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13300 
   13301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13302   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13303   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13304       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13305   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13306 which seems to be undefined.  Please make sure it is defined" >&5
   13307 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13308 which seems to be undefined.  Please make sure it is defined" >&2;}
   13309 
   13310   rm -f "$ac_tmp/stdin"
   13311   case $ac_file in
   13312   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13313   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13314   esac \
   13315   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13316  ;;
   13317   :H)
   13318   #
   13319   # CONFIG_HEADER
   13320   #
   13321   if test x"$ac_file" != x-; then
   13322     {
   13323       printf '%s\n' "/* $configure_input  */" >&1 \
   13324       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13325     } >"$ac_tmp/config.h" \
   13326       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13327     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13328       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13329 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13330     else
   13331       rm -f "$ac_file"
   13332       mv "$ac_tmp/config.h" "$ac_file" \
   13333 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13334     fi
   13335   else
   13336     printf '%s\n' "/* $configure_input  */" >&1 \
   13337       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13338       || as_fn_error $? "could not create -" "$LINENO" 5
   13339   fi
   13340 # Compute "$ac_file"'s index in $config_headers.
   13341 _am_arg="$ac_file"
   13342 _am_stamp_count=1
   13343 for _am_header in $config_headers :; do
   13344   case $_am_header in
   13345     $_am_arg | $_am_arg:* )
   13346       break ;;
   13347     * )
   13348       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13349   esac
   13350 done
   13351 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13352 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13353 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13354 	 X"$_am_arg" : 'X\(//\)$' \| \
   13355 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13356 printf '%s\n' X"$_am_arg" |
   13357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13358 	    s//\1/
   13359 	    q
   13360 	  }
   13361 	  /^X\(\/\/\)[^/].*/{
   13362 	    s//\1/
   13363 	    q
   13364 	  }
   13365 	  /^X\(\/\/\)$/{
   13366 	    s//\1/
   13367 	    q
   13368 	  }
   13369 	  /^X\(\/\).*/{
   13370 	    s//\1/
   13371 	    q
   13372 	  }
   13373 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13374  ;;
   13375 
   13376   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13377 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13378  ;;
   13379   esac
   13380 
   13381 
   13382   case $ac_file$ac_mode in
   13383     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13384   # Older Autoconf quotes --file arguments for eval, but not when files
   13385   # are listed without --file.  Let's play safe and only enable the eval
   13386   # if we detect the quoting.
   13387   # TODO: see whether this extra hack can be removed once we start
   13388   # requiring Autoconf 2.70 or later.
   13389   case $CONFIG_FILES in #(
   13390   *\'*) :
   13391     eval set x "$CONFIG_FILES" ;; #(
   13392   *) :
   13393     set x $CONFIG_FILES ;; #(
   13394   *) :
   13395      ;;
   13396 esac
   13397   shift
   13398   # Used to flag and report bootstrapping failures.
   13399   am_rc=0
   13400   for am_mf
   13401   do
   13402     # Strip MF so we end up with the name of the file.
   13403     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13404     # Check whether this is an Automake generated Makefile which includes
   13405     # dependency-tracking related rules and includes.
   13406     # Grep'ing the whole file directly is not great: AIX grep has a line
   13407     # limit of 2048, but all sed's we know have understand at least 4000.
   13408     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13409       || continue
   13410     am_dirpart=`$as_dirname -- "$am_mf" ||
   13411 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13412 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13413 	 X"$am_mf" : 'X\(//\)$' \| \
   13414 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13415 printf '%s\n' X"$am_mf" |
   13416     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13417 	    s//\1/
   13418 	    q
   13419 	  }
   13420 	  /^X\(\/\/\)[^/].*/{
   13421 	    s//\1/
   13422 	    q
   13423 	  }
   13424 	  /^X\(\/\/\)$/{
   13425 	    s//\1/
   13426 	    q
   13427 	  }
   13428 	  /^X\(\/\).*/{
   13429 	    s//\1/
   13430 	    q
   13431 	  }
   13432 	  s/.*/./; q'`
   13433     am_filepart=`$as_basename -- "$am_mf" ||
   13434 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13435 	 X"$am_mf" : 'X\(//\)$' \| \
   13436 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13437 printf '%s\n' X/"$am_mf" |
   13438     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13439 	    s//\1/
   13440 	    q
   13441 	  }
   13442 	  /^X\/\(\/\/\)$/{
   13443 	    s//\1/
   13444 	    q
   13445 	  }
   13446 	  /^X\/\(\/\).*/{
   13447 	    s//\1/
   13448 	    q
   13449 	  }
   13450 	  s/.*/./; q'`
   13451     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13452       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13453         | $MAKE -f - am--depfiles" >&5
   13454    (cd "$am_dirpart" \
   13455       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13456         | $MAKE -f - am--depfiles) >&5 2>&5
   13457    ac_status=$?
   13458    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13459    (exit $ac_status); } || am_rc=$?
   13460   done
   13461   if test $am_rc -ne 0; then
   13462     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13463 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13464 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13465     for automatic dependency tracking.  If GNU make was not used, consider
   13466     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13467     necessary).  You can also try re-running configure with the
   13468     '--disable-dependency-tracking' option to at least be able to build
   13469     the package (albeit without support for automatic dependency tracking).
   13470 See 'config.log' for more details" "$LINENO" 5; }
   13471   fi
   13472   { am_dirpart=; unset am_dirpart;}
   13473   { am_filepart=; unset am_filepart;}
   13474   { am_mf=; unset am_mf;}
   13475   { am_rc=; unset am_rc;}
   13476   rm -f conftest-deps.mk
   13477 }
   13478  ;;
   13479 
   13480   esac
   13481 done # for ac_tag
   13482 
   13483 
   13484 as_fn_exit 0
   13485 _ACEOF
   13486 ac_clean_CONFIG_STATUS=
   13487 
   13488 test $ac_write_fail = 0 ||
   13489   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13490 
   13491 
   13492 # configure is writing to config.log, and then calls config.status.
   13493 # config.status does its own redirection, appending to config.log.
   13494 # Unfortunately, on DOS this fails, as config.log is still kept open
   13495 # by configure, so config.status won't be able to write to it; its
   13496 # output is simply discarded.  So we exec the FD to /dev/null,
   13497 # effectively closing config.log, so it can be properly (re)opened and
   13498 # appended to by config.status.  When coming back to configure, we
   13499 # need to make the FD available again.
   13500 if test "$no_create" != yes; then
   13501   ac_cs_success=:
   13502   case $CONFIG_STATUS in #(
   13503   -*) :
   13504     ac_no_opts=-- ;; #(
   13505   *) :
   13506     ac_no_opts= ;;
   13507 esac
   13508   ac_config_status_args=
   13509   test "$silent" = yes &&
   13510     ac_config_status_args="$ac_config_status_args --quiet"
   13511   exec 5>/dev/null
   13512   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13513     ac_cs_success=false
   13514   exec 5>>config.log
   13515   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13516   # would make configure fail if this is the last instruction.
   13517   $ac_cs_success || as_fn_exit 1
   13518 fi
   13519 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13520   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13521 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13522 fi
   13523 
   13524 
   13525