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 listres 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/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/listres/-/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='listres'
    591 PACKAGE_TARNAME='listres'
    592 PACKAGE_VERSION='1.0.7'
    593 PACKAGE_STRING='listres 1.0.7'
    594 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/listres/-/issues'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="Makefile.am"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stddef.h>
    601 #ifdef HAVE_STDIO_H
    602 # include <stdio.h>
    603 #endif
    604 #ifdef HAVE_STDLIB_H
    605 # include <stdlib.h>
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # include <string.h>
    609 #endif
    610 #ifdef HAVE_INTTYPES_H
    611 # include <inttypes.h>
    612 #endif
    613 #ifdef HAVE_STDINT_H
    614 # include <stdint.h>
    615 #endif
    616 #ifdef HAVE_STRINGS_H
    617 # include <strings.h>
    618 #endif
    619 #ifdef HAVE_SYS_TYPES_H
    620 # include <sys/types.h>
    621 #endif
    622 #ifdef HAVE_SYS_STAT_H
    623 # include <sys/stat.h>
    624 #endif
    625 #ifdef HAVE_UNISTD_H
    626 # include <unistd.h>
    627 #endif"
    628 
    629 ac_header_c_list=
    630 ac_subst_vars='am__EXEEXT_FALSE
    631 am__EXEEXT_TRUE
    632 LTLIBOBJS
    633 LIBOBJS
    634 LISTRES_LIBS
    635 LISTRES_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 am__xargs_n
    684 am__rm_f_notfound
    685 AM_BACKSLASH
    686 AM_DEFAULT_VERBOSITY
    687 AM_DEFAULT_V
    688 AM_V
    689 CSCOPE
    690 ETAGS
    691 CTAGS
    692 am__untar
    693 am__tar
    694 AMTAR
    695 am__leading_dot
    696 SET_MAKE
    697 AWK
    698 mkdir_p
    699 MKDIR_P
    700 INSTALL_STRIP_PROGRAM
    701 STRIP
    702 install_sh
    703 MAKEINFO
    704 AUTOHEADER
    705 AUTOMAKE
    706 AUTOCONF
    707 ACLOCAL
    708 VERSION
    709 PACKAGE
    710 CYGPATH_W
    711 am__isrc
    712 INSTALL_DATA
    713 INSTALL_SCRIPT
    714 INSTALL_PROGRAM
    715 ECHO_T
    716 ECHO_N
    717 ECHO_C
    718 target_alias
    719 host_alias
    720 build_alias
    721 LIBS
    722 DEFS
    723 mandir
    724 localedir
    725 libdir
    726 psdir
    727 pdfdir
    728 dvidir
    729 htmldir
    730 infodir
    731 docdir
    732 oldincludedir
    733 includedir
    734 runstatedir
    735 localstatedir
    736 sharedstatedir
    737 sysconfdir
    738 datadir
    739 datarootdir
    740 libexecdir
    741 sbindir
    742 bindir
    743 program_transform_name
    744 prefix
    745 exec_prefix
    746 PACKAGE_URL
    747 PACKAGE_BUGREPORT
    748 PACKAGE_STRING
    749 PACKAGE_VERSION
    750 PACKAGE_TARNAME
    751 PACKAGE_NAME
    752 PATH_SEPARATOR
    753 SHELL
    754 am__quote'
    755 ac_subst_files=''
    756 ac_user_opts='
    757 enable_option_checking
    758 enable_silent_rules
    759 enable_dependency_tracking
    760 enable_selective_werror
    761 enable_strict_compilation
    762 '
    763       ac_precious_vars='build_alias
    764 host_alias
    765 target_alias
    766 CC
    767 CFLAGS
    768 LDFLAGS
    769 LIBS
    770 CPPFLAGS
    771 PKG_CONFIG
    772 PKG_CONFIG_PATH
    773 PKG_CONFIG_LIBDIR
    774 LISTRES_CFLAGS
    775 LISTRES_LIBS'
    776 
    777 
    778 # Initialize some variables set by options.
    779 ac_init_help=
    780 ac_init_version=false
    781 ac_unrecognized_opts=
    782 ac_unrecognized_sep=
    783 # The variables have the same names as the options, with
    784 # dashes changed to underlines.
    785 cache_file=/dev/null
    786 exec_prefix=NONE
    787 no_create=
    788 no_recursion=
    789 prefix=NONE
    790 program_prefix=NONE
    791 program_suffix=NONE
    792 program_transform_name=s,x,x,
    793 silent=
    794 site=
    795 srcdir=
    796 verbose=
    797 x_includes=NONE
    798 x_libraries=NONE
    799 
    800 # Installation directory options.
    801 # These are left unexpanded so users can "make install exec_prefix=/foo"
    802 # and all the variables that are supposed to be based on exec_prefix
    803 # by default will actually change.
    804 # Use braces instead of parens because sh, perl, etc. also accept them.
    805 # (The list follows the same order as the GNU Coding Standards.)
    806 bindir='${exec_prefix}/bin'
    807 sbindir='${exec_prefix}/sbin'
    808 libexecdir='${exec_prefix}/libexec'
    809 datarootdir='${prefix}/share'
    810 datadir='${datarootdir}'
    811 sysconfdir='${prefix}/etc'
    812 sharedstatedir='${prefix}/com'
    813 localstatedir='${prefix}/var'
    814 runstatedir='${localstatedir}/run'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   case $ac_dashdash$ac_option in
    845   --)
    846     ac_dashdash=yes ;;
    847 
    848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    849     ac_prev=bindir ;;
    850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    851     bindir=$ac_optarg ;;
    852 
    853   -build | --build | --buil | --bui | --bu)
    854     ac_prev=build_alias ;;
    855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    856     build_alias=$ac_optarg ;;
    857 
    858   -cache-file | --cache-file | --cache-fil | --cache-fi \
    859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    860     ac_prev=cache_file ;;
    861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    863     cache_file=$ac_optarg ;;
    864 
    865   --config-cache | -C)
    866     cache_file=config.cache ;;
    867 
    868   -datadir | --datadir | --datadi | --datad)
    869     ac_prev=datadir ;;
    870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    871     datadir=$ac_optarg ;;
    872 
    873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    874   | --dataroo | --dataro | --datar)
    875     ac_prev=datarootdir ;;
    876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    878     datarootdir=$ac_optarg ;;
    879 
    880   -disable-* | --disable-*)
    881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    882     # Reject names that are not valid shell variable names.
    883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    884       as_fn_error $? "invalid feature name: '$ac_useropt'"
    885     ac_useropt_orig=$ac_useropt
    886     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    887     case $ac_user_opts in
    888       *"
    889 "enable_$ac_useropt"
    890 "*) ;;
    891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    892 	 ac_unrecognized_sep=', ';;
    893     esac
    894     eval enable_$ac_useropt=no ;;
    895 
    896   -docdir | --docdir | --docdi | --doc | --do)
    897     ac_prev=docdir ;;
    898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    899     docdir=$ac_optarg ;;
    900 
    901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    902     ac_prev=dvidir ;;
    903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    904     dvidir=$ac_optarg ;;
    905 
    906   -enable-* | --enable-*)
    907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    908     # Reject names that are not valid shell variable names.
    909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       as_fn_error $? "invalid feature name: '$ac_useropt'"
    911     ac_useropt_orig=$ac_useropt
    912     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    913     case $ac_user_opts in
    914       *"
    915 "enable_$ac_useropt"
    916 "*) ;;
    917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    918 	 ac_unrecognized_sep=', ';;
    919     esac
    920     eval enable_$ac_useropt=\$ac_optarg ;;
    921 
    922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    924   | --exec | --exe | --ex)
    925     ac_prev=exec_prefix ;;
    926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    928   | --exec=* | --exe=* | --ex=*)
    929     exec_prefix=$ac_optarg ;;
    930 
    931   -gas | --gas | --ga | --g)
    932     # Obsolete; use --with-gas.
    933     with_gas=yes ;;
    934 
    935   -help | --help | --hel | --he | -h)
    936     ac_init_help=long ;;
    937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    938     ac_init_help=recursive ;;
    939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    940     ac_init_help=short ;;
    941 
    942   -host | --host | --hos | --ho)
    943     ac_prev=host_alias ;;
    944   -host=* | --host=* | --hos=* | --ho=*)
    945     host_alias=$ac_optarg ;;
    946 
    947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    948     ac_prev=htmldir ;;
    949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    950   | --ht=*)
    951     htmldir=$ac_optarg ;;
    952 
    953   -includedir | --includedir | --includedi | --included | --include \
    954   | --includ | --inclu | --incl | --inc)
    955     ac_prev=includedir ;;
    956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    957   | --includ=* | --inclu=* | --incl=* | --inc=*)
    958     includedir=$ac_optarg ;;
    959 
    960   -infodir | --infodir | --infodi | --infod | --info | --inf)
    961     ac_prev=infodir ;;
    962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    963     infodir=$ac_optarg ;;
    964 
    965   -libdir | --libdir | --libdi | --libd)
    966     ac_prev=libdir ;;
    967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    968     libdir=$ac_optarg ;;
    969 
    970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    971   | --libexe | --libex | --libe)
    972     ac_prev=libexecdir ;;
    973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    974   | --libexe=* | --libex=* | --libe=*)
    975     libexecdir=$ac_optarg ;;
    976 
    977   -localedir | --localedir | --localedi | --localed | --locale)
    978     ac_prev=localedir ;;
    979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    980     localedir=$ac_optarg ;;
    981 
    982   -localstatedir | --localstatedir | --localstatedi | --localstated \
    983   | --localstate | --localstat | --localsta | --localst | --locals)
    984     ac_prev=localstatedir ;;
    985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    987     localstatedir=$ac_optarg ;;
    988 
    989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    990     ac_prev=mandir ;;
    991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    992     mandir=$ac_optarg ;;
    993 
    994   -nfp | --nfp | --nf)
    995     # Obsolete; use --without-fp.
    996     with_fp=no ;;
    997 
    998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    999   | --no-cr | --no-c | -n)
   1000     no_create=yes ;;
   1001 
   1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1004     no_recursion=yes ;;
   1005 
   1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1008   | --oldin | --oldi | --old | --ol | --o)
   1009     ac_prev=oldincludedir ;;
   1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1013     oldincludedir=$ac_optarg ;;
   1014 
   1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1016     ac_prev=prefix ;;
   1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1018     prefix=$ac_optarg ;;
   1019 
   1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1021   | --program-pre | --program-pr | --program-p)
   1022     ac_prev=program_prefix ;;
   1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1025     program_prefix=$ac_optarg ;;
   1026 
   1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1028   | --program-suf | --program-su | --program-s)
   1029     ac_prev=program_suffix ;;
   1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1032     program_suffix=$ac_optarg ;;
   1033 
   1034   -program-transform-name | --program-transform-name \
   1035   | --program-transform-nam | --program-transform-na \
   1036   | --program-transform-n | --program-transform- \
   1037   | --program-transform | --program-transfor \
   1038   | --program-transfo | --program-transf \
   1039   | --program-trans | --program-tran \
   1040   | --progr-tra | --program-tr | --program-t)
   1041     ac_prev=program_transform_name ;;
   1042   -program-transform-name=* | --program-transform-name=* \
   1043   | --program-transform-nam=* | --program-transform-na=* \
   1044   | --program-transform-n=* | --program-transform-=* \
   1045   | --program-transform=* | --program-transfor=* \
   1046   | --program-transfo=* | --program-transf=* \
   1047   | --program-trans=* | --program-tran=* \
   1048   | --progr-tra=* | --program-tr=* | --program-t=*)
   1049     program_transform_name=$ac_optarg ;;
   1050 
   1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1052     ac_prev=pdfdir ;;
   1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1054     pdfdir=$ac_optarg ;;
   1055 
   1056   -psdir | --psdir | --psdi | --psd | --ps)
   1057     ac_prev=psdir ;;
   1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1059     psdir=$ac_optarg ;;
   1060 
   1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1062   | -silent | --silent | --silen | --sile | --sil)
   1063     silent=yes ;;
   1064 
   1065   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1066   | --runstate | --runstat | --runsta | --runst | --runs \
   1067   | --run | --ru | --r)
   1068     ac_prev=runstatedir ;;
   1069   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1070   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1071   | --run=* | --ru=* | --r=*)
   1072     runstatedir=$ac_optarg ;;
   1073 
   1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1075     ac_prev=sbindir ;;
   1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1077   | --sbi=* | --sb=*)
   1078     sbindir=$ac_optarg ;;
   1079 
   1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1082   | --sharedst | --shareds | --shared | --share | --shar \
   1083   | --sha | --sh)
   1084     ac_prev=sharedstatedir ;;
   1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1088   | --sha=* | --sh=*)
   1089     sharedstatedir=$ac_optarg ;;
   1090 
   1091   -site | --site | --sit)
   1092     ac_prev=site ;;
   1093   -site=* | --site=* | --sit=*)
   1094     site=$ac_optarg ;;
   1095 
   1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1097     ac_prev=srcdir ;;
   1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1099     srcdir=$ac_optarg ;;
   1100 
   1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1102   | --syscon | --sysco | --sysc | --sys | --sy)
   1103     ac_prev=sysconfdir ;;
   1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1106     sysconfdir=$ac_optarg ;;
   1107 
   1108   -target | --target | --targe | --targ | --tar | --ta | --t)
   1109     ac_prev=target_alias ;;
   1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1111     target_alias=$ac_optarg ;;
   1112 
   1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1114     verbose=yes ;;
   1115 
   1116   -version | --version | --versio | --versi | --vers | -V)
   1117     ac_init_version=: ;;
   1118 
   1119   -with-* | --with-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: '$ac_useropt'"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=\$ac_optarg ;;
   1134 
   1135   -without-* | --without-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: '$ac_useropt'"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=no ;;
   1150 
   1151   --x)
   1152     # Obsolete; use --with-x.
   1153     with_x=yes ;;
   1154 
   1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1156   | --x-incl | --x-inc | --x-in | --x-i)
   1157     ac_prev=x_includes ;;
   1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1160     x_includes=$ac_optarg ;;
   1161 
   1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1164     ac_prev=x_libraries ;;
   1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1167     x_libraries=$ac_optarg ;;
   1168 
   1169   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1170 Try '$0 --help' for more information"
   1171     ;;
   1172 
   1173   *=*)
   1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1175     # Reject names that are not valid shell variable names.
   1176     case $ac_envvar in #(
   1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1178       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1179     esac
   1180     eval $ac_envvar=\$ac_optarg
   1181     export $ac_envvar ;;
   1182 
   1183   *)
   1184     # FIXME: should be removed in autoconf 3.0.
   1185     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1187       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1188     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1189     ;;
   1190 
   1191   esac
   1192 done
   1193 
   1194 if test -n "$ac_prev"; then
   1195   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1196   as_fn_error $? "missing argument to $ac_option"
   1197 fi
   1198 
   1199 if test -n "$ac_unrecognized_opts"; then
   1200   case $enable_option_checking in
   1201     no) ;;
   1202     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1203     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1204   esac
   1205 fi
   1206 
   1207 # Check all directory arguments for consistency.
   1208 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1209 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1210 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1211 		libdir localedir mandir runstatedir
   1212 do
   1213   eval ac_val=\$$ac_var
   1214   # Remove trailing slashes.
   1215   case $ac_val in
   1216     */ )
   1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1218       eval $ac_var=\$ac_val;;
   1219   esac
   1220   # Be sure to have absolute directory names.
   1221   case $ac_val in
   1222     [\\/$]* | ?:[\\/]* )  continue;;
   1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1224   esac
   1225   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1226 done
   1227 
   1228 # There might be people who depend on the old broken behavior: '$host'
   1229 # used to hold the argument of --host etc.
   1230 # FIXME: To remove some day.
   1231 build=$build_alias
   1232 host=$host_alias
   1233 target=$target_alias
   1234 
   1235 # FIXME: To remove some day.
   1236 if test "x$host_alias" != x; then
   1237   if test "x$build_alias" = x; then
   1238     cross_compiling=maybe
   1239   elif test "x$build_alias" != "x$host_alias"; then
   1240     cross_compiling=yes
   1241   fi
   1242 fi
   1243 
   1244 ac_tool_prefix=
   1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1246 
   1247 test "$silent" = yes && exec 6>/dev/null
   1248 
   1249 
   1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1251 ac_ls_di=`ls -di .` &&
   1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1253   as_fn_error $? "working directory cannot be determined"
   1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1255   as_fn_error $? "pwd does not report name of working directory"
   1256 
   1257 
   1258 # Find the source files, if location was not specified.
   1259 if test -z "$srcdir"; then
   1260   ac_srcdir_defaulted=yes
   1261   # Try the directory containing this script, then the parent directory.
   1262   ac_confdir=`$as_dirname -- "$as_myself" ||
   1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1264 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1265 	 X"$as_myself" : 'X\(//\)$' \| \
   1266 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1267 printf '%s\n' X"$as_myself" |
   1268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)[^/].*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)$/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\).*/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  s/.*/./; q'`
   1285   srcdir=$ac_confdir
   1286   if test ! -r "$srcdir/$ac_unique_file"; then
   1287     srcdir=..
   1288   fi
   1289 else
   1290   ac_srcdir_defaulted=no
   1291 fi
   1292 if test ! -r "$srcdir/$ac_unique_file"; then
   1293   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1294   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1295 fi
   1296 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1297 ac_abs_confdir=`(
   1298 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1299 	pwd)`
   1300 # When building in place, set srcdir=.
   1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1302   srcdir=.
   1303 fi
   1304 # Remove unnecessary trailing slashes from srcdir.
   1305 # Double slashes in file names in object file debugging info
   1306 # mess up M-x gdb in Emacs.
   1307 case $srcdir in
   1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1309 esac
   1310 for ac_var in $ac_precious_vars; do
   1311   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1312   eval ac_env_${ac_var}_value=\$${ac_var}
   1313   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1315 done
   1316 
   1317 #
   1318 # Report the --help message.
   1319 #
   1320 if test "$ac_init_help" = "long"; then
   1321   # Omit some internal or obsolete options to make the list less imposing.
   1322   # This message is too long to be a string in the A/UX 3.1 sh.
   1323   cat <<_ACEOF
   1324 'configure' configures listres 1.0.7 to adapt to many kinds of systems.
   1325 
   1326 Usage: $0 [OPTION]... [VAR=VALUE]...
   1327 
   1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1329 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1330 
   1331 Defaults for the options are specified in brackets.
   1332 
   1333 Configuration:
   1334   -h, --help              display this help and exit
   1335       --help=short        display options specific to this package
   1336       --help=recursive    display the short help of all the included packages
   1337   -V, --version           display version information and exit
   1338   -q, --quiet, --silent   do not print 'checking ...' messages
   1339       --cache-file=FILE   cache test results in FILE [disabled]
   1340   -C, --config-cache      alias for '--cache-file=config.cache'
   1341   -n, --no-create         do not create output files
   1342       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1343 
   1344 Installation directories:
   1345   --prefix=PREFIX         install architecture-independent files in PREFIX
   1346                           [$ac_default_prefix]
   1347   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1348                           [PREFIX]
   1349 
   1350 By default, 'make install' will install all the files in
   1351 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1352 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1353 for instance '--prefix=\$HOME'.
   1354 
   1355 For better control, use the options below.
   1356 
   1357 Fine tuning of the installation directories:
   1358   --bindir=DIR            user executables [EPREFIX/bin]
   1359   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1360   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1361   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1362   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1363   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1364   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1365   --libdir=DIR            object code libraries [EPREFIX/lib]
   1366   --includedir=DIR        C header files [PREFIX/include]
   1367   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1368   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1369   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1370   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1371   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1372   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1373   --docdir=DIR            documentation root [DATAROOTDIR/doc/listres]
   1374   --htmldir=DIR           html documentation [DOCDIR]
   1375   --dvidir=DIR            dvi documentation [DOCDIR]
   1376   --pdfdir=DIR            pdf documentation [DOCDIR]
   1377   --psdir=DIR             ps documentation [DOCDIR]
   1378 _ACEOF
   1379 
   1380   cat <<\_ACEOF
   1381 
   1382 Program names:
   1383   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1384   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1385   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1386 
   1387 System types:
   1388   --build=BUILD     configure for building on BUILD [guessed]
   1389   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1390 _ACEOF
   1391 fi
   1392 
   1393 if test -n "$ac_init_help"; then
   1394   case $ac_init_help in
   1395      short | recursive ) echo "Configuration of listres 1.0.7:";;
   1396    esac
   1397   cat <<\_ACEOF
   1398 
   1399 Optional Features:
   1400   --disable-option-checking  ignore unrecognized --enable/--with options
   1401   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1402   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1403   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1404   --disable-silent-rules  verbose build output (undo: "make V=0")
   1405   --enable-dependency-tracking
   1406                           do not reject slow dependency extractors
   1407   --disable-dependency-tracking
   1408                           speeds up one-time build
   1409   --disable-selective-werror
   1410                           Turn off selective compiler errors. (default:
   1411                           enabled)
   1412   --enable-strict-compilation
   1413                           Enable all warnings from compiler and make them
   1414                           errors (default: disabled)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   PKG_CONFIG  path to pkg-config utility
   1425   PKG_CONFIG_PATH
   1426               directories to add to pkg-config's search path
   1427   PKG_CONFIG_LIBDIR
   1428               path overriding pkg-config's built-in search path
   1429   LISTRES_CFLAGS
   1430               C compiler flags for LISTRES, overriding pkg-config
   1431   LISTRES_LIBS
   1432               linker flags for LISTRES, overriding pkg-config
   1433 
   1434 Use these variables to override the choices made by 'configure' or to help
   1435 it to find libraries and programs with nonstandard names/locations.
   1436 
   1437 Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/issues>.
   1438 _ACEOF
   1439 ac_status=$?
   1440 fi
   1441 
   1442 if test "$ac_init_help" = "recursive"; then
   1443   # If there are subdirs, report their specific --help.
   1444   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1445     test -d "$ac_dir" ||
   1446       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1447       continue
   1448     ac_builddir=.
   1449 
   1450 case "$ac_dir" in
   1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1452 *)
   1453   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1454   # A ".." for each directory in $ac_dir_suffix.
   1455   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1456   case $ac_top_builddir_sub in
   1457   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1458   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1459   esac ;;
   1460 esac
   1461 ac_abs_top_builddir=$ac_pwd
   1462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1463 # for backward compatibility:
   1464 ac_top_builddir=$ac_top_build_prefix
   1465 
   1466 case $srcdir in
   1467   .)  # We are building in place.
   1468     ac_srcdir=.
   1469     ac_top_srcdir=$ac_top_builddir_sub
   1470     ac_abs_top_srcdir=$ac_pwd ;;
   1471   [\\/]* | ?:[\\/]* )  # Absolute name.
   1472     ac_srcdir=$srcdir$ac_dir_suffix;
   1473     ac_top_srcdir=$srcdir
   1474     ac_abs_top_srcdir=$srcdir ;;
   1475   *) # Relative name.
   1476     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1477     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1478     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1479 esac
   1480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1481 
   1482     cd "$ac_dir" || { ac_status=$?; continue; }
   1483     # Check for configure.gnu first; this name is used for a wrapper for
   1484     # Metaconfig's "Configure" on case-insensitive file systems.
   1485     if test -f "$ac_srcdir/configure.gnu"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1488     elif test -f "$ac_srcdir/configure"; then
   1489       echo &&
   1490       $SHELL "$ac_srcdir/configure" --help=recursive
   1491     else
   1492       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1493     fi || ac_status=$?
   1494     cd "$ac_pwd" || { ac_status=$?; break; }
   1495   done
   1496 fi
   1497 
   1498 test -n "$ac_init_help" && exit $ac_status
   1499 if $ac_init_version; then
   1500   cat <<\_ACEOF
   1501 listres configure 1.0.7
   1502 generated by GNU Autoconf 2.73
   1503 
   1504 Copyright (C) 2026 Free Software Foundation, Inc.
   1505 This configure script is free software; the Free Software Foundation
   1506 gives unlimited permission to copy, distribute and modify it.
   1507 _ACEOF
   1508   exit
   1509 fi
   1510 
   1511 ## ------------------------ ##
   1512 ## Autoconf initialization. ##
   1513 ## ------------------------ ##
   1514 
   1515 # ac_fn_c_try_compile LINENO
   1516 # --------------------------
   1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1518 ac_fn_c_try_compile ()
   1519 {
   1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1521   rm -f conftest.$ac_objext conftest.beam
   1522   if { { ac_try="$ac_compile"
   1523 case "(($ac_try" in
   1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1525   *) ac_try_echo=$ac_try;;
   1526 esac
   1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1528 printf '%s\n' "$ac_try_echo"; } >&5
   1529   (eval "$ac_compile") 2>conftest.err
   1530   ac_status=$?
   1531   if test -s conftest.err; then
   1532     grep -v '^ *+' conftest.err >conftest.er1
   1533     cat conftest.er1 >&5
   1534     mv -f conftest.er1 conftest.err
   1535   fi
   1536   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1537   test $ac_status = 0; } && {
   1538 	 test -z "$ac_c_werror_flag" ||
   1539 	 test ! -s conftest.err
   1540        } && test -s conftest.$ac_objext
   1541 then :
   1542   ac_retval=0
   1543 else case e in #(
   1544   e) printf '%s\n' "$as_me: failed program was:" >&5
   1545 sed 's/^/| /' conftest.$ac_ext >&5
   1546 
   1547 	ac_retval=1 ;;
   1548 esac
   1549 fi
   1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1551   as_fn_set_status $ac_retval
   1552 
   1553 } # ac_fn_c_try_compile
   1554 
   1555 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1556 # ------------------------------------------------------------------
   1557 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1558 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1559 ac_fn_check_decl ()
   1560 {
   1561   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1562   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1563   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1564 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1565 if eval test \${$3+y}
   1566 then :
   1567   printf %s "(cached) " >&6
   1568 else case e in #(
   1569   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1570   eval ac_save_FLAGS=\$$6
   1571   as_fn_append $6 " $5"
   1572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1573 /* end confdefs.h.  */
   1574 $4
   1575 int
   1576 main (void)
   1577 {
   1578 #ifndef $as_decl_name
   1579 #ifdef __cplusplus
   1580   (void) $as_decl_use;
   1581 #else
   1582   (void) $as_decl_name;
   1583 #endif
   1584 #endif
   1585 
   1586   ;
   1587   return 0;
   1588 }
   1589 _ACEOF
   1590 if ac_fn_c_try_compile "$LINENO"
   1591 then :
   1592   eval "$3=yes"
   1593 else case e in #(
   1594   e) eval "$3=no" ;;
   1595 esac
   1596 fi
   1597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1598   eval $6=\$ac_save_FLAGS
   1599  ;;
   1600 esac
   1601 fi
   1602 eval ac_res=\$$3
   1603 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1604 printf '%s\n' "$ac_res" >&6; }
   1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1606 
   1607 } # ac_fn_check_decl
   1608 
   1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1610 # -------------------------------------------------------
   1611 # Tests whether HEADER exists and can be compiled using the include files in
   1612 # INCLUDES, setting the cache variable VAR accordingly.
   1613 ac_fn_c_check_header_compile ()
   1614 {
   1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1616   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1617 printf %s "checking for $2... " >&6; }
   1618 if eval test \${$3+y}
   1619 then :
   1620   printf %s "(cached) " >&6
   1621 else case e in #(
   1622   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1623 /* end confdefs.h.  */
   1624 $4
   1625 #include <$2>
   1626 _ACEOF
   1627 if ac_fn_c_try_compile "$LINENO"
   1628 then :
   1629   eval "$3=yes"
   1630 else case e in #(
   1631   e) eval "$3=no" ;;
   1632 esac
   1633 fi
   1634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1635 esac
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 printf '%s\n' "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_c_check_header_compile
   1643 
   1644 # ac_fn_c_try_link LINENO
   1645 # -----------------------
   1646 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_link ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1651   if { { ac_try="$ac_link"
   1652 case "(($ac_try" in
   1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1654   *) ac_try_echo=$ac_try;;
   1655 esac
   1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1657 printf '%s\n' "$ac_try_echo"; } >&5
   1658   (eval "$ac_link") 2>conftest.err
   1659   ac_status=$?
   1660   if test -s conftest.err; then
   1661     grep -v '^ *+' conftest.err >conftest.er1
   1662     cat conftest.er1 >&5
   1663     mv -f conftest.er1 conftest.err
   1664   fi
   1665   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1666   test $ac_status = 0; } && {
   1667 	 test -z "$ac_c_werror_flag" ||
   1668 	 test ! -s conftest.err
   1669        } && test -s conftest$ac_exeext && {
   1670 	 test "$cross_compiling" = yes ||
   1671 	 test -x conftest$ac_exeext
   1672        }
   1673 then :
   1674   ac_retval=0
   1675 else case e in #(
   1676   e) printf '%s\n' "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679 	ac_retval=1 ;;
   1680 esac
   1681 fi
   1682   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1683   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1684   # interfere with the next link command; also delete a directory that is
   1685   # left behind by Apple's compiler.  We do this before executing the actions.
   1686   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688   as_fn_set_status $ac_retval
   1689 
   1690 } # ac_fn_c_try_link
   1691 ac_configure_args_raw=
   1692 for ac_arg
   1693 do
   1694   case $ac_arg in
   1695   *\'*)
   1696     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1697   esac
   1698   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1699 done
   1700 
   1701 case $ac_configure_args_raw in
   1702   *$as_nl*)
   1703     ac_safe_unquote= ;;
   1704   *)
   1705     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1706     ac_unsafe_a="$ac_unsafe_z#~"
   1707     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1708     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1709 esac
   1710 
   1711 cat >config.log <<_ACEOF
   1712 This file contains any messages produced by compilers while
   1713 running configure, to aid debugging if configure makes a mistake.
   1714 
   1715 It was created by listres $as_me 1.0.7, which was
   1716 generated by GNU Autoconf 2.73.  Invocation command line was
   1717 
   1718   $ $0$ac_configure_args_raw
   1719 
   1720 _ACEOF
   1721 exec 5>>config.log
   1722 {
   1723 cat <<_ASUNAME
   1724 ## --------- ##
   1725 ## Platform. ##
   1726 ## --------- ##
   1727 
   1728 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1729 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1730 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1731 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1732 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1733 
   1734 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1735 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1736 
   1737 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1738 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1739 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1740 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1741 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1742 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1743 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1744 
   1745 _ASUNAME
   1746 
   1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1748 for as_dir in $PATH
   1749 do
   1750   IFS=$as_save_IFS
   1751   case $as_dir in #(((
   1752     '') as_dir=./ ;;
   1753     */) ;;
   1754     *) as_dir=$as_dir/ ;;
   1755   esac
   1756     printf '%s\n' "PATH: $as_dir"
   1757   done
   1758 IFS=$as_save_IFS
   1759 
   1760 } >&5
   1761 
   1762 cat >&5 <<_ACEOF
   1763 
   1764 
   1765 ## ----------- ##
   1766 ## Core tests. ##
   1767 ## ----------- ##
   1768 
   1769 _ACEOF
   1770 
   1771 
   1772 # Keep a trace of the command line.
   1773 # Strip out --no-create and --no-recursion so they do not pile up.
   1774 # Strip out --silent because we don't want to record it for future runs.
   1775 # Also quote any args containing shell meta-characters.
   1776 # Make two passes to allow for proper duplicate-argument suppression.
   1777 ac_configure_args=
   1778 ac_configure_args0=
   1779 ac_configure_args1=
   1780 ac_must_keep_next=false
   1781 for ac_pass in 1 2
   1782 do
   1783   for ac_arg
   1784   do
   1785     case $ac_arg in
   1786     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1787     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1788     | -silent | --silent | --silen | --sile | --sil)
   1789       continue ;;
   1790     *\'*)
   1791       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1792     esac
   1793     case $ac_pass in
   1794     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1795     2)
   1796       as_fn_append ac_configure_args1 " '$ac_arg'"
   1797       if test $ac_must_keep_next = true; then
   1798 	ac_must_keep_next=false # Got value, back to normal.
   1799       else
   1800 	case $ac_arg in
   1801 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1802 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1803 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1804 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1805 	    case "$ac_configure_args0 " in
   1806 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1807 	    esac
   1808 	    ;;
   1809 	  -* ) ac_must_keep_next=true ;;
   1810 	esac
   1811       fi
   1812       as_fn_append ac_configure_args " '$ac_arg'"
   1813       ;;
   1814     esac
   1815   done
   1816 done
   1817 { ac_configure_args0=; unset ac_configure_args0;}
   1818 { ac_configure_args1=; unset ac_configure_args1;}
   1819 
   1820 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1821 ac_cache_dump ()
   1822 {
   1823   # The following way of writing the cache mishandles newlines in values,
   1824 # but we know of no workaround that is simple, portable, and efficient.
   1825 # So, we kill variables containing newlines.
   1826 # Ultrix sh set writes to stderr and can't be redirected directly,
   1827 # and sets the high bit in the cache file unless we assign to the vars.
   1828 (
   1829   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1830     eval ac_val=\$$ac_var
   1831     case $ac_val in #(
   1832     *${as_nl}*)
   1833       case $ac_var in #(
   1834       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1835 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1836       esac
   1837       case $ac_var in #(
   1838       _ | IFS | as_nl) ;; #(
   1839       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1840       *) { eval $ac_var=; unset $ac_var;} ;;
   1841       esac ;;
   1842     esac
   1843   done
   1844 
   1845   (set) 2>&1 |
   1846     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1847     *${as_nl}ac_space=\ *)
   1848       # 'set' does not quote correctly, so add quotes: double-quote
   1849       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1850       sed -n \
   1851 	"s/'/'\\\\''/g;
   1852 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1853       ;; #(
   1854     *)
   1855       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1856       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1857       ;;
   1858     esac |
   1859     sort
   1860 )
   1861 }
   1862 
   1863 # Print debugging info to stdout.
   1864 ac_dump_debugging_info ()
   1865 {
   1866   echo
   1867 
   1868   printf '%s\n' "## ---------------- ##
   1869 ## Cache variables. ##
   1870 ## ---------------- ##"
   1871   echo
   1872   ac_cache_dump
   1873   echo
   1874 
   1875   printf '%s\n' "## ----------------- ##
   1876 ## Output variables. ##
   1877 ## ----------------- ##"
   1878   echo
   1879   for ac_var in $ac_subst_vars
   1880   do
   1881     eval ac_val=\$$ac_var
   1882     case $ac_val in
   1883     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1884     esac
   1885     printf '%s\n' "$ac_var='$ac_val'"
   1886   done | sort
   1887   echo
   1888 
   1889   if test -n "$ac_subst_files"; then
   1890     printf '%s\n' "## ------------------- ##
   1891 ## File substitutions. ##
   1892 ## ------------------- ##"
   1893     echo
   1894     for ac_var in $ac_subst_files
   1895     do
   1896       eval ac_val=\$$ac_var
   1897       case $ac_val in
   1898       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   1899       esac
   1900       printf '%s\n' "$ac_var='$ac_val'"
   1901     done | sort
   1902     echo
   1903   fi
   1904 
   1905   if test -s confdefs.h; then
   1906     printf '%s\n' "## ----------- ##
   1907 ## confdefs.h. ##
   1908 ## ----------- ##"
   1909     echo
   1910     cat confdefs.h
   1911     echo
   1912   fi
   1913   test "$ac_signal" != 0 &&
   1914     printf '%s\n' "$as_me: caught signal $ac_signal"
   1915   printf '%s\n' "$as_me: exit $exit_status"
   1916 }
   1917 
   1918 # When interrupted or exit'd, cleanup temporary files, and complete
   1919 # config.log.
   1920 ac_exit_trap ()
   1921 {
   1922   exit_status=
   1923   # Sanitize IFS.
   1924   IFS=" ""	$as_nl"
   1925   # Save into config.log some information that might help in debugging.
   1926   ac_dump_debugging_info >&5
   1927   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   1928     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1929     exit $exit_status
   1930 }
   1931 
   1932 trap 'ac_exit_trap $?' 0
   1933 for ac_signal in 1 2 13 15; do
   1934   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1935 done
   1936 ac_signal=0
   1937 
   1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1939 rm -f -r conftest* confdefs.h
   1940 
   1941 printf '%s\n' "/* confdefs.h */" > confdefs.h
   1942 
   1943 # Predefined preprocessor variables.
   1944 
   1945 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1946 
   1947 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1948 
   1949 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1950 
   1951 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1952 
   1953 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1954 
   1955 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1956 
   1957 
   1958 # Let the site file select an alternate cache file if it wants to.
   1959 # Prefer an explicitly selected file to automatically selected ones.
   1960 if test -n "$CONFIG_SITE"; then
   1961   ac_site_files="$CONFIG_SITE"
   1962 elif test "x$prefix" != xNONE; then
   1963   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1964 else
   1965   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1966 fi
   1967 
   1968 for ac_site_file in $ac_site_files
   1969 do
   1970   case $ac_site_file in #(
   1971   */*) :
   1972      ;; #(
   1973   *) :
   1974     ac_site_file=./$ac_site_file ;;
   1975 esac
   1976   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1977     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1978 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   1979     sed 's/^/| /' "$ac_site_file" >&5
   1980     . "$ac_site_file" \
   1981       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1982 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   1983 as_fn_error $? "failed to load site script $ac_site_file
   1984 See 'config.log' for more details" "$LINENO" 5; }
   1985   fi
   1986 done
   1987 
   1988 if test -r "$cache_file"; then
   1989   # Some versions of bash will fail to source /dev/null (special files
   1990   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1991   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1992     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1993 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   1994     case $cache_file in
   1995       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1996       *)                      . "./$cache_file";;
   1997     esac
   1998   fi
   1999 else
   2000   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2001 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2002   >$cache_file
   2003 fi
   2004 
   2005 # Test code for whether the C compiler supports C23 (global declarations)
   2006 ac_c_conftest_c23_globals='
   2007 /* Does the compiler advertise conformance to C17 or earlier?
   2008    Although GCC 14 does not do that, even with -std=gnu23,
   2009    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2010 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2011 # error "Compiler advertises conformance to C17 or earlier"
   2012 #endif
   2013 
   2014 // Check alignas.
   2015 char alignas (double) c23_aligned_as_double;
   2016 char alignas (0) c23_no_special_alignment;
   2017 extern char c23_aligned_as_int;
   2018 char alignas (0) alignas (int) c23_aligned_as_int;
   2019 
   2020 // Check alignof.
   2021 enum
   2022 {
   2023   c23_int_alignment = alignof (int),
   2024   c23_int_array_alignment = alignof (int[100]),
   2025   c23_char_alignment = alignof (char)
   2026 };
   2027 static_assert (0 < -alignof (int), "alignof is signed");
   2028 
   2029 int function_with_unnamed_parameter (int) { return 0; }
   2030 
   2031 void c23_noreturn ();
   2032 
   2033 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2034    The parens pacify GCC 15.  */
   2035 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2036 
   2037 bool check_that_bool_works = true | false | !nullptr;
   2038 #if !true
   2039 # error "true does not work in #if"
   2040 #endif
   2041 #if false
   2042 #elifdef __STDC_VERSION__
   2043 #else
   2044 # error "#elifdef does not work"
   2045 #endif
   2046 
   2047 #ifndef __has_c_attribute
   2048 # error "__has_c_attribute not defined"
   2049 #endif
   2050 
   2051 #ifndef __has_include
   2052 # error "__has_include not defined"
   2053 #endif
   2054 
   2055 #define LPAREN() (
   2056 #define FORTY_TWO(x) 42
   2057 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2058 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2059 
   2060 static_assert (0b101010 == 42);
   2061 static_assert (0B101010 == 42);
   2062 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2063 static_assert (0.500'\''000'\''000 == 0.5);
   2064 
   2065 enum unsignedish : unsigned int { uione = 1 };
   2066 static_assert (0 < -uione);
   2067 
   2068 #include <stddef.h>
   2069 constexpr nullptr_t null_pointer = nullptr;
   2070 
   2071 static typeof (1 + 1L) two () { return 2; }
   2072 static long int three () { return 3; }
   2073 '
   2074 
   2075 # Test code for whether the C compiler supports C23 (body of main).
   2076 ac_c_conftest_c23_main='
   2077   {
   2078     label_before_declaration:
   2079       int arr[10] = {};
   2080       if (arr[0])
   2081         goto label_before_declaration;
   2082       if (!arr[0])
   2083         goto label_at_end_of_block;
   2084     label_at_end_of_block:
   2085   }
   2086   ok |= !null_pointer;
   2087   ok |= two != three;
   2088 '
   2089 
   2090 # Test code for whether the C compiler supports C23 (complete).
   2091 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2092 
   2093 int
   2094 main (int, char **)
   2095 {
   2096   int ok = 0;
   2097   ${ac_c_conftest_c23_main}
   2098   return ok;
   2099 }
   2100 "
   2101 
   2102 # Test code for whether the C compiler supports C89 (global declarations)
   2103 ac_c_conftest_c89_globals='
   2104 /* Do not test the value of __STDC__, because some compilers define it to 0
   2105    or do not define it, while otherwise adequately conforming.  */
   2106 
   2107 #include <stddef.h>
   2108 #include <stdarg.h>
   2109 struct stat;
   2110 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2111 struct buf { int x; };
   2112 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2113 static char *e (char **p, int i)
   2114 {
   2115   return p[i];
   2116 }
   2117 static char *f (char * (*g) (char **, int), char **p, ...)
   2118 {
   2119   char *s;
   2120   va_list v;
   2121   va_start (v,p);
   2122   s = g (p, va_arg (v,int));
   2123   va_end (v);
   2124   return s;
   2125 }
   2126 
   2127 /* C89 style stringification. */
   2128 #define noexpand_stringify(a) #a
   2129 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2130 
   2131 /* C89 style token pasting.  Exercises some of the corner cases that
   2132    e.g. old MSVC gets wrong, but not very hard. */
   2133 #define noexpand_concat(a,b) a##b
   2134 #define expand_concat(a,b) noexpand_concat(a,b)
   2135 extern int vA;
   2136 extern int vbee;
   2137 #define aye A
   2138 #define bee B
   2139 int *pvA = &expand_concat(v,aye);
   2140 int *pvbee = &noexpand_concat(v,bee);
   2141 
   2142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2143    function prototypes and stuff, but not \xHH hex character constants.
   2144    These do not provoke an error unfortunately, instead are silently treated
   2145    as an "x".  The following induces an error, until -std is added to get
   2146    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2147    array size at least.  It is necessary to write \x00 == 0 to get something
   2148    that is true only with -std.  */
   2149 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2150 
   2151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2152    inside strings and character constants.  */
   2153 #define FOO(x) '\''x'\''
   2154 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2155 
   2156 int test (int i, double x);
   2157 struct s1 {int (*f) (int a);};
   2158 struct s2 {int (*f) (double a);};
   2159 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2160                int, int);'
   2161 
   2162 # Test code for whether the C compiler supports C89 (body of main).
   2163 ac_c_conftest_c89_main='
   2164 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2165 '
   2166 
   2167 # Test code for whether the C compiler supports C99 (global declarations)
   2168 ac_c_conftest_c99_globals='
   2169 /* Does the compiler advertise C99 conformance? */
   2170 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2171 # error "Compiler does not advertise C99 conformance"
   2172 #endif
   2173 
   2174 // See if C++-style comments work.
   2175 
   2176 #include <stdbool.h>
   2177 extern int puts (const char *);
   2178 extern int printf (const char *, ...);
   2179 extern int dprintf (int, const char *, ...);
   2180 extern void *malloc (size_t);
   2181 extern void free (void *);
   2182 
   2183 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2184 // dprintf is used instead of fprintf to avoid needing to declare
   2185 // FILE and stderr, and "aND" is used instead of "and" to work around
   2186 // GCC bug 40564 which is irrelevant here.
   2187 #define debug(...) dprintf (2, __VA_ARGS__)
   2188 #define showlist(...) puts (#__VA_ARGS__)
   2189 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2190 static void
   2191 test_varargs_macros (void)
   2192 {
   2193   int x = 1234;
   2194   int y = 5678;
   2195   debug ("Flag");
   2196   debug ("X = %d\n", x);
   2197   showlist (The first, second, aND third items.);
   2198   report (x>y, "x is %d but y is %d", x, y);
   2199 }
   2200 
   2201 // Check long long types.
   2202 #define BIG64 18446744073709551615ull
   2203 #define BIG32 4294967295ul
   2204 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2205 #if !BIG_OK
   2206   #error "your preprocessor is broken"
   2207 #endif
   2208 #if BIG_OK
   2209 #else
   2210   #error "your preprocessor is broken"
   2211 #endif
   2212 static long long int bignum = -9223372036854775807LL;
   2213 static unsigned long long int ubignum = BIG64;
   2214 
   2215 struct incomplete_array
   2216 {
   2217   int datasize;
   2218   double data[];
   2219 };
   2220 
   2221 struct named_init {
   2222   int number;
   2223   const wchar_t *name;
   2224   double average;
   2225 };
   2226 
   2227 typedef const char *ccp;
   2228 
   2229 static inline int
   2230 test_restrict (ccp restrict text)
   2231 {
   2232   // Iterate through items via the restricted pointer.
   2233   // Also check for declarations in for loops.
   2234   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2235     continue;
   2236   return 0;
   2237 }
   2238 
   2239 // Check varargs and va_copy.
   2240 static bool
   2241 test_varargs (const char *format, ...)
   2242 {
   2243   va_list args;
   2244   va_start (args, format);
   2245   va_list args_copy;
   2246   va_copy (args_copy, args);
   2247 
   2248   const char *str = "";
   2249   int number = 0;
   2250   float fnumber = 0;
   2251 
   2252   while (*format)
   2253     {
   2254       switch (*format++)
   2255 	{
   2256 	case '\''s'\'': // string
   2257 	  str = va_arg (args_copy, const char *);
   2258 	  break;
   2259 	case '\''d'\'': // int
   2260 	  number = va_arg (args_copy, int);
   2261 	  break;
   2262 	case '\''f'\'': // float
   2263 	  fnumber = va_arg (args_copy, double);
   2264 	  break;
   2265 	default:
   2266 	  break;
   2267 	}
   2268     }
   2269   va_end (args_copy);
   2270   va_end (args);
   2271 
   2272   return *str && number && fnumber;
   2273 }
   2274 '
   2275 
   2276 # Test code for whether the C compiler supports C99 (body of main).
   2277 ac_c_conftest_c99_main='
   2278   // Check bool.
   2279   _Bool success = false;
   2280   success |= (argc != 0);
   2281 
   2282   // Check restrict.
   2283   if (test_restrict ("String literal") == 0)
   2284     success = true;
   2285   const char *restrict newvar = "Another string";
   2286 
   2287   // Check varargs.
   2288   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2289   test_varargs_macros ();
   2290 
   2291   // Check flexible array members.
   2292   static struct incomplete_array *volatile incomplete_array_pointer;
   2293   struct incomplete_array *ia = incomplete_array_pointer;
   2294   ia->datasize = 10;
   2295   for (int i = 0; i < ia->datasize; ++i)
   2296     ia->data[i] = i * 1.234;
   2297   // Work around memory leak warnings.
   2298   free (ia);
   2299 
   2300   // Check named initializers.
   2301   struct named_init ni = {
   2302     .number = 34,
   2303     .name = L"Test wide string",
   2304     .average = 543.34343,
   2305   };
   2306 
   2307   ni.number = 58;
   2308 
   2309   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2310   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2311 
   2312   // work around unused variable warnings
   2313   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2314 	 || ni.number != 58);
   2315 '
   2316 
   2317 # Test code for whether the C compiler supports C11 (global declarations)
   2318 ac_c_conftest_c11_globals='
   2319 /* Does the compiler advertise C11 conformance? */
   2320 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2321 # error "Compiler does not advertise C11 conformance"
   2322 #endif
   2323 
   2324 // Check _Alignas.
   2325 char _Alignas (double) aligned_as_double;
   2326 char _Alignas (0) no_special_alignment;
   2327 extern char aligned_as_int;
   2328 char _Alignas (0) _Alignas (int) aligned_as_int;
   2329 
   2330 // Check _Alignof.
   2331 enum
   2332 {
   2333   int_alignment = _Alignof (int),
   2334   int_array_alignment = _Alignof (int[100]),
   2335   char_alignment = _Alignof (char)
   2336 };
   2337 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2338 
   2339 // Check _Noreturn.
   2340 int _Noreturn does_not_return (void) { for (;;) continue; }
   2341 
   2342 // Check _Static_assert.
   2343 struct test_static_assert
   2344 {
   2345   int x;
   2346   _Static_assert (sizeof (int) <= sizeof (long int),
   2347                   "_Static_assert does not work in struct");
   2348   long int y;
   2349 };
   2350 
   2351 // Check UTF-8 literals.
   2352 #define u8 syntax error!
   2353 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2354 
   2355 // Check duplicate typedefs.
   2356 typedef long *long_ptr;
   2357 typedef long int *long_ptr;
   2358 typedef long_ptr long_ptr;
   2359 
   2360 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2361 struct anonymous
   2362 {
   2363   union {
   2364     struct { int i; int j; };
   2365     struct { int k; long int l; } w;
   2366   };
   2367   int m;
   2368 } v1;
   2369 '
   2370 
   2371 # Test code for whether the C compiler supports C11 (body of main).
   2372 ac_c_conftest_c11_main='
   2373   _Static_assert ((offsetof (struct anonymous, i)
   2374 		   == offsetof (struct anonymous, w.k)),
   2375 		  "Anonymous union alignment botch");
   2376   v1.i = 2;
   2377   v1.w.k = 5;
   2378   ok |= v1.i != 5;
   2379 '
   2380 
   2381 # Test code for whether the C compiler supports C11 (complete).
   2382 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2383 ${ac_c_conftest_c99_globals}
   2384 ${ac_c_conftest_c11_globals}
   2385 
   2386 int
   2387 main (int argc, char **argv)
   2388 {
   2389   int ok = 0;
   2390   ${ac_c_conftest_c89_main}
   2391   ${ac_c_conftest_c99_main}
   2392   ${ac_c_conftest_c11_main}
   2393   return ok;
   2394 }
   2395 "
   2396 
   2397 # Test code for whether the C compiler supports C99 (complete).
   2398 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2399 ${ac_c_conftest_c99_globals}
   2400 
   2401 int
   2402 main (int argc, char **argv)
   2403 {
   2404   int ok = 0;
   2405   ${ac_c_conftest_c89_main}
   2406   ${ac_c_conftest_c99_main}
   2407   return ok;
   2408 }
   2409 "
   2410 
   2411 # Test code for whether the C compiler supports C89 (complete).
   2412 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2413 
   2414 int
   2415 main (int argc, char **argv)
   2416 {
   2417   int ok = 0;
   2418   ${ac_c_conftest_c89_main}
   2419   return ok;
   2420 }
   2421 "
   2422 
   2423 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2424 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2425 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2426 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2427 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2428 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2429 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2430 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2431 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2432 
   2433 # Auxiliary files required by this configure script.
   2434 ac_aux_files="config.guess config.sub compile missing install-sh"
   2435 
   2436 # Locations in which to look for auxiliary files.
   2437 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2438 
   2439 # Search for a directory containing all of the required auxiliary files,
   2440 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2441 # If we don't find one directory that contains all the files we need,
   2442 # we report the set of missing files from the *first* directory in
   2443 # $ac_aux_dir_candidates and give up.
   2444 ac_missing_aux_files=""
   2445 ac_first_candidate=:
   2446 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 as_found=false
   2449 for as_dir in $ac_aux_dir_candidates
   2450 do
   2451   IFS=$as_save_IFS
   2452   case $as_dir in #(((
   2453     '') as_dir=./ ;;
   2454     */) ;;
   2455     *) as_dir=$as_dir/ ;;
   2456   esac
   2457   as_found=:
   2458 
   2459   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2460   ac_aux_dir_found=yes
   2461   ac_install_sh=
   2462   for ac_aux in $ac_aux_files
   2463   do
   2464     # As a special case, if "install-sh" is required, that requirement
   2465     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2466     # and $ac_install_sh is set appropriately for whichever one is found.
   2467     if test x"$ac_aux" = x"install-sh"
   2468     then
   2469       if test -f "${as_dir}install-sh"; then
   2470         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2471         ac_install_sh="${as_dir}install-sh -c"
   2472       elif test -f "${as_dir}install.sh"; then
   2473         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2474         ac_install_sh="${as_dir}install.sh -c"
   2475       elif test -f "${as_dir}shtool"; then
   2476         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2477         ac_install_sh="${as_dir}shtool install -c"
   2478       else
   2479         ac_aux_dir_found=no
   2480         if $ac_first_candidate; then
   2481           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2482         else
   2483           break
   2484         fi
   2485       fi
   2486     else
   2487       if test -f "${as_dir}${ac_aux}"; then
   2488         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2489       else
   2490         ac_aux_dir_found=no
   2491         if $ac_first_candidate; then
   2492           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2493         else
   2494           break
   2495         fi
   2496       fi
   2497     fi
   2498   done
   2499   if test "$ac_aux_dir_found" = yes; then
   2500     ac_aux_dir="$as_dir"
   2501     break
   2502   fi
   2503   ac_first_candidate=false
   2504 
   2505   as_found=false
   2506 done
   2507 IFS=$as_save_IFS
   2508 if $as_found
   2509 then :
   2510 
   2511 else case e in #(
   2512   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2513 esac
   2514 fi
   2515 
   2516 
   2517 # These three variables are undocumented and unsupported,
   2518 # and are intended to be withdrawn in a future Autoconf release.
   2519 # They can cause serious problems if a builder's source tree is in a directory
   2520 # whose full name contains unusual characters.
   2521 if test -f "${ac_aux_dir}config.guess"; then
   2522   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2523 fi
   2524 if test -f "${ac_aux_dir}config.sub"; then
   2525   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2526 fi
   2527 if test -f "$ac_aux_dir/configure"; then
   2528   ac_configure="$SHELL ${ac_aux_dir}configure"
   2529 fi
   2530 
   2531 # Check that the precious variables saved in the cache have kept the same
   2532 # value.
   2533 ac_cache_corrupted=false
   2534 for ac_var in $ac_precious_vars; do
   2535   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2536   eval ac_new_set=\$ac_env_${ac_var}_set
   2537   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2538   eval ac_new_val=\$ac_env_${ac_var}_value
   2539   case $ac_old_set,$ac_new_set in
   2540     set,)
   2541       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2542 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2543       ac_cache_corrupted=: ;;
   2544     ,set)
   2545       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2546 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2547       ac_cache_corrupted=: ;;
   2548     ,);;
   2549     *)
   2550       if test "x$ac_old_val" != "x$ac_new_val"; then
   2551 	# differences in whitespace do not lead to failure.
   2552 	ac_old_val_w=
   2553 	for ac_val in x $ac_old_val; do
   2554 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2555 	done
   2556 	ac_new_val_w=
   2557 	for ac_val in x $ac_new_val; do
   2558 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2559 	done
   2560 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2561 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2562 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2563 	  ac_cache_corrupted=:
   2564 	else
   2565 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2566 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2567 	  eval $ac_var=\$ac_old_val
   2568 	fi
   2569 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2570 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2571 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2572 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2573       fi;;
   2574   esac
   2575   # Pass precious variables to config.status.
   2576   if test "$ac_new_set" = set; then
   2577     case $ac_new_val in
   2578     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2579     *) ac_arg=$ac_var=$ac_new_val ;;
   2580     esac
   2581     case " $ac_configure_args " in
   2582       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2583       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2584     esac
   2585   fi
   2586 done
   2587 if $ac_cache_corrupted; then
   2588   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2589 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2590   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2591 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2592   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2593 	    and start over" "$LINENO" 5
   2594 fi
   2595 ## -------------------- ##
   2596 ## Main body of script. ##
   2597 ## -------------------- ##
   2598 
   2599 
   2600 # Determine whether it's possible to make 'echo' print without a newline.
   2601 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2602 # for compatibility with existing Makefiles.
   2603 ECHO_C= ECHO_N= ECHO_T=
   2604 case `echo -n x` in #(((((
   2605 -n*)
   2606   case `echo 'xy\c'` in
   2607   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2608   xy)  ECHO_C='\c';;
   2609   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2610        ECHO_T='	';;
   2611   esac;;
   2612 *)
   2613   ECHO_N='-n';;
   2614 esac
   2615 
   2616 ac_ext=c
   2617 ac_cpp='$CPP $CPPFLAGS'
   2618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2621 
   2622 
   2623 
   2624 ac_config_headers="$ac_config_headers config.h"
   2625 
   2626 
   2627 # Initialize Automake
   2628 am__api_version='1.18'
   2629 
   2630 
   2631 
   2632   # Find a good install program.  We prefer a C program (faster),
   2633 # so one script is as good as another.  But avoid the broken or
   2634 # incompatible versions:
   2635 # SysV /etc/install, /usr/sbin/install
   2636 # SunOS /usr/etc/install
   2637 # IRIX /sbin/install
   2638 # AIX /bin/install
   2639 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2640 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2641 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2642 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2643 # OS/2's system install, which has a completely different semantic
   2644 # ./install, which can be erroneously created by make from ./install.sh.
   2645 # Reject install programs that cannot install multiple files.
   2646 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2647 printf %s "checking for a BSD-compatible install... " >&6; }
   2648 if test -z "$INSTALL"; then
   2649 if test ${ac_cv_path_install+y}
   2650 then :
   2651   printf %s "(cached) " >&6
   2652 else case e in #(
   2653   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2654 for as_dir in $PATH
   2655 do
   2656   IFS=$as_save_IFS
   2657   case $as_dir in #(((
   2658     '') as_dir=./ ;;
   2659     */) ;;
   2660     *) as_dir=$as_dir/ ;;
   2661   esac
   2662     # Account for fact that we put trailing slashes in our PATH walk.
   2663 case $as_dir in #((
   2664   ./ | /[cC]/* | \
   2665   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2666   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2667   /usr/ucb/* ) ;;
   2668   *)
   2669     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2670     # Don't use installbsd from OSF/1 since it installs stuff as root
   2671     # by default.
   2672     for ac_prog in ginstall scoinst install; do
   2673       for ac_exec_ext in '' $ac_executable_extensions; do
   2674 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2675 	  if test $ac_prog = install &&
   2676 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2677 	    # AIX install.  It has an incompatible calling convention.
   2678 	    :
   2679 	  elif test $ac_prog = install &&
   2680 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2681 	    # program-specific install script used by HP pwplus--don't use.
   2682 	    :
   2683 	  else
   2684 	    rm -rf conftest.one conftest.two conftest.dir
   2685 	    echo one > conftest.one
   2686 	    echo two > conftest.two
   2687 	    mkdir conftest.dir
   2688 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2689 	      test -s conftest.one && test -s conftest.two &&
   2690 	      test -s conftest.dir/conftest.one &&
   2691 	      test -s conftest.dir/conftest.two
   2692 	    then
   2693 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2694 	      break 3
   2695 	    fi
   2696 	  fi
   2697 	fi
   2698       done
   2699     done
   2700     ;;
   2701 esac
   2702 
   2703   done
   2704 IFS=$as_save_IFS
   2705 
   2706 rm -rf conftest.one conftest.two conftest.dir
   2707  ;;
   2708 esac
   2709 fi
   2710   if test ${ac_cv_path_install+y}; then
   2711     INSTALL=$ac_cv_path_install
   2712   else
   2713     # As a last resort, use the slow shell script.  Don't cache a
   2714     # value for INSTALL within a source directory, because that will
   2715     # break other packages using the cache if that directory is
   2716     # removed, or if the value is a relative name.
   2717     INSTALL=$ac_install_sh
   2718   fi
   2719 fi
   2720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2721 printf '%s\n' "$INSTALL" >&6; }
   2722 
   2723 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2724 # It thinks the first close brace ends the variable substitution.
   2725 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2726 
   2727 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2728 
   2729 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2730 
   2731 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2732 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2733 if test ${am_cv_sleep_fractional_seconds+y}
   2734 then :
   2735   printf %s "(cached) " >&6
   2736 else case e in #(
   2737   e) if sleep 0.001 2>/dev/null
   2738 then :
   2739   am_cv_sleep_fractional_seconds=yes
   2740 else case e in #(
   2741   e) am_cv_sleep_fractional_seconds=no ;;
   2742 esac
   2743 fi
   2744  ;;
   2745 esac
   2746 fi
   2747 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2748 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2749 
   2750 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2751 printf %s "checking filesystem timestamp resolution... " >&6; }
   2752 if test ${am_cv_filesystem_timestamp_resolution+y}
   2753 then :
   2754   printf %s "(cached) " >&6
   2755 else case e in #(
   2756   e) # Default to the worst case.
   2757 am_cv_filesystem_timestamp_resolution=2
   2758 
   2759 # Only try to go finer than 1 sec if sleep can do it.
   2760 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2761 # - 1 sec is not much of a win compared to 2 sec, and
   2762 # - it takes 2 seconds to perform the test whether 1 sec works.
   2763 #
   2764 # Instead, just use the default 2s on platforms that have 1s resolution,
   2765 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2766 # exchange for not incurring the 2s delay for running the test for all
   2767 # packages.
   2768 #
   2769 am_try_resolutions=
   2770 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2771   # Even a millisecond often causes a bunch of false positives,
   2772   # so just try a hundredth of a second. The time saved between .001 and
   2773   # .01 is not terribly consequential.
   2774   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2775 fi
   2776 
   2777 # In order to catch current-generation FAT out, we must *modify* files
   2778 # that already exist; the *creation* timestamp is finer.  Use names
   2779 # that make ls -t sort them differently when they have equal
   2780 # timestamps than when they have distinct timestamps, keeping
   2781 # in mind that ls -t prints the *newest* file first.
   2782 rm -f conftest.ts?
   2783 : > conftest.ts1
   2784 : > conftest.ts2
   2785 : > conftest.ts3
   2786 
   2787 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2788 # clobber the current shell's arguments. (Outer-level square brackets
   2789 # are removed by m4; they're present so that m4 does not expand
   2790 # <dollar><star>; be careful, easy to get confused.)
   2791 if (
   2792      set X `ls -t conftest.ts[12]` &&
   2793      {
   2794        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2795        test "$*" != "X conftest.ts2 conftest.ts1";
   2796      }
   2797 ); then :; else
   2798   # If neither matched, then we have a broken ls.  This can happen
   2799   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2800   # broken ls alias from the environment.  This has actually
   2801   # happened.  Such a system could not be considered "sane".
   2802   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2803   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2804 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2805 as_fn_error $? "ls -t produces unexpected output.
   2806 Make sure there is not a broken ls alias in your environment.
   2807 See 'config.log' for more details" "$LINENO" 5; }
   2808 fi
   2809 
   2810 for am_try_res in $am_try_resolutions; do
   2811   # Any one fine-grained sleep might happen to cross the boundary
   2812   # between two values of a coarser actual resolution, but if we do
   2813   # two fine-grained sleeps in a row, at least one of them will fall
   2814   # entirely within a coarse interval.
   2815   echo alpha > conftest.ts1
   2816   sleep $am_try_res
   2817   echo beta > conftest.ts2
   2818   sleep $am_try_res
   2819   echo gamma > conftest.ts3
   2820 
   2821   # We assume that 'ls -t' will make use of high-resolution
   2822   # timestamps if the operating system supports them at all.
   2823   if (set X `ls -t conftest.ts?` &&
   2824       test "$2" = conftest.ts3 &&
   2825       test "$3" = conftest.ts2 &&
   2826       test "$4" = conftest.ts1); then
   2827     #
   2828     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2829     # because we don't need to test make.
   2830     make_ok=true
   2831     if test $am_try_res != 1; then
   2832       # But if we've succeeded so far with a subsecond resolution, we
   2833       # have one more thing to check: make. It can happen that
   2834       # everything else supports the subsecond mtimes, but make doesn't;
   2835       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2836       # released under GPLv2). https://bugs.gnu.org/68808
   2837       #
   2838       # We test $MAKE if it is defined in the environment, else "make".
   2839       # It might get overridden later, but our hope is that in practice
   2840       # it does not matter: it is the system "make" which is (by far)
   2841       # the most likely to be broken, whereas if the user overrides it,
   2842       # probably they did so with a better, or at least not worse, make.
   2843       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2844       #
   2845       # Create a Makefile (real tab character here):
   2846       rm -f conftest.mk
   2847       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2848       echo '	touch conftest.ts2' >>conftest.mk
   2849       #
   2850       # Now, running
   2851       #   touch conftest.ts1; touch conftest.ts2; make
   2852       # should touch ts1 because ts2 is newer. This could happen by luck,
   2853       # but most often, it will fail if make's support is insufficient. So
   2854       # test for several consecutive successes.
   2855       #
   2856       # (We reuse conftest.ts[12] because we still want to modify existing
   2857       # files, not create new ones, per above.)
   2858       n=0
   2859       make=${MAKE-make}
   2860       until test $n -eq 3; do
   2861         echo one > conftest.ts1
   2862         sleep $am_try_res
   2863         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2864         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2865           make_ok=false
   2866           break # out of $n loop
   2867         fi
   2868         n=`expr $n + 1`
   2869       done
   2870     fi
   2871     #
   2872     if $make_ok; then
   2873       # Everything we know to check worked out, so call this resolution good.
   2874       am_cv_filesystem_timestamp_resolution=$am_try_res
   2875       break # out of $am_try_res loop
   2876     fi
   2877     # Otherwise, we'll go on to check the next resolution.
   2878   fi
   2879 done
   2880 rm -f conftest.ts?
   2881 # (end _am_filesystem_timestamp_resolution)
   2882  ;;
   2883 esac
   2884 fi
   2885 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2886 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   2887 
   2888 # This check should not be cached, as it may vary across builds of
   2889 # different projects.
   2890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2891 printf %s "checking whether build environment is sane... " >&6; }
   2892 # Reject unsafe characters in $srcdir or the absolute working directory
   2893 # name.  Accept space and tab only in the latter.
   2894 am_lf='
   2895 '
   2896 case `pwd` in
   2897   *[\\\"\#\$\&\'\`$am_lf]*)
   2898     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2899 printf '%s\n' "no" >&6; }
   2900     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2901 esac
   2902 case $srcdir in
   2903   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2904     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 printf '%s\n' "no" >&6; }
   2906     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2907 esac
   2908 
   2909 # Do 'set' in a subshell so we don't clobber the current shell's
   2910 # arguments.  Must try -L first in case configure is actually a
   2911 # symlink; some systems play weird games with the mod time of symlinks
   2912 # (eg FreeBSD returns the mod time of the symlink's containing
   2913 # directory).
   2914 am_build_env_is_sane=no
   2915 am_has_slept=no
   2916 rm -f conftest.file
   2917 for am_try in 1 2; do
   2918   echo "timestamp, slept: $am_has_slept" > conftest.file
   2919   if (
   2920     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2921     if test "$*" = "X"; then
   2922       # -L didn't work.
   2923       set X `ls -t "$srcdir/configure" conftest.file`
   2924     fi
   2925     test "$2" = conftest.file
   2926   ); then
   2927     am_build_env_is_sane=yes
   2928     break
   2929   fi
   2930   # Just in case.
   2931   sleep "$am_cv_filesystem_timestamp_resolution"
   2932   am_has_slept=yes
   2933 done
   2934 
   2935 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2936 printf '%s\n' "$am_build_env_is_sane" >&6; }
   2937 if test "$am_build_env_is_sane" = no; then
   2938   as_fn_error $? "newly created file is older than distributed files!
   2939 Check your system clock" "$LINENO" 5
   2940 fi
   2941 
   2942 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2943 # generated files are strictly newer.
   2944 am_sleep_pid=
   2945 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2946 then :
   2947 
   2948 else case e in #(
   2949   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2950   am_sleep_pid=$!
   2951  ;;
   2952 esac
   2953 fi
   2954 
   2955 rm -f conftest.file
   2956 
   2957 test "$program_prefix" != NONE &&
   2958   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2959 # Use a double $ so make ignores it.
   2960 test "$program_suffix" != NONE &&
   2961   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2962 # Double any \ or $.
   2963 # By default was 's,x,x', remove it if useless.
   2964 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2965 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   2966 
   2967 
   2968 # Expand $ac_aux_dir to an absolute path.
   2969 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2970 
   2971 
   2972   if test x"${MISSING+set}" != xset; then
   2973   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2974 fi
   2975 # Use eval to expand $SHELL
   2976 if eval "$MISSING --is-lightweight"; then
   2977   am_missing_run="$MISSING "
   2978 else
   2979   am_missing_run=
   2980   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2981 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2982 fi
   2983 
   2984 if test x"${install_sh+set}" != xset; then
   2985   case $am_aux_dir in
   2986   *\ * | *\	*)
   2987     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2988   *)
   2989     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2990   esac
   2991 fi
   2992 
   2993 # Installed binaries are usually stripped using 'strip' when the user
   2994 # run "make install-strip".  However 'strip' might not be the right
   2995 # tool to use in cross-compilation environments, therefore Automake
   2996 # will honor the 'STRIP' environment variable to overrule this program.
   2997 if test "$cross_compiling" != no; then
   2998   if test -n "$ac_tool_prefix"; then
   2999   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3000 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3001 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3002 printf %s "checking for $ac_word... " >&6; }
   3003 if test ${ac_cv_prog_STRIP+y}
   3004 then :
   3005   printf %s "(cached) " >&6
   3006 else case e in #(
   3007   e) if test -n "$STRIP"; then
   3008   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3009 else
   3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3011 for as_dir in $PATH
   3012 do
   3013   IFS=$as_save_IFS
   3014   case $as_dir in #(((
   3015     '') as_dir=./ ;;
   3016     */) ;;
   3017     *) as_dir=$as_dir/ ;;
   3018   esac
   3019     for ac_exec_ext in '' $ac_executable_extensions; do
   3020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3021     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3022     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3023     break 2
   3024   fi
   3025 done
   3026   done
   3027 IFS=$as_save_IFS
   3028 
   3029 fi ;;
   3030 esac
   3031 fi
   3032 STRIP=$ac_cv_prog_STRIP
   3033 if test -n "$STRIP"; then
   3034   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3035 printf '%s\n' "$STRIP" >&6; }
   3036 else
   3037   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 printf '%s\n' "no" >&6; }
   3039 fi
   3040 
   3041 
   3042 fi
   3043 if test -z "$ac_cv_prog_STRIP"; then
   3044   ac_ct_STRIP=$STRIP
   3045   # Extract the first word of "strip", so it can be a program name with args.
   3046 set dummy strip; ac_word=$2
   3047 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 printf %s "checking for $ac_word... " >&6; }
   3049 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3050 then :
   3051   printf %s "(cached) " >&6
   3052 else case e in #(
   3053   e) if test -n "$ac_ct_STRIP"; then
   3054   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3055 else
   3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3057 for as_dir in $PATH
   3058 do
   3059   IFS=$as_save_IFS
   3060   case $as_dir in #(((
   3061     '') as_dir=./ ;;
   3062     */) ;;
   3063     *) as_dir=$as_dir/ ;;
   3064   esac
   3065     for ac_exec_ext in '' $ac_executable_extensions; do
   3066   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3067     ac_cv_prog_ac_ct_STRIP="strip"
   3068     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3069     break 2
   3070   fi
   3071 done
   3072   done
   3073 IFS=$as_save_IFS
   3074 
   3075 fi ;;
   3076 esac
   3077 fi
   3078 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3079 if test -n "$ac_ct_STRIP"; then
   3080   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3081 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3082 else
   3083   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3084 printf '%s\n' "no" >&6; }
   3085 fi
   3086 
   3087   if test "x$ac_ct_STRIP" = x; then
   3088     STRIP=":"
   3089   else
   3090     case $cross_compiling:$ac_tool_warned in
   3091 yes:)
   3092 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3093 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3094 ac_tool_warned=yes ;;
   3095 esac
   3096     STRIP=$ac_ct_STRIP
   3097   fi
   3098 else
   3099   STRIP="$ac_cv_prog_STRIP"
   3100 fi
   3101 
   3102 fi
   3103 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3104 
   3105 
   3106   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3107 printf %s "checking for a race-free mkdir -p... " >&6; }
   3108 if test -z "$MKDIR_P"; then
   3109   if test ${ac_cv_path_mkdir+y}
   3110 then :
   3111   printf %s "(cached) " >&6
   3112 else case e in #(
   3113   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3114 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3115 do
   3116   IFS=$as_save_IFS
   3117   case $as_dir in #(((
   3118     '') as_dir=./ ;;
   3119     */) ;;
   3120     *) as_dir=$as_dir/ ;;
   3121   esac
   3122     for ac_prog in mkdir gmkdir; do
   3123 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3124 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3125 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3126 	     'mkdir ('*'coreutils) '* | \
   3127 	     *'BusyBox '* | \
   3128 	     'mkdir (fileutils) '4.1*)
   3129 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3130 	       break 3;;
   3131 	   esac
   3132 	 done
   3133        done
   3134   done
   3135 IFS=$as_save_IFS
   3136  ;;
   3137 esac
   3138 fi
   3139 
   3140   test -d ./--version && rmdir ./--version
   3141   if test ${ac_cv_path_mkdir+y}; then
   3142     MKDIR_P="$ac_cv_path_mkdir -p"
   3143   else
   3144     # As a last resort, use plain mkdir -p,
   3145     # in the hope it doesn't have the bugs of ancient mkdir.
   3146     MKDIR_P='mkdir -p'
   3147   fi
   3148 fi
   3149 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3150 printf '%s\n' "$MKDIR_P" >&6; }
   3151 
   3152 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3153 do
   3154   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3155 set dummy $ac_prog; ac_word=$2
   3156 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3157 printf %s "checking for $ac_word... " >&6; }
   3158 if test ${ac_cv_prog_AWK+y}
   3159 then :
   3160   printf %s "(cached) " >&6
   3161 else case e in #(
   3162   e) if test -n "$AWK"; then
   3163   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3164 else
   3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3166 for as_dir in $PATH
   3167 do
   3168   IFS=$as_save_IFS
   3169   case $as_dir in #(((
   3170     '') as_dir=./ ;;
   3171     */) ;;
   3172     *) as_dir=$as_dir/ ;;
   3173   esac
   3174     for ac_exec_ext in '' $ac_executable_extensions; do
   3175   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3176     ac_cv_prog_AWK="$ac_prog"
   3177     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3178     break 2
   3179   fi
   3180 done
   3181   done
   3182 IFS=$as_save_IFS
   3183 
   3184 fi ;;
   3185 esac
   3186 fi
   3187 AWK=$ac_cv_prog_AWK
   3188 if test -n "$AWK"; then
   3189   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3190 printf '%s\n' "$AWK" >&6; }
   3191 else
   3192   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3193 printf '%s\n' "no" >&6; }
   3194 fi
   3195 
   3196 
   3197   test -n "$AWK" && break
   3198 done
   3199 
   3200 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3201 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3202 set x ${MAKE-make}
   3203 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3204 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3205 then :
   3206   printf %s "(cached) " >&6
   3207 else case e in #(
   3208   e) cat >conftest.make <<\_ACEOF
   3209 SHELL = /bin/sh
   3210 all:
   3211 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3212 _ACEOF
   3213 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3214 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3215   *@@@%%%=?*=@@@%%%*)
   3216     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3217   *)
   3218     eval ac_cv_prog_make_${ac_make}_set=no;;
   3219 esac
   3220 rm -f conftest.make ;;
   3221 esac
   3222 fi
   3223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3224   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3225 printf '%s\n' "yes" >&6; }
   3226   SET_MAKE=
   3227 else
   3228   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3229 printf '%s\n' "no" >&6; }
   3230   SET_MAKE="MAKE=${MAKE-make}"
   3231 fi
   3232 
   3233 rm -rf .tst 2>/dev/null
   3234 mkdir .tst 2>/dev/null
   3235 if test -d .tst; then
   3236   am__leading_dot=.
   3237 else
   3238   am__leading_dot=_
   3239 fi
   3240 rmdir .tst 2>/dev/null
   3241 
   3242 AM_DEFAULT_VERBOSITY=1
   3243 # Check whether --enable-silent-rules was given.
   3244 if test ${enable_silent_rules+y}
   3245 then :
   3246   enableval=$enable_silent_rules;
   3247 fi
   3248 
   3249 am_make=${MAKE-make}
   3250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3251 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3252 if test ${am_cv_make_support_nested_variables+y}
   3253 then :
   3254   printf %s "(cached) " >&6
   3255 else case e in #(
   3256   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3257 BAR0=false
   3258 BAR1=true
   3259 V=1
   3260 am__doit:
   3261 	@$(TRUE)
   3262 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3263   am_cv_make_support_nested_variables=yes
   3264 else
   3265   am_cv_make_support_nested_variables=no
   3266 fi ;;
   3267 esac
   3268 fi
   3269 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3270 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3271 AM_BACKSLASH='\'
   3272 
   3273 am__rm_f_notfound=
   3274 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3275 then :
   3276 
   3277 else case e in #(
   3278   e) am__rm_f_notfound='""' ;;
   3279 esac
   3280 fi
   3281 
   3282 
   3283 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3284 printf %s "checking xargs -n works... " >&6; }
   3285 if test ${am_cv_xargs_n_works+y}
   3286 then :
   3287   printf %s "(cached) " >&6
   3288 else case e in #(
   3289   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3290 3"
   3291 then :
   3292   am_cv_xargs_n_works=yes
   3293 else case e in #(
   3294   e) am_cv_xargs_n_works=no ;;
   3295 esac
   3296 fi ;;
   3297 esac
   3298 fi
   3299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3300 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3301 if test "$am_cv_xargs_n_works" = yes
   3302 then :
   3303   am__xargs_n='xargs -n'
   3304 else case e in #(
   3305   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3306  ;;
   3307 esac
   3308 fi
   3309 
   3310 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3311   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3312   # is not polluted with repeated "-I."
   3313   am__isrc=' -I$(srcdir)'
   3314   # test to see if srcdir already configured
   3315   if test -f $srcdir/config.status; then
   3316     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3317   fi
   3318 fi
   3319 
   3320 # test whether we have cygpath
   3321 if test -z "$CYGPATH_W"; then
   3322   if (cygpath --version) >/dev/null 2>/dev/null; then
   3323     CYGPATH_W='cygpath -w'
   3324   else
   3325     CYGPATH_W=echo
   3326   fi
   3327 fi
   3328 
   3329 
   3330 # Define the identity of the package.
   3331  PACKAGE='listres'
   3332  VERSION='1.0.7'
   3333 
   3334 
   3335 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3336 
   3337 
   3338 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3339 
   3340 # Some tools Automake needs.
   3341 
   3342 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3343 
   3344 
   3345 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3346 
   3347 
   3348 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3349 
   3350 
   3351 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3352 
   3353 
   3354 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3355 
   3356 # For better backward compatibility.  To be removed once Automake 1.9.x
   3357 # dies out for good.  For more background, see:
   3358 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3359 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3360 mkdir_p='$(MKDIR_P)'
   3361 
   3362 # We need awk for the "check" target (and possibly the TAP driver).  The
   3363 # system "awk" is bad on some platforms.
   3364 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3365 # in the wild :-(  We should find a proper way to deprecate it ...
   3366 AMTAR='$${TAR-tar}'
   3367 
   3368 
   3369 # We'll loop over all known methods to create a tar archive until one works.
   3370 _am_tools='gnutar plaintar pax cpio none'
   3371 
   3372 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3373       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3374       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3375       # and bug#13588).
   3376       am_max_uid=2097151 # 2^21 - 1
   3377       am_max_gid=$am_max_uid
   3378       # The $UID and $GID variables are not portable, so we need to resort
   3379       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3380       # below are definitely unexpected, so allow the users to see them
   3381       # (that is, avoid stderr redirection).
   3382       am_uid=`id -u || echo unknown`
   3383       am_gid=`id -g || echo unknown`
   3384       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3385 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3386       if test x$am_uid = xunknown; then
   3387         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3388 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3389       elif test $am_uid -le $am_max_uid; then
   3390         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3391 printf '%s\n' "yes" >&6; }
   3392       else
   3393         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3394 printf '%s\n' "no" >&6; }
   3395         _am_tools=none
   3396       fi
   3397       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3398 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3399       if test x$gm_gid = xunknown; then
   3400         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3401 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3402       elif test $am_gid -le $am_max_gid; then
   3403         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3404 printf '%s\n' "yes" >&6; }
   3405       else
   3406         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3407 printf '%s\n' "no" >&6; }
   3408         _am_tools=none
   3409       fi
   3410 
   3411   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3412 printf %s "checking how to create a ustar tar archive... " >&6; }
   3413 
   3414   # Go ahead even if we have the value already cached.  We do so because we
   3415   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3416   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3417 
   3418   for _am_tool in $_am_tools; do
   3419     case $_am_tool in
   3420     gnutar)
   3421       for _am_tar in tar gnutar gtar; do
   3422         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3423    ($_am_tar --version) >&5 2>&5
   3424    ac_status=$?
   3425    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3426    (exit $ac_status); } && break
   3427       done
   3428       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3429       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3430       am__untar="$_am_tar -xf -"
   3431       ;;
   3432     plaintar)
   3433       # Must skip GNU tar: if it does not support --format= it doesn't create
   3434       # ustar tarball either.
   3435       (tar --version) >/dev/null 2>&1 && continue
   3436       am__tar='tar chf - "$$tardir"'
   3437       am__tar_='tar chf - "$tardir"'
   3438       am__untar='tar xf -'
   3439       ;;
   3440     pax)
   3441       am__tar='pax -L -x ustar -w "$$tardir"'
   3442       am__tar_='pax -L -x ustar -w "$tardir"'
   3443       am__untar='pax -r'
   3444       ;;
   3445     cpio)
   3446       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3447       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3448       am__untar='cpio -i -H ustar -d'
   3449       ;;
   3450     none)
   3451       am__tar=false
   3452       am__tar_=false
   3453       am__untar=false
   3454       ;;
   3455     esac
   3456 
   3457     # If the value was cached, stop now.  We just wanted to have am__tar
   3458     # and am__untar set.
   3459     test -n "${am_cv_prog_tar_ustar}" && break
   3460 
   3461     # tar/untar a dummy directory, and stop if the command works.
   3462     rm -rf conftest.dir
   3463     mkdir conftest.dir
   3464     echo GrepMe > conftest.dir/file
   3465     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3466    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3467    ac_status=$?
   3468    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3469    (exit $ac_status); }
   3470     rm -rf conftest.dir
   3471     if test -s conftest.tar; then
   3472       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3473    ($am__untar <conftest.tar) >&5 2>&5
   3474    ac_status=$?
   3475    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3476    (exit $ac_status); }
   3477       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3478    (cat conftest.dir/file) >&5 2>&5
   3479    ac_status=$?
   3480    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3481    (exit $ac_status); }
   3482       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3483     fi
   3484   done
   3485   rm -rf conftest.dir
   3486 
   3487   if test ${am_cv_prog_tar_ustar+y}
   3488 then :
   3489   printf %s "(cached) " >&6
   3490 else case e in #(
   3491   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3492 esac
   3493 fi
   3494 
   3495   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3496 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3497 
   3498 
   3499 
   3500 
   3501 
   3502 # Variables for tags utilities; see am/tags.am
   3503 if test -z "$CTAGS"; then
   3504   CTAGS=ctags
   3505 fi
   3506 
   3507 if test -z "$ETAGS"; then
   3508   ETAGS=etags
   3509 fi
   3510 
   3511 if test -z "$CSCOPE"; then
   3512   CSCOPE=cscope
   3513 fi
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 
   3521 
   3522 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3523 
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 
   3533 
   3534 
   3535 
   3536 
   3537 
   3538 
   3539 
   3540 
   3541 
   3542 
   3543 
   3544 
   3545 
   3546 DEPDIR="${am__leading_dot}deps"
   3547 
   3548 ac_config_commands="$ac_config_commands depfiles"
   3549 
   3550 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3551 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3552 cat > confinc.mk << 'END'
   3553 am__doit:
   3554 	@echo this is the am__doit target >confinc.out
   3555 .PHONY: am__doit
   3556 END
   3557 am__include="#"
   3558 am__quote=
   3559 # BSD make does it like this.
   3560 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3561 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3562 echo 'include confinc.mk # ignored' > confmf.GNU
   3563 _am_result=no
   3564 for s in GNU BSD; do
   3565   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3566    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3567    ac_status=$?
   3568    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3569    (exit $ac_status); }
   3570   case $?:`cat confinc.out 2>/dev/null` in #(
   3571   '0:this is the am__doit target') :
   3572     case $s in #(
   3573   BSD) :
   3574     am__include='.include' am__quote='"' ;; #(
   3575   *) :
   3576     am__include='include' am__quote='' ;;
   3577 esac ;; #(
   3578   *) :
   3579      ;;
   3580 esac
   3581   if test "$am__include" != "#"; then
   3582     _am_result="yes ($s style)"
   3583     break
   3584   fi
   3585 done
   3586 rm -f confinc.* confmf.*
   3587 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3588 printf '%s\n' "${_am_result}" >&6; }
   3589 
   3590 # Check whether --enable-dependency-tracking was given.
   3591 if test ${enable_dependency_tracking+y}
   3592 then :
   3593   enableval=$enable_dependency_tracking;
   3594 fi
   3595 
   3596 if test "x$enable_dependency_tracking" != xno; then
   3597   am_depcomp="$ac_aux_dir/depcomp"
   3598   AMDEPBACKSLASH='\'
   3599   am__nodep='_no'
   3600 fi
   3601  if test "x$enable_dependency_tracking" != xno; then
   3602   AMDEP_TRUE=
   3603   AMDEP_FALSE='#'
   3604 else
   3605   AMDEP_TRUE='#'
   3606   AMDEP_FALSE=
   3607 fi
   3608 
   3609 
   3610 ac_ext=c
   3611 ac_cpp='$CPP $CPPFLAGS'
   3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3615 if test -n "$ac_tool_prefix"; then
   3616   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3618 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3619 printf %s "checking for $ac_word... " >&6; }
   3620 if test ${ac_cv_prog_CC+y}
   3621 then :
   3622   printf %s "(cached) " >&6
   3623 else case e in #(
   3624   e) if test -n "$CC"; then
   3625   ac_cv_prog_CC="$CC" # Let the user override the test.
   3626 else
   3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3628 for as_dir in $PATH
   3629 do
   3630   IFS=$as_save_IFS
   3631   case $as_dir in #(((
   3632     '') as_dir=./ ;;
   3633     */) ;;
   3634     *) as_dir=$as_dir/ ;;
   3635   esac
   3636     for ac_exec_ext in '' $ac_executable_extensions; do
   3637   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3638     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3639     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3640     break 2
   3641   fi
   3642 done
   3643   done
   3644 IFS=$as_save_IFS
   3645 
   3646 fi ;;
   3647 esac
   3648 fi
   3649 CC=$ac_cv_prog_CC
   3650 if test -n "$CC"; then
   3651   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3652 printf '%s\n' "$CC" >&6; }
   3653 else
   3654   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3655 printf '%s\n' "no" >&6; }
   3656 fi
   3657 
   3658 
   3659 fi
   3660 if test -z "$ac_cv_prog_CC"; then
   3661   ac_ct_CC=$CC
   3662   # Extract the first word of "gcc", so it can be a program name with args.
   3663 set dummy gcc; ac_word=$2
   3664 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3665 printf %s "checking for $ac_word... " >&6; }
   3666 if test ${ac_cv_prog_ac_ct_CC+y}
   3667 then :
   3668   printf %s "(cached) " >&6
   3669 else case e in #(
   3670   e) if test -n "$ac_ct_CC"; then
   3671   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3672 else
   3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3674 for as_dir in $PATH
   3675 do
   3676   IFS=$as_save_IFS
   3677   case $as_dir in #(((
   3678     '') as_dir=./ ;;
   3679     */) ;;
   3680     *) as_dir=$as_dir/ ;;
   3681   esac
   3682     for ac_exec_ext in '' $ac_executable_extensions; do
   3683   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3684     ac_cv_prog_ac_ct_CC="gcc"
   3685     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3686     break 2
   3687   fi
   3688 done
   3689   done
   3690 IFS=$as_save_IFS
   3691 
   3692 fi ;;
   3693 esac
   3694 fi
   3695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3696 if test -n "$ac_ct_CC"; then
   3697   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3698 printf '%s\n' "$ac_ct_CC" >&6; }
   3699 else
   3700   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3701 printf '%s\n' "no" >&6; }
   3702 fi
   3703 
   3704   if test "x$ac_ct_CC" = x; then
   3705     CC=""
   3706   else
   3707     case $cross_compiling:$ac_tool_warned in
   3708 yes:)
   3709 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3710 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3711 ac_tool_warned=yes ;;
   3712 esac
   3713     CC=$ac_ct_CC
   3714   fi
   3715 else
   3716   CC="$ac_cv_prog_CC"
   3717 fi
   3718 
   3719 if test -z "$CC"; then
   3720           if test -n "$ac_tool_prefix"; then
   3721     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3722 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3723 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3724 printf %s "checking for $ac_word... " >&6; }
   3725 if test ${ac_cv_prog_CC+y}
   3726 then :
   3727   printf %s "(cached) " >&6
   3728 else case e in #(
   3729   e) if test -n "$CC"; then
   3730   ac_cv_prog_CC="$CC" # Let the user override the test.
   3731 else
   3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3733 for as_dir in $PATH
   3734 do
   3735   IFS=$as_save_IFS
   3736   case $as_dir in #(((
   3737     '') as_dir=./ ;;
   3738     */) ;;
   3739     *) as_dir=$as_dir/ ;;
   3740   esac
   3741     for ac_exec_ext in '' $ac_executable_extensions; do
   3742   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3743     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3744     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3745     break 2
   3746   fi
   3747 done
   3748   done
   3749 IFS=$as_save_IFS
   3750 
   3751 fi ;;
   3752 esac
   3753 fi
   3754 CC=$ac_cv_prog_CC
   3755 if test -n "$CC"; then
   3756   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3757 printf '%s\n' "$CC" >&6; }
   3758 else
   3759   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3760 printf '%s\n' "no" >&6; }
   3761 fi
   3762 
   3763 
   3764   fi
   3765 fi
   3766 if test -z "$CC"; then
   3767   # Extract the first word of "cc", so it can be a program name with args.
   3768 set dummy cc; ac_word=$2
   3769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3770 printf %s "checking for $ac_word... " >&6; }
   3771 if test ${ac_cv_prog_CC+y}
   3772 then :
   3773   printf %s "(cached) " >&6
   3774 else case e in #(
   3775   e) if test -n "$CC"; then
   3776   ac_cv_prog_CC="$CC" # Let the user override the test.
   3777 else
   3778   ac_prog_rejected=no
   3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3780 for as_dir in $PATH
   3781 do
   3782   IFS=$as_save_IFS
   3783   case $as_dir in #(((
   3784     '') as_dir=./ ;;
   3785     */) ;;
   3786     *) as_dir=$as_dir/ ;;
   3787   esac
   3788     for ac_exec_ext in '' $ac_executable_extensions; do
   3789   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3790     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3791        ac_prog_rejected=yes
   3792        continue
   3793      fi
   3794     ac_cv_prog_CC="cc"
   3795     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3796     break 2
   3797   fi
   3798 done
   3799   done
   3800 IFS=$as_save_IFS
   3801 
   3802 if test $ac_prog_rejected = yes; then
   3803   # We found a bogon in the path, so make sure we never use it.
   3804   set dummy $ac_cv_prog_CC
   3805   shift
   3806   if test $# != 0; then
   3807     # We chose a different compiler from the bogus one.
   3808     # However, it has the same basename, so the bogon will be chosen
   3809     # first if we set CC to just the basename; use the full file name.
   3810     shift
   3811     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3812   fi
   3813 fi
   3814 fi ;;
   3815 esac
   3816 fi
   3817 CC=$ac_cv_prog_CC
   3818 if test -n "$CC"; then
   3819   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3820 printf '%s\n' "$CC" >&6; }
   3821 else
   3822   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3823 printf '%s\n' "no" >&6; }
   3824 fi
   3825 
   3826 
   3827 fi
   3828 if test -z "$CC"; then
   3829   if test -n "$ac_tool_prefix"; then
   3830   for ac_prog in cl.exe
   3831   do
   3832     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3834 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3835 printf %s "checking for $ac_word... " >&6; }
   3836 if test ${ac_cv_prog_CC+y}
   3837 then :
   3838   printf %s "(cached) " >&6
   3839 else case e in #(
   3840   e) if test -n "$CC"; then
   3841   ac_cv_prog_CC="$CC" # Let the user override the test.
   3842 else
   3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3844 for as_dir in $PATH
   3845 do
   3846   IFS=$as_save_IFS
   3847   case $as_dir in #(((
   3848     '') as_dir=./ ;;
   3849     */) ;;
   3850     *) as_dir=$as_dir/ ;;
   3851   esac
   3852     for ac_exec_ext in '' $ac_executable_extensions; do
   3853   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3854     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3855     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3856     break 2
   3857   fi
   3858 done
   3859   done
   3860 IFS=$as_save_IFS
   3861 
   3862 fi ;;
   3863 esac
   3864 fi
   3865 CC=$ac_cv_prog_CC
   3866 if test -n "$CC"; then
   3867   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3868 printf '%s\n' "$CC" >&6; }
   3869 else
   3870   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3871 printf '%s\n' "no" >&6; }
   3872 fi
   3873 
   3874 
   3875     test -n "$CC" && break
   3876   done
   3877 fi
   3878 if test -z "$CC"; then
   3879   ac_ct_CC=$CC
   3880   for ac_prog in cl.exe
   3881 do
   3882   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3883 set dummy $ac_prog; ac_word=$2
   3884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3885 printf %s "checking for $ac_word... " >&6; }
   3886 if test ${ac_cv_prog_ac_ct_CC+y}
   3887 then :
   3888   printf %s "(cached) " >&6
   3889 else case e in #(
   3890   e) if test -n "$ac_ct_CC"; then
   3891   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3892 else
   3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3894 for as_dir in $PATH
   3895 do
   3896   IFS=$as_save_IFS
   3897   case $as_dir in #(((
   3898     '') as_dir=./ ;;
   3899     */) ;;
   3900     *) as_dir=$as_dir/ ;;
   3901   esac
   3902     for ac_exec_ext in '' $ac_executable_extensions; do
   3903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3904     ac_cv_prog_ac_ct_CC="$ac_prog"
   3905     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3906     break 2
   3907   fi
   3908 done
   3909   done
   3910 IFS=$as_save_IFS
   3911 
   3912 fi ;;
   3913 esac
   3914 fi
   3915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3916 if test -n "$ac_ct_CC"; then
   3917   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3918 printf '%s\n' "$ac_ct_CC" >&6; }
   3919 else
   3920   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3921 printf '%s\n' "no" >&6; }
   3922 fi
   3923 
   3924 
   3925   test -n "$ac_ct_CC" && break
   3926 done
   3927 
   3928   if test "x$ac_ct_CC" = x; then
   3929     CC=""
   3930   else
   3931     case $cross_compiling:$ac_tool_warned in
   3932 yes:)
   3933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3934 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3935 ac_tool_warned=yes ;;
   3936 esac
   3937     CC=$ac_ct_CC
   3938   fi
   3939 fi
   3940 
   3941 fi
   3942 if test -z "$CC"; then
   3943   if test -n "$ac_tool_prefix"; then
   3944   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3945 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3946 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3947 printf %s "checking for $ac_word... " >&6; }
   3948 if test ${ac_cv_prog_CC+y}
   3949 then :
   3950   printf %s "(cached) " >&6
   3951 else case e in #(
   3952   e) if test -n "$CC"; then
   3953   ac_cv_prog_CC="$CC" # Let the user override the test.
   3954 else
   3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3956 for as_dir in $PATH
   3957 do
   3958   IFS=$as_save_IFS
   3959   case $as_dir in #(((
   3960     '') as_dir=./ ;;
   3961     */) ;;
   3962     *) as_dir=$as_dir/ ;;
   3963   esac
   3964     for ac_exec_ext in '' $ac_executable_extensions; do
   3965   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3966     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3967     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3968     break 2
   3969   fi
   3970 done
   3971   done
   3972 IFS=$as_save_IFS
   3973 
   3974 fi ;;
   3975 esac
   3976 fi
   3977 CC=$ac_cv_prog_CC
   3978 if test -n "$CC"; then
   3979   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3980 printf '%s\n' "$CC" >&6; }
   3981 else
   3982   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3983 printf '%s\n' "no" >&6; }
   3984 fi
   3985 
   3986 
   3987 fi
   3988 if test -z "$ac_cv_prog_CC"; then
   3989   ac_ct_CC=$CC
   3990   # Extract the first word of "clang", so it can be a program name with args.
   3991 set dummy clang; ac_word=$2
   3992 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3993 printf %s "checking for $ac_word... " >&6; }
   3994 if test ${ac_cv_prog_ac_ct_CC+y}
   3995 then :
   3996   printf %s "(cached) " >&6
   3997 else case e in #(
   3998   e) if test -n "$ac_ct_CC"; then
   3999   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4000 else
   4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4002 for as_dir in $PATH
   4003 do
   4004   IFS=$as_save_IFS
   4005   case $as_dir in #(((
   4006     '') as_dir=./ ;;
   4007     */) ;;
   4008     *) as_dir=$as_dir/ ;;
   4009   esac
   4010     for ac_exec_ext in '' $ac_executable_extensions; do
   4011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4012     ac_cv_prog_ac_ct_CC="clang"
   4013     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4014     break 2
   4015   fi
   4016 done
   4017   done
   4018 IFS=$as_save_IFS
   4019 
   4020 fi ;;
   4021 esac
   4022 fi
   4023 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4024 if test -n "$ac_ct_CC"; then
   4025   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4026 printf '%s\n' "$ac_ct_CC" >&6; }
   4027 else
   4028   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4029 printf '%s\n' "no" >&6; }
   4030 fi
   4031 
   4032   if test "x$ac_ct_CC" = x; then
   4033     CC=""
   4034   else
   4035     case $cross_compiling:$ac_tool_warned in
   4036 yes:)
   4037 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4038 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4039 ac_tool_warned=yes ;;
   4040 esac
   4041     CC=$ac_ct_CC
   4042   fi
   4043 else
   4044   CC="$ac_cv_prog_CC"
   4045 fi
   4046 
   4047 fi
   4048 
   4049 
   4050 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4051 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4052 as_fn_error $? "no acceptable C compiler found in \$PATH
   4053 See 'config.log' for more details" "$LINENO" 5; }
   4054 
   4055 # Provide some information about the compiler.
   4056 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4057 set X $ac_compile
   4058 ac_compiler=$2
   4059 for ac_option in --version -v -V -qversion -version; do
   4060   { { ac_try="$ac_compiler $ac_option >&5"
   4061 case "(($ac_try" in
   4062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4063   *) ac_try_echo=$ac_try;;
   4064 esac
   4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4066 printf '%s\n' "$ac_try_echo"; } >&5
   4067   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4068   ac_status=$?
   4069   if test -s conftest.err; then
   4070     sed '10a\
   4071 ... rest of stderr output deleted ...
   4072          10q' conftest.err >conftest.er1
   4073     cat conftest.er1 >&5
   4074   fi
   4075   rm -f conftest.er1 conftest.err
   4076   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4077   test $ac_status = 0; }
   4078 done
   4079 
   4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4081 /* end confdefs.h.  */
   4082 
   4083 int
   4084 main (void)
   4085 {
   4086 
   4087   ;
   4088   return 0;
   4089 }
   4090 _ACEOF
   4091 ac_clean_files_save=$ac_clean_files
   4092 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4093 # Try to create an executable without -o first, disregard a.out.
   4094 # It will help us diagnose broken compilers, and finding out an intuition
   4095 # of exeext.
   4096 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4097 printf %s "checking whether the C compiler works... " >&6; }
   4098 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4099 
   4100 # The possible output files:
   4101 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4102 
   4103 ac_rmfiles=
   4104 for ac_file in $ac_files
   4105 do
   4106   case $ac_file in
   4107     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4108     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4109   esac
   4110 done
   4111 rm -f $ac_rmfiles
   4112 
   4113 if { { ac_try="$ac_link_default"
   4114 case "(($ac_try" in
   4115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4116   *) ac_try_echo=$ac_try;;
   4117 esac
   4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4119 printf '%s\n' "$ac_try_echo"; } >&5
   4120   (eval "$ac_link_default") 2>&5
   4121   ac_status=$?
   4122   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4123   test $ac_status = 0; }
   4124 then :
   4125   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4126 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4127 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4128 # so that the user can short-circuit this test for compilers unknown to
   4129 # Autoconf.
   4130 for ac_file in $ac_files ''
   4131 do
   4132   test -f "$ac_file" || continue
   4133   case $ac_file in
   4134     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4135 	;;
   4136     [ab].out )
   4137 	# We found the default executable, but exeext='' is most
   4138 	# certainly right.
   4139 	break;;
   4140     *.* )
   4141 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4142 	then :; else
   4143 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4144 	fi
   4145 	# We set ac_cv_exeext here because the later test for it is not
   4146 	# safe: cross compilers may not add the suffix if given an '-o'
   4147 	# argument, so we may need to know it at that point already.
   4148 	# Even if this section looks crufty: it has the advantage of
   4149 	# actually working.
   4150 	break;;
   4151     * )
   4152 	break;;
   4153   esac
   4154 done
   4155 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4156 
   4157 else case e in #(
   4158   e) ac_file='' ;;
   4159 esac
   4160 fi
   4161 if test -z "$ac_file"
   4162 then :
   4163   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4164 printf '%s\n' "no" >&6; }
   4165 printf '%s\n' "$as_me: failed program was:" >&5
   4166 sed 's/^/| /' conftest.$ac_ext >&5
   4167 
   4168 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4169 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4170 as_fn_error 77 "C compiler cannot create executables
   4171 See 'config.log' for more details" "$LINENO" 5; }
   4172 else case e in #(
   4173   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4174 printf '%s\n' "yes" >&6; } ;;
   4175 esac
   4176 fi
   4177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4178 printf %s "checking for C compiler default output file name... " >&6; }
   4179 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4180 printf '%s\n' "$ac_file" >&6; }
   4181 ac_exeext=$ac_cv_exeext
   4182 
   4183 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4184 ac_clean_files=$ac_clean_files_save
   4185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4186 printf %s "checking for suffix of executables... " >&6; }
   4187 if { { ac_try="$ac_link"
   4188 case "(($ac_try" in
   4189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4190   *) ac_try_echo=$ac_try;;
   4191 esac
   4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4193 printf '%s\n' "$ac_try_echo"; } >&5
   4194   (eval "$ac_link") 2>&5
   4195   ac_status=$?
   4196   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4197   test $ac_status = 0; }
   4198 then :
   4199   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4200 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4201 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4202 # 'rm'.
   4203 for ac_file in conftest.exe conftest conftest.*; do
   4204   test -f "$ac_file" || continue
   4205   case $ac_file in
   4206     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4207     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4208 	  break;;
   4209     * ) break;;
   4210   esac
   4211 done
   4212 else case e in #(
   4213   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4214 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4215 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4216 See 'config.log' for more details" "$LINENO" 5; } ;;
   4217 esac
   4218 fi
   4219 rm -f conftest conftest$ac_cv_exeext
   4220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4221 printf '%s\n' "$ac_cv_exeext" >&6; }
   4222 
   4223 rm -f conftest.$ac_ext
   4224 EXEEXT=$ac_cv_exeext
   4225 ac_exeext=$EXEEXT
   4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4227 /* end confdefs.h.  */
   4228 #include <stdio.h>
   4229 int
   4230 main (void)
   4231 {
   4232 FILE *f = fopen ("conftest.out", "w");
   4233  if (!f)
   4234   return 1;
   4235  return ferror (f) || fclose (f) != 0;
   4236 
   4237   ;
   4238   return 0;
   4239 }
   4240 _ACEOF
   4241 ac_clean_files="$ac_clean_files conftest.out"
   4242 # Check that the compiler produces executables we can run.  If not, either
   4243 # the compiler is broken, or we cross compile.
   4244 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4245 printf %s "checking whether we are cross compiling... " >&6; }
   4246 if test "$cross_compiling" != yes; then
   4247   { { ac_try="$ac_link"
   4248 case "(($ac_try" in
   4249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4250   *) ac_try_echo=$ac_try;;
   4251 esac
   4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4253 printf '%s\n' "$ac_try_echo"; } >&5
   4254   (eval "$ac_link") 2>&5
   4255   ac_status=$?
   4256   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4257   test $ac_status = 0; }
   4258   if { ac_try='./conftest$ac_cv_exeext'
   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_try") 2>&5
   4266   ac_status=$?
   4267   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4268   test $ac_status = 0; }; }; then
   4269     cross_compiling=no
   4270   else
   4271     if test "$cross_compiling" = maybe; then
   4272 	cross_compiling=yes
   4273     else
   4274 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4275 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4276 as_fn_error 77 "cannot run C compiled programs.
   4277 If you meant to cross compile, use '--host'.
   4278 See 'config.log' for more details" "$LINENO" 5; }
   4279     fi
   4280   fi
   4281 fi
   4282 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4283 printf '%s\n' "$cross_compiling" >&6; }
   4284 
   4285 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4286   conftest.o conftest.obj conftest.out
   4287 ac_clean_files=$ac_clean_files_save
   4288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4289 printf %s "checking for suffix of object files... " >&6; }
   4290 if test ${ac_cv_objext+y}
   4291 then :
   4292   printf %s "(cached) " >&6
   4293 else case e in #(
   4294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4295 /* end confdefs.h.  */
   4296 
   4297 int
   4298 main (void)
   4299 {
   4300 
   4301   ;
   4302   return 0;
   4303 }
   4304 _ACEOF
   4305 rm -f conftest.o conftest.obj
   4306 if { { ac_try="$ac_compile"
   4307 case "(($ac_try" in
   4308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4309   *) ac_try_echo=$ac_try;;
   4310 esac
   4311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4312 printf '%s\n' "$ac_try_echo"; } >&5
   4313   (eval "$ac_compile") 2>&5
   4314   ac_status=$?
   4315   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4316   test $ac_status = 0; }
   4317 then :
   4318   for ac_file in conftest.o conftest.obj conftest.*; do
   4319   test -f "$ac_file" || continue;
   4320   case $ac_file in
   4321     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4322     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4323        break;;
   4324   esac
   4325 done
   4326 else case e in #(
   4327   e) printf '%s\n' "$as_me: failed program was:" >&5
   4328 sed 's/^/| /' conftest.$ac_ext >&5
   4329 
   4330 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4331 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4332 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4333 See 'config.log' for more details" "$LINENO" 5; } ;;
   4334 esac
   4335 fi
   4336 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4337 esac
   4338 fi
   4339 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4340 printf '%s\n' "$ac_cv_objext" >&6; }
   4341 OBJEXT=$ac_cv_objext
   4342 ac_objext=$OBJEXT
   4343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4344 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4345 if test ${ac_cv_c_compiler_gnu+y}
   4346 then :
   4347   printf %s "(cached) " >&6
   4348 else case e in #(
   4349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4350 /* end confdefs.h.  */
   4351 
   4352 int
   4353 main (void)
   4354 {
   4355 #ifndef __GNUC__
   4356        choke me
   4357 #endif
   4358 
   4359   ;
   4360   return 0;
   4361 }
   4362 _ACEOF
   4363 if ac_fn_c_try_compile "$LINENO"
   4364 then :
   4365   ac_compiler_gnu=yes
   4366 else case e in #(
   4367   e) ac_compiler_gnu=no ;;
   4368 esac
   4369 fi
   4370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4371 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4372  ;;
   4373 esac
   4374 fi
   4375 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4376 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4378 
   4379 if test $ac_compiler_gnu = yes; then
   4380   GCC=yes
   4381 else
   4382   GCC=
   4383 fi
   4384 ac_test_CFLAGS=${CFLAGS+y}
   4385 ac_save_CFLAGS=$CFLAGS
   4386 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4387 printf %s "checking whether $CC accepts -g... " >&6; }
   4388 if test ${ac_cv_prog_cc_g+y}
   4389 then :
   4390   printf %s "(cached) " >&6
   4391 else case e in #(
   4392   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4393    ac_c_werror_flag=yes
   4394    ac_cv_prog_cc_g=no
   4395    CFLAGS="-g"
   4396    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4397 /* end confdefs.h.  */
   4398 
   4399 int
   4400 main (void)
   4401 {
   4402 
   4403   ;
   4404   return 0;
   4405 }
   4406 _ACEOF
   4407 if ac_fn_c_try_compile "$LINENO"
   4408 then :
   4409   ac_cv_prog_cc_g=yes
   4410 else case e in #(
   4411   e) CFLAGS=""
   4412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4413 /* end confdefs.h.  */
   4414 
   4415 int
   4416 main (void)
   4417 {
   4418 
   4419   ;
   4420   return 0;
   4421 }
   4422 _ACEOF
   4423 if ac_fn_c_try_compile "$LINENO"
   4424 then :
   4425 
   4426 else case e in #(
   4427   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4428 	 CFLAGS="-g"
   4429 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4430 /* end confdefs.h.  */
   4431 
   4432 int
   4433 main (void)
   4434 {
   4435 
   4436   ;
   4437   return 0;
   4438 }
   4439 _ACEOF
   4440 if ac_fn_c_try_compile "$LINENO"
   4441 then :
   4442   ac_cv_prog_cc_g=yes
   4443 fi
   4444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4445 esac
   4446 fi
   4447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4448 esac
   4449 fi
   4450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4451    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4452 esac
   4453 fi
   4454 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4455 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4456 if test $ac_test_CFLAGS; then
   4457   CFLAGS=$ac_save_CFLAGS
   4458 elif test $ac_cv_prog_cc_g = yes; then
   4459   if test "$GCC" = yes; then
   4460     CFLAGS="-g -O2"
   4461   else
   4462     CFLAGS="-g"
   4463   fi
   4464 else
   4465   if test "$GCC" = yes; then
   4466     CFLAGS="-O2"
   4467   else
   4468     CFLAGS=
   4469   fi
   4470 fi
   4471 ac_prog_cc_stdc=no
   4472 if test x$ac_prog_cc_stdc = xno
   4473 then :
   4474   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4475 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4476 if test ${ac_cv_prog_cc_c23+y}
   4477 then :
   4478   printf %s "(cached) " >&6
   4479 else case e in #(
   4480   e) ac_cv_prog_cc_c23=no
   4481 ac_save_CC=$CC
   4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4483 /* end confdefs.h.  */
   4484 $ac_c_conftest_c23_program
   4485 _ACEOF
   4486 for ac_arg in '' -std=gnu23
   4487 do
   4488   CC="$ac_save_CC $ac_arg"
   4489   if ac_fn_c_try_compile "$LINENO"
   4490 then :
   4491   ac_cv_prog_cc_c23=$ac_arg
   4492 fi
   4493 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4494   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4495 done
   4496 rm -f conftest.$ac_ext
   4497 CC=$ac_save_CC ;;
   4498 esac
   4499 fi
   4500 
   4501 if test "x$ac_cv_prog_cc_c23" = xno
   4502 then :
   4503   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4504 printf '%s\n' "unsupported" >&6; }
   4505 else case e in #(
   4506   e) if test "x$ac_cv_prog_cc_c23" = x
   4507 then :
   4508   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4509 printf '%s\n' "none needed" >&6; }
   4510 else case e in #(
   4511   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4512 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4513      CC="$CC $ac_cv_prog_cc_c23" ;;
   4514 esac
   4515 fi
   4516   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4517   ac_prog_cc_stdc=c23 ;;
   4518 esac
   4519 fi
   4520 fi
   4521 if test x$ac_prog_cc_stdc = xno
   4522 then :
   4523   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4524 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4525 if test ${ac_cv_prog_cc_c11+y}
   4526 then :
   4527   printf %s "(cached) " >&6
   4528 else case e in #(
   4529   e) ac_cv_prog_cc_c11=no
   4530 ac_save_CC=$CC
   4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4532 /* end confdefs.h.  */
   4533 $ac_c_conftest_c11_program
   4534 _ACEOF
   4535 for ac_arg in '' -std=gnu11 -std:c11
   4536 do
   4537   CC="$ac_save_CC $ac_arg"
   4538   if ac_fn_c_try_compile "$LINENO"
   4539 then :
   4540   ac_cv_prog_cc_c11=$ac_arg
   4541 fi
   4542 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4543   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4544 done
   4545 rm -f conftest.$ac_ext
   4546 CC=$ac_save_CC ;;
   4547 esac
   4548 fi
   4549 
   4550 if test "x$ac_cv_prog_cc_c11" = xno
   4551 then :
   4552   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4553 printf '%s\n' "unsupported" >&6; }
   4554 else case e in #(
   4555   e) if test "x$ac_cv_prog_cc_c11" = x
   4556 then :
   4557   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4558 printf '%s\n' "none needed" >&6; }
   4559 else case e in #(
   4560   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4561 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4562      CC="$CC $ac_cv_prog_cc_c11" ;;
   4563 esac
   4564 fi
   4565   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4566   ac_prog_cc_stdc=c11 ;;
   4567 esac
   4568 fi
   4569 fi
   4570 if test x$ac_prog_cc_stdc = xno
   4571 then :
   4572   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4573 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4574 if test ${ac_cv_prog_cc_c99+y}
   4575 then :
   4576   printf %s "(cached) " >&6
   4577 else case e in #(
   4578   e) ac_cv_prog_cc_c99=no
   4579 ac_save_CC=$CC
   4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4581 /* end confdefs.h.  */
   4582 $ac_c_conftest_c99_program
   4583 _ACEOF
   4584 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4585 do
   4586   CC="$ac_save_CC $ac_arg"
   4587   if ac_fn_c_try_compile "$LINENO"
   4588 then :
   4589   ac_cv_prog_cc_c99=$ac_arg
   4590 fi
   4591 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4592   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4593 done
   4594 rm -f conftest.$ac_ext
   4595 CC=$ac_save_CC ;;
   4596 esac
   4597 fi
   4598 
   4599 if test "x$ac_cv_prog_cc_c99" = xno
   4600 then :
   4601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4602 printf '%s\n' "unsupported" >&6; }
   4603 else case e in #(
   4604   e) if test "x$ac_cv_prog_cc_c99" = x
   4605 then :
   4606   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4607 printf '%s\n' "none needed" >&6; }
   4608 else case e in #(
   4609   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4610 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4611      CC="$CC $ac_cv_prog_cc_c99" ;;
   4612 esac
   4613 fi
   4614   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4615   ac_prog_cc_stdc=c99 ;;
   4616 esac
   4617 fi
   4618 fi
   4619 if test x$ac_prog_cc_stdc = xno
   4620 then :
   4621   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4622 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4623 if test ${ac_cv_prog_cc_c89+y}
   4624 then :
   4625   printf %s "(cached) " >&6
   4626 else case e in #(
   4627   e) ac_cv_prog_cc_c89=no
   4628 ac_save_CC=$CC
   4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4630 /* end confdefs.h.  */
   4631 $ac_c_conftest_c89_program
   4632 _ACEOF
   4633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4634 do
   4635   CC="$ac_save_CC $ac_arg"
   4636   if ac_fn_c_try_compile "$LINENO"
   4637 then :
   4638   ac_cv_prog_cc_c89=$ac_arg
   4639 fi
   4640 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4641   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4642 done
   4643 rm -f conftest.$ac_ext
   4644 CC=$ac_save_CC ;;
   4645 esac
   4646 fi
   4647 
   4648 if test "x$ac_cv_prog_cc_c89" = xno
   4649 then :
   4650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4651 printf '%s\n' "unsupported" >&6; }
   4652 else case e in #(
   4653   e) if test "x$ac_cv_prog_cc_c89" = x
   4654 then :
   4655   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4656 printf '%s\n' "none needed" >&6; }
   4657 else case e in #(
   4658   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4659 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4660      CC="$CC $ac_cv_prog_cc_c89" ;;
   4661 esac
   4662 fi
   4663   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4664   ac_prog_cc_stdc=c89 ;;
   4665 esac
   4666 fi
   4667 fi
   4668 
   4669 ac_ext=c
   4670 ac_cpp='$CPP $CPPFLAGS'
   4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4674 
   4675 
   4676   ac_ext=c
   4677 ac_cpp='$CPP $CPPFLAGS'
   4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4681 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4682 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4683 if test ${am_cv_prog_cc_c_o+y}
   4684 then :
   4685   printf %s "(cached) " >&6
   4686 else case e in #(
   4687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 
   4690 int
   4691 main (void)
   4692 {
   4693 
   4694   ;
   4695   return 0;
   4696 }
   4697 _ACEOF
   4698   # Make sure it works both with $CC and with simple cc.
   4699   # Following AC_PROG_CC_C_O, we do the test twice because some
   4700   # compilers refuse to overwrite an existing .o file with -o,
   4701   # though they will create one.
   4702   am_cv_prog_cc_c_o=yes
   4703   for am_i in 1 2; do
   4704     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4705    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4706    ac_status=$?
   4707    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4708    (exit $ac_status); } \
   4709          && test -f conftest2.$ac_objext; then
   4710       : OK
   4711     else
   4712       am_cv_prog_cc_c_o=no
   4713       break
   4714     fi
   4715   done
   4716   # aligned with autoconf, so not including core; see bug#72225.
   4717   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4718     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4719     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4720   unset am_i ;;
   4721 esac
   4722 fi
   4723 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4724 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   4725 if test "$am_cv_prog_cc_c_o" != yes; then
   4726    # Losing compiler, so override with the script.
   4727    # FIXME: It is wrong to rewrite CC.
   4728    # But if we don't then we get into trouble of one sort or another.
   4729    # A longer-term fix would be to have automake use am__CC in this case,
   4730    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4731    CC="$am_aux_dir/compile $CC"
   4732 fi
   4733 ac_ext=c
   4734 ac_cpp='$CPP $CPPFLAGS'
   4735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4738 
   4739 
   4740 depcc="$CC"   am_compiler_list=
   4741 
   4742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4743 printf %s "checking dependency style of $depcc... " >&6; }
   4744 if test ${am_cv_CC_dependencies_compiler_type+y}
   4745 then :
   4746   printf %s "(cached) " >&6
   4747 else case e in #(
   4748   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4749   # We make a subdir and do the tests there.  Otherwise we can end up
   4750   # making bogus files that we don't know about and never remove.  For
   4751   # instance it was reported that on HP-UX the gcc test will end up
   4752   # making a dummy file named 'D' -- because '-MD' means "put the output
   4753   # in D".
   4754   rm -rf conftest.dir
   4755   mkdir conftest.dir
   4756   # Copy depcomp to subdir because otherwise we won't find it if we're
   4757   # using a relative directory.
   4758   cp "$am_depcomp" conftest.dir
   4759   cd conftest.dir
   4760   # We will build objects and dependencies in a subdirectory because
   4761   # it helps to detect inapplicable dependency modes.  For instance
   4762   # both Tru64's cc and ICC support -MD to output dependencies as a
   4763   # side effect of compilation, but ICC will put the dependencies in
   4764   # the current directory while Tru64 will put them in the object
   4765   # directory.
   4766   mkdir sub
   4767 
   4768   am_cv_CC_dependencies_compiler_type=none
   4769   if test "$am_compiler_list" = ""; then
   4770      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4771   fi
   4772   am__universal=false
   4773   case " $depcc " in #(
   4774      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4775      esac
   4776 
   4777   for depmode in $am_compiler_list; do
   4778     # Setup a source with many dependencies, because some compilers
   4779     # like to wrap large dependency lists on column 80 (with \), and
   4780     # we should not choose a depcomp mode which is confused by this.
   4781     #
   4782     # We need to recreate these files for each test, as the compiler may
   4783     # overwrite some of them when testing with obscure command lines.
   4784     # This happens at least with the AIX C compiler.
   4785     : > sub/conftest.c
   4786     for i in 1 2 3 4 5 6; do
   4787       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4788       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4789       # Solaris 10 /bin/sh.
   4790       echo '/* dummy */' > sub/conftst$i.h
   4791     done
   4792     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4793 
   4794     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4795     # mode.  It turns out that the SunPro C++ compiler does not properly
   4796     # handle '-M -o', and we need to detect this.  Also, some Intel
   4797     # versions had trouble with output in subdirs.
   4798     am__obj=sub/conftest.${OBJEXT-o}
   4799     am__minus_obj="-o $am__obj"
   4800     case $depmode in
   4801     gcc)
   4802       # This depmode causes a compiler race in universal mode.
   4803       test "$am__universal" = false || continue
   4804       ;;
   4805     nosideeffect)
   4806       # After this tag, mechanisms are not by side-effect, so they'll
   4807       # only be used when explicitly requested.
   4808       if test "x$enable_dependency_tracking" = xyes; then
   4809 	continue
   4810       else
   4811 	break
   4812       fi
   4813       ;;
   4814     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4815       # This compiler won't grok '-c -o', but also, the minuso test has
   4816       # not run yet.  These depmodes are late enough in the game, and
   4817       # so weak that their functioning should not be impacted.
   4818       am__obj=conftest.${OBJEXT-o}
   4819       am__minus_obj=
   4820       ;;
   4821     none) break ;;
   4822     esac
   4823     if depmode=$depmode \
   4824        source=sub/conftest.c object=$am__obj \
   4825        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4826        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4827          >/dev/null 2>conftest.err &&
   4828        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4829        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4830        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4831        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4832       # icc doesn't choke on unknown options, it will just issue warnings
   4833       # or remarks (even with -Werror).  So we grep stderr for any message
   4834       # that says an option was ignored or not supported.
   4835       # When given -MP, icc 7.0 and 7.1 complain thus:
   4836       #   icc: Command line warning: ignoring option '-M'; no argument required
   4837       # The diagnosis changed in icc 8.0:
   4838       #   icc: Command line remark: option '-MP' not supported
   4839       if (grep 'ignoring option' conftest.err ||
   4840           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4841         am_cv_CC_dependencies_compiler_type=$depmode
   4842         break
   4843       fi
   4844     fi
   4845   done
   4846 
   4847   cd ..
   4848   rm -rf conftest.dir
   4849 else
   4850   am_cv_CC_dependencies_compiler_type=none
   4851 fi
   4852  ;;
   4853 esac
   4854 fi
   4855 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4856 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   4857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4858 
   4859  if
   4860   test "x$enable_dependency_tracking" != xno \
   4861   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4862   am__fastdepCC_TRUE=
   4863   am__fastdepCC_FALSE='#'
   4864 else
   4865   am__fastdepCC_TRUE='#'
   4866   am__fastdepCC_FALSE=
   4867 fi
   4868 
   4869 
   4870 
   4871 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   4872 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   4873 if test ${ac_cv_c_undeclared_builtin_options+y}
   4874 then :
   4875   printf %s "(cached) " >&6
   4876 else case e in #(
   4877   e) ac_save_CFLAGS=$CFLAGS
   4878    ac_cv_c_undeclared_builtin_options='cannot detect'
   4879    for ac_arg in '' -fno-builtin; do
   4880      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4881      # This test program should *not* compile successfully.
   4882      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4883 /* end confdefs.h.  */
   4884 
   4885 int
   4886 main (void)
   4887 {
   4888 (void) strchr;
   4889   ;
   4890   return 0;
   4891 }
   4892 _ACEOF
   4893 if ac_fn_c_try_compile "$LINENO"
   4894 then :
   4895 
   4896 else case e in #(
   4897   e) # This test program should compile successfully.
   4898         # No library function is consistently available on
   4899         # freestanding implementations, so test against a dummy
   4900         # declaration.  Include always-available headers on the
   4901         # off chance that they somehow elicit warnings.
   4902         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 #include <float.h>
   4905 #include <limits.h>
   4906 #include <stdarg.h>
   4907 #include <stddef.h>
   4908 extern void ac_decl (int, char *);
   4909 
   4910 int
   4911 main (void)
   4912 {
   4913 (void) ac_decl (0, (char *) 0);
   4914   (void) ac_decl;
   4915 
   4916   ;
   4917   return 0;
   4918 }
   4919 _ACEOF
   4920 if ac_fn_c_try_compile "$LINENO"
   4921 then :
   4922   if test x"$ac_arg" = x
   4923 then :
   4924   ac_cv_c_undeclared_builtin_options='none needed'
   4925 else case e in #(
   4926   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4927 esac
   4928 fi
   4929           break
   4930 fi
   4931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4932 esac
   4933 fi
   4934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4935     done
   4936     CFLAGS=$ac_save_CFLAGS
   4937    ;;
   4938 esac
   4939 fi
   4940 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4941 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   4942   case $ac_cv_c_undeclared_builtin_options in #(
   4943   'cannot detect') :
   4944     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4945 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4946 as_fn_error $? "cannot make $CC report undeclared builtins
   4947 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4948   'none needed') :
   4949     ac_c_undeclared_builtin_options='' ;; #(
   4950   *) :
   4951     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4952 esac
   4953 
   4954 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   4955 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   4956 if test ${ac_cv_c_future_darwin_options+y}
   4957 then :
   4958   printf %s "(cached) " >&6
   4959 else case e in #(
   4960   e)       ac_compile_saved="$ac_compile"
   4961    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   4962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4963 /* end confdefs.h.  */
   4964 #if ! (defined __APPLE__ && defined __MACH__)
   4965 	   #error "-Werror=unguarded-availability-new not needed here"
   4966 	  #endif
   4967 
   4968 int
   4969 main (void)
   4970 {
   4971 
   4972   ;
   4973   return 0;
   4974 }
   4975 _ACEOF
   4976 if ac_fn_c_try_compile "$LINENO"
   4977 then :
   4978   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   4979 else case e in #(
   4980   e) ac_cv_c_future_darwin_options='none needed' ;;
   4981 esac
   4982 fi
   4983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4984    ac_compile="$ac_compile_saved"
   4985    ;;
   4986 esac
   4987 fi
   4988 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   4989 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   4990  case $ac_cv_c_future_darwin_options in #(
   4991   'none needed') :
   4992     ac_c_future_darwin_options='' ;; #(
   4993   *) :
   4994     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   4995 esac
   4996 
   4997 ac_header= ac_cache=
   4998 for ac_item in $ac_header_c_list
   4999 do
   5000   if test $ac_cache; then
   5001     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5002     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5003       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   5004     fi
   5005     ac_header= ac_cache=
   5006   elif test $ac_header; then
   5007     ac_cache=$ac_item
   5008   else
   5009     ac_header=$ac_item
   5010   fi
   5011 done
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5021 then :
   5022 
   5023 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   5024 
   5025 fi
   5026 
   5027 
   5028 
   5029 
   5030 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"
   5031 if test "x$ac_cv_have_decl___clang__" = xyes
   5032 then :
   5033   CLANGCC="yes"
   5034 else case e in #(
   5035   e) CLANGCC="no" ;;
   5036 esac
   5037 fi
   5038 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"
   5039 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   5040 then :
   5041   INTELCC="yes"
   5042 else case e in #(
   5043   e) INTELCC="no" ;;
   5044 esac
   5045 fi
   5046 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"
   5047 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   5048 then :
   5049   SUNCC="yes"
   5050 else case e in #(
   5051   e) SUNCC="no" ;;
   5052 esac
   5053 fi
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5063 	if test -n "$ac_tool_prefix"; then
   5064   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5065 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5067 printf %s "checking for $ac_word... " >&6; }
   5068 if test ${ac_cv_path_PKG_CONFIG+y}
   5069 then :
   5070   printf %s "(cached) " >&6
   5071 else case e in #(
   5072   e) case $PKG_CONFIG in
   5073   [\\/]* | ?:[\\/]*)
   5074   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5075   ;;
   5076   *)
   5077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5078 for as_dir in $PATH
   5079 do
   5080   IFS=$as_save_IFS
   5081   case $as_dir in #(((
   5082     '') as_dir=./ ;;
   5083     */) ;;
   5084     *) as_dir=$as_dir/ ;;
   5085   esac
   5086     for ac_exec_ext in '' $ac_executable_extensions; do
   5087   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5088     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5089     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5090     break 2
   5091   fi
   5092 done
   5093   done
   5094 IFS=$as_save_IFS
   5095 
   5096   ;;
   5097 esac ;;
   5098 esac
   5099 fi
   5100 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5101 if test -n "$PKG_CONFIG"; then
   5102   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5103 printf '%s\n' "$PKG_CONFIG" >&6; }
   5104 else
   5105   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5106 printf '%s\n' "no" >&6; }
   5107 fi
   5108 
   5109 
   5110 fi
   5111 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5112   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5113   # Extract the first word of "pkg-config", so it can be a program name with args.
   5114 set dummy pkg-config; ac_word=$2
   5115 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5116 printf %s "checking for $ac_word... " >&6; }
   5117 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5118 then :
   5119   printf %s "(cached) " >&6
   5120 else case e in #(
   5121   e) case $ac_pt_PKG_CONFIG in
   5122   [\\/]* | ?:[\\/]*)
   5123   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5124   ;;
   5125   *)
   5126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5127 for as_dir in $PATH
   5128 do
   5129   IFS=$as_save_IFS
   5130   case $as_dir in #(((
   5131     '') as_dir=./ ;;
   5132     */) ;;
   5133     *) as_dir=$as_dir/ ;;
   5134   esac
   5135     for ac_exec_ext in '' $ac_executable_extensions; do
   5136   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5137     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5138     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5139     break 2
   5140   fi
   5141 done
   5142   done
   5143 IFS=$as_save_IFS
   5144 
   5145   ;;
   5146 esac ;;
   5147 esac
   5148 fi
   5149 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5150 if test -n "$ac_pt_PKG_CONFIG"; then
   5151   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5152 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   5153 else
   5154   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5155 printf '%s\n' "no" >&6; }
   5156 fi
   5157 
   5158   if test "x$ac_pt_PKG_CONFIG" = x; then
   5159     PKG_CONFIG=""
   5160   else
   5161     case $cross_compiling:$ac_tool_warned in
   5162 yes:)
   5163 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5164 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5165 ac_tool_warned=yes ;;
   5166 esac
   5167     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5168   fi
   5169 else
   5170   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5171 fi
   5172 
   5173 fi
   5174 if test -n "$PKG_CONFIG"; then
   5175 	_pkg_min_version=0.9.0
   5176 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5177 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5178 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5179 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5180 printf '%s\n' "yes" >&6; }
   5181 	else
   5182 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5183 printf '%s\n' "no" >&6; }
   5184 		PKG_CONFIG=""
   5185 	fi
   5186 fi
   5187 
   5188 
   5189   # Make sure we can run config.sub.
   5190 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5191   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5192 
   5193 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5194 printf %s "checking build system type... " >&6; }
   5195 if test ${ac_cv_build+y}
   5196 then :
   5197   printf %s "(cached) " >&6
   5198 else case e in #(
   5199   e) ac_build_alias=$build_alias
   5200 test "x$ac_build_alias" = x &&
   5201   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5202 test "x$ac_build_alias" = x &&
   5203   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5204 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5205   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5206  ;;
   5207 esac
   5208 fi
   5209 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5210 printf '%s\n' "$ac_cv_build" >&6; }
   5211 case $ac_cv_build in
   5212 *-*-*) ;;
   5213 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5214 esac
   5215 build=$ac_cv_build
   5216 ac_save_IFS=$IFS; IFS='-'
   5217 set x $ac_cv_build
   5218 shift
   5219 build_cpu=$1
   5220 build_vendor=$2
   5221 shift; shift
   5222 # Remember, the first character of IFS is used to create $*,
   5223 # except with old shells:
   5224 build_os=$*
   5225 IFS=$ac_save_IFS
   5226 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   5227 
   5228 
   5229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5230 printf %s "checking host system type... " >&6; }
   5231 if test ${ac_cv_host+y}
   5232 then :
   5233   printf %s "(cached) " >&6
   5234 else case e in #(
   5235   e) if test "x$host_alias" = x; then
   5236   ac_cv_host=$ac_cv_build
   5237 else
   5238   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5239     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5240 fi
   5241  ;;
   5242 esac
   5243 fi
   5244 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5245 printf '%s\n' "$ac_cv_host" >&6; }
   5246 case $ac_cv_host in
   5247 *-*-*) ;;
   5248 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5249 esac
   5250 host=$ac_cv_host
   5251 ac_save_IFS=$IFS; IFS='-'
   5252 set x $ac_cv_host
   5253 shift
   5254 host_cpu=$1
   5255 host_vendor=$2
   5256 shift; shift
   5257 # Remember, the first character of IFS is used to create $*,
   5258 # except with old shells:
   5259 host_os=$*
   5260 IFS=$ac_save_IFS
   5261 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   5262 
   5263 
   5264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5265 printf %s "checking for a sed that does not truncate output... " >&6; }
   5266 if test ${ac_cv_path_SED+y}
   5267 then :
   5268   printf %s "(cached) " >&6
   5269 else case e in #(
   5270   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5271      for ac_i in 1 2 3 4 5 6 7; do
   5272        ac_script="$ac_script$as_nl$ac_script"
   5273      done
   5274      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5275      { ac_script=; unset ac_script;}
   5276      if test -z "$SED"; then
   5277   ac_path_SED_found=false
   5278   # Loop through the user's path and test for each of PROGNAME-LIST
   5279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5280 for as_dir in $PATH
   5281 do
   5282   IFS=$as_save_IFS
   5283   case $as_dir in #(((
   5284     '') as_dir=./ ;;
   5285     */) ;;
   5286     *) as_dir=$as_dir/ ;;
   5287   esac
   5288     for ac_prog in sed gsed
   5289    do
   5290     for ac_exec_ext in '' $ac_executable_extensions; do
   5291       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5292       as_fn_executable_p "$ac_path_SED" || continue
   5293 # Check for GNU ac_path_SED and select it if it is found.
   5294   # Check for GNU $ac_path_SED
   5295 case `"$ac_path_SED" --version 2>&1` in #(
   5296 *GNU*)
   5297   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5298 #(
   5299 *)
   5300   ac_count=0
   5301   printf %s 0123456789 >"conftest.in"
   5302   while :
   5303   do
   5304     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5305     mv "conftest.tmp" "conftest.in"
   5306     cp "conftest.in" "conftest.nl"
   5307     printf '%s\n' '' >> "conftest.nl"
   5308     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5309     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5310     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5311     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5312       # Best one so far, save it but keep looking for a better one
   5313       ac_cv_path_SED="$ac_path_SED"
   5314       ac_path_SED_max=$ac_count
   5315     fi
   5316     # 10*(2^10) chars as input seems more than enough
   5317     test $ac_count -gt 10 && break
   5318   done
   5319   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5320 esac
   5321 
   5322       $ac_path_SED_found && break 3
   5323     done
   5324   done
   5325   done
   5326 IFS=$as_save_IFS
   5327   if test -z "$ac_cv_path_SED"; then
   5328     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5329   fi
   5330 else
   5331   ac_cv_path_SED=$SED
   5332 fi
   5333  ;;
   5334 esac
   5335 fi
   5336 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5337 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5338  SED="$ac_cv_path_SED"
   5339   rm -f conftest.sed
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 # Check whether --enable-selective-werror was given.
   5347 if test ${enable_selective_werror+y}
   5348 then :
   5349   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5350 else case e in #(
   5351   e) SELECTIVE_WERROR=yes ;;
   5352 esac
   5353 fi
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5360 if test "x$SUNCC" = "xyes"; then
   5361     BASE_CFLAGS="-v"
   5362 else
   5363     BASE_CFLAGS=""
   5364 fi
   5365 
   5366 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 xorg_testset_save_CFLAGS="$CFLAGS"
   5381 
   5382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5384 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5385 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5386 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5387 then :
   5388   printf %s "(cached) " >&6
   5389 else case e in #(
   5390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 int i;
   5393 _ACEOF
   5394 if ac_fn_c_try_compile "$LINENO"
   5395 then :
   5396   xorg_cv_cc_flag_unknown_warning_option=yes
   5397 else case e in #(
   5398   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5399 esac
   5400 fi
   5401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5402 esac
   5403 fi
   5404 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5405 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5407 	CFLAGS="$xorg_testset_save_CFLAGS"
   5408 fi
   5409 
   5410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5413 	fi
   5414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5415 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5416 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5417 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5418 then :
   5419   printf %s "(cached) " >&6
   5420 else case e in #(
   5421   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"
   5426 then :
   5427   xorg_cv_cc_flag_unused_command_line_argument=yes
   5428 else case e in #(
   5429   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5430 esac
   5431 fi
   5432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5433 esac
   5434 fi
   5435 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5436 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5438 	CFLAGS="$xorg_testset_save_CFLAGS"
   5439 fi
   5440 
   5441 found="no"
   5442 
   5443 	if test $found = "no" ; then
   5444 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5446 		fi
   5447 
   5448 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5450 		fi
   5451 
   5452 		CFLAGS="$CFLAGS -Wall"
   5453 
   5454 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5455 printf %s "checking if $CC supports -Wall... " >&6; }
   5456 		cacheid=xorg_cv_cc_flag__Wall
   5457 		if eval test \${$cacheid+y}
   5458 then :
   5459   printf %s "(cached) " >&6
   5460 else case e in #(
   5461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 int
   5465 main (void)
   5466 {
   5467 
   5468   ;
   5469   return 0;
   5470 }
   5471 _ACEOF
   5472 if ac_fn_c_try_link "$LINENO"
   5473 then :
   5474   eval $cacheid=yes
   5475 else case e in #(
   5476   e) eval $cacheid=no ;;
   5477 esac
   5478 fi
   5479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5480     conftest$ac_exeext conftest.$ac_ext ;;
   5481 esac
   5482 fi
   5483 
   5484 
   5485 		CFLAGS="$xorg_testset_save_CFLAGS"
   5486 
   5487 		eval supported=\$$cacheid
   5488 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5489 printf '%s\n' "$supported" >&6; }
   5490 		if test "$supported" = "yes" ; then
   5491 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5492 			found="yes"
   5493 		fi
   5494 	fi
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 xorg_testset_save_CFLAGS="$CFLAGS"
   5511 
   5512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5514 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5515 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5516 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5517 then :
   5518   printf %s "(cached) " >&6
   5519 else case e in #(
   5520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5521 /* end confdefs.h.  */
   5522 int i;
   5523 _ACEOF
   5524 if ac_fn_c_try_compile "$LINENO"
   5525 then :
   5526   xorg_cv_cc_flag_unknown_warning_option=yes
   5527 else case e in #(
   5528   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5529 esac
   5530 fi
   5531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5532 esac
   5533 fi
   5534 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5535 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	fi
   5544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5546 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5547 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5548 then :
   5549   printf %s "(cached) " >&6
   5550 else case e in #(
   5551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5552 /* end confdefs.h.  */
   5553 int i;
   5554 _ACEOF
   5555 if ac_fn_c_try_compile "$LINENO"
   5556 then :
   5557   xorg_cv_cc_flag_unused_command_line_argument=yes
   5558 else case e in #(
   5559   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5560 esac
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5563 esac
   5564 fi
   5565 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5566 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 found="no"
   5572 
   5573 	if test $found = "no" ; then
   5574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 		fi
   5577 
   5578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5580 		fi
   5581 
   5582 		CFLAGS="$CFLAGS -Wpointer-arith"
   5583 
   5584 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5585 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5586 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5587 		if eval test \${$cacheid+y}
   5588 then :
   5589   printf %s "(cached) " >&6
   5590 else case e in #(
   5591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5592 /* end confdefs.h.  */
   5593 int i;
   5594 int
   5595 main (void)
   5596 {
   5597 
   5598   ;
   5599   return 0;
   5600 }
   5601 _ACEOF
   5602 if ac_fn_c_try_link "$LINENO"
   5603 then :
   5604   eval $cacheid=yes
   5605 else case e in #(
   5606   e) eval $cacheid=no ;;
   5607 esac
   5608 fi
   5609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5610     conftest$ac_exeext conftest.$ac_ext ;;
   5611 esac
   5612 fi
   5613 
   5614 
   5615 		CFLAGS="$xorg_testset_save_CFLAGS"
   5616 
   5617 		eval supported=\$$cacheid
   5618 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5619 printf '%s\n' "$supported" >&6; }
   5620 		if test "$supported" = "yes" ; then
   5621 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5622 			found="yes"
   5623 		fi
   5624 	fi
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 xorg_testset_save_CFLAGS="$CFLAGS"
   5641 
   5642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5645 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5646 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5647 then :
   5648   printf %s "(cached) " >&6
   5649 else case e in #(
   5650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5651 /* end confdefs.h.  */
   5652 int i;
   5653 _ACEOF
   5654 if ac_fn_c_try_compile "$LINENO"
   5655 then :
   5656   xorg_cv_cc_flag_unknown_warning_option=yes
   5657 else case e in #(
   5658   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5659 esac
   5660 fi
   5661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5662 esac
   5663 fi
   5664 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5665 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	fi
   5674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5675 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5678 then :
   5679   printf %s "(cached) " >&6
   5680 else case e in #(
   5681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5682 /* end confdefs.h.  */
   5683 int i;
   5684 _ACEOF
   5685 if ac_fn_c_try_compile "$LINENO"
   5686 then :
   5687   xorg_cv_cc_flag_unused_command_line_argument=yes
   5688 else case e in #(
   5689   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5690 esac
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5693 esac
   5694 fi
   5695 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5696 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5698 	CFLAGS="$xorg_testset_save_CFLAGS"
   5699 fi
   5700 
   5701 found="no"
   5702 
   5703 	if test $found = "no" ; then
   5704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 		fi
   5707 
   5708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5710 		fi
   5711 
   5712 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5713 
   5714 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5715 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5716 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5717 		if eval test \${$cacheid+y}
   5718 then :
   5719   printf %s "(cached) " >&6
   5720 else case e in #(
   5721   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 int i;
   5724 int
   5725 main (void)
   5726 {
   5727 
   5728   ;
   5729   return 0;
   5730 }
   5731 _ACEOF
   5732 if ac_fn_c_try_link "$LINENO"
   5733 then :
   5734   eval $cacheid=yes
   5735 else case e in #(
   5736   e) eval $cacheid=no ;;
   5737 esac
   5738 fi
   5739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5740     conftest$ac_exeext conftest.$ac_ext ;;
   5741 esac
   5742 fi
   5743 
   5744 
   5745 		CFLAGS="$xorg_testset_save_CFLAGS"
   5746 
   5747 		eval supported=\$$cacheid
   5748 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5749 printf '%s\n' "$supported" >&6; }
   5750 		if test "$supported" = "yes" ; then
   5751 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5752 			found="yes"
   5753 		fi
   5754 	fi
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 xorg_testset_save_CFLAGS="$CFLAGS"
   5771 
   5772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5774 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5777 then :
   5778   printf %s "(cached) " >&6
   5779 else case e in #(
   5780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5781 /* end confdefs.h.  */
   5782 int i;
   5783 _ACEOF
   5784 if ac_fn_c_try_compile "$LINENO"
   5785 then :
   5786   xorg_cv_cc_flag_unknown_warning_option=yes
   5787 else case e in #(
   5788   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5789 esac
   5790 fi
   5791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5792 esac
   5793 fi
   5794 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5795 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5797 	CFLAGS="$xorg_testset_save_CFLAGS"
   5798 fi
   5799 
   5800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 	fi
   5804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5805 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5808 then :
   5809   printf %s "(cached) " >&6
   5810 else case e in #(
   5811   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5812 /* end confdefs.h.  */
   5813 int i;
   5814 _ACEOF
   5815 if ac_fn_c_try_compile "$LINENO"
   5816 then :
   5817   xorg_cv_cc_flag_unused_command_line_argument=yes
   5818 else case e in #(
   5819   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5820 esac
   5821 fi
   5822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5823 esac
   5824 fi
   5825 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5826 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5828 	CFLAGS="$xorg_testset_save_CFLAGS"
   5829 fi
   5830 
   5831 found="no"
   5832 
   5833 	if test $found = "no" ; then
   5834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5836 		fi
   5837 
   5838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5840 		fi
   5841 
   5842 		CFLAGS="$CFLAGS -Wformat=2"
   5843 
   5844 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5845 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5846 		cacheid=xorg_cv_cc_flag__Wformat_2
   5847 		if eval test \${$cacheid+y}
   5848 then :
   5849   printf %s "(cached) " >&6
   5850 else case e in #(
   5851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5852 /* end confdefs.h.  */
   5853 int i;
   5854 int
   5855 main (void)
   5856 {
   5857 
   5858   ;
   5859   return 0;
   5860 }
   5861 _ACEOF
   5862 if ac_fn_c_try_link "$LINENO"
   5863 then :
   5864   eval $cacheid=yes
   5865 else case e in #(
   5866   e) eval $cacheid=no ;;
   5867 esac
   5868 fi
   5869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5870     conftest$ac_exeext conftest.$ac_ext ;;
   5871 esac
   5872 fi
   5873 
   5874 
   5875 		CFLAGS="$xorg_testset_save_CFLAGS"
   5876 
   5877 		eval supported=\$$cacheid
   5878 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5879 printf '%s\n' "$supported" >&6; }
   5880 		if test "$supported" = "yes" ; then
   5881 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5882 			found="yes"
   5883 		fi
   5884 	fi
   5885 
   5886 	if test $found = "no" ; then
   5887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 		fi
   5890 
   5891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5893 		fi
   5894 
   5895 		CFLAGS="$CFLAGS -Wformat"
   5896 
   5897 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5898 printf %s "checking if $CC supports -Wformat... " >&6; }
   5899 		cacheid=xorg_cv_cc_flag__Wformat
   5900 		if eval test \${$cacheid+y}
   5901 then :
   5902   printf %s "(cached) " >&6
   5903 else case e in #(
   5904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 int
   5908 main (void)
   5909 {
   5910 
   5911   ;
   5912   return 0;
   5913 }
   5914 _ACEOF
   5915 if ac_fn_c_try_link "$LINENO"
   5916 then :
   5917   eval $cacheid=yes
   5918 else case e in #(
   5919   e) eval $cacheid=no ;;
   5920 esac
   5921 fi
   5922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5923     conftest$ac_exeext conftest.$ac_ext ;;
   5924 esac
   5925 fi
   5926 
   5927 
   5928 		CFLAGS="$xorg_testset_save_CFLAGS"
   5929 
   5930 		eval supported=\$$cacheid
   5931 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5932 printf '%s\n' "$supported" >&6; }
   5933 		if test "$supported" = "yes" ; then
   5934 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5935 			found="yes"
   5936 		fi
   5937 	fi
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 xorg_testset_save_CFLAGS="$CFLAGS"
   5956 
   5957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else case e in #(
   5965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 _ACEOF
   5969 if ac_fn_c_try_compile "$LINENO"
   5970 then :
   5971   xorg_cv_cc_flag_unknown_warning_option=yes
   5972 else case e in #(
   5973   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5974 esac
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5977 esac
   5978 fi
   5979 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5980 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5988 	fi
   5989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5990 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5993 then :
   5994   printf %s "(cached) " >&6
   5995 else case e in #(
   5996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5997 /* end confdefs.h.  */
   5998 int i;
   5999 _ACEOF
   6000 if ac_fn_c_try_compile "$LINENO"
   6001 then :
   6002   xorg_cv_cc_flag_unused_command_line_argument=yes
   6003 else case e in #(
   6004   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6005 esac
   6006 fi
   6007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6008 esac
   6009 fi
   6010 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6011 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6013 	CFLAGS="$xorg_testset_save_CFLAGS"
   6014 fi
   6015 
   6016 found="no"
   6017 
   6018 	if test $found = "no" ; then
   6019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6021 		fi
   6022 
   6023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6025 		fi
   6026 
   6027 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6028 
   6029 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6030 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6031 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6032 		if eval test \${$cacheid+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else case e in #(
   6036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6037 /* end confdefs.h.  */
   6038 int i;
   6039 int
   6040 main (void)
   6041 {
   6042 
   6043   ;
   6044   return 0;
   6045 }
   6046 _ACEOF
   6047 if ac_fn_c_try_link "$LINENO"
   6048 then :
   6049   eval $cacheid=yes
   6050 else case e in #(
   6051   e) eval $cacheid=no ;;
   6052 esac
   6053 fi
   6054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6055     conftest$ac_exeext conftest.$ac_ext ;;
   6056 esac
   6057 fi
   6058 
   6059 
   6060 		CFLAGS="$xorg_testset_save_CFLAGS"
   6061 
   6062 		eval supported=\$$cacheid
   6063 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6064 printf '%s\n' "$supported" >&6; }
   6065 		if test "$supported" = "yes" ; then
   6066 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6067 			found="yes"
   6068 		fi
   6069 	fi
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 xorg_testset_save_CFLAGS="$CFLAGS"
   6086 
   6087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6089 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6090 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6091 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6092 then :
   6093   printf %s "(cached) " >&6
   6094 else case e in #(
   6095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6096 /* end confdefs.h.  */
   6097 int i;
   6098 _ACEOF
   6099 if ac_fn_c_try_compile "$LINENO"
   6100 then :
   6101   xorg_cv_cc_flag_unknown_warning_option=yes
   6102 else case e in #(
   6103   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6104 esac
   6105 fi
   6106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6107 esac
   6108 fi
   6109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6110 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6112 	CFLAGS="$xorg_testset_save_CFLAGS"
   6113 fi
   6114 
   6115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6118 	fi
   6119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6120 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6123 then :
   6124   printf %s "(cached) " >&6
   6125 else case e in #(
   6126   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"
   6131 then :
   6132   xorg_cv_cc_flag_unused_command_line_argument=yes
   6133 else case e in #(
   6134   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6135 esac
   6136 fi
   6137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6138 esac
   6139 fi
   6140 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6141 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6143 	CFLAGS="$xorg_testset_save_CFLAGS"
   6144 fi
   6145 
   6146 found="no"
   6147 
   6148 	if test $found = "no" ; then
   6149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6151 		fi
   6152 
   6153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 		fi
   6156 
   6157 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6158 
   6159 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6160 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6161 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6162 		if eval test \${$cacheid+y}
   6163 then :
   6164   printf %s "(cached) " >&6
   6165 else case e in #(
   6166   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 int
   6170 main (void)
   6171 {
   6172 
   6173   ;
   6174   return 0;
   6175 }
   6176 _ACEOF
   6177 if ac_fn_c_try_link "$LINENO"
   6178 then :
   6179   eval $cacheid=yes
   6180 else case e in #(
   6181   e) eval $cacheid=no ;;
   6182 esac
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6185     conftest$ac_exeext conftest.$ac_ext ;;
   6186 esac
   6187 fi
   6188 
   6189 
   6190 		CFLAGS="$xorg_testset_save_CFLAGS"
   6191 
   6192 		eval supported=\$$cacheid
   6193 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6194 printf '%s\n' "$supported" >&6; }
   6195 		if test "$supported" = "yes" ; then
   6196 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6197 			found="yes"
   6198 		fi
   6199 	fi
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 xorg_testset_save_CFLAGS="$CFLAGS"
   6216 
   6217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6219 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6220 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6221 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6222 then :
   6223   printf %s "(cached) " >&6
   6224 else case e in #(
   6225   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6226 /* end confdefs.h.  */
   6227 int i;
   6228 _ACEOF
   6229 if ac_fn_c_try_compile "$LINENO"
   6230 then :
   6231   xorg_cv_cc_flag_unknown_warning_option=yes
   6232 else case e in #(
   6233   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6234 esac
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6237 esac
   6238 fi
   6239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6240 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 	fi
   6249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6250 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6251 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6252 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6253 then :
   6254   printf %s "(cached) " >&6
   6255 else case e in #(
   6256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 _ACEOF
   6260 if ac_fn_c_try_compile "$LINENO"
   6261 then :
   6262   xorg_cv_cc_flag_unused_command_line_argument=yes
   6263 else case e in #(
   6264   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6265 esac
   6266 fi
   6267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6268 esac
   6269 fi
   6270 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6271 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6273 	CFLAGS="$xorg_testset_save_CFLAGS"
   6274 fi
   6275 
   6276 found="no"
   6277 
   6278 	if test $found = "no" ; then
   6279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6281 		fi
   6282 
   6283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6285 		fi
   6286 
   6287 		CFLAGS="$CFLAGS -Wnested-externs"
   6288 
   6289 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6290 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6291 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6292 		if eval test \${$cacheid+y}
   6293 then :
   6294   printf %s "(cached) " >&6
   6295 else case e in #(
   6296   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6297 /* end confdefs.h.  */
   6298 int i;
   6299 int
   6300 main (void)
   6301 {
   6302 
   6303   ;
   6304   return 0;
   6305 }
   6306 _ACEOF
   6307 if ac_fn_c_try_link "$LINENO"
   6308 then :
   6309   eval $cacheid=yes
   6310 else case e in #(
   6311   e) eval $cacheid=no ;;
   6312 esac
   6313 fi
   6314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6315     conftest$ac_exeext conftest.$ac_ext ;;
   6316 esac
   6317 fi
   6318 
   6319 
   6320 		CFLAGS="$xorg_testset_save_CFLAGS"
   6321 
   6322 		eval supported=\$$cacheid
   6323 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6324 printf '%s\n' "$supported" >&6; }
   6325 		if test "$supported" = "yes" ; then
   6326 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6327 			found="yes"
   6328 		fi
   6329 	fi
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 xorg_testset_save_CFLAGS="$CFLAGS"
   6346 
   6347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6350 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6351 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6352 then :
   6353   printf %s "(cached) " >&6
   6354 else case e in #(
   6355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6356 /* end confdefs.h.  */
   6357 int i;
   6358 _ACEOF
   6359 if ac_fn_c_try_compile "$LINENO"
   6360 then :
   6361   xorg_cv_cc_flag_unknown_warning_option=yes
   6362 else case e in #(
   6363   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6364 esac
   6365 fi
   6366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6367 esac
   6368 fi
   6369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6370 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6372 	CFLAGS="$xorg_testset_save_CFLAGS"
   6373 fi
   6374 
   6375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6378 	fi
   6379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6380 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6381 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6382 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6383 then :
   6384   printf %s "(cached) " >&6
   6385 else case e in #(
   6386   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6387 /* end confdefs.h.  */
   6388 int i;
   6389 _ACEOF
   6390 if ac_fn_c_try_compile "$LINENO"
   6391 then :
   6392   xorg_cv_cc_flag_unused_command_line_argument=yes
   6393 else case e in #(
   6394   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6395 esac
   6396 fi
   6397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6398 esac
   6399 fi
   6400 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6401 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6403 	CFLAGS="$xorg_testset_save_CFLAGS"
   6404 fi
   6405 
   6406 found="no"
   6407 
   6408 	if test $found = "no" ; then
   6409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6411 		fi
   6412 
   6413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6415 		fi
   6416 
   6417 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6418 
   6419 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6420 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6421 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6422 		if eval test \${$cacheid+y}
   6423 then :
   6424   printf %s "(cached) " >&6
   6425 else case e in #(
   6426   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6427 /* end confdefs.h.  */
   6428 int i;
   6429 int
   6430 main (void)
   6431 {
   6432 
   6433   ;
   6434   return 0;
   6435 }
   6436 _ACEOF
   6437 if ac_fn_c_try_link "$LINENO"
   6438 then :
   6439   eval $cacheid=yes
   6440 else case e in #(
   6441   e) eval $cacheid=no ;;
   6442 esac
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6445     conftest$ac_exeext conftest.$ac_ext ;;
   6446 esac
   6447 fi
   6448 
   6449 
   6450 		CFLAGS="$xorg_testset_save_CFLAGS"
   6451 
   6452 		eval supported=\$$cacheid
   6453 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6454 printf '%s\n' "$supported" >&6; }
   6455 		if test "$supported" = "yes" ; then
   6456 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6457 			found="yes"
   6458 		fi
   6459 	fi
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 xorg_testset_save_CFLAGS="$CFLAGS"
   6476 
   6477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6479 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6480 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6481 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6482 then :
   6483   printf %s "(cached) " >&6
   6484 else case e in #(
   6485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6486 /* end confdefs.h.  */
   6487 int i;
   6488 _ACEOF
   6489 if ac_fn_c_try_compile "$LINENO"
   6490 then :
   6491   xorg_cv_cc_flag_unknown_warning_option=yes
   6492 else case e in #(
   6493   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6494 esac
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6497 esac
   6498 fi
   6499 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6500 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6502 	CFLAGS="$xorg_testset_save_CFLAGS"
   6503 fi
   6504 
   6505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6508 	fi
   6509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6510 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6511 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6512 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6513 then :
   6514   printf %s "(cached) " >&6
   6515 else case e in #(
   6516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6517 /* end confdefs.h.  */
   6518 int i;
   6519 _ACEOF
   6520 if ac_fn_c_try_compile "$LINENO"
   6521 then :
   6522   xorg_cv_cc_flag_unused_command_line_argument=yes
   6523 else case e in #(
   6524   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6525 esac
   6526 fi
   6527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6528 esac
   6529 fi
   6530 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6531 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6533 	CFLAGS="$xorg_testset_save_CFLAGS"
   6534 fi
   6535 
   6536 found="no"
   6537 
   6538 	if test $found = "no" ; then
   6539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6541 		fi
   6542 
   6543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6545 		fi
   6546 
   6547 		CFLAGS="$CFLAGS -Wold-style-definition"
   6548 
   6549 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6550 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6551 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6552 		if eval test \${$cacheid+y}
   6553 then :
   6554   printf %s "(cached) " >&6
   6555 else case e in #(
   6556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 int
   6560 main (void)
   6561 {
   6562 
   6563   ;
   6564   return 0;
   6565 }
   6566 _ACEOF
   6567 if ac_fn_c_try_link "$LINENO"
   6568 then :
   6569   eval $cacheid=yes
   6570 else case e in #(
   6571   e) eval $cacheid=no ;;
   6572 esac
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6575     conftest$ac_exeext conftest.$ac_ext ;;
   6576 esac
   6577 fi
   6578 
   6579 
   6580 		CFLAGS="$xorg_testset_save_CFLAGS"
   6581 
   6582 		eval supported=\$$cacheid
   6583 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6584 printf '%s\n' "$supported" >&6; }
   6585 		if test "$supported" = "yes" ; then
   6586 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6587 			found="yes"
   6588 		fi
   6589 	fi
   6590 
   6591 	if test $found = "no" ; then
   6592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 		fi
   6595 
   6596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6598 		fi
   6599 
   6600 		CFLAGS="$CFLAGS -fd"
   6601 
   6602 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6603 printf %s "checking if $CC supports -fd... " >&6; }
   6604 		cacheid=xorg_cv_cc_flag__fd
   6605 		if eval test \${$cacheid+y}
   6606 then :
   6607   printf %s "(cached) " >&6
   6608 else case e in #(
   6609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 int
   6613 main (void)
   6614 {
   6615 
   6616   ;
   6617   return 0;
   6618 }
   6619 _ACEOF
   6620 if ac_fn_c_try_link "$LINENO"
   6621 then :
   6622   eval $cacheid=yes
   6623 else case e in #(
   6624   e) eval $cacheid=no ;;
   6625 esac
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6628     conftest$ac_exeext conftest.$ac_ext ;;
   6629 esac
   6630 fi
   6631 
   6632 
   6633 		CFLAGS="$xorg_testset_save_CFLAGS"
   6634 
   6635 		eval supported=\$$cacheid
   6636 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6637 printf '%s\n' "$supported" >&6; }
   6638 		if test "$supported" = "yes" ; then
   6639 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6640 			found="yes"
   6641 		fi
   6642 	fi
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 # This chunk adds additional warnings that could catch undesired effects.
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 xorg_testset_save_CFLAGS="$CFLAGS"
   6663 
   6664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6666 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6667 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6668 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6669 then :
   6670   printf %s "(cached) " >&6
   6671 else case e in #(
   6672   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6673 /* end confdefs.h.  */
   6674 int i;
   6675 _ACEOF
   6676 if ac_fn_c_try_compile "$LINENO"
   6677 then :
   6678   xorg_cv_cc_flag_unknown_warning_option=yes
   6679 else case e in #(
   6680   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6681 esac
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6684 esac
   6685 fi
   6686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6687 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6688 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6689 	CFLAGS="$xorg_testset_save_CFLAGS"
   6690 fi
   6691 
   6692 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6693 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6694 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6695 	fi
   6696 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6697 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6698 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6699 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6704 /* end confdefs.h.  */
   6705 int i;
   6706 _ACEOF
   6707 if ac_fn_c_try_compile "$LINENO"
   6708 then :
   6709   xorg_cv_cc_flag_unused_command_line_argument=yes
   6710 else case e in #(
   6711   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6712 esac
   6713 fi
   6714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6715 esac
   6716 fi
   6717 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6718 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6720 	CFLAGS="$xorg_testset_save_CFLAGS"
   6721 fi
   6722 
   6723 found="no"
   6724 
   6725 	if test $found = "no" ; then
   6726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6728 		fi
   6729 
   6730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6732 		fi
   6733 
   6734 		CFLAGS="$CFLAGS -Wunused"
   6735 
   6736 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6737 printf %s "checking if $CC supports -Wunused... " >&6; }
   6738 		cacheid=xorg_cv_cc_flag__Wunused
   6739 		if eval test \${$cacheid+y}
   6740 then :
   6741   printf %s "(cached) " >&6
   6742 else case e in #(
   6743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 int
   6747 main (void)
   6748 {
   6749 
   6750   ;
   6751   return 0;
   6752 }
   6753 _ACEOF
   6754 if ac_fn_c_try_link "$LINENO"
   6755 then :
   6756   eval $cacheid=yes
   6757 else case e in #(
   6758   e) eval $cacheid=no ;;
   6759 esac
   6760 fi
   6761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6762     conftest$ac_exeext conftest.$ac_ext ;;
   6763 esac
   6764 fi
   6765 
   6766 
   6767 		CFLAGS="$xorg_testset_save_CFLAGS"
   6768 
   6769 		eval supported=\$$cacheid
   6770 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6771 printf '%s\n' "$supported" >&6; }
   6772 		if test "$supported" = "yes" ; then
   6773 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6774 			found="yes"
   6775 		fi
   6776 	fi
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 xorg_testset_save_CFLAGS="$CFLAGS"
   6793 
   6794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6796 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6797 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6798 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6799 then :
   6800   printf %s "(cached) " >&6
   6801 else case e in #(
   6802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6803 /* end confdefs.h.  */
   6804 int i;
   6805 _ACEOF
   6806 if ac_fn_c_try_compile "$LINENO"
   6807 then :
   6808   xorg_cv_cc_flag_unknown_warning_option=yes
   6809 else case e in #(
   6810   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6811 esac
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6814 esac
   6815 fi
   6816 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6817 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6819 	CFLAGS="$xorg_testset_save_CFLAGS"
   6820 fi
   6821 
   6822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6825 	fi
   6826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6827 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6830 then :
   6831   printf %s "(cached) " >&6
   6832 else case e in #(
   6833   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6834 /* end confdefs.h.  */
   6835 int i;
   6836 _ACEOF
   6837 if ac_fn_c_try_compile "$LINENO"
   6838 then :
   6839   xorg_cv_cc_flag_unused_command_line_argument=yes
   6840 else case e in #(
   6841   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6842 esac
   6843 fi
   6844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6845 esac
   6846 fi
   6847 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6848 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6850 	CFLAGS="$xorg_testset_save_CFLAGS"
   6851 fi
   6852 
   6853 found="no"
   6854 
   6855 	if test $found = "no" ; then
   6856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 		fi
   6859 
   6860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6862 		fi
   6863 
   6864 		CFLAGS="$CFLAGS -Wuninitialized"
   6865 
   6866 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6867 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6868 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6869 		if eval test \${$cacheid+y}
   6870 then :
   6871   printf %s "(cached) " >&6
   6872 else case e in #(
   6873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 int
   6877 main (void)
   6878 {
   6879 
   6880   ;
   6881   return 0;
   6882 }
   6883 _ACEOF
   6884 if ac_fn_c_try_link "$LINENO"
   6885 then :
   6886   eval $cacheid=yes
   6887 else case e in #(
   6888   e) eval $cacheid=no ;;
   6889 esac
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6892     conftest$ac_exeext conftest.$ac_ext ;;
   6893 esac
   6894 fi
   6895 
   6896 
   6897 		CFLAGS="$xorg_testset_save_CFLAGS"
   6898 
   6899 		eval supported=\$$cacheid
   6900 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6901 printf '%s\n' "$supported" >&6; }
   6902 		if test "$supported" = "yes" ; then
   6903 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6904 			found="yes"
   6905 		fi
   6906 	fi
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 xorg_testset_save_CFLAGS="$CFLAGS"
   6923 
   6924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6926 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6927 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6928 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6929 then :
   6930   printf %s "(cached) " >&6
   6931 else case e in #(
   6932   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6933 /* end confdefs.h.  */
   6934 int i;
   6935 _ACEOF
   6936 if ac_fn_c_try_compile "$LINENO"
   6937 then :
   6938   xorg_cv_cc_flag_unknown_warning_option=yes
   6939 else case e in #(
   6940   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6941 esac
   6942 fi
   6943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6944 esac
   6945 fi
   6946 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6947 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6949 	CFLAGS="$xorg_testset_save_CFLAGS"
   6950 fi
   6951 
   6952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6955 	fi
   6956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6957 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6958 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6959 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6960 then :
   6961   printf %s "(cached) " >&6
   6962 else case e in #(
   6963   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6964 /* end confdefs.h.  */
   6965 int i;
   6966 _ACEOF
   6967 if ac_fn_c_try_compile "$LINENO"
   6968 then :
   6969   xorg_cv_cc_flag_unused_command_line_argument=yes
   6970 else case e in #(
   6971   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6972 esac
   6973 fi
   6974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6975 esac
   6976 fi
   6977 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6978 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6980 	CFLAGS="$xorg_testset_save_CFLAGS"
   6981 fi
   6982 
   6983 found="no"
   6984 
   6985 	if test $found = "no" ; then
   6986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 		fi
   6989 
   6990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6992 		fi
   6993 
   6994 		CFLAGS="$CFLAGS -Wshadow"
   6995 
   6996 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6997 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6998 		cacheid=xorg_cv_cc_flag__Wshadow
   6999 		if eval test \${$cacheid+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else case e in #(
   7003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 int
   7007 main (void)
   7008 {
   7009 
   7010   ;
   7011   return 0;
   7012 }
   7013 _ACEOF
   7014 if ac_fn_c_try_link "$LINENO"
   7015 then :
   7016   eval $cacheid=yes
   7017 else case e in #(
   7018   e) eval $cacheid=no ;;
   7019 esac
   7020 fi
   7021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7022     conftest$ac_exeext conftest.$ac_ext ;;
   7023 esac
   7024 fi
   7025 
   7026 
   7027 		CFLAGS="$xorg_testset_save_CFLAGS"
   7028 
   7029 		eval supported=\$$cacheid
   7030 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7031 printf '%s\n' "$supported" >&6; }
   7032 		if test "$supported" = "yes" ; then
   7033 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   7034 			found="yes"
   7035 		fi
   7036 	fi
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 xorg_testset_save_CFLAGS="$CFLAGS"
   7053 
   7054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7056 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7057 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7058 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7059 then :
   7060   printf %s "(cached) " >&6
   7061 else case e in #(
   7062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 int i;
   7065 _ACEOF
   7066 if ac_fn_c_try_compile "$LINENO"
   7067 then :
   7068   xorg_cv_cc_flag_unknown_warning_option=yes
   7069 else case e in #(
   7070   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7071 esac
   7072 fi
   7073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7074 esac
   7075 fi
   7076 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7077 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7078 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7079 	CFLAGS="$xorg_testset_save_CFLAGS"
   7080 fi
   7081 
   7082 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7083 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7084 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7085 	fi
   7086 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7087 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7088 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7089 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7090 then :
   7091   printf %s "(cached) " >&6
   7092 else case e in #(
   7093   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7094 /* end confdefs.h.  */
   7095 int i;
   7096 _ACEOF
   7097 if ac_fn_c_try_compile "$LINENO"
   7098 then :
   7099   xorg_cv_cc_flag_unused_command_line_argument=yes
   7100 else case e in #(
   7101   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7102 esac
   7103 fi
   7104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7105 esac
   7106 fi
   7107 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7108 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7110 	CFLAGS="$xorg_testset_save_CFLAGS"
   7111 fi
   7112 
   7113 found="no"
   7114 
   7115 	if test $found = "no" ; then
   7116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 		fi
   7119 
   7120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7122 		fi
   7123 
   7124 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   7125 
   7126 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7127 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7128 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   7129 		if eval test \${$cacheid+y}
   7130 then :
   7131   printf %s "(cached) " >&6
   7132 else case e in #(
   7133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 int
   7137 main (void)
   7138 {
   7139 
   7140   ;
   7141   return 0;
   7142 }
   7143 _ACEOF
   7144 if ac_fn_c_try_link "$LINENO"
   7145 then :
   7146   eval $cacheid=yes
   7147 else case e in #(
   7148   e) eval $cacheid=no ;;
   7149 esac
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7152     conftest$ac_exeext conftest.$ac_ext ;;
   7153 esac
   7154 fi
   7155 
   7156 
   7157 		CFLAGS="$xorg_testset_save_CFLAGS"
   7158 
   7159 		eval supported=\$$cacheid
   7160 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7161 printf '%s\n' "$supported" >&6; }
   7162 		if test "$supported" = "yes" ; then
   7163 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7164 			found="yes"
   7165 		fi
   7166 	fi
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 xorg_testset_save_CFLAGS="$CFLAGS"
   7183 
   7184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7186 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7187 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7188 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7189 then :
   7190   printf %s "(cached) " >&6
   7191 else case e in #(
   7192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 int i;
   7195 _ACEOF
   7196 if ac_fn_c_try_compile "$LINENO"
   7197 then :
   7198   xorg_cv_cc_flag_unknown_warning_option=yes
   7199 else case e in #(
   7200   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7201 esac
   7202 fi
   7203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7204 esac
   7205 fi
   7206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7207 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7209 	CFLAGS="$xorg_testset_save_CFLAGS"
   7210 fi
   7211 
   7212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 	fi
   7216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7217 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7218 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7219 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7220 then :
   7221   printf %s "(cached) " >&6
   7222 else case e in #(
   7223   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"
   7228 then :
   7229   xorg_cv_cc_flag_unused_command_line_argument=yes
   7230 else case e in #(
   7231   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7232 esac
   7233 fi
   7234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7235 esac
   7236 fi
   7237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7238 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 found="no"
   7244 
   7245 	if test $found = "no" ; then
   7246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 		fi
   7249 
   7250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7252 		fi
   7253 
   7254 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7255 
   7256 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7257 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7258 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7259 		if eval test \${$cacheid+y}
   7260 then :
   7261   printf %s "(cached) " >&6
   7262 else case e in #(
   7263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7264 /* end confdefs.h.  */
   7265 int i;
   7266 int
   7267 main (void)
   7268 {
   7269 
   7270   ;
   7271   return 0;
   7272 }
   7273 _ACEOF
   7274 if ac_fn_c_try_link "$LINENO"
   7275 then :
   7276   eval $cacheid=yes
   7277 else case e in #(
   7278   e) eval $cacheid=no ;;
   7279 esac
   7280 fi
   7281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7282     conftest$ac_exeext conftest.$ac_ext ;;
   7283 esac
   7284 fi
   7285 
   7286 
   7287 		CFLAGS="$xorg_testset_save_CFLAGS"
   7288 
   7289 		eval supported=\$$cacheid
   7290 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7291 printf '%s\n' "$supported" >&6; }
   7292 		if test "$supported" = "yes" ; then
   7293 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7294 			found="yes"
   7295 		fi
   7296 	fi
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 xorg_testset_save_CFLAGS="$CFLAGS"
   7313 
   7314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7316 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7319 then :
   7320   printf %s "(cached) " >&6
   7321 else case e in #(
   7322   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7323 /* end confdefs.h.  */
   7324 int i;
   7325 _ACEOF
   7326 if ac_fn_c_try_compile "$LINENO"
   7327 then :
   7328   xorg_cv_cc_flag_unknown_warning_option=yes
   7329 else case e in #(
   7330   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7331 esac
   7332 fi
   7333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7334 esac
   7335 fi
   7336 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7337 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7339 	CFLAGS="$xorg_testset_save_CFLAGS"
   7340 fi
   7341 
   7342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7345 	fi
   7346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7347 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7350 then :
   7351   printf %s "(cached) " >&6
   7352 else case e in #(
   7353   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7354 /* end confdefs.h.  */
   7355 int i;
   7356 _ACEOF
   7357 if ac_fn_c_try_compile "$LINENO"
   7358 then :
   7359   xorg_cv_cc_flag_unused_command_line_argument=yes
   7360 else case e in #(
   7361   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7362 esac
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7365 esac
   7366 fi
   7367 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7368 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7370 	CFLAGS="$xorg_testset_save_CFLAGS"
   7371 fi
   7372 
   7373 found="no"
   7374 
   7375 	if test $found = "no" ; then
   7376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7378 		fi
   7379 
   7380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7382 		fi
   7383 
   7384 		CFLAGS="$CFLAGS -Wredundant-decls"
   7385 
   7386 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7387 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7388 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7389 		if eval test \${$cacheid+y}
   7390 then :
   7391   printf %s "(cached) " >&6
   7392 else case e in #(
   7393   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7394 /* end confdefs.h.  */
   7395 int i;
   7396 int
   7397 main (void)
   7398 {
   7399 
   7400   ;
   7401   return 0;
   7402 }
   7403 _ACEOF
   7404 if ac_fn_c_try_link "$LINENO"
   7405 then :
   7406   eval $cacheid=yes
   7407 else case e in #(
   7408   e) eval $cacheid=no ;;
   7409 esac
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7412     conftest$ac_exeext conftest.$ac_ext ;;
   7413 esac
   7414 fi
   7415 
   7416 
   7417 		CFLAGS="$xorg_testset_save_CFLAGS"
   7418 
   7419 		eval supported=\$$cacheid
   7420 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7421 printf '%s\n' "$supported" >&6; }
   7422 		if test "$supported" = "yes" ; then
   7423 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7424 			found="yes"
   7425 		fi
   7426 	fi
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 xorg_testset_save_CFLAGS="$CFLAGS"
   7443 
   7444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7446 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7449 then :
   7450   printf %s "(cached) " >&6
   7451 else case e in #(
   7452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7453 /* end confdefs.h.  */
   7454 int i;
   7455 _ACEOF
   7456 if ac_fn_c_try_compile "$LINENO"
   7457 then :
   7458   xorg_cv_cc_flag_unknown_warning_option=yes
   7459 else case e in #(
   7460   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7461 esac
   7462 fi
   7463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7464 esac
   7465 fi
   7466 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7467 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7469 	CFLAGS="$xorg_testset_save_CFLAGS"
   7470 fi
   7471 
   7472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7475 	fi
   7476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7480 then :
   7481   printf %s "(cached) " >&6
   7482 else case e in #(
   7483   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 _ACEOF
   7487 if ac_fn_c_try_compile "$LINENO"
   7488 then :
   7489   xorg_cv_cc_flag_unused_command_line_argument=yes
   7490 else case e in #(
   7491   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7492 esac
   7493 fi
   7494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7495 esac
   7496 fi
   7497 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7498 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7500 	CFLAGS="$xorg_testset_save_CFLAGS"
   7501 fi
   7502 
   7503 found="no"
   7504 
   7505 	if test $found = "no" ; then
   7506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7508 		fi
   7509 
   7510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7512 		fi
   7513 
   7514 		CFLAGS="$CFLAGS -Wlogical-op"
   7515 
   7516 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7517 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7518 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7519 		if eval test \${$cacheid+y}
   7520 then :
   7521   printf %s "(cached) " >&6
   7522 else case e in #(
   7523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524 /* end confdefs.h.  */
   7525 int i;
   7526 int
   7527 main (void)
   7528 {
   7529 
   7530   ;
   7531   return 0;
   7532 }
   7533 _ACEOF
   7534 if ac_fn_c_try_link "$LINENO"
   7535 then :
   7536   eval $cacheid=yes
   7537 else case e in #(
   7538   e) eval $cacheid=no ;;
   7539 esac
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7542     conftest$ac_exeext conftest.$ac_ext ;;
   7543 esac
   7544 fi
   7545 
   7546 
   7547 		CFLAGS="$xorg_testset_save_CFLAGS"
   7548 
   7549 		eval supported=\$$cacheid
   7550 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7551 printf '%s\n' "$supported" >&6; }
   7552 		if test "$supported" = "yes" ; then
   7553 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7554 			found="yes"
   7555 		fi
   7556 	fi
   7557 
   7558 
   7559 
   7560 # These are currently disabled because they are noisy.  They will be enabled
   7561 # in the future once the codebase is sufficiently modernized to silence
   7562 # them.  For now, I don't want them to drown out the other warnings.
   7563 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7564 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7565 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7566 
   7567 # Turn some warnings into errors, so we don't accidentally get successful builds
   7568 # when there are problems that should be fixed.
   7569 
   7570 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 xorg_testset_save_CFLAGS="$CFLAGS"
   7585 
   7586 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7588 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7589 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7590 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7591 then :
   7592   printf %s "(cached) " >&6
   7593 else case e in #(
   7594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7595 /* end confdefs.h.  */
   7596 int i;
   7597 _ACEOF
   7598 if ac_fn_c_try_compile "$LINENO"
   7599 then :
   7600   xorg_cv_cc_flag_unknown_warning_option=yes
   7601 else case e in #(
   7602   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7603 esac
   7604 fi
   7605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7606 esac
   7607 fi
   7608 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7609 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7611 	CFLAGS="$xorg_testset_save_CFLAGS"
   7612 fi
   7613 
   7614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7617 	fi
   7618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7619 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7620 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7621 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7622 then :
   7623   printf %s "(cached) " >&6
   7624 else case e in #(
   7625   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7626 /* end confdefs.h.  */
   7627 int i;
   7628 _ACEOF
   7629 if ac_fn_c_try_compile "$LINENO"
   7630 then :
   7631   xorg_cv_cc_flag_unused_command_line_argument=yes
   7632 else case e in #(
   7633   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7634 esac
   7635 fi
   7636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7637 esac
   7638 fi
   7639 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7640 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7642 	CFLAGS="$xorg_testset_save_CFLAGS"
   7643 fi
   7644 
   7645 found="no"
   7646 
   7647 	if test $found = "no" ; then
   7648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7650 		fi
   7651 
   7652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 		fi
   7655 
   7656 		CFLAGS="$CFLAGS -Werror=implicit"
   7657 
   7658 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7659 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7660 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7661 		if eval test \${$cacheid+y}
   7662 then :
   7663   printf %s "(cached) " >&6
   7664 else case e in #(
   7665   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7666 /* end confdefs.h.  */
   7667 int i;
   7668 int
   7669 main (void)
   7670 {
   7671 
   7672   ;
   7673   return 0;
   7674 }
   7675 _ACEOF
   7676 if ac_fn_c_try_link "$LINENO"
   7677 then :
   7678   eval $cacheid=yes
   7679 else case e in #(
   7680   e) eval $cacheid=no ;;
   7681 esac
   7682 fi
   7683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7684     conftest$ac_exeext conftest.$ac_ext ;;
   7685 esac
   7686 fi
   7687 
   7688 
   7689 		CFLAGS="$xorg_testset_save_CFLAGS"
   7690 
   7691 		eval supported=\$$cacheid
   7692 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7693 printf '%s\n' "$supported" >&6; }
   7694 		if test "$supported" = "yes" ; then
   7695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7696 			found="yes"
   7697 		fi
   7698 	fi
   7699 
   7700 	if test $found = "no" ; then
   7701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7703 		fi
   7704 
   7705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7707 		fi
   7708 
   7709 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7710 
   7711 		{ 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
   7712 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7713 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7714 		if eval test \${$cacheid+y}
   7715 then :
   7716   printf %s "(cached) " >&6
   7717 else case e in #(
   7718   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 int
   7722 main (void)
   7723 {
   7724 
   7725   ;
   7726   return 0;
   7727 }
   7728 _ACEOF
   7729 if ac_fn_c_try_link "$LINENO"
   7730 then :
   7731   eval $cacheid=yes
   7732 else case e in #(
   7733   e) eval $cacheid=no ;;
   7734 esac
   7735 fi
   7736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7737     conftest$ac_exeext conftest.$ac_ext ;;
   7738 esac
   7739 fi
   7740 
   7741 
   7742 		CFLAGS="$xorg_testset_save_CFLAGS"
   7743 
   7744 		eval supported=\$$cacheid
   7745 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7746 printf '%s\n' "$supported" >&6; }
   7747 		if test "$supported" = "yes" ; then
   7748 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7749 			found="yes"
   7750 		fi
   7751 	fi
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 xorg_testset_save_CFLAGS="$CFLAGS"
   7768 
   7769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7771 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7772 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7773 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7774 then :
   7775   printf %s "(cached) " >&6
   7776 else case e in #(
   7777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 int i;
   7780 _ACEOF
   7781 if ac_fn_c_try_compile "$LINENO"
   7782 then :
   7783   xorg_cv_cc_flag_unknown_warning_option=yes
   7784 else case e in #(
   7785   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7786 esac
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7789 esac
   7790 fi
   7791 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7792 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7794 	CFLAGS="$xorg_testset_save_CFLAGS"
   7795 fi
   7796 
   7797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	fi
   7801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7802 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7803 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7804 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7805 then :
   7806   printf %s "(cached) " >&6
   7807 else case e in #(
   7808   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"
   7813 then :
   7814   xorg_cv_cc_flag_unused_command_line_argument=yes
   7815 else case e in #(
   7816   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7817 esac
   7818 fi
   7819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7820 esac
   7821 fi
   7822 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7823 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7825 	CFLAGS="$xorg_testset_save_CFLAGS"
   7826 fi
   7827 
   7828 found="no"
   7829 
   7830 	if test $found = "no" ; then
   7831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7833 		fi
   7834 
   7835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7837 		fi
   7838 
   7839 		CFLAGS="$CFLAGS -Werror=nonnull"
   7840 
   7841 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7842 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7843 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7844 		if eval test \${$cacheid+y}
   7845 then :
   7846   printf %s "(cached) " >&6
   7847 else case e in #(
   7848   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 int
   7852 main (void)
   7853 {
   7854 
   7855   ;
   7856   return 0;
   7857 }
   7858 _ACEOF
   7859 if ac_fn_c_try_link "$LINENO"
   7860 then :
   7861   eval $cacheid=yes
   7862 else case e in #(
   7863   e) eval $cacheid=no ;;
   7864 esac
   7865 fi
   7866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7867     conftest$ac_exeext conftest.$ac_ext ;;
   7868 esac
   7869 fi
   7870 
   7871 
   7872 		CFLAGS="$xorg_testset_save_CFLAGS"
   7873 
   7874 		eval supported=\$$cacheid
   7875 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7876 printf '%s\n' "$supported" >&6; }
   7877 		if test "$supported" = "yes" ; then
   7878 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7879 			found="yes"
   7880 		fi
   7881 	fi
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 xorg_testset_save_CFLAGS="$CFLAGS"
   7898 
   7899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7901 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7904 then :
   7905   printf %s "(cached) " >&6
   7906 else case e in #(
   7907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 int i;
   7910 _ACEOF
   7911 if ac_fn_c_try_compile "$LINENO"
   7912 then :
   7913   xorg_cv_cc_flag_unknown_warning_option=yes
   7914 else case e in #(
   7915   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7916 esac
   7917 fi
   7918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7919 esac
   7920 fi
   7921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7922 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7924 	CFLAGS="$xorg_testset_save_CFLAGS"
   7925 fi
   7926 
   7927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7930 	fi
   7931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7932 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7933 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7934 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7935 then :
   7936   printf %s "(cached) " >&6
   7937 else case e in #(
   7938   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7939 /* end confdefs.h.  */
   7940 int i;
   7941 _ACEOF
   7942 if ac_fn_c_try_compile "$LINENO"
   7943 then :
   7944   xorg_cv_cc_flag_unused_command_line_argument=yes
   7945 else case e in #(
   7946   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7947 esac
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7950 esac
   7951 fi
   7952 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7953 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7955 	CFLAGS="$xorg_testset_save_CFLAGS"
   7956 fi
   7957 
   7958 found="no"
   7959 
   7960 	if test $found = "no" ; then
   7961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7963 		fi
   7964 
   7965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7967 		fi
   7968 
   7969 		CFLAGS="$CFLAGS -Werror=init-self"
   7970 
   7971 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7972 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7973 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7974 		if eval test \${$cacheid+y}
   7975 then :
   7976   printf %s "(cached) " >&6
   7977 else case e in #(
   7978   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 int i;
   7981 int
   7982 main (void)
   7983 {
   7984 
   7985   ;
   7986   return 0;
   7987 }
   7988 _ACEOF
   7989 if ac_fn_c_try_link "$LINENO"
   7990 then :
   7991   eval $cacheid=yes
   7992 else case e in #(
   7993   e) eval $cacheid=no ;;
   7994 esac
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7997     conftest$ac_exeext conftest.$ac_ext ;;
   7998 esac
   7999 fi
   8000 
   8001 
   8002 		CFLAGS="$xorg_testset_save_CFLAGS"
   8003 
   8004 		eval supported=\$$cacheid
   8005 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8006 printf '%s\n' "$supported" >&6; }
   8007 		if test "$supported" = "yes" ; then
   8008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8009 			found="yes"
   8010 		fi
   8011 	fi
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 xorg_testset_save_CFLAGS="$CFLAGS"
   8028 
   8029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8031 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8032 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8033 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8034 then :
   8035   printf %s "(cached) " >&6
   8036 else case e in #(
   8037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8038 /* end confdefs.h.  */
   8039 int i;
   8040 _ACEOF
   8041 if ac_fn_c_try_compile "$LINENO"
   8042 then :
   8043   xorg_cv_cc_flag_unknown_warning_option=yes
   8044 else case e in #(
   8045   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8046 esac
   8047 fi
   8048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8049 esac
   8050 fi
   8051 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8052 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8054 	CFLAGS="$xorg_testset_save_CFLAGS"
   8055 fi
   8056 
   8057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8060 	fi
   8061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8062 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8063 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8064 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8065 then :
   8066   printf %s "(cached) " >&6
   8067 else case e in #(
   8068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"
   8073 then :
   8074   xorg_cv_cc_flag_unused_command_line_argument=yes
   8075 else case e in #(
   8076   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8077 esac
   8078 fi
   8079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8080 esac
   8081 fi
   8082 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8083 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8085 	CFLAGS="$xorg_testset_save_CFLAGS"
   8086 fi
   8087 
   8088 found="no"
   8089 
   8090 	if test $found = "no" ; then
   8091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8093 		fi
   8094 
   8095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8097 		fi
   8098 
   8099 		CFLAGS="$CFLAGS -Werror=main"
   8100 
   8101 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8102 printf %s "checking if $CC supports -Werror=main... " >&6; }
   8103 		cacheid=xorg_cv_cc_flag__Werror_main
   8104 		if eval test \${$cacheid+y}
   8105 then :
   8106   printf %s "(cached) " >&6
   8107 else case e in #(
   8108   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8109 /* end confdefs.h.  */
   8110 int i;
   8111 int
   8112 main (void)
   8113 {
   8114 
   8115   ;
   8116   return 0;
   8117 }
   8118 _ACEOF
   8119 if ac_fn_c_try_link "$LINENO"
   8120 then :
   8121   eval $cacheid=yes
   8122 else case e in #(
   8123   e) eval $cacheid=no ;;
   8124 esac
   8125 fi
   8126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8127     conftest$ac_exeext conftest.$ac_ext ;;
   8128 esac
   8129 fi
   8130 
   8131 
   8132 		CFLAGS="$xorg_testset_save_CFLAGS"
   8133 
   8134 		eval supported=\$$cacheid
   8135 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8136 printf '%s\n' "$supported" >&6; }
   8137 		if test "$supported" = "yes" ; then
   8138 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8139 			found="yes"
   8140 		fi
   8141 	fi
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 xorg_testset_save_CFLAGS="$CFLAGS"
   8158 
   8159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8161 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8164 then :
   8165   printf %s "(cached) " >&6
   8166 else case e in #(
   8167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8168 /* end confdefs.h.  */
   8169 int i;
   8170 _ACEOF
   8171 if ac_fn_c_try_compile "$LINENO"
   8172 then :
   8173   xorg_cv_cc_flag_unknown_warning_option=yes
   8174 else case e in #(
   8175   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8176 esac
   8177 fi
   8178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8179 esac
   8180 fi
   8181 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8182 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8184 	CFLAGS="$xorg_testset_save_CFLAGS"
   8185 fi
   8186 
   8187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8190 	fi
   8191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8192 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8193 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8194 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8195 then :
   8196   printf %s "(cached) " >&6
   8197 else case e in #(
   8198   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 _ACEOF
   8202 if ac_fn_c_try_compile "$LINENO"
   8203 then :
   8204   xorg_cv_cc_flag_unused_command_line_argument=yes
   8205 else case e in #(
   8206   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8207 esac
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8210 esac
   8211 fi
   8212 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8213 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8215 	CFLAGS="$xorg_testset_save_CFLAGS"
   8216 fi
   8217 
   8218 found="no"
   8219 
   8220 	if test $found = "no" ; then
   8221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8223 		fi
   8224 
   8225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8227 		fi
   8228 
   8229 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8230 
   8231 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8232 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8233 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8234 		if eval test \${$cacheid+y}
   8235 then :
   8236   printf %s "(cached) " >&6
   8237 else case e in #(
   8238   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8239 /* end confdefs.h.  */
   8240 int i;
   8241 int
   8242 main (void)
   8243 {
   8244 
   8245   ;
   8246   return 0;
   8247 }
   8248 _ACEOF
   8249 if ac_fn_c_try_link "$LINENO"
   8250 then :
   8251   eval $cacheid=yes
   8252 else case e in #(
   8253   e) eval $cacheid=no ;;
   8254 esac
   8255 fi
   8256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8257     conftest$ac_exeext conftest.$ac_ext ;;
   8258 esac
   8259 fi
   8260 
   8261 
   8262 		CFLAGS="$xorg_testset_save_CFLAGS"
   8263 
   8264 		eval supported=\$$cacheid
   8265 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8266 printf '%s\n' "$supported" >&6; }
   8267 		if test "$supported" = "yes" ; then
   8268 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8269 			found="yes"
   8270 		fi
   8271 	fi
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 xorg_testset_save_CFLAGS="$CFLAGS"
   8288 
   8289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8291 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8294 then :
   8295   printf %s "(cached) " >&6
   8296 else case e in #(
   8297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 _ACEOF
   8301 if ac_fn_c_try_compile "$LINENO"
   8302 then :
   8303   xorg_cv_cc_flag_unknown_warning_option=yes
   8304 else case e in #(
   8305   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8306 esac
   8307 fi
   8308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8309 esac
   8310 fi
   8311 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8312 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8314 	CFLAGS="$xorg_testset_save_CFLAGS"
   8315 fi
   8316 
   8317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8320 	fi
   8321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8322 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8325 then :
   8326   printf %s "(cached) " >&6
   8327 else case e in #(
   8328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8329 /* end confdefs.h.  */
   8330 int i;
   8331 _ACEOF
   8332 if ac_fn_c_try_compile "$LINENO"
   8333 then :
   8334   xorg_cv_cc_flag_unused_command_line_argument=yes
   8335 else case e in #(
   8336   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8337 esac
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8340 esac
   8341 fi
   8342 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8343 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8345 	CFLAGS="$xorg_testset_save_CFLAGS"
   8346 fi
   8347 
   8348 found="no"
   8349 
   8350 	if test $found = "no" ; then
   8351 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8353 		fi
   8354 
   8355 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8357 		fi
   8358 
   8359 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8360 
   8361 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8362 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8363 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8364 		if eval test \${$cacheid+y}
   8365 then :
   8366   printf %s "(cached) " >&6
   8367 else case e in #(
   8368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8369 /* end confdefs.h.  */
   8370 int i;
   8371 int
   8372 main (void)
   8373 {
   8374 
   8375   ;
   8376   return 0;
   8377 }
   8378 _ACEOF
   8379 if ac_fn_c_try_link "$LINENO"
   8380 then :
   8381   eval $cacheid=yes
   8382 else case e in #(
   8383   e) eval $cacheid=no ;;
   8384 esac
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8387     conftest$ac_exeext conftest.$ac_ext ;;
   8388 esac
   8389 fi
   8390 
   8391 
   8392 		CFLAGS="$xorg_testset_save_CFLAGS"
   8393 
   8394 		eval supported=\$$cacheid
   8395 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8396 printf '%s\n' "$supported" >&6; }
   8397 		if test "$supported" = "yes" ; then
   8398 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8399 			found="yes"
   8400 		fi
   8401 	fi
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 xorg_testset_save_CFLAGS="$CFLAGS"
   8418 
   8419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8421 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8422 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8423 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8424 then :
   8425   printf %s "(cached) " >&6
   8426 else case e in #(
   8427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8428 /* end confdefs.h.  */
   8429 int i;
   8430 _ACEOF
   8431 if ac_fn_c_try_compile "$LINENO"
   8432 then :
   8433   xorg_cv_cc_flag_unknown_warning_option=yes
   8434 else case e in #(
   8435   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8436 esac
   8437 fi
   8438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8439 esac
   8440 fi
   8441 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8442 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8444 	CFLAGS="$xorg_testset_save_CFLAGS"
   8445 fi
   8446 
   8447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8450 	fi
   8451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8452 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8453 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8454 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8455 then :
   8456   printf %s "(cached) " >&6
   8457 else case e in #(
   8458   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8459 /* end confdefs.h.  */
   8460 int i;
   8461 _ACEOF
   8462 if ac_fn_c_try_compile "$LINENO"
   8463 then :
   8464   xorg_cv_cc_flag_unused_command_line_argument=yes
   8465 else case e in #(
   8466   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8467 esac
   8468 fi
   8469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8470 esac
   8471 fi
   8472 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8473 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8475 	CFLAGS="$xorg_testset_save_CFLAGS"
   8476 fi
   8477 
   8478 found="no"
   8479 
   8480 	if test $found = "no" ; then
   8481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8483 		fi
   8484 
   8485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8487 		fi
   8488 
   8489 		CFLAGS="$CFLAGS -Werror=return-type"
   8490 
   8491 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8492 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8493 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8494 		if eval test \${$cacheid+y}
   8495 then :
   8496   printf %s "(cached) " >&6
   8497 else case e in #(
   8498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8499 /* end confdefs.h.  */
   8500 int i;
   8501 int
   8502 main (void)
   8503 {
   8504 
   8505   ;
   8506   return 0;
   8507 }
   8508 _ACEOF
   8509 if ac_fn_c_try_link "$LINENO"
   8510 then :
   8511   eval $cacheid=yes
   8512 else case e in #(
   8513   e) eval $cacheid=no ;;
   8514 esac
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8517     conftest$ac_exeext conftest.$ac_ext ;;
   8518 esac
   8519 fi
   8520 
   8521 
   8522 		CFLAGS="$xorg_testset_save_CFLAGS"
   8523 
   8524 		eval supported=\$$cacheid
   8525 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8526 printf '%s\n' "$supported" >&6; }
   8527 		if test "$supported" = "yes" ; then
   8528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8529 			found="yes"
   8530 		fi
   8531 	fi
   8532 
   8533 	if test $found = "no" ; then
   8534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 		fi
   8537 
   8538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8540 		fi
   8541 
   8542 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8543 
   8544 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8545 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8546 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8547 		if eval test \${$cacheid+y}
   8548 then :
   8549   printf %s "(cached) " >&6
   8550 else case e in #(
   8551   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8552 /* end confdefs.h.  */
   8553 int i;
   8554 int
   8555 main (void)
   8556 {
   8557 
   8558   ;
   8559   return 0;
   8560 }
   8561 _ACEOF
   8562 if ac_fn_c_try_link "$LINENO"
   8563 then :
   8564   eval $cacheid=yes
   8565 else case e in #(
   8566   e) eval $cacheid=no ;;
   8567 esac
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8570     conftest$ac_exeext conftest.$ac_ext ;;
   8571 esac
   8572 fi
   8573 
   8574 
   8575 		CFLAGS="$xorg_testset_save_CFLAGS"
   8576 
   8577 		eval supported=\$$cacheid
   8578 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8579 printf '%s\n' "$supported" >&6; }
   8580 		if test "$supported" = "yes" ; then
   8581 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8582 			found="yes"
   8583 		fi
   8584 	fi
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 xorg_testset_save_CFLAGS="$CFLAGS"
   8601 
   8602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8605 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8606 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8607 then :
   8608   printf %s "(cached) " >&6
   8609 else case e in #(
   8610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"
   8615 then :
   8616   xorg_cv_cc_flag_unknown_warning_option=yes
   8617 else case e in #(
   8618   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8619 esac
   8620 fi
   8621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8622 esac
   8623 fi
   8624 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8625 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8627 	CFLAGS="$xorg_testset_save_CFLAGS"
   8628 fi
   8629 
   8630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 	fi
   8634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8635 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8636 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8637 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else case e in #(
   8641   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8642 /* end confdefs.h.  */
   8643 int i;
   8644 _ACEOF
   8645 if ac_fn_c_try_compile "$LINENO"
   8646 then :
   8647   xorg_cv_cc_flag_unused_command_line_argument=yes
   8648 else case e in #(
   8649   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8650 esac
   8651 fi
   8652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8653 esac
   8654 fi
   8655 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8656 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8658 	CFLAGS="$xorg_testset_save_CFLAGS"
   8659 fi
   8660 
   8661 found="no"
   8662 
   8663 	if test $found = "no" ; then
   8664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8666 		fi
   8667 
   8668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8670 		fi
   8671 
   8672 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8673 
   8674 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8675 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8676 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8677 		if eval test \${$cacheid+y}
   8678 then :
   8679   printf %s "(cached) " >&6
   8680 else case e in #(
   8681   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8682 /* end confdefs.h.  */
   8683 int i;
   8684 int
   8685 main (void)
   8686 {
   8687 
   8688   ;
   8689   return 0;
   8690 }
   8691 _ACEOF
   8692 if ac_fn_c_try_link "$LINENO"
   8693 then :
   8694   eval $cacheid=yes
   8695 else case e in #(
   8696   e) eval $cacheid=no ;;
   8697 esac
   8698 fi
   8699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8700     conftest$ac_exeext conftest.$ac_ext ;;
   8701 esac
   8702 fi
   8703 
   8704 
   8705 		CFLAGS="$xorg_testset_save_CFLAGS"
   8706 
   8707 		eval supported=\$$cacheid
   8708 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8709 printf '%s\n' "$supported" >&6; }
   8710 		if test "$supported" = "yes" ; then
   8711 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8712 			found="yes"
   8713 		fi
   8714 	fi
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 xorg_testset_save_CFLAGS="$CFLAGS"
   8731 
   8732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8734 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8735 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8736 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8737 then :
   8738   printf %s "(cached) " >&6
   8739 else case e in #(
   8740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"
   8745 then :
   8746   xorg_cv_cc_flag_unknown_warning_option=yes
   8747 else case e in #(
   8748   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8749 esac
   8750 fi
   8751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8752 esac
   8753 fi
   8754 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8755 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 	fi
   8764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8766 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8767 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8768 then :
   8769   printf %s "(cached) " >&6
   8770 else case e in #(
   8771   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8772 /* end confdefs.h.  */
   8773 int i;
   8774 _ACEOF
   8775 if ac_fn_c_try_compile "$LINENO"
   8776 then :
   8777   xorg_cv_cc_flag_unused_command_line_argument=yes
   8778 else case e in #(
   8779   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8780 esac
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8783 esac
   8784 fi
   8785 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8786 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8788 	CFLAGS="$xorg_testset_save_CFLAGS"
   8789 fi
   8790 
   8791 found="no"
   8792 
   8793 	if test $found = "no" ; then
   8794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8796 		fi
   8797 
   8798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8800 		fi
   8801 
   8802 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8803 
   8804 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8805 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8806 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8807 		if eval test \${$cacheid+y}
   8808 then :
   8809   printf %s "(cached) " >&6
   8810 else case e in #(
   8811   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8812 /* end confdefs.h.  */
   8813 int i;
   8814 int
   8815 main (void)
   8816 {
   8817 
   8818   ;
   8819   return 0;
   8820 }
   8821 _ACEOF
   8822 if ac_fn_c_try_link "$LINENO"
   8823 then :
   8824   eval $cacheid=yes
   8825 else case e in #(
   8826   e) eval $cacheid=no ;;
   8827 esac
   8828 fi
   8829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8830     conftest$ac_exeext conftest.$ac_ext ;;
   8831 esac
   8832 fi
   8833 
   8834 
   8835 		CFLAGS="$xorg_testset_save_CFLAGS"
   8836 
   8837 		eval supported=\$$cacheid
   8838 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8839 printf '%s\n' "$supported" >&6; }
   8840 		if test "$supported" = "yes" ; then
   8841 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8842 			found="yes"
   8843 		fi
   8844 	fi
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 xorg_testset_save_CFLAGS="$CFLAGS"
   8861 
   8862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8867 then :
   8868   printf %s "(cached) " >&6
   8869 else case e in #(
   8870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8871 /* end confdefs.h.  */
   8872 int i;
   8873 _ACEOF
   8874 if ac_fn_c_try_compile "$LINENO"
   8875 then :
   8876   xorg_cv_cc_flag_unknown_warning_option=yes
   8877 else case e in #(
   8878   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8879 esac
   8880 fi
   8881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8882 esac
   8883 fi
   8884 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8885 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8886 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8887 	CFLAGS="$xorg_testset_save_CFLAGS"
   8888 fi
   8889 
   8890 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8891 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8892 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8893 	fi
   8894 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8895 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8896 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8897 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8898 then :
   8899   printf %s "(cached) " >&6
   8900 else case e in #(
   8901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 _ACEOF
   8905 if ac_fn_c_try_compile "$LINENO"
   8906 then :
   8907   xorg_cv_cc_flag_unused_command_line_argument=yes
   8908 else case e in #(
   8909   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8910 esac
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8913 esac
   8914 fi
   8915 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8916 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8918 	CFLAGS="$xorg_testset_save_CFLAGS"
   8919 fi
   8920 
   8921 found="no"
   8922 
   8923 	if test $found = "no" ; then
   8924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8926 		fi
   8927 
   8928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8930 		fi
   8931 
   8932 		CFLAGS="$CFLAGS -Werror=write-strings"
   8933 
   8934 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8935 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8936 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8937 		if eval test \${$cacheid+y}
   8938 then :
   8939   printf %s "(cached) " >&6
   8940 else case e in #(
   8941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 int i;
   8944 int
   8945 main (void)
   8946 {
   8947 
   8948   ;
   8949   return 0;
   8950 }
   8951 _ACEOF
   8952 if ac_fn_c_try_link "$LINENO"
   8953 then :
   8954   eval $cacheid=yes
   8955 else case e in #(
   8956   e) eval $cacheid=no ;;
   8957 esac
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8960     conftest$ac_exeext conftest.$ac_ext ;;
   8961 esac
   8962 fi
   8963 
   8964 
   8965 		CFLAGS="$xorg_testset_save_CFLAGS"
   8966 
   8967 		eval supported=\$$cacheid
   8968 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8969 printf '%s\n' "$supported" >&6; }
   8970 		if test "$supported" = "yes" ; then
   8971 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8972 			found="yes"
   8973 		fi
   8974 	fi
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 xorg_testset_save_CFLAGS="$CFLAGS"
   8991 
   8992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8994 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else case e in #(
   9000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"
   9005 then :
   9006   xorg_cv_cc_flag_unknown_warning_option=yes
   9007 else case e in #(
   9008   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9009 esac
   9010 fi
   9011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9012 esac
   9013 fi
   9014 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9015 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9017 	CFLAGS="$xorg_testset_save_CFLAGS"
   9018 fi
   9019 
   9020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9023 	fi
   9024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9026 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9027 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9028 then :
   9029   printf %s "(cached) " >&6
   9030 else case e in #(
   9031   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"
   9036 then :
   9037   xorg_cv_cc_flag_unused_command_line_argument=yes
   9038 else case e in #(
   9039   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9040 esac
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9043 esac
   9044 fi
   9045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9046 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9048 	CFLAGS="$xorg_testset_save_CFLAGS"
   9049 fi
   9050 
   9051 found="no"
   9052 
   9053 	if test $found = "no" ; then
   9054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9056 		fi
   9057 
   9058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9060 		fi
   9061 
   9062 		CFLAGS="$CFLAGS -Werror=address"
   9063 
   9064 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9065 printf %s "checking if $CC supports -Werror=address... " >&6; }
   9066 		cacheid=xorg_cv_cc_flag__Werror_address
   9067 		if eval test \${$cacheid+y}
   9068 then :
   9069   printf %s "(cached) " >&6
   9070 else case e in #(
   9071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9072 /* end confdefs.h.  */
   9073 int i;
   9074 int
   9075 main (void)
   9076 {
   9077 
   9078   ;
   9079   return 0;
   9080 }
   9081 _ACEOF
   9082 if ac_fn_c_try_link "$LINENO"
   9083 then :
   9084   eval $cacheid=yes
   9085 else case e in #(
   9086   e) eval $cacheid=no ;;
   9087 esac
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9090     conftest$ac_exeext conftest.$ac_ext ;;
   9091 esac
   9092 fi
   9093 
   9094 
   9095 		CFLAGS="$xorg_testset_save_CFLAGS"
   9096 
   9097 		eval supported=\$$cacheid
   9098 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9099 printf '%s\n' "$supported" >&6; }
   9100 		if test "$supported" = "yes" ; then
   9101 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9102 			found="yes"
   9103 		fi
   9104 	fi
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 xorg_testset_save_CFLAGS="$CFLAGS"
   9121 
   9122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9124 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9125 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9126 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9127 then :
   9128   printf %s "(cached) " >&6
   9129 else case e in #(
   9130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 _ACEOF
   9134 if ac_fn_c_try_compile "$LINENO"
   9135 then :
   9136   xorg_cv_cc_flag_unknown_warning_option=yes
   9137 else case e in #(
   9138   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9139 esac
   9140 fi
   9141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9142 esac
   9143 fi
   9144 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9145 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9147 	CFLAGS="$xorg_testset_save_CFLAGS"
   9148 fi
   9149 
   9150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9153 	fi
   9154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9155 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9156 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9157 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9158 then :
   9159   printf %s "(cached) " >&6
   9160 else case e in #(
   9161   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9162 /* end confdefs.h.  */
   9163 int i;
   9164 _ACEOF
   9165 if ac_fn_c_try_compile "$LINENO"
   9166 then :
   9167   xorg_cv_cc_flag_unused_command_line_argument=yes
   9168 else case e in #(
   9169   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9170 esac
   9171 fi
   9172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9173 esac
   9174 fi
   9175 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9176 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9178 	CFLAGS="$xorg_testset_save_CFLAGS"
   9179 fi
   9180 
   9181 found="no"
   9182 
   9183 	if test $found = "no" ; then
   9184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9186 		fi
   9187 
   9188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9190 		fi
   9191 
   9192 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9193 
   9194 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9195 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9196 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9197 		if eval test \${$cacheid+y}
   9198 then :
   9199   printf %s "(cached) " >&6
   9200 else case e in #(
   9201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9202 /* end confdefs.h.  */
   9203 int i;
   9204 int
   9205 main (void)
   9206 {
   9207 
   9208   ;
   9209   return 0;
   9210 }
   9211 _ACEOF
   9212 if ac_fn_c_try_link "$LINENO"
   9213 then :
   9214   eval $cacheid=yes
   9215 else case e in #(
   9216   e) eval $cacheid=no ;;
   9217 esac
   9218 fi
   9219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9220     conftest$ac_exeext conftest.$ac_ext ;;
   9221 esac
   9222 fi
   9223 
   9224 
   9225 		CFLAGS="$xorg_testset_save_CFLAGS"
   9226 
   9227 		eval supported=\$$cacheid
   9228 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9229 printf '%s\n' "$supported" >&6; }
   9230 		if test "$supported" = "yes" ; then
   9231 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9232 			found="yes"
   9233 		fi
   9234 	fi
   9235 
   9236 	if test $found = "no" ; then
   9237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9239 		fi
   9240 
   9241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9243 		fi
   9244 
   9245 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9246 
   9247 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9248 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9249 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9250 		if eval test \${$cacheid+y}
   9251 then :
   9252   printf %s "(cached) " >&6
   9253 else case e in #(
   9254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9255 /* end confdefs.h.  */
   9256 int i;
   9257 int
   9258 main (void)
   9259 {
   9260 
   9261   ;
   9262   return 0;
   9263 }
   9264 _ACEOF
   9265 if ac_fn_c_try_link "$LINENO"
   9266 then :
   9267   eval $cacheid=yes
   9268 else case e in #(
   9269   e) eval $cacheid=no ;;
   9270 esac
   9271 fi
   9272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9273     conftest$ac_exeext conftest.$ac_ext ;;
   9274 esac
   9275 fi
   9276 
   9277 
   9278 		CFLAGS="$xorg_testset_save_CFLAGS"
   9279 
   9280 		eval supported=\$$cacheid
   9281 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9282 printf '%s\n' "$supported" >&6; }
   9283 		if test "$supported" = "yes" ; then
   9284 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9285 			found="yes"
   9286 		fi
   9287 	fi
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 xorg_testset_save_CFLAGS="$CFLAGS"
   9304 
   9305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9307 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9308 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9309 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9310 then :
   9311   printf %s "(cached) " >&6
   9312 else case e in #(
   9313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9314 /* end confdefs.h.  */
   9315 int i;
   9316 _ACEOF
   9317 if ac_fn_c_try_compile "$LINENO"
   9318 then :
   9319   xorg_cv_cc_flag_unknown_warning_option=yes
   9320 else case e in #(
   9321   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9322 esac
   9323 fi
   9324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9325 esac
   9326 fi
   9327 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9328 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9330 	CFLAGS="$xorg_testset_save_CFLAGS"
   9331 fi
   9332 
   9333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9336 	fi
   9337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9338 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9339 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9340 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9341 then :
   9342   printf %s "(cached) " >&6
   9343 else case e in #(
   9344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9345 /* end confdefs.h.  */
   9346 int i;
   9347 _ACEOF
   9348 if ac_fn_c_try_compile "$LINENO"
   9349 then :
   9350   xorg_cv_cc_flag_unused_command_line_argument=yes
   9351 else case e in #(
   9352   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9353 esac
   9354 fi
   9355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9356 esac
   9357 fi
   9358 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9359 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9361 	CFLAGS="$xorg_testset_save_CFLAGS"
   9362 fi
   9363 
   9364 found="no"
   9365 
   9366 	if test $found = "no" ; then
   9367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9369 		fi
   9370 
   9371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9373 		fi
   9374 
   9375 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9376 
   9377 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9378 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9379 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9380 		if eval test \${$cacheid+y}
   9381 then :
   9382   printf %s "(cached) " >&6
   9383 else case e in #(
   9384   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9385 /* end confdefs.h.  */
   9386 int i;
   9387 int
   9388 main (void)
   9389 {
   9390 
   9391   ;
   9392   return 0;
   9393 }
   9394 _ACEOF
   9395 if ac_fn_c_try_link "$LINENO"
   9396 then :
   9397   eval $cacheid=yes
   9398 else case e in #(
   9399   e) eval $cacheid=no ;;
   9400 esac
   9401 fi
   9402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9403     conftest$ac_exeext conftest.$ac_ext ;;
   9404 esac
   9405 fi
   9406 
   9407 
   9408 		CFLAGS="$xorg_testset_save_CFLAGS"
   9409 
   9410 		eval supported=\$$cacheid
   9411 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9412 printf '%s\n' "$supported" >&6; }
   9413 		if test "$supported" = "yes" ; then
   9414 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9415 			found="yes"
   9416 		fi
   9417 	fi
   9418 
   9419  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9420 else
   9421 { 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
   9422 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;}
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 xorg_testset_save_CFLAGS="$CFLAGS"
   9437 
   9438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9443 then :
   9444   printf %s "(cached) " >&6
   9445 else case e in #(
   9446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9447 /* end confdefs.h.  */
   9448 int i;
   9449 _ACEOF
   9450 if ac_fn_c_try_compile "$LINENO"
   9451 then :
   9452   xorg_cv_cc_flag_unknown_warning_option=yes
   9453 else case e in #(
   9454   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9455 esac
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9458 esac
   9459 fi
   9460 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9461 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9463 	CFLAGS="$xorg_testset_save_CFLAGS"
   9464 fi
   9465 
   9466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 	fi
   9470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9471 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9474 then :
   9475   printf %s "(cached) " >&6
   9476 else case e in #(
   9477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9478 /* end confdefs.h.  */
   9479 int i;
   9480 _ACEOF
   9481 if ac_fn_c_try_compile "$LINENO"
   9482 then :
   9483   xorg_cv_cc_flag_unused_command_line_argument=yes
   9484 else case e in #(
   9485   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9486 esac
   9487 fi
   9488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9489 esac
   9490 fi
   9491 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9492 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9494 	CFLAGS="$xorg_testset_save_CFLAGS"
   9495 fi
   9496 
   9497 found="no"
   9498 
   9499 	if test $found = "no" ; then
   9500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9502 		fi
   9503 
   9504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9506 		fi
   9507 
   9508 		CFLAGS="$CFLAGS -Wimplicit"
   9509 
   9510 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9511 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9512 		cacheid=xorg_cv_cc_flag__Wimplicit
   9513 		if eval test \${$cacheid+y}
   9514 then :
   9515   printf %s "(cached) " >&6
   9516 else case e in #(
   9517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 int
   9521 main (void)
   9522 {
   9523 
   9524   ;
   9525   return 0;
   9526 }
   9527 _ACEOF
   9528 if ac_fn_c_try_link "$LINENO"
   9529 then :
   9530   eval $cacheid=yes
   9531 else case e in #(
   9532   e) eval $cacheid=no ;;
   9533 esac
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9536     conftest$ac_exeext conftest.$ac_ext ;;
   9537 esac
   9538 fi
   9539 
   9540 
   9541 		CFLAGS="$xorg_testset_save_CFLAGS"
   9542 
   9543 		eval supported=\$$cacheid
   9544 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9545 printf '%s\n' "$supported" >&6; }
   9546 		if test "$supported" = "yes" ; then
   9547 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9548 			found="yes"
   9549 		fi
   9550 	fi
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 xorg_testset_save_CFLAGS="$CFLAGS"
   9567 
   9568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9573 then :
   9574   printf %s "(cached) " >&6
   9575 else case e in #(
   9576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"
   9581 then :
   9582   xorg_cv_cc_flag_unknown_warning_option=yes
   9583 else case e in #(
   9584   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9585 esac
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9588 esac
   9589 fi
   9590 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9591 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	fi
   9600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9601 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9604 then :
   9605   printf %s "(cached) " >&6
   9606 else case e in #(
   9607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 _ACEOF
   9611 if ac_fn_c_try_compile "$LINENO"
   9612 then :
   9613   xorg_cv_cc_flag_unused_command_line_argument=yes
   9614 else case e in #(
   9615   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9616 esac
   9617 fi
   9618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9619 esac
   9620 fi
   9621 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9622 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9624 	CFLAGS="$xorg_testset_save_CFLAGS"
   9625 fi
   9626 
   9627 found="no"
   9628 
   9629 	if test $found = "no" ; then
   9630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9632 		fi
   9633 
   9634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9636 		fi
   9637 
   9638 		CFLAGS="$CFLAGS -Wnonnull"
   9639 
   9640 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9641 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9642 		cacheid=xorg_cv_cc_flag__Wnonnull
   9643 		if eval test \${$cacheid+y}
   9644 then :
   9645   printf %s "(cached) " >&6
   9646 else case e in #(
   9647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 int
   9651 main (void)
   9652 {
   9653 
   9654   ;
   9655   return 0;
   9656 }
   9657 _ACEOF
   9658 if ac_fn_c_try_link "$LINENO"
   9659 then :
   9660   eval $cacheid=yes
   9661 else case e in #(
   9662   e) eval $cacheid=no ;;
   9663 esac
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9666     conftest$ac_exeext conftest.$ac_ext ;;
   9667 esac
   9668 fi
   9669 
   9670 
   9671 		CFLAGS="$xorg_testset_save_CFLAGS"
   9672 
   9673 		eval supported=\$$cacheid
   9674 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9675 printf '%s\n' "$supported" >&6; }
   9676 		if test "$supported" = "yes" ; then
   9677 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9678 			found="yes"
   9679 		fi
   9680 	fi
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 xorg_testset_save_CFLAGS="$CFLAGS"
   9697 
   9698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9701 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9702 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9703 then :
   9704   printf %s "(cached) " >&6
   9705 else case e in #(
   9706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9707 /* end confdefs.h.  */
   9708 int i;
   9709 _ACEOF
   9710 if ac_fn_c_try_compile "$LINENO"
   9711 then :
   9712   xorg_cv_cc_flag_unknown_warning_option=yes
   9713 else case e in #(
   9714   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9715 esac
   9716 fi
   9717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9718 esac
   9719 fi
   9720 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9721 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9723 	CFLAGS="$xorg_testset_save_CFLAGS"
   9724 fi
   9725 
   9726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9729 	fi
   9730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9731 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9734 then :
   9735   printf %s "(cached) " >&6
   9736 else case e in #(
   9737   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9738 /* end confdefs.h.  */
   9739 int i;
   9740 _ACEOF
   9741 if ac_fn_c_try_compile "$LINENO"
   9742 then :
   9743   xorg_cv_cc_flag_unused_command_line_argument=yes
   9744 else case e in #(
   9745   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9746 esac
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9749 esac
   9750 fi
   9751 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9752 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9754 	CFLAGS="$xorg_testset_save_CFLAGS"
   9755 fi
   9756 
   9757 found="no"
   9758 
   9759 	if test $found = "no" ; then
   9760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9762 		fi
   9763 
   9764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9766 		fi
   9767 
   9768 		CFLAGS="$CFLAGS -Winit-self"
   9769 
   9770 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9771 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9772 		cacheid=xorg_cv_cc_flag__Winit_self
   9773 		if eval test \${$cacheid+y}
   9774 then :
   9775   printf %s "(cached) " >&6
   9776 else case e in #(
   9777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 int
   9781 main (void)
   9782 {
   9783 
   9784   ;
   9785   return 0;
   9786 }
   9787 _ACEOF
   9788 if ac_fn_c_try_link "$LINENO"
   9789 then :
   9790   eval $cacheid=yes
   9791 else case e in #(
   9792   e) eval $cacheid=no ;;
   9793 esac
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9796     conftest$ac_exeext conftest.$ac_ext ;;
   9797 esac
   9798 fi
   9799 
   9800 
   9801 		CFLAGS="$xorg_testset_save_CFLAGS"
   9802 
   9803 		eval supported=\$$cacheid
   9804 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9805 printf '%s\n' "$supported" >&6; }
   9806 		if test "$supported" = "yes" ; then
   9807 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9808 			found="yes"
   9809 		fi
   9810 	fi
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 xorg_testset_save_CFLAGS="$CFLAGS"
   9827 
   9828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9830 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9833 then :
   9834   printf %s "(cached) " >&6
   9835 else case e in #(
   9836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 _ACEOF
   9840 if ac_fn_c_try_compile "$LINENO"
   9841 then :
   9842   xorg_cv_cc_flag_unknown_warning_option=yes
   9843 else case e in #(
   9844   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9845 esac
   9846 fi
   9847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9848 esac
   9849 fi
   9850 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9851 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9853 	CFLAGS="$xorg_testset_save_CFLAGS"
   9854 fi
   9855 
   9856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9859 	fi
   9860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9861 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9864 then :
   9865   printf %s "(cached) " >&6
   9866 else case e in #(
   9867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"
   9872 then :
   9873   xorg_cv_cc_flag_unused_command_line_argument=yes
   9874 else case e in #(
   9875   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9876 esac
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9879 esac
   9880 fi
   9881 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9882 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9884 	CFLAGS="$xorg_testset_save_CFLAGS"
   9885 fi
   9886 
   9887 found="no"
   9888 
   9889 	if test $found = "no" ; then
   9890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 		fi
   9893 
   9894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9896 		fi
   9897 
   9898 		CFLAGS="$CFLAGS -Wmain"
   9899 
   9900 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9901 printf %s "checking if $CC supports -Wmain... " >&6; }
   9902 		cacheid=xorg_cv_cc_flag__Wmain
   9903 		if eval test \${$cacheid+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else case e in #(
   9907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 int
   9911 main (void)
   9912 {
   9913 
   9914   ;
   9915   return 0;
   9916 }
   9917 _ACEOF
   9918 if ac_fn_c_try_link "$LINENO"
   9919 then :
   9920   eval $cacheid=yes
   9921 else case e in #(
   9922   e) eval $cacheid=no ;;
   9923 esac
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9926     conftest$ac_exeext conftest.$ac_ext ;;
   9927 esac
   9928 fi
   9929 
   9930 
   9931 		CFLAGS="$xorg_testset_save_CFLAGS"
   9932 
   9933 		eval supported=\$$cacheid
   9934 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9935 printf '%s\n' "$supported" >&6; }
   9936 		if test "$supported" = "yes" ; then
   9937 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9938 			found="yes"
   9939 		fi
   9940 	fi
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 xorg_testset_save_CFLAGS="$CFLAGS"
   9957 
   9958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9960 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9963 then :
   9964   printf %s "(cached) " >&6
   9965 else case e in #(
   9966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9967 /* end confdefs.h.  */
   9968 int i;
   9969 _ACEOF
   9970 if ac_fn_c_try_compile "$LINENO"
   9971 then :
   9972   xorg_cv_cc_flag_unknown_warning_option=yes
   9973 else case e in #(
   9974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9975 esac
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9978 esac
   9979 fi
   9980 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9981 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9983 	CFLAGS="$xorg_testset_save_CFLAGS"
   9984 fi
   9985 
   9986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9989 	fi
   9990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9994 then :
   9995   printf %s "(cached) " >&6
   9996 else case e in #(
   9997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 _ACEOF
   10001 if ac_fn_c_try_compile "$LINENO"
   10002 then :
   10003   xorg_cv_cc_flag_unused_command_line_argument=yes
   10004 else case e in #(
   10005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10006 esac
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10009 esac
   10010 fi
   10011 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10012 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10014 	CFLAGS="$xorg_testset_save_CFLAGS"
   10015 fi
   10016 
   10017 found="no"
   10018 
   10019 	if test $found = "no" ; then
   10020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10022 		fi
   10023 
   10024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10026 		fi
   10027 
   10028 		CFLAGS="$CFLAGS -Wmissing-braces"
   10029 
   10030 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10031 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   10032 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10033 		if eval test \${$cacheid+y}
   10034 then :
   10035   printf %s "(cached) " >&6
   10036 else case e in #(
   10037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10038 /* end confdefs.h.  */
   10039 int i;
   10040 int
   10041 main (void)
   10042 {
   10043 
   10044   ;
   10045   return 0;
   10046 }
   10047 _ACEOF
   10048 if ac_fn_c_try_link "$LINENO"
   10049 then :
   10050   eval $cacheid=yes
   10051 else case e in #(
   10052   e) eval $cacheid=no ;;
   10053 esac
   10054 fi
   10055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10056     conftest$ac_exeext conftest.$ac_ext ;;
   10057 esac
   10058 fi
   10059 
   10060 
   10061 		CFLAGS="$xorg_testset_save_CFLAGS"
   10062 
   10063 		eval supported=\$$cacheid
   10064 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10065 printf '%s\n' "$supported" >&6; }
   10066 		if test "$supported" = "yes" ; then
   10067 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10068 			found="yes"
   10069 		fi
   10070 	fi
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 xorg_testset_save_CFLAGS="$CFLAGS"
   10087 
   10088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10090 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10093 then :
   10094   printf %s "(cached) " >&6
   10095 else case e in #(
   10096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10097 /* end confdefs.h.  */
   10098 int i;
   10099 _ACEOF
   10100 if ac_fn_c_try_compile "$LINENO"
   10101 then :
   10102   xorg_cv_cc_flag_unknown_warning_option=yes
   10103 else case e in #(
   10104   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10105 esac
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10108 esac
   10109 fi
   10110 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10111 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10119 	fi
   10120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10121 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10124 then :
   10125   printf %s "(cached) " >&6
   10126 else case e in #(
   10127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10128 /* end confdefs.h.  */
   10129 int i;
   10130 _ACEOF
   10131 if ac_fn_c_try_compile "$LINENO"
   10132 then :
   10133   xorg_cv_cc_flag_unused_command_line_argument=yes
   10134 else case e in #(
   10135   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10136 esac
   10137 fi
   10138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10139 esac
   10140 fi
   10141 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10142 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10144 	CFLAGS="$xorg_testset_save_CFLAGS"
   10145 fi
   10146 
   10147 found="no"
   10148 
   10149 	if test $found = "no" ; then
   10150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10152 		fi
   10153 
   10154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10156 		fi
   10157 
   10158 		CFLAGS="$CFLAGS -Wsequence-point"
   10159 
   10160 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10161 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   10162 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10163 		if eval test \${$cacheid+y}
   10164 then :
   10165   printf %s "(cached) " >&6
   10166 else case e in #(
   10167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main (void)
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"
   10179 then :
   10180   eval $cacheid=yes
   10181 else case e in #(
   10182   e) eval $cacheid=no ;;
   10183 esac
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10186     conftest$ac_exeext conftest.$ac_ext ;;
   10187 esac
   10188 fi
   10189 
   10190 
   10191 		CFLAGS="$xorg_testset_save_CFLAGS"
   10192 
   10193 		eval supported=\$$cacheid
   10194 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10195 printf '%s\n' "$supported" >&6; }
   10196 		if test "$supported" = "yes" ; then
   10197 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10198 			found="yes"
   10199 		fi
   10200 	fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 xorg_testset_save_CFLAGS="$CFLAGS"
   10217 
   10218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10220 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10223 then :
   10224   printf %s "(cached) " >&6
   10225 else case e in #(
   10226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 _ACEOF
   10230 if ac_fn_c_try_compile "$LINENO"
   10231 then :
   10232   xorg_cv_cc_flag_unknown_warning_option=yes
   10233 else case e in #(
   10234   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10235 esac
   10236 fi
   10237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10238 esac
   10239 fi
   10240 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10241 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10243 	CFLAGS="$xorg_testset_save_CFLAGS"
   10244 fi
   10245 
   10246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10249 	fi
   10250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10251 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10254 then :
   10255   printf %s "(cached) " >&6
   10256 else case e in #(
   10257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10258 /* end confdefs.h.  */
   10259 int i;
   10260 _ACEOF
   10261 if ac_fn_c_try_compile "$LINENO"
   10262 then :
   10263   xorg_cv_cc_flag_unused_command_line_argument=yes
   10264 else case e in #(
   10265   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10266 esac
   10267 fi
   10268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10269 esac
   10270 fi
   10271 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10272 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10274 	CFLAGS="$xorg_testset_save_CFLAGS"
   10275 fi
   10276 
   10277 found="no"
   10278 
   10279 	if test $found = "no" ; then
   10280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10282 		fi
   10283 
   10284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10286 		fi
   10287 
   10288 		CFLAGS="$CFLAGS -Wreturn-type"
   10289 
   10290 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10291 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10292 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10293 		if eval test \${$cacheid+y}
   10294 then :
   10295   printf %s "(cached) " >&6
   10296 else case e in #(
   10297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10298 /* end confdefs.h.  */
   10299 int i;
   10300 int
   10301 main (void)
   10302 {
   10303 
   10304   ;
   10305   return 0;
   10306 }
   10307 _ACEOF
   10308 if ac_fn_c_try_link "$LINENO"
   10309 then :
   10310   eval $cacheid=yes
   10311 else case e in #(
   10312   e) eval $cacheid=no ;;
   10313 esac
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10316     conftest$ac_exeext conftest.$ac_ext ;;
   10317 esac
   10318 fi
   10319 
   10320 
   10321 		CFLAGS="$xorg_testset_save_CFLAGS"
   10322 
   10323 		eval supported=\$$cacheid
   10324 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10325 printf '%s\n' "$supported" >&6; }
   10326 		if test "$supported" = "yes" ; then
   10327 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10328 			found="yes"
   10329 		fi
   10330 	fi
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 xorg_testset_save_CFLAGS="$CFLAGS"
   10347 
   10348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10350 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10353 then :
   10354   printf %s "(cached) " >&6
   10355 else case e in #(
   10356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10357 /* end confdefs.h.  */
   10358 int i;
   10359 _ACEOF
   10360 if ac_fn_c_try_compile "$LINENO"
   10361 then :
   10362   xorg_cv_cc_flag_unknown_warning_option=yes
   10363 else case e in #(
   10364   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10365 esac
   10366 fi
   10367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10368 esac
   10369 fi
   10370 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10371 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10373 	CFLAGS="$xorg_testset_save_CFLAGS"
   10374 fi
   10375 
   10376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10379 	fi
   10380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10381 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10384 then :
   10385   printf %s "(cached) " >&6
   10386 else case e in #(
   10387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 _ACEOF
   10391 if ac_fn_c_try_compile "$LINENO"
   10392 then :
   10393   xorg_cv_cc_flag_unused_command_line_argument=yes
   10394 else case e in #(
   10395   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10396 esac
   10397 fi
   10398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10399 esac
   10400 fi
   10401 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10402 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10404 	CFLAGS="$xorg_testset_save_CFLAGS"
   10405 fi
   10406 
   10407 found="no"
   10408 
   10409 	if test $found = "no" ; then
   10410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10412 		fi
   10413 
   10414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10416 		fi
   10417 
   10418 		CFLAGS="$CFLAGS -Wtrigraphs"
   10419 
   10420 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10421 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10422 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10423 		if eval test \${$cacheid+y}
   10424 then :
   10425   printf %s "(cached) " >&6
   10426 else case e in #(
   10427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10428 /* end confdefs.h.  */
   10429 int i;
   10430 int
   10431 main (void)
   10432 {
   10433 
   10434   ;
   10435   return 0;
   10436 }
   10437 _ACEOF
   10438 if ac_fn_c_try_link "$LINENO"
   10439 then :
   10440   eval $cacheid=yes
   10441 else case e in #(
   10442   e) eval $cacheid=no ;;
   10443 esac
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10446     conftest$ac_exeext conftest.$ac_ext ;;
   10447 esac
   10448 fi
   10449 
   10450 
   10451 		CFLAGS="$xorg_testset_save_CFLAGS"
   10452 
   10453 		eval supported=\$$cacheid
   10454 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10455 printf '%s\n' "$supported" >&6; }
   10456 		if test "$supported" = "yes" ; then
   10457 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10458 			found="yes"
   10459 		fi
   10460 	fi
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 xorg_testset_save_CFLAGS="$CFLAGS"
   10477 
   10478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10480 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10483 then :
   10484   printf %s "(cached) " >&6
   10485 else case e in #(
   10486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10487 /* end confdefs.h.  */
   10488 int i;
   10489 _ACEOF
   10490 if ac_fn_c_try_compile "$LINENO"
   10491 then :
   10492   xorg_cv_cc_flag_unknown_warning_option=yes
   10493 else case e in #(
   10494   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10495 esac
   10496 fi
   10497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10498 esac
   10499 fi
   10500 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10501 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10503 	CFLAGS="$xorg_testset_save_CFLAGS"
   10504 fi
   10505 
   10506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10509 	fi
   10510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10511 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10512 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10513 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10514 then :
   10515   printf %s "(cached) " >&6
   10516 else case e in #(
   10517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10518 /* end confdefs.h.  */
   10519 int i;
   10520 _ACEOF
   10521 if ac_fn_c_try_compile "$LINENO"
   10522 then :
   10523   xorg_cv_cc_flag_unused_command_line_argument=yes
   10524 else case e in #(
   10525   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10526 esac
   10527 fi
   10528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10529 esac
   10530 fi
   10531 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10532 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10534 	CFLAGS="$xorg_testset_save_CFLAGS"
   10535 fi
   10536 
   10537 found="no"
   10538 
   10539 	if test $found = "no" ; then
   10540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10542 		fi
   10543 
   10544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10546 		fi
   10547 
   10548 		CFLAGS="$CFLAGS -Warray-bounds"
   10549 
   10550 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10551 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10552 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10553 		if eval test \${$cacheid+y}
   10554 then :
   10555   printf %s "(cached) " >&6
   10556 else case e in #(
   10557   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10558 /* end confdefs.h.  */
   10559 int i;
   10560 int
   10561 main (void)
   10562 {
   10563 
   10564   ;
   10565   return 0;
   10566 }
   10567 _ACEOF
   10568 if ac_fn_c_try_link "$LINENO"
   10569 then :
   10570   eval $cacheid=yes
   10571 else case e in #(
   10572   e) eval $cacheid=no ;;
   10573 esac
   10574 fi
   10575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10576     conftest$ac_exeext conftest.$ac_ext ;;
   10577 esac
   10578 fi
   10579 
   10580 
   10581 		CFLAGS="$xorg_testset_save_CFLAGS"
   10582 
   10583 		eval supported=\$$cacheid
   10584 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10585 printf '%s\n' "$supported" >&6; }
   10586 		if test "$supported" = "yes" ; then
   10587 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10588 			found="yes"
   10589 		fi
   10590 	fi
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 xorg_testset_save_CFLAGS="$CFLAGS"
   10607 
   10608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10610 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10611 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10612 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10613 then :
   10614   printf %s "(cached) " >&6
   10615 else case e in #(
   10616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10617 /* end confdefs.h.  */
   10618 int i;
   10619 _ACEOF
   10620 if ac_fn_c_try_compile "$LINENO"
   10621 then :
   10622   xorg_cv_cc_flag_unknown_warning_option=yes
   10623 else case e in #(
   10624   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10625 esac
   10626 fi
   10627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10628 esac
   10629 fi
   10630 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10631 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10633 	CFLAGS="$xorg_testset_save_CFLAGS"
   10634 fi
   10635 
   10636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10639 	fi
   10640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10641 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10642 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10643 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10644 then :
   10645   printf %s "(cached) " >&6
   10646 else case e in #(
   10647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10648 /* end confdefs.h.  */
   10649 int i;
   10650 _ACEOF
   10651 if ac_fn_c_try_compile "$LINENO"
   10652 then :
   10653   xorg_cv_cc_flag_unused_command_line_argument=yes
   10654 else case e in #(
   10655   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10656 esac
   10657 fi
   10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10659 esac
   10660 fi
   10661 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10662 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10664 	CFLAGS="$xorg_testset_save_CFLAGS"
   10665 fi
   10666 
   10667 found="no"
   10668 
   10669 	if test $found = "no" ; then
   10670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10672 		fi
   10673 
   10674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10676 		fi
   10677 
   10678 		CFLAGS="$CFLAGS -Wwrite-strings"
   10679 
   10680 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10681 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10682 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10683 		if eval test \${$cacheid+y}
   10684 then :
   10685   printf %s "(cached) " >&6
   10686 else case e in #(
   10687   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10688 /* end confdefs.h.  */
   10689 int i;
   10690 int
   10691 main (void)
   10692 {
   10693 
   10694   ;
   10695   return 0;
   10696 }
   10697 _ACEOF
   10698 if ac_fn_c_try_link "$LINENO"
   10699 then :
   10700   eval $cacheid=yes
   10701 else case e in #(
   10702   e) eval $cacheid=no ;;
   10703 esac
   10704 fi
   10705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10706     conftest$ac_exeext conftest.$ac_ext ;;
   10707 esac
   10708 fi
   10709 
   10710 
   10711 		CFLAGS="$xorg_testset_save_CFLAGS"
   10712 
   10713 		eval supported=\$$cacheid
   10714 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10715 printf '%s\n' "$supported" >&6; }
   10716 		if test "$supported" = "yes" ; then
   10717 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10718 			found="yes"
   10719 		fi
   10720 	fi
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 xorg_testset_save_CFLAGS="$CFLAGS"
   10737 
   10738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10740 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10743 then :
   10744   printf %s "(cached) " >&6
   10745 else case e in #(
   10746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10747 /* end confdefs.h.  */
   10748 int i;
   10749 _ACEOF
   10750 if ac_fn_c_try_compile "$LINENO"
   10751 then :
   10752   xorg_cv_cc_flag_unknown_warning_option=yes
   10753 else case e in #(
   10754   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10755 esac
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10758 esac
   10759 fi
   10760 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10761 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10763 	CFLAGS="$xorg_testset_save_CFLAGS"
   10764 fi
   10765 
   10766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10769 	fi
   10770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10771 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10772 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10773 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10774 then :
   10775   printf %s "(cached) " >&6
   10776 else case e in #(
   10777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10778 /* end confdefs.h.  */
   10779 int i;
   10780 _ACEOF
   10781 if ac_fn_c_try_compile "$LINENO"
   10782 then :
   10783   xorg_cv_cc_flag_unused_command_line_argument=yes
   10784 else case e in #(
   10785   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10786 esac
   10787 fi
   10788 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10789 esac
   10790 fi
   10791 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10792 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10794 	CFLAGS="$xorg_testset_save_CFLAGS"
   10795 fi
   10796 
   10797 found="no"
   10798 
   10799 	if test $found = "no" ; then
   10800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10802 		fi
   10803 
   10804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10806 		fi
   10807 
   10808 		CFLAGS="$CFLAGS -Waddress"
   10809 
   10810 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10811 printf %s "checking if $CC supports -Waddress... " >&6; }
   10812 		cacheid=xorg_cv_cc_flag__Waddress
   10813 		if eval test \${$cacheid+y}
   10814 then :
   10815   printf %s "(cached) " >&6
   10816 else case e in #(
   10817   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 int i;
   10820 int
   10821 main (void)
   10822 {
   10823 
   10824   ;
   10825   return 0;
   10826 }
   10827 _ACEOF
   10828 if ac_fn_c_try_link "$LINENO"
   10829 then :
   10830   eval $cacheid=yes
   10831 else case e in #(
   10832   e) eval $cacheid=no ;;
   10833 esac
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10836     conftest$ac_exeext conftest.$ac_ext ;;
   10837 esac
   10838 fi
   10839 
   10840 
   10841 		CFLAGS="$xorg_testset_save_CFLAGS"
   10842 
   10843 		eval supported=\$$cacheid
   10844 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10845 printf '%s\n' "$supported" >&6; }
   10846 		if test "$supported" = "yes" ; then
   10847 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10848 			found="yes"
   10849 		fi
   10850 	fi
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 xorg_testset_save_CFLAGS="$CFLAGS"
   10867 
   10868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10870 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10871 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10872 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10873 then :
   10874   printf %s "(cached) " >&6
   10875 else case e in #(
   10876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10877 /* end confdefs.h.  */
   10878 int i;
   10879 _ACEOF
   10880 if ac_fn_c_try_compile "$LINENO"
   10881 then :
   10882   xorg_cv_cc_flag_unknown_warning_option=yes
   10883 else case e in #(
   10884   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10885 esac
   10886 fi
   10887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10888 esac
   10889 fi
   10890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10891 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10892 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10893 	CFLAGS="$xorg_testset_save_CFLAGS"
   10894 fi
   10895 
   10896 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10897 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10899 	fi
   10900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10901 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10902 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10903 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10904 then :
   10905   printf %s "(cached) " >&6
   10906 else case e in #(
   10907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10908 /* end confdefs.h.  */
   10909 int i;
   10910 _ACEOF
   10911 if ac_fn_c_try_compile "$LINENO"
   10912 then :
   10913   xorg_cv_cc_flag_unused_command_line_argument=yes
   10914 else case e in #(
   10915   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10916 esac
   10917 fi
   10918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10919 esac
   10920 fi
   10921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10922 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10924 	CFLAGS="$xorg_testset_save_CFLAGS"
   10925 fi
   10926 
   10927 found="no"
   10928 
   10929 	if test $found = "no" ; then
   10930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10932 		fi
   10933 
   10934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10936 		fi
   10937 
   10938 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10939 
   10940 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10941 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10942 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10943 		if eval test \${$cacheid+y}
   10944 then :
   10945   printf %s "(cached) " >&6
   10946 else case e in #(
   10947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10948 /* end confdefs.h.  */
   10949 int i;
   10950 int
   10951 main (void)
   10952 {
   10953 
   10954   ;
   10955   return 0;
   10956 }
   10957 _ACEOF
   10958 if ac_fn_c_try_link "$LINENO"
   10959 then :
   10960   eval $cacheid=yes
   10961 else case e in #(
   10962   e) eval $cacheid=no ;;
   10963 esac
   10964 fi
   10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10966     conftest$ac_exeext conftest.$ac_ext ;;
   10967 esac
   10968 fi
   10969 
   10970 
   10971 		CFLAGS="$xorg_testset_save_CFLAGS"
   10972 
   10973 		eval supported=\$$cacheid
   10974 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10975 printf '%s\n' "$supported" >&6; }
   10976 		if test "$supported" = "yes" ; then
   10977 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10978 			found="yes"
   10979 		fi
   10980 	fi
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 xorg_testset_save_CFLAGS="$CFLAGS"
   10997 
   10998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11000 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11001 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11002 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11003 then :
   11004   printf %s "(cached) " >&6
   11005 else case e in #(
   11006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11007 /* end confdefs.h.  */
   11008 int i;
   11009 _ACEOF
   11010 if ac_fn_c_try_compile "$LINENO"
   11011 then :
   11012   xorg_cv_cc_flag_unknown_warning_option=yes
   11013 else case e in #(
   11014   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11015 esac
   11016 fi
   11017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11018 esac
   11019 fi
   11020 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11021 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11023 	CFLAGS="$xorg_testset_save_CFLAGS"
   11024 fi
   11025 
   11026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11029 	fi
   11030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11031 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11032 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11033 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11034 then :
   11035   printf %s "(cached) " >&6
   11036 else case e in #(
   11037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11038 /* end confdefs.h.  */
   11039 int i;
   11040 _ACEOF
   11041 if ac_fn_c_try_compile "$LINENO"
   11042 then :
   11043   xorg_cv_cc_flag_unused_command_line_argument=yes
   11044 else case e in #(
   11045   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11046 esac
   11047 fi
   11048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11049 esac
   11050 fi
   11051 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11052 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11054 	CFLAGS="$xorg_testset_save_CFLAGS"
   11055 fi
   11056 
   11057 found="no"
   11058 
   11059 	if test $found = "no" ; then
   11060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11062 		fi
   11063 
   11064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11066 		fi
   11067 
   11068 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11069 
   11070 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11071 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11072 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11073 		if eval test \${$cacheid+y}
   11074 then :
   11075   printf %s "(cached) " >&6
   11076 else case e in #(
   11077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11078 /* end confdefs.h.  */
   11079 int i;
   11080 int
   11081 main (void)
   11082 {
   11083 
   11084   ;
   11085   return 0;
   11086 }
   11087 _ACEOF
   11088 if ac_fn_c_try_link "$LINENO"
   11089 then :
   11090   eval $cacheid=yes
   11091 else case e in #(
   11092   e) eval $cacheid=no ;;
   11093 esac
   11094 fi
   11095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11096     conftest$ac_exeext conftest.$ac_ext ;;
   11097 esac
   11098 fi
   11099 
   11100 
   11101 		CFLAGS="$xorg_testset_save_CFLAGS"
   11102 
   11103 		eval supported=\$$cacheid
   11104 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11105 printf '%s\n' "$supported" >&6; }
   11106 		if test "$supported" = "yes" ; then
   11107 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11108 			found="yes"
   11109 		fi
   11110 	fi
   11111 
   11112 
   11113 fi
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 		CWARNFLAGS="$BASE_CFLAGS"
   11122 		if  test "x$GCC" = xyes ; then
   11123 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11124 		fi
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 # Check whether --enable-strict-compilation was given.
   11134 if test ${enable_strict_compilation+y}
   11135 then :
   11136   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11137 else case e in #(
   11138   e) STRICT_COMPILE=no ;;
   11139 esac
   11140 fi
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 STRICT_CFLAGS=""
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 xorg_testset_save_CFLAGS="$CFLAGS"
   11162 
   11163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11165 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11166 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11167 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11168 then :
   11169   printf %s "(cached) " >&6
   11170 else case e in #(
   11171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11172 /* end confdefs.h.  */
   11173 int i;
   11174 _ACEOF
   11175 if ac_fn_c_try_compile "$LINENO"
   11176 then :
   11177   xorg_cv_cc_flag_unknown_warning_option=yes
   11178 else case e in #(
   11179   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11180 esac
   11181 fi
   11182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11183 esac
   11184 fi
   11185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11186 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11188 	CFLAGS="$xorg_testset_save_CFLAGS"
   11189 fi
   11190 
   11191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11194 	fi
   11195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11196 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11197 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11198 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11199 then :
   11200   printf %s "(cached) " >&6
   11201 else case e in #(
   11202   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11203 /* end confdefs.h.  */
   11204 int i;
   11205 _ACEOF
   11206 if ac_fn_c_try_compile "$LINENO"
   11207 then :
   11208   xorg_cv_cc_flag_unused_command_line_argument=yes
   11209 else case e in #(
   11210   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11211 esac
   11212 fi
   11213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11214 esac
   11215 fi
   11216 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11217 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11219 	CFLAGS="$xorg_testset_save_CFLAGS"
   11220 fi
   11221 
   11222 found="no"
   11223 
   11224 	if test $found = "no" ; then
   11225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11227 		fi
   11228 
   11229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11231 		fi
   11232 
   11233 		CFLAGS="$CFLAGS -pedantic"
   11234 
   11235 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11236 printf %s "checking if $CC supports -pedantic... " >&6; }
   11237 		cacheid=xorg_cv_cc_flag__pedantic
   11238 		if eval test \${$cacheid+y}
   11239 then :
   11240   printf %s "(cached) " >&6
   11241 else case e in #(
   11242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11243 /* end confdefs.h.  */
   11244 int i;
   11245 int
   11246 main (void)
   11247 {
   11248 
   11249   ;
   11250   return 0;
   11251 }
   11252 _ACEOF
   11253 if ac_fn_c_try_link "$LINENO"
   11254 then :
   11255   eval $cacheid=yes
   11256 else case e in #(
   11257   e) eval $cacheid=no ;;
   11258 esac
   11259 fi
   11260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11261     conftest$ac_exeext conftest.$ac_ext ;;
   11262 esac
   11263 fi
   11264 
   11265 
   11266 		CFLAGS="$xorg_testset_save_CFLAGS"
   11267 
   11268 		eval supported=\$$cacheid
   11269 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11270 printf '%s\n' "$supported" >&6; }
   11271 		if test "$supported" = "yes" ; then
   11272 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11273 			found="yes"
   11274 		fi
   11275 	fi
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 xorg_testset_save_CFLAGS="$CFLAGS"
   11292 
   11293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11295 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11296 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11297 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11298 then :
   11299   printf %s "(cached) " >&6
   11300 else case e in #(
   11301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11302 /* end confdefs.h.  */
   11303 int i;
   11304 _ACEOF
   11305 if ac_fn_c_try_compile "$LINENO"
   11306 then :
   11307   xorg_cv_cc_flag_unknown_warning_option=yes
   11308 else case e in #(
   11309   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11310 esac
   11311 fi
   11312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11313 esac
   11314 fi
   11315 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11316 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11318 	CFLAGS="$xorg_testset_save_CFLAGS"
   11319 fi
   11320 
   11321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11324 	fi
   11325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11326 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11327 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11328 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11329 then :
   11330   printf %s "(cached) " >&6
   11331 else case e in #(
   11332   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11333 /* end confdefs.h.  */
   11334 int i;
   11335 _ACEOF
   11336 if ac_fn_c_try_compile "$LINENO"
   11337 then :
   11338   xorg_cv_cc_flag_unused_command_line_argument=yes
   11339 else case e in #(
   11340   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11341 esac
   11342 fi
   11343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11344 esac
   11345 fi
   11346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11347 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11349 	CFLAGS="$xorg_testset_save_CFLAGS"
   11350 fi
   11351 
   11352 found="no"
   11353 
   11354 	if test $found = "no" ; then
   11355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11357 		fi
   11358 
   11359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11361 		fi
   11362 
   11363 		CFLAGS="$CFLAGS -Werror"
   11364 
   11365 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11366 printf %s "checking if $CC supports -Werror... " >&6; }
   11367 		cacheid=xorg_cv_cc_flag__Werror
   11368 		if eval test \${$cacheid+y}
   11369 then :
   11370   printf %s "(cached) " >&6
   11371 else case e in #(
   11372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11373 /* end confdefs.h.  */
   11374 int i;
   11375 int
   11376 main (void)
   11377 {
   11378 
   11379   ;
   11380   return 0;
   11381 }
   11382 _ACEOF
   11383 if ac_fn_c_try_link "$LINENO"
   11384 then :
   11385   eval $cacheid=yes
   11386 else case e in #(
   11387   e) eval $cacheid=no ;;
   11388 esac
   11389 fi
   11390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11391     conftest$ac_exeext conftest.$ac_ext ;;
   11392 esac
   11393 fi
   11394 
   11395 
   11396 		CFLAGS="$xorg_testset_save_CFLAGS"
   11397 
   11398 		eval supported=\$$cacheid
   11399 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11400 printf '%s\n' "$supported" >&6; }
   11401 		if test "$supported" = "yes" ; then
   11402 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11403 			found="yes"
   11404 		fi
   11405 	fi
   11406 
   11407 	if test $found = "no" ; then
   11408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11410 		fi
   11411 
   11412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11414 		fi
   11415 
   11416 		CFLAGS="$CFLAGS -errwarn"
   11417 
   11418 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11419 printf %s "checking if $CC supports -errwarn... " >&6; }
   11420 		cacheid=xorg_cv_cc_flag__errwarn
   11421 		if eval test \${$cacheid+y}
   11422 then :
   11423   printf %s "(cached) " >&6
   11424 else case e in #(
   11425   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11426 /* end confdefs.h.  */
   11427 int i;
   11428 int
   11429 main (void)
   11430 {
   11431 
   11432   ;
   11433   return 0;
   11434 }
   11435 _ACEOF
   11436 if ac_fn_c_try_link "$LINENO"
   11437 then :
   11438   eval $cacheid=yes
   11439 else case e in #(
   11440   e) eval $cacheid=no ;;
   11441 esac
   11442 fi
   11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11444     conftest$ac_exeext conftest.$ac_ext ;;
   11445 esac
   11446 fi
   11447 
   11448 
   11449 		CFLAGS="$xorg_testset_save_CFLAGS"
   11450 
   11451 		eval supported=\$$cacheid
   11452 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11453 printf '%s\n' "$supported" >&6; }
   11454 		if test "$supported" = "yes" ; then
   11455 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11456 			found="yes"
   11457 		fi
   11458 	fi
   11459 
   11460 
   11461 
   11462 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11463 # activate it with -Werror, so we add it here explicitly.
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 xorg_testset_save_CFLAGS="$CFLAGS"
   11478 
   11479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11481 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11482 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11483 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11484 then :
   11485   printf %s "(cached) " >&6
   11486 else case e in #(
   11487   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11488 /* end confdefs.h.  */
   11489 int i;
   11490 _ACEOF
   11491 if ac_fn_c_try_compile "$LINENO"
   11492 then :
   11493   xorg_cv_cc_flag_unknown_warning_option=yes
   11494 else case e in #(
   11495   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11496 esac
   11497 fi
   11498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11499 esac
   11500 fi
   11501 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11502 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11504 	CFLAGS="$xorg_testset_save_CFLAGS"
   11505 fi
   11506 
   11507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11510 	fi
   11511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11512 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11515 then :
   11516   printf %s "(cached) " >&6
   11517 else case e in #(
   11518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11519 /* end confdefs.h.  */
   11520 int i;
   11521 _ACEOF
   11522 if ac_fn_c_try_compile "$LINENO"
   11523 then :
   11524   xorg_cv_cc_flag_unused_command_line_argument=yes
   11525 else case e in #(
   11526   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11527 esac
   11528 fi
   11529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11530 esac
   11531 fi
   11532 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11533 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11535 	CFLAGS="$xorg_testset_save_CFLAGS"
   11536 fi
   11537 
   11538 found="no"
   11539 
   11540 	if test $found = "no" ; then
   11541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11543 		fi
   11544 
   11545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11547 		fi
   11548 
   11549 		CFLAGS="$CFLAGS -Werror=attributes"
   11550 
   11551 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11552 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11553 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11554 		if eval test \${$cacheid+y}
   11555 then :
   11556   printf %s "(cached) " >&6
   11557 else case e in #(
   11558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11559 /* end confdefs.h.  */
   11560 int i;
   11561 int
   11562 main (void)
   11563 {
   11564 
   11565   ;
   11566   return 0;
   11567 }
   11568 _ACEOF
   11569 if ac_fn_c_try_link "$LINENO"
   11570 then :
   11571   eval $cacheid=yes
   11572 else case e in #(
   11573   e) eval $cacheid=no ;;
   11574 esac
   11575 fi
   11576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11577     conftest$ac_exeext conftest.$ac_ext ;;
   11578 esac
   11579 fi
   11580 
   11581 
   11582 		CFLAGS="$xorg_testset_save_CFLAGS"
   11583 
   11584 		eval supported=\$$cacheid
   11585 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11586 printf '%s\n' "$supported" >&6; }
   11587 		if test "$supported" = "yes" ; then
   11588 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11589 			found="yes"
   11590 		fi
   11591 	fi
   11592 
   11593 
   11594 
   11595 if test "x$STRICT_COMPILE" = "xyes"; then
   11596     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11597     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11598 fi
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 cat >>confdefs.h <<_ACEOF
   11608 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11609 _ACEOF
   11610 
   11611 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11612 	if test "x$PVM" = "x"; then
   11613 		PVM="0"
   11614 	fi
   11615 
   11616 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11617 
   11618 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11619 	if test "x$PVP" = "x"; then
   11620 		PVP="0"
   11621 	fi
   11622 
   11623 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11624 
   11625 
   11626 
   11627 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11628 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11629 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11630 touch \$(top_srcdir)/ChangeLog; \
   11631 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11632 
   11633 
   11634 
   11635 
   11636 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11637 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11638 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11639 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11640 touch \$(top_srcdir)/INSTALL; \
   11641 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 case $host_os in
   11649     solaris*)
   11650         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11651         # check for a man page file found in later versions that use
   11652         # traditional section numbers instead
   11653         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11654 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11655 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11656 then :
   11657   printf %s "(cached) " >&6
   11658 else case e in #(
   11659   e) test "$cross_compiling" = yes &&
   11660   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11661 if test -r "/usr/share/man/man7/attributes.7"; then
   11662   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11663 else
   11664   ac_cv_file__usr_share_man_man7_attributes_7=no
   11665 fi ;;
   11666 esac
   11667 fi
   11668 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11669 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11670 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11671 then :
   11672   SYSV_MAN_SECTIONS=false
   11673 else case e in #(
   11674   e) SYSV_MAN_SECTIONS=true ;;
   11675 esac
   11676 fi
   11677 
   11678         ;;
   11679     *) SYSV_MAN_SECTIONS=false ;;
   11680 esac
   11681 
   11682 if test x$APP_MAN_SUFFIX = x    ; then
   11683     APP_MAN_SUFFIX=1
   11684 fi
   11685 if test x$APP_MAN_DIR = x    ; then
   11686     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11687 fi
   11688 
   11689 if test x$LIB_MAN_SUFFIX = x    ; then
   11690     LIB_MAN_SUFFIX=3
   11691 fi
   11692 if test x$LIB_MAN_DIR = x    ; then
   11693     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11694 fi
   11695 
   11696 if test x$FILE_MAN_SUFFIX = x    ; then
   11697     case $SYSV_MAN_SECTIONS in
   11698 	true)				FILE_MAN_SUFFIX=4  ;;
   11699 	*)				FILE_MAN_SUFFIX=5  ;;
   11700     esac
   11701 fi
   11702 if test x$FILE_MAN_DIR = x    ; then
   11703     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11704 fi
   11705 
   11706 if test x$MISC_MAN_SUFFIX = x    ; then
   11707     case $SYSV_MAN_SECTIONS in
   11708 	true)				MISC_MAN_SUFFIX=5  ;;
   11709 	*)				MISC_MAN_SUFFIX=7  ;;
   11710     esac
   11711 fi
   11712 if test x$MISC_MAN_DIR = x    ; then
   11713     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11714 fi
   11715 
   11716 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11717     case $SYSV_MAN_SECTIONS in
   11718 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11719 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11720     esac
   11721 fi
   11722 if test x$DRIVER_MAN_DIR = x    ; then
   11723     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11724 fi
   11725 
   11726 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11727     case $SYSV_MAN_SECTIONS in
   11728 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11729 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11730     esac
   11731 fi
   11732 if test x$ADMIN_MAN_DIR = x    ; then
   11733     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11734 fi
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 XORG_MAN_PAGE="X Version 11"
   11751 
   11752 MAN_SUBSTS="\
   11753 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11754 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11755 	-e 's|__xservername__|Xorg|g' \
   11756 	-e 's|__xconfigfile__|xorg.conf|g' \
   11757 	-e 's|__projectroot__|\$(prefix)|g' \
   11758 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11759 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11760 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11761 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11762 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11763 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11764 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11765 
   11766 
   11767 
   11768 
   11769 AM_DEFAULT_VERBOSITY=0
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 # Checks for pkg-config packages
   11776 
   11777 pkg_failed=no
   11778 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for LISTRES" >&5
   11779 printf %s "checking for LISTRES... " >&6; }
   11780 
   11781 if test -n "$LISTRES_CFLAGS"; then
   11782     pkg_cv_LISTRES_CFLAGS="$LISTRES_CFLAGS"
   11783  elif test -n "$PKG_CONFIG"; then
   11784     if test -n "$PKG_CONFIG" && \
   11785     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5
   11786   ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5
   11787   ac_status=$?
   11788   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11789   test $ac_status = 0; }; then
   11790   pkg_cv_LISTRES_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xproto xt xmu" 2>/dev/null`
   11791 		      test "x$?" != "x0" && pkg_failed=yes
   11792 else
   11793   pkg_failed=yes
   11794 fi
   11795  else
   11796     pkg_failed=untried
   11797 fi
   11798 if test -n "$LISTRES_LIBS"; then
   11799     pkg_cv_LISTRES_LIBS="$LISTRES_LIBS"
   11800  elif test -n "$PKG_CONFIG"; then
   11801     if test -n "$PKG_CONFIG" && \
   11802     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xproto xt xmu\""; } >&5
   11803   ($PKG_CONFIG --exists --print-errors "xaw7 xproto xt xmu") 2>&5
   11804   ac_status=$?
   11805   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11806   test $ac_status = 0; }; then
   11807   pkg_cv_LISTRES_LIBS=`$PKG_CONFIG --libs "xaw7 xproto xt xmu" 2>/dev/null`
   11808 		      test "x$?" != "x0" && pkg_failed=yes
   11809 else
   11810   pkg_failed=yes
   11811 fi
   11812  else
   11813     pkg_failed=untried
   11814 fi
   11815 
   11816 
   11817 
   11818 if test $pkg_failed = yes; then
   11819    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11820 printf '%s\n' "no" >&6; }
   11821 
   11822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11823         _pkg_short_errors_supported=yes
   11824 else
   11825         _pkg_short_errors_supported=no
   11826 fi
   11827         if test $_pkg_short_errors_supported = yes; then
   11828 	        LISTRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xproto xt xmu" 2>&1`
   11829         else
   11830 	        LISTRES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xproto xt xmu" 2>&1`
   11831         fi
   11832 	# Put the nasty error message in config.log where it belongs
   11833 	echo "$LISTRES_PKG_ERRORS" >&5
   11834 
   11835 	as_fn_error $? "Package requirements (xaw7 xproto xt xmu) were not met:
   11836 
   11837 $LISTRES_PKG_ERRORS
   11838 
   11839 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11840 installed software in a non-standard prefix.
   11841 
   11842 Alternatively, you may set the environment variables LISTRES_CFLAGS
   11843 and LISTRES_LIBS to avoid the need to call pkg-config.
   11844 See the pkg-config man page for more details." "$LINENO" 5
   11845 elif test $pkg_failed = untried; then
   11846      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 printf '%s\n' "no" >&6; }
   11848 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11849 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   11850 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11851 is in your PATH or set the PKG_CONFIG environment variable to the full
   11852 path to pkg-config.
   11853 
   11854 Alternatively, you may set the environment variables LISTRES_CFLAGS
   11855 and LISTRES_LIBS to avoid the need to call pkg-config.
   11856 See the pkg-config man page for more details.
   11857 
   11858 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11859 See 'config.log' for more details" "$LINENO" 5; }
   11860 else
   11861 	LISTRES_CFLAGS=$pkg_cv_LISTRES_CFLAGS
   11862 	LISTRES_LIBS=$pkg_cv_LISTRES_LIBS
   11863         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11864 printf '%s\n' "yes" >&6; }
   11865 
   11866 fi
   11867 
   11868 ac_config_files="$ac_config_files Makefile man/Makefile"
   11869 
   11870 cat >confcache <<\_ACEOF
   11871 # This file is a shell script that caches the results of configure
   11872 # tests run on this system so they can be shared between configure
   11873 # scripts and configure runs, see configure's option --config-cache.
   11874 # It is not useful on other systems.  If it contains results you don't
   11875 # want to keep, you may remove or edit it.
   11876 #
   11877 # config.status only pays attention to the cache file if you give it
   11878 # the --recheck option to rerun configure.
   11879 #
   11880 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11881 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11882 # following values.
   11883 
   11884 _ACEOF
   11885 
   11886 ac_cache_dump |
   11887   sed '
   11888      /^ac_cv_env_/b end
   11889      t clear
   11890      :clear
   11891      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11892      t end
   11893      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11894      :end' >>confcache
   11895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11896   if test -w "$cache_file"; then
   11897     if test "x$cache_file" != "x/dev/null"; then
   11898       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11899 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   11900       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11901 	cat confcache >"$cache_file"
   11902       else
   11903         case $cache_file in #(
   11904         */* | ?:*)
   11905 	  mv -f confcache "$cache_file"$$ &&
   11906 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11907         *)
   11908 	  mv -f confcache "$cache_file" ;;
   11909 	esac
   11910       fi
   11911     fi
   11912   else
   11913     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11914 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   11915   fi
   11916 fi
   11917 rm -f confcache
   11918 
   11919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11920 # Let make expand exec_prefix.
   11921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11922 
   11923 DEFS=-DHAVE_CONFIG_H
   11924 
   11925 ac_libobjs=
   11926 ac_ltlibobjs=
   11927 U=
   11928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11929   # 1. Remove the extension, and $U if already installed.
   11930   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11931   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   11932   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11933   #    will be set to the directory where LIBOBJS objects are built.
   11934   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11935   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11936 done
   11937 LIBOBJS=$ac_libobjs
   11938 
   11939 LTLIBOBJS=$ac_ltlibobjs
   11940 
   11941 
   11942 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11943 printf %s "checking that generated files are newer than configure... " >&6; }
   11944    if test -n "$am_sleep_pid"; then
   11945      # Hide warnings about reused PIDs.
   11946      wait $am_sleep_pid 2>/dev/null
   11947    fi
   11948    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11949 printf '%s\n' "done" >&6; }
   11950 case $enable_silent_rules in # (((
   11951   yes) AM_DEFAULT_VERBOSITY=0;;
   11952    no) AM_DEFAULT_VERBOSITY=1;;
   11953 esac
   11954 if test $am_cv_make_support_nested_variables = yes; then
   11955     AM_V='$(V)'
   11956   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11957 else
   11958   AM_V=$AM_DEFAULT_VERBOSITY
   11959   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11960 fi
   11961 
   11962  if test -n "$EXEEXT"; then
   11963   am__EXEEXT_TRUE=
   11964   am__EXEEXT_FALSE='#'
   11965 else
   11966   am__EXEEXT_TRUE='#'
   11967   am__EXEEXT_FALSE=
   11968 fi
   11969 
   11970 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11971   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11973 fi
   11974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11975   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11977 fi
   11978 
   11979 : "${CONFIG_STATUS=./config.status}"
   11980 case $CONFIG_STATUS in #(
   11981   -*) :
   11982     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   11983   */*) :
   11984      ;; #(
   11985   *) :
   11986     CONFIG_STATUS=./$CONFIG_STATUS ;;
   11987 esac
   11988 
   11989 ac_write_fail=0
   11990 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   11991 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11992 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   11993 as_write_fail=0
   11994 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   11995 #! $SHELL
   11996 # Generated by $as_me.
   11997 # Run this file to recreate the current configuration.
   11998 # Compiler output produced by configure, useful for debugging
   11999 # configure, is in config.log if it exists.
   12000 
   12001 debug=false
   12002 ac_cs_recheck=false
   12003 ac_cs_silent=false
   12004 
   12005 SHELL=\${CONFIG_SHELL-$SHELL}
   12006 export SHELL
   12007 _ASEOF
   12008 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   12009 ## -------------------- ##
   12010 ## M4sh Initialization. ##
   12011 ## -------------------- ##
   12012 
   12013 # Be more Bourne compatible
   12014 DUALCASE=1; export DUALCASE # for MKS sh
   12015 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12016 then :
   12017   emulate sh
   12018   NULLCMD=:
   12019   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12020   # contradicts POSIX and common usage.  Disable this.
   12021   alias -g '${1+"$@"}'='"$@"'
   12022   setopt NO_GLOB_SUBST
   12023 else case e in #(
   12024   e) case `(set -o) 2>/dev/null` in #(
   12025   *posix*) :
   12026     set -o posix ;; #(
   12027   *) :
   12028      ;;
   12029 esac ;;
   12030 esac
   12031 fi
   12032 
   12033 
   12034 
   12035 # Reset variables that may have inherited troublesome values from
   12036 # the environment.
   12037 
   12038 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12039 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12040 # side effect of setting IFS to empty, thus disabling word splitting.)
   12041 # Quoting is to prevent editors from complaining about space-tab.
   12042 as_nl='
   12043 '
   12044 export as_nl
   12045 IFS=" ""	$as_nl"
   12046 
   12047 PS1='$ '
   12048 PS2='> '
   12049 PS4='+ '
   12050 
   12051 # Ensure predictable behavior from utilities with locale-dependent output.
   12052 LC_ALL=C
   12053 export LC_ALL
   12054 LANGUAGE=C
   12055 export LANGUAGE
   12056 
   12057 # We cannot yet rely on "unset" to work, but we need these variables
   12058 # to be unset--not just set to an empty or harmless value--now, to
   12059 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12060 # also avoids known problems related to "unset" and subshell syntax
   12061 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12062 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12063 do eval test \${$as_var+y} \
   12064   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12065 done
   12066 
   12067 # Ensure that fds 0, 1, and 2 are open.
   12068 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12069 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12070 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12071 
   12072 # The user is always right.
   12073 if ${PATH_SEPARATOR+false} :; then
   12074   PATH_SEPARATOR=:
   12075   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12076     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12077       PATH_SEPARATOR=';'
   12078   }
   12079 fi
   12080 
   12081 
   12082 # Find who we are.  Look in the path if we contain no directory separator.
   12083 as_myself=
   12084 case $0 in #((
   12085   *[\\/]* ) as_myself=$0 ;;
   12086   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12087 for as_dir in $PATH
   12088 do
   12089   IFS=$as_save_IFS
   12090   case $as_dir in #(((
   12091     '') as_dir=./ ;;
   12092     */) ;;
   12093     *) as_dir=$as_dir/ ;;
   12094   esac
   12095     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12096   done
   12097 IFS=$as_save_IFS
   12098 
   12099      ;;
   12100 esac
   12101 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12102 # in which case we are not to be found in the path.
   12103 if test "x$as_myself" = x; then
   12104   as_myself=$0
   12105 fi
   12106 if test ! -f "$as_myself"; then
   12107   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12108   exit 1
   12109 fi
   12110 
   12111 
   12112 
   12113 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12114 # ----------------------------------------
   12115 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12116 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12117 # script with STATUS, using 1 if that was 0.
   12118 as_fn_error ()
   12119 {
   12120   as_status=$1; test $as_status -eq 0 && as_status=1
   12121   if test "$4"; then
   12122     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12123     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12124   fi
   12125   printf '%s\n' "$as_me: error: $2" >&2
   12126   as_fn_exit $as_status
   12127 } # as_fn_error
   12128 
   12129 
   12130 # as_fn_set_status STATUS
   12131 # -----------------------
   12132 # Set $? to STATUS, without forking.
   12133 as_fn_set_status ()
   12134 {
   12135   return $1
   12136 } # as_fn_set_status
   12137 
   12138 # as_fn_exit STATUS
   12139 # -----------------
   12140 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12141 as_fn_exit ()
   12142 {
   12143   set +e
   12144   as_fn_set_status $1
   12145   exit $1
   12146 } # as_fn_exit
   12147 
   12148 # as_fn_unset VAR
   12149 # ---------------
   12150 # Portably unset VAR.
   12151 as_fn_unset ()
   12152 {
   12153   { eval $1=; unset $1;}
   12154 }
   12155 as_unset=as_fn_unset
   12156 
   12157 # as_fn_append VAR VALUE
   12158 # ----------------------
   12159 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12160 # advantage of any shell optimizations that allow amortized linear growth over
   12161 # repeated appends, instead of the typical quadratic growth present in naive
   12162 # implementations.
   12163 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12164 then :
   12165   eval 'as_fn_append ()
   12166   {
   12167     eval $1+=\$2
   12168   }'
   12169 else case e in #(
   12170   e) as_fn_append ()
   12171   {
   12172     eval $1=\$$1\$2
   12173   } ;;
   12174 esac
   12175 fi # as_fn_append
   12176 
   12177 # as_fn_arith ARG...
   12178 # ------------------
   12179 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12180 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12181 # must be portable across $(()) and expr.
   12182 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12183 then :
   12184   eval 'as_fn_arith ()
   12185   {
   12186     as_val=$(( $* ))
   12187   }'
   12188 else case e in #(
   12189   e) as_fn_arith ()
   12190   {
   12191     as_val=`expr "$@" || test $? -eq 1`
   12192   } ;;
   12193 esac
   12194 fi # as_fn_arith
   12195 
   12196 
   12197 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12198    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12199   as_expr=expr
   12200 else
   12201   as_expr=false
   12202 fi
   12203 
   12204 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12205   as_basename=basename
   12206 else
   12207   as_basename=false
   12208 fi
   12209 
   12210 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12211   as_dirname=dirname
   12212 else
   12213   as_dirname=false
   12214 fi
   12215 
   12216 as_me=`$as_basename -- "$0" ||
   12217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12218 	 X"$0" : 'X\(//\)$' \| \
   12219 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12220 printf '%s\n' X/"$0" |
   12221     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12222 	    s//\1/
   12223 	    q
   12224 	  }
   12225 	  /^X\/\(\/\/\)$/{
   12226 	    s//\1/
   12227 	    q
   12228 	  }
   12229 	  /^X\/\(\/\).*/{
   12230 	    s//\1/
   12231 	    q
   12232 	  }
   12233 	  s/.*/./; q'`
   12234 
   12235 # Avoid depending upon Character Ranges.
   12236 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12237 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12238 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12239 as_cr_digits='0123456789'
   12240 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12241 
   12242 rm -f conf$$ conf$$.exe conf$$.file
   12243 if test -d conf$$.dir; then
   12244   rm -f conf$$.dir/conf$$.file
   12245 else
   12246   rm -f conf$$.dir
   12247   mkdir conf$$.dir 2>/dev/null
   12248 fi
   12249 if (echo >conf$$.file) 2>/dev/null; then
   12250   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12251     as_ln_s='ln -s'
   12252     # ... but there are two gotchas:
   12253     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12254     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12255     # In both cases, we have to default to 'cp -pR'.
   12256     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12257       as_ln_s='cp -pR'
   12258   elif ln conf$$.file conf$$ 2>/dev/null; then
   12259     as_ln_s=ln
   12260   else
   12261     as_ln_s='cp -pR'
   12262   fi
   12263 else
   12264   as_ln_s='cp -pR'
   12265 fi
   12266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12267 rmdir conf$$.dir 2>/dev/null
   12268 
   12269 
   12270 # as_fn_mkdir_p
   12271 # -------------
   12272 # Create "$as_dir" as a directory, including parents if necessary.
   12273 as_fn_mkdir_p ()
   12274 {
   12275 
   12276   case $as_dir in #(
   12277   -*) as_dir=./$as_dir;;
   12278   esac
   12279   test -d "$as_dir" || eval $as_mkdir_p || {
   12280     as_dirs=
   12281     while :; do
   12282       case $as_dir in #(
   12283       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12284       *) as_qdir=$as_dir;;
   12285       esac
   12286       as_dirs="'$as_qdir' $as_dirs"
   12287       as_dir=`$as_dirname -- "$as_dir" ||
   12288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12289 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12290 	 X"$as_dir" : 'X\(//\)$' \| \
   12291 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12292 printf '%s\n' X"$as_dir" |
   12293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12294 	    s//\1/
   12295 	    q
   12296 	  }
   12297 	  /^X\(\/\/\)[^/].*/{
   12298 	    s//\1/
   12299 	    q
   12300 	  }
   12301 	  /^X\(\/\/\)$/{
   12302 	    s//\1/
   12303 	    q
   12304 	  }
   12305 	  /^X\(\/\).*/{
   12306 	    s//\1/
   12307 	    q
   12308 	  }
   12309 	  s/.*/./; q'`
   12310       test -d "$as_dir" && break
   12311     done
   12312     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12313   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12314 
   12315 
   12316 } # as_fn_mkdir_p
   12317 if mkdir -p . 2>/dev/null; then
   12318   as_mkdir_p='mkdir -p "$as_dir"'
   12319 else
   12320   test -d ./-p && rmdir ./-p
   12321   as_mkdir_p=false
   12322 fi
   12323 
   12324 
   12325 # as_fn_executable_p FILE
   12326 # -----------------------
   12327 # Test if FILE is an executable regular file.
   12328 as_fn_executable_p ()
   12329 {
   12330   test -f "$1" && test -x "$1"
   12331 } # as_fn_executable_p
   12332 as_test_x='test -x'
   12333 as_executable_p=as_fn_executable_p
   12334 
   12335 # Sed expression to map a string onto a valid CPP name.
   12336 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12337 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12338 
   12339 # Sed expression to map a string onto a valid variable name.
   12340 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12341 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12342 
   12343 
   12344 exec 6>&1
   12345 ## ------------------------------------- ##
   12346 ## Main body of "$CONFIG_STATUS" script. ##
   12347 ## ------------------------------------- ##
   12348 _ASEOF
   12349 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   12350 
   12351 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12352 # Save the log message, to keep $0 and so on meaningful, and to
   12353 # report actual input values of CONFIG_FILES etc. instead of their
   12354 # values after options handling.
   12355 ac_log="
   12356 This file was extended by listres $as_me 1.0.7, which was
   12357 generated by GNU Autoconf 2.73.  Invocation command line was
   12358 
   12359   CONFIG_FILES    = $CONFIG_FILES
   12360   CONFIG_HEADERS  = $CONFIG_HEADERS
   12361   CONFIG_LINKS    = $CONFIG_LINKS
   12362   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12363   $ $0 $@
   12364 
   12365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12366 "
   12367 
   12368 _ACEOF
   12369 
   12370 case $ac_config_files in *"
   12371 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12372 esac
   12373 
   12374 case $ac_config_headers in *"
   12375 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12376 esac
   12377 
   12378 
   12379 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12380 # Files that config.status was made for.
   12381 config_files="$ac_config_files"
   12382 config_headers="$ac_config_headers"
   12383 config_commands="$ac_config_commands"
   12384 
   12385 _ACEOF
   12386 
   12387 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12388 ac_cs_usage="\
   12389 '$as_me' instantiates files and other configuration actions
   12390 from templates according to the current configuration.  Unless the files
   12391 and actions are specified as TAGs, all are instantiated by default.
   12392 
   12393 Usage: $0 [OPTION]... [TAG]...
   12394 
   12395   -h, --help       print this help, then exit
   12396   -V, --version    print version number and configuration settings, then exit
   12397       --config     print configuration, then exit
   12398   -q, --quiet, --silent
   12399                    do not print progress messages
   12400   -d, --debug      don't remove temporary files
   12401       --recheck    update $as_me by reconfiguring in the same conditions
   12402       --file=FILE[:TEMPLATE]
   12403                    instantiate the configuration file FILE
   12404       --header=FILE[:TEMPLATE]
   12405                    instantiate the configuration header FILE
   12406 
   12407 Configuration files:
   12408 $config_files
   12409 
   12410 Configuration headers:
   12411 $config_headers
   12412 
   12413 Configuration commands:
   12414 $config_commands
   12415 
   12416 Report bugs to <https://gitlab.freedesktop.org/xorg/app/listres/-/issues>."
   12417 
   12418 _ACEOF
   12419 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   12420 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12421 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12422 ac_cs_config='$ac_cs_config_escaped'
   12423 ac_cs_version="\\
   12424 listres config.status 1.0.7
   12425 configured by $0, generated by GNU Autoconf 2.73,
   12426   with options \\"\$ac_cs_config\\"
   12427 
   12428 Copyright (C) 2026 Free Software Foundation, Inc.
   12429 This config.status script is free software; the Free Software Foundation
   12430 gives unlimited permission to copy, distribute and modify it."
   12431 
   12432 ac_pwd='$ac_pwd'
   12433 srcdir='$srcdir'
   12434 INSTALL='$INSTALL'
   12435 MKDIR_P='$MKDIR_P'
   12436 AWK='$AWK'
   12437 test -n "\$AWK" || {
   12438   awk '' </dev/null ||
   12439     as_fn_error \$? "try installing gawk"
   12440   AWK=awk
   12441 }
   12442 _ACEOF
   12443 
   12444 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12445 # The default lists apply if the user does not specify any file.
   12446 ac_need_defaults=:
   12447 while test $# != 0
   12448 do
   12449   case $1 in
   12450   --*=?*)
   12451     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12452     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12453     ac_shift=:
   12454     ;;
   12455   --*=)
   12456     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12457     ac_optarg=
   12458     ac_shift=:
   12459     ;;
   12460   *)
   12461     ac_option=$1
   12462     ac_optarg=$2
   12463     ac_shift=shift
   12464     ;;
   12465   esac
   12466 
   12467   case $ac_option in
   12468   # Handling of the options.
   12469   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12470     ac_cs_recheck=: ;;
   12471   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12472     printf '%s\n' "$ac_cs_version"; exit ;;
   12473   --config | --confi | --conf | --con | --co | --c )
   12474     printf '%s\n' "$ac_cs_config"; exit ;;
   12475   --debug | --debu | --deb | --de | --d | -d )
   12476     debug=: ;;
   12477   --file | --fil | --fi | --f )
   12478     $ac_shift
   12479     case $ac_optarg in
   12480     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12481     '') as_fn_error $? "missing file argument" ;;
   12482     esac
   12483     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12484     ac_need_defaults=false;;
   12485   --header | --heade | --head | --hea )
   12486     $ac_shift
   12487     case $ac_optarg in
   12488     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12489     esac
   12490     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12491     ac_need_defaults=false;;
   12492   --he | --h)
   12493     # Conflict between --help and --header
   12494     as_fn_error $? "ambiguous option: '$1'
   12495 Try '$0 --help' for more information.";;
   12496   --help | --hel | -h )
   12497     printf '%s\n' "$ac_cs_usage"; exit ;;
   12498   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12499   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12500     ac_cs_silent=: ;;
   12501 
   12502   # This is an error.
   12503   -*) as_fn_error $? "unrecognized option: '$1'
   12504 Try '$0 --help' for more information." ;;
   12505 
   12506   *) as_fn_append ac_config_targets " $1"
   12507      ac_need_defaults=false ;;
   12508 
   12509   esac
   12510   shift
   12511 done
   12512 
   12513 ac_configure_extra_args=
   12514 
   12515 if $ac_cs_silent; then
   12516   exec 6>/dev/null
   12517   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12518 fi
   12519 
   12520 _ACEOF
   12521 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12522 if \$ac_cs_recheck; then
   12523   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12524   shift
   12525   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   12526   CONFIG_SHELL='$SHELL'
   12527   export CONFIG_SHELL
   12528   exec "\$@"
   12529 fi
   12530 
   12531 _ACEOF
   12532 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12533 exec 5>>config.log
   12534 {
   12535   echo
   12536   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12537 ## Running $as_me. ##
   12538 _ASBOX
   12539   printf '%s\n' "$ac_log"
   12540 } >&5
   12541 
   12542 _ACEOF
   12543 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12544 #
   12545 # INIT-COMMANDS
   12546 #
   12547 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12548 
   12549 _ACEOF
   12550 
   12551 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12552 
   12553 # Handling of arguments.
   12554 for ac_config_target in $ac_config_targets
   12555 do
   12556   case $ac_config_target in
   12557     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12558     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12559     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12560     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12561 
   12562   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12563   esac
   12564 done
   12565 
   12566 
   12567 # If the user did not use the arguments to specify the items to instantiate,
   12568 # then the envvar interface is used.  Set only those that are not.
   12569 # We use the long form for the default assignment because of an extremely
   12570 # bizarre bug on SunOS 4.1.3.
   12571 if $ac_need_defaults; then
   12572   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12573   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12574   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12575 fi
   12576 
   12577 # Have a temporary directory for convenience.  Make it in the build tree
   12578 # simply because there is no reason against having it here, and in addition,
   12579 # creating and moving files from /tmp can sometimes cause problems.
   12580 # Hook for its removal unless debugging.
   12581 # Note that there is a small window in which the directory will not be cleaned:
   12582 # after its creation but before its name has been assigned to '$tmp'.
   12583 $debug ||
   12584 {
   12585   tmp= ac_tmp=
   12586   trap 'exit_status=$?
   12587   : "${ac_tmp:=$tmp}"
   12588   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12589 ' 0
   12590   trap 'as_fn_exit 1' 1 2 13 15
   12591 }
   12592 # Create a (secure) tmp directory for tmp files.
   12593 
   12594 {
   12595   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12596   test -d "$tmp"
   12597 }  ||
   12598 {
   12599   tmp=./conf$$-$RANDOM
   12600   (umask 077 && mkdir "$tmp")
   12601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12602 ac_tmp=$tmp
   12603 
   12604 # Set up the scripts for CONFIG_FILES section.
   12605 # No need to generate them if there are no CONFIG_FILES.
   12606 # This happens for instance with './config.status config.h'.
   12607 if test -n "$CONFIG_FILES"; then
   12608 
   12609 
   12610 ac_cr=`echo X | tr X '\015'`
   12611 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12612 # But we know of no other shell where ac_cr would be empty at this
   12613 # point, so we can use a bashism as a fallback.
   12614 if test "x$ac_cr" = x; then
   12615   eval ac_cr=\$\'\\r\'
   12616 fi
   12617 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12618 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12619   ac_cs_awk_cr='\\r'
   12620 else
   12621   ac_cs_awk_cr=$ac_cr
   12622 fi
   12623 
   12624 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12625 _ACEOF
   12626 
   12627 
   12628 {
   12629   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12630   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12631   echo "_ACEOF"
   12632 } >conf$$subs.sh ||
   12633   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12634 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   12635 ac_delim='%!_!# '
   12636 for ac_last_try in false false false false false :; do
   12637   . ./conf$$subs.sh ||
   12638     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12639 
   12640   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   12641   if test $ac_delim_n = $ac_delim_num; then
   12642     break
   12643   elif $ac_last_try; then
   12644     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12645   else
   12646     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12647   fi
   12648 done
   12649 rm -f conf$$subs.sh
   12650 
   12651 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12652 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12653 _ACEOF
   12654 sed -n '
   12655 h
   12656 s/^/S["/; s/!.*/"]=/
   12657 p
   12658 g
   12659 s/^[^!]*!//
   12660 :repl
   12661 t repl
   12662 s/'"$ac_delim"'$//
   12663 t delim
   12664 :nl
   12665 h
   12666 s/\(.\{148\}\)..*/\1/
   12667 t more1
   12668 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12669 p
   12670 n
   12671 b repl
   12672 :more1
   12673 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12674 p
   12675 g
   12676 s/.\{148\}//
   12677 t nl
   12678 :delim
   12679 h
   12680 s/\(.\{148\}\)..*/\1/
   12681 t more2
   12682 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12683 p
   12684 b
   12685 :more2
   12686 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12687 p
   12688 g
   12689 s/.\{148\}//
   12690 t delim
   12691 ' <conf$$subs.awk | sed '
   12692 /^[^""]/{
   12693   N
   12694   s/\n//
   12695 }
   12696 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   12697 rm -f conf$$subs.awk
   12698 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12699 _ACAWK
   12700 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12701   for (key in S) S_is_set[key] = 1
   12702   FS = ""
   12703 
   12704 }
   12705 {
   12706   line = $ 0
   12707   nfields = split(line, field, "@")
   12708   substed = 0
   12709   len = length(field[1])
   12710   for (i = 2; i < nfields; i++) {
   12711     key = field[i]
   12712     keylen = length(key)
   12713     if (S_is_set[key]) {
   12714       value = S[key]
   12715       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12716       len += length(value) + length(field[++i])
   12717       substed = 1
   12718     } else
   12719       len += 1 + keylen
   12720   }
   12721 
   12722   print line
   12723 }
   12724 
   12725 _ACAWK
   12726 _ACEOF
   12727 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12728 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12729   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12730 else
   12731   cat
   12732 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12733   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12734 _ACEOF
   12735 
   12736 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12737 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12738 # trailing colons and then remove the whole line if VPATH becomes empty
   12739 # (actually we leave an empty line to preserve line numbers).
   12740 if test "x$srcdir" = x.; then
   12741   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12742 h
   12743 s///
   12744 s/^/:/
   12745 s/[	 ]*$/:/
   12746 s/:\$(srcdir):/:/g
   12747 s/:\${srcdir}:/:/g
   12748 s/:@srcdir@:/:/g
   12749 s/^:*//
   12750 s/:*$//
   12751 x
   12752 s/\(=[	 ]*\).*/\1/
   12753 G
   12754 s/\n//
   12755 s/^[^=]*=[	 ]*$//
   12756 }'
   12757 fi
   12758 
   12759 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12760 fi # test -n "$CONFIG_FILES"
   12761 
   12762 # Set up the scripts for CONFIG_HEADERS section.
   12763 # No need to generate them if there are no CONFIG_HEADERS.
   12764 # This happens for instance with './config.status Makefile'.
   12765 if test -n "$CONFIG_HEADERS"; then
   12766 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12767 BEGIN {
   12768 _ACEOF
   12769 
   12770 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12771 # here-document in config.status, that substitutes the proper values into
   12772 # config.h.in to produce config.h.
   12773 
   12774 # Create a delimiter string that does not exist in confdefs.h, to ease
   12775 # handling of long lines.
   12776 ac_delim='%!_!# '
   12777 for ac_last_try in false false :; do
   12778   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12779   if test -z "$ac_tt"; then
   12780     break
   12781   elif $ac_last_try; then
   12782     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12783   else
   12784     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12785   fi
   12786 done
   12787 
   12788 # For the awk script, D is an array of macro values keyed by name,
   12789 # likewise P contains macro parameters if any.  Preserve backslash
   12790 # newline sequences.
   12791 
   12792 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12793 sed -n '
   12794 s/.\{148\}/&'"$ac_delim"'/g
   12795 t rset
   12796 :rset
   12797 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12798 t def
   12799 d
   12800 :def
   12801 s/\\$//
   12802 t bsnl
   12803 s/["\\]/\\&/g
   12804 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12805 D["\1"]=" \3"/p
   12806 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12807 d
   12808 :bsnl
   12809 s/["\\]/\\&/g
   12810 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12811 D["\1"]=" \3\\\\\\n"\\/p
   12812 t cont
   12813 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12814 t cont
   12815 d
   12816 :cont
   12817 n
   12818 s/.\{148\}/&'"$ac_delim"'/g
   12819 t clear
   12820 :clear
   12821 s/\\$//
   12822 t bsnlc
   12823 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12824 d
   12825 :bsnlc
   12826 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12827 b cont
   12828 ' <confdefs.h | sed '
   12829 s/'"$ac_delim"'/"\\\
   12830 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   12831 
   12832 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   12833   for (key in D) D_is_set[key] = 1
   12834   FS = ""
   12835 }
   12836 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12837   line = \$ 0
   12838   split(line, arg, " ")
   12839   if (arg[1] == "#") {
   12840     defundef = arg[2]
   12841     mac1 = arg[3]
   12842   } else {
   12843     defundef = substr(arg[1], 2)
   12844     mac1 = arg[2]
   12845   }
   12846   split(mac1, mac2, "(") #)
   12847   macro = mac2[1]
   12848   prefix = substr(line, 1, index(line, defundef) - 1)
   12849   if (D_is_set[macro]) {
   12850     suffix = P[macro] D[macro]
   12851     while (suffix ~ /[\t ]$/) {
   12852       suffix = substr(suffix, 1, length(suffix) - 1)
   12853     }
   12854     # Preserve the white space surrounding the "#".
   12855     print prefix "define", macro suffix
   12856     next
   12857   } else {
   12858     # Replace #undef with comments.  This is necessary, for example,
   12859     # in the case of _POSIX_SOURCE, which is predefined and required
   12860     # on some systems where configure will not decide to define it.
   12861     if (defundef == "undef") {
   12862       print "/*", prefix defundef, macro, "*/"
   12863       next
   12864     }
   12865   }
   12866 }
   12867 { print }
   12868 _ACAWK
   12869 _ACEOF
   12870 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   12871   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12872 fi # test -n "$CONFIG_HEADERS"
   12873 
   12874 
   12875 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12876 shift
   12877 for ac_tag
   12878 do
   12879   case $ac_tag in
   12880   :[FHLC]) ac_mode=$ac_tag; continue;;
   12881   esac
   12882   case $ac_mode$ac_tag in
   12883   :[FHL]*:*);;
   12884   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12885   :[FH]-) ac_tag=-:-;;
   12886   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12887   esac
   12888   ac_save_IFS=$IFS
   12889   IFS=:
   12890   set x $ac_tag
   12891   IFS=$ac_save_IFS
   12892   shift
   12893   ac_file=$1
   12894   shift
   12895 
   12896   case $ac_mode in
   12897   :L) ac_source=$1;;
   12898   :[FH])
   12899     ac_file_inputs=
   12900     for ac_f
   12901     do
   12902       case $ac_f in
   12903       -) ac_f="$ac_tmp/stdin";;
   12904       *) # Look for the file first in the build tree, then in the source tree
   12905 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12906 	 # because $ac_f cannot contain ':'.
   12907 	 test -f "$ac_f" ||
   12908 	   case $ac_f in
   12909 	   [\\/$]*) false;;
   12910 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12911 	   esac ||
   12912 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12913       esac
   12914       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12915       as_fn_append ac_file_inputs " '$ac_f'"
   12916     done
   12917 
   12918     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12919     # use $as_me), people would be surprised to read:
   12920     #    /* config.h.  Generated by config.status.  */
   12921     configure_input='Generated from '`
   12922 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12923 	`' by configure.'
   12924     if test x"$ac_file" != x-; then
   12925       configure_input="$ac_file.  $configure_input"
   12926       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12927 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   12928     fi
   12929     # Neutralize special characters interpreted by sed in replacement strings.
   12930     case $configure_input in #(
   12931     *\&* | *\|* | *\\* )
   12932        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   12933        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12934     *) ac_sed_conf_input=$configure_input;;
   12935     esac
   12936 
   12937     case $ac_tag in
   12938     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12939       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12940     esac
   12941     ;;
   12942   esac
   12943 
   12944   ac_dir=`$as_dirname -- "$ac_file" ||
   12945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12946 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12947 	 X"$ac_file" : 'X\(//\)$' \| \
   12948 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12949 printf '%s\n' X"$ac_file" |
   12950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12951 	    s//\1/
   12952 	    q
   12953 	  }
   12954 	  /^X\(\/\/\)[^/].*/{
   12955 	    s//\1/
   12956 	    q
   12957 	  }
   12958 	  /^X\(\/\/\)$/{
   12959 	    s//\1/
   12960 	    q
   12961 	  }
   12962 	  /^X\(\/\).*/{
   12963 	    s//\1/
   12964 	    q
   12965 	  }
   12966 	  s/.*/./; q'`
   12967   as_dir="$ac_dir"; as_fn_mkdir_p
   12968   ac_builddir=.
   12969 
   12970 case "$ac_dir" in
   12971 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12972 *)
   12973   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   12974   # A ".." for each directory in $ac_dir_suffix.
   12975   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12976   case $ac_top_builddir_sub in
   12977   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12978   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12979   esac ;;
   12980 esac
   12981 ac_abs_top_builddir=$ac_pwd
   12982 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12983 # for backward compatibility:
   12984 ac_top_builddir=$ac_top_build_prefix
   12985 
   12986 case $srcdir in
   12987   .)  # We are building in place.
   12988     ac_srcdir=.
   12989     ac_top_srcdir=$ac_top_builddir_sub
   12990     ac_abs_top_srcdir=$ac_pwd ;;
   12991   [\\/]* | ?:[\\/]* )  # Absolute name.
   12992     ac_srcdir=$srcdir$ac_dir_suffix;
   12993     ac_top_srcdir=$srcdir
   12994     ac_abs_top_srcdir=$srcdir ;;
   12995   *) # Relative name.
   12996     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12997     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12998     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12999 esac
   13000 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13001 
   13002 
   13003   case $ac_mode in
   13004   :F)
   13005   #
   13006   # CONFIG_FILE
   13007   #
   13008 
   13009   case $INSTALL in
   13010   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13011   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13012   esac
   13013   ac_MKDIR_P=$MKDIR_P
   13014   case $MKDIR_P in
   13015   [\\/$]* | ?:[\\/]* ) ;;
   13016   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13017   esac
   13018 _ACEOF
   13019 
   13020 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13021 # If the template does not know about datarootdir, expand it.
   13022 # FIXME: This hack should be removed a few years after 2.60.
   13023 ac_datarootdir_hack=; ac_datarootdir_seen=
   13024 ac_sed_dataroot='
   13025 /datarootdir/ {
   13026   p
   13027   q
   13028 }
   13029 /@datadir@/p
   13030 /@docdir@/p
   13031 /@infodir@/p
   13032 /@localedir@/p
   13033 /@mandir@/p'
   13034 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13035 *datarootdir*) ac_datarootdir_seen=yes;;
   13036 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13037   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13038 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13039 _ACEOF
   13040 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13041   ac_datarootdir_hack='
   13042   s&@datadir@&$datadir&g
   13043   s&@docdir@&$docdir&g
   13044   s&@infodir@&$infodir&g
   13045   s&@localedir@&$localedir&g
   13046   s&@mandir@&$mandir&g
   13047   s&\\\${datarootdir}&$datarootdir&g' ;;
   13048 esac
   13049 _ACEOF
   13050 
   13051 # Neutralize VPATH when '$srcdir' = '.'.
   13052 # Shell code in configure.ac might set extrasub.
   13053 # FIXME: do we really want to maintain this feature?
   13054 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   13055 ac_sed_extra="$ac_vpsub
   13056 $extrasub
   13057 _ACEOF
   13058 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   13059 :t
   13060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13061 s|@configure_input@|$ac_sed_conf_input|;t t
   13062 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13063 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13064 s&@srcdir@&$ac_srcdir&;t t
   13065 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13066 s&@top_srcdir@&$ac_top_srcdir&;t t
   13067 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13068 s&@builddir@&$ac_builddir&;t t
   13069 s&@abs_builddir@&$ac_abs_builddir&;t t
   13070 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13071 s&@INSTALL@&$ac_INSTALL&;t t
   13072 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13073 $ac_datarootdir_hack
   13074 "
   13075 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13076   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13077 
   13078 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13079   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13080   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13081       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13082   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13083 which seems to be undefined.  Please make sure it is defined" >&5
   13084 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13085 which seems to be undefined.  Please make sure it is defined" >&2;}
   13086 
   13087   rm -f "$ac_tmp/stdin"
   13088   case $ac_file in
   13089   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13090   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13091   esac \
   13092   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13093  ;;
   13094   :H)
   13095   #
   13096   # CONFIG_HEADER
   13097   #
   13098   if test x"$ac_file" != x-; then
   13099     {
   13100       printf '%s\n' "/* $configure_input  */" >&1 \
   13101       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13102     } >"$ac_tmp/config.h" \
   13103       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13104     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13105       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13106 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   13107     else
   13108       rm -f "$ac_file"
   13109       mv "$ac_tmp/config.h" "$ac_file" \
   13110 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13111     fi
   13112   else
   13113     printf '%s\n' "/* $configure_input  */" >&1 \
   13114       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13115       || as_fn_error $? "could not create -" "$LINENO" 5
   13116   fi
   13117 # Compute "$ac_file"'s index in $config_headers.
   13118 _am_arg="$ac_file"
   13119 _am_stamp_count=1
   13120 for _am_header in $config_headers :; do
   13121   case $_am_header in
   13122     $_am_arg | $_am_arg:* )
   13123       break ;;
   13124     * )
   13125       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13126   esac
   13127 done
   13128 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13129 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13130 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13131 	 X"$_am_arg" : 'X\(//\)$' \| \
   13132 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13133 printf '%s\n' X"$_am_arg" |
   13134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13135 	    s//\1/
   13136 	    q
   13137 	  }
   13138 	  /^X\(\/\/\)[^/].*/{
   13139 	    s//\1/
   13140 	    q
   13141 	  }
   13142 	  /^X\(\/\/\)$/{
   13143 	    s//\1/
   13144 	    q
   13145 	  }
   13146 	  /^X\(\/\).*/{
   13147 	    s//\1/
   13148 	    q
   13149 	  }
   13150 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13151  ;;
   13152 
   13153   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13154 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   13155  ;;
   13156   esac
   13157 
   13158 
   13159   case $ac_file$ac_mode in
   13160     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13161   # Older Autoconf quotes --file arguments for eval, but not when files
   13162   # are listed without --file.  Let's play safe and only enable the eval
   13163   # if we detect the quoting.
   13164   # TODO: see whether this extra hack can be removed once we start
   13165   # requiring Autoconf 2.70 or later.
   13166   case $CONFIG_FILES in #(
   13167   *\'*) :
   13168     eval set x "$CONFIG_FILES" ;; #(
   13169   *) :
   13170     set x $CONFIG_FILES ;; #(
   13171   *) :
   13172      ;;
   13173 esac
   13174   shift
   13175   # Used to flag and report bootstrapping failures.
   13176   am_rc=0
   13177   for am_mf
   13178   do
   13179     # Strip MF so we end up with the name of the file.
   13180     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   13181     # Check whether this is an Automake generated Makefile which includes
   13182     # dependency-tracking related rules and includes.
   13183     # Grep'ing the whole file directly is not great: AIX grep has a line
   13184     # limit of 2048, but all sed's we know have understand at least 4000.
   13185     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13186       || continue
   13187     am_dirpart=`$as_dirname -- "$am_mf" ||
   13188 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13189 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13190 	 X"$am_mf" : 'X\(//\)$' \| \
   13191 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13192 printf '%s\n' X"$am_mf" |
   13193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13194 	    s//\1/
   13195 	    q
   13196 	  }
   13197 	  /^X\(\/\/\)[^/].*/{
   13198 	    s//\1/
   13199 	    q
   13200 	  }
   13201 	  /^X\(\/\/\)$/{
   13202 	    s//\1/
   13203 	    q
   13204 	  }
   13205 	  /^X\(\/\).*/{
   13206 	    s//\1/
   13207 	    q
   13208 	  }
   13209 	  s/.*/./; q'`
   13210     am_filepart=`$as_basename -- "$am_mf" ||
   13211 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13212 	 X"$am_mf" : 'X\(//\)$' \| \
   13213 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13214 printf '%s\n' X/"$am_mf" |
   13215     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13216 	    s//\1/
   13217 	    q
   13218 	  }
   13219 	  /^X\/\(\/\/\)$/{
   13220 	    s//\1/
   13221 	    q
   13222 	  }
   13223 	  /^X\/\(\/\).*/{
   13224 	    s//\1/
   13225 	    q
   13226 	  }
   13227 	  s/.*/./; q'`
   13228     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13229       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13230         | $MAKE -f - am--depfiles" >&5
   13231    (cd "$am_dirpart" \
   13232       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13233         | $MAKE -f - am--depfiles) >&5 2>&5
   13234    ac_status=$?
   13235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13236    (exit $ac_status); } || am_rc=$?
   13237   done
   13238   if test $am_rc -ne 0; then
   13239     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13240 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   13241 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13242     for automatic dependency tracking.  If GNU make was not used, consider
   13243     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13244     necessary).  You can also try re-running configure with the
   13245     '--disable-dependency-tracking' option to at least be able to build
   13246     the package (albeit without support for automatic dependency tracking).
   13247 See 'config.log' for more details" "$LINENO" 5; }
   13248   fi
   13249   { am_dirpart=; unset am_dirpart;}
   13250   { am_filepart=; unset am_filepart;}
   13251   { am_mf=; unset am_mf;}
   13252   { am_rc=; unset am_rc;}
   13253   rm -f conftest-deps.mk
   13254 }
   13255  ;;
   13256 
   13257   esac
   13258 done # for ac_tag
   13259 
   13260 
   13261 as_fn_exit 0
   13262 _ACEOF
   13263 ac_clean_CONFIG_STATUS=
   13264 
   13265 test $ac_write_fail = 0 ||
   13266   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13267 
   13268 
   13269 # configure is writing to config.log, and then calls config.status.
   13270 # config.status does its own redirection, appending to config.log.
   13271 # Unfortunately, on DOS this fails, as config.log is still kept open
   13272 # by configure, so config.status won't be able to write to it; its
   13273 # output is simply discarded.  So we exec the FD to /dev/null,
   13274 # effectively closing config.log, so it can be properly (re)opened and
   13275 # appended to by config.status.  When coming back to configure, we
   13276 # need to make the FD available again.
   13277 if test "$no_create" != yes; then
   13278   ac_cs_success=:
   13279   case $CONFIG_STATUS in #(
   13280   -*) :
   13281     ac_no_opts=-- ;; #(
   13282   *) :
   13283     ac_no_opts= ;;
   13284 esac
   13285   ac_config_status_args=
   13286   test "$silent" = yes &&
   13287     ac_config_status_args="$ac_config_status_args --quiet"
   13288   exec 5>/dev/null
   13289   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   13290     ac_cs_success=false
   13291   exec 5>>config.log
   13292   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13293   # would make configure fail if this is the last instruction.
   13294   $ac_cs_success || as_fn_exit 1
   13295 fi
   13296 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13297   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13298 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13299 fi
   13300 
   13301 
   13302